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-gdk_imlib use Raster's gdk_imlib (Image library)"
43 **--with-libpng use libpng (PNG image format)"
45 **--with-odbc use iODBC and wxODBC classes"
47 **--with-opengl use OpenGL (or Mesa)"
49 **--with-gauge use wxGauge class"
51 **--with-combobox use wxComboBox class"
53 **--with-scrollbar use wxScrollbar class"
55 **--with-listctrl use wxListCtrl class"
57 **--with-treectrl use wxTreeCtrl class"
59 **--with-grid use wxGrid class"
61 **--with-tab_dialog use wxTabDia class"
63 **--with-notebook use wxNotebook class"
65 **--with-timedate use wxTime and wxDate classes"
67 **--with-fraction use wxFraction class"
69 **--with-log use logging system"
71 **--with-intl use internationalization system"
73 **--with-config use wxConfig class"
75 **--with-streams use wxStream etc classes"
77 **--with-serial use class serialization"
79 **--with-file use wxFile class"
81 **--with-textfile use wxTextFile class"
83 **--with-afmfonts use Adobe Font Metric Font table"
85 **--with-PS-normalized use normalized PS fonts"
87 **--with-postscript use wxPostscriptDC device context"
89 **--with-unicode compile wxString with Unicode support"
91 **--with-wcsrtombs use wcsrtombs instead of (buggy in GNU libc5) wcstombs"
93 **--with-wxresources use wxWindows's resources"
95 **--with-prologio use Prolog IO library"
97 **--with-rpc use Prolog's remote procedure calls"
99 **--with-ipc use interprocess communication (wxSocket etc.)"
101 **--with-resources use X resources for saving information"
103 **--with-clipboard use wxClipboard classes"
105 **--with-dnd use Drag'n'Drop classes"
107 **--with-constraints use layout-constraints system"
109 **--with-mdi use multiple document interface architecture"
111 **--with-docview use document view architecture"
113 **--with-printarch use printing architecture"
115 **--with-gtk-prefix=PFX Prefix where GTK is installed"
117 **--with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
119 **--without-threads Force disabling threads"
121 # Initialize some variables set by options.
122 # The variables have the same names as the options, with
123 # dashes changed to underlines.
125 cache_file
=.
/config.cache
134 program_transform_name
=s
,x
,x
,
142 bindir
='${exec_prefix}/bin'
143 sbindir
='${exec_prefix}/sbin'
144 libexecdir
='${exec_prefix}/libexec'
145 datadir
='${prefix}/share'
146 sysconfdir
='${prefix}/etc'
147 sharedstatedir
='${prefix}/com'
148 localstatedir
='${prefix}/var'
149 libdir
='${exec_prefix}/lib'
150 includedir
='${prefix}/include'
151 oldincludedir
='/usr/include'
152 infodir
='${prefix}/info'
153 mandir
='${prefix}/man'
155 # Initialize some other variables.
158 # Maximum number of lines to put in a shell here document.
165 # If the previous option needs an argument, assign it.
166 if test -n "$ac_prev"; then
167 eval "$ac_prev=\$ac_option"
173 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
177 # Accept the important Cygnus configure options, so we can diagnose typos.
181 -bindir | --bindir | --bindi | --bind | --bin | --bi)
183 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
184 bindir
="$ac_optarg" ;;
186 -build | --build | --buil | --bui | --bu)
188 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
189 build
="$ac_optarg" ;;
191 -cache-file | --cache-file | --cache-fil | --cache-fi \
192 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
193 ac_prev
=cache_file
;;
194 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
195 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
196 cache_file
="$ac_optarg" ;;
198 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
200 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
202 datadir
="$ac_optarg" ;;
204 -disable-* | --disable-*)
205 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
206 # Reject names that are not valid shell variable names.
207 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
208 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
210 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
211 eval "enable_${ac_feature}=no" ;;
213 -enable-* | --enable-*)
214 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
215 # Reject names that are not valid shell variable names.
216 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
217 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
219 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
224 eval "enable_${ac_feature}='$ac_optarg'" ;;
226 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
227 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
228 | --exec | --exe | --ex)
229 ac_prev
=exec_prefix
;;
230 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
231 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
232 | --exec=* | --exe=* | --ex=*)
233 exec_prefix
="$ac_optarg" ;;
235 -gas | --gas | --ga | --g)
236 # Obsolete; use --with-gas.
239 -help | --help | --hel | --he)
240 # Omit some internal or obsolete options to make the list less imposing.
241 # This message is too long to be a string in the A/UX 3.1 sh.
243 Usage: configure [options] [host]
244 Options: [defaults in brackets after descriptions]
246 --cache-file=FILE cache test results in FILE
247 --help print this message
248 --no-create do not create output files
249 --quiet, --silent do not print \`checking...' messages
250 --version print the version of autoconf that created configure
251 Directory and file names:
252 --prefix=PREFIX install architecture-independent files in PREFIX
254 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
256 --bindir=DIR user executables in DIR [EPREFIX/bin]
257 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
258 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
259 --datadir=DIR read-only architecture-independent data in DIR
261 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
262 --sharedstatedir=DIR modifiable architecture-independent data in DIR
264 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
265 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
266 --includedir=DIR C header files in DIR [PREFIX/include]
267 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
268 --infodir=DIR info documentation in DIR [PREFIX/info]
269 --mandir=DIR man documentation in DIR [PREFIX/man]
270 --srcdir=DIR find the sources in DIR [configure dir or ..]
271 --program-prefix=PREFIX prepend PREFIX to installed program names
272 --program-suffix=SUFFIX append SUFFIX to installed program names
273 --program-transform-name=PROGRAM
274 run sed PROGRAM on installed program names
278 --build=BUILD configure for building on BUILD [BUILD=HOST]
279 --host=HOST configure for HOST [guessed]
280 --target=TARGET configure for TARGET [TARGET=HOST]
281 Features and packages:
282 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
283 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
284 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
285 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
286 --x-includes=DIR X include files are in DIR
287 --x-libraries=DIR X library files are in DIR
289 if test -n "$ac_help"; then
290 echo "--enable and --with options recognized:$ac_help"
294 -host | --host | --hos | --ho)
296 -host=* | --host=* | --hos=* | --ho=*)
299 -includedir | --includedir | --includedi | --included | --include \
300 | --includ | --inclu | --incl | --inc)
301 ac_prev
=includedir
;;
302 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
303 | --includ=* | --inclu=* | --incl=* | --inc=*)
304 includedir
="$ac_optarg" ;;
306 -infodir | --infodir | --infodi | --infod | --info | --inf)
308 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
309 infodir
="$ac_optarg" ;;
311 -libdir | --libdir | --libdi | --libd)
313 -libdir=* | --libdir=* | --libdi=* | --libd=*)
314 libdir
="$ac_optarg" ;;
316 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
317 | --libexe | --libex | --libe)
318 ac_prev
=libexecdir
;;
319 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
320 | --libexe=* | --libex=* | --libe=*)
321 libexecdir
="$ac_optarg" ;;
323 -localstatedir | --localstatedir | --localstatedi | --localstated \
324 | --localstate | --localstat | --localsta | --localst \
325 | --locals | --local | --loca | --loc | --lo)
326 ac_prev
=localstatedir
;;
327 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
328 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
329 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
330 localstatedir
="$ac_optarg" ;;
332 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
334 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
335 mandir
="$ac_optarg" ;;
338 # Obsolete; use --without-fp.
341 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
345 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
346 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
349 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
350 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
351 | --oldin | --oldi | --old | --ol | --o)
352 ac_prev
=oldincludedir
;;
353 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
354 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
355 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
356 oldincludedir
="$ac_optarg" ;;
358 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
360 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
361 prefix
="$ac_optarg" ;;
363 -program-prefix | --program-prefix | --program-prefi | --program-pref \
364 | --program-pre | --program-pr | --program-p)
365 ac_prev
=program_prefix
;;
366 -program-prefix=* | --program-prefix=* | --program-prefi=* \
367 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
368 program_prefix
="$ac_optarg" ;;
370 -program-suffix | --program-suffix | --program-suffi | --program-suff \
371 | --program-suf | --program-su | --program-s)
372 ac_prev
=program_suffix
;;
373 -program-suffix=* | --program-suffix=* | --program-suffi=* \
374 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
375 program_suffix
="$ac_optarg" ;;
377 -program-transform-name | --program-transform-name \
378 | --program-transform-nam | --program-transform-na \
379 | --program-transform-n | --program-transform- \
380 | --program-transform | --program-transfor \
381 | --program-transfo | --program-transf \
382 | --program-trans | --program-tran \
383 | --progr-tra | --program-tr | --program-t)
384 ac_prev
=program_transform_name
;;
385 -program-transform-name=* | --program-transform-name=* \
386 | --program-transform-nam=* | --program-transform-na=* \
387 | --program-transform-n=* | --program-transform-=* \
388 | --program-transform=* | --program-transfor=* \
389 | --program-transfo=* | --program-transf=* \
390 | --program-trans=* | --program-tran=* \
391 | --progr-tra=* | --program-tr=* | --program-t=*)
392 program_transform_name
="$ac_optarg" ;;
394 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
395 | -silent | --silent | --silen | --sile | --sil)
398 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
400 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
402 sbindir
="$ac_optarg" ;;
404 -sharedstatedir | --sharedstatedir | --sharedstatedi \
405 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
406 | --sharedst | --shareds | --shared | --share | --shar \
408 ac_prev
=sharedstatedir
;;
409 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
410 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
411 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
413 sharedstatedir
="$ac_optarg" ;;
415 -site | --site | --sit)
417 -site=* | --site=* | --sit=*)
420 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
422 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
423 srcdir
="$ac_optarg" ;;
425 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
426 | --syscon | --sysco | --sysc | --sys | --sy)
427 ac_prev
=sysconfdir
;;
428 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
429 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
430 sysconfdir
="$ac_optarg" ;;
432 -target | --target | --targe | --targ | --tar | --ta | --t)
434 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
435 target
="$ac_optarg" ;;
437 -v | -verbose | --verbose | --verbos | --verbo | --verb)
440 -version | --version | --versio | --versi | --vers)
441 echo "configure generated by autoconf version 2.12"
445 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
446 # Reject names that are not valid shell variable names.
447 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
448 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
450 ac_package
=`echo $ac_package| sed 's/-/_/g'`
455 eval "with_${ac_package}='$ac_optarg'" ;;
457 -without-* | --without-*)
458 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
459 # Reject names that are not valid shell variable names.
460 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
461 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
463 ac_package
=`echo $ac_package| sed 's/-/_/g'`
464 eval "with_${ac_package}=no" ;;
467 # Obsolete; use --with-x.
470 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
471 | --x-incl | --x-inc | --x-in | --x-i)
472 ac_prev
=x_includes
;;
473 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
474 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
475 x_includes
="$ac_optarg" ;;
477 -x-libraries | --x-libraries | --x-librarie | --x-librari \
478 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
479 ac_prev
=x_libraries
;;
480 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
481 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
482 x_libraries
="$ac_optarg" ;;
484 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
488 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
489 echo "configure: warning: $ac_option: invalid host type" 1>&2
491 if test "x$nonopt" != xNONE
; then
492 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
500 if test -n "$ac_prev"; then
501 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
504 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
506 # File descriptor usage:
509 # 2 errors and warnings
510 # 3 some systems may open it to /dev/tty
511 # 4 used on the Kubota Titan
512 # 6 checking for... messages and results
513 # 5 compiler messages saved in config.log
514 if test "$silent" = yes; then
522 This file contains any messages produced by compilers while
523 running configure, to aid debugging if configure makes a mistake.
526 # Strip out --no-create and --no-recursion so they do not pile up.
527 # Also quote any args containing shell metacharacters.
532 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
533 | --no-cr | --no-c) ;;
534 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
535 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
536 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
537 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
538 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
543 # Only set these to C if already set. These must not be set unconditionally
544 # because not all systems understand e.g. LANG=C (notably SCO).
545 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
546 # Non-C LC_CTYPE values break the ctype check.
547 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
548 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
549 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
550 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
552 # confdefs.h avoids OS command line length limits that DEFS can exceed.
553 rm -rf conftest
* confdefs.h
554 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
557 # A filename unique to this package, relative to the directory that
558 # configure is in, which we can look for to find out if srcdir is correct.
559 ac_unique_file
=configure.
in
561 # Find the source files, if location was not specified.
562 if test -z "$srcdir"; then
563 ac_srcdir_defaulted
=yes
564 # Try the directory containing this script, then its parent.
566 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
567 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
569 if test ! -r $srcdir/$ac_unique_file; then
573 ac_srcdir_defaulted
=no
575 if test ! -r $srcdir/$ac_unique_file; then
576 if test "$ac_srcdir_defaulted" = yes; then
577 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
579 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
582 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
584 # Prefer explicitly selected file to automatically selected ones.
585 if test -z "$CONFIG_SITE"; then
586 if test "x$prefix" != xNONE
; then
587 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
589 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
592 for ac_site_file
in $CONFIG_SITE; do
593 if test -r "$ac_site_file"; then
594 echo "loading site script $ac_site_file"
599 if test -r "$cache_file"; then
600 echo "loading cache $cache_file"
603 echo "creating cache $cache_file"
608 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
609 ac_cpp
='$CPP $CPPFLAGS'
610 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
611 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
612 cross_compiling
=$ac_cv_prog_cc_cross
614 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
615 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
616 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
623 ac_n
= ac_c
='\c' ac_t
=
631 if test "x$OS" = "x"; then
633 { echo "configure: error: "The system variable OS has not been
set"
634 "please
set is everytime befor compiling on this system
"
635 "A good example
for this system would be
:"
636 "setenv OSTYPE
$UNAME for csh as a SHELL
"
637 "EXPORT OSTYPE
=$UNAME for sh as SHELL
"
638 "please
set this and restart again.
"
648 /usr/Motif1.2/include \
658 /usr/local/X11R6/include \
659 /usr/local/X11R5/include \
660 /usr/local/X11R4/include \
662 /usr/local/include/X11R6 \
663 /usr/local/include/X11R5 \
664 /usr/local/include/X11R4 \
668 /usr/local/X11/include \
669 /usr/local/include/X11 \
673 /usr/XFree86/include/X11 \
677 /usr/unsupported/include \
678 /usr/athena/include \
679 /usr/local/x11r5/include \
680 /usr/lpp/Xamples/include \
682 /usr/local/include/gtk \
683 /usr/X11R6/include/Xm \
684 /usr/X11/include/Xm \
687 /usr/openwin/include \
688 /usr/openwin/share/include \
691 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` \
696 # Extract the first word of "gcc", so it can be a program name with args.
697 set dummy gcc
; ac_word
=$2
698 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
699 echo "configure:700: checking for $ac_word" >&5
700 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
701 echo $ac_n "(cached) $ac_c" 1>&6
703 if test -n "$CC"; then
704 ac_cv_prog_CC
="$CC" # Let the user override the test.
706 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
707 for ac_dir
in $PATH; do
708 test -z "$ac_dir" && ac_dir
=.
709 if test -f $ac_dir/$ac_word; then
718 if test -n "$CC"; then
719 echo "$ac_t""$CC" 1>&6
721 echo "$ac_t""no" 1>&6
724 if test -z "$CC"; then
725 # Extract the first word of "cc", so it can be a program name with args.
726 set dummy cc
; ac_word
=$2
727 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
728 echo "configure:729: checking for $ac_word" >&5
729 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
730 echo $ac_n "(cached) $ac_c" 1>&6
732 if test -n "$CC"; then
733 ac_cv_prog_CC
="$CC" # Let the user override the test.
735 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
737 for ac_dir
in $PATH; do
738 test -z "$ac_dir" && ac_dir
=.
739 if test -f $ac_dir/$ac_word; then
740 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
749 if test $ac_prog_rejected = yes; then
750 # We found a bogon in the path, so make sure we never use it.
751 set dummy
$ac_cv_prog_CC
753 if test $# -gt 0; then
754 # We chose a different compiler from the bogus one.
755 # However, it has the same basename, so the bogon will be chosen
756 # first if we set CC to just the basename; use the full file name.
758 set dummy
"$ac_dir/$ac_word" "$@"
766 if test -n "$CC"; then
767 echo "$ac_t""$CC" 1>&6
769 echo "$ac_t""no" 1>&6
772 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
775 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
776 echo "configure:777: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
779 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
780 ac_cpp
='$CPP $CPPFLAGS'
781 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
782 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
783 cross_compiling
=$ac_cv_prog_cc_cross
785 cat > conftest.
$ac_ext <<EOF
786 #line 787 "configure"
787 #include "confdefs.h"
790 if { (eval echo configure
:791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
791 ac_cv_prog_cc_works
=yes
792 # If we can't run a trivial program, we are probably using a cross compiler.
793 if (.
/conftest
; exit) 2>/dev
/null
; then
794 ac_cv_prog_cc_cross
=no
796 ac_cv_prog_cc_cross
=yes
799 echo "configure: failed program was:" >&5
800 cat conftest.
$ac_ext >&5
801 ac_cv_prog_cc_works
=no
805 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
806 if test $ac_cv_prog_cc_works = no
; then
807 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
809 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
810 echo "configure:811: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
811 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
812 cross_compiling
=$ac_cv_prog_cc_cross
814 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
815 echo "configure:816: checking whether we are using GNU C" >&5
816 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
817 echo $ac_n "(cached) $ac_c" 1>&6
819 cat > conftest.c
<<EOF
824 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
831 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
833 if test $ac_cv_prog_gcc = yes; then
835 ac_test_CFLAGS
="${CFLAGS+set}"
836 ac_save_CFLAGS
="$CFLAGS"
838 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
839 echo "configure:840: checking whether ${CC-cc} accepts -g" >&5
840 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
841 echo $ac_n "(cached) $ac_c" 1>&6
843 echo 'void f(){}' > conftest.c
844 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
853 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
854 if test "$ac_test_CFLAGS" = set; then
855 CFLAGS
="$ac_save_CFLAGS"
856 elif test $ac_cv_prog_cc_g = yes; then
863 test "${CFLAGS+set}" = set || CFLAGS
="-g"
867 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
869 if test "x$CC" != xcc
; then
870 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
871 echo "configure:872: checking whether $CC and cc understand -c and -o together" >&5
873 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
874 echo "configure:875: checking whether cc understands -c and -o together" >&5
876 set dummy
$CC; ac_cc
="`echo $2 |
877 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
878 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
879 echo $ac_n "(cached) $ac_c" 1>&6
881 echo 'foo(){}' > conftest.c
882 # Make sure it works both with $CC and with simple cc.
883 # We do the test twice because some compilers refuse to overwrite an
884 # existing .o file with -o, though they will create one.
885 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5'
886 if { (eval echo configure
:887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
887 test -f conftest.o
&& { (eval echo configure
:888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
889 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
890 if test "x$CC" != xcc
; then
891 # Test first that cc exists at all.
892 if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
893 ac_try
='cc -c conftest.c -o conftest.o 1>&5'
894 if { (eval echo configure
:895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
895 test -f conftest.o
&& { (eval echo configure
:896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
900 # cc exists but doesn't like -o.
901 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
906 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
911 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
912 echo "$ac_t""yes" 1>&6
914 echo "$ac_t""no" 1>&6
915 cat >> confdefs.h
<<\EOF
916 #define NO_MINUS_C_MINUS_O 1
921 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
922 echo "configure:923: checking how to run the C preprocessor" >&5
923 # On Suns, sometimes $CPP names a directory.
924 if test -n "$CPP" && test -d "$CPP"; then
927 if test -z "$CPP"; then
928 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
929 echo $ac_n "(cached) $ac_c" 1>&6
931 # This must be in double quotes, not single quotes, because CPP may get
932 # substituted into the Makefile and "${CC-cc}" will confuse make.
934 # On the NeXT, cc -E runs the code through the compiler's parser,
935 # not just through cpp.
936 cat > conftest.
$ac_ext <<EOF
937 #line 938 "configure"
938 #include "confdefs.h"
942 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
943 { (eval echo configure
:944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
944 ac_err
=`grep -v '^ *+' conftest.out`
945 if test -z "$ac_err"; then
949 echo "configure: failed program was:" >&5
950 cat conftest.
$ac_ext >&5
952 CPP
="${CC-cc} -E -traditional-cpp"
953 cat > conftest.
$ac_ext <<EOF
954 #line 955 "configure"
955 #include "confdefs.h"
959 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
960 { (eval echo configure
:961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
961 ac_err
=`grep -v '^ *+' conftest.out`
962 if test -z "$ac_err"; then
966 echo "configure: failed program was:" >&5
967 cat conftest.
$ac_ext >&5
974 ac_cv_prog_CPP
="$CPP"
976 CPP
="$ac_cv_prog_CPP"
978 ac_cv_prog_CPP
="$CPP"
980 echo "$ac_t""$CPP" 1>&6
982 if test $ac_cv_prog_gcc = yes; then
983 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
984 echo "configure:985: checking whether ${CC-cc} needs -traditional" >&5
985 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
986 echo $ac_n "(cached) $ac_c" 1>&6
988 ac_pattern
="Autoconf.*'x'"
989 cat > conftest.
$ac_ext <<EOF
990 #line 991 "configure"
991 #include "confdefs.h"
995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
996 egrep "$ac_pattern" >/dev
/null
2>&1; then
998 ac_cv_prog_gcc_traditional
=yes
1001 ac_cv_prog_gcc_traditional
=no
1006 if test $ac_cv_prog_gcc_traditional = no
; then
1007 cat > conftest.
$ac_ext <<EOF
1008 #line 1009 "configure"
1009 #include "confdefs.h"
1013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1014 egrep "$ac_pattern" >/dev
/null
2>&1; then
1016 ac_cv_prog_gcc_traditional
=yes
1023 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
1024 if test $ac_cv_prog_gcc_traditional = yes; then
1025 CC
="$CC -traditional"
1032 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1034 # Extract the first word of "$ac_prog", so it can be a program name with args.
1035 set dummy
$ac_prog; ac_word
=$2
1036 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1037 echo "configure:1038: checking for $ac_word" >&5
1038 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1039 echo $ac_n "(cached) $ac_c" 1>&6
1041 if test -n "$CXX"; then
1042 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1044 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1045 for ac_dir
in $PATH; do
1046 test -z "$ac_dir" && ac_dir
=.
1047 if test -f $ac_dir/$ac_word; then
1048 ac_cv_prog_CXX
="$ac_prog"
1055 CXX
="$ac_cv_prog_CXX"
1056 if test -n "$CXX"; then
1057 echo "$ac_t""$CXX" 1>&6
1059 echo "$ac_t""no" 1>&6
1062 test -n "$CXX" && break
1064 test -n "$CXX" || CXX
="gcc"
1067 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1068 echo "configure:1069: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1071 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1072 ac_cpp
='$CXXCPP $CPPFLAGS'
1073 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1074 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1075 cross_compiling
=$ac_cv_prog_cxx_cross
1077 cat > conftest.
$ac_ext <<EOF
1078 #line 1079 "configure"
1079 #include "confdefs.h"
1082 if { (eval echo configure
:1083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1083 ac_cv_prog_cxx_works
=yes
1084 # If we can't run a trivial program, we are probably using a cross compiler.
1085 if (.
/conftest
; exit) 2>/dev
/null
; then
1086 ac_cv_prog_cxx_cross
=no
1088 ac_cv_prog_cxx_cross
=yes
1091 echo "configure: failed program was:" >&5
1092 cat conftest.
$ac_ext >&5
1093 ac_cv_prog_cxx_works
=no
1097 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1098 ac_cpp
='$CPP $CPPFLAGS'
1099 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1100 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1101 cross_compiling
=$ac_cv_prog_cc_cross
1103 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1104 if test $ac_cv_prog_cxx_works = no
; then
1105 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1107 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1108 echo "configure:1109: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1109 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1110 cross_compiling
=$ac_cv_prog_cxx_cross
1112 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1113 echo "configure:1114: checking whether we are using GNU C++" >&5
1114 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1115 echo $ac_n "(cached) $ac_c" 1>&6
1117 cat > conftest.C
<<EOF
1122 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
1129 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1131 if test $ac_cv_prog_gxx = yes; then
1133 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1134 ac_save_CXXFLAGS
="$CXXFLAGS"
1136 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1137 echo "configure:1138: checking whether ${CXX-g++} accepts -g" >&5
1138 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1139 echo $ac_n "(cached) $ac_c" 1>&6
1141 echo 'void f(){}' > conftest.cc
1142 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1143 ac_cv_prog_cxx_g
=yes
1151 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1152 if test "$ac_test_CXXFLAGS" = set; then
1153 CXXFLAGS
="$ac_save_CXXFLAGS"
1154 elif test $ac_cv_prog_cxx_g = yes; then
1161 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1164 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1165 echo "configure:1166: checking how to run the C++ preprocessor" >&5
1166 if test -z "$CXXCPP"; then
1167 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1168 echo $ac_n "(cached) $ac_c" 1>&6
1171 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1172 ac_cpp
='$CXXCPP $CPPFLAGS'
1173 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1174 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1175 cross_compiling
=$ac_cv_prog_cxx_cross
1176 CXXCPP
="${CXX-g++} -E"
1177 cat > conftest.
$ac_ext <<EOF
1178 #line 1179 "configure"
1179 #include "confdefs.h"
1182 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1183 { (eval echo configure
:1184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1184 ac_err
=`grep -v '^ *+' conftest.out`
1185 if test -z "$ac_err"; then
1189 echo "configure: failed program was:" >&5
1190 cat conftest.
$ac_ext >&5
1195 ac_cv_prog_CXXCPP
="$CXXCPP"
1197 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1198 ac_cpp
='$CPP $CPPFLAGS'
1199 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1200 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1201 cross_compiling
=$ac_cv_prog_cc_cross
1204 CXXCPP
="$ac_cv_prog_CXXCPP"
1205 echo "$ac_t""$CXXCPP" 1>&6
1208 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
1212 # Extract the first word of "ranlib", so it can be a program name with args.
1213 set dummy ranlib
; ac_word
=$2
1214 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1215 echo "configure:1216: checking for $ac_word" >&5
1216 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1217 echo $ac_n "(cached) $ac_c" 1>&6
1219 if test -n "$RANLIB"; then
1220 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1222 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1223 for ac_dir
in $PATH; do
1224 test -z "$ac_dir" && ac_dir
=.
1225 if test -f $ac_dir/$ac_word; then
1226 ac_cv_prog_RANLIB
="ranlib"
1231 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1234 RANLIB
="$ac_cv_prog_RANLIB"
1235 if test -n "$RANLIB"; then
1236 echo "$ac_t""$RANLIB" 1>&6
1238 echo "$ac_t""no" 1>&6
1242 # Extract the first word of "ar", so it can be a program name with args.
1243 set dummy
ar; ac_word
=$2
1244 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1245 echo "configure:1246: checking for $ac_word" >&5
1246 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1247 echo $ac_n "(cached) $ac_c" 1>&6
1249 if test -n "$AR"; then
1250 ac_cv_prog_AR
="$AR" # Let the user override the test.
1252 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1253 for ac_dir
in $PATH; do
1254 test -z "$ac_dir" && ac_dir
=.
1255 if test -f $ac_dir/$ac_word; then
1261 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1265 if test -n "$AR"; then
1266 echo "$ac_t""$AR" 1>&6
1268 echo "$ac_t""no" 1>&6
1273 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1274 if test -f $ac_dir/install-sh; then
1276 ac_install_sh
="$ac_aux_dir/install-sh -c"
1278 elif test -f $ac_dir/install.sh
; then
1280 ac_install_sh
="$ac_aux_dir/install.sh -c"
1284 if test -z "$ac_aux_dir"; then
1285 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1287 ac_config_guess
=$ac_aux_dir/config.guess
1288 ac_config_sub
=$ac_aux_dir/config.sub
1289 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1291 # Find a good install program. We prefer a C program (faster),
1292 # so one script is as good as another. But avoid the broken or
1293 # incompatible versions:
1294 # SysV /etc/install, /usr/sbin/install
1295 # SunOS /usr/etc/install
1296 # IRIX /sbin/install
1298 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1299 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1300 # ./install, which can be erroneously created by make from ./install.sh.
1301 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1302 echo "configure:1303: checking for a BSD compatible install" >&5
1303 if test -z "$INSTALL"; then
1304 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1305 echo $ac_n "(cached) $ac_c" 1>&6
1307 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1308 for ac_dir
in $PATH; do
1309 # Account for people who put trailing slashes in PATH elements.
1311 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
1313 # OSF1 and SCO ODT 3.0 have their own names for install.
1314 for ac_prog
in ginstall installbsd scoinst
install; do
1315 if test -f $ac_dir/$ac_prog; then
1316 if test $ac_prog = install &&
1317 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1318 # AIX install. It has an incompatible calling convention.
1319 # OSF/1 installbsd also uses dspmsg, but is usable.
1322 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1333 if test "${ac_cv_path_install+set}" = set; then
1334 INSTALL
="$ac_cv_path_install"
1336 # As a last resort, use the slow shell script. We don't cache a
1337 # path for INSTALL within a source directory, because that will
1338 # break other packages using the cache if that directory is
1339 # removed, or if the path is relative.
1340 INSTALL
="$ac_install_sh"
1343 echo "$ac_t""$INSTALL" 1>&6
1345 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1346 # It thinks the first close brace ends the variable substitution.
1347 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1349 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1352 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1353 echo "configure:1354: checking whether ln -s works" >&5
1354 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1355 echo $ac_n "(cached) $ac_c" 1>&6
1358 if ln -s X conftestdata
2>/dev
/null
1361 ac_cv_prog_LN_S
="ln -s"
1366 LN_S
="$ac_cv_prog_LN_S"
1367 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1368 echo "$ac_t""yes" 1>&6
1370 echo "$ac_t""no" 1>&6
1374 for ac_prog
in mawk gawk nawk
awk
1376 # Extract the first word of "$ac_prog", so it can be a program name with args.
1377 set dummy
$ac_prog; ac_word
=$2
1378 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1379 echo "configure:1380: checking for $ac_word" >&5
1380 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1381 echo $ac_n "(cached) $ac_c" 1>&6
1383 if test -n "$AWK"; then
1384 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1386 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1387 for ac_dir
in $PATH; do
1388 test -z "$ac_dir" && ac_dir
=.
1389 if test -f $ac_dir/$ac_word; then
1390 ac_cv_prog_AWK
="$ac_prog"
1397 AWK
="$ac_cv_prog_AWK"
1398 if test -n "$AWK"; then
1399 echo "$ac_t""$AWK" 1>&6
1401 echo "$ac_t""no" 1>&6
1404 test -n "$AWK" && break
1408 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
1409 echo "configure:1410: checking "make for VPATH support
"" >&5
1410 cat - << EOF > confMake
1416 if test ! -d sub
; then
1419 echo dummy
> sub
/file
1420 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
1422 rm -f sub
/file check final_file confMake
1424 if test "$RESULT" = 0; then
1425 echo "$ac_t""yes" 1>&6
1427 echo "$ac_t""no" 1>&6
1428 { echo "configure: error: You need a make-utility that is able to use the variable
1430 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
1434 # If we find X, set shell vars x_includes and x_libraries to the
1435 # paths, otherwise set no_x=yes.
1436 # Uses ac_ vars as temps to allow command line to override cache and checks.
1437 # --without-x overrides everything else, but does not touch the cache.
1438 echo $ac_n "checking for X""... $ac_c" 1>&6
1439 echo "configure:1440: checking for X" >&5
1441 # Check whether --with-x or --without-x was given.
1442 if test "${with_x+set}" = set; then
1447 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
1448 if test "x$with_x" = xno
; then
1449 # The user explicitly disabled X.
1452 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
1453 # Both variables are already set.
1456 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
1457 echo $ac_n "(cached) $ac_c" 1>&6
1459 # One or both of the vars are not set, and there is no cached value.
1460 ac_x_includes
=NO ac_x_libraries
=NO
1462 if mkdir conftestdir
; then
1464 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1465 cat > Imakefile
<<'EOF'
1467 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1469 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
1470 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1471 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
1472 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1473 for ac_extension
in a so sl
; do
1474 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
1475 test -f $ac_im_libdir/libX11.
$ac_extension; then
1476 ac_im_usrlibdir
=$ac_im_libdir; break
1479 # Screen out bogus values from the imake configuration. They are
1480 # bogus both because they are the default anyway, and because
1481 # using them would break gcc on systems where it needs fixed includes.
1482 case "$ac_im_incroot" in
1484 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
1486 case "$ac_im_usrlibdir" in
1488 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
1495 if test "$ac_x_includes" = NO
; then
1496 # Guess where to find include files, by looking for this one X11 .h file.
1497 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
1499 # First, try using that file with no special directory specified.
1500 cat > conftest.
$ac_ext <<EOF
1501 #line 1502 "configure"
1502 #include "confdefs.h"
1503 #include <$x_direct_test_include>
1505 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1506 { (eval echo configure
:1507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1507 ac_err
=`grep -v '^ *+' conftest.out`
1508 if test -z "$ac_err"; then
1510 # We can compile using X headers with no special include directory.
1514 echo "configure: failed program was:" >&5
1515 cat conftest.
$ac_ext >&5
1517 # Look for the header file in a standard set of common directories.
1518 # Check X11 before X11Rn because it is often a symlink to the current release.
1521 /usr
/X
11R
6/include \
1522 /usr
/X
11R
5/include \
1523 /usr
/X
11R
4/include \
1526 /usr
/include
/X11R6 \
1527 /usr
/include
/X11R5 \
1528 /usr
/include
/X11R4 \
1530 /usr
/local
/X
11/include \
1531 /usr
/local
/X
11R
6/include \
1532 /usr
/local
/X
11R
5/include \
1533 /usr
/local
/X
11R
4/include \
1535 /usr
/local
/include
/X11 \
1536 /usr
/local
/include
/X11R6 \
1537 /usr
/local
/include
/X11R5 \
1538 /usr
/local
/include
/X11R4 \
1542 /usr
/XFree
86/include
/X11 \
1545 /usr
/local
/include \
1546 /usr
/unsupported
/include \
1547 /usr
/athena
/include \
1548 /usr
/local
/x
11r
5/include \
1549 /usr
/lpp
/Xamples
/include \
1551 /usr
/openwin
/include \
1552 /usr
/openwin
/share
/include \
1555 if test -r "$ac_dir/$x_direct_test_include"; then
1556 ac_x_includes
=$ac_dir
1562 fi # $ac_x_includes = NO
1564 if test "$ac_x_libraries" = NO
; then
1565 # Check for the libraries.
1567 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
1568 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
1570 # See if we find them without any special options.
1571 # Don't add to $LIBS permanently.
1572 ac_save_LIBS
="$LIBS"
1573 LIBS
="-l$x_direct_test_library $LIBS"
1574 cat > conftest.
$ac_ext <<EOF
1575 #line 1576 "configure"
1576 #include "confdefs.h"
1579 ${x_direct_test_function}()
1582 if { (eval echo configure
:1583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1584 LIBS
="$ac_save_LIBS"
1585 # We can link X programs with no special library path.
1588 echo "configure: failed program was:" >&5
1589 cat conftest.
$ac_ext >&5
1591 LIBS
="$ac_save_LIBS"
1592 # First see if replacing the include by lib works.
1593 # Check X11 before X11Rn because it is often a symlink to the current release.
1594 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
1605 /usr
/local
/X
11/lib \
1606 /usr
/local
/X
11R
6/lib \
1607 /usr
/local
/X
11R
5/lib \
1608 /usr
/local
/X
11R
4/lib \
1610 /usr
/local
/lib
/X11 \
1611 /usr
/local
/lib
/X11R6 \
1612 /usr
/local
/lib
/X11R5 \
1613 /usr
/local
/lib
/X11R4 \
1617 /usr
/XFree
86/lib
/X11 \
1621 /usr
/unsupported
/lib \
1623 /usr
/local
/x
11r
5/lib \
1624 /usr
/lpp
/Xamples
/lib \
1628 /usr
/openwin
/share
/lib \
1631 for ac_extension
in a so sl
; do
1632 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
1633 ac_x_libraries
=$ac_dir
1640 fi # $ac_x_libraries = NO
1642 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
1643 # Didn't find X anywhere. Cache the known absence of X.
1644 ac_cv_have_x
="have_x=no"
1646 # Record where we found X for the cache.
1647 ac_cv_have_x
="have_x=yes \
1648 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1652 eval "$ac_cv_have_x"
1655 if test "$have_x" != yes; then
1656 echo "$ac_t""$have_x" 1>&6
1659 # If each of the values was on the command line, it overrides each guess.
1660 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
1661 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
1662 # Update the cache value to reflect the command line values.
1663 ac_cv_have_x
="have_x=yes \
1664 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1665 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
1668 if test "$no_x" = yes; then
1669 # Not all programs may use this symbol, but it does not hurt to define it.
1670 cat >> confdefs.h
<<\EOF
1671 #define X_DISPLAY_MISSING 1
1674 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
1676 if test -n "$x_includes"; then
1677 X_CFLAGS
="$X_CFLAGS -I$x_includes"
1680 # It would also be nice to do this for all -L options, not just this one.
1681 if test -n "$x_libraries"; then
1682 X_LIBS
="$X_LIBS -L$x_libraries"
1683 # For Solaris; some versions of Sun CC require a space after -R and
1684 # others require no space. Words are not sufficient . . . .
1685 case "`(uname -sr) 2>/dev/null`" in
1687 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
1688 echo "configure:1689: checking whether -R must be followed by a space" >&5
1689 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
1690 cat > conftest.
$ac_ext <<EOF
1691 #line 1692 "configure"
1692 #include "confdefs.h"
1698 if { (eval echo configure
:1699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1702 echo "configure: failed program was:" >&5
1703 cat conftest.
$ac_ext >&5
1708 if test $ac_R_nospace = yes; then
1709 echo "$ac_t""no" 1>&6
1710 X_LIBS
="$X_LIBS -R$x_libraries"
1712 LIBS
="$ac_xsave_LIBS -R $x_libraries"
1713 cat > conftest.
$ac_ext <<EOF
1714 #line 1715 "configure"
1715 #include "confdefs.h"
1721 if { (eval echo configure
:1722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1725 echo "configure: failed program was:" >&5
1726 cat conftest.
$ac_ext >&5
1731 if test $ac_R_space = yes; then
1732 echo "$ac_t""yes" 1>&6
1733 X_LIBS
="$X_LIBS -R $x_libraries"
1735 echo "$ac_t""neither works" 1>&6
1738 LIBS
="$ac_xsave_LIBS"
1742 # Check for system-dependent libraries X programs must link with.
1743 # Do this before checking for the system-independent R6 libraries
1744 # (-lICE), since we may need -lsocket or whatever for X linking.
1746 if test "$ISC" = yes; then
1747 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
1749 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
1750 # libraries were built with DECnet support. And karl@cs.umb.edu says
1751 # the Alpha needs dnet_stub (dnet does not exist).
1752 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
1753 echo "configure:1754: checking for dnet_ntoa in -ldnet" >&5
1754 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1755 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1756 echo $ac_n "(cached) $ac_c" 1>&6
1758 ac_save_LIBS
="$LIBS"
1760 cat > conftest.
$ac_ext <<EOF
1761 #line 1762 "configure"
1762 #include "confdefs.h"
1763 /* Override any gcc2 internal prototype to avoid an error. */
1764 /* We use char because int might match the return type of a gcc2
1765 builtin and then its argument prototype would still apply. */
1772 if { (eval echo configure
:1773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1774 eval "ac_cv_lib_$ac_lib_var=yes"
1776 echo "configure: failed program was:" >&5
1777 cat conftest.
$ac_ext >&5
1779 eval "ac_cv_lib_$ac_lib_var=no"
1782 LIBS
="$ac_save_LIBS"
1785 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1786 echo "$ac_t""yes" 1>&6
1787 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
1789 echo "$ac_t""no" 1>&6
1792 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
1793 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
1794 echo "configure:1795: checking for dnet_ntoa in -ldnet_stub" >&5
1795 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1796 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1797 echo $ac_n "(cached) $ac_c" 1>&6
1799 ac_save_LIBS
="$LIBS"
1800 LIBS
="-ldnet_stub $LIBS"
1801 cat > conftest.
$ac_ext <<EOF
1802 #line 1803 "configure"
1803 #include "confdefs.h"
1804 /* Override any gcc2 internal prototype to avoid an error. */
1805 /* We use char because int might match the return type of a gcc2
1806 builtin and then its argument prototype would still apply. */
1813 if { (eval echo configure
:1814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1815 eval "ac_cv_lib_$ac_lib_var=yes"
1817 echo "configure: failed program was:" >&5
1818 cat conftest.
$ac_ext >&5
1820 eval "ac_cv_lib_$ac_lib_var=no"
1823 LIBS
="$ac_save_LIBS"
1826 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1827 echo "$ac_t""yes" 1>&6
1828 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
1830 echo "$ac_t""no" 1>&6
1835 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
1836 # to get the SysV transport functions.
1837 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
1839 # The nsl library prevents programs from opening the X display
1840 # on Irix 5.2, according to dickey@clark.net.
1841 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1842 echo "configure:1843: checking for gethostbyname" >&5
1843 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1844 echo $ac_n "(cached) $ac_c" 1>&6
1846 cat > conftest.
$ac_ext <<EOF
1847 #line 1848 "configure"
1848 #include "confdefs.h"
1849 /* System header to define __stub macros and hopefully few prototypes,
1850 which can conflict with char gethostbyname(); below. */
1852 /* Override any gcc2 internal prototype to avoid an error. */
1853 /* We use char because int might match the return type of a gcc2
1854 builtin and then its argument prototype would still apply. */
1855 char gethostbyname();
1859 /* The GNU C library defines this for functions which it implements
1860 to always fail with ENOSYS. Some functions are actually named
1861 something starting with __ and the normal name is an alias. */
1862 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
1870 if { (eval echo configure
:1871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1872 eval "ac_cv_func_gethostbyname=yes"
1874 echo "configure: failed program was:" >&5
1875 cat conftest.
$ac_ext >&5
1877 eval "ac_cv_func_gethostbyname=no"
1882 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1883 echo "$ac_t""yes" 1>&6
1886 echo "$ac_t""no" 1>&6
1889 if test $ac_cv_func_gethostbyname = no
; then
1890 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1891 echo "configure:1892: checking for gethostbyname in -lnsl" >&5
1892 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1893 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1894 echo $ac_n "(cached) $ac_c" 1>&6
1896 ac_save_LIBS
="$LIBS"
1898 cat > conftest.
$ac_ext <<EOF
1899 #line 1900 "configure"
1900 #include "confdefs.h"
1901 /* Override any gcc2 internal prototype to avoid an error. */
1902 /* We use char because int might match the return type of a gcc2
1903 builtin and then its argument prototype would still apply. */
1904 char gethostbyname();
1910 if { (eval echo configure
:1911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1912 eval "ac_cv_lib_$ac_lib_var=yes"
1914 echo "configure: failed program was:" >&5
1915 cat conftest.
$ac_ext >&5
1917 eval "ac_cv_lib_$ac_lib_var=no"
1920 LIBS
="$ac_save_LIBS"
1923 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1924 echo "$ac_t""yes" 1>&6
1925 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
1927 echo "$ac_t""no" 1>&6
1932 # lieder@skyler.mavd.honeywell.com says without -lsocket,
1933 # socket/setsockopt and other routines are undefined under SCO ODT
1934 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
1935 # on later versions), says simon@lia.di.epfl.ch: it contains
1936 # gethostby* variants that don't use the nameserver (or something).
1937 # -lsocket must be given before -lnsl if both are needed.
1938 # We assume that if connect needs -lnsl, so does gethostbyname.
1939 echo $ac_n "checking for connect""... $ac_c" 1>&6
1940 echo "configure:1941: checking for connect" >&5
1941 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1942 echo $ac_n "(cached) $ac_c" 1>&6
1944 cat > conftest.
$ac_ext <<EOF
1945 #line 1946 "configure"
1946 #include "confdefs.h"
1947 /* System header to define __stub macros and hopefully few prototypes,
1948 which can conflict with char connect(); below. */
1950 /* Override any gcc2 internal prototype to avoid an error. */
1951 /* We use char because int might match the return type of a gcc2
1952 builtin and then its argument prototype would still apply. */
1957 /* The GNU C library defines this for functions which it implements
1958 to always fail with ENOSYS. Some functions are actually named
1959 something starting with __ and the normal name is an alias. */
1960 #if defined (__stub_connect) || defined (__stub___connect)
1968 if { (eval echo configure
:1969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1970 eval "ac_cv_func_connect=yes"
1972 echo "configure: failed program was:" >&5
1973 cat conftest.
$ac_ext >&5
1975 eval "ac_cv_func_connect=no"
1980 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
1981 echo "$ac_t""yes" 1>&6
1984 echo "$ac_t""no" 1>&6
1987 if test $ac_cv_func_connect = no
; then
1988 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
1989 echo "configure:1990: checking for connect in -lsocket" >&5
1990 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
1991 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1992 echo $ac_n "(cached) $ac_c" 1>&6
1994 ac_save_LIBS
="$LIBS"
1995 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
1996 cat > conftest.
$ac_ext <<EOF
1997 #line 1998 "configure"
1998 #include "confdefs.h"
1999 /* Override any gcc2 internal prototype to avoid an error. */
2000 /* We use char because int might match the return type of a gcc2
2001 builtin and then its argument prototype would still apply. */
2008 if { (eval echo configure
:2009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2010 eval "ac_cv_lib_$ac_lib_var=yes"
2012 echo "configure: failed program was:" >&5
2013 cat conftest.
$ac_ext >&5
2015 eval "ac_cv_lib_$ac_lib_var=no"
2018 LIBS
="$ac_save_LIBS"
2021 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2022 echo "$ac_t""yes" 1>&6
2023 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
2025 echo "$ac_t""no" 1>&6
2030 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2031 echo $ac_n "checking for remove""... $ac_c" 1>&6
2032 echo "configure:2033: checking for remove" >&5
2033 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2034 echo $ac_n "(cached) $ac_c" 1>&6
2036 cat > conftest.
$ac_ext <<EOF
2037 #line 2038 "configure"
2038 #include "confdefs.h"
2039 /* System header to define __stub macros and hopefully few prototypes,
2040 which can conflict with char remove(); below. */
2042 /* Override any gcc2 internal prototype to avoid an error. */
2043 /* We use char because int might match the return type of a gcc2
2044 builtin and then its argument prototype would still apply. */
2049 /* The GNU C library defines this for functions which it implements
2050 to always fail with ENOSYS. Some functions are actually named
2051 something starting with __ and the normal name is an alias. */
2052 #if defined (__stub_remove) || defined (__stub___remove)
2060 if { (eval echo configure
:2061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2062 eval "ac_cv_func_remove=yes"
2064 echo "configure: failed program was:" >&5
2065 cat conftest.
$ac_ext >&5
2067 eval "ac_cv_func_remove=no"
2072 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
2073 echo "$ac_t""yes" 1>&6
2076 echo "$ac_t""no" 1>&6
2079 if test $ac_cv_func_remove = no
; then
2080 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2081 echo "configure:2082: checking for remove in -lposix" >&5
2082 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2083 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2084 echo $ac_n "(cached) $ac_c" 1>&6
2086 ac_save_LIBS
="$LIBS"
2087 LIBS
="-lposix $LIBS"
2088 cat > conftest.
$ac_ext <<EOF
2089 #line 2090 "configure"
2090 #include "confdefs.h"
2091 /* Override any gcc2 internal prototype to avoid an error. */
2092 /* We use char because int might match the return type of a gcc2
2093 builtin and then its argument prototype would still apply. */
2100 if { (eval echo configure
:2101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2102 eval "ac_cv_lib_$ac_lib_var=yes"
2104 echo "configure: failed program was:" >&5
2105 cat conftest.
$ac_ext >&5
2107 eval "ac_cv_lib_$ac_lib_var=no"
2110 LIBS
="$ac_save_LIBS"
2113 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2114 echo "$ac_t""yes" 1>&6
2115 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
2117 echo "$ac_t""no" 1>&6
2122 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2123 echo $ac_n "checking for shmat""... $ac_c" 1>&6
2124 echo "configure:2125: checking for shmat" >&5
2125 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2126 echo $ac_n "(cached) $ac_c" 1>&6
2128 cat > conftest.
$ac_ext <<EOF
2129 #line 2130 "configure"
2130 #include "confdefs.h"
2131 /* System header to define __stub macros and hopefully few prototypes,
2132 which can conflict with char shmat(); below. */
2134 /* Override any gcc2 internal prototype to avoid an error. */
2135 /* We use char because int might match the return type of a gcc2
2136 builtin and then its argument prototype would still apply. */
2141 /* The GNU C library defines this for functions which it implements
2142 to always fail with ENOSYS. Some functions are actually named
2143 something starting with __ and the normal name is an alias. */
2144 #if defined (__stub_shmat) || defined (__stub___shmat)
2152 if { (eval echo configure
:2153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2154 eval "ac_cv_func_shmat=yes"
2156 echo "configure: failed program was:" >&5
2157 cat conftest.
$ac_ext >&5
2159 eval "ac_cv_func_shmat=no"
2164 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
2165 echo "$ac_t""yes" 1>&6
2168 echo "$ac_t""no" 1>&6
2171 if test $ac_cv_func_shmat = no
; then
2172 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2173 echo "configure:2174: checking for shmat in -lipc" >&5
2174 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2175 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2176 echo $ac_n "(cached) $ac_c" 1>&6
2178 ac_save_LIBS
="$LIBS"
2180 cat > conftest.
$ac_ext <<EOF
2181 #line 2182 "configure"
2182 #include "confdefs.h"
2183 /* Override any gcc2 internal prototype to avoid an error. */
2184 /* We use char because int might match the return type of a gcc2
2185 builtin and then its argument prototype would still apply. */
2192 if { (eval echo configure
:2193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2194 eval "ac_cv_lib_$ac_lib_var=yes"
2196 echo "configure: failed program was:" >&5
2197 cat conftest.
$ac_ext >&5
2199 eval "ac_cv_lib_$ac_lib_var=no"
2202 LIBS
="$ac_save_LIBS"
2205 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2206 echo "$ac_t""yes" 1>&6
2207 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
2209 echo "$ac_t""no" 1>&6
2215 # Check for libraries that X11R6 Xt/Xaw programs need.
2216 ac_save_LDFLAGS
="$LDFLAGS"
2217 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
2218 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
2219 # check for ICE first), but we must link in the order -lSM -lICE or
2220 # we get undefined symbols. So assume we have SM if we have ICE.
2221 # These have to be linked with before -lX11, unlike the other
2222 # libraries we check for below, so use a different variable.
2223 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2224 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2225 echo "configure:2226: checking for IceConnectionNumber in -lICE" >&5
2226 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2227 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2228 echo $ac_n "(cached) $ac_c" 1>&6
2230 ac_save_LIBS
="$LIBS"
2232 cat > conftest.
$ac_ext <<EOF
2233 #line 2234 "configure"
2234 #include "confdefs.h"
2235 /* Override any gcc2 internal prototype to avoid an error. */
2236 /* We use char because int might match the return type of a gcc2
2237 builtin and then its argument prototype would still apply. */
2238 char IceConnectionNumber();
2241 IceConnectionNumber()
2244 if { (eval echo configure
:2245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2246 eval "ac_cv_lib_$ac_lib_var=yes"
2248 echo "configure: failed program was:" >&5
2249 cat conftest.
$ac_ext >&5
2251 eval "ac_cv_lib_$ac_lib_var=no"
2254 LIBS
="$ac_save_LIBS"
2257 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2258 echo "$ac_t""yes" 1>&6
2259 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
2261 echo "$ac_t""no" 1>&6
2264 LDFLAGS
="$ac_save_LDFLAGS"
2270 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
2272 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2273 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2274 echo "configure:2275: checking for $ac_hdr that defines DIR" >&5
2275 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2276 echo $ac_n "(cached) $ac_c" 1>&6
2278 cat > conftest.
$ac_ext <<EOF
2279 #line 2280 "configure"
2280 #include "confdefs.h"
2281 #include <sys/types.h>
2287 if { (eval echo configure
:2288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2289 eval "ac_cv_header_dirent_$ac_safe=yes"
2291 echo "configure: failed program was:" >&5
2292 cat conftest.
$ac_ext >&5
2294 eval "ac_cv_header_dirent_$ac_safe=no"
2298 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
2299 echo "$ac_t""yes" 1>&6
2300 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2301 cat >> confdefs.h
<<EOF
2302 #define $ac_tr_hdr 1
2304 ac_header_dirent
=$ac_hdr; break
2306 echo "$ac_t""no" 1>&6
2309 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2310 if test $ac_header_dirent = dirent.h
; then
2311 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2312 echo "configure:2313: checking for opendir in -ldir" >&5
2313 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2314 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2315 echo $ac_n "(cached) $ac_c" 1>&6
2317 ac_save_LIBS
="$LIBS"
2319 cat > conftest.
$ac_ext <<EOF
2320 #line 2321 "configure"
2321 #include "confdefs.h"
2322 /* Override any gcc2 internal prototype to avoid an error. */
2323 /* We use char because int might match the return type of a gcc2
2324 builtin and then its argument prototype would still apply. */
2331 if { (eval echo configure
:2332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2333 eval "ac_cv_lib_$ac_lib_var=yes"
2335 echo "configure: failed program was:" >&5
2336 cat conftest.
$ac_ext >&5
2338 eval "ac_cv_lib_$ac_lib_var=no"
2341 LIBS
="$ac_save_LIBS"
2344 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2345 echo "$ac_t""yes" 1>&6
2348 echo "$ac_t""no" 1>&6
2352 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2353 echo "configure:2354: checking for opendir in -lx" >&5
2354 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2355 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2356 echo $ac_n "(cached) $ac_c" 1>&6
2358 ac_save_LIBS
="$LIBS"
2360 cat > conftest.
$ac_ext <<EOF
2361 #line 2362 "configure"
2362 #include "confdefs.h"
2363 /* Override any gcc2 internal prototype to avoid an error. */
2364 /* We use char because int might match the return type of a gcc2
2365 builtin and then its argument prototype would still apply. */
2372 if { (eval echo configure
:2373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2374 eval "ac_cv_lib_$ac_lib_var=yes"
2376 echo "configure: failed program was:" >&5
2377 cat conftest.
$ac_ext >&5
2379 eval "ac_cv_lib_$ac_lib_var=no"
2382 LIBS
="$ac_save_LIBS"
2385 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2386 echo "$ac_t""yes" 1>&6
2389 echo "$ac_t""no" 1>&6
2394 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2395 echo "configure:2396: checking for ANSI C header files" >&5
2396 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2397 echo $ac_n "(cached) $ac_c" 1>&6
2399 cat > conftest.
$ac_ext <<EOF
2400 #line 2401 "configure"
2401 #include "confdefs.h"
2407 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2408 { (eval echo configure
:2409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2409 ac_err
=`grep -v '^ *+' conftest.out`
2410 if test -z "$ac_err"; then
2412 ac_cv_header_stdc
=yes
2415 echo "configure: failed program was:" >&5
2416 cat conftest.
$ac_ext >&5
2418 ac_cv_header_stdc
=no
2422 if test $ac_cv_header_stdc = yes; then
2423 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2424 cat > conftest.
$ac_ext <<EOF
2425 #line 2426 "configure"
2426 #include "confdefs.h"
2429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2430 egrep "memchr" >/dev
/null
2>&1; then
2434 ac_cv_header_stdc
=no
2440 if test $ac_cv_header_stdc = yes; then
2441 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2442 cat > conftest.
$ac_ext <<EOF
2443 #line 2444 "configure"
2444 #include "confdefs.h"
2447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2448 egrep "free" >/dev
/null
2>&1; then
2452 ac_cv_header_stdc
=no
2458 if test $ac_cv_header_stdc = yes; then
2459 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2460 if test "$cross_compiling" = yes; then
2463 cat > conftest.
$ac_ext <<EOF
2464 #line 2465 "configure"
2465 #include "confdefs.h"
2467 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2468 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2469 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2470 int main () { int i; for (i = 0; i < 256; i++)
2471 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2475 if { (eval echo configure
:2476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2479 echo "configure: failed program was:" >&5
2480 cat conftest.
$ac_ext >&5
2482 ac_cv_header_stdc
=no
2490 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2491 if test $ac_cv_header_stdc = yes; then
2492 cat >> confdefs.h
<<\EOF
2493 #define STDC_HEADERS 1
2498 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2499 echo "configure:2500: checking for sys/wait.h that is POSIX.1 compatible" >&5
2500 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2501 echo $ac_n "(cached) $ac_c" 1>&6
2503 cat > conftest.
$ac_ext <<EOF
2504 #line 2505 "configure"
2505 #include "confdefs.h"
2506 #include <sys/types.h>
2507 #include <sys/wait.h>
2509 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2512 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2517 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2520 if { (eval echo configure
:2521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2522 ac_cv_header_sys_wait_h
=yes
2524 echo "configure: failed program was:" >&5
2525 cat conftest.
$ac_ext >&5
2527 ac_cv_header_sys_wait_h
=no
2532 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2533 if test $ac_cv_header_sys_wait_h = yes; then
2534 cat >> confdefs.h
<<\EOF
2535 #define HAVE_SYS_WAIT_H 1
2540 for ac_hdr
in fcntl.h
2542 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2543 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2544 echo "configure:2545: checking for $ac_hdr" >&5
2545 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2546 echo $ac_n "(cached) $ac_c" 1>&6
2548 cat > conftest.
$ac_ext <<EOF
2549 #line 2550 "configure"
2550 #include "confdefs.h"
2553 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2554 { (eval echo configure
:2555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2555 ac_err
=`grep -v '^ *+' conftest.out`
2556 if test -z "$ac_err"; then
2558 eval "ac_cv_header_$ac_safe=yes"
2561 echo "configure: failed program was:" >&5
2562 cat conftest.
$ac_ext >&5
2564 eval "ac_cv_header_$ac_safe=no"
2568 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2569 echo "$ac_t""yes" 1>&6
2570 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2571 cat >> confdefs.h
<<EOF
2572 #define $ac_tr_hdr 1
2576 echo "$ac_t""no" 1>&6
2580 for ac_hdr
in limits.h
2582 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2583 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2584 echo "configure:2585: checking for $ac_hdr" >&5
2585 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2586 echo $ac_n "(cached) $ac_c" 1>&6
2588 cat > conftest.
$ac_ext <<EOF
2589 #line 2590 "configure"
2590 #include "confdefs.h"
2593 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2594 { (eval echo configure
:2595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2595 ac_err
=`grep -v '^ *+' conftest.out`
2596 if test -z "$ac_err"; then
2598 eval "ac_cv_header_$ac_safe=yes"
2601 echo "configure: failed program was:" >&5
2602 cat conftest.
$ac_ext >&5
2604 eval "ac_cv_header_$ac_safe=no"
2608 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2609 echo "$ac_t""yes" 1>&6
2610 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2611 cat >> confdefs.h
<<EOF
2612 #define $ac_tr_hdr 1
2616 echo "$ac_t""no" 1>&6
2620 for ac_hdr
in sys
/file.h
2622 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2623 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2624 echo "configure:2625: checking for $ac_hdr" >&5
2625 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2626 echo $ac_n "(cached) $ac_c" 1>&6
2628 cat > conftest.
$ac_ext <<EOF
2629 #line 2630 "configure"
2630 #include "confdefs.h"
2633 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2634 { (eval echo configure
:2635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2635 ac_err
=`grep -v '^ *+' conftest.out`
2636 if test -z "$ac_err"; then
2638 eval "ac_cv_header_$ac_safe=yes"
2641 echo "configure: failed program was:" >&5
2642 cat conftest.
$ac_ext >&5
2644 eval "ac_cv_header_$ac_safe=no"
2648 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2649 echo "$ac_t""yes" 1>&6
2650 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2651 cat >> confdefs.h
<<EOF
2652 #define $ac_tr_hdr 1
2656 echo "$ac_t""no" 1>&6
2660 for ac_hdr
in sys
/time.h
2662 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2663 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2664 echo "configure:2665: checking for $ac_hdr" >&5
2665 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2666 echo $ac_n "(cached) $ac_c" 1>&6
2668 cat > conftest.
$ac_ext <<EOF
2669 #line 2670 "configure"
2670 #include "confdefs.h"
2673 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2674 { (eval echo configure
:2675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2675 ac_err
=`grep -v '^ *+' conftest.out`
2676 if test -z "$ac_err"; then
2678 eval "ac_cv_header_$ac_safe=yes"
2681 echo "configure: failed program was:" >&5
2682 cat conftest.
$ac_ext >&5
2684 eval "ac_cv_header_$ac_safe=no"
2688 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2689 echo "$ac_t""yes" 1>&6
2690 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2691 cat >> confdefs.h
<<EOF
2692 #define $ac_tr_hdr 1
2696 echo "$ac_t""no" 1>&6
2700 for ac_hdr
in unistd.h
2702 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2703 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2704 echo "configure:2705: checking for $ac_hdr" >&5
2705 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2706 echo $ac_n "(cached) $ac_c" 1>&6
2708 cat > conftest.
$ac_ext <<EOF
2709 #line 2710 "configure"
2710 #include "confdefs.h"
2713 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2714 { (eval echo configure
:2715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2715 ac_err
=`grep -v '^ *+' conftest.out`
2716 if test -z "$ac_err"; then
2718 eval "ac_cv_header_$ac_safe=yes"
2721 echo "configure: failed program was:" >&5
2722 cat conftest.
$ac_ext >&5
2724 eval "ac_cv_header_$ac_safe=no"
2728 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2729 echo "$ac_t""yes" 1>&6
2730 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2731 cat >> confdefs.h
<<EOF
2732 #define $ac_tr_hdr 1
2736 echo "$ac_t""no" 1>&6
2740 for ac_hdr
in fnmatch.h
2742 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2743 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2744 echo "configure:2745: checking for $ac_hdr" >&5
2745 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2746 echo $ac_n "(cached) $ac_c" 1>&6
2748 cat > conftest.
$ac_ext <<EOF
2749 #line 2750 "configure"
2750 #include "confdefs.h"
2753 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2754 { (eval echo configure
:2755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2755 ac_err
=`grep -v '^ *+' conftest.out`
2756 if test -z "$ac_err"; then
2758 eval "ac_cv_header_$ac_safe=yes"
2761 echo "configure: failed program was:" >&5
2762 cat conftest.
$ac_ext >&5
2764 eval "ac_cv_header_$ac_safe=no"
2768 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2769 echo "$ac_t""yes" 1>&6
2770 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2771 cat >> confdefs.h
<<EOF
2772 #define $ac_tr_hdr 1
2776 echo "$ac_t""no" 1>&6
2780 for ac_hdr
in linux
/joystick.h
2782 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2783 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2784 echo "configure:2785: checking for $ac_hdr" >&5
2785 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2786 echo $ac_n "(cached) $ac_c" 1>&6
2788 cat > conftest.
$ac_ext <<EOF
2789 #line 2790 "configure"
2790 #include "confdefs.h"
2793 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2794 { (eval echo configure
:2795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2795 ac_err
=`grep -v '^ *+' conftest.out`
2796 if test -z "$ac_err"; then
2798 eval "ac_cv_header_$ac_safe=yes"
2801 echo "configure: failed program was:" >&5
2802 cat conftest.
$ac_ext >&5
2804 eval "ac_cv_header_$ac_safe=no"
2808 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2809 echo "$ac_t""yes" 1>&6
2810 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2811 cat >> confdefs.h
<<EOF
2812 #define $ac_tr_hdr 1
2816 echo "$ac_t""no" 1>&6
2821 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
2822 GTK_JOYSTICK
="gtk/joystick.cpp"
2828 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2829 ac_cpp
='$CXXCPP $CPPFLAGS'
2830 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2831 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2832 cross_compiling
=$ac_cv_prog_cxx_cross
2834 for ac_hdr
in iostream
2836 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2837 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2838 echo "configure:2839: checking for $ac_hdr" >&5
2839 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2840 echo $ac_n "(cached) $ac_c" 1>&6
2842 cat > conftest.
$ac_ext <<EOF
2843 #line 2844 "configure"
2844 #include "confdefs.h"
2847 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2848 { (eval echo configure
:2849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2849 ac_err
=`grep -v '^ *+' conftest.out`
2850 if test -z "$ac_err"; then
2852 eval "ac_cv_header_$ac_safe=yes"
2855 echo "configure: failed program was:" >&5
2856 cat conftest.
$ac_ext >&5
2858 eval "ac_cv_header_$ac_safe=no"
2862 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2863 echo "$ac_t""yes" 1>&6
2864 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2865 cat >> confdefs.h
<<EOF
2866 #define $ac_tr_hdr 1
2870 echo "$ac_t""no" 1>&6
2874 if test "x$HAVE_IOSTREAM" = "x" ; then
2875 cat >> confdefs.h
<<\EOF
2876 #define wxUSE_IOSTREAMH 1
2881 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2882 ac_cpp
='$CPP $CPPFLAGS'
2883 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2884 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2885 cross_compiling
=$ac_cv_prog_cc_cross
2888 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
2889 echo "configure:2890: checking for uid_t in sys/types.h" >&5
2890 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
2891 echo $ac_n "(cached) $ac_c" 1>&6
2893 cat > conftest.
$ac_ext <<EOF
2894 #line 2895 "configure"
2895 #include "confdefs.h"
2896 #include <sys/types.h>
2898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2899 egrep "uid_t" >/dev
/null
2>&1; then
2901 ac_cv_type_uid_t
=yes
2910 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
2911 if test $ac_cv_type_uid_t = no
; then
2912 cat >> confdefs.h
<<\EOF
2916 cat >> confdefs.h
<<\EOF
2922 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
2923 echo "configure:2924: checking type of array argument to getgroups" >&5
2924 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
2925 echo $ac_n "(cached) $ac_c" 1>&6
2927 if test "$cross_compiling" = yes; then
2928 ac_cv_type_getgroups
=cross
2930 cat > conftest.
$ac_ext <<EOF
2931 #line 2932 "configure"
2932 #include "confdefs.h"
2934 /* Thanks to Mike Rendell for this test. */
2935 #include <sys/types.h>
2938 #define MAX(x, y) ((x) > (y) ? (x) : (y))
2943 union { gid_t gval; long lval; } val;
2946 for (i = 0; i < NGID; i++)
2947 gidset[i] = val.gval;
2948 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
2950 /* Exit non-zero if getgroups seems to require an array of ints. This
2951 happens when gid_t is short but getgroups modifies an array of ints. */
2952 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
2956 if { (eval echo configure
:2957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2958 ac_cv_type_getgroups
=gid_t
2960 echo "configure: failed program was:" >&5
2961 cat conftest.
$ac_ext >&5
2963 ac_cv_type_getgroups
=int
2968 if test $ac_cv_type_getgroups = cross
; then
2969 cat > conftest.
$ac_ext <<EOF
2970 #line 2971 "configure"
2971 #include "confdefs.h"
2974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2975 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
2977 ac_cv_type_getgroups
=gid_t
2980 ac_cv_type_getgroups
=int
2987 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
2988 cat >> confdefs.h
<<EOF
2989 #define GETGROUPS_T $ac_cv_type_getgroups
2993 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
2994 echo "configure:2995: checking for mode_t" >&5
2995 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
2996 echo $ac_n "(cached) $ac_c" 1>&6
2998 cat > conftest.
$ac_ext <<EOF
2999 #line 3000 "configure"
3000 #include "confdefs.h"
3001 #include <sys/types.h>
3007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3008 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3010 ac_cv_type_mode_t
=yes
3013 ac_cv_type_mode_t
=no
3018 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
3019 if test $ac_cv_type_mode_t = no
; then
3020 cat >> confdefs.h
<<\EOF
3026 echo $ac_n "checking for off_t""... $ac_c" 1>&6
3027 echo "configure:3028: checking for off_t" >&5
3028 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
3029 echo $ac_n "(cached) $ac_c" 1>&6
3031 cat > conftest.
$ac_ext <<EOF
3032 #line 3033 "configure"
3033 #include "confdefs.h"
3034 #include <sys/types.h>
3040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3041 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3043 ac_cv_type_off_t
=yes
3051 echo "$ac_t""$ac_cv_type_off_t" 1>&6
3052 if test $ac_cv_type_off_t = no
; then
3053 cat >> confdefs.h
<<\EOF
3059 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
3060 echo "configure:3061: checking for pid_t" >&5
3061 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
3062 echo $ac_n "(cached) $ac_c" 1>&6
3064 cat > conftest.
$ac_ext <<EOF
3065 #line 3066 "configure"
3066 #include "confdefs.h"
3067 #include <sys/types.h>
3073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3074 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3076 ac_cv_type_pid_t
=yes
3084 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
3085 if test $ac_cv_type_pid_t = no
; then
3086 cat >> confdefs.h
<<\EOF
3092 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3093 echo "configure:3094: checking return type of signal handlers" >&5
3094 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
3095 echo $ac_n "(cached) $ac_c" 1>&6
3097 cat > conftest.
$ac_ext <<EOF
3098 #line 3099 "configure"
3099 #include "confdefs.h"
3100 #include <sys/types.h>
3106 extern "C" void (*signal (int, void (*)(int)))(int);
3108 void (*signal ()) ();
3115 if { (eval echo configure
:3116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3117 ac_cv_type_signal
=void
3119 echo "configure: failed program was:" >&5
3120 cat conftest.
$ac_ext >&5
3122 ac_cv_type_signal
=int
3127 echo "$ac_t""$ac_cv_type_signal" 1>&6
3128 cat >> confdefs.h
<<EOF
3129 #define RETSIGTYPE $ac_cv_type_signal
3133 echo $ac_n "checking for size_t""... $ac_c" 1>&6
3134 echo "configure:3135: checking for size_t" >&5
3135 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
3136 echo $ac_n "(cached) $ac_c" 1>&6
3138 cat > conftest.
$ac_ext <<EOF
3139 #line 3140 "configure"
3140 #include "confdefs.h"
3141 #include <sys/types.h>
3147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3148 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3150 ac_cv_type_size_t
=yes
3153 ac_cv_type_size_t
=no
3158 echo "$ac_t""$ac_cv_type_size_t" 1>&6
3159 if test $ac_cv_type_size_t = no
; then
3160 cat >> confdefs.h
<<\EOF
3161 #define size_t unsigned
3166 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3167 echo "configure:3168: checking for uid_t in sys/types.h" >&5
3168 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3169 echo $ac_n "(cached) $ac_c" 1>&6
3171 cat > conftest.
$ac_ext <<EOF
3172 #line 3173 "configure"
3173 #include "confdefs.h"
3174 #include <sys/types.h>
3176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3177 egrep "uid_t" >/dev
/null
2>&1; then
3179 ac_cv_type_uid_t
=yes
3188 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3189 if test $ac_cv_type_uid_t = no
; then
3190 cat >> confdefs.h
<<\EOF
3194 cat >> confdefs.h
<<\EOF
3202 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
3203 echo "configure:3204: checking whether stat file-mode macros are broken" >&5
3204 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
3205 echo $ac_n "(cached) $ac_c" 1>&6
3207 cat > conftest.
$ac_ext <<EOF
3208 #line 3209 "configure"
3209 #include "confdefs.h"
3210 #include <sys/types.h>
3211 #include <sys/stat.h>
3213 #if defined(S_ISBLK) && defined(S_IFDIR)
3214 # if S_ISBLK (S_IFDIR)
3219 #if defined(S_ISBLK) && defined(S_IFCHR)
3220 # if S_ISBLK (S_IFCHR)
3225 #if defined(S_ISLNK) && defined(S_IFREG)
3226 # if S_ISLNK (S_IFREG)
3231 #if defined(S_ISSOCK) && defined(S_IFREG)
3232 # if S_ISSOCK (S_IFREG)
3238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3239 egrep "You lose" >/dev
/null
2>&1; then
3241 ac_cv_header_stat_broken
=yes
3244 ac_cv_header_stat_broken
=no
3250 echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
3251 if test $ac_cv_header_stat_broken = yes; then
3252 cat >> confdefs.h
<<\EOF
3253 #define STAT_MACROS_BROKEN 1
3258 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3259 echo "configure:3260: checking whether time.h and sys/time.h may both be included" >&5
3260 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3261 echo $ac_n "(cached) $ac_c" 1>&6
3263 cat > conftest.
$ac_ext <<EOF
3264 #line 3265 "configure"
3265 #include "confdefs.h"
3266 #include <sys/types.h>
3267 #include <sys/time.h>
3273 if { (eval echo configure
:3274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3275 ac_cv_header_time
=yes
3277 echo "configure: failed program was:" >&5
3278 cat conftest.
$ac_ext >&5
3280 ac_cv_header_time
=no
3285 echo "$ac_t""$ac_cv_header_time" 1>&6
3286 if test $ac_cv_header_time = yes; then
3287 cat >> confdefs.h
<<\EOF
3288 #define TIME_WITH_SYS_TIME 1
3293 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
3294 echo "configure:3295: checking for st_blksize in struct stat" >&5
3295 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
3296 echo $ac_n "(cached) $ac_c" 1>&6
3298 cat > conftest.
$ac_ext <<EOF
3299 #line 3300 "configure"
3300 #include "confdefs.h"
3301 #include <sys/types.h>
3302 #include <sys/stat.h>
3304 struct stat s; s.st_blksize;
3307 if { (eval echo configure
:3308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3309 ac_cv_struct_st_blksize
=yes
3311 echo "configure: failed program was:" >&5
3312 cat conftest.
$ac_ext >&5
3314 ac_cv_struct_st_blksize
=no
3319 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
3320 if test $ac_cv_struct_st_blksize = yes; then
3321 cat >> confdefs.h
<<\EOF
3322 #define HAVE_ST_BLKSIZE 1
3327 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
3328 echo "configure:3329: checking for st_blocks in struct stat" >&5
3329 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
3330 echo $ac_n "(cached) $ac_c" 1>&6
3332 cat > conftest.
$ac_ext <<EOF
3333 #line 3334 "configure"
3334 #include "confdefs.h"
3335 #include <sys/types.h>
3336 #include <sys/stat.h>
3338 struct stat s; s.st_blocks;
3341 if { (eval echo configure
:3342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3343 ac_cv_struct_st_blocks
=yes
3345 echo "configure: failed program was:" >&5
3346 cat conftest.
$ac_ext >&5
3348 ac_cv_struct_st_blocks
=no
3353 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6
3354 if test $ac_cv_struct_st_blocks = yes; then
3355 cat >> confdefs.h
<<\EOF
3356 #define HAVE_ST_BLOCKS 1
3360 LIBOBJS
="$LIBOBJS fileblocks.o"
3363 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
3364 echo "configure:3365: checking for st_rdev in struct stat" >&5
3365 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
3366 echo $ac_n "(cached) $ac_c" 1>&6
3368 cat > conftest.
$ac_ext <<EOF
3369 #line 3370 "configure"
3370 #include "confdefs.h"
3371 #include <sys/types.h>
3372 #include <sys/stat.h>
3374 struct stat s; s.st_rdev;
3377 if { (eval echo configure
:3378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3379 ac_cv_struct_st_rdev
=yes
3381 echo "configure: failed program was:" >&5
3382 cat conftest.
$ac_ext >&5
3384 ac_cv_struct_st_rdev
=no
3389 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6
3390 if test $ac_cv_struct_st_rdev = yes; then
3391 cat >> confdefs.h
<<\EOF
3392 #define HAVE_ST_RDEV 1
3397 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3398 echo "configure:3399: checking whether struct tm is in sys/time.h or time.h" >&5
3399 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
3400 echo $ac_n "(cached) $ac_c" 1>&6
3402 cat > conftest.
$ac_ext <<EOF
3403 #line 3404 "configure"
3404 #include "confdefs.h"
3405 #include <sys/types.h>
3408 struct tm *tp; tp->tm_sec;
3411 if { (eval echo configure
:3412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3413 ac_cv_struct_tm
=time.h
3415 echo "configure: failed program was:" >&5
3416 cat conftest.
$ac_ext >&5
3418 ac_cv_struct_tm
=sys
/time.h
3423 echo "$ac_t""$ac_cv_struct_tm" 1>&6
3424 if test $ac_cv_struct_tm = sys
/time.h
; then
3425 cat >> confdefs.h
<<\EOF
3426 #define TM_IN_SYS_TIME 1
3431 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3432 echo "configure:3433: checking for tm_zone in struct tm" >&5
3433 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
3434 echo $ac_n "(cached) $ac_c" 1>&6
3436 cat > conftest.
$ac_ext <<EOF
3437 #line 3438 "configure"
3438 #include "confdefs.h"
3439 #include <sys/types.h>
3440 #include <$ac_cv_struct_tm>
3442 struct tm tm; tm.tm_zone;
3445 if { (eval echo configure
:3446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3447 ac_cv_struct_tm_zone
=yes
3449 echo "configure: failed program was:" >&5
3450 cat conftest.
$ac_ext >&5
3452 ac_cv_struct_tm_zone
=no
3457 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
3458 if test "$ac_cv_struct_tm_zone" = yes; then
3459 cat >> confdefs.h
<<\EOF
3460 #define HAVE_TM_ZONE 1
3464 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3465 echo "configure:3466: checking for tzname" >&5
3466 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
3467 echo $ac_n "(cached) $ac_c" 1>&6
3469 cat > conftest.
$ac_ext <<EOF
3470 #line 3471 "configure"
3471 #include "confdefs.h"
3473 #ifndef tzname /* For SGI. */
3474 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3480 if { (eval echo configure
:3481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3482 ac_cv_var_tzname
=yes
3484 echo "configure: failed program was:" >&5
3485 cat conftest.
$ac_ext >&5
3492 echo "$ac_t""$ac_cv_var_tzname" 1>&6
3493 if test $ac_cv_var_tzname = yes; then
3494 cat >> confdefs.h
<<\EOF
3495 #define HAVE_TZNAME 1
3503 echo $ac_n "checking for working const""... $ac_c" 1>&6
3504 echo "configure:3505: checking for working const" >&5
3505 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3506 echo $ac_n "(cached) $ac_c" 1>&6
3508 cat > conftest.
$ac_ext <<EOF
3509 #line 3510 "configure"
3510 #include "confdefs.h"
3514 /* Ultrix mips cc rejects this. */
3515 typedef int charset[2]; const charset x;
3516 /* SunOS 4.1.1 cc rejects this. */
3517 char const *const *ccp;
3519 /* NEC SVR4.0.2 mips cc rejects this. */
3520 struct point {int x, y;};
3521 static struct point const zero = {0,0};
3522 /* AIX XL C 1.02.0.0 rejects this.
3523 It does not let you subtract one const X* pointer from another in an arm
3524 of an if-expression whose if-part is not a constant expression */
3525 const char *g = "string";
3526 ccp = &g + (g ? g-g : 0);
3527 /* HPUX 7.0 cc rejects these. */
3530 ccp = (char const *const *) p;
3531 { /* SCO 3.2v4 cc rejects this. */
3533 char const *s = 0 ? (char *) 0 : (char const *) 0;
3537 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3539 const int *foo = &x[0];
3542 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3543 typedef const int *iptr;
3547 { /* AIX XL C 1.02.0.0 rejects this saying
3548 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3549 struct s { int j; const int *ap[3]; };
3550 struct s *b; b->j = 5;
3552 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3558 if { (eval echo configure
:3559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3562 echo "configure: failed program was:" >&5
3563 cat conftest.
$ac_ext >&5
3570 echo "$ac_t""$ac_cv_c_const" 1>&6
3571 if test $ac_cv_c_const = no
; then
3572 cat >> confdefs.h
<<\EOF
3578 echo $ac_n "checking for inline""... $ac_c" 1>&6
3579 echo "configure:3580: checking for inline" >&5
3580 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3581 echo $ac_n "(cached) $ac_c" 1>&6
3584 for ac_kw
in inline __inline__ __inline
; do
3585 cat > conftest.
$ac_ext <<EOF
3586 #line 3587 "configure"
3587 #include "confdefs.h"
3593 if { (eval echo configure
:3594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3595 ac_cv_c_inline
=$ac_kw; break
3597 echo "configure: failed program was:" >&5
3598 cat conftest.
$ac_ext >&5
3605 echo "$ac_t""$ac_cv_c_inline" 1>&6
3606 case "$ac_cv_c_inline" in
3608 no
) cat >> confdefs.h
<<\EOF
3612 *) cat >> confdefs.h
<<EOF
3613 #define inline $ac_cv_c_inline
3618 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
3619 echo "configure:3620: checking whether char is unsigned" >&5
3620 if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
3621 echo $ac_n "(cached) $ac_c" 1>&6
3623 if test "$GCC" = yes; then
3624 # GCC predefines this symbol on systems where it applies.
3625 cat > conftest.
$ac_ext <<EOF
3626 #line 3627 "configure"
3627 #include "confdefs.h"
3628 #ifdef __CHAR_UNSIGNED__
3633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3634 egrep "yes" >/dev
/null
2>&1; then
3636 ac_cv_c_char_unsigned
=yes
3639 ac_cv_c_char_unsigned
=no
3644 if test "$cross_compiling" = yes; then
3645 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3647 cat > conftest.
$ac_ext <<EOF
3648 #line 3649 "configure"
3649 #include "confdefs.h"
3650 /* volatile prevents gcc2 from optimizing the test away on sparcs. */
3651 #if !defined(__STDC__) || __STDC__ != 1
3655 volatile char c = 255; exit(c < 0);
3658 if { (eval echo configure
:3659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3660 ac_cv_c_char_unsigned
=yes
3662 echo "configure: failed program was:" >&5
3663 cat conftest.
$ac_ext >&5
3665 ac_cv_c_char_unsigned
=no
3673 echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
3674 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
3675 cat >> confdefs.h
<<\EOF
3676 #define __CHAR_UNSIGNED__ 1
3681 echo $ac_n "checking for long double""... $ac_c" 1>&6
3682 echo "configure:3683: checking for long double" >&5
3683 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
3684 echo $ac_n "(cached) $ac_c" 1>&6
3686 if test "$GCC" = yes; then
3687 ac_cv_c_long_double
=yes
3689 if test "$cross_compiling" = yes; then
3690 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3692 cat > conftest.
$ac_ext <<EOF
3693 #line 3694 "configure"
3694 #include "confdefs.h"
3696 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
3697 long double foo = 0.0;
3698 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
3699 exit(sizeof(long double) < sizeof(double)); }
3701 if { (eval echo configure
:3702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3703 ac_cv_c_long_double
=yes
3705 echo "configure: failed program was:" >&5
3706 cat conftest.
$ac_ext >&5
3708 ac_cv_c_long_double
=no
3716 echo "$ac_t""$ac_cv_c_long_double" 1>&6
3717 if test $ac_cv_c_long_double = yes; then
3718 cat >> confdefs.h
<<\EOF
3719 #define HAVE_LONG_DOUBLE 1
3725 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3726 echo "configure:3727: checking whether byte ordering is bigendian" >&5
3727 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
3728 echo $ac_n "(cached) $ac_c" 1>&6
3730 ac_cv_c_bigendian
=unknown
3731 # See if sys/param.h defines the BYTE_ORDER macro.
3732 cat > conftest.
$ac_ext <<EOF
3733 #line 3734 "configure"
3734 #include "confdefs.h"
3735 #include <sys/types.h>
3736 #include <sys/param.h>
3739 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3744 if { (eval echo configure
:3745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3746 # It does; now see whether it defined to BIG_ENDIAN or not.
3747 cat > conftest.
$ac_ext <<EOF
3748 #line 3749 "configure"
3749 #include "confdefs.h"
3750 #include <sys/types.h>
3751 #include <sys/param.h>
3754 #if BYTE_ORDER != BIG_ENDIAN
3759 if { (eval echo configure
:3760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3761 ac_cv_c_bigendian
=yes
3763 echo "configure: failed program was:" >&5
3764 cat conftest.
$ac_ext >&5
3766 ac_cv_c_bigendian
=no
3770 echo "configure: failed program was:" >&5
3771 cat conftest.
$ac_ext >&5
3774 if test $ac_cv_c_bigendian = unknown
; then
3775 if test "$cross_compiling" = yes; then
3776 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3778 cat > conftest.
$ac_ext <<EOF
3779 #line 3780 "configure"
3780 #include "confdefs.h"
3782 /* Are we little or big endian? From Harbison&Steele. */
3786 char c[sizeof (long)];
3789 exit (u.c[sizeof (long) - 1] == 1);
3792 if { (eval echo configure
:3793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3794 ac_cv_c_bigendian
=no
3796 echo "configure: failed program was:" >&5
3797 cat conftest.
$ac_ext >&5
3799 ac_cv_c_bigendian
=yes
3807 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
3808 if test $ac_cv_c_bigendian = yes; then
3809 cat >> confdefs.h
<<\EOF
3810 #define WORDS_BIGENDIAN 1
3816 echo $ac_n "checking size of int *""... $ac_c" 1>&6
3817 echo "configure:3818: checking size of int *" >&5
3818 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
3819 echo $ac_n "(cached) $ac_c" 1>&6
3821 if test "$cross_compiling" = yes; then
3822 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3824 cat > conftest.
$ac_ext <<EOF
3825 #line 3826 "configure"
3826 #include "confdefs.h"
3830 FILE *f=fopen("conftestval", "w");
3832 fprintf(f, "%d\n", sizeof(int *));
3836 if { (eval echo configure
:3837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3838 ac_cv_sizeof_int_p
=`cat conftestval`
3840 echo "configure: failed program was:" >&5
3841 cat conftest.
$ac_ext >&5
3843 ac_cv_sizeof_int_p
=0
3849 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
3850 cat >> confdefs.h
<<EOF
3851 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
3855 echo $ac_n "checking size of int""... $ac_c" 1>&6
3856 echo "configure:3857: checking size of int" >&5
3857 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
3858 echo $ac_n "(cached) $ac_c" 1>&6
3860 if test "$cross_compiling" = yes; then
3861 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3863 cat > conftest.
$ac_ext <<EOF
3864 #line 3865 "configure"
3865 #include "confdefs.h"
3869 FILE *f=fopen("conftestval", "w");
3871 fprintf(f, "%d\n", sizeof(int));
3875 if { (eval echo configure
:3876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3877 ac_cv_sizeof_int
=`cat conftestval`
3879 echo "configure: failed program was:" >&5
3880 cat conftest.
$ac_ext >&5
3888 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
3889 cat >> confdefs.h
<<EOF
3890 #define SIZEOF_INT $ac_cv_sizeof_int
3894 echo $ac_n "checking size of long""... $ac_c" 1>&6
3895 echo "configure:3896: checking size of long" >&5
3896 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
3897 echo $ac_n "(cached) $ac_c" 1>&6
3899 if test "$cross_compiling" = yes; then
3900 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3902 cat > conftest.
$ac_ext <<EOF
3903 #line 3904 "configure"
3904 #include "confdefs.h"
3908 FILE *f=fopen("conftestval", "w");
3910 fprintf(f, "%d\n", sizeof(long));
3914 if { (eval echo configure
:3915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3916 ac_cv_sizeof_long
=`cat conftestval`
3918 echo "configure: failed program was:" >&5
3919 cat conftest.
$ac_ext >&5
3927 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
3928 cat >> confdefs.h
<<EOF
3929 #define SIZEOF_LONG $ac_cv_sizeof_long
3937 echo $ac_n "checking for long file names""... $ac_c" 1>&6
3938 echo "configure:3939: checking for long file names" >&5
3939 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
3940 echo $ac_n "(cached) $ac_c" 1>&6
3942 ac_cv_sys_long_file_names
=yes
3943 # Test for long file names in all the places we know might matter:
3944 # . the current directory, where building will happen
3945 # $prefix/lib where we will be installing things
3946 # $exec_prefix/lib likewise
3947 # eval it to expand exec_prefix.
3948 # $TMPDIR if set, where it might want to write temporary files
3949 # if $TMPDIR is not set:
3950 # /tmp where it might want to write temporary files
3953 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
3954 ac_tmpdirs
="$TMPDIR"
3956 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
3958 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
3959 test -d $ac_dir || continue
3960 test -w $ac_dir || continue # It is less confusing to not echo anything here.
3961 (echo 1 > $ac_dir/conftest9012345
) 2>/dev
/null
3962 (echo 2 > $ac_dir/conftest9012346
) 2>/dev
/null
3963 val
=`cat $ac_dir/conftest9012345 2>/dev/null`
3964 if test ! -f $ac_dir/conftest9012345
|| test "$val" != 1; then
3965 ac_cv_sys_long_file_names
=no
3966 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
3969 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
3973 echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6
3974 if test $ac_cv_sys_long_file_names = yes; then
3975 cat >> confdefs.h
<<\EOF
3976 #define HAVE_LONG_FILE_NAMES 1
3984 for ac_prog
in 'bison -y' byacc
3986 # Extract the first word of "$ac_prog", so it can be a program name with args.
3987 set dummy
$ac_prog; ac_word
=$2
3988 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3989 echo "configure:3990: checking for $ac_word" >&5
3990 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
3991 echo $ac_n "(cached) $ac_c" 1>&6
3993 if test -n "$YACC"; then
3994 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3996 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3997 for ac_dir
in $PATH; do
3998 test -z "$ac_dir" && ac_dir
=.
3999 if test -f $ac_dir/$ac_word; then
4000 ac_cv_prog_YACC
="$ac_prog"
4007 YACC
="$ac_cv_prog_YACC"
4008 if test -n "$YACC"; then
4009 echo "$ac_t""$YACC" 1>&6
4011 echo "$ac_t""no" 1>&6
4014 test -n "$YACC" && break
4016 test -n "$YACC" || YACC
="yacc"
4019 # Extract the first word of "flex", so it can be a program name with args.
4020 set dummy flex
; ac_word
=$2
4021 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4022 echo "configure:4023: checking for $ac_word" >&5
4023 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
4024 echo $ac_n "(cached) $ac_c" 1>&6
4026 if test -n "$LEX"; then
4027 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4029 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4030 for ac_dir
in $PATH; do
4031 test -z "$ac_dir" && ac_dir
=.
4032 if test -f $ac_dir/$ac_word; then
4033 ac_cv_prog_LEX
="flex"
4038 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
4041 LEX
="$ac_cv_prog_LEX"
4042 if test -n "$LEX"; then
4043 echo "$ac_t""$LEX" 1>&6
4045 echo "$ac_t""no" 1>&6
4048 if test -z "$LEXLIB"
4054 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
4055 echo "configure:4056: checking for yywrap in -l$ac_lib" >&5
4056 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
4057 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4058 echo $ac_n "(cached) $ac_c" 1>&6
4060 ac_save_LIBS
="$LIBS"
4061 LIBS
="-l$ac_lib $LIBS"
4062 cat > conftest.
$ac_ext <<EOF
4063 #line 4064 "configure"
4064 #include "confdefs.h"
4065 /* Override any gcc2 internal prototype to avoid an error. */
4066 /* We use char because int might match the return type of a gcc2
4067 builtin and then its argument prototype would still apply. */
4074 if { (eval echo configure
:4075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4076 eval "ac_cv_lib_$ac_lib_var=yes"
4078 echo "configure: failed program was:" >&5
4079 cat conftest.
$ac_ext >&5
4081 eval "ac_cv_lib_$ac_lib_var=no"
4084 LIBS
="$ac_save_LIBS"
4087 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4088 echo "$ac_t""yes" 1>&6
4091 echo "$ac_t""no" 1>&6
4096 echo $ac_n "checking lex output file root""... $ac_c" 1>&6
4097 echo "configure:4098: checking lex output file root" >&5
4098 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
4099 echo $ac_n "(cached) $ac_c" 1>&6
4101 # The minimal lex program is just a single line: %%. But some broken lexes
4102 # (Solaris, I think it was) want two %% lines, so accommodate them.
4105 if test -f lex.yy.c
; then
4106 ac_cv_prog_lex_root
=lex.yy
4107 elif test -f lexyy.c
; then
4108 ac_cv_prog_lex_root
=lexyy
4110 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
4114 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
4115 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4117 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
4118 echo "configure:4119: checking whether yytext is a pointer" >&5
4119 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
4120 echo $ac_n "(cached) $ac_c" 1>&6
4122 # POSIX says lex can declare yytext either as a pointer or an array; the
4123 # default is implementation-dependent. Figure out which it is, since
4124 # not all implementations provide the %pointer and %array declarations.
4125 ac_cv_prog_lex_yytext_pointer
=no
4126 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4127 ac_save_LIBS
="$LIBS"
4128 LIBS
="$LIBS $LEXLIB"
4129 cat > conftest.
$ac_ext <<EOF
4130 #line 4131 "configure"
4131 #include "confdefs.h"
4132 `cat $LEX_OUTPUT_ROOT.c`
4137 if { (eval echo configure
:4138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4139 ac_cv_prog_lex_yytext_pointer
=yes
4141 echo "configure: failed program was:" >&5
4142 cat conftest.
$ac_ext >&5
4145 LIBS
="$ac_save_LIBS"
4146 rm -f "${LEX_OUTPUT_ROOT}.c"
4150 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
4151 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4152 cat >> confdefs.h
<<\EOF
4153 #define YYTEXT_POINTER 1
4160 CHECK_INCLUDE
="-I/usr/include $X_CFLAGS"
4161 CHECK_LIB
="-L/lib -L/usr/lib $X_LIBS"
4165 # Make sure we can run config.sub.
4166 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
4167 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
4170 echo $ac_n "checking host system type""... $ac_c" 1>&6
4171 echo "configure:4172: checking host system type" >&5
4174 case "$host_alias" in
4178 if host_alias
=`$ac_config_guess`; then :
4179 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
4181 *) host_alias
=$nonopt ;;
4185 host=`$ac_config_sub $host_alias`
4186 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4187 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4188 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4189 echo "$ac_t""$host" 1>&6
4192 configuration
=$host_alias
4215 case "${canonical}" in
4218 cat >> confdefs.h
<<\EOF
4225 cat >> confdefs.h
<<\EOF
4230 *-*-irix5* | *-*-irix6* )
4233 cat >> confdefs.h
<<\EOF
4237 cat >> confdefs.h
<<\EOF
4246 cat >> confdefs.h
<<\EOF
4250 cat >> confdefs.h
<<\EOF
4251 #define __SOLARIS__ 1
4254 cat >> confdefs.h
<<\EOF
4263 cat >> confdefs.h
<<\EOF
4267 cat >> confdefs.h
<<\EOF
4271 cat >> confdefs.h
<<\EOF
4276 *-*-freebsd* | *-*-netbsd*)
4279 cat >> confdefs.h
<<\EOF
4280 #define __FREEBSD__ 1
4283 cat >> confdefs.h
<<\EOF
4291 cat >> confdefs.h
<<\EOF
4295 cat >> confdefs.h
<<\EOF
4303 cat >> confdefs.h
<<\EOF
4307 cat >> confdefs.h
<<\EOF
4315 cat >> confdefs.h
<<\EOF
4319 cat >> confdefs.h
<<\EOF
4328 cat >> confdefs.h
<<\EOF
4332 cat >> confdefs.h
<<\EOF
4336 cat >> confdefs.h
<<\EOF
4342 { echo "configure: error: I don't know your system type." 1>&2; exit 1; }
4347 rm -f ${OSTYPE}.system.cache.tmp
4348 touch ${OSTYPE}.system.cache.tmp
4349 touch ${OSTYPE}.system.cache
4354 DEFAULT_wxUSE_MOTIF
=0
4356 DEFAULT_wxUSE_THREADS
=1
4358 DEFAULT_wxUSE_SHARED
=1
4359 DEFAULT_wxUSE_OPTIMISE
=1
4360 DEFAULT_wxUSE_PROFILE
=0
4361 DEFAULT_wxUSE_DEBUG_FLAG
=0
4362 DEFAULT_wxUSE_DEBUG_INFO
=0
4363 DEFAULT_wxUSE_MEM_TRACING
=0
4364 DEFAULT_wxUSE_DMALLOC
=0
4365 DEFAULT_wxUSE_APPLE_IEEE
=1
4366 DEFAULT_wxUSE_IOSTREAMH
=1
4368 DEFAULT_wxUSE_ZLIB
=1
4369 DEFAULT_wxUSE_GDK_IMLIB
=1
4370 DEFAULT_wxUSE_LIBPNG
=1
4371 DEFAULT_wxUSE_ODBC
=0
4373 DEFAULT_wxUSE_COMBOBOX
=1
4374 DEFAULT_wxUSE_GAUGE
=1
4375 DEFAULT_wxUSE_SCROLLBAR
=1
4376 DEFAULT_wxUSE_LISTCTRL
=1
4377 DEFAULT_wxUSE_TREECTRL
=1
4378 DEFAULT_wxUSE_GRID
=1
4379 DEFAULT_wxUSE_TAB_DIALOG
=1
4380 DEFAULT_wxUSE_NOTEBOOK
=1
4382 DEFAULT_wxUSE_TIMEDATE
=1
4383 DEFAULT_wxUSE_FRACTION
=1
4385 DEFAULT_wxUSE_INTL
=1
4386 DEFAULT_wxUSE_CONFIG
=1
4387 DEFAULT_wxUSE_STREAMS
=1
4388 DEFAULT_wxUSE_SERIAL
=1
4389 DEFAULT_wxUSE_FILE
=1
4390 DEFAULT_wxUSE_TEXTFILE
=1
4392 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=1
4393 DEFAULT_WX_NORMALIZED_PS_FONTS
=1
4394 DEFAULT_wxUSE_POSTSCRIPT
=1
4397 DEFAULT_wxUSE_RESOURCES
=1
4398 DEFAULT_wxUSE_CONSTRAINTS
=1
4399 DEFAULT_wxUSE_CLIPBOARD
=0
4402 DEFAULT_wxUSE_MDI_ARCHITECTURE
=1
4403 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=1
4404 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=1
4406 DEFAULT_wxUSE_PROLOGIO
=1
4407 DEFAULT_wxUSE_WX_RESOURCES
=1
4410 DEFAULT_wxUSE_OPENGL
=0
4411 DEFAULT_wxUSE_METAFILE
=0
4412 DEFAULT_wxUSE_WXGRAPH
=0
4413 DEFAULT_wxUSE_WXTREE
=0
4414 DEFAULT_wxUSE_HELP
=0
4416 DEFAULT_wxUSE_UNICODE
=1
4417 DEFAULT_wxUSE_WCSRTOMBS
=0
4421 echo $ac_n "checking "for gtk
"""... $ac_c" 1>&6
4422 echo "configure:4423: checking "for gtk
"" >&5
4423 # Check whether --with-gtk or --without-gtk was given.
4424 if test "${with_gtk+set}" = set; then
4426 if test "x$with_gtk" = xyes
; then
4427 ac_cv_use_gtk
='wxUSE_GTK="1"'
4429 ac_cv_use_gtk
='wxUSE_GTK="0"'
4433 LINE
=`grep "wxUSE_GTK" ${OSTYPE}.system.cache`
4434 if test "x$LINE" != x
; then
4435 eval "DEFAULT_$LINE"
4437 ac_cv_use_gtk
='wxUSE_GTK='$DEFAULT_wxUSE_GTK
4441 eval "$ac_cv_use_gtk"
4442 echo $ac_cv_use_gtk >> ${OSTYPE}.system.cache.tmp
4443 if test "$wxUSE_GTK" = 1; then
4444 echo "$ac_t""yes" 1>&6
4446 echo "$ac_t""no" 1>&6
4451 echo $ac_n "checking "for qt
"""... $ac_c" 1>&6
4452 echo "configure:4453: checking "for qt
"" >&5
4453 # Check whether --with-qt or --without-qt was given.
4454 if test "${with_qt+set}" = set; then
4456 if test "x$with_qt" = xyes
; then
4457 ac_cv_use_qt
='wxUSE_QT="1"'
4459 ac_cv_use_qt
='wxUSE_QT="0"'
4463 LINE
=`grep "wxUSE_QT" ${OSTYPE}.system.cache`
4464 if test "x$LINE" != x
; then
4465 eval "DEFAULT_$LINE"
4467 ac_cv_use_qt
='wxUSE_QT='$DEFAULT_wxUSE_QT
4471 eval "$ac_cv_use_qt"
4472 echo $ac_cv_use_qt >> ${OSTYPE}.system.cache.tmp
4473 if test "$wxUSE_QT" = 1; then
4474 echo "$ac_t""yes" 1>&6
4476 echo "$ac_t""no" 1>&6
4481 echo $ac_n "checking "for motif
"""... $ac_c" 1>&6
4482 echo "configure:4483: checking "for motif
"" >&5
4483 # Check whether --with-motif or --without-motif was given.
4484 if test "${with_motif+set}" = set; then
4485 withval
="$with_motif"
4486 if test "x$with_motif" = xyes
; then
4487 ac_cv_use_motif
='wxUSE_MOTIF="1"'
4489 ac_cv_use_motif
='wxUSE_MOTIF="0"'
4493 LINE
=`grep "wxUSE_MOTIF" ${OSTYPE}.system.cache`
4494 if test "x$LINE" != x
; then
4495 eval "DEFAULT_$LINE"
4497 ac_cv_use_motif
='wxUSE_MOTIF='$DEFAULT_wxUSE_MOTIF
4501 eval "$ac_cv_use_motif"
4502 echo $ac_cv_use_motif >> ${OSTYPE}.system.cache.tmp
4503 if test "$wxUSE_MOTIF" = 1; then
4504 echo "$ac_t""yes" 1>&6
4506 echo "$ac_t""no" 1>&6
4512 echo $ac_n "checking "for shared
"""... $ac_c" 1>&6
4513 echo "configure:4514: checking "for shared
"" >&5
4514 # Check whether --with-shared or --without-shared was given.
4515 if test "${with_shared+set}" = set; then
4516 withval
="$with_shared"
4517 if test "x$with_shared" = xyes
; then
4518 ac_cv_use_shared
='wxUSE_SHARED="1"'
4520 ac_cv_use_shared
='wxUSE_SHARED="0"'
4524 LINE
=`grep "wxUSE_SHARED" ${OSTYPE}.system.cache`
4525 if test "x$LINE" != x
; then
4526 eval "DEFAULT_$LINE"
4528 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4532 eval "$ac_cv_use_shared"
4533 echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp
4534 if test "$wxUSE_SHARED" = 1; then
4535 echo "$ac_t""yes" 1>&6
4537 echo "$ac_t""no" 1>&6
4542 echo $ac_n "checking "for optimise
"""... $ac_c" 1>&6
4543 echo "configure:4544: checking "for optimise
"" >&5
4544 # Check whether --with-optimise or --without-optimise was given.
4545 if test "${with_optimise+set}" = set; then
4546 withval
="$with_optimise"
4547 if test "x$with_optimise" = xyes
; then
4548 ac_cv_use_optimise
='wxUSE_OPTIMISE="1"'
4550 ac_cv_use_optimise
='wxUSE_OPTIMISE="0"'
4554 LINE
=`grep "wxUSE_OPTIMISE" ${OSTYPE}.system.cache`
4555 if test "x$LINE" != x
; then
4556 eval "DEFAULT_$LINE"
4558 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4562 eval "$ac_cv_use_optimise"
4563 echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp
4564 if test "$wxUSE_OPTIMISE" = 1; then
4565 echo "$ac_t""yes" 1>&6
4567 echo "$ac_t""no" 1>&6
4572 echo $ac_n "checking "for debug_flag
"""... $ac_c" 1>&6
4573 echo "configure:4574: checking "for debug_flag
"" >&5
4574 # Check whether --with-debug_flag or --without-debug_flag was given.
4575 if test "${with_debug_flag+set}" = set; then
4576 withval
="$with_debug_flag"
4577 if test "x$with_debug_flag" = xyes
; then
4578 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="1"'
4580 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="0"'
4584 LINE
=`grep "wxUSE_DEBUG_FLAG" ${OSTYPE}.system.cache`
4585 if test "x$LINE" != x
; then
4586 eval "DEFAULT_$LINE"
4588 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4592 eval "$ac_cv_use_debug_flag"
4593 echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp
4594 if test "$wxUSE_DEBUG_FLAG" = 1; then
4595 echo "$ac_t""yes" 1>&6
4597 echo "$ac_t""no" 1>&6
4602 echo $ac_n "checking "for debug_info
"""... $ac_c" 1>&6
4603 echo "configure:4604: checking "for debug_info
"" >&5
4604 # Check whether --with-debug_info or --without-debug_info was given.
4605 if test "${with_debug_info+set}" = set; then
4606 withval
="$with_debug_info"
4607 if test "x$with_debug_info" = xyes
; then
4608 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="1"'
4610 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="0"'
4614 LINE
=`grep "wxUSE_DEBUG_INFO" ${OSTYPE}.system.cache`
4615 if test "x$LINE" != x
; then
4616 eval "DEFAULT_$LINE"
4618 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4622 eval "$ac_cv_use_debug_info"
4623 echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp
4624 if test "$wxUSE_DEBUG_INFO" = 1; then
4625 echo "$ac_t""yes" 1>&6
4627 echo "$ac_t""no" 1>&6
4632 echo $ac_n "checking "for mem_tracing
"""... $ac_c" 1>&6
4633 echo "configure:4634: checking "for mem_tracing
"" >&5
4634 # Check whether --with-mem_tracing or --without-mem_tracing was given.
4635 if test "${with_mem_tracing+set}" = set; then
4636 withval
="$with_mem_tracing"
4637 if test "x$with_mem_tracing" = xyes
; then
4638 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="1"'
4640 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="0"'
4644 LINE
=`grep "wxUSE_MEM_TRACING" ${OSTYPE}.system.cache`
4645 if test "x$LINE" != x
; then
4646 eval "DEFAULT_$LINE"
4648 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4652 eval "$ac_cv_use_mem_tracing"
4653 echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
4654 if test "$wxUSE_MEM_TRACING" = 1; then
4655 echo "$ac_t""yes" 1>&6
4657 echo "$ac_t""no" 1>&6
4662 echo $ac_n "checking "for dmalloc
"""... $ac_c" 1>&6
4663 echo "configure:4664: checking "for dmalloc
"" >&5
4664 # Check whether --with-dmalloc or --without-dmalloc was given.
4665 if test "${with_dmalloc+set}" = set; then
4666 withval
="$with_dmalloc"
4667 if test "x$with_dmalloc" = xyes
; then
4668 ac_cv_use_dmalloc
='wxUSE_DMALLOC="1"'
4670 ac_cv_use_dmalloc
='wxUSE_DMALLOC="0"'
4674 LINE
=`grep "wxUSE_DMALLOC" ${OSTYPE}.system.cache`
4675 if test "x$LINE" != x
; then
4676 eval "DEFAULT_$LINE"
4678 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4682 eval "$ac_cv_use_dmalloc"
4683 echo $ac_cv_use_dmalloc >> ${OSTYPE}.system.cache.tmp
4684 if test "$wxUSE_DMALLOC" = 1; then
4685 echo "$ac_t""yes" 1>&6
4687 echo "$ac_t""no" 1>&6
4692 echo $ac_n "checking "for profile
"""... $ac_c" 1>&6
4693 echo "configure:4694: checking "for profile
"" >&5
4694 # Check whether --with-profile or --without-profile was given.
4695 if test "${with_profile+set}" = set; then
4696 withval
="$with_profile"
4697 if test "x$with_profile" = xyes
; then
4698 ac_cv_use_profile
='wxUSE_PROFILE="1"'
4700 ac_cv_use_profile
='wxUSE_PROFILE="0"'
4704 LINE
=`grep "wxUSE_PROFILE" ${OSTYPE}.system.cache`
4705 if test "x$LINE" != x
; then
4706 eval "DEFAULT_$LINE"
4708 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4712 eval "$ac_cv_use_profile"
4713 echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
4714 if test "$wxUSE_PROFILE" = 1; then
4715 echo "$ac_t""yes" 1>&6
4717 echo "$ac_t""no" 1>&6
4722 echo $ac_n "checking "for apple_ieee
"""... $ac_c" 1>&6
4723 echo "configure:4724: checking "for apple_ieee
"" >&5
4724 # Check whether --with-apple_ieee or --without-apple_ieee was given.
4725 if test "${with_apple_ieee+set}" = set; then
4726 withval
="$with_apple_ieee"
4727 if test "x$with_apple_ieee" = xyes
; then
4728 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="1"'
4730 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="0"'
4734 LINE
=`grep "wxUSE_APPLE_IEEE" ${OSTYPE}.system.cache`
4735 if test "x$LINE" != x
; then
4736 eval "DEFAULT_$LINE"
4738 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4742 eval "$ac_cv_use_apple_ieee"
4743 echo $ac_cv_use_apple_ieee >> ${OSTYPE}.system.cache.tmp
4744 if test "$wxUSE_APPLE_IEEE" = 1; then
4745 echo "$ac_t""yes" 1>&6
4747 echo "$ac_t""no" 1>&6
4753 echo $ac_n "checking "for zlib
"""... $ac_c" 1>&6
4754 echo "configure:4755: checking "for zlib
"" >&5
4755 # Check whether --with-zlib or --without-zlib was given.
4756 if test "${with_zlib+set}" = set; then
4757 withval
="$with_zlib"
4758 if test "x$with_zlib" = xyes
; then
4759 ac_cv_use_zlib
='wxUSE_ZLIB="1"'
4761 ac_cv_use_zlib
='wxUSE_ZLIB="0"'
4765 LINE
=`grep "wxUSE_ZLIB" ${OSTYPE}.system.cache`
4766 if test "x$LINE" != x
; then
4767 eval "DEFAULT_$LINE"
4769 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4773 eval "$ac_cv_use_zlib"
4774 echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
4775 if test "$wxUSE_ZLIB" = 1; then
4776 echo "$ac_t""yes" 1>&6
4778 echo "$ac_t""no" 1>&6
4783 echo $ac_n "checking "for gdk_imlib
"""... $ac_c" 1>&6
4784 echo "configure:4785: checking "for gdk_imlib
"" >&5
4785 # Check whether --with-gdk_imlib or --without-gdk_imlib was given.
4786 if test "${with_gdk_imlib+set}" = set; then
4787 withval
="$with_gdk_imlib"
4788 if test "x$with_gdk_imlib" = xyes
; then
4789 ac_cv_use_gdk_imlib
='wxUSE_GDK_IMLIB="1"'
4791 ac_cv_use_gdk_imlib
='wxUSE_GDK_IMLIB="0"'
4795 LINE
=`grep "wxUSE_GDK_IMLIB" ${OSTYPE}.system.cache`
4796 if test "x$LINE" != x
; then
4797 eval "DEFAULT_$LINE"
4799 ac_cv_use_gdk_imlib
='wxUSE_GDK_IMLIB='$DEFAULT_wxUSE_GDK_IMLIB
4803 eval "$ac_cv_use_gdk_imlib"
4804 echo $ac_cv_use_gdk_imlib >> ${OSTYPE}.system.cache.tmp
4805 if test "$wxUSE_GDK_IMLIB" = 1; then
4806 echo "$ac_t""yes" 1>&6
4808 echo "$ac_t""no" 1>&6
4813 echo $ac_n "checking "for libpng
"""... $ac_c" 1>&6
4814 echo "configure:4815: checking "for libpng
"" >&5
4815 # Check whether --with-libpng or --without-libpng was given.
4816 if test "${with_libpng+set}" = set; then
4817 withval
="$with_libpng"
4818 if test "x$with_libpng" = xyes
; then
4819 ac_cv_use_libpng
='wxUSE_LIBPNG="1"'
4821 ac_cv_use_libpng
='wxUSE_LIBPNG="0"'
4825 LINE
=`grep "wxUSE_LIBPNG" ${OSTYPE}.system.cache`
4826 if test "x$LINE" != x
; then
4827 eval "DEFAULT_$LINE"
4829 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
4833 eval "$ac_cv_use_libpng"
4834 echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
4835 if test "$wxUSE_LIBPNG" = 1; then
4836 echo "$ac_t""yes" 1>&6
4838 echo "$ac_t""no" 1>&6
4843 echo $ac_n "checking "for odbc
"""... $ac_c" 1>&6
4844 echo "configure:4845: checking "for odbc
"" >&5
4845 # Check whether --with-odbc or --without-odbc was given.
4846 if test "${with_odbc+set}" = set; then
4847 withval
="$with_odbc"
4848 if test "x$with_odbc" = xyes
; then
4849 ac_cv_use_odbc
='wxUSE_ODBC="1"'
4851 ac_cv_use_odbc
='wxUSE_ODBC="0"'
4855 LINE
=`grep "wxUSE_ODBC" ${OSTYPE}.system.cache`
4856 if test "x$LINE" != x
; then
4857 eval "DEFAULT_$LINE"
4859 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4863 eval "$ac_cv_use_odbc"
4864 echo $ac_cv_use_odbc >> ${OSTYPE}.system.cache.tmp
4865 if test "$wxUSE_ODBC" = 1; then
4866 echo "$ac_t""yes" 1>&6
4868 echo "$ac_t""no" 1>&6
4873 echo $ac_n "checking "for opengl
"""... $ac_c" 1>&6
4874 echo "configure:4875: checking "for opengl
"" >&5
4875 # Check whether --with-opengl or --without-opengl was given.
4876 if test "${with_opengl+set}" = set; then
4877 withval
="$with_opengl"
4878 if test "x$with_opengl" = xyes
; then
4879 ac_cv_use_opengl
='wxUSE_OPENGL="1"'
4881 ac_cv_use_opengl
='wxUSE_OPENGL="0"'
4885 LINE
=`grep "wxUSE_OPENGL" ${OSTYPE}.system.cache`
4886 if test "x$LINE" != x
; then
4887 eval "DEFAULT_$LINE"
4889 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4893 eval "$ac_cv_use_opengl"
4894 echo $ac_cv_use_opengl >> ${OSTYPE}.system.cache.tmp
4895 if test "$wxUSE_OPENGL" = 1; then
4896 echo "$ac_t""yes" 1>&6
4898 echo "$ac_t""no" 1>&6
4904 echo $ac_n "checking "for gauge
"""... $ac_c" 1>&6
4905 echo "configure:4906: checking "for gauge
"" >&5
4906 # Check whether --with-gauge or --without-gauge was given.
4907 if test "${with_gauge+set}" = set; then
4908 withval
="$with_gauge"
4909 if test "x$with_gauge" = xyes
; then
4910 ac_cv_use_gauge
='wxUSE_GAUGE="1"'
4912 ac_cv_use_gauge
='wxUSE_GAUGE="0"'
4916 LINE
=`grep "wxUSE_GAUGE" ${OSTYPE}.system.cache`
4917 if test "x$LINE" != x
; then
4918 eval "DEFAULT_$LINE"
4920 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4924 eval "$ac_cv_use_gauge"
4925 echo $ac_cv_use_gauge >> ${OSTYPE}.system.cache.tmp
4926 if test "$wxUSE_GAUGE" = 1; then
4927 echo "$ac_t""yes" 1>&6
4929 echo "$ac_t""no" 1>&6
4934 echo $ac_n "checking "for combobox
"""... $ac_c" 1>&6
4935 echo "configure:4936: checking "for combobox
"" >&5
4936 # Check whether --with-combobox or --without-combobox was given.
4937 if test "${with_combobox+set}" = set; then
4938 withval
="$with_combobox"
4939 if test "x$with_combobox" = xyes
; then
4940 ac_cv_use_combobox
='wxUSE_COMBOBOX="1"'
4942 ac_cv_use_combobox
='wxUSE_COMBOBOX="0"'
4946 LINE
=`grep "wxUSE_COMBOBOX" ${OSTYPE}.system.cache`
4947 if test "x$LINE" != x
; then
4948 eval "DEFAULT_$LINE"
4950 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4954 eval "$ac_cv_use_combobox"
4955 echo $ac_cv_use_combobox >> ${OSTYPE}.system.cache.tmp
4956 if test "$wxUSE_COMBOBOX" = 1; then
4957 echo "$ac_t""yes" 1>&6
4959 echo "$ac_t""no" 1>&6
4964 echo $ac_n "checking "for scrollbar
"""... $ac_c" 1>&6
4965 echo "configure:4966: checking "for scrollbar
"" >&5
4966 # Check whether --with-scrollbar or --without-scrollbar was given.
4967 if test "${with_scrollbar+set}" = set; then
4968 withval
="$with_scrollbar"
4969 if test "x$with_scrollbar" = xyes
; then
4970 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR="1"'
4972 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR="0"'
4976 LINE
=`grep "wxUSE_SCROLLBAR" ${OSTYPE}.system.cache`
4977 if test "x$LINE" != x
; then
4978 eval "DEFAULT_$LINE"
4980 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4984 eval "$ac_cv_use_scrollbar"
4985 echo $ac_cv_use_scrollbar >> ${OSTYPE}.system.cache.tmp
4986 if test "$wxUSE_SCROLLBAR" = 1; then
4987 echo "$ac_t""yes" 1>&6
4989 echo "$ac_t""no" 1>&6
4994 echo $ac_n "checking "for listctrl
"""... $ac_c" 1>&6
4995 echo "configure:4996: checking "for listctrl
"" >&5
4996 # Check whether --with-listctrl or --without-listctrl was given.
4997 if test "${with_listctrl+set}" = set; then
4998 withval
="$with_listctrl"
4999 if test "x$with_listctrl" = xyes
; then
5000 ac_cv_use_listctrl
='wxUSE_LISTCTRL="1"'
5002 ac_cv_use_listctrl
='wxUSE_LISTCTRL="0"'
5006 LINE
=`grep "wxUSE_LISTCTRL" ${OSTYPE}.system.cache`
5007 if test "x$LINE" != x
; then
5008 eval "DEFAULT_$LINE"
5010 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5014 eval "$ac_cv_use_listctrl"
5015 echo $ac_cv_use_listctrl >> ${OSTYPE}.system.cache.tmp
5016 if test "$wxUSE_LISTCTRL" = 1; then
5017 echo "$ac_t""yes" 1>&6
5019 echo "$ac_t""no" 1>&6
5024 echo $ac_n "checking "for treectrl
"""... $ac_c" 1>&6
5025 echo "configure:5026: checking "for treectrl
"" >&5
5026 # Check whether --with-treectrl or --without-treectrl was given.
5027 if test "${with_treectrl+set}" = set; then
5028 withval
="$with_treectrl"
5029 if test "x$with_treectrl" = xyes
; then
5030 ac_cv_use_treectrl
='wxUSE_TREECTRL="1"'
5032 ac_cv_use_treectrl
='wxUSE_TREECTRL="0"'
5036 LINE
=`grep "wxUSE_TREECTRL" ${OSTYPE}.system.cache`
5037 if test "x$LINE" != x
; then
5038 eval "DEFAULT_$LINE"
5040 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5044 eval "$ac_cv_use_treectrl"
5045 echo $ac_cv_use_treectrl >> ${OSTYPE}.system.cache.tmp
5046 if test "$wxUSE_TREECTRL" = 1; then
5047 echo "$ac_t""yes" 1>&6
5049 echo "$ac_t""no" 1>&6
5054 echo $ac_n "checking "for grid
"""... $ac_c" 1>&6
5055 echo "configure:5056: checking "for grid
"" >&5
5056 # Check whether --with-grid or --without-grid was given.
5057 if test "${with_grid+set}" = set; then
5058 withval
="$with_grid"
5059 if test "x$with_grid" = xyes
; then
5060 ac_cv_use_grid
='wxUSE_GRID="1"'
5062 ac_cv_use_grid
='wxUSE_GRID="0"'
5066 LINE
=`grep "wxUSE_GRID" ${OSTYPE}.system.cache`
5067 if test "x$LINE" != x
; then
5068 eval "DEFAULT_$LINE"
5070 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5074 eval "$ac_cv_use_grid"
5075 echo $ac_cv_use_grid >> ${OSTYPE}.system.cache.tmp
5076 if test "$wxUSE_GRID" = 1; then
5077 echo "$ac_t""yes" 1>&6
5079 echo "$ac_t""no" 1>&6
5084 echo $ac_n "checking "for tab_dialog
"""... $ac_c" 1>&6
5085 echo "configure:5086: checking "for tab_dialog
"" >&5
5086 # Check whether --with-tab_dialog or --without-tab_dialog was given.
5087 if test "${with_tab_dialog+set}" = set; then
5088 withval
="$with_tab_dialog"
5089 if test "x$with_tab_dialog" = xyes
; then
5090 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG="1"'
5092 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG="0"'
5096 LINE
=`grep "wxUSE_TAB_DIALOG" ${OSTYPE}.system.cache`
5097 if test "x$LINE" != x
; then
5098 eval "DEFAULT_$LINE"
5100 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
5104 eval "$ac_cv_use_tab_dialog"
5105 echo $ac_cv_use_tab_dialog >> ${OSTYPE}.system.cache.tmp
5106 if test "$wxUSE_TAB_DIALOG" = 1; then
5107 echo "$ac_t""yes" 1>&6
5109 echo "$ac_t""no" 1>&6
5114 echo $ac_n "checking "for notebook
"""... $ac_c" 1>&6
5115 echo "configure:5116: checking "for notebook
"" >&5
5116 # Check whether --with-notebook or --without-notebook was given.
5117 if test "${with_notebook+set}" = set; then
5118 withval
="$with_notebook"
5119 if test "x$with_notebook" = xyes
; then
5120 ac_cv_use_notebook
='wxUSE_NOTEBOOK="1"'
5122 ac_cv_use_notebook
='wxUSE_NOTEBOOK="0"'
5126 LINE
=`grep "wxUSE_NOTEBOOK" ${OSTYPE}.system.cache`
5127 if test "x$LINE" != x
; then
5128 eval "DEFAULT_$LINE"
5130 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5134 eval "$ac_cv_use_notebook"
5135 echo $ac_cv_use_notebook >> ${OSTYPE}.system.cache.tmp
5136 if test "$wxUSE_NOTEBOOK" = 1; then
5137 echo "$ac_t""yes" 1>&6
5139 echo "$ac_t""no" 1>&6
5145 echo $ac_n "checking "for timedate
"""... $ac_c" 1>&6
5146 echo "configure:5147: checking "for timedate
"" >&5
5147 # Check whether --with-timedate or --without-timedate was given.
5148 if test "${with_timedate+set}" = set; then
5149 withval
="$with_timedate"
5150 if test "x$with_timedate" = xyes
; then
5151 ac_cv_use_timedate
='wxUSE_TIMEDATE="1"'
5153 ac_cv_use_timedate
='wxUSE_TIMEDATE="0"'
5157 LINE
=`grep "wxUSE_TIMEDATE" ${OSTYPE}.system.cache`
5158 if test "x$LINE" != x
; then
5159 eval "DEFAULT_$LINE"
5161 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
5165 eval "$ac_cv_use_timedate"
5166 echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
5167 if test "$wxUSE_TIMEDATE" = 1; then
5168 echo "$ac_t""yes" 1>&6
5170 echo "$ac_t""no" 1>&6
5175 echo $ac_n "checking "for fraction
"""... $ac_c" 1>&6
5176 echo "configure:5177: checking "for fraction
"" >&5
5177 # Check whether --with-fraction or --without-fraction was given.
5178 if test "${with_fraction+set}" = set; then
5179 withval
="$with_fraction"
5180 if test "x$with_fraction" = xyes
; then
5181 ac_cv_use_fraction
='wxUSE_FRACTION="1"'
5183 ac_cv_use_fraction
='wxUSE_FRACTION="0"'
5187 LINE
=`grep "wxUSE_FRACTION" ${OSTYPE}.system.cache`
5188 if test "x$LINE" != x
; then
5189 eval "DEFAULT_$LINE"
5191 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
5195 eval "$ac_cv_use_fraction"
5196 echo $ac_cv_use_fraction >> ${OSTYPE}.system.cache.tmp
5197 if test "$wxUSE_FRACTION" = 1; then
5198 echo "$ac_t""yes" 1>&6
5200 echo "$ac_t""no" 1>&6
5205 echo $ac_n "checking "for log
"""... $ac_c" 1>&6
5206 echo "configure:5207: checking "for log
"" >&5
5207 # Check whether --with-log or --without-log was given.
5208 if test "${with_log+set}" = set; then
5210 if test "x$with_log" = xyes
; then
5211 ac_cv_use_log
='wxUSE_LOG="1"'
5213 ac_cv_use_log
='wxUSE_LOG="0"'
5217 LINE
=`grep "wxUSE_LOG" ${OSTYPE}.system.cache`
5218 if test "x$LINE" != x
; then
5219 eval "DEFAULT_$LINE"
5221 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5225 eval "$ac_cv_use_log"
5226 echo $ac_cv_use_log >> ${OSTYPE}.system.cache.tmp
5227 if test "$wxUSE_LOG" = 1; then
5228 echo "$ac_t""yes" 1>&6
5230 echo "$ac_t""no" 1>&6
5235 echo $ac_n "checking "for intl
"""... $ac_c" 1>&6
5236 echo "configure:5237: checking "for intl
"" >&5
5237 # Check whether --with-intl or --without-intl was given.
5238 if test "${with_intl+set}" = set; then
5239 withval
="$with_intl"
5240 if test "x$with_intl" = xyes
; then
5241 ac_cv_use_intl
='wxUSE_INTL="1"'
5243 ac_cv_use_intl
='wxUSE_INTL="0"'
5247 LINE
=`grep "wxUSE_INTL" ${OSTYPE}.system.cache`
5248 if test "x$LINE" != x
; then
5249 eval "DEFAULT_$LINE"
5251 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5255 eval "$ac_cv_use_intl"
5256 echo $ac_cv_use_intl >> ${OSTYPE}.system.cache.tmp
5257 if test "$wxUSE_INTL" = 1; then
5258 echo "$ac_t""yes" 1>&6
5260 echo "$ac_t""no" 1>&6
5265 echo $ac_n "checking "for config
"""... $ac_c" 1>&6
5266 echo "configure:5267: checking "for config
"" >&5
5267 # Check whether --with-config or --without-config was given.
5268 if test "${with_config+set}" = set; then
5269 withval
="$with_config"
5270 if test "x$with_config" = xyes
; then
5271 ac_cv_use_config
='wxUSE_CONFIG="1"'
5273 ac_cv_use_config
='wxUSE_CONFIG="0"'
5277 LINE
=`grep "wxUSE_CONFIG" ${OSTYPE}.system.cache`
5278 if test "x$LINE" != x
; then
5279 eval "DEFAULT_$LINE"
5281 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5285 eval "$ac_cv_use_config"
5286 echo $ac_cv_use_config >> ${OSTYPE}.system.cache.tmp
5287 if test "$wxUSE_CONFIG" = 1; then
5288 echo "$ac_t""yes" 1>&6
5290 echo "$ac_t""no" 1>&6
5295 echo $ac_n "checking "for streams
"""... $ac_c" 1>&6
5296 echo "configure:5297: checking "for streams
"" >&5
5297 # Check whether --with-streams or --without-streams was given.
5298 if test "${with_streams+set}" = set; then
5299 withval
="$with_streams"
5300 if test "x$with_streams" = xyes
; then
5301 ac_cv_use_streams
='wxUSE_STREAMS="1"'
5303 ac_cv_use_streams
='wxUSE_STREAMS="0"'
5307 LINE
=`grep "wxUSE_STREAMS" ${OSTYPE}.system.cache`
5308 if test "x$LINE" != x
; then
5309 eval "DEFAULT_$LINE"
5311 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5315 eval "$ac_cv_use_streams"
5316 echo $ac_cv_use_streams >> ${OSTYPE}.system.cache.tmp
5317 if test "$wxUSE_STREAMS" = 1; then
5318 echo "$ac_t""yes" 1>&6
5320 echo "$ac_t""no" 1>&6
5325 echo $ac_n "checking "for serial
"""... $ac_c" 1>&6
5326 echo "configure:5327: checking "for serial
"" >&5
5327 # Check whether --with-serial or --without-serial was given.
5328 if test "${with_serial+set}" = set; then
5329 withval
="$with_serial"
5330 if test "x$with_serial" = xyes
; then
5331 ac_cv_use_serial
='wxUSE_SERIAL="1"'
5333 ac_cv_use_serial
='wxUSE_SERIAL="0"'
5337 LINE
=`grep "wxUSE_SERIAL" ${OSTYPE}.system.cache`
5338 if test "x$LINE" != x
; then
5339 eval "DEFAULT_$LINE"
5341 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
5345 eval "$ac_cv_use_serial"
5346 echo $ac_cv_use_serial >> ${OSTYPE}.system.cache.tmp
5347 if test "$wxUSE_SERIAL" = 1; then
5348 echo "$ac_t""yes" 1>&6
5350 echo "$ac_t""no" 1>&6
5355 echo $ac_n "checking "for file"""... $ac_c" 1>&6
5356 echo "configure:5357: checking "for file"" >&5
5357 # Check whether --with-file or --without-file was given.
5358 if test "${with_file+set}" = set; then
5359 withval
="$with_file"
5360 if test "x$with_file" = xyes
; then
5361 ac_cv_use_file
='wxUSE_FILE="1"'
5363 ac_cv_use_file
='wxUSE_FILE="0"'
5367 LINE
=`grep "wxUSE_FILE" ${OSTYPE}.system.cache`
5368 if test "x$LINE" != x
; then
5369 eval "DEFAULT_$LINE"
5371 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5375 eval "$ac_cv_use_file"
5376 echo $ac_cv_use_file >> ${OSTYPE}.system.cache.tmp
5377 if test "$wxUSE_FILE" = 1; then
5378 echo "$ac_t""yes" 1>&6
5380 echo "$ac_t""no" 1>&6
5385 echo $ac_n "checking "for textfile
"""... $ac_c" 1>&6
5386 echo "configure:5387: checking "for textfile
"" >&5
5387 # Check whether --with-textfile or --without-textfile was given.
5388 if test "${with_textfile+set}" = set; then
5389 withval
="$with_textfile"
5390 if test "x$with_textfile" = xyes
; then
5391 ac_cv_use_textfile
='wxUSE_TEXTFILE="1"'
5393 ac_cv_use_textfile
='wxUSE_TEXTFILE="0"'
5397 LINE
=`grep "wxUSE_TEXTFILE" ${OSTYPE}.system.cache`
5398 if test "x$LINE" != x
; then
5399 eval "DEFAULT_$LINE"
5401 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5405 eval "$ac_cv_use_textfile"
5406 echo $ac_cv_use_textfile >> ${OSTYPE}.system.cache.tmp
5407 if test "$wxUSE_TEXTFILE" = 1; then
5408 echo "$ac_t""yes" 1>&6
5410 echo "$ac_t""no" 1>&6
5416 echo $ac_n "checking "for afmfonts
"""... $ac_c" 1>&6
5417 echo "configure:5418: checking "for afmfonts
"" >&5
5418 # Check whether --with-afmfonts or --without-afmfonts was given.
5419 if test "${with_afmfonts+set}" = set; then
5420 withval
="$with_afmfonts"
5421 if test "x$with_afmfonts" = xyes
; then
5422 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="1"'
5424 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="0"'
5428 LINE
=`grep "wxUSE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache`
5429 if test "x$LINE" != x
; then
5430 eval "DEFAULT_$LINE"
5432 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT='$DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
5436 eval "$ac_cv_use_afmfonts"
5437 echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
5438 if test "$wxUSE_AFM_FOR_POSTSCRIPT" = 1; then
5439 echo "$ac_t""yes" 1>&6
5441 echo "$ac_t""no" 1>&6
5446 echo $ac_n "checking "for normalized
"""... $ac_c" 1>&6
5447 echo "configure:5448: checking "for normalized
"" >&5
5448 # Check whether --with-normalized or --without-normalized was given.
5449 if test "${with_normalized+set}" = set; then
5450 withval
="$with_normalized"
5451 if test "x$with_normalized" = xyes
; then
5452 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="1"'
5454 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="0"'
5458 LINE
=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache`
5459 if test "x$LINE" != x
; then
5460 eval "DEFAULT_$LINE"
5462 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS
5466 eval "$ac_cv_use_normalized"
5467 echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
5468 if test "$WX_NORMALIZED_PS_FONTS" = 1; then
5469 echo "$ac_t""yes" 1>&6
5471 echo "$ac_t""no" 1>&6
5476 echo $ac_n "checking "for postscript
"""... $ac_c" 1>&6
5477 echo "configure:5478: checking "for postscript
"" >&5
5478 # Check whether --with-postscript or --without-postscript was given.
5479 if test "${with_postscript+set}" = set; then
5480 withval
="$with_postscript"
5481 if test "x$with_postscript" = xyes
; then
5482 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="1"'
5484 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="0"'
5488 LINE
=`grep "wxUSE_POSTSCRIPT" ${OSTYPE}.system.cache`
5489 if test "x$LINE" != x
; then
5490 eval "DEFAULT_$LINE"
5492 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5496 eval "$ac_cv_use_postscript"
5497 echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
5498 if test "$wxUSE_POSTSCRIPT" = 1; then
5499 echo "$ac_t""yes" 1>&6
5501 echo "$ac_t""no" 1>&6
5507 echo $ac_n "checking "for unicode
"""... $ac_c" 1>&6
5508 echo "configure:5509: checking "for unicode
"" >&5
5509 # Check whether --with-unicode or --without-unicode was given.
5510 if test "${with_unicode+set}" = set; then
5511 withval
="$with_unicode"
5512 if test "x$with_unicode" = xyes
; then
5513 ac_cv_use_unicode
='wxUSE_UNICODE="1"'
5515 ac_cv_use_unicode
='wxUSE_UNICODE="0"'
5519 LINE
=`grep "wxUSE_UNICODE" ${OSTYPE}.system.cache`
5520 if test "x$LINE" != x
; then
5521 eval "DEFAULT_$LINE"
5523 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5527 eval "$ac_cv_use_unicode"
5528 echo $ac_cv_use_unicode >> ${OSTYPE}.system.cache.tmp
5529 if test "$wxUSE_UNICODE" = 1; then
5530 echo "$ac_t""yes" 1>&6
5532 echo "$ac_t""no" 1>&6
5537 echo $ac_n "checking "for wcsrtombs
"""... $ac_c" 1>&6
5538 echo "configure:5539: checking "for wcsrtombs
"" >&5
5539 # Check whether --with-wcsrtombs or --without-wcsrtombs was given.
5540 if test "${with_wcsrtombs+set}" = set; then
5541 withval
="$with_wcsrtombs"
5542 if test "x$with_wcsrtombs" = xyes
; then
5543 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="1"'
5545 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="0"'
5549 LINE
=`grep "wxUSE_WCSRTOMBS" ${OSTYPE}.system.cache`
5550 if test "x$LINE" != x
; then
5551 eval "DEFAULT_$LINE"
5553 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
5557 eval "$ac_cv_use_wcsrtombs"
5558 echo $ac_cv_use_wcsrtombs >> ${OSTYPE}.system.cache.tmp
5559 if test "$wxUSE_WCSRTOMBS" = 1; then
5560 echo "$ac_t""yes" 1>&6
5562 echo "$ac_t""no" 1>&6
5568 echo $ac_n "checking "for wxresources
"""... $ac_c" 1>&6
5569 echo "configure:5570: checking "for wxresources
"" >&5
5570 # Check whether --with-wxresources or --without-wxresources was given.
5571 if test "${with_wxresources+set}" = set; then
5572 withval
="$with_wxresources"
5573 if test "x$with_wxresources" = xyes
; then
5574 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="1"'
5576 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="0"'
5580 LINE
=`grep "wxUSE_WX_RESOURCES" ${OSTYPE}.system.cache`
5581 if test "x$LINE" != x
; then
5582 eval "DEFAULT_$LINE"
5584 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES='$DEFAULT_wxUSE_WX_RESOURCES
5588 eval "$ac_cv_use_wxresources"
5589 echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
5590 if test "$wxUSE_WX_RESOURCES" = 1; then
5591 echo "$ac_t""yes" 1>&6
5593 echo "$ac_t""no" 1>&6
5598 echo $ac_n "checking "for prologio
"""... $ac_c" 1>&6
5599 echo "configure:5600: checking "for prologio
"" >&5
5600 # Check whether --with-prologio or --without-prologio was given.
5601 if test "${with_prologio+set}" = set; then
5602 withval
="$with_prologio"
5603 if test "x$with_prologio" = xyes
; then
5604 ac_cv_use_prologio
='wxUSE_PROLOGIO="1"'
5606 ac_cv_use_prologio
='wxUSE_PROLOGIO="0"'
5610 LINE
=`grep "wxUSE_PROLOGIO" ${OSTYPE}.system.cache`
5611 if test "x$LINE" != x
; then
5612 eval "DEFAULT_$LINE"
5614 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5618 eval "$ac_cv_use_prologio"
5619 echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
5620 if test "$wxUSE_PROLOGIO" = 1; then
5621 echo "$ac_t""yes" 1>&6
5623 echo "$ac_t""no" 1>&6
5628 echo $ac_n "checking "for RPC
"""... $ac_c" 1>&6
5629 echo "configure:5630: checking "for RPC
"" >&5
5630 # Check whether --with-rpc or --without-rpc was given.
5631 if test "${with_rpc+set}" = set; then
5633 if test "x$with_rpc" = xyes
; then
5634 ac_cv_use_rpc
='wxUSE_RPC="1"'
5636 ac_cv_use_rpc
='wxUSE_RPC="0"'
5640 LINE
=`grep "wxUSE_RPC" ${OSTYPE}.system.cache`
5641 if test "x$LINE" != x
; then
5642 eval "DEFAULT_$LINE"
5644 ac_cv_use_rpc
='wxUSE_RPC='$DEFAULT_wxUSE_RPC
5648 eval "$ac_cv_use_rpc"
5649 echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
5650 if test "$wxUSE_RPC" = 1; then
5651 echo "$ac_t""yes" 1>&6
5653 echo "$ac_t""no" 1>&6
5659 echo $ac_n "checking "for IPC
"""... $ac_c" 1>&6
5660 echo "configure:5661: checking "for IPC
"" >&5
5661 # Check whether --with-ipc or --without-ipc was given.
5662 if test "${with_ipc+set}" = set; then
5664 if test "x$with_ipc" = xyes
; then
5665 ac_cv_use_ipc
='wxUSE_IPC="1"'
5667 ac_cv_use_ipc
='wxUSE_IPC="0"'
5671 LINE
=`grep "wxUSE_IPC" ${OSTYPE}.system.cache`
5672 if test "x$LINE" != x
; then
5673 eval "DEFAULT_$LINE"
5675 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5679 eval "$ac_cv_use_ipc"
5680 echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
5681 if test "$wxUSE_IPC" = 1; then
5682 echo "$ac_t""yes" 1>&6
5684 echo "$ac_t""no" 1>&6
5689 echo $ac_n "checking "for resources
"""... $ac_c" 1>&6
5690 echo "configure:5691: checking "for resources
"" >&5
5691 # Check whether --with-resources or --without-resources was given.
5692 if test "${with_resources+set}" = set; then
5693 withval
="$with_resources"
5694 if test "x$with_resources" = xyes
; then
5695 ac_cv_use_resources
='wxUSE_RESOURCES="1"'
5697 ac_cv_use_resources
='wxUSE_RESOURCES="0"'
5701 LINE
=`grep "wxUSE_RESOURCES" ${OSTYPE}.system.cache`
5702 if test "x$LINE" != x
; then
5703 eval "DEFAULT_$LINE"
5705 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5709 eval "$ac_cv_use_resources"
5710 echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
5711 if test "$wxUSE_RESOURCES" = 1; then
5712 echo "$ac_t""yes" 1>&6
5714 echo "$ac_t""no" 1>&6
5719 echo $ac_n "checking "for clipboard
"""... $ac_c" 1>&6
5720 echo "configure:5721: checking "for clipboard
"" >&5
5721 # Check whether --with-clipboard or --without-clipboard was given.
5722 if test "${with_clipboard+set}" = set; then
5723 withval
="$with_clipboard"
5724 if test "x$with_clipboard" = xyes
; then
5725 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="1"'
5727 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="0"'
5731 LINE
=`grep "wxUSE_CLIPBOARD" ${OSTYPE}.system.cache`
5732 if test "x$LINE" != x
; then
5733 eval "DEFAULT_$LINE"
5735 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5739 eval "$ac_cv_use_clipboard"
5740 echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
5741 if test "$wxUSE_CLIPBOARD" = 1; then
5742 echo "$ac_t""yes" 1>&6
5744 echo "$ac_t""no" 1>&6
5749 echo $ac_n "checking "for dnd
"""... $ac_c" 1>&6
5750 echo "configure:5751: checking "for dnd
"" >&5
5751 # Check whether --with-dnd or --without-dnd was given.
5752 if test "${with_dnd+set}" = set; then
5754 if test "x$with_dnd" = xyes
; then
5755 ac_cv_use_dnd
='wxUSE_DND="1"'
5757 ac_cv_use_dnd
='wxUSE_DND="0"'
5761 LINE
=`grep "wxUSE_DND" ${OSTYPE}.system.cache`
5762 if test "x$LINE" != x
; then
5763 eval "DEFAULT_$LINE"
5765 ac_cv_use_dnd
='wxUSE_DND='$DEFAULT_wxUSE_DND
5769 eval "$ac_cv_use_dnd"
5770 echo $ac_cv_use_dnd >> ${OSTYPE}.system.cache.tmp
5771 if test "$wxUSE_DND" = 1; then
5772 echo "$ac_t""yes" 1>&6
5774 echo "$ac_t""no" 1>&6
5779 echo $ac_n "checking "for constrains
"""... $ac_c" 1>&6
5780 echo "configure:5781: checking "for constrains
"" >&5
5781 # Check whether --with-constraints or --without-constraints was given.
5782 if test "${with_constraints+set}" = set; then
5783 withval
="$with_constraints"
5784 if test "x$with_constraints" = xyes
; then
5785 ac_cv_use_constraints
='wxUSE_CONSTRAINTS="1"'
5787 ac_cv_use_constraints
='wxUSE_CONSTRAINTS="0"'
5791 LINE
=`grep "wxUSE_CONSTRAINTS" ${OSTYPE}.system.cache`
5792 if test "x$LINE" != x
; then
5793 eval "DEFAULT_$LINE"
5795 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5799 eval "$ac_cv_use_constraints"
5800 echo $ac_cv_use_constraints >> ${OSTYPE}.system.cache.tmp
5801 if test "$wxUSE_CONSTRAINTS" = 1; then
5802 echo "$ac_t""yes" 1>&6
5804 echo "$ac_t""no" 1>&6
5810 echo $ac_n "checking "for mdi
"""... $ac_c" 1>&6
5811 echo "configure:5812: checking "for mdi
"" >&5
5812 # Check whether --with-mdi or --without-mdi was given.
5813 if test "${with_mdi+set}" = set; then
5815 if test "x$with_mdi" = xyes
; then
5816 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="1"'
5818 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="0"'
5822 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${OSTYPE}.system.cache`
5823 if test "x$LINE" != x
; then
5824 eval "DEFAULT_$LINE"
5826 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5830 eval "$ac_cv_use_mdi"
5831 echo $ac_cv_use_mdi >> ${OSTYPE}.system.cache.tmp
5832 if test "$wxUSE_MDI_ARCHITECTURE" = 1; then
5833 echo "$ac_t""yes" 1>&6
5835 echo "$ac_t""no" 1>&6
5840 echo $ac_n "checking "for docview
"""... $ac_c" 1>&6
5841 echo "configure:5842: checking "for docview
"" >&5
5842 # Check whether --with-docview or --without-docview was given.
5843 if test "${with_docview+set}" = set; then
5844 withval
="$with_docview"
5845 if test "x$with_docview" = xyes
; then
5846 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="1"'
5848 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="0"'
5852 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache`
5853 if test "x$LINE" != x
; then
5854 eval "DEFAULT_$LINE"
5856 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5860 eval "$ac_cv_use_docview"
5861 echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp
5862 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1; then
5863 echo "$ac_t""yes" 1>&6
5865 echo "$ac_t""no" 1>&6
5870 echo $ac_n "checking "for printarch
"""... $ac_c" 1>&6
5871 echo "configure:5872: checking "for printarch
"" >&5
5872 # Check whether --with-printarch or --without-printarch was given.
5873 if test "${with_printarch+set}" = set; then
5874 withval
="$with_printarch"
5875 if test "x$with_printarch" = xyes
; then
5876 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="1"'
5878 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="0"'
5882 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache`
5883 if test "x$LINE" != x
; then
5884 eval "DEFAULT_$LINE"
5886 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5890 eval "$ac_cv_use_printarch"
5891 echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp
5892 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1; then
5893 echo "$ac_t""yes" 1>&6
5895 echo "$ac_t""no" 1>&6
5900 if test "$wxUSE_UNIX" = 1 ; then
5901 cat >> confdefs.h
<<\EOF
5917 if test "$wxUSE_GTK" = 1; then
5918 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
5919 if test "${with_gtk_prefix+set}" = set; then
5920 withval
="$with_gtk_prefix"
5921 gtk_config_prefix
="$withval"
5923 gtk_config_prefix
=""
5926 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
5927 if test "${with_gtk_exec_prefix+set}" = set; then
5928 withval
="$with_gtk_exec_prefix"
5929 gtk_config_exec_prefix
="$withval"
5931 gtk_config_exec_prefix
=""
5935 if test x
$gtk_config_exec_prefix != x
; then
5936 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
5937 if test x
${GTK_CONFIG+set} != xset
; then
5938 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
5941 if test x
$gtk_config_prefix != x
; then
5942 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
5943 if test x
${GTK_CONFIG+set} != xset
; then
5944 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
5948 # Extract the first word of "gtk-config", so it can be a program name with args.
5949 set dummy gtk
-config; ac_word
=$2
5950 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5951 echo "configure:5952: checking for $ac_word" >&5
5952 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
5953 echo $ac_n "(cached) $ac_c" 1>&6
5955 case "$GTK_CONFIG" in
5957 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
5960 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5961 for ac_dir
in $PATH; do
5962 test -z "$ac_dir" && ac_dir
=.
5963 if test -f $ac_dir/$ac_word; then
5964 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
5969 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
5973 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
5974 if test -n "$GTK_CONFIG"; then
5975 echo "$ac_t""$GTK_CONFIG" 1>&6
5977 echo "$ac_t""no" 1>&6
5980 min_gtk_version
=1.0.4
5981 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
5982 echo "configure:5983: checking for GTK - version >= $min_gtk_version" >&5
5984 if test "$GTK_CONFIG" != "no" ; then
5985 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
5986 GTK_LIBS
=`$GTK_CONFIG --libs`
5987 ac_save_CFLAGS
="$CFLAGS"
5988 ac_save_LIBS
="$LIBS"
5989 CFLAGS
="$CFLAGS $GTK_CFLAGS"
5990 LIBS
="$LIBS $GTK_LIBS"
5991 if test "$cross_compiling" = yes; then
5992 echo $ac_n "cross compiling; assumed OK... $ac_c"
5994 cat > conftest.
$ac_ext <<EOF
5995 #line 5996 "configure"
5996 #include "confdefs.h"
5998 #include <gtk/gtk.h>
6004 int major, minor, micro;
6006 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6007 printf("%s, bad version string\n", "$min_gtk_version");
6011 return !((gtk_major_version > major) ||
6012 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6013 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6017 if { (eval echo configure
:6018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
6021 echo "configure: failed program was:" >&5
6022 cat conftest.
$ac_ext >&5
6029 CFLAGS
="$ac_save_CFLAGS"
6030 LIBS
="$ac_save_LIBS"
6034 if test "x$no_gtk" = x
; then
6035 echo "$ac_t""yes" 1>&6
6037 GUI_TK_INCLUDE
="$GTK_CFLAGS"
6038 GUI_TK_LIBRARY
="$GTK_LIBS"
6041 echo "$ac_t""no" 1>&6
6044 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.0.4?" 1>&2; exit 1; }
6050 TOOLKIT_DEF
=__WXGTK__
6051 MAKEINCLUDE
=..
/gtk.inc
6054 if test "$wxUSE_QT" = 1; then
6055 echo $ac_n "checking for Qt includes""... $ac_c" 1>&6
6056 echo "configure:6057: checking for Qt includes" >&5
6059 for ac_dir
in $SEARCH_INCLUDE;
6061 if test -f "$ac_dir/qapp.h"; then
6062 ac_find_includes
=$ac_dir
6067 if test "$ac_find_includes" != "" ; then
6068 echo "$ac_t""found $ac_find_includes" 1>&6
6069 echo $ac_n "checking for Qt library""... $ac_c" 1>&6
6070 echo "configure:6071: checking for Qt library" >&5
6073 for ac_dir
in $SEARCH_LIB;
6075 for ac_extension
in a so sl
; do
6076 if test -f "$ac_dir/libqt.$ac_extension"; then
6077 ac_find_libraries
=$ac_dir
6083 if test "$ac_find_libraries" != "" ; then
6085 ac_path_to_include
=$ac_find_includes
6086 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6088 if test $result = 0; then
6089 ac_path_to_include
=""
6091 ac_path_to_include
="-I$ac_find_includes"
6095 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6097 if test $result = 0; then
6100 ac_path_to_link
="-L$ac_find_libraries"
6103 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6104 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6105 echo "$ac_t""found Qt at $ac_find_libraries" 1>&6
6107 { echo "configure: error: no" 1>&2; exit 1; }
6110 { echo "configure: error: no" 1>&2; exit 1; }
6112 GUI_TK_LINK
="-lXext -lX11 -lqt -lm"
6114 TOOLKIT_DEF
=__WXQT__
6115 MAKEINCLUDE
=..
/qt.inc
6118 if test "$wxUSE_MOTIF" = 1; then
6119 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
6120 echo "configure:6121: checking for Motif/Lesstif includes" >&5
6123 for ac_dir
in $SEARCH_INCLUDE;
6125 if test -f "$ac_dir/Xm.h"; then
6126 ac_find_includes
=$ac_dir
6131 if test "$ac_find_includes" != "" ; then
6132 echo "$ac_t""found $ac_find_includes" 1>&6
6133 echo $ac_n "checking for Motif or Lesstif library""... $ac_c" 1>&6
6134 echo "configure:6135: checking for Motif or Lesstif library" >&5
6137 for ac_dir
in $SEARCH_LIB;
6139 for ac_extension
in a so sl
; do
6140 if test -f "$ac_dir/libXm.$ac_extension"; then
6141 ac_find_libraries
=$ac_dir
6147 if test "$ac_find_libraries" != "" ; then
6149 ac_path_to_include
=$ac_find_includes
6150 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6152 if test $result = 0; then
6153 ac_path_to_include
=""
6155 ac_path_to_include
="-I$ac_find_includes"
6159 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6161 if test $result = 0; then
6164 ac_path_to_link
="-L$ac_find_libraries"
6167 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6168 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6169 echo "$ac_t""found at $ac_find_libraries" 1>&6
6171 { echo "configure: error: no" 1>&2; exit 1; }
6174 { echo "configure: error: no" 1>&2; exit 1; }
6176 GUI_TK_LINK
="-lXext -lXt -lX11 -lXm -lm"
6178 TOOLKIT_DEF
=__WXMOTIF__
6179 MAKEINCLUDE
=..
/motif.inc
6182 if test "$TOOLKIT" = ""; then
6183 { echo "configure: error: You must specify a toolkit: --with-gtk --with-qt --with-motif" 1>&2; exit 1; }
6197 if test "$wxUSE_DEBUG_INFO" = 1 ; then
6202 if test "$wxUSE_DEBUG_FLAG" = 1 ; then
6203 cat >> confdefs.h
<<EOF
6204 #define WXDEBUG $wxUSE_DEBUG_FLAG
6207 WXDEBUG_DEFINE
="-D__WXDEBUG__"
6210 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
6214 if test "$wxUSE_MEM_TRACING" = 1 ; then
6215 cat >> confdefs.h
<<EOF
6216 #define wxUSE_MEMORY_TRACING $wxUSE_MEM_TRACING
6219 cat >> confdefs.h
<<EOF
6220 #define wxUSE_GLOBAL_MEMORY_OPERATORS $wxUSE_MEM_TRACING
6226 if test "$wxUSE_DMALLOC" = 1 ; then
6227 EXTRA_LINK
="$EXTRA_LINK -ldmalloc"
6232 if test "$wxUSE_PROFILE" = 1 ; then
6237 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
6238 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
6239 if test "$wxUSE_OPTIMISE" = 0 ; then
6242 if test "$GCC" = yes ; then
6244 case "${canonical}" in
6246 OPTIMISE
="${OPTIMISE} "
6256 if test "$wxUSE_APPLE_IEEE" = 1 ; then
6257 APPLE_IEEE
="APPLE_IEEE"
6258 cat >> confdefs.h
<<EOF
6259 #define wxUSE_APPLE_IEEE $wxUSE_APPLE_IEEE
6264 wxUSE_IOSTREAMH
=$DEFAULT_wxUSE_IOSTREAMH
6265 cat >> confdefs.h
<<EOF
6266 #define wxUSE_IOSTREAMH $wxUSE_IOSTREAMH
6271 if test "$wxUSE_ZLIB" = 1 ; then
6272 cat >> confdefs.h
<<EOF
6273 #define wxUSE_ZLIB $wxUSE_ZLIB
6278 if test "$wxUSE_GDK_IMLIB" = 1 ; then
6279 cat >> confdefs.h
<<EOF
6280 #define wxUSE_GDK_IMLIB $wxUSE_GDK_IMLIB
6285 if test "$wxUSE_LIBPNG" = 1 ; then
6286 cat >> confdefs.h
<<EOF
6287 #define wxUSE_LIBPNG $wxUSE_LIBPNG
6293 if test "$wxUSE_ODBC" = 1 ; then
6294 cat >> confdefs.h
<<EOF
6295 #define wxUSE_ODBC $wxUSE_ODBC
6298 IODBC_C_SRC
="\$(IODBC_C_SRC)"
6303 if test "$wxUSE_GAUGE" = 1 ; then
6304 cat >> confdefs.h
<<EOF
6305 #define wxUSE_GAUGE $wxUSE_GAUGE
6310 if test "$wxUSE_COMBOBOX" = 1 ; then
6311 cat >> confdefs.h
<<EOF
6312 #define wxUSE_COMBOBOX $wxUSE_COMBOBOX
6317 if test "$wxUSE_SCROLLBAR" = 1 ; then
6318 cat >> confdefs.h
<<EOF
6319 #define wxUSE_SCROLLBAR $wxUSE_SCROLLBAR
6324 if test "$wxUSE_LISTCTRL" = 1 ; then
6325 cat >> confdefs.h
<<EOF
6326 #define wxUSE_LISTCTRL $wxUSE_LISTCTRL
6331 if test "$wxUSE_TREECTRL" = 1 ; then
6332 cat >> confdefs.h
<<EOF
6333 #define wxUSE_TREECTRL $wxUSE_TREECTRL
6338 if test "$wxUSE_GRID" = 1 ; then
6339 cat >> confdefs.h
<<EOF
6340 #define wxUSE_GRID $wxUSE_GRID
6345 if test "$wxUSE_TAB_DIALOG" = 1 ; then
6346 cat >> confdefs.h
<<EOF
6347 #define wxUSE_TAB_DIALOG $wxUSE_TAB_DIALOG
6352 if test "$wxUSE_NOTEBOOK" = 1 ; then
6353 cat >> confdefs.h
<<EOF
6354 #define wxUSE_NOTEBOOK $wxUSE_NOTEBOOK
6360 if test "$wxUSE_CONFIG" = 1 ; then
6361 cat >> confdefs.h
<<EOF
6362 #define wxUSE_CONFIG $wxUSE_CONFIG
6367 if test "$wxUSE_TIMEDATE" = 1 ; then
6368 cat >> confdefs.h
<<EOF
6369 #define wxUSE_TIMEDATE $wxUSE_TIMEDATE
6374 if test "$wxUSE_FRACTION" = 1 ; then
6375 cat >> confdefs.h
<<EOF
6376 #define wxUSE_FRACTION $wxUSE_FRACTION
6381 if test "$wxUSE_LOG" = 1 ; then
6382 cat >> confdefs.h
<<EOF
6383 #define wxUSE_LOG $wxUSE_LOG
6388 if test "$wxUSE_INTL" = 1 ; then
6389 cat >> confdefs.h
<<EOF
6390 #define wxUSE_INTL $wxUSE_INTL
6395 if test "$wxUSE_STREAMS" = 1 ; then
6396 cat >> confdefs.h
<<EOF
6397 #define wxUSE_STREAMS $wxUSE_STREAMS
6402 if test "$wxUSE_SERIAL" = 1 ; then
6403 cat >> confdefs.h
<<EOF
6404 #define wxUSE_SERIAL $wxUSE_SERIAL
6409 if test "$wxUSE_FILE" = 1 ; then
6410 cat >> confdefs.h
<<EOF
6411 #define wxUSE_FILE $wxUSE_FILE
6416 if test "$wxUSE_TEXTFILE" = 1 ; then
6417 cat >> confdefs.h
<<EOF
6418 #define wxUSE_TEXTFILE $wxUSE_TEXTFILE
6424 if test "$wxUSE_RPC" = 1 ; then
6425 cat >> confdefs.h
<<EOF
6426 #define wxUSE_RPC $wxUSE_RPC
6431 if test "$wxUSE_WX_RESOURCES" = 1 ; then
6432 cat >> confdefs.h
<<EOF
6433 #define wxUSE_WX_RESOURCES $wxUSE_WX_RESOURCES
6438 if test "$wxUSE_PROLOGIO" = 1 ; then
6439 cat >> confdefs.h
<<EOF
6440 #define wxUSE_PROLOGIO 1
6446 if test "$wxUSE_POSTSCRIPT" = 1 ; then
6447 cat >> confdefs.h
<<EOF
6448 #define wxUSE_POSTSCRIPT 1
6453 cat >> confdefs.h
<<EOF
6454 #define wxUSE_AFM_FOR_POSTSCRIPT $wxUSE_AFM_FOR_POSTSCRIPT
6458 cat >> confdefs.h
<<EOF
6459 #define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS
6464 if test "$wxUSE_MDI_ARCHITECTURE" = 1 ; then
6465 cat >> confdefs.h
<<EOF
6466 #define wxUSE_MDI_ARCHITECTURE $wxUSE_MDI_ARCHITECTURE
6471 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1 ; then
6472 cat >> confdefs.h
<<EOF
6473 #define wxUSE_DOC_VIEW_ARCHITECTURE $wxUSE_DOC_VIEW_ARCHITECTURE
6478 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1 ; then
6479 cat >> confdefs.h
<<EOF
6480 #define wxUSE_PRINTING_ARCHITECTURE $wxUSE_PRINTING_ARCHITECTURE
6486 if test "$wxUSE_UNICODE" = 1 ; then
6487 cat >> confdefs.h
<<EOF
6488 #define wxUSE_UNICODE 1
6493 if test "$wxUSE_WCSRTOMBS" = 1 ; then
6494 cat >> confdefs.h
<<EOF
6495 #define wxUSE_WCSRTOMBS 1
6501 if test "$wxUSE_IPC" = 1 ; then
6502 cat >> confdefs.h
<<EOF
6508 if test "$wxUSE_RESOURCES" = 1 ; then
6509 cat >> confdefs.h
<<EOF
6510 #define wxUSE_RESOURCES $wxUSE_RESOURCES
6515 if test "$wxUSE_CLIPBOARD" = 1 ; then
6516 cat >> confdefs.h
<<EOF
6517 #define wxUSE_CLIPBOARD $wxUSE_CLIPBOARD
6522 if test "$wxUSE_DND" = 1 ; then
6523 cat >> confdefs.h
<<EOF
6524 #define wxUSE_DND $wxUSE_DND
6529 if test "$wxUSE_CONSTRAINTS" = 1 ; then
6530 cat >> confdefs.h
<<EOF
6531 #define wxUSE_CONSTRAINTS $wxUSE_CONSTRAINTS
6538 if test "$wxUSE_METAFILE" = 1 ; then
6540 cat >> confdefs.h
<<EOF
6541 #define wxUSE_METAFILE $wxUSE_METAFILE
6548 if test "$wxUSE_HELP" = 1 ; then
6550 cat >> confdefs.h
<<EOF
6551 #define wxUSE_HELP $wxUSE_HELP
6558 if test "$wxUSE_WXGRAPH" = 1 ; then
6560 cat >> confdefs.h
<<EOF
6561 #define wxUSE_WXGRAPH $wxUSE_WXGRAPH
6568 if test "$wxUSE_WXTREE" = 1 ; then
6570 cat >> confdefs.h
<<EOF
6571 #define wxUSE_WXTREE $wxUSE_WXTREE
6578 if test "$wxUSE_OPENGL" = 1 ; then
6583 echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6
6584 echo "configure:6585: checking for main in -ldl" >&5
6585 ac_lib_var
=`echo dl'_'main | sed 'y%./+-%__p_%'`
6586 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6587 echo $ac_n "(cached) $ac_c" 1>&6
6589 ac_save_LIBS
="$LIBS"
6591 cat > conftest.
$ac_ext <<EOF
6592 #line 6593 "configure"
6593 #include "confdefs.h"
6599 if { (eval echo configure
:6600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6601 eval "ac_cv_lib_$ac_lib_var=yes"
6603 echo "configure: failed program was:" >&5
6604 cat conftest.
$ac_ext >&5
6606 eval "ac_cv_lib_$ac_lib_var=no"
6609 LIBS
="$ac_save_LIBS"
6612 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6613 echo "$ac_t""yes" 1>&6
6616 echo "$ac_t""no" 1>&6
6625 UNIX_THREAD
="gtk/threadno.cpp"
6628 echo $ac_n "checking "for threads
"""... $ac_c" 1>&6
6629 echo "configure:6630: checking "for threads
"" >&5
6630 # Check whether --with-threads or --without-threads was given.
6631 if test "${with_threads+set}" = set; then
6632 withval
="$with_threads"
6633 if test "x$with_threads" = xyes
; then
6634 ac_cv_use_threads
='wxwxUSE_THREADS="1"'
6636 ac_cv_use_threads
='wxwxUSE_THREADS="0"'
6640 LINE
=`grep "wxwxUSE_THREADS" ${OSTYPE}.system.cache`
6641 if test "x$LINE" != x
; then
6642 eval "DEFAULT_$LINE"
6644 ac_cv_use_threads
='wxwxUSE_THREADS='$DEFAULT_wxwxUSE_THREADS
6648 eval "$ac_cv_use_threads"
6649 echo $ac_cv_use_threads >> ${OSTYPE}.system.cache.tmp
6650 if test "$wxwxUSE_THREADS" = 1; then
6651 echo "$ac_t""yes" 1>&6
6653 echo "$ac_t""no" 1>&6
6658 if test "$wxwxUSE_THREADS" = "1"; then
6659 UNIX_THREAD
="gtk/threadno.cpp"
6662 echo $ac_n "checking for pthread_create in -lpthread-0.7""... $ac_c" 1>&6
6663 echo "configure:6664: checking for pthread_create in -lpthread-0.7" >&5
6664 ac_lib_var
=`echo pthread-0.7'_'pthread_create | sed 'y%./+-%__p_%'`
6665 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6666 echo $ac_n "(cached) $ac_c" 1>&6
6668 ac_save_LIBS
="$LIBS"
6669 LIBS
="-lpthread-0.7 $LIBS"
6670 cat > conftest.
$ac_ext <<EOF
6671 #line 6672 "configure"
6672 #include "confdefs.h"
6673 /* Override any gcc2 internal prototype to avoid an error. */
6674 /* We use char because int might match the return type of a gcc2
6675 builtin and then its argument prototype would still apply. */
6676 char pthread_create();
6682 if { (eval echo configure
:6683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6684 eval "ac_cv_lib_$ac_lib_var=yes"
6686 echo "configure: failed program was:" >&5
6687 cat conftest.
$ac_ext >&5
6689 eval "ac_cv_lib_$ac_lib_var=no"
6692 LIBS
="$ac_save_LIBS"
6695 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6696 echo "$ac_t""yes" 1>&6
6698 UNIX_THREAD
="gtk/threadpsx.cpp"
6699 THREADS_LINK
="-lpthread-0.7"
6702 echo "$ac_t""no" 1>&6
6704 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
6705 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
6706 echo "configure:6707: checking for sys/prctl.h" >&5
6707 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6708 echo $ac_n "(cached) $ac_c" 1>&6
6710 cat > conftest.
$ac_ext <<EOF
6711 #line 6712 "configure"
6712 #include "confdefs.h"
6713 #include <sys/prctl.h>
6715 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6716 { (eval echo configure
:6717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6717 ac_err
=`grep -v '^ *+' conftest.out`
6718 if test -z "$ac_err"; then
6720 eval "ac_cv_header_$ac_safe=yes"
6723 echo "configure: failed program was:" >&5
6724 cat conftest.
$ac_ext >&5
6726 eval "ac_cv_header_$ac_safe=no"
6730 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6731 echo "$ac_t""yes" 1>&6
6733 UNIX_THREAD
="gtk/threadsgi.cpp"
6736 echo "$ac_t""no" 1>&6
6741 echo $ac_n "checking for pthread_setcanceltype in -lpthread""... $ac_c" 1>&6
6742 echo "configure:6743: checking for pthread_setcanceltype in -lpthread" >&5
6743 ac_lib_var
=`echo pthread'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
6744 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6745 echo $ac_n "(cached) $ac_c" 1>&6
6747 ac_save_LIBS
="$LIBS"
6748 LIBS
="-lpthread $LIBS"
6749 cat > conftest.
$ac_ext <<EOF
6750 #line 6751 "configure"
6751 #include "confdefs.h"
6752 /* Override any gcc2 internal prototype to avoid an error. */
6753 /* We use char because int might match the return type of a gcc2
6754 builtin and then its argument prototype would still apply. */
6755 char pthread_setcanceltype();
6758 pthread_setcanceltype()
6761 if { (eval echo configure
:6762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6763 eval "ac_cv_lib_$ac_lib_var=yes"
6765 echo "configure: failed program was:" >&5
6766 cat conftest.
$ac_ext >&5
6768 eval "ac_cv_lib_$ac_lib_var=no"
6771 LIBS
="$ac_save_LIBS"
6774 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6775 echo "$ac_t""yes" 1>&6
6777 UNIX_THREAD
="gtk/threadpsx.cpp"
6778 THREADS_LINK
="-lpthread"
6781 echo "$ac_t""no" 1>&6
6787 echo $ac_n "checking for pthread_setcanceltype in -lpthreads""... $ac_c" 1>&6
6788 echo "configure:6789: checking for pthread_setcanceltype in -lpthreads" >&5
6789 ac_lib_var
=`echo pthreads'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
6790 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6791 echo $ac_n "(cached) $ac_c" 1>&6
6793 ac_save_LIBS
="$LIBS"
6794 LIBS
="-lpthreads $LIBS"
6795 cat > conftest.
$ac_ext <<EOF
6796 #line 6797 "configure"
6797 #include "confdefs.h"
6798 /* Override any gcc2 internal prototype to avoid an error. */
6799 /* We use char because int might match the return type of a gcc2
6800 builtin and then its argument prototype would still apply. */
6801 char pthread_setcanceltype();
6804 pthread_setcanceltype()
6807 if { (eval echo configure
:6808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6809 eval "ac_cv_lib_$ac_lib_var=yes"
6811 echo "configure: failed program was:" >&5
6812 cat conftest.
$ac_ext >&5
6814 eval "ac_cv_lib_$ac_lib_var=no"
6817 LIBS
="$ac_save_LIBS"
6820 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6821 echo "$ac_t""yes" 1>&6
6823 UNIX_THREAD
="gtk/threadpsx.cpp"
6824 THREADS_LINK
="-lpthreads"
6827 echo "$ac_t""no" 1>&6
6832 if test -z "$UNIX_THREAD"; then
6838 cat >> confdefs.h
<<\EOF
6839 #define wxwxUSE_THREADS 1
6849 if test "$wxUSE_OPENGL" = 1; then
6850 echo $ac_n "checking for OpenGL includes""... $ac_c" 1>&6
6851 echo "configure:6852: checking for OpenGL includes" >&5
6854 for ac_dir
in $SEARCH_INCLUDE;
6856 if test -f "$ac_dir/GL/gl.h"; then
6857 ac_find_includes
=$ac_dir
6862 if test "$ac_find_includes" != "" ; then
6863 OPENGL_INCLUDE
="-I$ac_find_includes"
6864 echo "$ac_t""found $ac_find_includes" 1>&6
6865 echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6
6866 echo "configure:6867: checking for OpenGL library" >&5
6869 for ac_dir
in $SEARCH_LIB;
6871 for ac_extension
in a so sl
; do
6872 if test -f "$ac_dir/libGL.$ac_extension"; then
6873 ac_find_libraries
=$ac_dir
6879 if test "$ac_find_libraries" != "" ; then
6881 ac_path_to_include
=$ac_find_includes
6882 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6884 if test $result = 0; then
6885 ac_path_to_include
=""
6887 ac_path_to_include
="-I$ac_find_includes"
6891 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6893 if test $result = 0; then
6896 ac_path_to_link
="-L$ac_find_libraries"
6899 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6900 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6901 OPENGL_LIBRARY
="$ac_path_to_link"
6902 OPENGL_INCLUDE
="$ac_path_to_include"
6904 echo "$ac_t""found OpenGL at $ac_find_libraries" 1>&6
6908 for ac_dir
in $SEARCH_LIB;
6910 for ac_extension
in a so sl
; do
6911 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6912 ac_find_libraries
=$ac_dir
6918 if test "$ac_find_libraries" != "" ; then
6920 ac_path_to_include
=$ac_find_includes
6921 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6923 if test $result = 0; then
6924 ac_path_to_include
=""
6926 ac_path_to_include
="-I$ac_find_includes"
6930 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6932 if test $result = 0; then
6935 ac_path_to_link
="-L$ac_find_libraries"
6938 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6939 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6940 OPENGL_LIBRARY
="$ac_path_to_link"
6941 OPENGL_INCLUDE
="$ac_path_to_include"
6942 OPENGL_LINK
="-lMesaGL"
6943 echo "$ac_t""found MESA at $ac_find_libraries" 1>&6
6945 { echo "configure: error: no" 1>&2; exit 1; }
6949 { echo "configure: error: no" 1>&2; exit 1; }
6954 wxUSE_GLX
=$wxUSE_OPENGL
6955 if test "$wxUSE_OPENGL" != 1; then
6962 cat >> confdefs.h
<<EOF
6963 #define wxUSE_GLX $wxUSE_GLX
6974 case "${canonical}" in
6977 if test "$GCC" != "yes" ; then
6978 CXXFLAGS
="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
6979 CFLAGS
="${CFLAGS} -z -D_HPUX_SOURCE"
6985 CREATE_SHARED
=sharedHpux
6990 CREATE_SHARED
=sharedLinux
6993 *-*-irix5* | *-*-irix6* )
6994 # PICFLAGS can remain empty, as pic is the default
6996 CREATE_SHARED
=sharedIrix
6997 cat >> confdefs.h
<<\EOF
7004 if test "$GCC" != "yes" ; then
7009 CREATE_SHARED
=sharedSolaris2
7010 cat >> confdefs.h
<<\EOF
7017 if test "$GCC" != "yes" ; then
7023 CREATE_SHARED
=sharedSunos4
7024 cat >> confdefs.h
<<\EOF
7030 *-*-freebsd* | *-*-netbsd*)
7032 CREATE_SHARED
=sharedBsd
7033 cat >> confdefs.h
<<\EOF
7041 CREATE_SHARED
=sharedOSF
7045 if test "$GCC" != "yes" ; then
7050 CREATE_SHARED
=sharedDgux
7051 cat >> confdefs.h
<<\EOF
7058 if test "$GCC" != "yes" ; then
7063 CREATE_SHARED
=sharedSysV
7064 cat >> confdefs.h
<<\EOF
7071 if test "$GCC" != "yes" ; then
7076 CREATE_SHARED
=sharedAIX
7077 cat >> confdefs.h
<<\EOF
7088 if test "x$GCC" = xyes
; then
7089 CFLAGS
="${CFLAGS} -Wall"
7092 if test "x$GXX" = xyes
; then
7093 CXXFLAGS
="${CXXFLAGS} -Wall"
7096 if test "$wxUSE_SHARED" != 1; then
7106 echo $OS >> system.list
7110 cat > confcache
<<\EOF
7111 # This file is a shell script that caches the results of configure
7112 # tests run on this system so they can be shared between configure
7113 # scripts and configure runs. It is not useful on other systems.
7114 # If it contains results you don't want to keep, you may remove or edit it.
7116 # By default, configure uses ./config.cache as the cache file,
7117 # creating it if it does not exist already. You can give configure
7118 # the --cache-file=FILE option to use a different cache file; that is
7119 # what configure does when it calls configure scripts in
7120 # subdirectories, so they share the cache.
7121 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7122 # config.status only pays attention to the cache file if you give it the
7123 # --recheck option to rerun configure.
7126 # The following way of writing the cache mishandles newlines in values,
7127 # but we know of no workaround that is simple, portable, and efficient.
7128 # So, don't put newlines in cache variables' values.
7129 # Ultrix sh set writes to stderr and can't be redirected directly,
7130 # and sets the high bit in the cache file unless we assign to the vars.
7132 case `(ac_space=' '; set) 2>&1` in
7134 # `set' does not quote correctly, so add quotes (double-quote substitution
7135 # turns \\\\ into \\, and sed turns \\ into \).
7137 -e "s/'/'\\\\''/g" \
7138 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7141 # `set' quotes correctly as required by POSIX, so do not add quotes.
7142 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7145 if cmp -s $cache_file confcache
; then
7148 if test -w $cache_file; then
7149 echo "updating cache $cache_file"
7150 cat confcache
> $cache_file
7152 echo "not updating unwritable cache $cache_file"
7157 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
7159 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7160 # Let make expand exec_prefix.
7161 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7163 # Any assignment to VPATH causes Sun make to only execute
7164 # the first set of double-colon rules, so remove it if not needed.
7165 # If there is a colon in the path, we need to keep it.
7166 if test "x$srcdir" = x.
; then
7167 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
7170 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
7172 DEFS
=-DHAVE_CONFIG_H
7174 # Without the "./", some shells look in PATH for config.status.
7175 : ${CONFIG_STATUS=./config.status}
7177 echo creating
$CONFIG_STATUS
7178 rm -f $CONFIG_STATUS
7179 cat > $CONFIG_STATUS <<EOF
7181 # Generated automatically by configure.
7182 # Run this file to recreate the current configuration.
7183 # This directory was configured as follows,
7184 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7186 # $0 $ac_configure_args
7188 # Compiler output produced by configure, useful for debugging
7189 # configure, is in ./config.log if it exists.
7191 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
7194 case "\$ac_option" in
7195 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7196 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
7197 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
7198 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
7199 echo "$CONFIG_STATUS generated by autoconf version 2.12"
7201 -help | --help | --hel | --he | --h)
7202 echo "\$ac_cs_usage"; exit 0 ;;
7203 *) echo "\$ac_cs_usage"; exit 1 ;;
7207 ac_given_srcdir=$srcdir
7208 ac_given_INSTALL="$INSTALL"
7210 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
7212 cat >> $CONFIG_STATUS <<EOF
7214 # Protect against being on the right side of a sed subst in config.status.
7215 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
7216 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
7219 s%@CFLAGS@%$CFLAGS%g
7220 s%@CPPFLAGS@%$CPPFLAGS%g
7221 s%@CXXFLAGS@%$CXXFLAGS%g
7223 s%@LDFLAGS@%$LDFLAGS%g
7225 s%@exec_prefix@%$exec_prefix%g
7226 s%@prefix@%$prefix%g
7227 s%@program_transform_name@%$program_transform_name%g
7228 s%@bindir@%$bindir%g
7229 s%@sbindir@%$sbindir%g
7230 s%@libexecdir@%$libexecdir%g
7231 s%@datadir@%$datadir%g
7232 s%@sysconfdir@%$sysconfdir%g
7233 s%@sharedstatedir@%$sharedstatedir%g
7234 s%@localstatedir@%$localstatedir%g
7235 s%@libdir@%$libdir%g
7236 s%@includedir@%$includedir%g
7237 s%@oldincludedir@%$oldincludedir%g
7238 s%@infodir@%$infodir%g
7239 s%@mandir@%$mandir%g
7240 s%@WXBASEDIR@%$WXBASEDIR%g
7244 s%@CXXCPP@%$CXXCPP%g
7245 s%@RANLIB@%$RANLIB%g
7247 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
7248 s%@INSTALL_DATA@%$INSTALL_DATA%g
7251 s%@X_CFLAGS@%$X_CFLAGS%g
7252 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
7253 s%@X_LIBS@%$X_LIBS%g
7254 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
7255 s%@GTK_JOYSTICK@%$GTK_JOYSTICK%g
7256 s%@LIBOBJS@%$LIBOBJS%g
7259 s%@LEXLIB@%$LEXLIB%g
7260 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
7262 s%@host_alias@%$host_alias%g
7263 s%@host_cpu@%$host_cpu%g
7264 s%@host_vendor@%$host_vendor%g
7265 s%@host_os@%$host_os%g
7266 s%@GTK_CONFIG@%$GTK_CONFIG%g
7267 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
7268 s%@GTK_LIBS@%$GTK_LIBS%g
7269 s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g
7270 s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g
7271 s%@GUI_TK_LINK@%$GUI_TK_LINK%g
7272 s%@TOOLKIT@%$TOOLKIT%g
7273 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
7274 s%@MAKEINCLUDE@%$MAKEINCLUDE%g
7275 s%@WXDEBUG@%$WXDEBUG%g
7276 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
7277 s%@EXTRA_LINK@%$EXTRA_LINK%g
7278 s%@PROFILE@%$PROFILE%g
7279 s%@OPTIMISE@%$OPTIMISE%g
7280 s%@IODBC_C_SRC@%$IODBC_C_SRC%g
7281 s%@METAFILE@%$METAFILE%g
7283 s%@WXGRAPH@%$WXGRAPH%g
7284 s%@WXTREE@%$WXTREE%g
7285 s%@DL_LIBRARY@%$DL_LIBRARY%g
7286 s%@UNIX_THREAD@%$UNIX_THREAD%g
7287 s%@THREADS_LINK@%$THREADS_LINK%g
7288 s%@OPENGL_INCLUDE@%$OPENGL_INCLUDE%g
7289 s%@OPENGL_LIBRARY@%$OPENGL_LIBRARY%g
7290 s%@OPENGL_LINK@%$OPENGL_LINK%g
7291 s%@GLCANVAS@%$GLCANVAS%g
7293 s%@PICFLAGS@%$PICFLAGS%g
7294 s%@CREATE_SHARED@%$CREATE_SHARED%g
7299 cat >> $CONFIG_STATUS <<\EOF
7301 # Split the substitutions into bite-sized pieces for seds with
7302 # small command number limits, like on Digital OSF/1 and HP-UX.
7303 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
7304 ac_file
=1 # Number of current file.
7305 ac_beg
=1 # First line for current file.
7306 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
7309 while $ac_more_lines; do
7310 if test $ac_beg -gt 1; then
7311 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
7313 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
7315 if test ! -s conftest.s
$ac_file; then
7317 rm -f conftest.s
$ac_file
7319 if test -z "$ac_sed_cmds"; then
7320 ac_sed_cmds
="sed -f conftest.s$ac_file"
7322 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
7324 ac_file
=`expr $ac_file + 1`
7326 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
7329 if test -z "$ac_sed_cmds"; then
7334 cat >> $CONFIG_STATUS <<EOF
7336 CONFIG_FILES=\${CONFIG_FILES-"./setup/substit ./wx-config:./wx-config.in"}
7338 cat >> $CONFIG_STATUS <<\EOF
7339 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
7340 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7342 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7343 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7344 *) ac_file_in
="${ac_file}.in" ;;
7347 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
7349 # Remove last slash and all that follows it. Not all systems have dirname.
7350 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7351 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
7352 # The file is in a subdirectory.
7353 test ! -d "$ac_dir" && mkdir "$ac_dir"
7354 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
7355 # A "../" for each directory in $ac_dir_suffix.
7356 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
7358 ac_dir_suffix
= ac_dots
=
7361 case "$ac_given_srcdir" in
7363 if test -z "$ac_dots"; then top_srcdir
=.
7364 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
7365 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
7367 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
7368 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
7371 case "$ac_given_INSTALL" in
7372 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
7373 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
7376 echo creating
"$ac_file"
7378 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
7380 *Makefile
*) ac_comsub
="1i\\
7381 # $configure_input" ;;
7385 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7387 s%@configure_input@%$configure_input%g
7388 s%@srcdir@%$srcdir%g
7389 s%@top_srcdir@%$top_srcdir%g
7390 s%@INSTALL@%$INSTALL%g
7391 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
7395 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7396 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7398 # ac_d sets the value in "#define NAME VALUE" lines.
7399 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7400 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
7403 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
7404 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7405 ac_uB
='\([ ]\)%\1#\2define\3'
7408 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7409 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7410 ac_eB
='$%\1#\2define\3'
7414 if test "${CONFIG_HEADERS+set}" != set; then
7416 cat >> $CONFIG_STATUS <<EOF
7417 CONFIG_HEADERS="./include/wx/gtk/setup.h:./setup/setup.hin"
7419 cat >> $CONFIG_STATUS <<\EOF
7421 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
7422 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7424 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7425 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7426 *) ac_file_in
="${ac_file}.in" ;;
7429 echo creating
$ac_file
7431 rm -f conftest.frag conftest.
in conftest.out
7432 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7433 cat $ac_file_inputs > conftest.
in
7437 # Transform confdefs.h into a sed script conftest.vals that substitutes
7438 # the proper values into config.h.in to produce config.h. And first:
7439 # Protect against being on the right side of a sed subst in config.status.
7440 # Protect against being in an unquoted here document in config.status.
7442 cat > conftest.hdr
<<\EOF
7445 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
7449 sed -n -f conftest.hdr confdefs.h > conftest.vals
7452 # This sed command replaces #undef with comments. This is necessary, for
7453 # example, in the case of _POSIX_SOURCE, which is predefined and required
7454 # on some systems where configure will not decide to define it.
7455 cat >> conftest.vals <<\EOF
7456 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
7459 # Break up conftest.vals because some shells have a limit on
7460 # the size of here documents, and old seds have small limits too.
7465 ac_lines=`grep -c . conftest.vals
`
7466 # grep -c gives empty output for an empty file on some AIX systems.
7467 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
7468 # Write a limited-size here document to conftest.frag.
7469 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
7470 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
7472 sed -f conftest.frag conftest.in > conftest.out
7474 mv conftest.out conftest.in
7476 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
7478 mv conftest.tail conftest.vals
7482 cat >> $CONFIG_STATUS <<\EOF
7483 rm -f conftest.frag conftest.h
7484 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
7485 cat conftest.in >> conftest.h
7487 if cmp -s $ac_file conftest.h 2>/dev/null; then
7488 echo "$ac_file is unchanged"
7491 # Remove last slash and all that follows it. Not all systems have dirname.
7492 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7493 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7494 # The file is in a subdirectory.
7495 test ! -d "$ac_dir" && mkdir "$ac_dir"
7498 mv conftest.h $ac_file
7503 cat >> $CONFIG_STATUS <<EOF
7506 cat >> $CONFIG_STATUS <<\EOF
7507 ./setup/general/createall
7510 chmod +x $CONFIG_STATUS
7511 rm -fr confdefs* $ac_clean_files
7512 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
7516 mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache