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 \
662 /usr/local/X11R6/include \
663 /usr/local/X11R5/include \
664 /usr/local/X11R4/include \
666 /usr/local/include/X11R6 \
667 /usr/local/include/X11R5 \
668 /usr/local/include/X11R4 \
672 /usr/local/X11/include \
673 /usr/local/include/X11 \
677 /usr/XFree86/include/X11 \
681 /usr/unsupported/include \
682 /usr/athena/include \
683 /usr/local/x11r5/include \
684 /usr/lpp/Xamples/include \
686 /usr/local/include/gtk \
687 /usr/local/include/Xm \
688 /usr/local/include/qt \
689 /usr/X11R6/include/Xm \
690 /usr/X11/include/Xm \
693 /usr/openwin/include \
694 /usr/openwin/share/include \
697 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` \
702 # Extract the first word of "gcc", so it can be a program name with args.
703 set dummy gcc
; ac_word
=$2
704 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
705 echo "configure:706: checking for $ac_word" >&5
706 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
707 echo $ac_n "(cached) $ac_c" 1>&6
709 if test -n "$CC"; then
710 ac_cv_prog_CC
="$CC" # Let the user override the test.
712 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
713 for ac_dir
in $PATH; do
714 test -z "$ac_dir" && ac_dir
=.
715 if test -f $ac_dir/$ac_word; then
724 if test -n "$CC"; then
725 echo "$ac_t""$CC" 1>&6
727 echo "$ac_t""no" 1>&6
730 if test -z "$CC"; then
731 # Extract the first word of "cc", so it can be a program name with args.
732 set dummy cc
; ac_word
=$2
733 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
734 echo "configure:735: checking for $ac_word" >&5
735 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
736 echo $ac_n "(cached) $ac_c" 1>&6
738 if test -n "$CC"; then
739 ac_cv_prog_CC
="$CC" # Let the user override the test.
741 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
743 for ac_dir
in $PATH; do
744 test -z "$ac_dir" && ac_dir
=.
745 if test -f $ac_dir/$ac_word; then
746 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
755 if test $ac_prog_rejected = yes; then
756 # We found a bogon in the path, so make sure we never use it.
757 set dummy
$ac_cv_prog_CC
759 if test $# -gt 0; then
760 # We chose a different compiler from the bogus one.
761 # However, it has the same basename, so the bogon will be chosen
762 # first if we set CC to just the basename; use the full file name.
764 set dummy
"$ac_dir/$ac_word" "$@"
772 if test -n "$CC"; then
773 echo "$ac_t""$CC" 1>&6
775 echo "$ac_t""no" 1>&6
778 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
781 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
782 echo "configure:783: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
785 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
786 ac_cpp
='$CPP $CPPFLAGS'
787 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
788 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
789 cross_compiling
=$ac_cv_prog_cc_cross
791 cat > conftest.
$ac_ext <<EOF
792 #line 793 "configure"
793 #include "confdefs.h"
796 if { (eval echo configure
:797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
797 ac_cv_prog_cc_works
=yes
798 # If we can't run a trivial program, we are probably using a cross compiler.
799 if (.
/conftest
; exit) 2>/dev
/null
; then
800 ac_cv_prog_cc_cross
=no
802 ac_cv_prog_cc_cross
=yes
805 echo "configure: failed program was:" >&5
806 cat conftest.
$ac_ext >&5
807 ac_cv_prog_cc_works
=no
811 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
812 if test $ac_cv_prog_cc_works = no
; then
813 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
815 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
816 echo "configure:817: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
817 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
818 cross_compiling
=$ac_cv_prog_cc_cross
820 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
821 echo "configure:822: checking whether we are using GNU C" >&5
822 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
823 echo $ac_n "(cached) $ac_c" 1>&6
825 cat > conftest.c
<<EOF
830 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
837 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
839 if test $ac_cv_prog_gcc = yes; then
841 ac_test_CFLAGS
="${CFLAGS+set}"
842 ac_save_CFLAGS
="$CFLAGS"
844 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
845 echo "configure:846: checking whether ${CC-cc} accepts -g" >&5
846 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
847 echo $ac_n "(cached) $ac_c" 1>&6
849 echo 'void f(){}' > conftest.c
850 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
859 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
860 if test "$ac_test_CFLAGS" = set; then
861 CFLAGS
="$ac_save_CFLAGS"
862 elif test $ac_cv_prog_cc_g = yes; then
869 test "${CFLAGS+set}" = set || CFLAGS
="-g"
873 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
875 if test "x$CC" != xcc
; then
876 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
877 echo "configure:878: checking whether $CC and cc understand -c and -o together" >&5
879 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
880 echo "configure:881: checking whether cc understands -c and -o together" >&5
882 set dummy
$CC; ac_cc
="`echo $2 |
883 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
884 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
885 echo $ac_n "(cached) $ac_c" 1>&6
887 echo 'foo(){}' > conftest.c
888 # Make sure it works both with $CC and with simple cc.
889 # We do the test twice because some compilers refuse to overwrite an
890 # existing .o file with -o, though they will create one.
891 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5'
892 if { (eval echo configure
:893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
893 test -f conftest.o
&& { (eval echo configure
:894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
895 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
896 if test "x$CC" != xcc
; then
897 # Test first that cc exists at all.
898 if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
899 ac_try
='cc -c conftest.c -o conftest.o 1>&5'
900 if { (eval echo configure
:901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
901 test -f conftest.o
&& { (eval echo configure
:902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
906 # cc exists but doesn't like -o.
907 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
912 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
917 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
918 echo "$ac_t""yes" 1>&6
920 echo "$ac_t""no" 1>&6
921 cat >> confdefs.h
<<\EOF
922 #define NO_MINUS_C_MINUS_O 1
927 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
928 echo "configure:929: checking how to run the C preprocessor" >&5
929 # On Suns, sometimes $CPP names a directory.
930 if test -n "$CPP" && test -d "$CPP"; then
933 if test -z "$CPP"; then
934 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
935 echo $ac_n "(cached) $ac_c" 1>&6
937 # This must be in double quotes, not single quotes, because CPP may get
938 # substituted into the Makefile and "${CC-cc}" will confuse make.
940 # On the NeXT, cc -E runs the code through the compiler's parser,
941 # not just through cpp.
942 cat > conftest.
$ac_ext <<EOF
943 #line 944 "configure"
944 #include "confdefs.h"
948 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
949 { (eval echo configure
:950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
950 ac_err
=`grep -v '^ *+' conftest.out`
951 if test -z "$ac_err"; then
955 echo "configure: failed program was:" >&5
956 cat conftest.
$ac_ext >&5
958 CPP
="${CC-cc} -E -traditional-cpp"
959 cat > conftest.
$ac_ext <<EOF
960 #line 961 "configure"
961 #include "confdefs.h"
965 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
966 { (eval echo configure
:967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
967 ac_err
=`grep -v '^ *+' conftest.out`
968 if test -z "$ac_err"; then
972 echo "configure: failed program was:" >&5
973 cat conftest.
$ac_ext >&5
980 ac_cv_prog_CPP
="$CPP"
982 CPP
="$ac_cv_prog_CPP"
984 ac_cv_prog_CPP
="$CPP"
986 echo "$ac_t""$CPP" 1>&6
988 if test $ac_cv_prog_gcc = yes; then
989 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
990 echo "configure:991: checking whether ${CC-cc} needs -traditional" >&5
991 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
992 echo $ac_n "(cached) $ac_c" 1>&6
994 ac_pattern
="Autoconf.*'x'"
995 cat > conftest.
$ac_ext <<EOF
996 #line 997 "configure"
997 #include "confdefs.h"
1001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1002 egrep "$ac_pattern" >/dev
/null
2>&1; then
1004 ac_cv_prog_gcc_traditional
=yes
1007 ac_cv_prog_gcc_traditional
=no
1012 if test $ac_cv_prog_gcc_traditional = no
; then
1013 cat > conftest.
$ac_ext <<EOF
1014 #line 1015 "configure"
1015 #include "confdefs.h"
1019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1020 egrep "$ac_pattern" >/dev
/null
2>&1; then
1022 ac_cv_prog_gcc_traditional
=yes
1029 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
1030 if test $ac_cv_prog_gcc_traditional = yes; then
1031 CC
="$CC -traditional"
1038 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1040 # Extract the first word of "$ac_prog", so it can be a program name with args.
1041 set dummy
$ac_prog; ac_word
=$2
1042 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1043 echo "configure:1044: checking for $ac_word" >&5
1044 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1045 echo $ac_n "(cached) $ac_c" 1>&6
1047 if test -n "$CXX"; then
1048 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1050 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1051 for ac_dir
in $PATH; do
1052 test -z "$ac_dir" && ac_dir
=.
1053 if test -f $ac_dir/$ac_word; then
1054 ac_cv_prog_CXX
="$ac_prog"
1061 CXX
="$ac_cv_prog_CXX"
1062 if test -n "$CXX"; then
1063 echo "$ac_t""$CXX" 1>&6
1065 echo "$ac_t""no" 1>&6
1068 test -n "$CXX" && break
1070 test -n "$CXX" || CXX
="gcc"
1073 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1074 echo "configure:1075: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1077 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1078 ac_cpp
='$CXXCPP $CPPFLAGS'
1079 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1080 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1081 cross_compiling
=$ac_cv_prog_cxx_cross
1083 cat > conftest.
$ac_ext <<EOF
1084 #line 1085 "configure"
1085 #include "confdefs.h"
1088 if { (eval echo configure
:1089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1089 ac_cv_prog_cxx_works
=yes
1090 # If we can't run a trivial program, we are probably using a cross compiler.
1091 if (.
/conftest
; exit) 2>/dev
/null
; then
1092 ac_cv_prog_cxx_cross
=no
1094 ac_cv_prog_cxx_cross
=yes
1097 echo "configure: failed program was:" >&5
1098 cat conftest.
$ac_ext >&5
1099 ac_cv_prog_cxx_works
=no
1103 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1104 ac_cpp
='$CPP $CPPFLAGS'
1105 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1106 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1107 cross_compiling
=$ac_cv_prog_cc_cross
1109 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1110 if test $ac_cv_prog_cxx_works = no
; then
1111 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1113 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1114 echo "configure:1115: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1115 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1116 cross_compiling
=$ac_cv_prog_cxx_cross
1118 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1119 echo "configure:1120: checking whether we are using GNU C++" >&5
1120 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1121 echo $ac_n "(cached) $ac_c" 1>&6
1123 cat > conftest.C
<<EOF
1128 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
1135 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1137 if test $ac_cv_prog_gxx = yes; then
1139 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1140 ac_save_CXXFLAGS
="$CXXFLAGS"
1142 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1143 echo "configure:1144: checking whether ${CXX-g++} accepts -g" >&5
1144 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1145 echo $ac_n "(cached) $ac_c" 1>&6
1147 echo 'void f(){}' > conftest.cc
1148 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1149 ac_cv_prog_cxx_g
=yes
1157 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1158 if test "$ac_test_CXXFLAGS" = set; then
1159 CXXFLAGS
="$ac_save_CXXFLAGS"
1160 elif test $ac_cv_prog_cxx_g = yes; then
1167 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1170 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1171 echo "configure:1172: checking how to run the C++ preprocessor" >&5
1172 if test -z "$CXXCPP"; then
1173 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1174 echo $ac_n "(cached) $ac_c" 1>&6
1177 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1178 ac_cpp
='$CXXCPP $CPPFLAGS'
1179 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1180 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1181 cross_compiling
=$ac_cv_prog_cxx_cross
1182 CXXCPP
="${CXX-g++} -E"
1183 cat > conftest.
$ac_ext <<EOF
1184 #line 1185 "configure"
1185 #include "confdefs.h"
1188 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1189 { (eval echo configure
:1190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1190 ac_err
=`grep -v '^ *+' conftest.out`
1191 if test -z "$ac_err"; then
1195 echo "configure: failed program was:" >&5
1196 cat conftest.
$ac_ext >&5
1201 ac_cv_prog_CXXCPP
="$CXXCPP"
1203 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1204 ac_cpp
='$CPP $CPPFLAGS'
1205 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1206 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1207 cross_compiling
=$ac_cv_prog_cc_cross
1210 CXXCPP
="$ac_cv_prog_CXXCPP"
1211 echo "$ac_t""$CXXCPP" 1>&6
1214 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
1218 # Extract the first word of "ranlib", so it can be a program name with args.
1219 set dummy ranlib
; ac_word
=$2
1220 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1221 echo "configure:1222: checking for $ac_word" >&5
1222 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1223 echo $ac_n "(cached) $ac_c" 1>&6
1225 if test -n "$RANLIB"; then
1226 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1228 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1229 for ac_dir
in $PATH; do
1230 test -z "$ac_dir" && ac_dir
=.
1231 if test -f $ac_dir/$ac_word; then
1232 ac_cv_prog_RANLIB
="ranlib"
1237 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1240 RANLIB
="$ac_cv_prog_RANLIB"
1241 if test -n "$RANLIB"; then
1242 echo "$ac_t""$RANLIB" 1>&6
1244 echo "$ac_t""no" 1>&6
1248 # Extract the first word of "ar", so it can be a program name with args.
1249 set dummy
ar; ac_word
=$2
1250 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1251 echo "configure:1252: checking for $ac_word" >&5
1252 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1253 echo $ac_n "(cached) $ac_c" 1>&6
1255 if test -n "$AR"; then
1256 ac_cv_prog_AR
="$AR" # Let the user override the test.
1258 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1259 for ac_dir
in $PATH; do
1260 test -z "$ac_dir" && ac_dir
=.
1261 if test -f $ac_dir/$ac_word; then
1267 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1271 if test -n "$AR"; then
1272 echo "$ac_t""$AR" 1>&6
1274 echo "$ac_t""no" 1>&6
1279 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1280 if test -f $ac_dir/install-sh; then
1282 ac_install_sh
="$ac_aux_dir/install-sh -c"
1284 elif test -f $ac_dir/install.sh
; then
1286 ac_install_sh
="$ac_aux_dir/install.sh -c"
1290 if test -z "$ac_aux_dir"; then
1291 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1293 ac_config_guess
=$ac_aux_dir/config.guess
1294 ac_config_sub
=$ac_aux_dir/config.sub
1295 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1297 # Find a good install program. We prefer a C program (faster),
1298 # so one script is as good as another. But avoid the broken or
1299 # incompatible versions:
1300 # SysV /etc/install, /usr/sbin/install
1301 # SunOS /usr/etc/install
1302 # IRIX /sbin/install
1304 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1305 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1306 # ./install, which can be erroneously created by make from ./install.sh.
1307 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1308 echo "configure:1309: checking for a BSD compatible install" >&5
1309 if test -z "$INSTALL"; then
1310 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1311 echo $ac_n "(cached) $ac_c" 1>&6
1313 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1314 for ac_dir
in $PATH; do
1315 # Account for people who put trailing slashes in PATH elements.
1317 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
1319 # OSF1 and SCO ODT 3.0 have their own names for install.
1320 for ac_prog
in ginstall installbsd scoinst
install; do
1321 if test -f $ac_dir/$ac_prog; then
1322 if test $ac_prog = install &&
1323 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1324 # AIX install. It has an incompatible calling convention.
1325 # OSF/1 installbsd also uses dspmsg, but is usable.
1328 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1339 if test "${ac_cv_path_install+set}" = set; then
1340 INSTALL
="$ac_cv_path_install"
1342 # As a last resort, use the slow shell script. We don't cache a
1343 # path for INSTALL within a source directory, because that will
1344 # break other packages using the cache if that directory is
1345 # removed, or if the path is relative.
1346 INSTALL
="$ac_install_sh"
1349 echo "$ac_t""$INSTALL" 1>&6
1351 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1352 # It thinks the first close brace ends the variable substitution.
1353 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1355 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1358 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1359 echo "configure:1360: checking whether ln -s works" >&5
1360 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1361 echo $ac_n "(cached) $ac_c" 1>&6
1364 if ln -s X conftestdata
2>/dev
/null
1367 ac_cv_prog_LN_S
="ln -s"
1372 LN_S
="$ac_cv_prog_LN_S"
1373 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1374 echo "$ac_t""yes" 1>&6
1376 echo "$ac_t""no" 1>&6
1380 for ac_prog
in mawk gawk nawk
awk
1382 # Extract the first word of "$ac_prog", so it can be a program name with args.
1383 set dummy
$ac_prog; ac_word
=$2
1384 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1385 echo "configure:1386: checking for $ac_word" >&5
1386 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1387 echo $ac_n "(cached) $ac_c" 1>&6
1389 if test -n "$AWK"; then
1390 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1392 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1393 for ac_dir
in $PATH; do
1394 test -z "$ac_dir" && ac_dir
=.
1395 if test -f $ac_dir/$ac_word; then
1396 ac_cv_prog_AWK
="$ac_prog"
1403 AWK
="$ac_cv_prog_AWK"
1404 if test -n "$AWK"; then
1405 echo "$ac_t""$AWK" 1>&6
1407 echo "$ac_t""no" 1>&6
1410 test -n "$AWK" && break
1414 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
1415 echo "configure:1416: checking "make for VPATH support
"" >&5
1416 cat - << EOF > confMake
1422 if test ! -d sub
; then
1425 echo dummy
> sub
/file
1426 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
1428 rm -f sub
/file check final_file confMake
1430 if test "$RESULT" = 0; then
1431 echo "$ac_t""yes" 1>&6
1433 echo "$ac_t""no" 1>&6
1434 { echo "configure: error: You need a make-utility that is able to use the variable
1436 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
1440 # If we find X, set shell vars x_includes and x_libraries to the
1441 # paths, otherwise set no_x=yes.
1442 # Uses ac_ vars as temps to allow command line to override cache and checks.
1443 # --without-x overrides everything else, but does not touch the cache.
1444 echo $ac_n "checking for X""... $ac_c" 1>&6
1445 echo "configure:1446: checking for X" >&5
1447 # Check whether --with-x or --without-x was given.
1448 if test "${with_x+set}" = set; then
1453 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
1454 if test "x$with_x" = xno
; then
1455 # The user explicitly disabled X.
1458 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
1459 # Both variables are already set.
1462 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
1463 echo $ac_n "(cached) $ac_c" 1>&6
1465 # One or both of the vars are not set, and there is no cached value.
1466 ac_x_includes
=NO ac_x_libraries
=NO
1468 if mkdir conftestdir
; then
1470 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1471 cat > Imakefile
<<'EOF'
1473 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1475 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
1476 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1477 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
1478 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1479 for ac_extension
in a so sl
; do
1480 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
1481 test -f $ac_im_libdir/libX11.
$ac_extension; then
1482 ac_im_usrlibdir
=$ac_im_libdir; break
1485 # Screen out bogus values from the imake configuration. They are
1486 # bogus both because they are the default anyway, and because
1487 # using them would break gcc on systems where it needs fixed includes.
1488 case "$ac_im_incroot" in
1490 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
1492 case "$ac_im_usrlibdir" in
1494 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
1501 if test "$ac_x_includes" = NO
; then
1502 # Guess where to find include files, by looking for this one X11 .h file.
1503 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
1505 # First, try using that file with no special directory specified.
1506 cat > conftest.
$ac_ext <<EOF
1507 #line 1508 "configure"
1508 #include "confdefs.h"
1509 #include <$x_direct_test_include>
1511 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1512 { (eval echo configure
:1513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1513 ac_err
=`grep -v '^ *+' conftest.out`
1514 if test -z "$ac_err"; then
1516 # We can compile using X headers with no special include directory.
1520 echo "configure: failed program was:" >&5
1521 cat conftest.
$ac_ext >&5
1523 # Look for the header file in a standard set of common directories.
1524 # Check X11 before X11Rn because it is often a symlink to the current release.
1527 /usr
/X
11R
6/include \
1528 /usr
/X
11R
5/include \
1529 /usr
/X
11R
4/include \
1532 /usr
/include
/X11R6 \
1533 /usr
/include
/X11R5 \
1534 /usr
/include
/X11R4 \
1536 /usr
/local
/X
11/include \
1537 /usr
/local
/X
11R
6/include \
1538 /usr
/local
/X
11R
5/include \
1539 /usr
/local
/X
11R
4/include \
1541 /usr
/local
/include
/X11 \
1542 /usr
/local
/include
/X11R6 \
1543 /usr
/local
/include
/X11R5 \
1544 /usr
/local
/include
/X11R4 \
1548 /usr
/XFree
86/include
/X11 \
1551 /usr
/local
/include \
1552 /usr
/unsupported
/include \
1553 /usr
/athena
/include \
1554 /usr
/local
/x
11r
5/include \
1555 /usr
/lpp
/Xamples
/include \
1557 /usr
/openwin
/include \
1558 /usr
/openwin
/share
/include \
1561 if test -r "$ac_dir/$x_direct_test_include"; then
1562 ac_x_includes
=$ac_dir
1568 fi # $ac_x_includes = NO
1570 if test "$ac_x_libraries" = NO
; then
1571 # Check for the libraries.
1573 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
1574 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
1576 # See if we find them without any special options.
1577 # Don't add to $LIBS permanently.
1578 ac_save_LIBS
="$LIBS"
1579 LIBS
="-l$x_direct_test_library $LIBS"
1580 cat > conftest.
$ac_ext <<EOF
1581 #line 1582 "configure"
1582 #include "confdefs.h"
1585 ${x_direct_test_function}()
1588 if { (eval echo configure
:1589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1590 LIBS
="$ac_save_LIBS"
1591 # We can link X programs with no special library path.
1594 echo "configure: failed program was:" >&5
1595 cat conftest.
$ac_ext >&5
1597 LIBS
="$ac_save_LIBS"
1598 # First see if replacing the include by lib works.
1599 # Check X11 before X11Rn because it is often a symlink to the current release.
1600 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
1611 /usr
/local
/X
11/lib \
1612 /usr
/local
/X
11R
6/lib \
1613 /usr
/local
/X
11R
5/lib \
1614 /usr
/local
/X
11R
4/lib \
1616 /usr
/local
/lib
/X11 \
1617 /usr
/local
/lib
/X11R6 \
1618 /usr
/local
/lib
/X11R5 \
1619 /usr
/local
/lib
/X11R4 \
1623 /usr
/XFree
86/lib
/X11 \
1627 /usr
/unsupported
/lib \
1629 /usr
/local
/x
11r
5/lib \
1630 /usr
/lpp
/Xamples
/lib \
1634 /usr
/openwin
/share
/lib \
1637 for ac_extension
in a so sl
; do
1638 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
1639 ac_x_libraries
=$ac_dir
1646 fi # $ac_x_libraries = NO
1648 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
1649 # Didn't find X anywhere. Cache the known absence of X.
1650 ac_cv_have_x
="have_x=no"
1652 # Record where we found X for the cache.
1653 ac_cv_have_x
="have_x=yes \
1654 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1658 eval "$ac_cv_have_x"
1661 if test "$have_x" != yes; then
1662 echo "$ac_t""$have_x" 1>&6
1665 # If each of the values was on the command line, it overrides each guess.
1666 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
1667 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
1668 # Update the cache value to reflect the command line values.
1669 ac_cv_have_x
="have_x=yes \
1670 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1671 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
1674 if test "$no_x" = yes; then
1675 # Not all programs may use this symbol, but it does not hurt to define it.
1676 cat >> confdefs.h
<<\EOF
1677 #define X_DISPLAY_MISSING 1
1680 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
1682 if test -n "$x_includes"; then
1683 X_CFLAGS
="$X_CFLAGS -I$x_includes"
1686 # It would also be nice to do this for all -L options, not just this one.
1687 if test -n "$x_libraries"; then
1688 X_LIBS
="$X_LIBS -L$x_libraries"
1689 # For Solaris; some versions of Sun CC require a space after -R and
1690 # others require no space. Words are not sufficient . . . .
1691 case "`(uname -sr) 2>/dev/null`" in
1693 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
1694 echo "configure:1695: checking whether -R must be followed by a space" >&5
1695 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
1696 cat > conftest.
$ac_ext <<EOF
1697 #line 1698 "configure"
1698 #include "confdefs.h"
1704 if { (eval echo configure
:1705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1708 echo "configure: failed program was:" >&5
1709 cat conftest.
$ac_ext >&5
1714 if test $ac_R_nospace = yes; then
1715 echo "$ac_t""no" 1>&6
1716 X_LIBS
="$X_LIBS -R$x_libraries"
1718 LIBS
="$ac_xsave_LIBS -R $x_libraries"
1719 cat > conftest.
$ac_ext <<EOF
1720 #line 1721 "configure"
1721 #include "confdefs.h"
1727 if { (eval echo configure
:1728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1731 echo "configure: failed program was:" >&5
1732 cat conftest.
$ac_ext >&5
1737 if test $ac_R_space = yes; then
1738 echo "$ac_t""yes" 1>&6
1739 X_LIBS
="$X_LIBS -R $x_libraries"
1741 echo "$ac_t""neither works" 1>&6
1744 LIBS
="$ac_xsave_LIBS"
1748 # Check for system-dependent libraries X programs must link with.
1749 # Do this before checking for the system-independent R6 libraries
1750 # (-lICE), since we may need -lsocket or whatever for X linking.
1752 if test "$ISC" = yes; then
1753 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
1755 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
1756 # libraries were built with DECnet support. And karl@cs.umb.edu says
1757 # the Alpha needs dnet_stub (dnet does not exist).
1758 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
1759 echo "configure:1760: checking for dnet_ntoa in -ldnet" >&5
1760 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1761 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1762 echo $ac_n "(cached) $ac_c" 1>&6
1764 ac_save_LIBS
="$LIBS"
1766 cat > conftest.
$ac_ext <<EOF
1767 #line 1768 "configure"
1768 #include "confdefs.h"
1769 /* Override any gcc2 internal prototype to avoid an error. */
1770 /* We use char because int might match the return type of a gcc2
1771 builtin and then its argument prototype would still apply. */
1778 if { (eval echo configure
:1779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1780 eval "ac_cv_lib_$ac_lib_var=yes"
1782 echo "configure: failed program was:" >&5
1783 cat conftest.
$ac_ext >&5
1785 eval "ac_cv_lib_$ac_lib_var=no"
1788 LIBS
="$ac_save_LIBS"
1791 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1792 echo "$ac_t""yes" 1>&6
1793 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
1795 echo "$ac_t""no" 1>&6
1798 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
1799 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
1800 echo "configure:1801: checking for dnet_ntoa in -ldnet_stub" >&5
1801 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1802 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1803 echo $ac_n "(cached) $ac_c" 1>&6
1805 ac_save_LIBS
="$LIBS"
1806 LIBS
="-ldnet_stub $LIBS"
1807 cat > conftest.
$ac_ext <<EOF
1808 #line 1809 "configure"
1809 #include "confdefs.h"
1810 /* Override any gcc2 internal prototype to avoid an error. */
1811 /* We use char because int might match the return type of a gcc2
1812 builtin and then its argument prototype would still apply. */
1819 if { (eval echo configure
:1820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1821 eval "ac_cv_lib_$ac_lib_var=yes"
1823 echo "configure: failed program was:" >&5
1824 cat conftest.
$ac_ext >&5
1826 eval "ac_cv_lib_$ac_lib_var=no"
1829 LIBS
="$ac_save_LIBS"
1832 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1833 echo "$ac_t""yes" 1>&6
1834 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
1836 echo "$ac_t""no" 1>&6
1841 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
1842 # to get the SysV transport functions.
1843 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
1845 # The nsl library prevents programs from opening the X display
1846 # on Irix 5.2, according to dickey@clark.net.
1847 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1848 echo "configure:1849: checking for gethostbyname" >&5
1849 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1850 echo $ac_n "(cached) $ac_c" 1>&6
1852 cat > conftest.
$ac_ext <<EOF
1853 #line 1854 "configure"
1854 #include "confdefs.h"
1855 /* System header to define __stub macros and hopefully few prototypes,
1856 which can conflict with char gethostbyname(); below. */
1858 /* Override any gcc2 internal prototype to avoid an error. */
1859 /* We use char because int might match the return type of a gcc2
1860 builtin and then its argument prototype would still apply. */
1861 char gethostbyname();
1865 /* The GNU C library defines this for functions which it implements
1866 to always fail with ENOSYS. Some functions are actually named
1867 something starting with __ and the normal name is an alias. */
1868 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
1876 if { (eval echo configure
:1877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1878 eval "ac_cv_func_gethostbyname=yes"
1880 echo "configure: failed program was:" >&5
1881 cat conftest.
$ac_ext >&5
1883 eval "ac_cv_func_gethostbyname=no"
1888 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1889 echo "$ac_t""yes" 1>&6
1892 echo "$ac_t""no" 1>&6
1895 if test $ac_cv_func_gethostbyname = no
; then
1896 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1897 echo "configure:1898: checking for gethostbyname in -lnsl" >&5
1898 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1899 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1900 echo $ac_n "(cached) $ac_c" 1>&6
1902 ac_save_LIBS
="$LIBS"
1904 cat > conftest.
$ac_ext <<EOF
1905 #line 1906 "configure"
1906 #include "confdefs.h"
1907 /* Override any gcc2 internal prototype to avoid an error. */
1908 /* We use char because int might match the return type of a gcc2
1909 builtin and then its argument prototype would still apply. */
1910 char gethostbyname();
1916 if { (eval echo configure
:1917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1918 eval "ac_cv_lib_$ac_lib_var=yes"
1920 echo "configure: failed program was:" >&5
1921 cat conftest.
$ac_ext >&5
1923 eval "ac_cv_lib_$ac_lib_var=no"
1926 LIBS
="$ac_save_LIBS"
1929 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1930 echo "$ac_t""yes" 1>&6
1931 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
1933 echo "$ac_t""no" 1>&6
1938 # lieder@skyler.mavd.honeywell.com says without -lsocket,
1939 # socket/setsockopt and other routines are undefined under SCO ODT
1940 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
1941 # on later versions), says simon@lia.di.epfl.ch: it contains
1942 # gethostby* variants that don't use the nameserver (or something).
1943 # -lsocket must be given before -lnsl if both are needed.
1944 # We assume that if connect needs -lnsl, so does gethostbyname.
1945 echo $ac_n "checking for connect""... $ac_c" 1>&6
1946 echo "configure:1947: checking for connect" >&5
1947 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1948 echo $ac_n "(cached) $ac_c" 1>&6
1950 cat > conftest.
$ac_ext <<EOF
1951 #line 1952 "configure"
1952 #include "confdefs.h"
1953 /* System header to define __stub macros and hopefully few prototypes,
1954 which can conflict with char connect(); below. */
1956 /* Override any gcc2 internal prototype to avoid an error. */
1957 /* We use char because int might match the return type of a gcc2
1958 builtin and then its argument prototype would still apply. */
1963 /* The GNU C library defines this for functions which it implements
1964 to always fail with ENOSYS. Some functions are actually named
1965 something starting with __ and the normal name is an alias. */
1966 #if defined (__stub_connect) || defined (__stub___connect)
1974 if { (eval echo configure
:1975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1976 eval "ac_cv_func_connect=yes"
1978 echo "configure: failed program was:" >&5
1979 cat conftest.
$ac_ext >&5
1981 eval "ac_cv_func_connect=no"
1986 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
1987 echo "$ac_t""yes" 1>&6
1990 echo "$ac_t""no" 1>&6
1993 if test $ac_cv_func_connect = no
; then
1994 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
1995 echo "configure:1996: checking for connect in -lsocket" >&5
1996 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
1997 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1998 echo $ac_n "(cached) $ac_c" 1>&6
2000 ac_save_LIBS
="$LIBS"
2001 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
2002 cat > conftest.
$ac_ext <<EOF
2003 #line 2004 "configure"
2004 #include "confdefs.h"
2005 /* Override any gcc2 internal prototype to avoid an error. */
2006 /* We use char because int might match the return type of a gcc2
2007 builtin and then its argument prototype would still apply. */
2014 if { (eval echo configure
:2015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2016 eval "ac_cv_lib_$ac_lib_var=yes"
2018 echo "configure: failed program was:" >&5
2019 cat conftest.
$ac_ext >&5
2021 eval "ac_cv_lib_$ac_lib_var=no"
2024 LIBS
="$ac_save_LIBS"
2027 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2028 echo "$ac_t""yes" 1>&6
2029 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
2031 echo "$ac_t""no" 1>&6
2036 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2037 echo $ac_n "checking for remove""... $ac_c" 1>&6
2038 echo "configure:2039: checking for remove" >&5
2039 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2040 echo $ac_n "(cached) $ac_c" 1>&6
2042 cat > conftest.
$ac_ext <<EOF
2043 #line 2044 "configure"
2044 #include "confdefs.h"
2045 /* System header to define __stub macros and hopefully few prototypes,
2046 which can conflict with char remove(); below. */
2048 /* Override any gcc2 internal prototype to avoid an error. */
2049 /* We use char because int might match the return type of a gcc2
2050 builtin and then its argument prototype would still apply. */
2055 /* The GNU C library defines this for functions which it implements
2056 to always fail with ENOSYS. Some functions are actually named
2057 something starting with __ and the normal name is an alias. */
2058 #if defined (__stub_remove) || defined (__stub___remove)
2066 if { (eval echo configure
:2067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2068 eval "ac_cv_func_remove=yes"
2070 echo "configure: failed program was:" >&5
2071 cat conftest.
$ac_ext >&5
2073 eval "ac_cv_func_remove=no"
2078 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
2079 echo "$ac_t""yes" 1>&6
2082 echo "$ac_t""no" 1>&6
2085 if test $ac_cv_func_remove = no
; then
2086 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2087 echo "configure:2088: checking for remove in -lposix" >&5
2088 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2089 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2090 echo $ac_n "(cached) $ac_c" 1>&6
2092 ac_save_LIBS
="$LIBS"
2093 LIBS
="-lposix $LIBS"
2094 cat > conftest.
$ac_ext <<EOF
2095 #line 2096 "configure"
2096 #include "confdefs.h"
2097 /* Override any gcc2 internal prototype to avoid an error. */
2098 /* We use char because int might match the return type of a gcc2
2099 builtin and then its argument prototype would still apply. */
2106 if { (eval echo configure
:2107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2108 eval "ac_cv_lib_$ac_lib_var=yes"
2110 echo "configure: failed program was:" >&5
2111 cat conftest.
$ac_ext >&5
2113 eval "ac_cv_lib_$ac_lib_var=no"
2116 LIBS
="$ac_save_LIBS"
2119 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2120 echo "$ac_t""yes" 1>&6
2121 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
2123 echo "$ac_t""no" 1>&6
2128 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2129 echo $ac_n "checking for shmat""... $ac_c" 1>&6
2130 echo "configure:2131: checking for shmat" >&5
2131 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2132 echo $ac_n "(cached) $ac_c" 1>&6
2134 cat > conftest.
$ac_ext <<EOF
2135 #line 2136 "configure"
2136 #include "confdefs.h"
2137 /* System header to define __stub macros and hopefully few prototypes,
2138 which can conflict with char shmat(); below. */
2140 /* Override any gcc2 internal prototype to avoid an error. */
2141 /* We use char because int might match the return type of a gcc2
2142 builtin and then its argument prototype would still apply. */
2147 /* The GNU C library defines this for functions which it implements
2148 to always fail with ENOSYS. Some functions are actually named
2149 something starting with __ and the normal name is an alias. */
2150 #if defined (__stub_shmat) || defined (__stub___shmat)
2158 if { (eval echo configure
:2159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2160 eval "ac_cv_func_shmat=yes"
2162 echo "configure: failed program was:" >&5
2163 cat conftest.
$ac_ext >&5
2165 eval "ac_cv_func_shmat=no"
2170 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
2171 echo "$ac_t""yes" 1>&6
2174 echo "$ac_t""no" 1>&6
2177 if test $ac_cv_func_shmat = no
; then
2178 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2179 echo "configure:2180: checking for shmat in -lipc" >&5
2180 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2181 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2182 echo $ac_n "(cached) $ac_c" 1>&6
2184 ac_save_LIBS
="$LIBS"
2186 cat > conftest.
$ac_ext <<EOF
2187 #line 2188 "configure"
2188 #include "confdefs.h"
2189 /* Override any gcc2 internal prototype to avoid an error. */
2190 /* We use char because int might match the return type of a gcc2
2191 builtin and then its argument prototype would still apply. */
2198 if { (eval echo configure
:2199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2200 eval "ac_cv_lib_$ac_lib_var=yes"
2202 echo "configure: failed program was:" >&5
2203 cat conftest.
$ac_ext >&5
2205 eval "ac_cv_lib_$ac_lib_var=no"
2208 LIBS
="$ac_save_LIBS"
2211 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2212 echo "$ac_t""yes" 1>&6
2213 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
2215 echo "$ac_t""no" 1>&6
2221 # Check for libraries that X11R6 Xt/Xaw programs need.
2222 ac_save_LDFLAGS
="$LDFLAGS"
2223 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
2224 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
2225 # check for ICE first), but we must link in the order -lSM -lICE or
2226 # we get undefined symbols. So assume we have SM if we have ICE.
2227 # These have to be linked with before -lX11, unlike the other
2228 # libraries we check for below, so use a different variable.
2229 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2230 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2231 echo "configure:2232: checking for IceConnectionNumber in -lICE" >&5
2232 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2233 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2234 echo $ac_n "(cached) $ac_c" 1>&6
2236 ac_save_LIBS
="$LIBS"
2238 cat > conftest.
$ac_ext <<EOF
2239 #line 2240 "configure"
2240 #include "confdefs.h"
2241 /* Override any gcc2 internal prototype to avoid an error. */
2242 /* We use char because int might match the return type of a gcc2
2243 builtin and then its argument prototype would still apply. */
2244 char IceConnectionNumber();
2247 IceConnectionNumber()
2250 if { (eval echo configure
:2251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2252 eval "ac_cv_lib_$ac_lib_var=yes"
2254 echo "configure: failed program was:" >&5
2255 cat conftest.
$ac_ext >&5
2257 eval "ac_cv_lib_$ac_lib_var=no"
2260 LIBS
="$ac_save_LIBS"
2263 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2264 echo "$ac_t""yes" 1>&6
2265 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
2267 echo "$ac_t""no" 1>&6
2270 LDFLAGS
="$ac_save_LDFLAGS"
2276 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
2278 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2279 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2280 echo "configure:2281: checking for $ac_hdr that defines DIR" >&5
2281 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2282 echo $ac_n "(cached) $ac_c" 1>&6
2284 cat > conftest.
$ac_ext <<EOF
2285 #line 2286 "configure"
2286 #include "confdefs.h"
2287 #include <sys/types.h>
2293 if { (eval echo configure
:2294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2295 eval "ac_cv_header_dirent_$ac_safe=yes"
2297 echo "configure: failed program was:" >&5
2298 cat conftest.
$ac_ext >&5
2300 eval "ac_cv_header_dirent_$ac_safe=no"
2304 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
2305 echo "$ac_t""yes" 1>&6
2306 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2307 cat >> confdefs.h
<<EOF
2308 #define $ac_tr_hdr 1
2310 ac_header_dirent
=$ac_hdr; break
2312 echo "$ac_t""no" 1>&6
2315 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2316 if test $ac_header_dirent = dirent.h
; then
2317 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2318 echo "configure:2319: checking for opendir in -ldir" >&5
2319 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2320 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2321 echo $ac_n "(cached) $ac_c" 1>&6
2323 ac_save_LIBS
="$LIBS"
2325 cat > conftest.
$ac_ext <<EOF
2326 #line 2327 "configure"
2327 #include "confdefs.h"
2328 /* Override any gcc2 internal prototype to avoid an error. */
2329 /* We use char because int might match the return type of a gcc2
2330 builtin and then its argument prototype would still apply. */
2337 if { (eval echo configure
:2338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2339 eval "ac_cv_lib_$ac_lib_var=yes"
2341 echo "configure: failed program was:" >&5
2342 cat conftest.
$ac_ext >&5
2344 eval "ac_cv_lib_$ac_lib_var=no"
2347 LIBS
="$ac_save_LIBS"
2350 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2351 echo "$ac_t""yes" 1>&6
2354 echo "$ac_t""no" 1>&6
2358 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2359 echo "configure:2360: checking for opendir in -lx" >&5
2360 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2361 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2362 echo $ac_n "(cached) $ac_c" 1>&6
2364 ac_save_LIBS
="$LIBS"
2366 cat > conftest.
$ac_ext <<EOF
2367 #line 2368 "configure"
2368 #include "confdefs.h"
2369 /* Override any gcc2 internal prototype to avoid an error. */
2370 /* We use char because int might match the return type of a gcc2
2371 builtin and then its argument prototype would still apply. */
2378 if { (eval echo configure
:2379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2380 eval "ac_cv_lib_$ac_lib_var=yes"
2382 echo "configure: failed program was:" >&5
2383 cat conftest.
$ac_ext >&5
2385 eval "ac_cv_lib_$ac_lib_var=no"
2388 LIBS
="$ac_save_LIBS"
2391 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2392 echo "$ac_t""yes" 1>&6
2395 echo "$ac_t""no" 1>&6
2400 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2401 echo "configure:2402: checking for ANSI C header files" >&5
2402 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2403 echo $ac_n "(cached) $ac_c" 1>&6
2405 cat > conftest.
$ac_ext <<EOF
2406 #line 2407 "configure"
2407 #include "confdefs.h"
2413 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2414 { (eval echo configure
:2415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2415 ac_err
=`grep -v '^ *+' conftest.out`
2416 if test -z "$ac_err"; then
2418 ac_cv_header_stdc
=yes
2421 echo "configure: failed program was:" >&5
2422 cat conftest.
$ac_ext >&5
2424 ac_cv_header_stdc
=no
2428 if test $ac_cv_header_stdc = yes; then
2429 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2430 cat > conftest.
$ac_ext <<EOF
2431 #line 2432 "configure"
2432 #include "confdefs.h"
2435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2436 egrep "memchr" >/dev
/null
2>&1; then
2440 ac_cv_header_stdc
=no
2446 if test $ac_cv_header_stdc = yes; then
2447 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2448 cat > conftest.
$ac_ext <<EOF
2449 #line 2450 "configure"
2450 #include "confdefs.h"
2453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2454 egrep "free" >/dev
/null
2>&1; then
2458 ac_cv_header_stdc
=no
2464 if test $ac_cv_header_stdc = yes; then
2465 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2466 if test "$cross_compiling" = yes; then
2469 cat > conftest.
$ac_ext <<EOF
2470 #line 2471 "configure"
2471 #include "confdefs.h"
2473 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2474 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2475 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2476 int main () { int i; for (i = 0; i < 256; i++)
2477 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2481 if { (eval echo configure
:2482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2485 echo "configure: failed program was:" >&5
2486 cat conftest.
$ac_ext >&5
2488 ac_cv_header_stdc
=no
2496 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2497 if test $ac_cv_header_stdc = yes; then
2498 cat >> confdefs.h
<<\EOF
2499 #define STDC_HEADERS 1
2504 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2505 echo "configure:2506: checking for sys/wait.h that is POSIX.1 compatible" >&5
2506 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2507 echo $ac_n "(cached) $ac_c" 1>&6
2509 cat > conftest.
$ac_ext <<EOF
2510 #line 2511 "configure"
2511 #include "confdefs.h"
2512 #include <sys/types.h>
2513 #include <sys/wait.h>
2515 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2518 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2523 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2526 if { (eval echo configure
:2527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2528 ac_cv_header_sys_wait_h
=yes
2530 echo "configure: failed program was:" >&5
2531 cat conftest.
$ac_ext >&5
2533 ac_cv_header_sys_wait_h
=no
2538 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2539 if test $ac_cv_header_sys_wait_h = yes; then
2540 cat >> confdefs.h
<<\EOF
2541 #define HAVE_SYS_WAIT_H 1
2546 for ac_hdr
in fcntl.h
2548 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2549 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2550 echo "configure:2551: checking for $ac_hdr" >&5
2551 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2552 echo $ac_n "(cached) $ac_c" 1>&6
2554 cat > conftest.
$ac_ext <<EOF
2555 #line 2556 "configure"
2556 #include "confdefs.h"
2559 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2560 { (eval echo configure
:2561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2561 ac_err
=`grep -v '^ *+' conftest.out`
2562 if test -z "$ac_err"; then
2564 eval "ac_cv_header_$ac_safe=yes"
2567 echo "configure: failed program was:" >&5
2568 cat conftest.
$ac_ext >&5
2570 eval "ac_cv_header_$ac_safe=no"
2574 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2575 echo "$ac_t""yes" 1>&6
2576 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2577 cat >> confdefs.h
<<EOF
2578 #define $ac_tr_hdr 1
2582 echo "$ac_t""no" 1>&6
2586 for ac_hdr
in limits.h
2588 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2589 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2590 echo "configure:2591: checking for $ac_hdr" >&5
2591 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2592 echo $ac_n "(cached) $ac_c" 1>&6
2594 cat > conftest.
$ac_ext <<EOF
2595 #line 2596 "configure"
2596 #include "confdefs.h"
2599 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2600 { (eval echo configure
:2601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2601 ac_err
=`grep -v '^ *+' conftest.out`
2602 if test -z "$ac_err"; then
2604 eval "ac_cv_header_$ac_safe=yes"
2607 echo "configure: failed program was:" >&5
2608 cat conftest.
$ac_ext >&5
2610 eval "ac_cv_header_$ac_safe=no"
2614 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2615 echo "$ac_t""yes" 1>&6
2616 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2617 cat >> confdefs.h
<<EOF
2618 #define $ac_tr_hdr 1
2622 echo "$ac_t""no" 1>&6
2626 for ac_hdr
in sys
/file.h
2628 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2629 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2630 echo "configure:2631: checking for $ac_hdr" >&5
2631 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2632 echo $ac_n "(cached) $ac_c" 1>&6
2634 cat > conftest.
$ac_ext <<EOF
2635 #line 2636 "configure"
2636 #include "confdefs.h"
2639 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2640 { (eval echo configure
:2641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2641 ac_err
=`grep -v '^ *+' conftest.out`
2642 if test -z "$ac_err"; then
2644 eval "ac_cv_header_$ac_safe=yes"
2647 echo "configure: failed program was:" >&5
2648 cat conftest.
$ac_ext >&5
2650 eval "ac_cv_header_$ac_safe=no"
2654 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2655 echo "$ac_t""yes" 1>&6
2656 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2657 cat >> confdefs.h
<<EOF
2658 #define $ac_tr_hdr 1
2662 echo "$ac_t""no" 1>&6
2666 for ac_hdr
in sys
/time.h
2668 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2669 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2670 echo "configure:2671: checking for $ac_hdr" >&5
2671 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2672 echo $ac_n "(cached) $ac_c" 1>&6
2674 cat > conftest.
$ac_ext <<EOF
2675 #line 2676 "configure"
2676 #include "confdefs.h"
2679 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2680 { (eval echo configure
:2681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2681 ac_err
=`grep -v '^ *+' conftest.out`
2682 if test -z "$ac_err"; then
2684 eval "ac_cv_header_$ac_safe=yes"
2687 echo "configure: failed program was:" >&5
2688 cat conftest.
$ac_ext >&5
2690 eval "ac_cv_header_$ac_safe=no"
2694 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2695 echo "$ac_t""yes" 1>&6
2696 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2697 cat >> confdefs.h
<<EOF
2698 #define $ac_tr_hdr 1
2702 echo "$ac_t""no" 1>&6
2706 for ac_hdr
in unistd.h
2708 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2709 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2710 echo "configure:2711: checking for $ac_hdr" >&5
2711 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2712 echo $ac_n "(cached) $ac_c" 1>&6
2714 cat > conftest.
$ac_ext <<EOF
2715 #line 2716 "configure"
2716 #include "confdefs.h"
2719 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2720 { (eval echo configure
:2721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2721 ac_err
=`grep -v '^ *+' conftest.out`
2722 if test -z "$ac_err"; then
2724 eval "ac_cv_header_$ac_safe=yes"
2727 echo "configure: failed program was:" >&5
2728 cat conftest.
$ac_ext >&5
2730 eval "ac_cv_header_$ac_safe=no"
2734 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2735 echo "$ac_t""yes" 1>&6
2736 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2737 cat >> confdefs.h
<<EOF
2738 #define $ac_tr_hdr 1
2742 echo "$ac_t""no" 1>&6
2746 for ac_hdr
in fnmatch.h
2748 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2749 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2750 echo "configure:2751: checking for $ac_hdr" >&5
2751 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2752 echo $ac_n "(cached) $ac_c" 1>&6
2754 cat > conftest.
$ac_ext <<EOF
2755 #line 2756 "configure"
2756 #include "confdefs.h"
2759 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2760 { (eval echo configure
:2761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2761 ac_err
=`grep -v '^ *+' conftest.out`
2762 if test -z "$ac_err"; then
2764 eval "ac_cv_header_$ac_safe=yes"
2767 echo "configure: failed program was:" >&5
2768 cat conftest.
$ac_ext >&5
2770 eval "ac_cv_header_$ac_safe=no"
2774 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2775 echo "$ac_t""yes" 1>&6
2776 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2777 cat >> confdefs.h
<<EOF
2778 #define $ac_tr_hdr 1
2782 echo "$ac_t""no" 1>&6
2786 for ac_hdr
in linux
/joystick.h
2788 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2789 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2790 echo "configure:2791: checking for $ac_hdr" >&5
2791 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2792 echo $ac_n "(cached) $ac_c" 1>&6
2794 cat > conftest.
$ac_ext <<EOF
2795 #line 2796 "configure"
2796 #include "confdefs.h"
2799 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2800 { (eval echo configure
:2801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2801 ac_err
=`grep -v '^ *+' conftest.out`
2802 if test -z "$ac_err"; then
2804 eval "ac_cv_header_$ac_safe=yes"
2807 echo "configure: failed program was:" >&5
2808 cat conftest.
$ac_ext >&5
2810 eval "ac_cv_header_$ac_safe=no"
2814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2815 echo "$ac_t""yes" 1>&6
2816 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2817 cat >> confdefs.h
<<EOF
2818 #define $ac_tr_hdr 1
2822 echo "$ac_t""no" 1>&6
2827 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
2828 GTK_JOYSTICK
="gtk/joystick.cpp"
2834 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2835 ac_cpp
='$CXXCPP $CPPFLAGS'
2836 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2837 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2838 cross_compiling
=$ac_cv_prog_cxx_cross
2840 for ac_hdr
in iostream
2842 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2843 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2844 echo "configure:2845: checking for $ac_hdr" >&5
2845 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2846 echo $ac_n "(cached) $ac_c" 1>&6
2848 cat > conftest.
$ac_ext <<EOF
2849 #line 2850 "configure"
2850 #include "confdefs.h"
2853 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2854 { (eval echo configure
:2855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2855 ac_err
=`grep -v '^ *+' conftest.out`
2856 if test -z "$ac_err"; then
2858 eval "ac_cv_header_$ac_safe=yes"
2861 echo "configure: failed program was:" >&5
2862 cat conftest.
$ac_ext >&5
2864 eval "ac_cv_header_$ac_safe=no"
2868 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2869 echo "$ac_t""yes" 1>&6
2870 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2871 cat >> confdefs.h
<<EOF
2872 #define $ac_tr_hdr 1
2876 echo "$ac_t""no" 1>&6
2880 if test "x$HAVE_IOSTREAM" = "x" ; then
2881 cat >> confdefs.h
<<\EOF
2882 #define wxUSE_IOSTREAMH 1
2887 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2888 ac_cpp
='$CPP $CPPFLAGS'
2889 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2890 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2891 cross_compiling
=$ac_cv_prog_cc_cross
2894 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
2895 echo "configure:2896: checking for uid_t in sys/types.h" >&5
2896 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
2897 echo $ac_n "(cached) $ac_c" 1>&6
2899 cat > conftest.
$ac_ext <<EOF
2900 #line 2901 "configure"
2901 #include "confdefs.h"
2902 #include <sys/types.h>
2904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2905 egrep "uid_t" >/dev
/null
2>&1; then
2907 ac_cv_type_uid_t
=yes
2916 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
2917 if test $ac_cv_type_uid_t = no
; then
2918 cat >> confdefs.h
<<\EOF
2922 cat >> confdefs.h
<<\EOF
2928 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
2929 echo "configure:2930: checking type of array argument to getgroups" >&5
2930 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
2931 echo $ac_n "(cached) $ac_c" 1>&6
2933 if test "$cross_compiling" = yes; then
2934 ac_cv_type_getgroups
=cross
2936 cat > conftest.
$ac_ext <<EOF
2937 #line 2938 "configure"
2938 #include "confdefs.h"
2940 /* Thanks to Mike Rendell for this test. */
2941 #include <sys/types.h>
2944 #define MAX(x, y) ((x) > (y) ? (x) : (y))
2949 union { gid_t gval; long lval; } val;
2952 for (i = 0; i < NGID; i++)
2953 gidset[i] = val.gval;
2954 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
2956 /* Exit non-zero if getgroups seems to require an array of ints. This
2957 happens when gid_t is short but getgroups modifies an array of ints. */
2958 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
2962 if { (eval echo configure
:2963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2964 ac_cv_type_getgroups
=gid_t
2966 echo "configure: failed program was:" >&5
2967 cat conftest.
$ac_ext >&5
2969 ac_cv_type_getgroups
=int
2974 if test $ac_cv_type_getgroups = cross
; then
2975 cat > conftest.
$ac_ext <<EOF
2976 #line 2977 "configure"
2977 #include "confdefs.h"
2980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2981 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
2983 ac_cv_type_getgroups
=gid_t
2986 ac_cv_type_getgroups
=int
2993 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
2994 cat >> confdefs.h
<<EOF
2995 #define GETGROUPS_T $ac_cv_type_getgroups
2999 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
3000 echo "configure:3001: checking for mode_t" >&5
3001 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
3002 echo $ac_n "(cached) $ac_c" 1>&6
3004 cat > conftest.
$ac_ext <<EOF
3005 #line 3006 "configure"
3006 #include "confdefs.h"
3007 #include <sys/types.h>
3013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3014 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3016 ac_cv_type_mode_t
=yes
3019 ac_cv_type_mode_t
=no
3024 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
3025 if test $ac_cv_type_mode_t = no
; then
3026 cat >> confdefs.h
<<\EOF
3032 echo $ac_n "checking for off_t""... $ac_c" 1>&6
3033 echo "configure:3034: checking for off_t" >&5
3034 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
3035 echo $ac_n "(cached) $ac_c" 1>&6
3037 cat > conftest.
$ac_ext <<EOF
3038 #line 3039 "configure"
3039 #include "confdefs.h"
3040 #include <sys/types.h>
3046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3047 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3049 ac_cv_type_off_t
=yes
3057 echo "$ac_t""$ac_cv_type_off_t" 1>&6
3058 if test $ac_cv_type_off_t = no
; then
3059 cat >> confdefs.h
<<\EOF
3065 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
3066 echo "configure:3067: checking for pid_t" >&5
3067 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
3068 echo $ac_n "(cached) $ac_c" 1>&6
3070 cat > conftest.
$ac_ext <<EOF
3071 #line 3072 "configure"
3072 #include "confdefs.h"
3073 #include <sys/types.h>
3079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3080 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3082 ac_cv_type_pid_t
=yes
3090 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
3091 if test $ac_cv_type_pid_t = no
; then
3092 cat >> confdefs.h
<<\EOF
3098 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3099 echo "configure:3100: checking return type of signal handlers" >&5
3100 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
3101 echo $ac_n "(cached) $ac_c" 1>&6
3103 cat > conftest.
$ac_ext <<EOF
3104 #line 3105 "configure"
3105 #include "confdefs.h"
3106 #include <sys/types.h>
3112 extern "C" void (*signal (int, void (*)(int)))(int);
3114 void (*signal ()) ();
3121 if { (eval echo configure
:3122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3123 ac_cv_type_signal
=void
3125 echo "configure: failed program was:" >&5
3126 cat conftest.
$ac_ext >&5
3128 ac_cv_type_signal
=int
3133 echo "$ac_t""$ac_cv_type_signal" 1>&6
3134 cat >> confdefs.h
<<EOF
3135 #define RETSIGTYPE $ac_cv_type_signal
3139 echo $ac_n "checking for size_t""... $ac_c" 1>&6
3140 echo "configure:3141: checking for size_t" >&5
3141 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
3142 echo $ac_n "(cached) $ac_c" 1>&6
3144 cat > conftest.
$ac_ext <<EOF
3145 #line 3146 "configure"
3146 #include "confdefs.h"
3147 #include <sys/types.h>
3153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3154 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3156 ac_cv_type_size_t
=yes
3159 ac_cv_type_size_t
=no
3164 echo "$ac_t""$ac_cv_type_size_t" 1>&6
3165 if test $ac_cv_type_size_t = no
; then
3166 cat >> confdefs.h
<<\EOF
3167 #define size_t unsigned
3172 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3173 echo "configure:3174: checking for uid_t in sys/types.h" >&5
3174 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3175 echo $ac_n "(cached) $ac_c" 1>&6
3177 cat > conftest.
$ac_ext <<EOF
3178 #line 3179 "configure"
3179 #include "confdefs.h"
3180 #include <sys/types.h>
3182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3183 egrep "uid_t" >/dev
/null
2>&1; then
3185 ac_cv_type_uid_t
=yes
3194 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3195 if test $ac_cv_type_uid_t = no
; then
3196 cat >> confdefs.h
<<\EOF
3200 cat >> confdefs.h
<<\EOF
3208 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
3209 echo "configure:3210: checking whether stat file-mode macros are broken" >&5
3210 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
3211 echo $ac_n "(cached) $ac_c" 1>&6
3213 cat > conftest.
$ac_ext <<EOF
3214 #line 3215 "configure"
3215 #include "confdefs.h"
3216 #include <sys/types.h>
3217 #include <sys/stat.h>
3219 #if defined(S_ISBLK) && defined(S_IFDIR)
3220 # if S_ISBLK (S_IFDIR)
3225 #if defined(S_ISBLK) && defined(S_IFCHR)
3226 # if S_ISBLK (S_IFCHR)
3231 #if defined(S_ISLNK) && defined(S_IFREG)
3232 # if S_ISLNK (S_IFREG)
3237 #if defined(S_ISSOCK) && defined(S_IFREG)
3238 # if S_ISSOCK (S_IFREG)
3244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3245 egrep "You lose" >/dev
/null
2>&1; then
3247 ac_cv_header_stat_broken
=yes
3250 ac_cv_header_stat_broken
=no
3256 echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
3257 if test $ac_cv_header_stat_broken = yes; then
3258 cat >> confdefs.h
<<\EOF
3259 #define STAT_MACROS_BROKEN 1
3264 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3265 echo "configure:3266: checking whether time.h and sys/time.h may both be included" >&5
3266 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3267 echo $ac_n "(cached) $ac_c" 1>&6
3269 cat > conftest.
$ac_ext <<EOF
3270 #line 3271 "configure"
3271 #include "confdefs.h"
3272 #include <sys/types.h>
3273 #include <sys/time.h>
3279 if { (eval echo configure
:3280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3281 ac_cv_header_time
=yes
3283 echo "configure: failed program was:" >&5
3284 cat conftest.
$ac_ext >&5
3286 ac_cv_header_time
=no
3291 echo "$ac_t""$ac_cv_header_time" 1>&6
3292 if test $ac_cv_header_time = yes; then
3293 cat >> confdefs.h
<<\EOF
3294 #define TIME_WITH_SYS_TIME 1
3299 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
3300 echo "configure:3301: checking for st_blksize in struct stat" >&5
3301 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
3302 echo $ac_n "(cached) $ac_c" 1>&6
3304 cat > conftest.
$ac_ext <<EOF
3305 #line 3306 "configure"
3306 #include "confdefs.h"
3307 #include <sys/types.h>
3308 #include <sys/stat.h>
3310 struct stat s; s.st_blksize;
3313 if { (eval echo configure
:3314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3315 ac_cv_struct_st_blksize
=yes
3317 echo "configure: failed program was:" >&5
3318 cat conftest.
$ac_ext >&5
3320 ac_cv_struct_st_blksize
=no
3325 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
3326 if test $ac_cv_struct_st_blksize = yes; then
3327 cat >> confdefs.h
<<\EOF
3328 #define HAVE_ST_BLKSIZE 1
3333 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
3334 echo "configure:3335: checking for st_blocks in struct stat" >&5
3335 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
3336 echo $ac_n "(cached) $ac_c" 1>&6
3338 cat > conftest.
$ac_ext <<EOF
3339 #line 3340 "configure"
3340 #include "confdefs.h"
3341 #include <sys/types.h>
3342 #include <sys/stat.h>
3344 struct stat s; s.st_blocks;
3347 if { (eval echo configure
:3348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3349 ac_cv_struct_st_blocks
=yes
3351 echo "configure: failed program was:" >&5
3352 cat conftest.
$ac_ext >&5
3354 ac_cv_struct_st_blocks
=no
3359 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6
3360 if test $ac_cv_struct_st_blocks = yes; then
3361 cat >> confdefs.h
<<\EOF
3362 #define HAVE_ST_BLOCKS 1
3366 LIBOBJS
="$LIBOBJS fileblocks.o"
3369 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
3370 echo "configure:3371: checking for st_rdev in struct stat" >&5
3371 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
3372 echo $ac_n "(cached) $ac_c" 1>&6
3374 cat > conftest.
$ac_ext <<EOF
3375 #line 3376 "configure"
3376 #include "confdefs.h"
3377 #include <sys/types.h>
3378 #include <sys/stat.h>
3380 struct stat s; s.st_rdev;
3383 if { (eval echo configure
:3384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3385 ac_cv_struct_st_rdev
=yes
3387 echo "configure: failed program was:" >&5
3388 cat conftest.
$ac_ext >&5
3390 ac_cv_struct_st_rdev
=no
3395 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6
3396 if test $ac_cv_struct_st_rdev = yes; then
3397 cat >> confdefs.h
<<\EOF
3398 #define HAVE_ST_RDEV 1
3403 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3404 echo "configure:3405: checking whether struct tm is in sys/time.h or time.h" >&5
3405 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
3406 echo $ac_n "(cached) $ac_c" 1>&6
3408 cat > conftest.
$ac_ext <<EOF
3409 #line 3410 "configure"
3410 #include "confdefs.h"
3411 #include <sys/types.h>
3414 struct tm *tp; tp->tm_sec;
3417 if { (eval echo configure
:3418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3419 ac_cv_struct_tm
=time.h
3421 echo "configure: failed program was:" >&5
3422 cat conftest.
$ac_ext >&5
3424 ac_cv_struct_tm
=sys
/time.h
3429 echo "$ac_t""$ac_cv_struct_tm" 1>&6
3430 if test $ac_cv_struct_tm = sys
/time.h
; then
3431 cat >> confdefs.h
<<\EOF
3432 #define TM_IN_SYS_TIME 1
3437 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3438 echo "configure:3439: checking for tm_zone in struct tm" >&5
3439 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
3440 echo $ac_n "(cached) $ac_c" 1>&6
3442 cat > conftest.
$ac_ext <<EOF
3443 #line 3444 "configure"
3444 #include "confdefs.h"
3445 #include <sys/types.h>
3446 #include <$ac_cv_struct_tm>
3448 struct tm tm; tm.tm_zone;
3451 if { (eval echo configure
:3452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3453 ac_cv_struct_tm_zone
=yes
3455 echo "configure: failed program was:" >&5
3456 cat conftest.
$ac_ext >&5
3458 ac_cv_struct_tm_zone
=no
3463 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
3464 if test "$ac_cv_struct_tm_zone" = yes; then
3465 cat >> confdefs.h
<<\EOF
3466 #define HAVE_TM_ZONE 1
3470 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3471 echo "configure:3472: checking for tzname" >&5
3472 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
3473 echo $ac_n "(cached) $ac_c" 1>&6
3475 cat > conftest.
$ac_ext <<EOF
3476 #line 3477 "configure"
3477 #include "confdefs.h"
3479 #ifndef tzname /* For SGI. */
3480 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3486 if { (eval echo configure
:3487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3488 ac_cv_var_tzname
=yes
3490 echo "configure: failed program was:" >&5
3491 cat conftest.
$ac_ext >&5
3498 echo "$ac_t""$ac_cv_var_tzname" 1>&6
3499 if test $ac_cv_var_tzname = yes; then
3500 cat >> confdefs.h
<<\EOF
3501 #define HAVE_TZNAME 1
3509 echo $ac_n "checking for working const""... $ac_c" 1>&6
3510 echo "configure:3511: checking for working const" >&5
3511 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3512 echo $ac_n "(cached) $ac_c" 1>&6
3514 cat > conftest.
$ac_ext <<EOF
3515 #line 3516 "configure"
3516 #include "confdefs.h"
3520 /* Ultrix mips cc rejects this. */
3521 typedef int charset[2]; const charset x;
3522 /* SunOS 4.1.1 cc rejects this. */
3523 char const *const *ccp;
3525 /* NEC SVR4.0.2 mips cc rejects this. */
3526 struct point {int x, y;};
3527 static struct point const zero = {0,0};
3528 /* AIX XL C 1.02.0.0 rejects this.
3529 It does not let you subtract one const X* pointer from another in an arm
3530 of an if-expression whose if-part is not a constant expression */
3531 const char *g = "string";
3532 ccp = &g + (g ? g-g : 0);
3533 /* HPUX 7.0 cc rejects these. */
3536 ccp = (char const *const *) p;
3537 { /* SCO 3.2v4 cc rejects this. */
3539 char const *s = 0 ? (char *) 0 : (char const *) 0;
3543 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3545 const int *foo = &x[0];
3548 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3549 typedef const int *iptr;
3553 { /* AIX XL C 1.02.0.0 rejects this saying
3554 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3555 struct s { int j; const int *ap[3]; };
3556 struct s *b; b->j = 5;
3558 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3564 if { (eval echo configure
:3565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3568 echo "configure: failed program was:" >&5
3569 cat conftest.
$ac_ext >&5
3576 echo "$ac_t""$ac_cv_c_const" 1>&6
3577 if test $ac_cv_c_const = no
; then
3578 cat >> confdefs.h
<<\EOF
3584 echo $ac_n "checking for inline""... $ac_c" 1>&6
3585 echo "configure:3586: checking for inline" >&5
3586 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3587 echo $ac_n "(cached) $ac_c" 1>&6
3590 for ac_kw
in inline __inline__ __inline
; do
3591 cat > conftest.
$ac_ext <<EOF
3592 #line 3593 "configure"
3593 #include "confdefs.h"
3599 if { (eval echo configure
:3600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3601 ac_cv_c_inline
=$ac_kw; break
3603 echo "configure: failed program was:" >&5
3604 cat conftest.
$ac_ext >&5
3611 echo "$ac_t""$ac_cv_c_inline" 1>&6
3612 case "$ac_cv_c_inline" in
3614 no
) cat >> confdefs.h
<<\EOF
3618 *) cat >> confdefs.h
<<EOF
3619 #define inline $ac_cv_c_inline
3624 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
3625 echo "configure:3626: checking whether char is unsigned" >&5
3626 if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
3627 echo $ac_n "(cached) $ac_c" 1>&6
3629 if test "$GCC" = yes; then
3630 # GCC predefines this symbol on systems where it applies.
3631 cat > conftest.
$ac_ext <<EOF
3632 #line 3633 "configure"
3633 #include "confdefs.h"
3634 #ifdef __CHAR_UNSIGNED__
3639 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3640 egrep "yes" >/dev
/null
2>&1; then
3642 ac_cv_c_char_unsigned
=yes
3645 ac_cv_c_char_unsigned
=no
3650 if test "$cross_compiling" = yes; then
3651 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3653 cat > conftest.
$ac_ext <<EOF
3654 #line 3655 "configure"
3655 #include "confdefs.h"
3656 /* volatile prevents gcc2 from optimizing the test away on sparcs. */
3657 #if !defined(__STDC__) || __STDC__ != 1
3661 volatile char c = 255; exit(c < 0);
3664 if { (eval echo configure
:3665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3666 ac_cv_c_char_unsigned
=yes
3668 echo "configure: failed program was:" >&5
3669 cat conftest.
$ac_ext >&5
3671 ac_cv_c_char_unsigned
=no
3679 echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
3680 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
3681 cat >> confdefs.h
<<\EOF
3682 #define __CHAR_UNSIGNED__ 1
3687 echo $ac_n "checking for long double""... $ac_c" 1>&6
3688 echo "configure:3689: checking for long double" >&5
3689 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
3690 echo $ac_n "(cached) $ac_c" 1>&6
3692 if test "$GCC" = yes; then
3693 ac_cv_c_long_double
=yes
3695 if test "$cross_compiling" = yes; then
3696 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3698 cat > conftest.
$ac_ext <<EOF
3699 #line 3700 "configure"
3700 #include "confdefs.h"
3702 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
3703 long double foo = 0.0;
3704 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
3705 exit(sizeof(long double) < sizeof(double)); }
3707 if { (eval echo configure
:3708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3709 ac_cv_c_long_double
=yes
3711 echo "configure: failed program was:" >&5
3712 cat conftest.
$ac_ext >&5
3714 ac_cv_c_long_double
=no
3722 echo "$ac_t""$ac_cv_c_long_double" 1>&6
3723 if test $ac_cv_c_long_double = yes; then
3724 cat >> confdefs.h
<<\EOF
3725 #define HAVE_LONG_DOUBLE 1
3731 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3732 echo "configure:3733: checking whether byte ordering is bigendian" >&5
3733 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
3734 echo $ac_n "(cached) $ac_c" 1>&6
3736 ac_cv_c_bigendian
=unknown
3737 # See if sys/param.h defines the BYTE_ORDER macro.
3738 cat > conftest.
$ac_ext <<EOF
3739 #line 3740 "configure"
3740 #include "confdefs.h"
3741 #include <sys/types.h>
3742 #include <sys/param.h>
3745 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3750 if { (eval echo configure
:3751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3752 # It does; now see whether it defined to BIG_ENDIAN or not.
3753 cat > conftest.
$ac_ext <<EOF
3754 #line 3755 "configure"
3755 #include "confdefs.h"
3756 #include <sys/types.h>
3757 #include <sys/param.h>
3760 #if BYTE_ORDER != BIG_ENDIAN
3765 if { (eval echo configure
:3766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3767 ac_cv_c_bigendian
=yes
3769 echo "configure: failed program was:" >&5
3770 cat conftest.
$ac_ext >&5
3772 ac_cv_c_bigendian
=no
3776 echo "configure: failed program was:" >&5
3777 cat conftest.
$ac_ext >&5
3780 if test $ac_cv_c_bigendian = unknown
; then
3781 if test "$cross_compiling" = yes; then
3782 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3784 cat > conftest.
$ac_ext <<EOF
3785 #line 3786 "configure"
3786 #include "confdefs.h"
3788 /* Are we little or big endian? From Harbison&Steele. */
3792 char c[sizeof (long)];
3795 exit (u.c[sizeof (long) - 1] == 1);
3798 if { (eval echo configure
:3799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3800 ac_cv_c_bigendian
=no
3802 echo "configure: failed program was:" >&5
3803 cat conftest.
$ac_ext >&5
3805 ac_cv_c_bigendian
=yes
3813 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
3814 if test $ac_cv_c_bigendian = yes; then
3815 cat >> confdefs.h
<<\EOF
3816 #define WORDS_BIGENDIAN 1
3822 echo $ac_n "checking size of int *""... $ac_c" 1>&6
3823 echo "configure:3824: checking size of int *" >&5
3824 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
3825 echo $ac_n "(cached) $ac_c" 1>&6
3827 if test "$cross_compiling" = yes; then
3828 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3830 cat > conftest.
$ac_ext <<EOF
3831 #line 3832 "configure"
3832 #include "confdefs.h"
3836 FILE *f=fopen("conftestval", "w");
3838 fprintf(f, "%d\n", sizeof(int *));
3842 if { (eval echo configure
:3843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3844 ac_cv_sizeof_int_p
=`cat conftestval`
3846 echo "configure: failed program was:" >&5
3847 cat conftest.
$ac_ext >&5
3849 ac_cv_sizeof_int_p
=0
3855 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
3856 cat >> confdefs.h
<<EOF
3857 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
3861 echo $ac_n "checking size of int""... $ac_c" 1>&6
3862 echo "configure:3863: checking size of int" >&5
3863 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
3864 echo $ac_n "(cached) $ac_c" 1>&6
3866 if test "$cross_compiling" = yes; then
3867 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3869 cat > conftest.
$ac_ext <<EOF
3870 #line 3871 "configure"
3871 #include "confdefs.h"
3875 FILE *f=fopen("conftestval", "w");
3877 fprintf(f, "%d\n", sizeof(int));
3881 if { (eval echo configure
:3882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3883 ac_cv_sizeof_int
=`cat conftestval`
3885 echo "configure: failed program was:" >&5
3886 cat conftest.
$ac_ext >&5
3894 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
3895 cat >> confdefs.h
<<EOF
3896 #define SIZEOF_INT $ac_cv_sizeof_int
3900 echo $ac_n "checking size of long""... $ac_c" 1>&6
3901 echo "configure:3902: checking size of long" >&5
3902 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
3903 echo $ac_n "(cached) $ac_c" 1>&6
3905 if test "$cross_compiling" = yes; then
3906 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3908 cat > conftest.
$ac_ext <<EOF
3909 #line 3910 "configure"
3910 #include "confdefs.h"
3914 FILE *f=fopen("conftestval", "w");
3916 fprintf(f, "%d\n", sizeof(long));
3920 if { (eval echo configure
:3921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3922 ac_cv_sizeof_long
=`cat conftestval`
3924 echo "configure: failed program was:" >&5
3925 cat conftest.
$ac_ext >&5
3933 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
3934 cat >> confdefs.h
<<EOF
3935 #define SIZEOF_LONG $ac_cv_sizeof_long
3943 echo $ac_n "checking for long file names""... $ac_c" 1>&6
3944 echo "configure:3945: checking for long file names" >&5
3945 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
3946 echo $ac_n "(cached) $ac_c" 1>&6
3948 ac_cv_sys_long_file_names
=yes
3949 # Test for long file names in all the places we know might matter:
3950 # . the current directory, where building will happen
3951 # $prefix/lib where we will be installing things
3952 # $exec_prefix/lib likewise
3953 # eval it to expand exec_prefix.
3954 # $TMPDIR if set, where it might want to write temporary files
3955 # if $TMPDIR is not set:
3956 # /tmp where it might want to write temporary files
3959 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
3960 ac_tmpdirs
="$TMPDIR"
3962 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
3964 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
3965 test -d $ac_dir || continue
3966 test -w $ac_dir || continue # It is less confusing to not echo anything here.
3967 (echo 1 > $ac_dir/conftest9012345
) 2>/dev
/null
3968 (echo 2 > $ac_dir/conftest9012346
) 2>/dev
/null
3969 val
=`cat $ac_dir/conftest9012345 2>/dev/null`
3970 if test ! -f $ac_dir/conftest9012345
|| test "$val" != 1; then
3971 ac_cv_sys_long_file_names
=no
3972 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
3975 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
3979 echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6
3980 if test $ac_cv_sys_long_file_names = yes; then
3981 cat >> confdefs.h
<<\EOF
3982 #define HAVE_LONG_FILE_NAMES 1
3990 for ac_prog
in 'bison -y' byacc
3992 # Extract the first word of "$ac_prog", so it can be a program name with args.
3993 set dummy
$ac_prog; ac_word
=$2
3994 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3995 echo "configure:3996: checking for $ac_word" >&5
3996 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
3997 echo $ac_n "(cached) $ac_c" 1>&6
3999 if test -n "$YACC"; then
4000 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4002 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4003 for ac_dir
in $PATH; do
4004 test -z "$ac_dir" && ac_dir
=.
4005 if test -f $ac_dir/$ac_word; then
4006 ac_cv_prog_YACC
="$ac_prog"
4013 YACC
="$ac_cv_prog_YACC"
4014 if test -n "$YACC"; then
4015 echo "$ac_t""$YACC" 1>&6
4017 echo "$ac_t""no" 1>&6
4020 test -n "$YACC" && break
4022 test -n "$YACC" || YACC
="yacc"
4025 # Extract the first word of "flex", so it can be a program name with args.
4026 set dummy flex
; ac_word
=$2
4027 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4028 echo "configure:4029: checking for $ac_word" >&5
4029 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
4030 echo $ac_n "(cached) $ac_c" 1>&6
4032 if test -n "$LEX"; then
4033 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4035 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4036 for ac_dir
in $PATH; do
4037 test -z "$ac_dir" && ac_dir
=.
4038 if test -f $ac_dir/$ac_word; then
4039 ac_cv_prog_LEX
="flex"
4044 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
4047 LEX
="$ac_cv_prog_LEX"
4048 if test -n "$LEX"; then
4049 echo "$ac_t""$LEX" 1>&6
4051 echo "$ac_t""no" 1>&6
4054 if test -z "$LEXLIB"
4060 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
4061 echo "configure:4062: checking for yywrap in -l$ac_lib" >&5
4062 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
4063 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4064 echo $ac_n "(cached) $ac_c" 1>&6
4066 ac_save_LIBS
="$LIBS"
4067 LIBS
="-l$ac_lib $LIBS"
4068 cat > conftest.
$ac_ext <<EOF
4069 #line 4070 "configure"
4070 #include "confdefs.h"
4071 /* Override any gcc2 internal prototype to avoid an error. */
4072 /* We use char because int might match the return type of a gcc2
4073 builtin and then its argument prototype would still apply. */
4080 if { (eval echo configure
:4081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4082 eval "ac_cv_lib_$ac_lib_var=yes"
4084 echo "configure: failed program was:" >&5
4085 cat conftest.
$ac_ext >&5
4087 eval "ac_cv_lib_$ac_lib_var=no"
4090 LIBS
="$ac_save_LIBS"
4093 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4094 echo "$ac_t""yes" 1>&6
4097 echo "$ac_t""no" 1>&6
4102 echo $ac_n "checking lex output file root""... $ac_c" 1>&6
4103 echo "configure:4104: checking lex output file root" >&5
4104 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
4105 echo $ac_n "(cached) $ac_c" 1>&6
4107 # The minimal lex program is just a single line: %%. But some broken lexes
4108 # (Solaris, I think it was) want two %% lines, so accommodate them.
4111 if test -f lex.yy.c
; then
4112 ac_cv_prog_lex_root
=lex.yy
4113 elif test -f lexyy.c
; then
4114 ac_cv_prog_lex_root
=lexyy
4116 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
4120 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
4121 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4123 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
4124 echo "configure:4125: checking whether yytext is a pointer" >&5
4125 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
4126 echo $ac_n "(cached) $ac_c" 1>&6
4128 # POSIX says lex can declare yytext either as a pointer or an array; the
4129 # default is implementation-dependent. Figure out which it is, since
4130 # not all implementations provide the %pointer and %array declarations.
4131 ac_cv_prog_lex_yytext_pointer
=no
4132 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4133 ac_save_LIBS
="$LIBS"
4134 LIBS
="$LIBS $LEXLIB"
4135 cat > conftest.
$ac_ext <<EOF
4136 #line 4137 "configure"
4137 #include "confdefs.h"
4138 `cat $LEX_OUTPUT_ROOT.c`
4143 if { (eval echo configure
:4144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4145 ac_cv_prog_lex_yytext_pointer
=yes
4147 echo "configure: failed program was:" >&5
4148 cat conftest.
$ac_ext >&5
4151 LIBS
="$ac_save_LIBS"
4152 rm -f "${LEX_OUTPUT_ROOT}.c"
4156 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
4157 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4158 cat >> confdefs.h
<<\EOF
4159 #define YYTEXT_POINTER 1
4166 CHECK_INCLUDE
="-I/usr/include $X_CFLAGS"
4167 CHECK_LIB
="-L/lib -L/usr/lib $X_LIBS"
4171 # Make sure we can run config.sub.
4172 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
4173 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
4176 echo $ac_n "checking host system type""... $ac_c" 1>&6
4177 echo "configure:4178: checking host system type" >&5
4180 case "$host_alias" in
4184 if host_alias
=`$ac_config_guess`; then :
4185 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
4187 *) host_alias
=$nonopt ;;
4191 host=`$ac_config_sub $host_alias`
4192 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4193 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4194 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4195 echo "$ac_t""$host" 1>&6
4198 configuration
=$host_alias
4221 case "${canonical}" in
4224 cat >> confdefs.h
<<\EOF
4231 cat >> confdefs.h
<<\EOF
4236 *-*-irix5* | *-*-irix6* )
4239 cat >> confdefs.h
<<\EOF
4243 cat >> confdefs.h
<<\EOF
4252 cat >> confdefs.h
<<\EOF
4256 cat >> confdefs.h
<<\EOF
4257 #define __SOLARIS__ 1
4260 cat >> confdefs.h
<<\EOF
4269 cat >> confdefs.h
<<\EOF
4273 cat >> confdefs.h
<<\EOF
4277 cat >> confdefs.h
<<\EOF
4282 *-*-freebsd* | *-*-netbsd*)
4285 cat >> confdefs.h
<<\EOF
4286 #define __FREEBSD__ 1
4289 cat >> confdefs.h
<<\EOF
4297 cat >> confdefs.h
<<\EOF
4301 cat >> confdefs.h
<<\EOF
4309 cat >> confdefs.h
<<\EOF
4313 cat >> confdefs.h
<<\EOF
4321 cat >> confdefs.h
<<\EOF
4325 cat >> confdefs.h
<<\EOF
4334 cat >> confdefs.h
<<\EOF
4338 cat >> confdefs.h
<<\EOF
4342 cat >> confdefs.h
<<\EOF
4348 { echo "configure: error: I don't know your system type." 1>&2; exit 1; }
4353 rm -f ${OSTYPE}.system.cache.tmp
4354 touch ${OSTYPE}.system.cache.tmp
4355 touch ${OSTYPE}.system.cache
4360 DEFAULT_wxUSE_MOTIF
=0
4362 DEFAULT_wxUSE_THREADS
=1
4364 DEFAULT_wxUSE_SHARED
=1
4365 DEFAULT_wxUSE_OPTIMISE
=1
4366 DEFAULT_wxUSE_PROFILE
=0
4367 DEFAULT_wxUSE_DEBUG_FLAG
=0
4368 DEFAULT_wxUSE_DEBUG_INFO
=0
4369 DEFAULT_wxUSE_MEM_TRACING
=0
4370 DEFAULT_wxUSE_DMALLOC
=0
4371 DEFAULT_wxUSE_APPLE_IEEE
=1
4372 DEFAULT_wxUSE_IOSTREAMH
=1
4374 DEFAULT_wxUSE_ZLIB
=1
4375 DEFAULT_wxUSE_LIBPNG
=1
4376 DEFAULT_wxUSE_ODBC
=0
4378 DEFAULT_wxUSE_COMBOBOX
=1
4379 DEFAULT_wxUSE_GAUGE
=1
4380 DEFAULT_wxUSE_SCROLLBAR
=1
4381 DEFAULT_wxUSE_LISTCTRL
=1
4382 DEFAULT_wxUSE_TREECTRL
=1
4383 DEFAULT_wxUSE_GRID
=1
4384 DEFAULT_wxUSE_TAB_DIALOG
=1
4385 DEFAULT_wxUSE_NOTEBOOK
=1
4387 DEFAULT_wxUSE_TIMEDATE
=1
4388 DEFAULT_wxUSE_FRACTION
=1
4390 DEFAULT_wxUSE_INTL
=1
4391 DEFAULT_wxUSE_CONFIG
=1
4392 DEFAULT_wxUSE_STREAMS
=1
4393 DEFAULT_wxUSE_SERIAL
=1
4394 DEFAULT_wxUSE_FILE
=1
4395 DEFAULT_wxUSE_TEXTFILE
=1
4397 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=1
4398 DEFAULT_WX_NORMALIZED_PS_FONTS
=1
4399 DEFAULT_wxUSE_POSTSCRIPT
=1
4402 DEFAULT_wxUSE_RESOURCES
=1
4403 DEFAULT_wxUSE_CONSTRAINTS
=1
4404 DEFAULT_wxUSE_CLIPBOARD
=0
4407 DEFAULT_wxUSE_MDI_ARCHITECTURE
=1
4408 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=1
4409 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=1
4411 DEFAULT_wxUSE_PROLOGIO
=1
4412 DEFAULT_wxUSE_WX_RESOURCES
=1
4415 DEFAULT_wxUSE_OPENGL
=0
4416 DEFAULT_wxUSE_METAFILE
=0
4417 DEFAULT_wxUSE_WXGRAPH
=0
4418 DEFAULT_wxUSE_WXTREE
=0
4419 DEFAULT_wxUSE_HELP
=1
4421 DEFAULT_wxUSE_UNICODE
=1
4422 DEFAULT_wxUSE_WCSRTOMBS
=0
4426 echo $ac_n "checking "for gtk
"""... $ac_c" 1>&6
4427 echo "configure:4428: checking "for gtk
"" >&5
4428 # Check whether --with-gtk or --without-gtk was given.
4429 if test "${with_gtk+set}" = set; then
4431 if test "x$with_gtk" = xyes
; then
4432 ac_cv_use_gtk
='wxUSE_GTK="1"'
4434 ac_cv_use_gtk
='wxUSE_GTK="0"'
4438 LINE
=`grep "wxUSE_GTK" ${OSTYPE}.system.cache`
4439 if test "x$LINE" != x
; then
4440 eval "DEFAULT_$LINE"
4442 ac_cv_use_gtk
='wxUSE_GTK='$DEFAULT_wxUSE_GTK
4446 eval "$ac_cv_use_gtk"
4447 echo $ac_cv_use_gtk >> ${OSTYPE}.system.cache.tmp
4448 if test "$wxUSE_GTK" = 1; then
4449 echo "$ac_t""yes" 1>&6
4451 echo "$ac_t""no" 1>&6
4456 echo $ac_n "checking "for qt
"""... $ac_c" 1>&6
4457 echo "configure:4458: checking "for qt
"" >&5
4458 # Check whether --with-qt or --without-qt was given.
4459 if test "${with_qt+set}" = set; then
4461 if test "x$with_qt" = xyes
; then
4462 ac_cv_use_qt
='wxUSE_QT="1"'
4464 ac_cv_use_qt
='wxUSE_QT="0"'
4468 LINE
=`grep "wxUSE_QT" ${OSTYPE}.system.cache`
4469 if test "x$LINE" != x
; then
4470 eval "DEFAULT_$LINE"
4472 ac_cv_use_qt
='wxUSE_QT='$DEFAULT_wxUSE_QT
4476 eval "$ac_cv_use_qt"
4477 echo $ac_cv_use_qt >> ${OSTYPE}.system.cache.tmp
4478 if test "$wxUSE_QT" = 1; then
4479 echo "$ac_t""yes" 1>&6
4481 echo "$ac_t""no" 1>&6
4486 echo $ac_n "checking "for motif
"""... $ac_c" 1>&6
4487 echo "configure:4488: checking "for motif
"" >&5
4488 # Check whether --with-motif or --without-motif was given.
4489 if test "${with_motif+set}" = set; then
4490 withval
="$with_motif"
4491 if test "x$with_motif" = xyes
; then
4492 ac_cv_use_motif
='wxUSE_MOTIF="1"'
4494 ac_cv_use_motif
='wxUSE_MOTIF="0"'
4498 LINE
=`grep "wxUSE_MOTIF" ${OSTYPE}.system.cache`
4499 if test "x$LINE" != x
; then
4500 eval "DEFAULT_$LINE"
4502 ac_cv_use_motif
='wxUSE_MOTIF='$DEFAULT_wxUSE_MOTIF
4506 eval "$ac_cv_use_motif"
4507 echo $ac_cv_use_motif >> ${OSTYPE}.system.cache.tmp
4508 if test "$wxUSE_MOTIF" = 1; then
4509 echo "$ac_t""yes" 1>&6
4511 echo "$ac_t""no" 1>&6
4517 echo $ac_n "checking "for shared
"""... $ac_c" 1>&6
4518 echo "configure:4519: checking "for shared
"" >&5
4519 # Check whether --with-shared or --without-shared was given.
4520 if test "${with_shared+set}" = set; then
4521 withval
="$with_shared"
4522 if test "x$with_shared" = xyes
; then
4523 ac_cv_use_shared
='wxUSE_SHARED="1"'
4525 ac_cv_use_shared
='wxUSE_SHARED="0"'
4529 LINE
=`grep "wxUSE_SHARED" ${OSTYPE}.system.cache`
4530 if test "x$LINE" != x
; then
4531 eval "DEFAULT_$LINE"
4533 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4537 eval "$ac_cv_use_shared"
4538 echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp
4539 if test "$wxUSE_SHARED" = 1; then
4540 echo "$ac_t""yes" 1>&6
4542 echo "$ac_t""no" 1>&6
4547 echo $ac_n "checking "for optimise
"""... $ac_c" 1>&6
4548 echo "configure:4549: checking "for optimise
"" >&5
4549 # Check whether --with-optimise or --without-optimise was given.
4550 if test "${with_optimise+set}" = set; then
4551 withval
="$with_optimise"
4552 if test "x$with_optimise" = xyes
; then
4553 ac_cv_use_optimise
='wxUSE_OPTIMISE="1"'
4555 ac_cv_use_optimise
='wxUSE_OPTIMISE="0"'
4559 LINE
=`grep "wxUSE_OPTIMISE" ${OSTYPE}.system.cache`
4560 if test "x$LINE" != x
; then
4561 eval "DEFAULT_$LINE"
4563 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4567 eval "$ac_cv_use_optimise"
4568 echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp
4569 if test "$wxUSE_OPTIMISE" = 1; then
4570 echo "$ac_t""yes" 1>&6
4572 echo "$ac_t""no" 1>&6
4577 echo $ac_n "checking "for debug_flag
"""... $ac_c" 1>&6
4578 echo "configure:4579: checking "for debug_flag
"" >&5
4579 # Check whether --with-debug_flag or --without-debug_flag was given.
4580 if test "${with_debug_flag+set}" = set; then
4581 withval
="$with_debug_flag"
4582 if test "x$with_debug_flag" = xyes
; then
4583 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="1"'
4585 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="0"'
4589 LINE
=`grep "wxUSE_DEBUG_FLAG" ${OSTYPE}.system.cache`
4590 if test "x$LINE" != x
; then
4591 eval "DEFAULT_$LINE"
4593 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4597 eval "$ac_cv_use_debug_flag"
4598 echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp
4599 if test "$wxUSE_DEBUG_FLAG" = 1; then
4600 echo "$ac_t""yes" 1>&6
4602 echo "$ac_t""no" 1>&6
4607 echo $ac_n "checking "for debug_info
"""... $ac_c" 1>&6
4608 echo "configure:4609: checking "for debug_info
"" >&5
4609 # Check whether --with-debug_info or --without-debug_info was given.
4610 if test "${with_debug_info+set}" = set; then
4611 withval
="$with_debug_info"
4612 if test "x$with_debug_info" = xyes
; then
4613 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="1"'
4615 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="0"'
4619 LINE
=`grep "wxUSE_DEBUG_INFO" ${OSTYPE}.system.cache`
4620 if test "x$LINE" != x
; then
4621 eval "DEFAULT_$LINE"
4623 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4627 eval "$ac_cv_use_debug_info"
4628 echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp
4629 if test "$wxUSE_DEBUG_INFO" = 1; then
4630 echo "$ac_t""yes" 1>&6
4632 echo "$ac_t""no" 1>&6
4637 echo $ac_n "checking "for mem_tracing
"""... $ac_c" 1>&6
4638 echo "configure:4639: checking "for mem_tracing
"" >&5
4639 # Check whether --with-mem_tracing or --without-mem_tracing was given.
4640 if test "${with_mem_tracing+set}" = set; then
4641 withval
="$with_mem_tracing"
4642 if test "x$with_mem_tracing" = xyes
; then
4643 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="1"'
4645 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="0"'
4649 LINE
=`grep "wxUSE_MEM_TRACING" ${OSTYPE}.system.cache`
4650 if test "x$LINE" != x
; then
4651 eval "DEFAULT_$LINE"
4653 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4657 eval "$ac_cv_use_mem_tracing"
4658 echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
4659 if test "$wxUSE_MEM_TRACING" = 1; then
4660 echo "$ac_t""yes" 1>&6
4662 echo "$ac_t""no" 1>&6
4667 echo $ac_n "checking "for dmalloc
"""... $ac_c" 1>&6
4668 echo "configure:4669: checking "for dmalloc
"" >&5
4669 # Check whether --with-dmalloc or --without-dmalloc was given.
4670 if test "${with_dmalloc+set}" = set; then
4671 withval
="$with_dmalloc"
4672 if test "x$with_dmalloc" = xyes
; then
4673 ac_cv_use_dmalloc
='wxUSE_DMALLOC="1"'
4675 ac_cv_use_dmalloc
='wxUSE_DMALLOC="0"'
4679 LINE
=`grep "wxUSE_DMALLOC" ${OSTYPE}.system.cache`
4680 if test "x$LINE" != x
; then
4681 eval "DEFAULT_$LINE"
4683 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4687 eval "$ac_cv_use_dmalloc"
4688 echo $ac_cv_use_dmalloc >> ${OSTYPE}.system.cache.tmp
4689 if test "$wxUSE_DMALLOC" = 1; then
4690 echo "$ac_t""yes" 1>&6
4692 echo "$ac_t""no" 1>&6
4697 echo $ac_n "checking "for profile
"""... $ac_c" 1>&6
4698 echo "configure:4699: checking "for profile
"" >&5
4699 # Check whether --with-profile or --without-profile was given.
4700 if test "${with_profile+set}" = set; then
4701 withval
="$with_profile"
4702 if test "x$with_profile" = xyes
; then
4703 ac_cv_use_profile
='wxUSE_PROFILE="1"'
4705 ac_cv_use_profile
='wxUSE_PROFILE="0"'
4709 LINE
=`grep "wxUSE_PROFILE" ${OSTYPE}.system.cache`
4710 if test "x$LINE" != x
; then
4711 eval "DEFAULT_$LINE"
4713 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4717 eval "$ac_cv_use_profile"
4718 echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
4719 if test "$wxUSE_PROFILE" = 1; then
4720 echo "$ac_t""yes" 1>&6
4722 echo "$ac_t""no" 1>&6
4727 echo $ac_n "checking "for apple_ieee
"""... $ac_c" 1>&6
4728 echo "configure:4729: checking "for apple_ieee
"" >&5
4729 # Check whether --with-apple_ieee or --without-apple_ieee was given.
4730 if test "${with_apple_ieee+set}" = set; then
4731 withval
="$with_apple_ieee"
4732 if test "x$with_apple_ieee" = xyes
; then
4733 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="1"'
4735 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="0"'
4739 LINE
=`grep "wxUSE_APPLE_IEEE" ${OSTYPE}.system.cache`
4740 if test "x$LINE" != x
; then
4741 eval "DEFAULT_$LINE"
4743 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4747 eval "$ac_cv_use_apple_ieee"
4748 echo $ac_cv_use_apple_ieee >> ${OSTYPE}.system.cache.tmp
4749 if test "$wxUSE_APPLE_IEEE" = 1; then
4750 echo "$ac_t""yes" 1>&6
4752 echo "$ac_t""no" 1>&6
4758 echo $ac_n "checking "for zlib
"""... $ac_c" 1>&6
4759 echo "configure:4760: checking "for zlib
"" >&5
4760 # Check whether --with-zlib or --without-zlib was given.
4761 if test "${with_zlib+set}" = set; then
4762 withval
="$with_zlib"
4763 if test "x$with_zlib" = xyes
; then
4764 ac_cv_use_zlib
='wxUSE_ZLIB="1"'
4766 ac_cv_use_zlib
='wxUSE_ZLIB="0"'
4770 LINE
=`grep "wxUSE_ZLIB" ${OSTYPE}.system.cache`
4771 if test "x$LINE" != x
; then
4772 eval "DEFAULT_$LINE"
4774 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4778 eval "$ac_cv_use_zlib"
4779 echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
4780 if test "$wxUSE_ZLIB" = 1; then
4781 echo "$ac_t""yes" 1>&6
4783 echo "$ac_t""no" 1>&6
4788 echo $ac_n "checking "for libpng
"""... $ac_c" 1>&6
4789 echo "configure:4790: checking "for libpng
"" >&5
4790 # Check whether --with-libpng or --without-libpng was given.
4791 if test "${with_libpng+set}" = set; then
4792 withval
="$with_libpng"
4793 if test "x$with_libpng" = xyes
; then
4794 ac_cv_use_libpng
='wxUSE_LIBPNG="1"'
4796 ac_cv_use_libpng
='wxUSE_LIBPNG="0"'
4800 LINE
=`grep "wxUSE_LIBPNG" ${OSTYPE}.system.cache`
4801 if test "x$LINE" != x
; then
4802 eval "DEFAULT_$LINE"
4804 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
4808 eval "$ac_cv_use_libpng"
4809 echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
4810 if test "$wxUSE_LIBPNG" = 1; then
4811 echo "$ac_t""yes" 1>&6
4813 echo "$ac_t""no" 1>&6
4818 echo $ac_n "checking "for odbc
"""... $ac_c" 1>&6
4819 echo "configure:4820: checking "for odbc
"" >&5
4820 # Check whether --with-odbc or --without-odbc was given.
4821 if test "${with_odbc+set}" = set; then
4822 withval
="$with_odbc"
4823 if test "x$with_odbc" = xyes
; then
4824 ac_cv_use_odbc
='wxUSE_ODBC="1"'
4826 ac_cv_use_odbc
='wxUSE_ODBC="0"'
4830 LINE
=`grep "wxUSE_ODBC" ${OSTYPE}.system.cache`
4831 if test "x$LINE" != x
; then
4832 eval "DEFAULT_$LINE"
4834 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4838 eval "$ac_cv_use_odbc"
4839 echo $ac_cv_use_odbc >> ${OSTYPE}.system.cache.tmp
4840 if test "$wxUSE_ODBC" = 1; then
4841 echo "$ac_t""yes" 1>&6
4843 echo "$ac_t""no" 1>&6
4848 echo $ac_n "checking "for opengl
"""... $ac_c" 1>&6
4849 echo "configure:4850: checking "for opengl
"" >&5
4850 # Check whether --with-opengl or --without-opengl was given.
4851 if test "${with_opengl+set}" = set; then
4852 withval
="$with_opengl"
4853 if test "x$with_opengl" = xyes
; then
4854 ac_cv_use_opengl
='wxUSE_OPENGL="1"'
4856 ac_cv_use_opengl
='wxUSE_OPENGL="0"'
4860 LINE
=`grep "wxUSE_OPENGL" ${OSTYPE}.system.cache`
4861 if test "x$LINE" != x
; then
4862 eval "DEFAULT_$LINE"
4864 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4868 eval "$ac_cv_use_opengl"
4869 echo $ac_cv_use_opengl >> ${OSTYPE}.system.cache.tmp
4870 if test "$wxUSE_OPENGL" = 1; then
4871 echo "$ac_t""yes" 1>&6
4873 echo "$ac_t""no" 1>&6
4879 echo $ac_n "checking "for gauge
"""... $ac_c" 1>&6
4880 echo "configure:4881: checking "for gauge
"" >&5
4881 # Check whether --with-gauge or --without-gauge was given.
4882 if test "${with_gauge+set}" = set; then
4883 withval
="$with_gauge"
4884 if test "x$with_gauge" = xyes
; then
4885 ac_cv_use_gauge
='wxUSE_GAUGE="1"'
4887 ac_cv_use_gauge
='wxUSE_GAUGE="0"'
4891 LINE
=`grep "wxUSE_GAUGE" ${OSTYPE}.system.cache`
4892 if test "x$LINE" != x
; then
4893 eval "DEFAULT_$LINE"
4895 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4899 eval "$ac_cv_use_gauge"
4900 echo $ac_cv_use_gauge >> ${OSTYPE}.system.cache.tmp
4901 if test "$wxUSE_GAUGE" = 1; then
4902 echo "$ac_t""yes" 1>&6
4904 echo "$ac_t""no" 1>&6
4909 echo $ac_n "checking "for combobox
"""... $ac_c" 1>&6
4910 echo "configure:4911: checking "for combobox
"" >&5
4911 # Check whether --with-combobox or --without-combobox was given.
4912 if test "${with_combobox+set}" = set; then
4913 withval
="$with_combobox"
4914 if test "x$with_combobox" = xyes
; then
4915 ac_cv_use_combobox
='wxUSE_COMBOBOX="1"'
4917 ac_cv_use_combobox
='wxUSE_COMBOBOX="0"'
4921 LINE
=`grep "wxUSE_COMBOBOX" ${OSTYPE}.system.cache`
4922 if test "x$LINE" != x
; then
4923 eval "DEFAULT_$LINE"
4925 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4929 eval "$ac_cv_use_combobox"
4930 echo $ac_cv_use_combobox >> ${OSTYPE}.system.cache.tmp
4931 if test "$wxUSE_COMBOBOX" = 1; then
4932 echo "$ac_t""yes" 1>&6
4934 echo "$ac_t""no" 1>&6
4939 echo $ac_n "checking "for scrollbar
"""... $ac_c" 1>&6
4940 echo "configure:4941: checking "for scrollbar
"" >&5
4941 # Check whether --with-scrollbar or --without-scrollbar was given.
4942 if test "${with_scrollbar+set}" = set; then
4943 withval
="$with_scrollbar"
4944 if test "x$with_scrollbar" = xyes
; then
4945 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR="1"'
4947 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR="0"'
4951 LINE
=`grep "wxUSE_SCROLLBAR" ${OSTYPE}.system.cache`
4952 if test "x$LINE" != x
; then
4953 eval "DEFAULT_$LINE"
4955 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4959 eval "$ac_cv_use_scrollbar"
4960 echo $ac_cv_use_scrollbar >> ${OSTYPE}.system.cache.tmp
4961 if test "$wxUSE_SCROLLBAR" = 1; then
4962 echo "$ac_t""yes" 1>&6
4964 echo "$ac_t""no" 1>&6
4969 echo $ac_n "checking "for listctrl
"""... $ac_c" 1>&6
4970 echo "configure:4971: checking "for listctrl
"" >&5
4971 # Check whether --with-listctrl or --without-listctrl was given.
4972 if test "${with_listctrl+set}" = set; then
4973 withval
="$with_listctrl"
4974 if test "x$with_listctrl" = xyes
; then
4975 ac_cv_use_listctrl
='wxUSE_LISTCTRL="1"'
4977 ac_cv_use_listctrl
='wxUSE_LISTCTRL="0"'
4981 LINE
=`grep "wxUSE_LISTCTRL" ${OSTYPE}.system.cache`
4982 if test "x$LINE" != x
; then
4983 eval "DEFAULT_$LINE"
4985 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4989 eval "$ac_cv_use_listctrl"
4990 echo $ac_cv_use_listctrl >> ${OSTYPE}.system.cache.tmp
4991 if test "$wxUSE_LISTCTRL" = 1; then
4992 echo "$ac_t""yes" 1>&6
4994 echo "$ac_t""no" 1>&6
4999 echo $ac_n "checking "for treectrl
"""... $ac_c" 1>&6
5000 echo "configure:5001: checking "for treectrl
"" >&5
5001 # Check whether --with-treectrl or --without-treectrl was given.
5002 if test "${with_treectrl+set}" = set; then
5003 withval
="$with_treectrl"
5004 if test "x$with_treectrl" = xyes
; then
5005 ac_cv_use_treectrl
='wxUSE_TREECTRL="1"'
5007 ac_cv_use_treectrl
='wxUSE_TREECTRL="0"'
5011 LINE
=`grep "wxUSE_TREECTRL" ${OSTYPE}.system.cache`
5012 if test "x$LINE" != x
; then
5013 eval "DEFAULT_$LINE"
5015 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5019 eval "$ac_cv_use_treectrl"
5020 echo $ac_cv_use_treectrl >> ${OSTYPE}.system.cache.tmp
5021 if test "$wxUSE_TREECTRL" = 1; then
5022 echo "$ac_t""yes" 1>&6
5024 echo "$ac_t""no" 1>&6
5029 echo $ac_n "checking "for grid
"""... $ac_c" 1>&6
5030 echo "configure:5031: checking "for grid
"" >&5
5031 # Check whether --with-grid or --without-grid was given.
5032 if test "${with_grid+set}" = set; then
5033 withval
="$with_grid"
5034 if test "x$with_grid" = xyes
; then
5035 ac_cv_use_grid
='wxUSE_GRID="1"'
5037 ac_cv_use_grid
='wxUSE_GRID="0"'
5041 LINE
=`grep "wxUSE_GRID" ${OSTYPE}.system.cache`
5042 if test "x$LINE" != x
; then
5043 eval "DEFAULT_$LINE"
5045 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5049 eval "$ac_cv_use_grid"
5050 echo $ac_cv_use_grid >> ${OSTYPE}.system.cache.tmp
5051 if test "$wxUSE_GRID" = 1; then
5052 echo "$ac_t""yes" 1>&6
5054 echo "$ac_t""no" 1>&6
5059 echo $ac_n "checking "for tab_dialog
"""... $ac_c" 1>&6
5060 echo "configure:5061: checking "for tab_dialog
"" >&5
5061 # Check whether --with-tab_dialog or --without-tab_dialog was given.
5062 if test "${with_tab_dialog+set}" = set; then
5063 withval
="$with_tab_dialog"
5064 if test "x$with_tab_dialog" = xyes
; then
5065 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG="1"'
5067 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG="0"'
5071 LINE
=`grep "wxUSE_TAB_DIALOG" ${OSTYPE}.system.cache`
5072 if test "x$LINE" != x
; then
5073 eval "DEFAULT_$LINE"
5075 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
5079 eval "$ac_cv_use_tab_dialog"
5080 echo $ac_cv_use_tab_dialog >> ${OSTYPE}.system.cache.tmp
5081 if test "$wxUSE_TAB_DIALOG" = 1; then
5082 echo "$ac_t""yes" 1>&6
5084 echo "$ac_t""no" 1>&6
5089 echo $ac_n "checking "for notebook
"""... $ac_c" 1>&6
5090 echo "configure:5091: checking "for notebook
"" >&5
5091 # Check whether --with-notebook or --without-notebook was given.
5092 if test "${with_notebook+set}" = set; then
5093 withval
="$with_notebook"
5094 if test "x$with_notebook" = xyes
; then
5095 ac_cv_use_notebook
='wxUSE_NOTEBOOK="1"'
5097 ac_cv_use_notebook
='wxUSE_NOTEBOOK="0"'
5101 LINE
=`grep "wxUSE_NOTEBOOK" ${OSTYPE}.system.cache`
5102 if test "x$LINE" != x
; then
5103 eval "DEFAULT_$LINE"
5105 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5109 eval "$ac_cv_use_notebook"
5110 echo $ac_cv_use_notebook >> ${OSTYPE}.system.cache.tmp
5111 if test "$wxUSE_NOTEBOOK" = 1; then
5112 echo "$ac_t""yes" 1>&6
5114 echo "$ac_t""no" 1>&6
5120 echo $ac_n "checking "for timedate
"""... $ac_c" 1>&6
5121 echo "configure:5122: checking "for timedate
"" >&5
5122 # Check whether --with-timedate or --without-timedate was given.
5123 if test "${with_timedate+set}" = set; then
5124 withval
="$with_timedate"
5125 if test "x$with_timedate" = xyes
; then
5126 ac_cv_use_timedate
='wxUSE_TIMEDATE="1"'
5128 ac_cv_use_timedate
='wxUSE_TIMEDATE="0"'
5132 LINE
=`grep "wxUSE_TIMEDATE" ${OSTYPE}.system.cache`
5133 if test "x$LINE" != x
; then
5134 eval "DEFAULT_$LINE"
5136 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
5140 eval "$ac_cv_use_timedate"
5141 echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
5142 if test "$wxUSE_TIMEDATE" = 1; then
5143 echo "$ac_t""yes" 1>&6
5145 echo "$ac_t""no" 1>&6
5150 echo $ac_n "checking "for fraction
"""... $ac_c" 1>&6
5151 echo "configure:5152: checking "for fraction
"" >&5
5152 # Check whether --with-fraction or --without-fraction was given.
5153 if test "${with_fraction+set}" = set; then
5154 withval
="$with_fraction"
5155 if test "x$with_fraction" = xyes
; then
5156 ac_cv_use_fraction
='wxUSE_FRACTION="1"'
5158 ac_cv_use_fraction
='wxUSE_FRACTION="0"'
5162 LINE
=`grep "wxUSE_FRACTION" ${OSTYPE}.system.cache`
5163 if test "x$LINE" != x
; then
5164 eval "DEFAULT_$LINE"
5166 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
5170 eval "$ac_cv_use_fraction"
5171 echo $ac_cv_use_fraction >> ${OSTYPE}.system.cache.tmp
5172 if test "$wxUSE_FRACTION" = 1; then
5173 echo "$ac_t""yes" 1>&6
5175 echo "$ac_t""no" 1>&6
5180 echo $ac_n "checking "for log
"""... $ac_c" 1>&6
5181 echo "configure:5182: checking "for log
"" >&5
5182 # Check whether --with-log or --without-log was given.
5183 if test "${with_log+set}" = set; then
5185 if test "x$with_log" = xyes
; then
5186 ac_cv_use_log
='wxUSE_LOG="1"'
5188 ac_cv_use_log
='wxUSE_LOG="0"'
5192 LINE
=`grep "wxUSE_LOG" ${OSTYPE}.system.cache`
5193 if test "x$LINE" != x
; then
5194 eval "DEFAULT_$LINE"
5196 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5200 eval "$ac_cv_use_log"
5201 echo $ac_cv_use_log >> ${OSTYPE}.system.cache.tmp
5202 if test "$wxUSE_LOG" = 1; then
5203 echo "$ac_t""yes" 1>&6
5205 echo "$ac_t""no" 1>&6
5210 echo $ac_n "checking "for intl
"""... $ac_c" 1>&6
5211 echo "configure:5212: checking "for intl
"" >&5
5212 # Check whether --with-intl or --without-intl was given.
5213 if test "${with_intl+set}" = set; then
5214 withval
="$with_intl"
5215 if test "x$with_intl" = xyes
; then
5216 ac_cv_use_intl
='wxUSE_INTL="1"'
5218 ac_cv_use_intl
='wxUSE_INTL="0"'
5222 LINE
=`grep "wxUSE_INTL" ${OSTYPE}.system.cache`
5223 if test "x$LINE" != x
; then
5224 eval "DEFAULT_$LINE"
5226 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5230 eval "$ac_cv_use_intl"
5231 echo $ac_cv_use_intl >> ${OSTYPE}.system.cache.tmp
5232 if test "$wxUSE_INTL" = 1; then
5233 echo "$ac_t""yes" 1>&6
5235 echo "$ac_t""no" 1>&6
5240 echo $ac_n "checking "for config
"""... $ac_c" 1>&6
5241 echo "configure:5242: checking "for config
"" >&5
5242 # Check whether --with-config or --without-config was given.
5243 if test "${with_config+set}" = set; then
5244 withval
="$with_config"
5245 if test "x$with_config" = xyes
; then
5246 ac_cv_use_config
='wxUSE_CONFIG="1"'
5248 ac_cv_use_config
='wxUSE_CONFIG="0"'
5252 LINE
=`grep "wxUSE_CONFIG" ${OSTYPE}.system.cache`
5253 if test "x$LINE" != x
; then
5254 eval "DEFAULT_$LINE"
5256 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5260 eval "$ac_cv_use_config"
5261 echo $ac_cv_use_config >> ${OSTYPE}.system.cache.tmp
5262 if test "$wxUSE_CONFIG" = 1; then
5263 echo "$ac_t""yes" 1>&6
5265 echo "$ac_t""no" 1>&6
5270 echo $ac_n "checking "for streams
"""... $ac_c" 1>&6
5271 echo "configure:5272: checking "for streams
"" >&5
5272 # Check whether --with-streams or --without-streams was given.
5273 if test "${with_streams+set}" = set; then
5274 withval
="$with_streams"
5275 if test "x$with_streams" = xyes
; then
5276 ac_cv_use_streams
='wxUSE_STREAMS="1"'
5278 ac_cv_use_streams
='wxUSE_STREAMS="0"'
5282 LINE
=`grep "wxUSE_STREAMS" ${OSTYPE}.system.cache`
5283 if test "x$LINE" != x
; then
5284 eval "DEFAULT_$LINE"
5286 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5290 eval "$ac_cv_use_streams"
5291 echo $ac_cv_use_streams >> ${OSTYPE}.system.cache.tmp
5292 if test "$wxUSE_STREAMS" = 1; then
5293 echo "$ac_t""yes" 1>&6
5295 echo "$ac_t""no" 1>&6
5300 echo $ac_n "checking "for serial
"""... $ac_c" 1>&6
5301 echo "configure:5302: checking "for serial
"" >&5
5302 # Check whether --with-serial or --without-serial was given.
5303 if test "${with_serial+set}" = set; then
5304 withval
="$with_serial"
5305 if test "x$with_serial" = xyes
; then
5306 ac_cv_use_serial
='wxUSE_SERIAL="1"'
5308 ac_cv_use_serial
='wxUSE_SERIAL="0"'
5312 LINE
=`grep "wxUSE_SERIAL" ${OSTYPE}.system.cache`
5313 if test "x$LINE" != x
; then
5314 eval "DEFAULT_$LINE"
5316 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
5320 eval "$ac_cv_use_serial"
5321 echo $ac_cv_use_serial >> ${OSTYPE}.system.cache.tmp
5322 if test "$wxUSE_SERIAL" = 1; then
5323 echo "$ac_t""yes" 1>&6
5325 echo "$ac_t""no" 1>&6
5330 echo $ac_n "checking "for file"""... $ac_c" 1>&6
5331 echo "configure:5332: checking "for file"" >&5
5332 # Check whether --with-file or --without-file was given.
5333 if test "${with_file+set}" = set; then
5334 withval
="$with_file"
5335 if test "x$with_file" = xyes
; then
5336 ac_cv_use_file
='wxUSE_FILE="1"'
5338 ac_cv_use_file
='wxUSE_FILE="0"'
5342 LINE
=`grep "wxUSE_FILE" ${OSTYPE}.system.cache`
5343 if test "x$LINE" != x
; then
5344 eval "DEFAULT_$LINE"
5346 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5350 eval "$ac_cv_use_file"
5351 echo $ac_cv_use_file >> ${OSTYPE}.system.cache.tmp
5352 if test "$wxUSE_FILE" = 1; then
5353 echo "$ac_t""yes" 1>&6
5355 echo "$ac_t""no" 1>&6
5360 echo $ac_n "checking "for textfile
"""... $ac_c" 1>&6
5361 echo "configure:5362: checking "for textfile
"" >&5
5362 # Check whether --with-textfile or --without-textfile was given.
5363 if test "${with_textfile+set}" = set; then
5364 withval
="$with_textfile"
5365 if test "x$with_textfile" = xyes
; then
5366 ac_cv_use_textfile
='wxUSE_TEXTFILE="1"'
5368 ac_cv_use_textfile
='wxUSE_TEXTFILE="0"'
5372 LINE
=`grep "wxUSE_TEXTFILE" ${OSTYPE}.system.cache`
5373 if test "x$LINE" != x
; then
5374 eval "DEFAULT_$LINE"
5376 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5380 eval "$ac_cv_use_textfile"
5381 echo $ac_cv_use_textfile >> ${OSTYPE}.system.cache.tmp
5382 if test "$wxUSE_TEXTFILE" = 1; then
5383 echo "$ac_t""yes" 1>&6
5385 echo "$ac_t""no" 1>&6
5391 echo $ac_n "checking "for afmfonts
"""... $ac_c" 1>&6
5392 echo "configure:5393: checking "for afmfonts
"" >&5
5393 # Check whether --with-afmfonts or --without-afmfonts was given.
5394 if test "${with_afmfonts+set}" = set; then
5395 withval
="$with_afmfonts"
5396 if test "x$with_afmfonts" = xyes
; then
5397 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="1"'
5399 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="0"'
5403 LINE
=`grep "wxUSE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache`
5404 if test "x$LINE" != x
; then
5405 eval "DEFAULT_$LINE"
5407 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT='$DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
5411 eval "$ac_cv_use_afmfonts"
5412 echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
5413 if test "$wxUSE_AFM_FOR_POSTSCRIPT" = 1; then
5414 echo "$ac_t""yes" 1>&6
5416 echo "$ac_t""no" 1>&6
5421 echo $ac_n "checking "for normalized
"""... $ac_c" 1>&6
5422 echo "configure:5423: checking "for normalized
"" >&5
5423 # Check whether --with-normalized or --without-normalized was given.
5424 if test "${with_normalized+set}" = set; then
5425 withval
="$with_normalized"
5426 if test "x$with_normalized" = xyes
; then
5427 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="1"'
5429 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="0"'
5433 LINE
=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache`
5434 if test "x$LINE" != x
; then
5435 eval "DEFAULT_$LINE"
5437 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS
5441 eval "$ac_cv_use_normalized"
5442 echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
5443 if test "$WX_NORMALIZED_PS_FONTS" = 1; then
5444 echo "$ac_t""yes" 1>&6
5446 echo "$ac_t""no" 1>&6
5451 echo $ac_n "checking "for postscript
"""... $ac_c" 1>&6
5452 echo "configure:5453: checking "for postscript
"" >&5
5453 # Check whether --with-postscript or --without-postscript was given.
5454 if test "${with_postscript+set}" = set; then
5455 withval
="$with_postscript"
5456 if test "x$with_postscript" = xyes
; then
5457 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="1"'
5459 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="0"'
5463 LINE
=`grep "wxUSE_POSTSCRIPT" ${OSTYPE}.system.cache`
5464 if test "x$LINE" != x
; then
5465 eval "DEFAULT_$LINE"
5467 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5471 eval "$ac_cv_use_postscript"
5472 echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
5473 if test "$wxUSE_POSTSCRIPT" = 1; then
5474 echo "$ac_t""yes" 1>&6
5476 echo "$ac_t""no" 1>&6
5482 echo $ac_n "checking "for unicode
"""... $ac_c" 1>&6
5483 echo "configure:5484: checking "for unicode
"" >&5
5484 # Check whether --with-unicode or --without-unicode was given.
5485 if test "${with_unicode+set}" = set; then
5486 withval
="$with_unicode"
5487 if test "x$with_unicode" = xyes
; then
5488 ac_cv_use_unicode
='wxUSE_UNICODE="1"'
5490 ac_cv_use_unicode
='wxUSE_UNICODE="0"'
5494 LINE
=`grep "wxUSE_UNICODE" ${OSTYPE}.system.cache`
5495 if test "x$LINE" != x
; then
5496 eval "DEFAULT_$LINE"
5498 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5502 eval "$ac_cv_use_unicode"
5503 echo $ac_cv_use_unicode >> ${OSTYPE}.system.cache.tmp
5504 if test "$wxUSE_UNICODE" = 1; then
5505 echo "$ac_t""yes" 1>&6
5507 echo "$ac_t""no" 1>&6
5512 echo $ac_n "checking "for wcsrtombs
"""... $ac_c" 1>&6
5513 echo "configure:5514: checking "for wcsrtombs
"" >&5
5514 # Check whether --with-wcsrtombs or --without-wcsrtombs was given.
5515 if test "${with_wcsrtombs+set}" = set; then
5516 withval
="$with_wcsrtombs"
5517 if test "x$with_wcsrtombs" = xyes
; then
5518 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="1"'
5520 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="0"'
5524 LINE
=`grep "wxUSE_WCSRTOMBS" ${OSTYPE}.system.cache`
5525 if test "x$LINE" != x
; then
5526 eval "DEFAULT_$LINE"
5528 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
5532 eval "$ac_cv_use_wcsrtombs"
5533 echo $ac_cv_use_wcsrtombs >> ${OSTYPE}.system.cache.tmp
5534 if test "$wxUSE_WCSRTOMBS" = 1; then
5535 echo "$ac_t""yes" 1>&6
5537 echo "$ac_t""no" 1>&6
5543 echo $ac_n "checking "for wxresources
"""... $ac_c" 1>&6
5544 echo "configure:5545: checking "for wxresources
"" >&5
5545 # Check whether --with-wxresources or --without-wxresources was given.
5546 if test "${with_wxresources+set}" = set; then
5547 withval
="$with_wxresources"
5548 if test "x$with_wxresources" = xyes
; then
5549 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="1"'
5551 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="0"'
5555 LINE
=`grep "wxUSE_WX_RESOURCES" ${OSTYPE}.system.cache`
5556 if test "x$LINE" != x
; then
5557 eval "DEFAULT_$LINE"
5559 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES='$DEFAULT_wxUSE_WX_RESOURCES
5563 eval "$ac_cv_use_wxresources"
5564 echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
5565 if test "$wxUSE_WX_RESOURCES" = 1; then
5566 echo "$ac_t""yes" 1>&6
5568 echo "$ac_t""no" 1>&6
5573 echo $ac_n "checking "for prologio
"""... $ac_c" 1>&6
5574 echo "configure:5575: checking "for prologio
"" >&5
5575 # Check whether --with-prologio or --without-prologio was given.
5576 if test "${with_prologio+set}" = set; then
5577 withval
="$with_prologio"
5578 if test "x$with_prologio" = xyes
; then
5579 ac_cv_use_prologio
='wxUSE_PROLOGIO="1"'
5581 ac_cv_use_prologio
='wxUSE_PROLOGIO="0"'
5585 LINE
=`grep "wxUSE_PROLOGIO" ${OSTYPE}.system.cache`
5586 if test "x$LINE" != x
; then
5587 eval "DEFAULT_$LINE"
5589 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5593 eval "$ac_cv_use_prologio"
5594 echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
5595 if test "$wxUSE_PROLOGIO" = 1; then
5596 echo "$ac_t""yes" 1>&6
5598 echo "$ac_t""no" 1>&6
5603 echo $ac_n "checking "for RPC
"""... $ac_c" 1>&6
5604 echo "configure:5605: checking "for RPC
"" >&5
5605 # Check whether --with-rpc or --without-rpc was given.
5606 if test "${with_rpc+set}" = set; then
5608 if test "x$with_rpc" = xyes
; then
5609 ac_cv_use_rpc
='wxUSE_RPC="1"'
5611 ac_cv_use_rpc
='wxUSE_RPC="0"'
5615 LINE
=`grep "wxUSE_RPC" ${OSTYPE}.system.cache`
5616 if test "x$LINE" != x
; then
5617 eval "DEFAULT_$LINE"
5619 ac_cv_use_rpc
='wxUSE_RPC='$DEFAULT_wxUSE_RPC
5623 eval "$ac_cv_use_rpc"
5624 echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
5625 if test "$wxUSE_RPC" = 1; then
5626 echo "$ac_t""yes" 1>&6
5628 echo "$ac_t""no" 1>&6
5634 echo $ac_n "checking "for IPC
"""... $ac_c" 1>&6
5635 echo "configure:5636: checking "for IPC
"" >&5
5636 # Check whether --with-ipc or --without-ipc was given.
5637 if test "${with_ipc+set}" = set; then
5639 if test "x$with_ipc" = xyes
; then
5640 ac_cv_use_ipc
='wxUSE_IPC="1"'
5642 ac_cv_use_ipc
='wxUSE_IPC="0"'
5646 LINE
=`grep "wxUSE_IPC" ${OSTYPE}.system.cache`
5647 if test "x$LINE" != x
; then
5648 eval "DEFAULT_$LINE"
5650 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5654 eval "$ac_cv_use_ipc"
5655 echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
5656 if test "$wxUSE_IPC" = 1; then
5657 echo "$ac_t""yes" 1>&6
5659 echo "$ac_t""no" 1>&6
5664 echo $ac_n "checking "for resources
"""... $ac_c" 1>&6
5665 echo "configure:5666: checking "for resources
"" >&5
5666 # Check whether --with-resources or --without-resources was given.
5667 if test "${with_resources+set}" = set; then
5668 withval
="$with_resources"
5669 if test "x$with_resources" = xyes
; then
5670 ac_cv_use_resources
='wxUSE_RESOURCES="1"'
5672 ac_cv_use_resources
='wxUSE_RESOURCES="0"'
5676 LINE
=`grep "wxUSE_RESOURCES" ${OSTYPE}.system.cache`
5677 if test "x$LINE" != x
; then
5678 eval "DEFAULT_$LINE"
5680 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5684 eval "$ac_cv_use_resources"
5685 echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
5686 if test "$wxUSE_RESOURCES" = 1; then
5687 echo "$ac_t""yes" 1>&6
5689 echo "$ac_t""no" 1>&6
5694 echo $ac_n "checking "for clipboard
"""... $ac_c" 1>&6
5695 echo "configure:5696: checking "for clipboard
"" >&5
5696 # Check whether --with-clipboard or --without-clipboard was given.
5697 if test "${with_clipboard+set}" = set; then
5698 withval
="$with_clipboard"
5699 if test "x$with_clipboard" = xyes
; then
5700 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="1"'
5702 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="0"'
5706 LINE
=`grep "wxUSE_CLIPBOARD" ${OSTYPE}.system.cache`
5707 if test "x$LINE" != x
; then
5708 eval "DEFAULT_$LINE"
5710 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5714 eval "$ac_cv_use_clipboard"
5715 echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
5716 if test "$wxUSE_CLIPBOARD" = 1; then
5717 echo "$ac_t""yes" 1>&6
5719 echo "$ac_t""no" 1>&6
5724 echo $ac_n "checking "for dnd
"""... $ac_c" 1>&6
5725 echo "configure:5726: checking "for dnd
"" >&5
5726 # Check whether --with-dnd or --without-dnd was given.
5727 if test "${with_dnd+set}" = set; then
5729 if test "x$with_dnd" = xyes
; then
5730 ac_cv_use_dnd
='wxUSE_DND="1"'
5732 ac_cv_use_dnd
='wxUSE_DND="0"'
5736 LINE
=`grep "wxUSE_DND" ${OSTYPE}.system.cache`
5737 if test "x$LINE" != x
; then
5738 eval "DEFAULT_$LINE"
5740 ac_cv_use_dnd
='wxUSE_DND='$DEFAULT_wxUSE_DND
5744 eval "$ac_cv_use_dnd"
5745 echo $ac_cv_use_dnd >> ${OSTYPE}.system.cache.tmp
5746 if test "$wxUSE_DND" = 1; then
5747 echo "$ac_t""yes" 1>&6
5749 echo "$ac_t""no" 1>&6
5754 echo $ac_n "checking "for constrains
"""... $ac_c" 1>&6
5755 echo "configure:5756: checking "for constrains
"" >&5
5756 # Check whether --with-constraints or --without-constraints was given.
5757 if test "${with_constraints+set}" = set; then
5758 withval
="$with_constraints"
5759 if test "x$with_constraints" = xyes
; then
5760 ac_cv_use_constraints
='wxUSE_CONSTRAINTS="1"'
5762 ac_cv_use_constraints
='wxUSE_CONSTRAINTS="0"'
5766 LINE
=`grep "wxUSE_CONSTRAINTS" ${OSTYPE}.system.cache`
5767 if test "x$LINE" != x
; then
5768 eval "DEFAULT_$LINE"
5770 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5774 eval "$ac_cv_use_constraints"
5775 echo $ac_cv_use_constraints >> ${OSTYPE}.system.cache.tmp
5776 if test "$wxUSE_CONSTRAINTS" = 1; then
5777 echo "$ac_t""yes" 1>&6
5779 echo "$ac_t""no" 1>&6
5785 echo $ac_n "checking "for mdi
"""... $ac_c" 1>&6
5786 echo "configure:5787: checking "for mdi
"" >&5
5787 # Check whether --with-mdi or --without-mdi was given.
5788 if test "${with_mdi+set}" = set; then
5790 if test "x$with_mdi" = xyes
; then
5791 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="1"'
5793 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="0"'
5797 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${OSTYPE}.system.cache`
5798 if test "x$LINE" != x
; then
5799 eval "DEFAULT_$LINE"
5801 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5805 eval "$ac_cv_use_mdi"
5806 echo $ac_cv_use_mdi >> ${OSTYPE}.system.cache.tmp
5807 if test "$wxUSE_MDI_ARCHITECTURE" = 1; then
5808 echo "$ac_t""yes" 1>&6
5810 echo "$ac_t""no" 1>&6
5815 echo $ac_n "checking "for docview
"""... $ac_c" 1>&6
5816 echo "configure:5817: checking "for docview
"" >&5
5817 # Check whether --with-docview or --without-docview was given.
5818 if test "${with_docview+set}" = set; then
5819 withval
="$with_docview"
5820 if test "x$with_docview" = xyes
; then
5821 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="1"'
5823 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="0"'
5827 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache`
5828 if test "x$LINE" != x
; then
5829 eval "DEFAULT_$LINE"
5831 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5835 eval "$ac_cv_use_docview"
5836 echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp
5837 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1; then
5838 echo "$ac_t""yes" 1>&6
5840 echo "$ac_t""no" 1>&6
5845 echo $ac_n "checking "for printarch
"""... $ac_c" 1>&6
5846 echo "configure:5847: checking "for printarch
"" >&5
5847 # Check whether --with-printarch or --without-printarch was given.
5848 if test "${with_printarch+set}" = set; then
5849 withval
="$with_printarch"
5850 if test "x$with_printarch" = xyes
; then
5851 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="1"'
5853 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="0"'
5857 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache`
5858 if test "x$LINE" != x
; then
5859 eval "DEFAULT_$LINE"
5861 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5865 eval "$ac_cv_use_printarch"
5866 echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp
5867 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1; then
5868 echo "$ac_t""yes" 1>&6
5870 echo "$ac_t""no" 1>&6
5875 echo $ac_n "checking "for help"""... $ac_c" 1>&6
5876 echo "configure:5877: checking "for help"" >&5
5877 # Check whether --with-help or --without-help was given.
5878 if test "${with_help+set}" = set; then
5879 withval
="$with_help"
5880 if test "x$with_help" = xyes
; then
5881 ac_cv_use_help
='wxUSE_HELP="1"'
5883 ac_cv_use_help
='wxUSE_HELP="0"'
5887 LINE
=`grep "wxUSE_HELP" ${OSTYPE}.system.cache`
5888 if test "x$LINE" != x
; then
5889 eval "DEFAULT_$LINE"
5891 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5895 eval "$ac_cv_use_help"
5896 echo $ac_cv_use_help >> ${OSTYPE}.system.cache.tmp
5897 if test "$wxUSE_HELP" = 1; then
5898 echo "$ac_t""yes" 1>&6
5900 echo "$ac_t""no" 1>&6
5905 if test "$wxUSE_UNIX" = 1 ; then
5906 cat >> confdefs.h
<<\EOF
5924 if test "$wxUSE_GTK" = 1; then
5925 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
5926 if test "${with_gtk_prefix+set}" = set; then
5927 withval
="$with_gtk_prefix"
5928 gtk_config_prefix
="$withval"
5930 gtk_config_prefix
=""
5933 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
5934 if test "${with_gtk_exec_prefix+set}" = set; then
5935 withval
="$with_gtk_exec_prefix"
5936 gtk_config_exec_prefix
="$withval"
5938 gtk_config_exec_prefix
=""
5942 if test x
$gtk_config_exec_prefix != x
; then
5943 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
5944 if test x
${GTK_CONFIG+set} != xset
; then
5945 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
5948 if test x
$gtk_config_prefix != x
; then
5949 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
5950 if test x
${GTK_CONFIG+set} != xset
; then
5951 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
5955 # Extract the first word of "gtk-config", so it can be a program name with args.
5956 set dummy gtk
-config; ac_word
=$2
5957 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5958 echo "configure:5959: checking for $ac_word" >&5
5959 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
5960 echo $ac_n "(cached) $ac_c" 1>&6
5962 case "$GTK_CONFIG" in
5964 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
5967 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5968 for ac_dir
in $PATH; do
5969 test -z "$ac_dir" && ac_dir
=.
5970 if test -f $ac_dir/$ac_word; then
5971 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
5976 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
5980 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
5981 if test -n "$GTK_CONFIG"; then
5982 echo "$ac_t""$GTK_CONFIG" 1>&6
5984 echo "$ac_t""no" 1>&6
5987 min_gtk_version
=1.0.4
5988 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
5989 echo "configure:5990: checking for GTK - version >= $min_gtk_version" >&5
5991 if test "$GTK_CONFIG" != "no" ; then
5992 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
5993 GTK_LIBS
=`$GTK_CONFIG --libs`
5994 ac_save_CFLAGS
="$CFLAGS"
5995 ac_save_LIBS
="$LIBS"
5996 CFLAGS
="$CFLAGS $GTK_CFLAGS"
5997 LIBS
="$LIBS $GTK_LIBS"
5998 if test "$cross_compiling" = yes; then
5999 echo $ac_n "cross compiling; assumed OK... $ac_c"
6001 cat > conftest.
$ac_ext <<EOF
6002 #line 6003 "configure"
6003 #include "confdefs.h"
6005 #include <gtk/gtk.h>
6011 int major, minor, micro;
6013 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6014 printf("%s, bad version string\n", "$min_gtk_version");
6018 return !((gtk_major_version > major) ||
6019 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6020 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6024 if { (eval echo configure
:6025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
6028 echo "configure: failed program was:" >&5
6029 cat conftest.
$ac_ext >&5
6036 CFLAGS
="$ac_save_CFLAGS"
6037 LIBS
="$ac_save_LIBS"
6041 if test "x$no_gtk" = x
; then
6042 echo "$ac_t""yes" 1>&6
6044 GUI_TK_INCLUDE
="$GTK_CFLAGS"
6045 GUI_TK_LIBRARY
="$GTK_LIBS"
6048 echo "$ac_t""no" 1>&6
6051 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.0.4?" 1>&2; exit 1; }
6057 TOOLKIT_DEF
=__WXGTK__
6059 MAKEINCLUDE
=..
/gtk.inc
6062 if test "$wxUSE_QT" = 1; then
6063 echo $ac_n "checking for Qt includes""... $ac_c" 1>&6
6064 echo "configure:6065: checking for Qt includes" >&5
6067 for ac_dir
in $SEARCH_INCLUDE;
6069 if test -f "$ac_dir/qapp.h"; then
6070 ac_find_includes
=$ac_dir
6075 if test "$ac_find_includes" != "" ; then
6076 echo "$ac_t""found $ac_find_includes" 1>&6
6077 echo $ac_n "checking for Qt library""... $ac_c" 1>&6
6078 echo "configure:6079: checking for Qt library" >&5
6081 for ac_dir
in $SEARCH_LIB;
6083 for ac_extension
in a so sl
; do
6084 if test -f "$ac_dir/libqt.$ac_extension"; then
6085 ac_find_libraries
=$ac_dir
6091 if test "$ac_find_libraries" != "" ; then
6093 ac_path_to_include
=$ac_find_includes
6094 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6096 if test $result = 0; then
6097 ac_path_to_include
=""
6099 ac_path_to_include
="-I$ac_find_includes"
6103 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6105 if test $result = 0; then
6108 ac_path_to_link
="-L$ac_find_libraries"
6111 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6112 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6113 echo "$ac_t""found Qt at $ac_find_libraries" 1>&6
6115 { echo "configure: error: no" 1>&2; exit 1; }
6118 { echo "configure: error: no" 1>&2; exit 1; }
6120 GUI_TK_LINK
="-lX11 -lqt -lm"
6122 TOOLKIT_DEF
=__WXQT__
6124 MAKEINCLUDE
=..
/qt.inc
6127 if test "$wxUSE_MOTIF" = 1; then
6128 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
6129 echo "configure:6130: checking for Motif/Lesstif includes" >&5
6132 for ac_dir
in $SEARCH_INCLUDE;
6134 if test -f "$ac_dir/Xm.h"; then
6135 ac_find_includes
=$ac_dir
6140 if test "$ac_find_includes" != "" ; then
6141 echo "$ac_t""found $ac_find_includes" 1>&6
6142 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
6143 echo "configure:6144: checking for Motif/Lesstif library" >&5
6146 for ac_dir
in $SEARCH_LIB;
6148 for ac_extension
in a so sl
; do
6149 if test -f "$ac_dir/libXm.$ac_extension"; then
6150 ac_find_libraries
=$ac_dir
6156 if test "$ac_find_libraries" != "" ; then
6158 ac_path_to_include
=$ac_find_includes
6159 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6161 if test $result = 0; then
6162 ac_path_to_include
=""
6164 ac_path_to_include
="-I$ac_find_includes"
6168 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6170 if test $result = 0; then
6173 ac_path_to_link
="-L$ac_find_libraries"
6176 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6177 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6178 echo "$ac_t""found at $ac_find_libraries" 1>&6
6179 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
6180 echo "configure:6181: checking for Xt library" >&5
6183 for ac_dir
in $SEARCH_LIB;
6185 for ac_extension
in a so sl
; do
6186 if test -f "$ac_dir/libXt.$ac_extension"; then
6187 ac_find_libraries
=$ac_dir
6193 if test "$ac_find_libraries" != "" ; then
6195 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6197 if test $result = 0; then
6200 ac_path_to_link
="-L$ac_find_libraries"
6203 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6204 echo "$ac_t""found at $ac_find_libraries" 1>&6
6205 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6206 echo "configure:6207: checking for Xpm library" >&5
6209 for ac_dir
in $SEARCH_LIB;
6211 for ac_extension
in a so sl
; do
6212 if test -f "$ac_dir/libXpm.$ac_extension"; then
6213 ac_find_libraries
=$ac_dir
6219 if test "$ac_find_libraries" != "" ; then
6221 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6223 if test $result = 0; then
6226 ac_path_to_link
="-L$ac_find_libraries"
6229 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6230 echo "$ac_t""found at $ac_find_libraries" 1>&6
6232 { echo "configure: error: no" 1>&2; exit 1; }
6235 { echo "configure: error: no" 1>&2; exit 1; }
6238 { echo "configure: error: no" 1>&2; exit 1; }
6241 { echo "configure: error: no" 1>&2; exit 1; }
6243 GUI_TK_LINK
="-lXt -lXmu -lXpm -lX11 -lXm -lm"
6244 GUI_TK_LINK
="$CHECK_LINK $GUI_TK_LINK"
6246 TOOLKIT_DEF
=__WXMOTIF__
6248 MAKEINCLUDE
=..
/motif.inc
6251 if test "$TOOLKIT" = ""; then
6252 { echo "configure: error: You must specify a toolkit: --with-gtk --with-qt --with-motif" 1>&2; exit 1; }
6268 if test "$wxUSE_DEBUG_INFO" = 1 ; then
6273 if test "$wxUSE_DEBUG_FLAG" = 1 ; then
6274 cat >> confdefs.h
<<EOF
6275 #define WXDEBUG $wxUSE_DEBUG_FLAG
6278 WXDEBUG_DEFINE
="-D__WXDEBUG__"
6281 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
6285 if test "$wxUSE_MEM_TRACING" = 1 ; then
6286 cat >> confdefs.h
<<EOF
6287 #define wxUSE_MEMORY_TRACING $wxUSE_MEM_TRACING
6290 cat >> confdefs.h
<<EOF
6291 #define wxUSE_GLOBAL_MEMORY_OPERATORS $wxUSE_MEM_TRACING
6297 if test "$wxUSE_DMALLOC" = 1 ; then
6298 EXTRA_LINK
="$EXTRA_LINK -ldmalloc"
6303 if test "$wxUSE_PROFILE" = 1 ; then
6308 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
6309 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
6310 if test "$wxUSE_OPTIMISE" = 0 ; then
6313 if test "$GCC" = yes ; then
6315 case "${canonical}" in
6317 OPTIMISE
="${OPTIMISE} "
6327 if test "$wxUSE_APPLE_IEEE" = 1 ; then
6328 APPLE_IEEE
="APPLE_IEEE"
6329 cat >> confdefs.h
<<EOF
6330 #define wxUSE_APPLE_IEEE $wxUSE_APPLE_IEEE
6335 wxUSE_IOSTREAMH
=$DEFAULT_wxUSE_IOSTREAMH
6336 cat >> confdefs.h
<<EOF
6337 #define wxUSE_IOSTREAMH $wxUSE_IOSTREAMH
6342 if test "$wxUSE_ZLIB" = 1 ; then
6343 cat >> confdefs.h
<<EOF
6344 #define wxUSE_ZLIB $wxUSE_ZLIB
6349 if test "$wxUSE_LIBPNG" = 1 ; then
6350 cat >> confdefs.h
<<EOF
6351 #define wxUSE_LIBPNG $wxUSE_LIBPNG
6357 if test "$wxUSE_ODBC" = 1 ; then
6358 cat >> confdefs.h
<<EOF
6359 #define wxUSE_ODBC $wxUSE_ODBC
6362 IODBC_C_SRC
="\$(IODBC_C_SRC)"
6367 if test "$wxUSE_GAUGE" = 1 ; then
6368 cat >> confdefs.h
<<EOF
6369 #define wxUSE_GAUGE $wxUSE_GAUGE
6374 if test "$wxUSE_COMBOBOX" = 1 ; then
6375 cat >> confdefs.h
<<EOF
6376 #define wxUSE_COMBOBOX $wxUSE_COMBOBOX
6381 if test "$wxUSE_SCROLLBAR" = 1 ; then
6382 cat >> confdefs.h
<<EOF
6383 #define wxUSE_SCROLLBAR $wxUSE_SCROLLBAR
6388 if test "$wxUSE_LISTCTRL" = 1 ; then
6389 cat >> confdefs.h
<<EOF
6390 #define wxUSE_LISTCTRL $wxUSE_LISTCTRL
6395 if test "$wxUSE_TREECTRL" = 1 ; then
6396 cat >> confdefs.h
<<EOF
6397 #define wxUSE_TREECTRL $wxUSE_TREECTRL
6402 if test "$wxUSE_GRID" = 1 ; then
6403 cat >> confdefs.h
<<EOF
6404 #define wxUSE_GRID $wxUSE_GRID
6409 if test "$wxUSE_TAB_DIALOG" = 1 ; then
6410 cat >> confdefs.h
<<EOF
6411 #define wxUSE_TAB_DIALOG $wxUSE_TAB_DIALOG
6416 if test "$wxUSE_NOTEBOOK" = 1 ; then
6417 cat >> confdefs.h
<<EOF
6418 #define wxUSE_NOTEBOOK $wxUSE_NOTEBOOK
6424 if test "$wxUSE_CONFIG" = 1 ; then
6425 cat >> confdefs.h
<<EOF
6426 #define wxUSE_CONFIG $wxUSE_CONFIG
6431 if test "$wxUSE_TIMEDATE" = 1 ; then
6432 cat >> confdefs.h
<<EOF
6433 #define wxUSE_TIMEDATE $wxUSE_TIMEDATE
6438 if test "$wxUSE_FRACTION" = 1 ; then
6439 cat >> confdefs.h
<<EOF
6440 #define wxUSE_FRACTION $wxUSE_FRACTION
6445 if test "$wxUSE_LOG" = 1 ; then
6446 cat >> confdefs.h
<<EOF
6447 #define wxUSE_LOG $wxUSE_LOG
6452 if test "$wxUSE_INTL" = 1 ; then
6453 cat >> confdefs.h
<<EOF
6454 #define wxUSE_INTL $wxUSE_INTL
6459 if test "$wxUSE_STREAMS" = 1 ; then
6460 cat >> confdefs.h
<<EOF
6461 #define wxUSE_STREAMS $wxUSE_STREAMS
6466 if test "$wxUSE_SERIAL" = 1 ; then
6467 cat >> confdefs.h
<<EOF
6468 #define wxUSE_SERIAL $wxUSE_SERIAL
6473 if test "$wxUSE_FILE" = 1 ; then
6474 cat >> confdefs.h
<<EOF
6475 #define wxUSE_FILE $wxUSE_FILE
6480 if test "$wxUSE_TEXTFILE" = 1 ; then
6481 cat >> confdefs.h
<<EOF
6482 #define wxUSE_TEXTFILE $wxUSE_TEXTFILE
6488 if test "$wxUSE_RPC" = 1 ; then
6489 cat >> confdefs.h
<<EOF
6490 #define wxUSE_RPC $wxUSE_RPC
6495 if test "$wxUSE_WX_RESOURCES" = 1 ; then
6496 cat >> confdefs.h
<<EOF
6497 #define wxUSE_WX_RESOURCES $wxUSE_WX_RESOURCES
6502 if test "$wxUSE_PROLOGIO" = 1 ; then
6503 cat >> confdefs.h
<<EOF
6504 #define wxUSE_PROLOGIO 1
6510 if test "$wxUSE_POSTSCRIPT" = 1 ; then
6511 cat >> confdefs.h
<<EOF
6512 #define wxUSE_POSTSCRIPT 1
6517 cat >> confdefs.h
<<EOF
6518 #define wxUSE_AFM_FOR_POSTSCRIPT $wxUSE_AFM_FOR_POSTSCRIPT
6522 cat >> confdefs.h
<<EOF
6523 #define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS
6528 if test "$wxUSE_MDI_ARCHITECTURE" = 1 ; then
6529 cat >> confdefs.h
<<EOF
6530 #define wxUSE_MDI_ARCHITECTURE $wxUSE_MDI_ARCHITECTURE
6535 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1 ; then
6536 cat >> confdefs.h
<<EOF
6537 #define wxUSE_DOC_VIEW_ARCHITECTURE $wxUSE_DOC_VIEW_ARCHITECTURE
6542 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1 ; then
6543 cat >> confdefs.h
<<EOF
6544 #define wxUSE_PRINTING_ARCHITECTURE $wxUSE_PRINTING_ARCHITECTURE
6550 if test "$wxUSE_UNICODE" = 1 ; then
6551 cat >> confdefs.h
<<EOF
6552 #define wxUSE_UNICODE 1
6557 if test "$wxUSE_WCSRTOMBS" = 1 ; then
6558 cat >> confdefs.h
<<EOF
6559 #define wxUSE_WCSRTOMBS 1
6565 if test "$wxUSE_IPC" = 1 ; then
6566 cat >> confdefs.h
<<EOF
6572 if test "$wxUSE_RESOURCES" = 1 ; then
6573 cat >> confdefs.h
<<EOF
6574 #define wxUSE_RESOURCES $wxUSE_RESOURCES
6579 if test "$wxUSE_CLIPBOARD" = 1 ; then
6580 cat >> confdefs.h
<<EOF
6581 #define wxUSE_CLIPBOARD $wxUSE_CLIPBOARD
6586 if test "$wxUSE_DND" = 1 ; then
6587 cat >> confdefs.h
<<EOF
6588 #define wxUSE_DND $wxUSE_DND
6593 if test "$wxUSE_CONSTRAINTS" = 1 ; then
6594 cat >> confdefs.h
<<EOF
6595 #define wxUSE_CONSTRAINTS $wxUSE_CONSTRAINTS
6602 if test "$wxUSE_METAFILE" = 1 ; then
6604 cat >> confdefs.h
<<EOF
6605 #define wxUSE_METAFILE $wxUSE_METAFILE
6612 if test "$wxUSE_HELP" = 1 ; then
6614 cat >> confdefs.h
<<EOF
6615 #define wxUSE_HELP $wxUSE_HELP
6622 if test "$wxUSE_WXGRAPH" = 1 ; then
6624 cat >> confdefs.h
<<EOF
6625 #define wxUSE_WXGRAPH $wxUSE_WXGRAPH
6632 if test "$wxUSE_WXTREE" = 1 ; then
6634 cat >> confdefs.h
<<EOF
6635 #define wxUSE_WXTREE $wxUSE_WXTREE
6642 if test "$wxUSE_OPENGL" = 1 ; then
6647 echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6
6648 echo "configure:6649: checking for main in -ldl" >&5
6649 ac_lib_var
=`echo dl'_'main | sed 'y%./+-%__p_%'`
6650 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6651 echo $ac_n "(cached) $ac_c" 1>&6
6653 ac_save_LIBS
="$LIBS"
6655 cat > conftest.
$ac_ext <<EOF
6656 #line 6657 "configure"
6657 #include "confdefs.h"
6663 if { (eval echo configure
:6664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6665 eval "ac_cv_lib_$ac_lib_var=yes"
6667 echo "configure: failed program was:" >&5
6668 cat conftest.
$ac_ext >&5
6670 eval "ac_cv_lib_$ac_lib_var=no"
6673 LIBS
="$ac_save_LIBS"
6676 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6677 echo "$ac_t""yes" 1>&6
6680 echo "$ac_t""no" 1>&6
6689 UNIX_THREAD
="gtk/threadno.cpp"
6692 echo $ac_n "checking "for threads
"""... $ac_c" 1>&6
6693 echo "configure:6694: checking "for threads
"" >&5
6694 # Check whether --with-threads or --without-threads was given.
6695 if test "${with_threads+set}" = set; then
6696 withval
="$with_threads"
6697 if test "x$with_threads" = xyes
; then
6698 ac_cv_use_threads
='wxUSE_THREADS="1"'
6700 ac_cv_use_threads
='wxUSE_THREADS="0"'
6704 LINE
=`grep "wxUSE_THREADS" ${OSTYPE}.system.cache`
6705 if test "x$LINE" != x
; then
6706 eval "DEFAULT_$LINE"
6708 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6712 eval "$ac_cv_use_threads"
6713 echo $ac_cv_use_threads >> ${OSTYPE}.system.cache.tmp
6714 if test "$wxUSE_THREADS" = 1; then
6715 echo "$ac_t""yes" 1>&6
6717 echo "$ac_t""no" 1>&6
6722 if test "$wxUSE_THREADS" = "1"; then
6723 UNIX_THREAD
="gtk/threadno.cpp"
6726 echo $ac_n "checking for pthread_create in -lpthread-0.7""... $ac_c" 1>&6
6727 echo "configure:6728: checking for pthread_create in -lpthread-0.7" >&5
6728 ac_lib_var
=`echo pthread-0.7'_'pthread_create | sed 'y%./+-%__p_%'`
6729 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6730 echo $ac_n "(cached) $ac_c" 1>&6
6732 ac_save_LIBS
="$LIBS"
6733 LIBS
="-lpthread-0.7 $LIBS"
6734 cat > conftest.
$ac_ext <<EOF
6735 #line 6736 "configure"
6736 #include "confdefs.h"
6737 /* Override any gcc2 internal prototype to avoid an error. */
6738 /* We use char because int might match the return type of a gcc2
6739 builtin and then its argument prototype would still apply. */
6740 char pthread_create();
6746 if { (eval echo configure
:6747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6748 eval "ac_cv_lib_$ac_lib_var=yes"
6750 echo "configure: failed program was:" >&5
6751 cat conftest.
$ac_ext >&5
6753 eval "ac_cv_lib_$ac_lib_var=no"
6756 LIBS
="$ac_save_LIBS"
6759 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6760 echo "$ac_t""yes" 1>&6
6762 UNIX_THREAD
="gtk/threadpsx.cpp"
6763 THREADS_LINK
="-lpthread-0.7"
6766 echo "$ac_t""no" 1>&6
6768 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
6769 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
6770 echo "configure:6771: checking for sys/prctl.h" >&5
6771 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6772 echo $ac_n "(cached) $ac_c" 1>&6
6774 cat > conftest.
$ac_ext <<EOF
6775 #line 6776 "configure"
6776 #include "confdefs.h"
6777 #include <sys/prctl.h>
6779 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6780 { (eval echo configure
:6781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6781 ac_err
=`grep -v '^ *+' conftest.out`
6782 if test -z "$ac_err"; then
6784 eval "ac_cv_header_$ac_safe=yes"
6787 echo "configure: failed program was:" >&5
6788 cat conftest.
$ac_ext >&5
6790 eval "ac_cv_header_$ac_safe=no"
6794 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6795 echo "$ac_t""yes" 1>&6
6797 UNIX_THREAD
="gtk/threadsgi.cpp"
6800 echo "$ac_t""no" 1>&6
6805 echo $ac_n "checking for pthread_setcanceltype in -lpthread""... $ac_c" 1>&6
6806 echo "configure:6807: checking for pthread_setcanceltype in -lpthread" >&5
6807 ac_lib_var
=`echo pthread'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
6808 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6809 echo $ac_n "(cached) $ac_c" 1>&6
6811 ac_save_LIBS
="$LIBS"
6812 LIBS
="-lpthread $LIBS"
6813 cat > conftest.
$ac_ext <<EOF
6814 #line 6815 "configure"
6815 #include "confdefs.h"
6816 /* Override any gcc2 internal prototype to avoid an error. */
6817 /* We use char because int might match the return type of a gcc2
6818 builtin and then its argument prototype would still apply. */
6819 char pthread_setcanceltype();
6822 pthread_setcanceltype()
6825 if { (eval echo configure
:6826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6827 eval "ac_cv_lib_$ac_lib_var=yes"
6829 echo "configure: failed program was:" >&5
6830 cat conftest.
$ac_ext >&5
6832 eval "ac_cv_lib_$ac_lib_var=no"
6835 LIBS
="$ac_save_LIBS"
6838 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6839 echo "$ac_t""yes" 1>&6
6841 UNIX_THREAD
="gtk/threadpsx.cpp"
6842 THREADS_LINK
="-lpthread"
6845 echo "$ac_t""no" 1>&6
6851 echo $ac_n "checking for pthread_setcanceltype in -lpthreads""... $ac_c" 1>&6
6852 echo "configure:6853: checking for pthread_setcanceltype in -lpthreads" >&5
6853 ac_lib_var
=`echo pthreads'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
6854 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6855 echo $ac_n "(cached) $ac_c" 1>&6
6857 ac_save_LIBS
="$LIBS"
6858 LIBS
="-lpthreads $LIBS"
6859 cat > conftest.
$ac_ext <<EOF
6860 #line 6861 "configure"
6861 #include "confdefs.h"
6862 /* Override any gcc2 internal prototype to avoid an error. */
6863 /* We use char because int might match the return type of a gcc2
6864 builtin and then its argument prototype would still apply. */
6865 char pthread_setcanceltype();
6868 pthread_setcanceltype()
6871 if { (eval echo configure
:6872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6873 eval "ac_cv_lib_$ac_lib_var=yes"
6875 echo "configure: failed program was:" >&5
6876 cat conftest.
$ac_ext >&5
6878 eval "ac_cv_lib_$ac_lib_var=no"
6881 LIBS
="$ac_save_LIBS"
6884 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6885 echo "$ac_t""yes" 1>&6
6887 UNIX_THREAD
="gtk/threadpsx.cpp"
6888 THREADS_LINK
="-lpthreads"
6891 echo "$ac_t""no" 1>&6
6896 if test "$wxUSE_MOTIF" = "1"; then
6897 UNIX_THREAD
="motif/thread.cpp"
6900 if test -z "$UNIX_THREAD"; then
6906 cat >> confdefs.h
<<\EOF
6907 #define wxUSE_THREADS 1
6917 if test "$wxUSE_OPENGL" = 1; then
6918 echo $ac_n "checking for OpenGL includes""... $ac_c" 1>&6
6919 echo "configure:6920: checking for OpenGL includes" >&5
6922 for ac_dir
in $SEARCH_INCLUDE;
6924 if test -f "$ac_dir/GL/gl.h"; then
6925 ac_find_includes
=$ac_dir
6930 if test "$ac_find_includes" != "" ; then
6931 OPENGL_INCLUDE
="-I$ac_find_includes"
6932 echo "$ac_t""found $ac_find_includes" 1>&6
6933 echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6
6934 echo "configure:6935: checking for OpenGL library" >&5
6937 for ac_dir
in $SEARCH_LIB;
6939 for ac_extension
in a so sl
; do
6940 if test -f "$ac_dir/libGL.$ac_extension"; then
6941 ac_find_libraries
=$ac_dir
6947 if test "$ac_find_libraries" != "" ; then
6949 ac_path_to_include
=$ac_find_includes
6950 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6952 if test $result = 0; then
6953 ac_path_to_include
=""
6955 ac_path_to_include
="-I$ac_find_includes"
6959 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6961 if test $result = 0; then
6964 ac_path_to_link
="-L$ac_find_libraries"
6967 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6968 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6969 OPENGL_LIBRARY
="$ac_path_to_link"
6970 OPENGL_INCLUDE
="$ac_path_to_include"
6972 echo "$ac_t""found OpenGL at $ac_find_libraries" 1>&6
6976 for ac_dir
in $SEARCH_LIB;
6978 for ac_extension
in a so sl
; do
6979 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6980 ac_find_libraries
=$ac_dir
6986 if test "$ac_find_libraries" != "" ; then
6988 ac_path_to_include
=$ac_find_includes
6989 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6991 if test $result = 0; then
6992 ac_path_to_include
=""
6994 ac_path_to_include
="-I$ac_find_includes"
6998 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
7000 if test $result = 0; then
7003 ac_path_to_link
="-L$ac_find_libraries"
7006 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
7007 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
7008 OPENGL_LIBRARY
="$ac_path_to_link"
7009 OPENGL_INCLUDE
="$ac_path_to_include"
7010 OPENGL_LINK
="-lMesaGL"
7011 echo "$ac_t""found MESA at $ac_find_libraries" 1>&6
7013 { echo "configure: error: no" 1>&2; exit 1; }
7017 { echo "configure: error: no" 1>&2; exit 1; }
7022 wxUSE_GLX
=$wxUSE_OPENGL
7023 if test "$wxUSE_OPENGL" != 1; then
7030 cat >> confdefs.h
<<EOF
7031 #define wxUSE_GLX $wxUSE_GLX
7042 case "${canonical}" in
7045 if test "$GCC" != "yes" ; then
7046 CXXFLAGS
="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
7047 CFLAGS
="${CFLAGS} -z -D_HPUX_SOURCE"
7053 CREATE_SHARED
=sharedHpux
7058 CREATE_SHARED
=sharedLinux
7061 *-*-irix5* | *-*-irix6* )
7062 # PICFLAGS can remain empty, as pic is the default
7064 CREATE_SHARED
=sharedIrix
7065 cat >> confdefs.h
<<\EOF
7072 if test "$GCC" != "yes" ; then
7077 CREATE_SHARED
=sharedSolaris2
7078 cat >> confdefs.h
<<\EOF
7085 if test "$GCC" != "yes" ; then
7091 CREATE_SHARED
=sharedSunos4
7092 cat >> confdefs.h
<<\EOF
7098 *-*-freebsd* | *-*-netbsd*)
7100 CREATE_SHARED
=sharedBsd
7101 cat >> confdefs.h
<<\EOF
7109 CREATE_SHARED
=sharedOSF
7113 if test "$GCC" != "yes" ; then
7118 CREATE_SHARED
=sharedDgux
7119 cat >> confdefs.h
<<\EOF
7126 if test "$GCC" != "yes" ; then
7131 CREATE_SHARED
=sharedSysV
7132 cat >> confdefs.h
<<\EOF
7139 if test "$GCC" != "yes" ; then
7144 CREATE_SHARED
=sharedAIX
7145 cat >> confdefs.h
<<\EOF
7156 if test "x$GCC" = xyes
; then
7157 CFLAGS
="${CFLAGS} -Wall"
7160 if test "x$GXX" = xyes
; then
7161 CXXFLAGS
="${CXXFLAGS} -Wall"
7164 if test "$wxUSE_SHARED" != 1; then
7174 echo $OS >> system.list
7178 cat > confcache
<<\EOF
7179 # This file is a shell script that caches the results of configure
7180 # tests run on this system so they can be shared between configure
7181 # scripts and configure runs. It is not useful on other systems.
7182 # If it contains results you don't want to keep, you may remove or edit it.
7184 # By default, configure uses ./config.cache as the cache file,
7185 # creating it if it does not exist already. You can give configure
7186 # the --cache-file=FILE option to use a different cache file; that is
7187 # what configure does when it calls configure scripts in
7188 # subdirectories, so they share the cache.
7189 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7190 # config.status only pays attention to the cache file if you give it the
7191 # --recheck option to rerun configure.
7194 # The following way of writing the cache mishandles newlines in values,
7195 # but we know of no workaround that is simple, portable, and efficient.
7196 # So, don't put newlines in cache variables' values.
7197 # Ultrix sh set writes to stderr and can't be redirected directly,
7198 # and sets the high bit in the cache file unless we assign to the vars.
7200 case `(ac_space=' '; set) 2>&1` in
7202 # `set' does not quote correctly, so add quotes (double-quote substitution
7203 # turns \\\\ into \\, and sed turns \\ into \).
7205 -e "s/'/'\\\\''/g" \
7206 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7209 # `set' quotes correctly as required by POSIX, so do not add quotes.
7210 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7213 if cmp -s $cache_file confcache
; then
7216 if test -w $cache_file; then
7217 echo "updating cache $cache_file"
7218 cat confcache
> $cache_file
7220 echo "not updating unwritable cache $cache_file"
7225 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
7227 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7228 # Let make expand exec_prefix.
7229 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7231 # Any assignment to VPATH causes Sun make to only execute
7232 # the first set of double-colon rules, so remove it if not needed.
7233 # If there is a colon in the path, we need to keep it.
7234 if test "x$srcdir" = x.
; then
7235 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
7238 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
7240 DEFS
=-DHAVE_CONFIG_H
7242 # Without the "./", some shells look in PATH for config.status.
7243 : ${CONFIG_STATUS=./config.status}
7245 echo creating
$CONFIG_STATUS
7246 rm -f $CONFIG_STATUS
7247 cat > $CONFIG_STATUS <<EOF
7249 # Generated automatically by configure.
7250 # Run this file to recreate the current configuration.
7251 # This directory was configured as follows,
7252 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7254 # $0 $ac_configure_args
7256 # Compiler output produced by configure, useful for debugging
7257 # configure, is in ./config.log if it exists.
7259 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
7262 case "\$ac_option" in
7263 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7264 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
7265 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
7266 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
7267 echo "$CONFIG_STATUS generated by autoconf version 2.12"
7269 -help | --help | --hel | --he | --h)
7270 echo "\$ac_cs_usage"; exit 0 ;;
7271 *) echo "\$ac_cs_usage"; exit 1 ;;
7275 ac_given_srcdir=$srcdir
7276 ac_given_INSTALL="$INSTALL"
7278 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
7280 cat >> $CONFIG_STATUS <<EOF
7282 # Protect against being on the right side of a sed subst in config.status.
7283 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
7284 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
7287 s%@CFLAGS@%$CFLAGS%g
7288 s%@CPPFLAGS@%$CPPFLAGS%g
7289 s%@CXXFLAGS@%$CXXFLAGS%g
7291 s%@LDFLAGS@%$LDFLAGS%g
7293 s%@exec_prefix@%$exec_prefix%g
7294 s%@prefix@%$prefix%g
7295 s%@program_transform_name@%$program_transform_name%g
7296 s%@bindir@%$bindir%g
7297 s%@sbindir@%$sbindir%g
7298 s%@libexecdir@%$libexecdir%g
7299 s%@datadir@%$datadir%g
7300 s%@sysconfdir@%$sysconfdir%g
7301 s%@sharedstatedir@%$sharedstatedir%g
7302 s%@localstatedir@%$localstatedir%g
7303 s%@libdir@%$libdir%g
7304 s%@includedir@%$includedir%g
7305 s%@oldincludedir@%$oldincludedir%g
7306 s%@infodir@%$infodir%g
7307 s%@mandir@%$mandir%g
7308 s%@WXBASEDIR@%$WXBASEDIR%g
7312 s%@CXXCPP@%$CXXCPP%g
7313 s%@RANLIB@%$RANLIB%g
7315 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
7316 s%@INSTALL_DATA@%$INSTALL_DATA%g
7319 s%@X_CFLAGS@%$X_CFLAGS%g
7320 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
7321 s%@X_LIBS@%$X_LIBS%g
7322 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
7323 s%@GTK_JOYSTICK@%$GTK_JOYSTICK%g
7324 s%@LIBOBJS@%$LIBOBJS%g
7327 s%@LEXLIB@%$LEXLIB%g
7328 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
7330 s%@host_alias@%$host_alias%g
7331 s%@host_cpu@%$host_cpu%g
7332 s%@host_vendor@%$host_vendor%g
7333 s%@host_os@%$host_os%g
7334 s%@GTK_CONFIG@%$GTK_CONFIG%g
7335 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
7336 s%@GTK_LIBS@%$GTK_LIBS%g
7337 s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g
7338 s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g
7339 s%@GUI_TK_LINK@%$GUI_TK_LINK%g
7340 s%@WX_LINK@%$WX_LINK%g
7341 s%@TOOLKIT@%$TOOLKIT%g
7342 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
7343 s%@MAKEINCLUDE@%$MAKEINCLUDE%g
7344 s%@WXDEBUG@%$WXDEBUG%g
7345 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
7346 s%@EXTRA_LINK@%$EXTRA_LINK%g
7347 s%@PROFILE@%$PROFILE%g
7348 s%@OPTIMISE@%$OPTIMISE%g
7349 s%@IODBC_C_SRC@%$IODBC_C_SRC%g
7350 s%@METAFILE@%$METAFILE%g
7352 s%@WXGRAPH@%$WXGRAPH%g
7353 s%@WXTREE@%$WXTREE%g
7354 s%@DL_LIBRARY@%$DL_LIBRARY%g
7355 s%@UNIX_THREAD@%$UNIX_THREAD%g
7356 s%@THREADS_LINK@%$THREADS_LINK%g
7357 s%@OPENGL_INCLUDE@%$OPENGL_INCLUDE%g
7358 s%@OPENGL_LIBRARY@%$OPENGL_LIBRARY%g
7359 s%@OPENGL_LINK@%$OPENGL_LINK%g
7360 s%@GLCANVAS@%$GLCANVAS%g
7362 s%@PICFLAGS@%$PICFLAGS%g
7363 s%@CREATE_SHARED@%$CREATE_SHARED%g
7368 cat >> $CONFIG_STATUS <<\EOF
7370 # Split the substitutions into bite-sized pieces for seds with
7371 # small command number limits, like on Digital OSF/1 and HP-UX.
7372 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
7373 ac_file
=1 # Number of current file.
7374 ac_beg
=1 # First line for current file.
7375 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
7378 while $ac_more_lines; do
7379 if test $ac_beg -gt 1; then
7380 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
7382 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
7384 if test ! -s conftest.s
$ac_file; then
7386 rm -f conftest.s
$ac_file
7388 if test -z "$ac_sed_cmds"; then
7389 ac_sed_cmds
="sed -f conftest.s$ac_file"
7391 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
7393 ac_file
=`expr $ac_file + 1`
7395 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
7398 if test -z "$ac_sed_cmds"; then
7403 cat >> $CONFIG_STATUS <<EOF
7405 CONFIG_FILES=\${CONFIG_FILES-"./setup/substit ./wx-config:./wx-config.in"}
7407 cat >> $CONFIG_STATUS <<\EOF
7408 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
7409 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7411 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7412 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7413 *) ac_file_in
="${ac_file}.in" ;;
7416 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
7418 # Remove last slash and all that follows it. Not all systems have dirname.
7419 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7420 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
7421 # The file is in a subdirectory.
7422 test ! -d "$ac_dir" && mkdir "$ac_dir"
7423 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
7424 # A "../" for each directory in $ac_dir_suffix.
7425 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
7427 ac_dir_suffix
= ac_dots
=
7430 case "$ac_given_srcdir" in
7432 if test -z "$ac_dots"; then top_srcdir
=.
7433 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
7434 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
7436 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
7437 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
7440 case "$ac_given_INSTALL" in
7441 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
7442 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
7445 echo creating
"$ac_file"
7447 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
7449 *Makefile
*) ac_comsub
="1i\\
7450 # $configure_input" ;;
7454 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7456 s%@configure_input@%$configure_input%g
7457 s%@srcdir@%$srcdir%g
7458 s%@top_srcdir@%$top_srcdir%g
7459 s%@INSTALL@%$INSTALL%g
7460 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
7464 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7465 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7467 # ac_d sets the value in "#define NAME VALUE" lines.
7468 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7469 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
7472 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
7473 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7474 ac_uB
='\([ ]\)%\1#\2define\3'
7477 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7478 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7479 ac_eB
='$%\1#\2define\3'
7483 if test "${CONFIG_HEADERS+set}" != set; then
7485 cat >> $CONFIG_STATUS <<EOF
7486 CONFIG_HEADERS="./include/wx/gtk/setup.h:./setup/setup.hin"
7488 cat >> $CONFIG_STATUS <<\EOF
7490 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
7491 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7493 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7494 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7495 *) ac_file_in
="${ac_file}.in" ;;
7498 echo creating
$ac_file
7500 rm -f conftest.frag conftest.
in conftest.out
7501 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7502 cat $ac_file_inputs > conftest.
in
7506 # Transform confdefs.h into a sed script conftest.vals that substitutes
7507 # the proper values into config.h.in to produce config.h. And first:
7508 # Protect against being on the right side of a sed subst in config.status.
7509 # Protect against being in an unquoted here document in config.status.
7511 cat > conftest.hdr
<<\EOF
7514 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
7518 sed -n -f conftest.hdr confdefs.h > conftest.vals
7521 # This sed command replaces #undef with comments. This is necessary, for
7522 # example, in the case of _POSIX_SOURCE, which is predefined and required
7523 # on some systems where configure will not decide to define it.
7524 cat >> conftest.vals <<\EOF
7525 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
7528 # Break up conftest.vals because some shells have a limit on
7529 # the size of here documents, and old seds have small limits too.
7534 ac_lines=`grep -c . conftest.vals
`
7535 # grep -c gives empty output for an empty file on some AIX systems.
7536 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
7537 # Write a limited-size here document to conftest.frag.
7538 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
7539 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
7541 sed -f conftest.frag conftest.in > conftest.out
7543 mv conftest.out conftest.in
7545 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
7547 mv conftest.tail conftest.vals
7551 cat >> $CONFIG_STATUS <<\EOF
7552 rm -f conftest.frag conftest.h
7553 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
7554 cat conftest.in >> conftest.h
7556 if cmp -s $ac_file conftest.h 2>/dev/null; then
7557 echo "$ac_file is unchanged"
7560 # Remove last slash and all that follows it. Not all systems have dirname.
7561 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7562 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7563 # The file is in a subdirectory.
7564 test ! -d "$ac_dir" && mkdir "$ac_dir"
7567 mv conftest.h $ac_file
7572 cat >> $CONFIG_STATUS <<EOF
7575 cat >> $CONFIG_STATUS <<\EOF
7576 ./setup/general/createall
7579 chmod +x $CONFIG_STATUS
7580 rm -fr confdefs* $ac_clean_files
7581 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
7585 mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache