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-debug_gdb create code with extra GDB debuging information"
33 **--with-mem_traing create code with memory tracing"
35 **--with-dmalloc use dmalloc memory debug library (www.letters.com/dmalloc/)"
37 **--with-profile create code with profiling information"
39 **--with_apple_ieee use the Apple IEEE codec"
41 **--with-zlib use zlib for LZW comression"
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-help use help (using external browser at present)"
117 **--with-gtk-prefix=PFX Prefix where GTK is installed"
119 **--with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
121 **--without-threads Force disabling threads"
123 # Initialize some variables set by options.
124 # The variables have the same names as the options, with
125 # dashes changed to underlines.
127 cache_file
=.
/config.cache
136 program_transform_name
=s
,x
,x
,
144 bindir
='${exec_prefix}/bin'
145 sbindir
='${exec_prefix}/sbin'
146 libexecdir
='${exec_prefix}/libexec'
147 datadir
='${prefix}/share'
148 sysconfdir
='${prefix}/etc'
149 sharedstatedir
='${prefix}/com'
150 localstatedir
='${prefix}/var'
151 libdir
='${exec_prefix}/lib'
152 includedir
='${prefix}/include'
153 oldincludedir
='/usr/include'
154 infodir
='${prefix}/info'
155 mandir
='${prefix}/man'
157 # Initialize some other variables.
160 # Maximum number of lines to put in a shell here document.
167 # If the previous option needs an argument, assign it.
168 if test -n "$ac_prev"; then
169 eval "$ac_prev=\$ac_option"
175 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
179 # Accept the important Cygnus configure options, so we can diagnose typos.
183 -bindir | --bindir | --bindi | --bind | --bin | --bi)
185 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
186 bindir
="$ac_optarg" ;;
188 -build | --build | --buil | --bui | --bu)
190 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
191 build
="$ac_optarg" ;;
193 -cache-file | --cache-file | --cache-fil | --cache-fi \
194 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
195 ac_prev
=cache_file
;;
196 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
197 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
198 cache_file
="$ac_optarg" ;;
200 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
202 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
204 datadir
="$ac_optarg" ;;
206 -disable-* | --disable-*)
207 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
208 # Reject names that are not valid shell variable names.
209 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
210 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
212 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
213 eval "enable_${ac_feature}=no" ;;
215 -enable-* | --enable-*)
216 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
217 # Reject names that are not valid shell variable names.
218 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
219 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
221 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
226 eval "enable_${ac_feature}='$ac_optarg'" ;;
228 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
229 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
230 | --exec | --exe | --ex)
231 ac_prev
=exec_prefix
;;
232 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
233 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
234 | --exec=* | --exe=* | --ex=*)
235 exec_prefix
="$ac_optarg" ;;
237 -gas | --gas | --ga | --g)
238 # Obsolete; use --with-gas.
241 -help | --help | --hel | --he)
242 # Omit some internal or obsolete options to make the list less imposing.
243 # This message is too long to be a string in the A/UX 3.1 sh.
245 Usage: configure [options] [host]
246 Options: [defaults in brackets after descriptions]
248 --cache-file=FILE cache test results in FILE
249 --help print this message
250 --no-create do not create output files
251 --quiet, --silent do not print \`checking...' messages
252 --version print the version of autoconf that created configure
253 Directory and file names:
254 --prefix=PREFIX install architecture-independent files in PREFIX
256 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
258 --bindir=DIR user executables in DIR [EPREFIX/bin]
259 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
260 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
261 --datadir=DIR read-only architecture-independent data in DIR
263 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
264 --sharedstatedir=DIR modifiable architecture-independent data in DIR
266 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
267 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
268 --includedir=DIR C header files in DIR [PREFIX/include]
269 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
270 --infodir=DIR info documentation in DIR [PREFIX/info]
271 --mandir=DIR man documentation in DIR [PREFIX/man]
272 --srcdir=DIR find the sources in DIR [configure dir or ..]
273 --program-prefix=PREFIX prepend PREFIX to installed program names
274 --program-suffix=SUFFIX append SUFFIX to installed program names
275 --program-transform-name=PROGRAM
276 run sed PROGRAM on installed program names
280 --build=BUILD configure for building on BUILD [BUILD=HOST]
281 --host=HOST configure for HOST [guessed]
282 --target=TARGET configure for TARGET [TARGET=HOST]
283 Features and packages:
284 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
285 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
286 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
287 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
288 --x-includes=DIR X include files are in DIR
289 --x-libraries=DIR X library files are in DIR
291 if test -n "$ac_help"; then
292 echo "--enable and --with options recognized:$ac_help"
296 -host | --host | --hos | --ho)
298 -host=* | --host=* | --hos=* | --ho=*)
301 -includedir | --includedir | --includedi | --included | --include \
302 | --includ | --inclu | --incl | --inc)
303 ac_prev
=includedir
;;
304 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
305 | --includ=* | --inclu=* | --incl=* | --inc=*)
306 includedir
="$ac_optarg" ;;
308 -infodir | --infodir | --infodi | --infod | --info | --inf)
310 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
311 infodir
="$ac_optarg" ;;
313 -libdir | --libdir | --libdi | --libd)
315 -libdir=* | --libdir=* | --libdi=* | --libd=*)
316 libdir
="$ac_optarg" ;;
318 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
319 | --libexe | --libex | --libe)
320 ac_prev
=libexecdir
;;
321 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
322 | --libexe=* | --libex=* | --libe=*)
323 libexecdir
="$ac_optarg" ;;
325 -localstatedir | --localstatedir | --localstatedi | --localstated \
326 | --localstate | --localstat | --localsta | --localst \
327 | --locals | --local | --loca | --loc | --lo)
328 ac_prev
=localstatedir
;;
329 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
330 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
331 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
332 localstatedir
="$ac_optarg" ;;
334 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
336 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
337 mandir
="$ac_optarg" ;;
340 # Obsolete; use --without-fp.
343 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
347 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
348 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
351 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
352 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
353 | --oldin | --oldi | --old | --ol | --o)
354 ac_prev
=oldincludedir
;;
355 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
356 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
357 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
358 oldincludedir
="$ac_optarg" ;;
360 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
362 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
363 prefix
="$ac_optarg" ;;
365 -program-prefix | --program-prefix | --program-prefi | --program-pref \
366 | --program-pre | --program-pr | --program-p)
367 ac_prev
=program_prefix
;;
368 -program-prefix=* | --program-prefix=* | --program-prefi=* \
369 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
370 program_prefix
="$ac_optarg" ;;
372 -program-suffix | --program-suffix | --program-suffi | --program-suff \
373 | --program-suf | --program-su | --program-s)
374 ac_prev
=program_suffix
;;
375 -program-suffix=* | --program-suffix=* | --program-suffi=* \
376 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
377 program_suffix
="$ac_optarg" ;;
379 -program-transform-name | --program-transform-name \
380 | --program-transform-nam | --program-transform-na \
381 | --program-transform-n | --program-transform- \
382 | --program-transform | --program-transfor \
383 | --program-transfo | --program-transf \
384 | --program-trans | --program-tran \
385 | --progr-tra | --program-tr | --program-t)
386 ac_prev
=program_transform_name
;;
387 -program-transform-name=* | --program-transform-name=* \
388 | --program-transform-nam=* | --program-transform-na=* \
389 | --program-transform-n=* | --program-transform-=* \
390 | --program-transform=* | --program-transfor=* \
391 | --program-transfo=* | --program-transf=* \
392 | --program-trans=* | --program-tran=* \
393 | --progr-tra=* | --program-tr=* | --program-t=*)
394 program_transform_name
="$ac_optarg" ;;
396 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
397 | -silent | --silent | --silen | --sile | --sil)
400 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
402 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
404 sbindir
="$ac_optarg" ;;
406 -sharedstatedir | --sharedstatedir | --sharedstatedi \
407 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
408 | --sharedst | --shareds | --shared | --share | --shar \
410 ac_prev
=sharedstatedir
;;
411 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
412 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
413 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
415 sharedstatedir
="$ac_optarg" ;;
417 -site | --site | --sit)
419 -site=* | --site=* | --sit=*)
422 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
424 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
425 srcdir
="$ac_optarg" ;;
427 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
428 | --syscon | --sysco | --sysc | --sys | --sy)
429 ac_prev
=sysconfdir
;;
430 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
431 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
432 sysconfdir
="$ac_optarg" ;;
434 -target | --target | --targe | --targ | --tar | --ta | --t)
436 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
437 target
="$ac_optarg" ;;
439 -v | -verbose | --verbose | --verbos | --verbo | --verb)
442 -version | --version | --versio | --versi | --vers)
443 echo "configure generated by autoconf version 2.12"
447 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
448 # Reject names that are not valid shell variable names.
449 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
450 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
452 ac_package
=`echo $ac_package| sed 's/-/_/g'`
457 eval "with_${ac_package}='$ac_optarg'" ;;
459 -without-* | --without-*)
460 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
461 # Reject names that are not valid shell variable names.
462 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
463 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
465 ac_package
=`echo $ac_package| sed 's/-/_/g'`
466 eval "with_${ac_package}=no" ;;
469 # Obsolete; use --with-x.
472 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
473 | --x-incl | --x-inc | --x-in | --x-i)
474 ac_prev
=x_includes
;;
475 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
476 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
477 x_includes
="$ac_optarg" ;;
479 -x-libraries | --x-libraries | --x-librarie | --x-librari \
480 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
481 ac_prev
=x_libraries
;;
482 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
483 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
484 x_libraries
="$ac_optarg" ;;
486 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
490 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
491 echo "configure: warning: $ac_option: invalid host type" 1>&2
493 if test "x$nonopt" != xNONE
; then
494 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
502 if test -n "$ac_prev"; then
503 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
506 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
508 # File descriptor usage:
511 # 2 errors and warnings
512 # 3 some systems may open it to /dev/tty
513 # 4 used on the Kubota Titan
514 # 6 checking for... messages and results
515 # 5 compiler messages saved in config.log
516 if test "$silent" = yes; then
524 This file contains any messages produced by compilers while
525 running configure, to aid debugging if configure makes a mistake.
528 # Strip out --no-create and --no-recursion so they do not pile up.
529 # Also quote any args containing shell metacharacters.
534 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
535 | --no-cr | --no-c) ;;
536 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
537 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
538 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
539 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
540 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
545 # Only set these to C if already set. These must not be set unconditionally
546 # because not all systems understand e.g. LANG=C (notably SCO).
547 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
548 # Non-C LC_CTYPE values break the ctype check.
549 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
550 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
551 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
552 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
554 # confdefs.h avoids OS command line length limits that DEFS can exceed.
555 rm -rf conftest
* confdefs.h
556 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
559 # A filename unique to this package, relative to the directory that
560 # configure is in, which we can look for to find out if srcdir is correct.
561 ac_unique_file
=configure.
in
563 # Find the source files, if location was not specified.
564 if test -z "$srcdir"; then
565 ac_srcdir_defaulted
=yes
566 # Try the directory containing this script, then its parent.
568 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
569 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
571 if test ! -r $srcdir/$ac_unique_file; then
575 ac_srcdir_defaulted
=no
577 if test ! -r $srcdir/$ac_unique_file; then
578 if test "$ac_srcdir_defaulted" = yes; then
579 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
581 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
584 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
586 # Prefer explicitly selected file to automatically selected ones.
587 if test -z "$CONFIG_SITE"; then
588 if test "x$prefix" != xNONE
; then
589 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
591 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
594 for ac_site_file
in $CONFIG_SITE; do
595 if test -r "$ac_site_file"; then
596 echo "loading site script $ac_site_file"
601 if test -r "$cache_file"; then
602 echo "loading cache $cache_file"
605 echo "creating cache $cache_file"
610 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
611 ac_cpp
='$CPP $CPPFLAGS'
612 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
613 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
614 cross_compiling
=$ac_cv_prog_cc_cross
616 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
617 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
618 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
625 ac_n
= ac_c
='\c' ac_t
=
633 if test "x$OS" = "x"; then
635 { echo "configure: error: "The system variable OS has not been
set"
636 "please
set is everytime befor compiling on this system
"
637 "A good example
for this system would be
:"
638 "setenv OSTYPE
$UNAME for csh as a SHELL
"
639 "EXPORT OSTYPE
=$UNAME for sh as SHELL
"
640 "please
set this and restart again.
"
650 /usr/Motif1.2/include \
665 /usr/local/X11R6/include \
666 /usr/local/X11R5/include \
667 /usr/local/X11R4/include \
669 /usr/local/include/X11R6 \
670 /usr/local/include/X11R5 \
671 /usr/local/include/X11R4 \
675 /usr/local/X11/include \
676 /usr/local/include/X11 \
680 /usr/XFree86/include/X11 \
687 /usr/unsupported/include \
688 /usr/athena/include \
689 /usr/local/x11r5/include \
690 /usr/lpp/Xamples/include \
692 /usr/local/include/gtk \
693 /usr/local/include/Xm \
694 /usr/local/include/qt \
695 /usr/X11R6/include/Xm \
696 /usr/X11/include/Xm \
699 /usr/openwin/include \
700 /usr/openwin/share/include \
703 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` \
709 # Extract the first word of "gcc", so it can be a program name with args.
710 set dummy gcc
; ac_word
=$2
711 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
712 echo "configure:713: checking for $ac_word" >&5
713 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
714 echo $ac_n "(cached) $ac_c" 1>&6
716 if test -n "$CC"; then
717 ac_cv_prog_CC
="$CC" # Let the user override the test.
719 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
720 for ac_dir
in $PATH; do
721 test -z "$ac_dir" && ac_dir
=.
722 if test -f $ac_dir/$ac_word; then
731 if test -n "$CC"; then
732 echo "$ac_t""$CC" 1>&6
734 echo "$ac_t""no" 1>&6
737 if test -z "$CC"; then
738 # Extract the first word of "cc", so it can be a program name with args.
739 set dummy cc
; ac_word
=$2
740 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
741 echo "configure:742: checking for $ac_word" >&5
742 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
743 echo $ac_n "(cached) $ac_c" 1>&6
745 if test -n "$CC"; then
746 ac_cv_prog_CC
="$CC" # Let the user override the test.
748 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
750 for ac_dir
in $PATH; do
751 test -z "$ac_dir" && ac_dir
=.
752 if test -f $ac_dir/$ac_word; then
753 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
762 if test $ac_prog_rejected = yes; then
763 # We found a bogon in the path, so make sure we never use it.
764 set dummy
$ac_cv_prog_CC
766 if test $# -gt 0; then
767 # We chose a different compiler from the bogus one.
768 # However, it has the same basename, so the bogon will be chosen
769 # first if we set CC to just the basename; use the full file name.
771 set dummy
"$ac_dir/$ac_word" "$@"
779 if test -n "$CC"; then
780 echo "$ac_t""$CC" 1>&6
782 echo "$ac_t""no" 1>&6
785 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
788 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
789 echo "configure:790: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
792 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
793 ac_cpp
='$CPP $CPPFLAGS'
794 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
795 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
796 cross_compiling
=$ac_cv_prog_cc_cross
798 cat > conftest.
$ac_ext <<EOF
799 #line 800 "configure"
800 #include "confdefs.h"
803 if { (eval echo configure
:804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
804 ac_cv_prog_cc_works
=yes
805 # If we can't run a trivial program, we are probably using a cross compiler.
806 if (.
/conftest
; exit) 2>/dev
/null
; then
807 ac_cv_prog_cc_cross
=no
809 ac_cv_prog_cc_cross
=yes
812 echo "configure: failed program was:" >&5
813 cat conftest.
$ac_ext >&5
814 ac_cv_prog_cc_works
=no
818 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
819 if test $ac_cv_prog_cc_works = no
; then
820 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
822 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
823 echo "configure:824: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
824 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
825 cross_compiling
=$ac_cv_prog_cc_cross
827 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
828 echo "configure:829: checking whether we are using GNU C" >&5
829 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
830 echo $ac_n "(cached) $ac_c" 1>&6
832 cat > conftest.c
<<EOF
837 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
844 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
846 if test $ac_cv_prog_gcc = yes; then
848 ac_test_CFLAGS
="${CFLAGS+set}"
849 ac_save_CFLAGS
="$CFLAGS"
851 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
852 echo "configure:853: checking whether ${CC-cc} accepts -g" >&5
853 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
854 echo $ac_n "(cached) $ac_c" 1>&6
856 echo 'void f(){}' > conftest.c
857 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
866 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
867 if test "$ac_test_CFLAGS" = set; then
868 CFLAGS
="$ac_save_CFLAGS"
869 elif test $ac_cv_prog_cc_g = yes; then
876 test "${CFLAGS+set}" = set || CFLAGS
="-g"
880 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
882 if test "x$CC" != xcc
; then
883 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
884 echo "configure:885: checking whether $CC and cc understand -c and -o together" >&5
886 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
887 echo "configure:888: checking whether cc understands -c and -o together" >&5
889 set dummy
$CC; ac_cc
="`echo $2 |
890 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
891 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
892 echo $ac_n "(cached) $ac_c" 1>&6
894 echo 'foo(){}' > conftest.c
895 # Make sure it works both with $CC and with simple cc.
896 # We do the test twice because some compilers refuse to overwrite an
897 # existing .o file with -o, though they will create one.
898 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5'
899 if { (eval echo configure
:900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
900 test -f conftest.o
&& { (eval echo configure
:901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
902 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
903 if test "x$CC" != xcc
; then
904 # Test first that cc exists at all.
905 if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
906 ac_try
='cc -c conftest.c -o conftest.o 1>&5'
907 if { (eval echo configure
:908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
908 test -f conftest.o
&& { (eval echo configure
:909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
913 # cc exists but doesn't like -o.
914 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
919 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
924 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
925 echo "$ac_t""yes" 1>&6
927 echo "$ac_t""no" 1>&6
928 cat >> confdefs.h
<<\EOF
929 #define NO_MINUS_C_MINUS_O 1
934 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
935 echo "configure:936: checking how to run the C preprocessor" >&5
936 # On Suns, sometimes $CPP names a directory.
937 if test -n "$CPP" && test -d "$CPP"; then
940 if test -z "$CPP"; then
941 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
942 echo $ac_n "(cached) $ac_c" 1>&6
944 # This must be in double quotes, not single quotes, because CPP may get
945 # substituted into the Makefile and "${CC-cc}" will confuse make.
947 # On the NeXT, cc -E runs the code through the compiler's parser,
948 # not just through cpp.
949 cat > conftest.
$ac_ext <<EOF
950 #line 951 "configure"
951 #include "confdefs.h"
955 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
956 { (eval echo configure
:957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
957 ac_err
=`grep -v '^ *+' conftest.out`
958 if test -z "$ac_err"; then
962 echo "configure: failed program was:" >&5
963 cat conftest.
$ac_ext >&5
965 CPP
="${CC-cc} -E -traditional-cpp"
966 cat > conftest.
$ac_ext <<EOF
967 #line 968 "configure"
968 #include "confdefs.h"
972 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
973 { (eval echo configure
:974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
974 ac_err
=`grep -v '^ *+' conftest.out`
975 if test -z "$ac_err"; then
979 echo "configure: failed program was:" >&5
980 cat conftest.
$ac_ext >&5
987 ac_cv_prog_CPP
="$CPP"
989 CPP
="$ac_cv_prog_CPP"
991 ac_cv_prog_CPP
="$CPP"
993 echo "$ac_t""$CPP" 1>&6
995 if test $ac_cv_prog_gcc = yes; then
996 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
997 echo "configure:998: checking whether ${CC-cc} needs -traditional" >&5
998 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
999 echo $ac_n "(cached) $ac_c" 1>&6
1001 ac_pattern
="Autoconf.*'x'"
1002 cat > conftest.
$ac_ext <<EOF
1003 #line 1004 "configure"
1004 #include "confdefs.h"
1008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1009 egrep "$ac_pattern" >/dev
/null
2>&1; then
1011 ac_cv_prog_gcc_traditional
=yes
1014 ac_cv_prog_gcc_traditional
=no
1019 if test $ac_cv_prog_gcc_traditional = no
; then
1020 cat > conftest.
$ac_ext <<EOF
1021 #line 1022 "configure"
1022 #include "confdefs.h"
1026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1027 egrep "$ac_pattern" >/dev
/null
2>&1; then
1029 ac_cv_prog_gcc_traditional
=yes
1036 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
1037 if test $ac_cv_prog_gcc_traditional = yes; then
1038 CC
="$CC -traditional"
1045 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1047 # Extract the first word of "$ac_prog", so it can be a program name with args.
1048 set dummy
$ac_prog; ac_word
=$2
1049 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1050 echo "configure:1051: checking for $ac_word" >&5
1051 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1052 echo $ac_n "(cached) $ac_c" 1>&6
1054 if test -n "$CXX"; then
1055 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1057 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1058 for ac_dir
in $PATH; do
1059 test -z "$ac_dir" && ac_dir
=.
1060 if test -f $ac_dir/$ac_word; then
1061 ac_cv_prog_CXX
="$ac_prog"
1068 CXX
="$ac_cv_prog_CXX"
1069 if test -n "$CXX"; then
1070 echo "$ac_t""$CXX" 1>&6
1072 echo "$ac_t""no" 1>&6
1075 test -n "$CXX" && break
1077 test -n "$CXX" || CXX
="gcc"
1080 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1081 echo "configure:1082: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1084 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1085 ac_cpp
='$CXXCPP $CPPFLAGS'
1086 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1087 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1088 cross_compiling
=$ac_cv_prog_cxx_cross
1090 cat > conftest.
$ac_ext <<EOF
1091 #line 1092 "configure"
1092 #include "confdefs.h"
1095 if { (eval echo configure
:1096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1096 ac_cv_prog_cxx_works
=yes
1097 # If we can't run a trivial program, we are probably using a cross compiler.
1098 if (.
/conftest
; exit) 2>/dev
/null
; then
1099 ac_cv_prog_cxx_cross
=no
1101 ac_cv_prog_cxx_cross
=yes
1104 echo "configure: failed program was:" >&5
1105 cat conftest.
$ac_ext >&5
1106 ac_cv_prog_cxx_works
=no
1110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1111 ac_cpp
='$CPP $CPPFLAGS'
1112 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1113 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1114 cross_compiling
=$ac_cv_prog_cc_cross
1116 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1117 if test $ac_cv_prog_cxx_works = no
; then
1118 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1120 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1121 echo "configure:1122: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1122 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1123 cross_compiling
=$ac_cv_prog_cxx_cross
1125 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1126 echo "configure:1127: checking whether we are using GNU C++" >&5
1127 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1128 echo $ac_n "(cached) $ac_c" 1>&6
1130 cat > conftest.C
<<EOF
1135 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
1142 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1144 if test $ac_cv_prog_gxx = yes; then
1146 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1147 ac_save_CXXFLAGS
="$CXXFLAGS"
1149 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1150 echo "configure:1151: checking whether ${CXX-g++} accepts -g" >&5
1151 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1152 echo $ac_n "(cached) $ac_c" 1>&6
1154 echo 'void f(){}' > conftest.cc
1155 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1156 ac_cv_prog_cxx_g
=yes
1164 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1165 if test "$ac_test_CXXFLAGS" = set; then
1166 CXXFLAGS
="$ac_save_CXXFLAGS"
1167 elif test $ac_cv_prog_cxx_g = yes; then
1174 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1177 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1178 echo "configure:1179: checking how to run the C++ preprocessor" >&5
1179 if test -z "$CXXCPP"; then
1180 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1181 echo $ac_n "(cached) $ac_c" 1>&6
1184 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1185 ac_cpp
='$CXXCPP $CPPFLAGS'
1186 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1187 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1188 cross_compiling
=$ac_cv_prog_cxx_cross
1189 CXXCPP
="${CXX-g++} -E"
1190 cat > conftest.
$ac_ext <<EOF
1191 #line 1192 "configure"
1192 #include "confdefs.h"
1195 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1196 { (eval echo configure
:1197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1197 ac_err
=`grep -v '^ *+' conftest.out`
1198 if test -z "$ac_err"; then
1202 echo "configure: failed program was:" >&5
1203 cat conftest.
$ac_ext >&5
1208 ac_cv_prog_CXXCPP
="$CXXCPP"
1210 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1211 ac_cpp
='$CPP $CPPFLAGS'
1212 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1213 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1214 cross_compiling
=$ac_cv_prog_cc_cross
1217 CXXCPP
="$ac_cv_prog_CXXCPP"
1218 echo "$ac_t""$CXXCPP" 1>&6
1221 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
1225 # Extract the first word of "ranlib", so it can be a program name with args.
1226 set dummy ranlib
; ac_word
=$2
1227 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1228 echo "configure:1229: checking for $ac_word" >&5
1229 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1230 echo $ac_n "(cached) $ac_c" 1>&6
1232 if test -n "$RANLIB"; then
1233 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1235 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1236 for ac_dir
in $PATH; do
1237 test -z "$ac_dir" && ac_dir
=.
1238 if test -f $ac_dir/$ac_word; then
1239 ac_cv_prog_RANLIB
="ranlib"
1244 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1247 RANLIB
="$ac_cv_prog_RANLIB"
1248 if test -n "$RANLIB"; then
1249 echo "$ac_t""$RANLIB" 1>&6
1251 echo "$ac_t""no" 1>&6
1255 # Extract the first word of "ar", so it can be a program name with args.
1256 set dummy
ar; ac_word
=$2
1257 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1258 echo "configure:1259: checking for $ac_word" >&5
1259 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1260 echo $ac_n "(cached) $ac_c" 1>&6
1262 if test -n "$AR"; then
1263 ac_cv_prog_AR
="$AR" # Let the user override the test.
1265 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1266 for ac_dir
in $PATH; do
1267 test -z "$ac_dir" && ac_dir
=.
1268 if test -f $ac_dir/$ac_word; then
1274 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1278 if test -n "$AR"; then
1279 echo "$ac_t""$AR" 1>&6
1281 echo "$ac_t""no" 1>&6
1286 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1287 if test -f $ac_dir/install-sh; then
1289 ac_install_sh
="$ac_aux_dir/install-sh -c"
1291 elif test -f $ac_dir/install.sh
; then
1293 ac_install_sh
="$ac_aux_dir/install.sh -c"
1297 if test -z "$ac_aux_dir"; then
1298 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1300 ac_config_guess
=$ac_aux_dir/config.guess
1301 ac_config_sub
=$ac_aux_dir/config.sub
1302 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1304 # Find a good install program. We prefer a C program (faster),
1305 # so one script is as good as another. But avoid the broken or
1306 # incompatible versions:
1307 # SysV /etc/install, /usr/sbin/install
1308 # SunOS /usr/etc/install
1309 # IRIX /sbin/install
1311 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1312 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1313 # ./install, which can be erroneously created by make from ./install.sh.
1314 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1315 echo "configure:1316: checking for a BSD compatible install" >&5
1316 if test -z "$INSTALL"; then
1317 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1318 echo $ac_n "(cached) $ac_c" 1>&6
1320 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1321 for ac_dir
in $PATH; do
1322 # Account for people who put trailing slashes in PATH elements.
1324 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
1326 # OSF1 and SCO ODT 3.0 have their own names for install.
1327 for ac_prog
in ginstall installbsd scoinst
install; do
1328 if test -f $ac_dir/$ac_prog; then
1329 if test $ac_prog = install &&
1330 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1331 # AIX install. It has an incompatible calling convention.
1332 # OSF/1 installbsd also uses dspmsg, but is usable.
1335 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1346 if test "${ac_cv_path_install+set}" = set; then
1347 INSTALL
="$ac_cv_path_install"
1349 # As a last resort, use the slow shell script. We don't cache a
1350 # path for INSTALL within a source directory, because that will
1351 # break other packages using the cache if that directory is
1352 # removed, or if the path is relative.
1353 INSTALL
="$ac_install_sh"
1356 echo "$ac_t""$INSTALL" 1>&6
1358 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1359 # It thinks the first close brace ends the variable substitution.
1360 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1362 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1365 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1366 echo "configure:1367: checking whether ln -s works" >&5
1367 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1368 echo $ac_n "(cached) $ac_c" 1>&6
1371 if ln -s X conftestdata
2>/dev
/null
1374 ac_cv_prog_LN_S
="ln -s"
1379 LN_S
="$ac_cv_prog_LN_S"
1380 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1381 echo "$ac_t""yes" 1>&6
1383 echo "$ac_t""no" 1>&6
1387 for ac_prog
in mawk gawk nawk
awk
1389 # Extract the first word of "$ac_prog", so it can be a program name with args.
1390 set dummy
$ac_prog; ac_word
=$2
1391 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1392 echo "configure:1393: checking for $ac_word" >&5
1393 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1394 echo $ac_n "(cached) $ac_c" 1>&6
1396 if test -n "$AWK"; then
1397 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1399 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1400 for ac_dir
in $PATH; do
1401 test -z "$ac_dir" && ac_dir
=.
1402 if test -f $ac_dir/$ac_word; then
1403 ac_cv_prog_AWK
="$ac_prog"
1410 AWK
="$ac_cv_prog_AWK"
1411 if test -n "$AWK"; then
1412 echo "$ac_t""$AWK" 1>&6
1414 echo "$ac_t""no" 1>&6
1417 test -n "$AWK" && break
1421 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
1422 echo "configure:1423: checking "make for VPATH support
"" >&5
1423 cat - << EOF > confMake
1429 if test ! -d sub
; then
1432 echo dummy
> sub
/file
1433 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
1435 rm -f sub
/file check final_file confMake
1437 if test "$RESULT" = 0; then
1438 echo "$ac_t""yes" 1>&6
1440 echo "$ac_t""no" 1>&6
1441 { echo "configure: error: You need a make-utility that is able to use the variable
1443 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
1447 # If we find X, set shell vars x_includes and x_libraries to the
1448 # paths, otherwise set no_x=yes.
1449 # Uses ac_ vars as temps to allow command line to override cache and checks.
1450 # --without-x overrides everything else, but does not touch the cache.
1451 echo $ac_n "checking for X""... $ac_c" 1>&6
1452 echo "configure:1453: checking for X" >&5
1454 # Check whether --with-x or --without-x was given.
1455 if test "${with_x+set}" = set; then
1460 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
1461 if test "x$with_x" = xno
; then
1462 # The user explicitly disabled X.
1465 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
1466 # Both variables are already set.
1469 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
1470 echo $ac_n "(cached) $ac_c" 1>&6
1472 # One or both of the vars are not set, and there is no cached value.
1473 ac_x_includes
=NO ac_x_libraries
=NO
1475 if mkdir conftestdir
; then
1477 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1478 cat > Imakefile
<<'EOF'
1480 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1482 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
1483 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1484 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
1485 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1486 for ac_extension
in a so sl
; do
1487 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
1488 test -f $ac_im_libdir/libX11.
$ac_extension; then
1489 ac_im_usrlibdir
=$ac_im_libdir; break
1492 # Screen out bogus values from the imake configuration. They are
1493 # bogus both because they are the default anyway, and because
1494 # using them would break gcc on systems where it needs fixed includes.
1495 case "$ac_im_incroot" in
1497 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
1499 case "$ac_im_usrlibdir" in
1501 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
1508 if test "$ac_x_includes" = NO
; then
1509 # Guess where to find include files, by looking for this one X11 .h file.
1510 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
1512 # First, try using that file with no special directory specified.
1513 cat > conftest.
$ac_ext <<EOF
1514 #line 1515 "configure"
1515 #include "confdefs.h"
1516 #include <$x_direct_test_include>
1518 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1519 { (eval echo configure
:1520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1520 ac_err
=`grep -v '^ *+' conftest.out`
1521 if test -z "$ac_err"; then
1523 # We can compile using X headers with no special include directory.
1527 echo "configure: failed program was:" >&5
1528 cat conftest.
$ac_ext >&5
1530 # Look for the header file in a standard set of common directories.
1531 # Check X11 before X11Rn because it is often a symlink to the current release.
1534 /usr
/X
11R
6/include \
1535 /usr
/X
11R
5/include \
1536 /usr
/X
11R
4/include \
1539 /usr
/include
/X11R6 \
1540 /usr
/include
/X11R5 \
1541 /usr
/include
/X11R4 \
1543 /usr
/local
/X
11/include \
1544 /usr
/local
/X
11R
6/include \
1545 /usr
/local
/X
11R
5/include \
1546 /usr
/local
/X
11R
4/include \
1548 /usr
/local
/include
/X11 \
1549 /usr
/local
/include
/X11R6 \
1550 /usr
/local
/include
/X11R5 \
1551 /usr
/local
/include
/X11R4 \
1555 /usr
/XFree
86/include
/X11 \
1558 /usr
/local
/include \
1559 /usr
/unsupported
/include \
1560 /usr
/athena
/include \
1561 /usr
/local
/x
11r
5/include \
1562 /usr
/lpp
/Xamples
/include \
1564 /usr
/openwin
/include \
1565 /usr
/openwin
/share
/include \
1568 if test -r "$ac_dir/$x_direct_test_include"; then
1569 ac_x_includes
=$ac_dir
1575 fi # $ac_x_includes = NO
1577 if test "$ac_x_libraries" = NO
; then
1578 # Check for the libraries.
1580 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
1581 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
1583 # See if we find them without any special options.
1584 # Don't add to $LIBS permanently.
1585 ac_save_LIBS
="$LIBS"
1586 LIBS
="-l$x_direct_test_library $LIBS"
1587 cat > conftest.
$ac_ext <<EOF
1588 #line 1589 "configure"
1589 #include "confdefs.h"
1592 ${x_direct_test_function}()
1595 if { (eval echo configure
:1596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1597 LIBS
="$ac_save_LIBS"
1598 # We can link X programs with no special library path.
1601 echo "configure: failed program was:" >&5
1602 cat conftest.
$ac_ext >&5
1604 LIBS
="$ac_save_LIBS"
1605 # First see if replacing the include by lib works.
1606 # Check X11 before X11Rn because it is often a symlink to the current release.
1607 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
1618 /usr
/local
/X
11/lib \
1619 /usr
/local
/X
11R
6/lib \
1620 /usr
/local
/X
11R
5/lib \
1621 /usr
/local
/X
11R
4/lib \
1623 /usr
/local
/lib
/X11 \
1624 /usr
/local
/lib
/X11R6 \
1625 /usr
/local
/lib
/X11R5 \
1626 /usr
/local
/lib
/X11R4 \
1630 /usr
/XFree
86/lib
/X11 \
1634 /usr
/unsupported
/lib \
1636 /usr
/local
/x
11r
5/lib \
1637 /usr
/lpp
/Xamples
/lib \
1641 /usr
/openwin
/share
/lib \
1644 for ac_extension
in a so sl
; do
1645 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
1646 ac_x_libraries
=$ac_dir
1653 fi # $ac_x_libraries = NO
1655 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
1656 # Didn't find X anywhere. Cache the known absence of X.
1657 ac_cv_have_x
="have_x=no"
1659 # Record where we found X for the cache.
1660 ac_cv_have_x
="have_x=yes \
1661 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1665 eval "$ac_cv_have_x"
1668 if test "$have_x" != yes; then
1669 echo "$ac_t""$have_x" 1>&6
1672 # If each of the values was on the command line, it overrides each guess.
1673 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
1674 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
1675 # Update the cache value to reflect the command line values.
1676 ac_cv_have_x
="have_x=yes \
1677 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1678 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
1681 if test "$no_x" = yes; then
1682 # Not all programs may use this symbol, but it does not hurt to define it.
1683 cat >> confdefs.h
<<\EOF
1684 #define X_DISPLAY_MISSING 1
1687 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
1689 if test -n "$x_includes"; then
1690 X_CFLAGS
="$X_CFLAGS -I$x_includes"
1693 # It would also be nice to do this for all -L options, not just this one.
1694 if test -n "$x_libraries"; then
1695 X_LIBS
="$X_LIBS -L$x_libraries"
1696 # For Solaris; some versions of Sun CC require a space after -R and
1697 # others require no space. Words are not sufficient . . . .
1698 case "`(uname -sr) 2>/dev/null`" in
1700 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
1701 echo "configure:1702: checking whether -R must be followed by a space" >&5
1702 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
1703 cat > conftest.
$ac_ext <<EOF
1704 #line 1705 "configure"
1705 #include "confdefs.h"
1711 if { (eval echo configure
:1712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1715 echo "configure: failed program was:" >&5
1716 cat conftest.
$ac_ext >&5
1721 if test $ac_R_nospace = yes; then
1722 echo "$ac_t""no" 1>&6
1723 X_LIBS
="$X_LIBS -R$x_libraries"
1725 LIBS
="$ac_xsave_LIBS -R $x_libraries"
1726 cat > conftest.
$ac_ext <<EOF
1727 #line 1728 "configure"
1728 #include "confdefs.h"
1734 if { (eval echo configure
:1735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1738 echo "configure: failed program was:" >&5
1739 cat conftest.
$ac_ext >&5
1744 if test $ac_R_space = yes; then
1745 echo "$ac_t""yes" 1>&6
1746 X_LIBS
="$X_LIBS -R $x_libraries"
1748 echo "$ac_t""neither works" 1>&6
1751 LIBS
="$ac_xsave_LIBS"
1755 # Check for system-dependent libraries X programs must link with.
1756 # Do this before checking for the system-independent R6 libraries
1757 # (-lICE), since we may need -lsocket or whatever for X linking.
1759 if test "$ISC" = yes; then
1760 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
1762 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
1763 # libraries were built with DECnet support. And karl@cs.umb.edu says
1764 # the Alpha needs dnet_stub (dnet does not exist).
1765 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
1766 echo "configure:1767: checking for dnet_ntoa in -ldnet" >&5
1767 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1768 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1769 echo $ac_n "(cached) $ac_c" 1>&6
1771 ac_save_LIBS
="$LIBS"
1773 cat > conftest.
$ac_ext <<EOF
1774 #line 1775 "configure"
1775 #include "confdefs.h"
1776 /* Override any gcc2 internal prototype to avoid an error. */
1777 /* We use char because int might match the return type of a gcc2
1778 builtin and then its argument prototype would still apply. */
1785 if { (eval echo configure
:1786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1787 eval "ac_cv_lib_$ac_lib_var=yes"
1789 echo "configure: failed program was:" >&5
1790 cat conftest.
$ac_ext >&5
1792 eval "ac_cv_lib_$ac_lib_var=no"
1795 LIBS
="$ac_save_LIBS"
1798 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1799 echo "$ac_t""yes" 1>&6
1800 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
1802 echo "$ac_t""no" 1>&6
1805 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
1806 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
1807 echo "configure:1808: checking for dnet_ntoa in -ldnet_stub" >&5
1808 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1809 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1810 echo $ac_n "(cached) $ac_c" 1>&6
1812 ac_save_LIBS
="$LIBS"
1813 LIBS
="-ldnet_stub $LIBS"
1814 cat > conftest.
$ac_ext <<EOF
1815 #line 1816 "configure"
1816 #include "confdefs.h"
1817 /* Override any gcc2 internal prototype to avoid an error. */
1818 /* We use char because int might match the return type of a gcc2
1819 builtin and then its argument prototype would still apply. */
1826 if { (eval echo configure
:1827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1828 eval "ac_cv_lib_$ac_lib_var=yes"
1830 echo "configure: failed program was:" >&5
1831 cat conftest.
$ac_ext >&5
1833 eval "ac_cv_lib_$ac_lib_var=no"
1836 LIBS
="$ac_save_LIBS"
1839 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1840 echo "$ac_t""yes" 1>&6
1841 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
1843 echo "$ac_t""no" 1>&6
1848 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
1849 # to get the SysV transport functions.
1850 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
1852 # The nsl library prevents programs from opening the X display
1853 # on Irix 5.2, according to dickey@clark.net.
1854 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1855 echo "configure:1856: checking for gethostbyname" >&5
1856 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1857 echo $ac_n "(cached) $ac_c" 1>&6
1859 cat > conftest.
$ac_ext <<EOF
1860 #line 1861 "configure"
1861 #include "confdefs.h"
1862 /* System header to define __stub macros and hopefully few prototypes,
1863 which can conflict with char gethostbyname(); below. */
1865 /* Override any gcc2 internal prototype to avoid an error. */
1866 /* We use char because int might match the return type of a gcc2
1867 builtin and then its argument prototype would still apply. */
1868 char gethostbyname();
1872 /* The GNU C library defines this for functions which it implements
1873 to always fail with ENOSYS. Some functions are actually named
1874 something starting with __ and the normal name is an alias. */
1875 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
1883 if { (eval echo configure
:1884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1885 eval "ac_cv_func_gethostbyname=yes"
1887 echo "configure: failed program was:" >&5
1888 cat conftest.
$ac_ext >&5
1890 eval "ac_cv_func_gethostbyname=no"
1895 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1896 echo "$ac_t""yes" 1>&6
1899 echo "$ac_t""no" 1>&6
1902 if test $ac_cv_func_gethostbyname = no
; then
1903 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1904 echo "configure:1905: checking for gethostbyname in -lnsl" >&5
1905 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1906 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1907 echo $ac_n "(cached) $ac_c" 1>&6
1909 ac_save_LIBS
="$LIBS"
1911 cat > conftest.
$ac_ext <<EOF
1912 #line 1913 "configure"
1913 #include "confdefs.h"
1914 /* Override any gcc2 internal prototype to avoid an error. */
1915 /* We use char because int might match the return type of a gcc2
1916 builtin and then its argument prototype would still apply. */
1917 char gethostbyname();
1923 if { (eval echo configure
:1924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1925 eval "ac_cv_lib_$ac_lib_var=yes"
1927 echo "configure: failed program was:" >&5
1928 cat conftest.
$ac_ext >&5
1930 eval "ac_cv_lib_$ac_lib_var=no"
1933 LIBS
="$ac_save_LIBS"
1936 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1937 echo "$ac_t""yes" 1>&6
1938 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
1940 echo "$ac_t""no" 1>&6
1945 # lieder@skyler.mavd.honeywell.com says without -lsocket,
1946 # socket/setsockopt and other routines are undefined under SCO ODT
1947 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
1948 # on later versions), says simon@lia.di.epfl.ch: it contains
1949 # gethostby* variants that don't use the nameserver (or something).
1950 # -lsocket must be given before -lnsl if both are needed.
1951 # We assume that if connect needs -lnsl, so does gethostbyname.
1952 echo $ac_n "checking for connect""... $ac_c" 1>&6
1953 echo "configure:1954: checking for connect" >&5
1954 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1955 echo $ac_n "(cached) $ac_c" 1>&6
1957 cat > conftest.
$ac_ext <<EOF
1958 #line 1959 "configure"
1959 #include "confdefs.h"
1960 /* System header to define __stub macros and hopefully few prototypes,
1961 which can conflict with char connect(); below. */
1963 /* Override any gcc2 internal prototype to avoid an error. */
1964 /* We use char because int might match the return type of a gcc2
1965 builtin and then its argument prototype would still apply. */
1970 /* The GNU C library defines this for functions which it implements
1971 to always fail with ENOSYS. Some functions are actually named
1972 something starting with __ and the normal name is an alias. */
1973 #if defined (__stub_connect) || defined (__stub___connect)
1981 if { (eval echo configure
:1982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1983 eval "ac_cv_func_connect=yes"
1985 echo "configure: failed program was:" >&5
1986 cat conftest.
$ac_ext >&5
1988 eval "ac_cv_func_connect=no"
1993 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
1994 echo "$ac_t""yes" 1>&6
1997 echo "$ac_t""no" 1>&6
2000 if test $ac_cv_func_connect = no
; then
2001 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
2002 echo "configure:2003: checking for connect in -lsocket" >&5
2003 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
2004 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2005 echo $ac_n "(cached) $ac_c" 1>&6
2007 ac_save_LIBS
="$LIBS"
2008 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
2009 cat > conftest.
$ac_ext <<EOF
2010 #line 2011 "configure"
2011 #include "confdefs.h"
2012 /* Override any gcc2 internal prototype to avoid an error. */
2013 /* We use char because int might match the return type of a gcc2
2014 builtin and then its argument prototype would still apply. */
2021 if { (eval echo configure
:2022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2023 eval "ac_cv_lib_$ac_lib_var=yes"
2025 echo "configure: failed program was:" >&5
2026 cat conftest.
$ac_ext >&5
2028 eval "ac_cv_lib_$ac_lib_var=no"
2031 LIBS
="$ac_save_LIBS"
2034 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2035 echo "$ac_t""yes" 1>&6
2036 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
2038 echo "$ac_t""no" 1>&6
2043 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2044 echo $ac_n "checking for remove""... $ac_c" 1>&6
2045 echo "configure:2046: checking for remove" >&5
2046 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2047 echo $ac_n "(cached) $ac_c" 1>&6
2049 cat > conftest.
$ac_ext <<EOF
2050 #line 2051 "configure"
2051 #include "confdefs.h"
2052 /* System header to define __stub macros and hopefully few prototypes,
2053 which can conflict with char remove(); below. */
2055 /* Override any gcc2 internal prototype to avoid an error. */
2056 /* We use char because int might match the return type of a gcc2
2057 builtin and then its argument prototype would still apply. */
2062 /* The GNU C library defines this for functions which it implements
2063 to always fail with ENOSYS. Some functions are actually named
2064 something starting with __ and the normal name is an alias. */
2065 #if defined (__stub_remove) || defined (__stub___remove)
2073 if { (eval echo configure
:2074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2075 eval "ac_cv_func_remove=yes"
2077 echo "configure: failed program was:" >&5
2078 cat conftest.
$ac_ext >&5
2080 eval "ac_cv_func_remove=no"
2085 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
2086 echo "$ac_t""yes" 1>&6
2089 echo "$ac_t""no" 1>&6
2092 if test $ac_cv_func_remove = no
; then
2093 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2094 echo "configure:2095: checking for remove in -lposix" >&5
2095 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2096 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2097 echo $ac_n "(cached) $ac_c" 1>&6
2099 ac_save_LIBS
="$LIBS"
2100 LIBS
="-lposix $LIBS"
2101 cat > conftest.
$ac_ext <<EOF
2102 #line 2103 "configure"
2103 #include "confdefs.h"
2104 /* Override any gcc2 internal prototype to avoid an error. */
2105 /* We use char because int might match the return type of a gcc2
2106 builtin and then its argument prototype would still apply. */
2113 if { (eval echo configure
:2114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2115 eval "ac_cv_lib_$ac_lib_var=yes"
2117 echo "configure: failed program was:" >&5
2118 cat conftest.
$ac_ext >&5
2120 eval "ac_cv_lib_$ac_lib_var=no"
2123 LIBS
="$ac_save_LIBS"
2126 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2127 echo "$ac_t""yes" 1>&6
2128 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
2130 echo "$ac_t""no" 1>&6
2135 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2136 echo $ac_n "checking for shmat""... $ac_c" 1>&6
2137 echo "configure:2138: checking for shmat" >&5
2138 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2139 echo $ac_n "(cached) $ac_c" 1>&6
2141 cat > conftest.
$ac_ext <<EOF
2142 #line 2143 "configure"
2143 #include "confdefs.h"
2144 /* System header to define __stub macros and hopefully few prototypes,
2145 which can conflict with char shmat(); below. */
2147 /* Override any gcc2 internal prototype to avoid an error. */
2148 /* We use char because int might match the return type of a gcc2
2149 builtin and then its argument prototype would still apply. */
2154 /* The GNU C library defines this for functions which it implements
2155 to always fail with ENOSYS. Some functions are actually named
2156 something starting with __ and the normal name is an alias. */
2157 #if defined (__stub_shmat) || defined (__stub___shmat)
2165 if { (eval echo configure
:2166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2167 eval "ac_cv_func_shmat=yes"
2169 echo "configure: failed program was:" >&5
2170 cat conftest.
$ac_ext >&5
2172 eval "ac_cv_func_shmat=no"
2177 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
2178 echo "$ac_t""yes" 1>&6
2181 echo "$ac_t""no" 1>&6
2184 if test $ac_cv_func_shmat = no
; then
2185 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2186 echo "configure:2187: checking for shmat in -lipc" >&5
2187 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2188 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2189 echo $ac_n "(cached) $ac_c" 1>&6
2191 ac_save_LIBS
="$LIBS"
2193 cat > conftest.
$ac_ext <<EOF
2194 #line 2195 "configure"
2195 #include "confdefs.h"
2196 /* Override any gcc2 internal prototype to avoid an error. */
2197 /* We use char because int might match the return type of a gcc2
2198 builtin and then its argument prototype would still apply. */
2205 if { (eval echo configure
:2206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2207 eval "ac_cv_lib_$ac_lib_var=yes"
2209 echo "configure: failed program was:" >&5
2210 cat conftest.
$ac_ext >&5
2212 eval "ac_cv_lib_$ac_lib_var=no"
2215 LIBS
="$ac_save_LIBS"
2218 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2219 echo "$ac_t""yes" 1>&6
2220 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
2222 echo "$ac_t""no" 1>&6
2228 # Check for libraries that X11R6 Xt/Xaw programs need.
2229 ac_save_LDFLAGS
="$LDFLAGS"
2230 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
2231 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
2232 # check for ICE first), but we must link in the order -lSM -lICE or
2233 # we get undefined symbols. So assume we have SM if we have ICE.
2234 # These have to be linked with before -lX11, unlike the other
2235 # libraries we check for below, so use a different variable.
2236 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2237 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2238 echo "configure:2239: checking for IceConnectionNumber in -lICE" >&5
2239 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2240 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2241 echo $ac_n "(cached) $ac_c" 1>&6
2243 ac_save_LIBS
="$LIBS"
2245 cat > conftest.
$ac_ext <<EOF
2246 #line 2247 "configure"
2247 #include "confdefs.h"
2248 /* Override any gcc2 internal prototype to avoid an error. */
2249 /* We use char because int might match the return type of a gcc2
2250 builtin and then its argument prototype would still apply. */
2251 char IceConnectionNumber();
2254 IceConnectionNumber()
2257 if { (eval echo configure
:2258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2259 eval "ac_cv_lib_$ac_lib_var=yes"
2261 echo "configure: failed program was:" >&5
2262 cat conftest.
$ac_ext >&5
2264 eval "ac_cv_lib_$ac_lib_var=no"
2267 LIBS
="$ac_save_LIBS"
2270 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2271 echo "$ac_t""yes" 1>&6
2272 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
2274 echo "$ac_t""no" 1>&6
2277 LDFLAGS
="$ac_save_LDFLAGS"
2283 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
2285 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2286 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2287 echo "configure:2288: checking for $ac_hdr that defines DIR" >&5
2288 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2289 echo $ac_n "(cached) $ac_c" 1>&6
2291 cat > conftest.
$ac_ext <<EOF
2292 #line 2293 "configure"
2293 #include "confdefs.h"
2294 #include <sys/types.h>
2300 if { (eval echo configure
:2301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2302 eval "ac_cv_header_dirent_$ac_safe=yes"
2304 echo "configure: failed program was:" >&5
2305 cat conftest.
$ac_ext >&5
2307 eval "ac_cv_header_dirent_$ac_safe=no"
2311 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
2312 echo "$ac_t""yes" 1>&6
2313 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2314 cat >> confdefs.h
<<EOF
2315 #define $ac_tr_hdr 1
2317 ac_header_dirent
=$ac_hdr; break
2319 echo "$ac_t""no" 1>&6
2322 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2323 if test $ac_header_dirent = dirent.h
; then
2324 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2325 echo "configure:2326: checking for opendir in -ldir" >&5
2326 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2327 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2328 echo $ac_n "(cached) $ac_c" 1>&6
2330 ac_save_LIBS
="$LIBS"
2332 cat > conftest.
$ac_ext <<EOF
2333 #line 2334 "configure"
2334 #include "confdefs.h"
2335 /* Override any gcc2 internal prototype to avoid an error. */
2336 /* We use char because int might match the return type of a gcc2
2337 builtin and then its argument prototype would still apply. */
2344 if { (eval echo configure
:2345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2346 eval "ac_cv_lib_$ac_lib_var=yes"
2348 echo "configure: failed program was:" >&5
2349 cat conftest.
$ac_ext >&5
2351 eval "ac_cv_lib_$ac_lib_var=no"
2354 LIBS
="$ac_save_LIBS"
2357 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2358 echo "$ac_t""yes" 1>&6
2361 echo "$ac_t""no" 1>&6
2365 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2366 echo "configure:2367: checking for opendir in -lx" >&5
2367 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2368 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2369 echo $ac_n "(cached) $ac_c" 1>&6
2371 ac_save_LIBS
="$LIBS"
2373 cat > conftest.
$ac_ext <<EOF
2374 #line 2375 "configure"
2375 #include "confdefs.h"
2376 /* Override any gcc2 internal prototype to avoid an error. */
2377 /* We use char because int might match the return type of a gcc2
2378 builtin and then its argument prototype would still apply. */
2385 if { (eval echo configure
:2386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2387 eval "ac_cv_lib_$ac_lib_var=yes"
2389 echo "configure: failed program was:" >&5
2390 cat conftest.
$ac_ext >&5
2392 eval "ac_cv_lib_$ac_lib_var=no"
2395 LIBS
="$ac_save_LIBS"
2398 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2399 echo "$ac_t""yes" 1>&6
2402 echo "$ac_t""no" 1>&6
2407 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2408 echo "configure:2409: checking for ANSI C header files" >&5
2409 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2410 echo $ac_n "(cached) $ac_c" 1>&6
2412 cat > conftest.
$ac_ext <<EOF
2413 #line 2414 "configure"
2414 #include "confdefs.h"
2420 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2421 { (eval echo configure
:2422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2422 ac_err
=`grep -v '^ *+' conftest.out`
2423 if test -z "$ac_err"; then
2425 ac_cv_header_stdc
=yes
2428 echo "configure: failed program was:" >&5
2429 cat conftest.
$ac_ext >&5
2431 ac_cv_header_stdc
=no
2435 if test $ac_cv_header_stdc = yes; then
2436 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2437 cat > conftest.
$ac_ext <<EOF
2438 #line 2439 "configure"
2439 #include "confdefs.h"
2442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2443 egrep "memchr" >/dev
/null
2>&1; then
2447 ac_cv_header_stdc
=no
2453 if test $ac_cv_header_stdc = yes; then
2454 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2455 cat > conftest.
$ac_ext <<EOF
2456 #line 2457 "configure"
2457 #include "confdefs.h"
2460 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2461 egrep "free" >/dev
/null
2>&1; then
2465 ac_cv_header_stdc
=no
2471 if test $ac_cv_header_stdc = yes; then
2472 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2473 if test "$cross_compiling" = yes; then
2476 cat > conftest.
$ac_ext <<EOF
2477 #line 2478 "configure"
2478 #include "confdefs.h"
2480 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2481 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2482 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2483 int main () { int i; for (i = 0; i < 256; i++)
2484 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2488 if { (eval echo configure
:2489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2492 echo "configure: failed program was:" >&5
2493 cat conftest.
$ac_ext >&5
2495 ac_cv_header_stdc
=no
2503 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2504 if test $ac_cv_header_stdc = yes; then
2505 cat >> confdefs.h
<<\EOF
2506 #define STDC_HEADERS 1
2511 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2512 echo "configure:2513: checking for sys/wait.h that is POSIX.1 compatible" >&5
2513 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2514 echo $ac_n "(cached) $ac_c" 1>&6
2516 cat > conftest.
$ac_ext <<EOF
2517 #line 2518 "configure"
2518 #include "confdefs.h"
2519 #include <sys/types.h>
2520 #include <sys/wait.h>
2522 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2525 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2530 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2533 if { (eval echo configure
:2534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2535 ac_cv_header_sys_wait_h
=yes
2537 echo "configure: failed program was:" >&5
2538 cat conftest.
$ac_ext >&5
2540 ac_cv_header_sys_wait_h
=no
2545 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2546 if test $ac_cv_header_sys_wait_h = yes; then
2547 cat >> confdefs.h
<<\EOF
2548 #define HAVE_SYS_WAIT_H 1
2553 for ac_hdr
in fcntl.h
2555 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2556 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2557 echo "configure:2558: checking for $ac_hdr" >&5
2558 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2559 echo $ac_n "(cached) $ac_c" 1>&6
2561 cat > conftest.
$ac_ext <<EOF
2562 #line 2563 "configure"
2563 #include "confdefs.h"
2566 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2567 { (eval echo configure
:2568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2568 ac_err
=`grep -v '^ *+' conftest.out`
2569 if test -z "$ac_err"; then
2571 eval "ac_cv_header_$ac_safe=yes"
2574 echo "configure: failed program was:" >&5
2575 cat conftest.
$ac_ext >&5
2577 eval "ac_cv_header_$ac_safe=no"
2581 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2582 echo "$ac_t""yes" 1>&6
2583 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2584 cat >> confdefs.h
<<EOF
2585 #define $ac_tr_hdr 1
2589 echo "$ac_t""no" 1>&6
2593 for ac_hdr
in limits.h
2595 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2596 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2597 echo "configure:2598: checking for $ac_hdr" >&5
2598 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2599 echo $ac_n "(cached) $ac_c" 1>&6
2601 cat > conftest.
$ac_ext <<EOF
2602 #line 2603 "configure"
2603 #include "confdefs.h"
2606 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2607 { (eval echo configure
:2608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2608 ac_err
=`grep -v '^ *+' conftest.out`
2609 if test -z "$ac_err"; then
2611 eval "ac_cv_header_$ac_safe=yes"
2614 echo "configure: failed program was:" >&5
2615 cat conftest.
$ac_ext >&5
2617 eval "ac_cv_header_$ac_safe=no"
2621 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2622 echo "$ac_t""yes" 1>&6
2623 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2624 cat >> confdefs.h
<<EOF
2625 #define $ac_tr_hdr 1
2629 echo "$ac_t""no" 1>&6
2633 for ac_hdr
in sys
/file.h
2635 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2636 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2637 echo "configure:2638: checking for $ac_hdr" >&5
2638 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2639 echo $ac_n "(cached) $ac_c" 1>&6
2641 cat > conftest.
$ac_ext <<EOF
2642 #line 2643 "configure"
2643 #include "confdefs.h"
2646 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2647 { (eval echo configure
:2648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2648 ac_err
=`grep -v '^ *+' conftest.out`
2649 if test -z "$ac_err"; then
2651 eval "ac_cv_header_$ac_safe=yes"
2654 echo "configure: failed program was:" >&5
2655 cat conftest.
$ac_ext >&5
2657 eval "ac_cv_header_$ac_safe=no"
2661 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2662 echo "$ac_t""yes" 1>&6
2663 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2664 cat >> confdefs.h
<<EOF
2665 #define $ac_tr_hdr 1
2669 echo "$ac_t""no" 1>&6
2673 for ac_hdr
in sys
/time.h
2675 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2676 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2677 echo "configure:2678: checking for $ac_hdr" >&5
2678 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2679 echo $ac_n "(cached) $ac_c" 1>&6
2681 cat > conftest.
$ac_ext <<EOF
2682 #line 2683 "configure"
2683 #include "confdefs.h"
2686 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2687 { (eval echo configure
:2688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2688 ac_err
=`grep -v '^ *+' conftest.out`
2689 if test -z "$ac_err"; then
2691 eval "ac_cv_header_$ac_safe=yes"
2694 echo "configure: failed program was:" >&5
2695 cat conftest.
$ac_ext >&5
2697 eval "ac_cv_header_$ac_safe=no"
2701 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2702 echo "$ac_t""yes" 1>&6
2703 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2704 cat >> confdefs.h
<<EOF
2705 #define $ac_tr_hdr 1
2709 echo "$ac_t""no" 1>&6
2713 for ac_hdr
in unistd.h
2715 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2716 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2717 echo "configure:2718: checking for $ac_hdr" >&5
2718 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2719 echo $ac_n "(cached) $ac_c" 1>&6
2721 cat > conftest.
$ac_ext <<EOF
2722 #line 2723 "configure"
2723 #include "confdefs.h"
2726 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2727 { (eval echo configure
:2728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2728 ac_err
=`grep -v '^ *+' conftest.out`
2729 if test -z "$ac_err"; then
2731 eval "ac_cv_header_$ac_safe=yes"
2734 echo "configure: failed program was:" >&5
2735 cat conftest.
$ac_ext >&5
2737 eval "ac_cv_header_$ac_safe=no"
2741 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2742 echo "$ac_t""yes" 1>&6
2743 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2744 cat >> confdefs.h
<<EOF
2745 #define $ac_tr_hdr 1
2749 echo "$ac_t""no" 1>&6
2753 for ac_hdr
in fnmatch.h
2755 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2756 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2757 echo "configure:2758: checking for $ac_hdr" >&5
2758 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2759 echo $ac_n "(cached) $ac_c" 1>&6
2761 cat > conftest.
$ac_ext <<EOF
2762 #line 2763 "configure"
2763 #include "confdefs.h"
2766 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2767 { (eval echo configure
:2768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2768 ac_err
=`grep -v '^ *+' conftest.out`
2769 if test -z "$ac_err"; then
2771 eval "ac_cv_header_$ac_safe=yes"
2774 echo "configure: failed program was:" >&5
2775 cat conftest.
$ac_ext >&5
2777 eval "ac_cv_header_$ac_safe=no"
2781 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2782 echo "$ac_t""yes" 1>&6
2783 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2784 cat >> confdefs.h
<<EOF
2785 #define $ac_tr_hdr 1
2789 echo "$ac_t""no" 1>&6
2793 for ac_hdr
in linux
/joystick.h
2795 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2796 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2797 echo "configure:2798: checking for $ac_hdr" >&5
2798 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2799 echo $ac_n "(cached) $ac_c" 1>&6
2801 cat > conftest.
$ac_ext <<EOF
2802 #line 2803 "configure"
2803 #include "confdefs.h"
2806 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2807 { (eval echo configure
:2808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2808 ac_err
=`grep -v '^ *+' conftest.out`
2809 if test -z "$ac_err"; then
2811 eval "ac_cv_header_$ac_safe=yes"
2814 echo "configure: failed program was:" >&5
2815 cat conftest.
$ac_ext >&5
2817 eval "ac_cv_header_$ac_safe=no"
2821 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2822 echo "$ac_t""yes" 1>&6
2823 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2824 cat >> confdefs.h
<<EOF
2825 #define $ac_tr_hdr 1
2829 echo "$ac_t""no" 1>&6
2834 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
2835 GTK_JOYSTICK
="gtk/joystick.cpp"
2839 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
2840 echo "configure:2841: checking for vprintf" >&5
2841 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
2842 echo $ac_n "(cached) $ac_c" 1>&6
2844 cat > conftest.
$ac_ext <<EOF
2845 #line 2846 "configure"
2846 #include "confdefs.h"
2847 /* System header to define __stub macros and hopefully few prototypes,
2848 which can conflict with char vprintf(); below. */
2850 /* Override any gcc2 internal prototype to avoid an error. */
2851 /* We use char because int might match the return type of a gcc2
2852 builtin and then its argument prototype would still apply. */
2857 /* The GNU C library defines this for functions which it implements
2858 to always fail with ENOSYS. Some functions are actually named
2859 something starting with __ and the normal name is an alias. */
2860 #if defined (__stub_vprintf) || defined (__stub___vprintf)
2868 if { (eval echo configure
:2869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2870 eval "ac_cv_func_vprintf=yes"
2872 echo "configure: failed program was:" >&5
2873 cat conftest.
$ac_ext >&5
2875 eval "ac_cv_func_vprintf=no"
2880 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
2881 echo "$ac_t""yes" 1>&6
2882 cat >> confdefs.h
<<\EOF
2883 #define HAVE_VPRINTF 1
2887 echo "$ac_t""no" 1>&6
2890 if test "$ac_cv_func_vprintf" != yes; then
2891 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
2892 echo "configure:2893: checking for _doprnt" >&5
2893 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
2894 echo $ac_n "(cached) $ac_c" 1>&6
2896 cat > conftest.
$ac_ext <<EOF
2897 #line 2898 "configure"
2898 #include "confdefs.h"
2899 /* System header to define __stub macros and hopefully few prototypes,
2900 which can conflict with char _doprnt(); below. */
2902 /* Override any gcc2 internal prototype to avoid an error. */
2903 /* We use char because int might match the return type of a gcc2
2904 builtin and then its argument prototype would still apply. */
2909 /* The GNU C library defines this for functions which it implements
2910 to always fail with ENOSYS. Some functions are actually named
2911 something starting with __ and the normal name is an alias. */
2912 #if defined (__stub__doprnt) || defined (__stub____doprnt)
2920 if { (eval echo configure
:2921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2922 eval "ac_cv_func__doprnt=yes"
2924 echo "configure: failed program was:" >&5
2925 cat conftest.
$ac_ext >&5
2927 eval "ac_cv_func__doprnt=no"
2932 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
2933 echo "$ac_t""yes" 1>&6
2934 cat >> confdefs.h
<<\EOF
2935 #define HAVE_DOPRNT 1
2939 echo "$ac_t""no" 1>&6
2944 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
2945 echo "configure:2946: checking for vsnprintf" >&5
2946 if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
2947 echo $ac_n "(cached) $ac_c" 1>&6
2949 cat > conftest.
$ac_ext <<EOF
2950 #line 2951 "configure"
2951 #include "confdefs.h"
2952 /* System header to define __stub macros and hopefully few prototypes,
2953 which can conflict with char vsnprintf(); below. */
2955 /* Override any gcc2 internal prototype to avoid an error. */
2956 /* We use char because int might match the return type of a gcc2
2957 builtin and then its argument prototype would still apply. */
2962 /* The GNU C library defines this for functions which it implements
2963 to always fail with ENOSYS. Some functions are actually named
2964 something starting with __ and the normal name is an alias. */
2965 #if defined (__stub_vsnprintf) || defined (__stub___vsnprintf)
2973 if { (eval echo configure
:2974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2975 eval "ac_cv_func_vsnprintf=yes"
2977 echo "configure: failed program was:" >&5
2978 cat conftest.
$ac_ext >&5
2980 eval "ac_cv_func_vsnprintf=no"
2985 if eval "test \"`echo '$ac_cv_func_'vsnprintf`\" = yes"; then
2986 echo "$ac_t""yes" 1>&6
2989 echo "$ac_t""no" 1>&6
2995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2996 ac_cpp
='$CXXCPP $CPPFLAGS'
2997 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2998 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2999 cross_compiling
=$ac_cv_prog_cxx_cross
3001 for ac_hdr
in iostream
3003 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3004 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3005 echo "configure:3006: checking for $ac_hdr" >&5
3006 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3007 echo $ac_n "(cached) $ac_c" 1>&6
3009 cat > conftest.
$ac_ext <<EOF
3010 #line 3011 "configure"
3011 #include "confdefs.h"
3014 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3015 { (eval echo configure
:3016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3016 ac_err
=`grep -v '^ *+' conftest.out`
3017 if test -z "$ac_err"; then
3019 eval "ac_cv_header_$ac_safe=yes"
3022 echo "configure: failed program was:" >&5
3023 cat conftest.
$ac_ext >&5
3025 eval "ac_cv_header_$ac_safe=no"
3029 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3030 echo "$ac_t""yes" 1>&6
3031 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3032 cat >> confdefs.h
<<EOF
3033 #define $ac_tr_hdr 1
3037 echo "$ac_t""no" 1>&6
3041 if test "x$HAVE_IOSTREAM" = "x" ; then
3042 cat >> confdefs.h
<<\EOF
3043 #define wxUSE_IOSTREAMH 1
3048 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3049 ac_cpp
='$CPP $CPPFLAGS'
3050 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3051 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3052 cross_compiling
=$ac_cv_prog_cc_cross
3055 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3056 echo "configure:3057: checking for uid_t in sys/types.h" >&5
3057 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3058 echo $ac_n "(cached) $ac_c" 1>&6
3060 cat > conftest.
$ac_ext <<EOF
3061 #line 3062 "configure"
3062 #include "confdefs.h"
3063 #include <sys/types.h>
3065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3066 egrep "uid_t" >/dev
/null
2>&1; then
3068 ac_cv_type_uid_t
=yes
3077 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3078 if test $ac_cv_type_uid_t = no
; then
3079 cat >> confdefs.h
<<\EOF
3083 cat >> confdefs.h
<<\EOF
3089 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
3090 echo "configure:3091: checking type of array argument to getgroups" >&5
3091 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
3092 echo $ac_n "(cached) $ac_c" 1>&6
3094 if test "$cross_compiling" = yes; then
3095 ac_cv_type_getgroups
=cross
3097 cat > conftest.
$ac_ext <<EOF
3098 #line 3099 "configure"
3099 #include "confdefs.h"
3101 /* Thanks to Mike Rendell for this test. */
3102 #include <sys/types.h>
3105 #define MAX(x, y) ((x) > (y) ? (x) : (y))
3110 union { gid_t gval; long lval; } val;
3113 for (i = 0; i < NGID; i++)
3114 gidset[i] = val.gval;
3115 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
3117 /* Exit non-zero if getgroups seems to require an array of ints. This
3118 happens when gid_t is short but getgroups modifies an array of ints. */
3119 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
3123 if { (eval echo configure
:3124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3125 ac_cv_type_getgroups
=gid_t
3127 echo "configure: failed program was:" >&5
3128 cat conftest.
$ac_ext >&5
3130 ac_cv_type_getgroups
=int
3135 if test $ac_cv_type_getgroups = cross
; then
3136 cat > conftest.
$ac_ext <<EOF
3137 #line 3138 "configure"
3138 #include "confdefs.h"
3141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3142 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
3144 ac_cv_type_getgroups
=gid_t
3147 ac_cv_type_getgroups
=int
3154 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
3155 cat >> confdefs.h
<<EOF
3156 #define GETGROUPS_T $ac_cv_type_getgroups
3160 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
3161 echo "configure:3162: checking for mode_t" >&5
3162 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
3163 echo $ac_n "(cached) $ac_c" 1>&6
3165 cat > conftest.
$ac_ext <<EOF
3166 #line 3167 "configure"
3167 #include "confdefs.h"
3168 #include <sys/types.h>
3174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3175 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3177 ac_cv_type_mode_t
=yes
3180 ac_cv_type_mode_t
=no
3185 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
3186 if test $ac_cv_type_mode_t = no
; then
3187 cat >> confdefs.h
<<\EOF
3193 echo $ac_n "checking for off_t""... $ac_c" 1>&6
3194 echo "configure:3195: checking for off_t" >&5
3195 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
3196 echo $ac_n "(cached) $ac_c" 1>&6
3198 cat > conftest.
$ac_ext <<EOF
3199 #line 3200 "configure"
3200 #include "confdefs.h"
3201 #include <sys/types.h>
3207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3208 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3210 ac_cv_type_off_t
=yes
3218 echo "$ac_t""$ac_cv_type_off_t" 1>&6
3219 if test $ac_cv_type_off_t = no
; then
3220 cat >> confdefs.h
<<\EOF
3226 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
3227 echo "configure:3228: checking for pid_t" >&5
3228 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
3229 echo $ac_n "(cached) $ac_c" 1>&6
3231 cat > conftest.
$ac_ext <<EOF
3232 #line 3233 "configure"
3233 #include "confdefs.h"
3234 #include <sys/types.h>
3240 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3241 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3243 ac_cv_type_pid_t
=yes
3251 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
3252 if test $ac_cv_type_pid_t = no
; then
3253 cat >> confdefs.h
<<\EOF
3259 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3260 echo "configure:3261: checking return type of signal handlers" >&5
3261 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
3262 echo $ac_n "(cached) $ac_c" 1>&6
3264 cat > conftest.
$ac_ext <<EOF
3265 #line 3266 "configure"
3266 #include "confdefs.h"
3267 #include <sys/types.h>
3273 extern "C" void (*signal (int, void (*)(int)))(int);
3275 void (*signal ()) ();
3282 if { (eval echo configure
:3283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3284 ac_cv_type_signal
=void
3286 echo "configure: failed program was:" >&5
3287 cat conftest.
$ac_ext >&5
3289 ac_cv_type_signal
=int
3294 echo "$ac_t""$ac_cv_type_signal" 1>&6
3295 cat >> confdefs.h
<<EOF
3296 #define RETSIGTYPE $ac_cv_type_signal
3300 echo $ac_n "checking for size_t""... $ac_c" 1>&6
3301 echo "configure:3302: checking for size_t" >&5
3302 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
3303 echo $ac_n "(cached) $ac_c" 1>&6
3305 cat > conftest.
$ac_ext <<EOF
3306 #line 3307 "configure"
3307 #include "confdefs.h"
3308 #include <sys/types.h>
3314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3315 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3317 ac_cv_type_size_t
=yes
3320 ac_cv_type_size_t
=no
3325 echo "$ac_t""$ac_cv_type_size_t" 1>&6
3326 if test $ac_cv_type_size_t = no
; then
3327 cat >> confdefs.h
<<\EOF
3328 #define size_t unsigned
3333 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3334 echo "configure:3335: checking for uid_t in sys/types.h" >&5
3335 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3336 echo $ac_n "(cached) $ac_c" 1>&6
3338 cat > conftest.
$ac_ext <<EOF
3339 #line 3340 "configure"
3340 #include "confdefs.h"
3341 #include <sys/types.h>
3343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3344 egrep "uid_t" >/dev
/null
2>&1; then
3346 ac_cv_type_uid_t
=yes
3355 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3356 if test $ac_cv_type_uid_t = no
; then
3357 cat >> confdefs.h
<<\EOF
3361 cat >> confdefs.h
<<\EOF
3369 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
3370 echo "configure:3371: checking whether stat file-mode macros are broken" >&5
3371 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
3372 echo $ac_n "(cached) $ac_c" 1>&6
3374 cat > conftest.
$ac_ext <<EOF
3375 #line 3376 "configure"
3376 #include "confdefs.h"
3377 #include <sys/types.h>
3378 #include <sys/stat.h>
3380 #if defined(S_ISBLK) && defined(S_IFDIR)
3381 # if S_ISBLK (S_IFDIR)
3386 #if defined(S_ISBLK) && defined(S_IFCHR)
3387 # if S_ISBLK (S_IFCHR)
3392 #if defined(S_ISLNK) && defined(S_IFREG)
3393 # if S_ISLNK (S_IFREG)
3398 #if defined(S_ISSOCK) && defined(S_IFREG)
3399 # if S_ISSOCK (S_IFREG)
3405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3406 egrep "You lose" >/dev
/null
2>&1; then
3408 ac_cv_header_stat_broken
=yes
3411 ac_cv_header_stat_broken
=no
3417 echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
3418 if test $ac_cv_header_stat_broken = yes; then
3419 cat >> confdefs.h
<<\EOF
3420 #define STAT_MACROS_BROKEN 1
3425 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3426 echo "configure:3427: checking whether time.h and sys/time.h may both be included" >&5
3427 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3428 echo $ac_n "(cached) $ac_c" 1>&6
3430 cat > conftest.
$ac_ext <<EOF
3431 #line 3432 "configure"
3432 #include "confdefs.h"
3433 #include <sys/types.h>
3434 #include <sys/time.h>
3440 if { (eval echo configure
:3441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3442 ac_cv_header_time
=yes
3444 echo "configure: failed program was:" >&5
3445 cat conftest.
$ac_ext >&5
3447 ac_cv_header_time
=no
3452 echo "$ac_t""$ac_cv_header_time" 1>&6
3453 if test $ac_cv_header_time = yes; then
3454 cat >> confdefs.h
<<\EOF
3455 #define TIME_WITH_SYS_TIME 1
3460 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
3461 echo "configure:3462: checking for st_blksize in struct stat" >&5
3462 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
3463 echo $ac_n "(cached) $ac_c" 1>&6
3465 cat > conftest.
$ac_ext <<EOF
3466 #line 3467 "configure"
3467 #include "confdefs.h"
3468 #include <sys/types.h>
3469 #include <sys/stat.h>
3471 struct stat s; s.st_blksize;
3474 if { (eval echo configure
:3475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3476 ac_cv_struct_st_blksize
=yes
3478 echo "configure: failed program was:" >&5
3479 cat conftest.
$ac_ext >&5
3481 ac_cv_struct_st_blksize
=no
3486 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
3487 if test $ac_cv_struct_st_blksize = yes; then
3488 cat >> confdefs.h
<<\EOF
3489 #define HAVE_ST_BLKSIZE 1
3494 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
3495 echo "configure:3496: checking for st_blocks in struct stat" >&5
3496 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
3497 echo $ac_n "(cached) $ac_c" 1>&6
3499 cat > conftest.
$ac_ext <<EOF
3500 #line 3501 "configure"
3501 #include "confdefs.h"
3502 #include <sys/types.h>
3503 #include <sys/stat.h>
3505 struct stat s; s.st_blocks;
3508 if { (eval echo configure
:3509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3510 ac_cv_struct_st_blocks
=yes
3512 echo "configure: failed program was:" >&5
3513 cat conftest.
$ac_ext >&5
3515 ac_cv_struct_st_blocks
=no
3520 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6
3521 if test $ac_cv_struct_st_blocks = yes; then
3522 cat >> confdefs.h
<<\EOF
3523 #define HAVE_ST_BLOCKS 1
3527 LIBOBJS
="$LIBOBJS fileblocks.o"
3530 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
3531 echo "configure:3532: checking for st_rdev in struct stat" >&5
3532 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
3533 echo $ac_n "(cached) $ac_c" 1>&6
3535 cat > conftest.
$ac_ext <<EOF
3536 #line 3537 "configure"
3537 #include "confdefs.h"
3538 #include <sys/types.h>
3539 #include <sys/stat.h>
3541 struct stat s; s.st_rdev;
3544 if { (eval echo configure
:3545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3546 ac_cv_struct_st_rdev
=yes
3548 echo "configure: failed program was:" >&5
3549 cat conftest.
$ac_ext >&5
3551 ac_cv_struct_st_rdev
=no
3556 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6
3557 if test $ac_cv_struct_st_rdev = yes; then
3558 cat >> confdefs.h
<<\EOF
3559 #define HAVE_ST_RDEV 1
3564 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3565 echo "configure:3566: checking whether struct tm is in sys/time.h or time.h" >&5
3566 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
3567 echo $ac_n "(cached) $ac_c" 1>&6
3569 cat > conftest.
$ac_ext <<EOF
3570 #line 3571 "configure"
3571 #include "confdefs.h"
3572 #include <sys/types.h>
3575 struct tm *tp; tp->tm_sec;
3578 if { (eval echo configure
:3579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3580 ac_cv_struct_tm
=time.h
3582 echo "configure: failed program was:" >&5
3583 cat conftest.
$ac_ext >&5
3585 ac_cv_struct_tm
=sys
/time.h
3590 echo "$ac_t""$ac_cv_struct_tm" 1>&6
3591 if test $ac_cv_struct_tm = sys
/time.h
; then
3592 cat >> confdefs.h
<<\EOF
3593 #define TM_IN_SYS_TIME 1
3598 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3599 echo "configure:3600: checking for tm_zone in struct tm" >&5
3600 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
3601 echo $ac_n "(cached) $ac_c" 1>&6
3603 cat > conftest.
$ac_ext <<EOF
3604 #line 3605 "configure"
3605 #include "confdefs.h"
3606 #include <sys/types.h>
3607 #include <$ac_cv_struct_tm>
3609 struct tm tm; tm.tm_zone;
3612 if { (eval echo configure
:3613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3614 ac_cv_struct_tm_zone
=yes
3616 echo "configure: failed program was:" >&5
3617 cat conftest.
$ac_ext >&5
3619 ac_cv_struct_tm_zone
=no
3624 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
3625 if test "$ac_cv_struct_tm_zone" = yes; then
3626 cat >> confdefs.h
<<\EOF
3627 #define HAVE_TM_ZONE 1
3631 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3632 echo "configure:3633: checking for tzname" >&5
3633 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
3634 echo $ac_n "(cached) $ac_c" 1>&6
3636 cat > conftest.
$ac_ext <<EOF
3637 #line 3638 "configure"
3638 #include "confdefs.h"
3640 #ifndef tzname /* For SGI. */
3641 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3647 if { (eval echo configure
:3648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3649 ac_cv_var_tzname
=yes
3651 echo "configure: failed program was:" >&5
3652 cat conftest.
$ac_ext >&5
3659 echo "$ac_t""$ac_cv_var_tzname" 1>&6
3660 if test $ac_cv_var_tzname = yes; then
3661 cat >> confdefs.h
<<\EOF
3662 #define HAVE_TZNAME 1
3670 echo $ac_n "checking for working const""... $ac_c" 1>&6
3671 echo "configure:3672: checking for working const" >&5
3672 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3673 echo $ac_n "(cached) $ac_c" 1>&6
3675 cat > conftest.
$ac_ext <<EOF
3676 #line 3677 "configure"
3677 #include "confdefs.h"
3681 /* Ultrix mips cc rejects this. */
3682 typedef int charset[2]; const charset x;
3683 /* SunOS 4.1.1 cc rejects this. */
3684 char const *const *ccp;
3686 /* NEC SVR4.0.2 mips cc rejects this. */
3687 struct point {int x, y;};
3688 static struct point const zero = {0,0};
3689 /* AIX XL C 1.02.0.0 rejects this.
3690 It does not let you subtract one const X* pointer from another in an arm
3691 of an if-expression whose if-part is not a constant expression */
3692 const char *g = "string";
3693 ccp = &g + (g ? g-g : 0);
3694 /* HPUX 7.0 cc rejects these. */
3697 ccp = (char const *const *) p;
3698 { /* SCO 3.2v4 cc rejects this. */
3700 char const *s = 0 ? (char *) 0 : (char const *) 0;
3704 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3706 const int *foo = &x[0];
3709 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3710 typedef const int *iptr;
3714 { /* AIX XL C 1.02.0.0 rejects this saying
3715 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3716 struct s { int j; const int *ap[3]; };
3717 struct s *b; b->j = 5;
3719 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3725 if { (eval echo configure
:3726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3729 echo "configure: failed program was:" >&5
3730 cat conftest.
$ac_ext >&5
3737 echo "$ac_t""$ac_cv_c_const" 1>&6
3738 if test $ac_cv_c_const = no
; then
3739 cat >> confdefs.h
<<\EOF
3745 echo $ac_n "checking for inline""... $ac_c" 1>&6
3746 echo "configure:3747: checking for inline" >&5
3747 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3748 echo $ac_n "(cached) $ac_c" 1>&6
3751 for ac_kw
in inline __inline__ __inline
; do
3752 cat > conftest.
$ac_ext <<EOF
3753 #line 3754 "configure"
3754 #include "confdefs.h"
3760 if { (eval echo configure
:3761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3762 ac_cv_c_inline
=$ac_kw; break
3764 echo "configure: failed program was:" >&5
3765 cat conftest.
$ac_ext >&5
3772 echo "$ac_t""$ac_cv_c_inline" 1>&6
3773 case "$ac_cv_c_inline" in
3775 no
) cat >> confdefs.h
<<\EOF
3779 *) cat >> confdefs.h
<<EOF
3780 #define inline $ac_cv_c_inline
3785 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
3786 echo "configure:3787: checking whether char is unsigned" >&5
3787 if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
3788 echo $ac_n "(cached) $ac_c" 1>&6
3790 if test "$GCC" = yes; then
3791 # GCC predefines this symbol on systems where it applies.
3792 cat > conftest.
$ac_ext <<EOF
3793 #line 3794 "configure"
3794 #include "confdefs.h"
3795 #ifdef __CHAR_UNSIGNED__
3800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3801 egrep "yes" >/dev
/null
2>&1; then
3803 ac_cv_c_char_unsigned
=yes
3806 ac_cv_c_char_unsigned
=no
3811 if test "$cross_compiling" = yes; then
3812 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3814 cat > conftest.
$ac_ext <<EOF
3815 #line 3816 "configure"
3816 #include "confdefs.h"
3817 /* volatile prevents gcc2 from optimizing the test away on sparcs. */
3818 #if !defined(__STDC__) || __STDC__ != 1
3822 volatile char c = 255; exit(c < 0);
3825 if { (eval echo configure
:3826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3827 ac_cv_c_char_unsigned
=yes
3829 echo "configure: failed program was:" >&5
3830 cat conftest.
$ac_ext >&5
3832 ac_cv_c_char_unsigned
=no
3840 echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
3841 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
3842 cat >> confdefs.h
<<\EOF
3843 #define __CHAR_UNSIGNED__ 1
3848 echo $ac_n "checking for long double""... $ac_c" 1>&6
3849 echo "configure:3850: checking for long double" >&5
3850 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
3851 echo $ac_n "(cached) $ac_c" 1>&6
3853 if test "$GCC" = yes; then
3854 ac_cv_c_long_double
=yes
3856 if test "$cross_compiling" = yes; then
3857 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3859 cat > conftest.
$ac_ext <<EOF
3860 #line 3861 "configure"
3861 #include "confdefs.h"
3863 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
3864 long double foo = 0.0;
3865 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
3866 exit(sizeof(long double) < sizeof(double)); }
3868 if { (eval echo configure
:3869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3870 ac_cv_c_long_double
=yes
3872 echo "configure: failed program was:" >&5
3873 cat conftest.
$ac_ext >&5
3875 ac_cv_c_long_double
=no
3883 echo "$ac_t""$ac_cv_c_long_double" 1>&6
3884 if test $ac_cv_c_long_double = yes; then
3885 cat >> confdefs.h
<<\EOF
3886 #define HAVE_LONG_DOUBLE 1
3892 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3893 echo "configure:3894: checking whether byte ordering is bigendian" >&5
3894 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
3895 echo $ac_n "(cached) $ac_c" 1>&6
3897 ac_cv_c_bigendian
=unknown
3898 # See if sys/param.h defines the BYTE_ORDER macro.
3899 cat > conftest.
$ac_ext <<EOF
3900 #line 3901 "configure"
3901 #include "confdefs.h"
3902 #include <sys/types.h>
3903 #include <sys/param.h>
3906 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3911 if { (eval echo configure
:3912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3913 # It does; now see whether it defined to BIG_ENDIAN or not.
3914 cat > conftest.
$ac_ext <<EOF
3915 #line 3916 "configure"
3916 #include "confdefs.h"
3917 #include <sys/types.h>
3918 #include <sys/param.h>
3921 #if BYTE_ORDER != BIG_ENDIAN
3926 if { (eval echo configure
:3927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3928 ac_cv_c_bigendian
=yes
3930 echo "configure: failed program was:" >&5
3931 cat conftest.
$ac_ext >&5
3933 ac_cv_c_bigendian
=no
3937 echo "configure: failed program was:" >&5
3938 cat conftest.
$ac_ext >&5
3941 if test $ac_cv_c_bigendian = unknown
; then
3942 if test "$cross_compiling" = yes; then
3943 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3945 cat > conftest.
$ac_ext <<EOF
3946 #line 3947 "configure"
3947 #include "confdefs.h"
3949 /* Are we little or big endian? From Harbison&Steele. */
3953 char c[sizeof (long)];
3956 exit (u.c[sizeof (long) - 1] == 1);
3959 if { (eval echo configure
:3960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3961 ac_cv_c_bigendian
=no
3963 echo "configure: failed program was:" >&5
3964 cat conftest.
$ac_ext >&5
3966 ac_cv_c_bigendian
=yes
3974 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
3975 if test $ac_cv_c_bigendian = yes; then
3976 cat >> confdefs.h
<<\EOF
3977 #define WORDS_BIGENDIAN 1
3983 echo $ac_n "checking size of int *""... $ac_c" 1>&6
3984 echo "configure:3985: checking size of int *" >&5
3985 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
3986 echo $ac_n "(cached) $ac_c" 1>&6
3988 if test "$cross_compiling" = yes; then
3989 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3991 cat > conftest.
$ac_ext <<EOF
3992 #line 3993 "configure"
3993 #include "confdefs.h"
3997 FILE *f=fopen("conftestval", "w");
3999 fprintf(f, "%d\n", sizeof(int *));
4003 if { (eval echo configure
:4004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4005 ac_cv_sizeof_int_p
=`cat conftestval`
4007 echo "configure: failed program was:" >&5
4008 cat conftest.
$ac_ext >&5
4010 ac_cv_sizeof_int_p
=0
4016 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
4017 cat >> confdefs.h
<<EOF
4018 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
4022 echo $ac_n "checking size of int""... $ac_c" 1>&6
4023 echo "configure:4024: checking size of int" >&5
4024 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
4025 echo $ac_n "(cached) $ac_c" 1>&6
4027 if test "$cross_compiling" = yes; then
4028 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4030 cat > conftest.
$ac_ext <<EOF
4031 #line 4032 "configure"
4032 #include "confdefs.h"
4036 FILE *f=fopen("conftestval", "w");
4038 fprintf(f, "%d\n", sizeof(int));
4042 if { (eval echo configure
:4043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4044 ac_cv_sizeof_int
=`cat conftestval`
4046 echo "configure: failed program was:" >&5
4047 cat conftest.
$ac_ext >&5
4055 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
4056 cat >> confdefs.h
<<EOF
4057 #define SIZEOF_INT $ac_cv_sizeof_int
4061 echo $ac_n "checking size of long""... $ac_c" 1>&6
4062 echo "configure:4063: checking size of long" >&5
4063 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
4064 echo $ac_n "(cached) $ac_c" 1>&6
4066 if test "$cross_compiling" = yes; then
4067 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4069 cat > conftest.
$ac_ext <<EOF
4070 #line 4071 "configure"
4071 #include "confdefs.h"
4075 FILE *f=fopen("conftestval", "w");
4077 fprintf(f, "%d\n", sizeof(long));
4081 if { (eval echo configure
:4082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4083 ac_cv_sizeof_long
=`cat conftestval`
4085 echo "configure: failed program was:" >&5
4086 cat conftest.
$ac_ext >&5
4094 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
4095 cat >> confdefs.h
<<EOF
4096 #define SIZEOF_LONG $ac_cv_sizeof_long
4104 echo $ac_n "checking for long file names""... $ac_c" 1>&6
4105 echo "configure:4106: checking for long file names" >&5
4106 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
4107 echo $ac_n "(cached) $ac_c" 1>&6
4109 ac_cv_sys_long_file_names
=yes
4110 # Test for long file names in all the places we know might matter:
4111 # . the current directory, where building will happen
4112 # $prefix/lib where we will be installing things
4113 # $exec_prefix/lib likewise
4114 # eval it to expand exec_prefix.
4115 # $TMPDIR if set, where it might want to write temporary files
4116 # if $TMPDIR is not set:
4117 # /tmp where it might want to write temporary files
4120 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
4121 ac_tmpdirs
="$TMPDIR"
4123 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
4125 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
4126 test -d $ac_dir || continue
4127 test -w $ac_dir || continue # It is less confusing to not echo anything here.
4128 (echo 1 > $ac_dir/conftest9012345
) 2>/dev
/null
4129 (echo 2 > $ac_dir/conftest9012346
) 2>/dev
/null
4130 val
=`cat $ac_dir/conftest9012345 2>/dev/null`
4131 if test ! -f $ac_dir/conftest9012345
|| test "$val" != 1; then
4132 ac_cv_sys_long_file_names
=no
4133 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4136 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4140 echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6
4141 if test $ac_cv_sys_long_file_names = yes; then
4142 cat >> confdefs.h
<<\EOF
4143 #define HAVE_LONG_FILE_NAMES 1
4151 for ac_prog
in 'bison -y' byacc
4153 # Extract the first word of "$ac_prog", so it can be a program name with args.
4154 set dummy
$ac_prog; ac_word
=$2
4155 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4156 echo "configure:4157: checking for $ac_word" >&5
4157 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
4158 echo $ac_n "(cached) $ac_c" 1>&6
4160 if test -n "$YACC"; then
4161 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4163 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4164 for ac_dir
in $PATH; do
4165 test -z "$ac_dir" && ac_dir
=.
4166 if test -f $ac_dir/$ac_word; then
4167 ac_cv_prog_YACC
="$ac_prog"
4174 YACC
="$ac_cv_prog_YACC"
4175 if test -n "$YACC"; then
4176 echo "$ac_t""$YACC" 1>&6
4178 echo "$ac_t""no" 1>&6
4181 test -n "$YACC" && break
4183 test -n "$YACC" || YACC
="yacc"
4186 # Extract the first word of "flex", so it can be a program name with args.
4187 set dummy flex
; ac_word
=$2
4188 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4189 echo "configure:4190: checking for $ac_word" >&5
4190 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
4191 echo $ac_n "(cached) $ac_c" 1>&6
4193 if test -n "$LEX"; then
4194 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4196 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4197 for ac_dir
in $PATH; do
4198 test -z "$ac_dir" && ac_dir
=.
4199 if test -f $ac_dir/$ac_word; then
4200 ac_cv_prog_LEX
="flex"
4205 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
4208 LEX
="$ac_cv_prog_LEX"
4209 if test -n "$LEX"; then
4210 echo "$ac_t""$LEX" 1>&6
4212 echo "$ac_t""no" 1>&6
4215 if test -z "$LEXLIB"
4221 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
4222 echo "configure:4223: checking for yywrap in -l$ac_lib" >&5
4223 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
4224 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4225 echo $ac_n "(cached) $ac_c" 1>&6
4227 ac_save_LIBS
="$LIBS"
4228 LIBS
="-l$ac_lib $LIBS"
4229 cat > conftest.
$ac_ext <<EOF
4230 #line 4231 "configure"
4231 #include "confdefs.h"
4232 /* Override any gcc2 internal prototype to avoid an error. */
4233 /* We use char because int might match the return type of a gcc2
4234 builtin and then its argument prototype would still apply. */
4241 if { (eval echo configure
:4242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4243 eval "ac_cv_lib_$ac_lib_var=yes"
4245 echo "configure: failed program was:" >&5
4246 cat conftest.
$ac_ext >&5
4248 eval "ac_cv_lib_$ac_lib_var=no"
4251 LIBS
="$ac_save_LIBS"
4254 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4255 echo "$ac_t""yes" 1>&6
4258 echo "$ac_t""no" 1>&6
4263 echo $ac_n "checking lex output file root""... $ac_c" 1>&6
4264 echo "configure:4265: checking lex output file root" >&5
4265 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
4266 echo $ac_n "(cached) $ac_c" 1>&6
4268 # The minimal lex program is just a single line: %%. But some broken lexes
4269 # (Solaris, I think it was) want two %% lines, so accommodate them.
4272 if test -f lex.yy.c
; then
4273 ac_cv_prog_lex_root
=lex.yy
4274 elif test -f lexyy.c
; then
4275 ac_cv_prog_lex_root
=lexyy
4277 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
4281 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
4282 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4284 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
4285 echo "configure:4286: checking whether yytext is a pointer" >&5
4286 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
4287 echo $ac_n "(cached) $ac_c" 1>&6
4289 # POSIX says lex can declare yytext either as a pointer or an array; the
4290 # default is implementation-dependent. Figure out which it is, since
4291 # not all implementations provide the %pointer and %array declarations.
4292 ac_cv_prog_lex_yytext_pointer
=no
4293 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4294 ac_save_LIBS
="$LIBS"
4295 LIBS
="$LIBS $LEXLIB"
4296 cat > conftest.
$ac_ext <<EOF
4297 #line 4298 "configure"
4298 #include "confdefs.h"
4299 `cat $LEX_OUTPUT_ROOT.c`
4304 if { (eval echo configure
:4305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4306 ac_cv_prog_lex_yytext_pointer
=yes
4308 echo "configure: failed program was:" >&5
4309 cat conftest.
$ac_ext >&5
4312 LIBS
="$ac_save_LIBS"
4313 rm -f "${LEX_OUTPUT_ROOT}.c"
4317 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
4318 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4319 cat >> confdefs.h
<<\EOF
4320 #define YYTEXT_POINTER 1
4327 CHECK_INCLUDE
="-I/usr/include $X_CFLAGS"
4328 CHECK_LIB
="-L/lib -L/usr/lib $X_LIBS"
4332 # Make sure we can run config.sub.
4333 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
4334 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
4337 echo $ac_n "checking host system type""... $ac_c" 1>&6
4338 echo "configure:4339: checking host system type" >&5
4341 case "$host_alias" in
4345 if host_alias
=`$ac_config_guess`; then :
4346 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
4348 *) host_alias
=$nonopt ;;
4352 host=`$ac_config_sub $host_alias`
4353 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4354 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4355 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4356 echo "$ac_t""$host" 1>&6
4359 configuration
=$host_alias
4382 cat >> confdefs.h
<<\EOF
4386 case "${canonical}" in
4389 cat >> confdefs.h
<<\EOF
4396 cat >> confdefs.h
<<\EOF
4401 if test "x$TMP" = "xalpha"
4404 cat >> confdefs.h
<<\EOF
4410 *-*-irix5* | *-*-irix6* )
4413 cat >> confdefs.h
<<\EOF
4417 cat >> confdefs.h
<<\EOF
4426 cat >> confdefs.h
<<\EOF
4430 cat >> confdefs.h
<<\EOF
4431 #define __SOLARIS__ 1
4434 cat >> confdefs.h
<<\EOF
4443 cat >> confdefs.h
<<\EOF
4447 cat >> confdefs.h
<<\EOF
4451 cat >> confdefs.h
<<\EOF
4456 *-*-freebsd* | *-*-netbsd*)
4459 cat >> confdefs.h
<<\EOF
4460 #define __FREEBSD__ 1
4463 cat >> confdefs.h
<<\EOF
4471 cat >> confdefs.h
<<\EOF
4475 cat >> confdefs.h
<<\EOF
4483 cat >> confdefs.h
<<\EOF
4487 cat >> confdefs.h
<<\EOF
4495 cat >> confdefs.h
<<\EOF
4499 cat >> confdefs.h
<<\EOF
4508 cat >> confdefs.h
<<\EOF
4512 cat >> confdefs.h
<<\EOF
4516 cat >> confdefs.h
<<\EOF
4522 { echo "configure: error: I don't know your system type." 1>&2; exit 1; }
4527 rm -f ${OSTYPE}.system.cache.tmp
4528 touch ${OSTYPE}.system.cache.tmp
4529 touch ${OSTYPE}.system.cache
4534 DEFAULT_wxUSE_MOTIF
=0
4536 DEFAULT_wxUSE_THREADS
=1
4538 DEFAULT_wxUSE_SHARED
=1
4539 DEFAULT_wxUSE_OPTIMISE
=1
4540 DEFAULT_wxUSE_PROFILE
=0
4541 DEFAULT_wxUSE_DEBUG_FLAG
=0
4542 DEFAULT_wxUSE_DEBUG_INFO
=0
4543 DEFAULT_wxUSE_MEM_TRACING
=0
4544 DEFAULT_wxUSE_DMALLOC
=0
4545 DEFAULT_wxUSE_APPLE_IEEE
=1
4546 DEFAULT_wxUSE_IOSTREAMH
=1
4548 DEFAULT_wxUSE_ZLIB
=1
4549 DEFAULT_wxUSE_LIBPNG
=1
4550 DEFAULT_wxUSE_ODBC
=0
4552 DEFAULT_wxUSE_COMBOBOX
=1
4553 DEFAULT_wxUSE_GAUGE
=1
4554 DEFAULT_wxUSE_SCROLLBAR
=1
4555 DEFAULT_wxUSE_LISTCTRL
=1
4556 DEFAULT_wxUSE_TREECTRL
=1
4557 DEFAULT_wxUSE_GRID
=1
4558 DEFAULT_wxUSE_TAB_DIALOG
=1
4559 DEFAULT_wxUSE_NOTEBOOK
=1
4561 DEFAULT_wxUSE_TIMEDATE
=1
4562 DEFAULT_wxUSE_FRACTION
=1
4564 DEFAULT_wxUSE_INTL
=1
4565 DEFAULT_wxUSE_CONFIG
=1
4566 DEFAULT_wxUSE_STREAMS
=1
4567 DEFAULT_wxUSE_SERIAL
=1
4568 DEFAULT_wxUSE_FILE
=1
4569 DEFAULT_wxUSE_TEXTFILE
=1
4571 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=1
4572 DEFAULT_WX_NORMALIZED_PS_FONTS
=1
4573 DEFAULT_wxUSE_POSTSCRIPT
=1
4576 DEFAULT_wxUSE_RESOURCES
=1
4577 DEFAULT_wxUSE_CONSTRAINTS
=1
4578 DEFAULT_wxUSE_CLIPBOARD
=1
4581 DEFAULT_wxUSE_MDI_ARCHITECTURE
=1
4582 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=1
4583 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=1
4585 DEFAULT_wxUSE_PROLOGIO
=1
4586 DEFAULT_wxUSE_WX_RESOURCES
=1
4589 DEFAULT_wxUSE_OPENGL
=0
4590 DEFAULT_wxUSE_METAFILE
=0
4591 DEFAULT_wxUSE_WXGRAPH
=0
4592 DEFAULT_wxUSE_WXTREE
=0
4593 DEFAULT_wxUSE_HELP
=1
4595 DEFAULT_wxUSE_UNICODE
=1
4596 DEFAULT_wxUSE_WCSRTOMBS
=0
4600 echo $ac_n "checking "for gtk
"""... $ac_c" 1>&6
4601 echo "configure:4602: checking "for gtk
"" >&5
4602 # Check whether --with-gtk or --without-gtk was given.
4603 if test "${with_gtk+set}" = set; then
4605 if test "x$with_gtk" = xyes
; then
4606 ac_cv_use_gtk
='wxUSE_GTK="1"'
4608 ac_cv_use_gtk
='wxUSE_GTK="0"'
4612 LINE
=`grep "wxUSE_GTK" ${OSTYPE}.system.cache`
4613 if test "x$LINE" != x
; then
4614 eval "DEFAULT_$LINE"
4616 ac_cv_use_gtk
='wxUSE_GTK='$DEFAULT_wxUSE_GTK
4620 eval "$ac_cv_use_gtk"
4621 echo $ac_cv_use_gtk >> ${OSTYPE}.system.cache.tmp
4622 if test "$wxUSE_GTK" = 1; then
4623 echo "$ac_t""yes" 1>&6
4625 echo "$ac_t""no" 1>&6
4630 echo $ac_n "checking "for qt
"""... $ac_c" 1>&6
4631 echo "configure:4632: checking "for qt
"" >&5
4632 # Check whether --with-qt or --without-qt was given.
4633 if test "${with_qt+set}" = set; then
4635 if test "x$with_qt" = xyes
; then
4636 ac_cv_use_qt
='wxUSE_QT="1"'
4638 ac_cv_use_qt
='wxUSE_QT="0"'
4642 LINE
=`grep "wxUSE_QT" ${OSTYPE}.system.cache`
4643 if test "x$LINE" != x
; then
4644 eval "DEFAULT_$LINE"
4646 ac_cv_use_qt
='wxUSE_QT='$DEFAULT_wxUSE_QT
4650 eval "$ac_cv_use_qt"
4651 echo $ac_cv_use_qt >> ${OSTYPE}.system.cache.tmp
4652 if test "$wxUSE_QT" = 1; then
4653 echo "$ac_t""yes" 1>&6
4655 echo "$ac_t""no" 1>&6
4660 echo $ac_n "checking "for motif
"""... $ac_c" 1>&6
4661 echo "configure:4662: checking "for motif
"" >&5
4662 # Check whether --with-motif or --without-motif was given.
4663 if test "${with_motif+set}" = set; then
4664 withval
="$with_motif"
4665 if test "x$with_motif" = xyes
; then
4666 ac_cv_use_motif
='wxUSE_MOTIF="1"'
4668 ac_cv_use_motif
='wxUSE_MOTIF="0"'
4672 LINE
=`grep "wxUSE_MOTIF" ${OSTYPE}.system.cache`
4673 if test "x$LINE" != x
; then
4674 eval "DEFAULT_$LINE"
4676 ac_cv_use_motif
='wxUSE_MOTIF='$DEFAULT_wxUSE_MOTIF
4680 eval "$ac_cv_use_motif"
4681 echo $ac_cv_use_motif >> ${OSTYPE}.system.cache.tmp
4682 if test "$wxUSE_MOTIF" = 1; then
4683 echo "$ac_t""yes" 1>&6
4685 echo "$ac_t""no" 1>&6
4691 echo $ac_n "checking "for shared
"""... $ac_c" 1>&6
4692 echo "configure:4693: checking "for shared
"" >&5
4693 # Check whether --with-shared or --without-shared was given.
4694 if test "${with_shared+set}" = set; then
4695 withval
="$with_shared"
4696 if test "x$with_shared" = xyes
; then
4697 ac_cv_use_shared
='wxUSE_SHARED="1"'
4699 ac_cv_use_shared
='wxUSE_SHARED="0"'
4703 LINE
=`grep "wxUSE_SHARED" ${OSTYPE}.system.cache`
4704 if test "x$LINE" != x
; then
4705 eval "DEFAULT_$LINE"
4707 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4711 eval "$ac_cv_use_shared"
4712 echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp
4713 if test "$wxUSE_SHARED" = 1; then
4714 echo "$ac_t""yes" 1>&6
4716 echo "$ac_t""no" 1>&6
4721 echo $ac_n "checking "for optimise
"""... $ac_c" 1>&6
4722 echo "configure:4723: checking "for optimise
"" >&5
4723 # Check whether --with-optimise or --without-optimise was given.
4724 if test "${with_optimise+set}" = set; then
4725 withval
="$with_optimise"
4726 if test "x$with_optimise" = xyes
; then
4727 ac_cv_use_optimise
='wxUSE_OPTIMISE="1"'
4729 ac_cv_use_optimise
='wxUSE_OPTIMISE="0"'
4733 LINE
=`grep "wxUSE_OPTIMISE" ${OSTYPE}.system.cache`
4734 if test "x$LINE" != x
; then
4735 eval "DEFAULT_$LINE"
4737 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4741 eval "$ac_cv_use_optimise"
4742 echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp
4743 if test "$wxUSE_OPTIMISE" = 1; then
4744 echo "$ac_t""yes" 1>&6
4746 echo "$ac_t""no" 1>&6
4751 echo $ac_n "checking "for debug_flag
"""... $ac_c" 1>&6
4752 echo "configure:4753: checking "for debug_flag
"" >&5
4753 # Check whether --with-debug_flag or --without-debug_flag was given.
4754 if test "${with_debug_flag+set}" = set; then
4755 withval
="$with_debug_flag"
4756 if test "x$with_debug_flag" = xyes
; then
4757 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="1"'
4759 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="0"'
4763 LINE
=`grep "wxUSE_DEBUG_FLAG" ${OSTYPE}.system.cache`
4764 if test "x$LINE" != x
; then
4765 eval "DEFAULT_$LINE"
4767 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4771 eval "$ac_cv_use_debug_flag"
4772 echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp
4773 if test "$wxUSE_DEBUG_FLAG" = 1; then
4774 echo "$ac_t""yes" 1>&6
4776 echo "$ac_t""no" 1>&6
4781 echo $ac_n "checking "for debug_info
"""... $ac_c" 1>&6
4782 echo "configure:4783: checking "for debug_info
"" >&5
4783 # Check whether --with-debug_info or --without-debug_info was given.
4784 if test "${with_debug_info+set}" = set; then
4785 withval
="$with_debug_info"
4786 if test "x$with_debug_info" = xyes
; then
4787 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="1"'
4789 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="0"'
4793 LINE
=`grep "wxUSE_DEBUG_INFO" ${OSTYPE}.system.cache`
4794 if test "x$LINE" != x
; then
4795 eval "DEFAULT_$LINE"
4797 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4801 eval "$ac_cv_use_debug_info"
4802 echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp
4803 if test "$wxUSE_DEBUG_INFO" = 1; then
4804 echo "$ac_t""yes" 1>&6
4806 echo "$ac_t""no" 1>&6
4811 echo $ac_n "checking "for debug_gdb
"""... $ac_c" 1>&6
4812 echo "configure:4813: checking "for debug_gdb
"" >&5
4813 # Check whether --with-debug_gdb or --without-debug_gdb was given.
4814 if test "${with_debug_gdb+set}" = set; then
4815 withval
="$with_debug_gdb"
4816 if test "x$with_debug_gdb" = xyes
; then
4817 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB="1"'
4819 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB="0"'
4823 LINE
=`grep "wxUSE_DEBUG_GDB" ${OSTYPE}.system.cache`
4824 if test "x$LINE" != x
; then
4825 eval "DEFAULT_$LINE"
4827 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4831 eval "$ac_cv_use_debug_gdb"
4832 echo $ac_cv_use_debug_gdb >> ${OSTYPE}.system.cache.tmp
4833 if test "$wxUSE_DEBUG_GDB" = 1; then
4834 echo "$ac_t""yes" 1>&6
4836 echo "$ac_t""no" 1>&6
4841 echo $ac_n "checking "for mem_tracing
"""... $ac_c" 1>&6
4842 echo "configure:4843: checking "for mem_tracing
"" >&5
4843 # Check whether --with-mem_tracing or --without-mem_tracing was given.
4844 if test "${with_mem_tracing+set}" = set; then
4845 withval
="$with_mem_tracing"
4846 if test "x$with_mem_tracing" = xyes
; then
4847 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="1"'
4849 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="0"'
4853 LINE
=`grep "wxUSE_MEM_TRACING" ${OSTYPE}.system.cache`
4854 if test "x$LINE" != x
; then
4855 eval "DEFAULT_$LINE"
4857 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4861 eval "$ac_cv_use_mem_tracing"
4862 echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
4863 if test "$wxUSE_MEM_TRACING" = 1; then
4864 echo "$ac_t""yes" 1>&6
4866 echo "$ac_t""no" 1>&6
4871 echo $ac_n "checking "for dmalloc
"""... $ac_c" 1>&6
4872 echo "configure:4873: checking "for dmalloc
"" >&5
4873 # Check whether --with-dmalloc or --without-dmalloc was given.
4874 if test "${with_dmalloc+set}" = set; then
4875 withval
="$with_dmalloc"
4876 if test "x$with_dmalloc" = xyes
; then
4877 ac_cv_use_dmalloc
='wxUSE_DMALLOC="1"'
4879 ac_cv_use_dmalloc
='wxUSE_DMALLOC="0"'
4883 LINE
=`grep "wxUSE_DMALLOC" ${OSTYPE}.system.cache`
4884 if test "x$LINE" != x
; then
4885 eval "DEFAULT_$LINE"
4887 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4891 eval "$ac_cv_use_dmalloc"
4892 echo $ac_cv_use_dmalloc >> ${OSTYPE}.system.cache.tmp
4893 if test "$wxUSE_DMALLOC" = 1; then
4894 echo "$ac_t""yes" 1>&6
4896 echo "$ac_t""no" 1>&6
4901 echo $ac_n "checking "for profile
"""... $ac_c" 1>&6
4902 echo "configure:4903: checking "for profile
"" >&5
4903 # Check whether --with-profile or --without-profile was given.
4904 if test "${with_profile+set}" = set; then
4905 withval
="$with_profile"
4906 if test "x$with_profile" = xyes
; then
4907 ac_cv_use_profile
='wxUSE_PROFILE="1"'
4909 ac_cv_use_profile
='wxUSE_PROFILE="0"'
4913 LINE
=`grep "wxUSE_PROFILE" ${OSTYPE}.system.cache`
4914 if test "x$LINE" != x
; then
4915 eval "DEFAULT_$LINE"
4917 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4921 eval "$ac_cv_use_profile"
4922 echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
4923 if test "$wxUSE_PROFILE" = 1; then
4924 echo "$ac_t""yes" 1>&6
4926 echo "$ac_t""no" 1>&6
4931 echo $ac_n "checking "for apple_ieee
"""... $ac_c" 1>&6
4932 echo "configure:4933: checking "for apple_ieee
"" >&5
4933 # Check whether --with-apple_ieee or --without-apple_ieee was given.
4934 if test "${with_apple_ieee+set}" = set; then
4935 withval
="$with_apple_ieee"
4936 if test "x$with_apple_ieee" = xyes
; then
4937 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="1"'
4939 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="0"'
4943 LINE
=`grep "wxUSE_APPLE_IEEE" ${OSTYPE}.system.cache`
4944 if test "x$LINE" != x
; then
4945 eval "DEFAULT_$LINE"
4947 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4951 eval "$ac_cv_use_apple_ieee"
4952 echo $ac_cv_use_apple_ieee >> ${OSTYPE}.system.cache.tmp
4953 if test "$wxUSE_APPLE_IEEE" = 1; then
4954 echo "$ac_t""yes" 1>&6
4956 echo "$ac_t""no" 1>&6
4962 echo $ac_n "checking "for zlib
"""... $ac_c" 1>&6
4963 echo "configure:4964: checking "for zlib
"" >&5
4964 # Check whether --with-zlib or --without-zlib was given.
4965 if test "${with_zlib+set}" = set; then
4966 withval
="$with_zlib"
4967 if test "x$with_zlib" = xyes
; then
4968 ac_cv_use_zlib
='wxUSE_ZLIB="1"'
4970 ac_cv_use_zlib
='wxUSE_ZLIB="0"'
4974 LINE
=`grep "wxUSE_ZLIB" ${OSTYPE}.system.cache`
4975 if test "x$LINE" != x
; then
4976 eval "DEFAULT_$LINE"
4978 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4982 eval "$ac_cv_use_zlib"
4983 echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
4984 if test "$wxUSE_ZLIB" = 1; then
4985 echo "$ac_t""yes" 1>&6
4987 echo "$ac_t""no" 1>&6
4992 echo $ac_n "checking "for libpng
"""... $ac_c" 1>&6
4993 echo "configure:4994: checking "for libpng
"" >&5
4994 # Check whether --with-libpng or --without-libpng was given.
4995 if test "${with_libpng+set}" = set; then
4996 withval
="$with_libpng"
4997 if test "x$with_libpng" = xyes
; then
4998 ac_cv_use_libpng
='wxUSE_LIBPNG="1"'
5000 ac_cv_use_libpng
='wxUSE_LIBPNG="0"'
5004 LINE
=`grep "wxUSE_LIBPNG" ${OSTYPE}.system.cache`
5005 if test "x$LINE" != x
; then
5006 eval "DEFAULT_$LINE"
5008 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
5012 eval "$ac_cv_use_libpng"
5013 echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
5014 if test "$wxUSE_LIBPNG" = 1; then
5015 echo "$ac_t""yes" 1>&6
5017 echo "$ac_t""no" 1>&6
5022 echo $ac_n "checking "for odbc
"""... $ac_c" 1>&6
5023 echo "configure:5024: checking "for odbc
"" >&5
5024 # Check whether --with-odbc or --without-odbc was given.
5025 if test "${with_odbc+set}" = set; then
5026 withval
="$with_odbc"
5027 if test "x$with_odbc" = xyes
; then
5028 ac_cv_use_odbc
='wxUSE_ODBC="1"'
5030 ac_cv_use_odbc
='wxUSE_ODBC="0"'
5034 LINE
=`grep "wxUSE_ODBC" ${OSTYPE}.system.cache`
5035 if test "x$LINE" != x
; then
5036 eval "DEFAULT_$LINE"
5038 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
5042 eval "$ac_cv_use_odbc"
5043 echo $ac_cv_use_odbc >> ${OSTYPE}.system.cache.tmp
5044 if test "$wxUSE_ODBC" = 1; then
5045 echo "$ac_t""yes" 1>&6
5047 echo "$ac_t""no" 1>&6
5052 echo $ac_n "checking "for opengl
"""... $ac_c" 1>&6
5053 echo "configure:5054: checking "for opengl
"" >&5
5054 # Check whether --with-opengl or --without-opengl was given.
5055 if test "${with_opengl+set}" = set; then
5056 withval
="$with_opengl"
5057 if test "x$with_opengl" = xyes
; then
5058 ac_cv_use_opengl
='wxUSE_OPENGL="1"'
5060 ac_cv_use_opengl
='wxUSE_OPENGL="0"'
5064 LINE
=`grep "wxUSE_OPENGL" ${OSTYPE}.system.cache`
5065 if test "x$LINE" != x
; then
5066 eval "DEFAULT_$LINE"
5068 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
5072 eval "$ac_cv_use_opengl"
5073 echo $ac_cv_use_opengl >> ${OSTYPE}.system.cache.tmp
5074 if test "$wxUSE_OPENGL" = 1; then
5075 echo "$ac_t""yes" 1>&6
5077 echo "$ac_t""no" 1>&6
5083 echo $ac_n "checking "for gauge
"""... $ac_c" 1>&6
5084 echo "configure:5085: checking "for gauge
"" >&5
5085 # Check whether --with-gauge or --without-gauge was given.
5086 if test "${with_gauge+set}" = set; then
5087 withval
="$with_gauge"
5088 if test "x$with_gauge" = xyes
; then
5089 ac_cv_use_gauge
='wxUSE_GAUGE="1"'
5091 ac_cv_use_gauge
='wxUSE_GAUGE="0"'
5095 LINE
=`grep "wxUSE_GAUGE" ${OSTYPE}.system.cache`
5096 if test "x$LINE" != x
; then
5097 eval "DEFAULT_$LINE"
5099 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5103 eval "$ac_cv_use_gauge"
5104 echo $ac_cv_use_gauge >> ${OSTYPE}.system.cache.tmp
5105 if test "$wxUSE_GAUGE" = 1; then
5106 echo "$ac_t""yes" 1>&6
5108 echo "$ac_t""no" 1>&6
5113 echo $ac_n "checking "for combobox
"""... $ac_c" 1>&6
5114 echo "configure:5115: checking "for combobox
"" >&5
5115 # Check whether --with-combobox or --without-combobox was given.
5116 if test "${with_combobox+set}" = set; then
5117 withval
="$with_combobox"
5118 if test "x$with_combobox" = xyes
; then
5119 ac_cv_use_combobox
='wxUSE_COMBOBOX="1"'
5121 ac_cv_use_combobox
='wxUSE_COMBOBOX="0"'
5125 LINE
=`grep "wxUSE_COMBOBOX" ${OSTYPE}.system.cache`
5126 if test "x$LINE" != x
; then
5127 eval "DEFAULT_$LINE"
5129 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5133 eval "$ac_cv_use_combobox"
5134 echo $ac_cv_use_combobox >> ${OSTYPE}.system.cache.tmp
5135 if test "$wxUSE_COMBOBOX" = 1; then
5136 echo "$ac_t""yes" 1>&6
5138 echo "$ac_t""no" 1>&6
5143 echo $ac_n "checking "for scrollbar
"""... $ac_c" 1>&6
5144 echo "configure:5145: checking "for scrollbar
"" >&5
5145 # Check whether --with-scrollbar or --without-scrollbar was given.
5146 if test "${with_scrollbar+set}" = set; then
5147 withval
="$with_scrollbar"
5148 if test "x$with_scrollbar" = xyes
; then
5149 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR="1"'
5151 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR="0"'
5155 LINE
=`grep "wxUSE_SCROLLBAR" ${OSTYPE}.system.cache`
5156 if test "x$LINE" != x
; then
5157 eval "DEFAULT_$LINE"
5159 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5163 eval "$ac_cv_use_scrollbar"
5164 echo $ac_cv_use_scrollbar >> ${OSTYPE}.system.cache.tmp
5165 if test "$wxUSE_SCROLLBAR" = 1; then
5166 echo "$ac_t""yes" 1>&6
5168 echo "$ac_t""no" 1>&6
5173 echo $ac_n "checking "for listctrl
"""... $ac_c" 1>&6
5174 echo "configure:5175: checking "for listctrl
"" >&5
5175 # Check whether --with-listctrl or --without-listctrl was given.
5176 if test "${with_listctrl+set}" = set; then
5177 withval
="$with_listctrl"
5178 if test "x$with_listctrl" = xyes
; then
5179 ac_cv_use_listctrl
='wxUSE_LISTCTRL="1"'
5181 ac_cv_use_listctrl
='wxUSE_LISTCTRL="0"'
5185 LINE
=`grep "wxUSE_LISTCTRL" ${OSTYPE}.system.cache`
5186 if test "x$LINE" != x
; then
5187 eval "DEFAULT_$LINE"
5189 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5193 eval "$ac_cv_use_listctrl"
5194 echo $ac_cv_use_listctrl >> ${OSTYPE}.system.cache.tmp
5195 if test "$wxUSE_LISTCTRL" = 1; then
5196 echo "$ac_t""yes" 1>&6
5198 echo "$ac_t""no" 1>&6
5203 echo $ac_n "checking "for treectrl
"""... $ac_c" 1>&6
5204 echo "configure:5205: checking "for treectrl
"" >&5
5205 # Check whether --with-treectrl or --without-treectrl was given.
5206 if test "${with_treectrl+set}" = set; then
5207 withval
="$with_treectrl"
5208 if test "x$with_treectrl" = xyes
; then
5209 ac_cv_use_treectrl
='wxUSE_TREECTRL="1"'
5211 ac_cv_use_treectrl
='wxUSE_TREECTRL="0"'
5215 LINE
=`grep "wxUSE_TREECTRL" ${OSTYPE}.system.cache`
5216 if test "x$LINE" != x
; then
5217 eval "DEFAULT_$LINE"
5219 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5223 eval "$ac_cv_use_treectrl"
5224 echo $ac_cv_use_treectrl >> ${OSTYPE}.system.cache.tmp
5225 if test "$wxUSE_TREECTRL" = 1; then
5226 echo "$ac_t""yes" 1>&6
5228 echo "$ac_t""no" 1>&6
5233 echo $ac_n "checking "for grid
"""... $ac_c" 1>&6
5234 echo "configure:5235: checking "for grid
"" >&5
5235 # Check whether --with-grid or --without-grid was given.
5236 if test "${with_grid+set}" = set; then
5237 withval
="$with_grid"
5238 if test "x$with_grid" = xyes
; then
5239 ac_cv_use_grid
='wxUSE_GRID="1"'
5241 ac_cv_use_grid
='wxUSE_GRID="0"'
5245 LINE
=`grep "wxUSE_GRID" ${OSTYPE}.system.cache`
5246 if test "x$LINE" != x
; then
5247 eval "DEFAULT_$LINE"
5249 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5253 eval "$ac_cv_use_grid"
5254 echo $ac_cv_use_grid >> ${OSTYPE}.system.cache.tmp
5255 if test "$wxUSE_GRID" = 1; then
5256 echo "$ac_t""yes" 1>&6
5258 echo "$ac_t""no" 1>&6
5263 echo $ac_n "checking "for tab_dialog
"""... $ac_c" 1>&6
5264 echo "configure:5265: checking "for tab_dialog
"" >&5
5265 # Check whether --with-tab_dialog or --without-tab_dialog was given.
5266 if test "${with_tab_dialog+set}" = set; then
5267 withval
="$with_tab_dialog"
5268 if test "x$with_tab_dialog" = xyes
; then
5269 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG="1"'
5271 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG="0"'
5275 LINE
=`grep "wxUSE_TAB_DIALOG" ${OSTYPE}.system.cache`
5276 if test "x$LINE" != x
; then
5277 eval "DEFAULT_$LINE"
5279 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
5283 eval "$ac_cv_use_tab_dialog"
5284 echo $ac_cv_use_tab_dialog >> ${OSTYPE}.system.cache.tmp
5285 if test "$wxUSE_TAB_DIALOG" = 1; then
5286 echo "$ac_t""yes" 1>&6
5288 echo "$ac_t""no" 1>&6
5293 echo $ac_n "checking "for notebook
"""... $ac_c" 1>&6
5294 echo "configure:5295: checking "for notebook
"" >&5
5295 # Check whether --with-notebook or --without-notebook was given.
5296 if test "${with_notebook+set}" = set; then
5297 withval
="$with_notebook"
5298 if test "x$with_notebook" = xyes
; then
5299 ac_cv_use_notebook
='wxUSE_NOTEBOOK="1"'
5301 ac_cv_use_notebook
='wxUSE_NOTEBOOK="0"'
5305 LINE
=`grep "wxUSE_NOTEBOOK" ${OSTYPE}.system.cache`
5306 if test "x$LINE" != x
; then
5307 eval "DEFAULT_$LINE"
5309 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5313 eval "$ac_cv_use_notebook"
5314 echo $ac_cv_use_notebook >> ${OSTYPE}.system.cache.tmp
5315 if test "$wxUSE_NOTEBOOK" = 1; then
5316 echo "$ac_t""yes" 1>&6
5318 echo "$ac_t""no" 1>&6
5324 echo $ac_n "checking "for timedate
"""... $ac_c" 1>&6
5325 echo "configure:5326: checking "for timedate
"" >&5
5326 # Check whether --with-timedate or --without-timedate was given.
5327 if test "${with_timedate+set}" = set; then
5328 withval
="$with_timedate"
5329 if test "x$with_timedate" = xyes
; then
5330 ac_cv_use_timedate
='wxUSE_TIMEDATE="1"'
5332 ac_cv_use_timedate
='wxUSE_TIMEDATE="0"'
5336 LINE
=`grep "wxUSE_TIMEDATE" ${OSTYPE}.system.cache`
5337 if test "x$LINE" != x
; then
5338 eval "DEFAULT_$LINE"
5340 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
5344 eval "$ac_cv_use_timedate"
5345 echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
5346 if test "$wxUSE_TIMEDATE" = 1; then
5347 echo "$ac_t""yes" 1>&6
5349 echo "$ac_t""no" 1>&6
5354 echo $ac_n "checking "for fraction
"""... $ac_c" 1>&6
5355 echo "configure:5356: checking "for fraction
"" >&5
5356 # Check whether --with-fraction or --without-fraction was given.
5357 if test "${with_fraction+set}" = set; then
5358 withval
="$with_fraction"
5359 if test "x$with_fraction" = xyes
; then
5360 ac_cv_use_fraction
='wxUSE_FRACTION="1"'
5362 ac_cv_use_fraction
='wxUSE_FRACTION="0"'
5366 LINE
=`grep "wxUSE_FRACTION" ${OSTYPE}.system.cache`
5367 if test "x$LINE" != x
; then
5368 eval "DEFAULT_$LINE"
5370 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
5374 eval "$ac_cv_use_fraction"
5375 echo $ac_cv_use_fraction >> ${OSTYPE}.system.cache.tmp
5376 if test "$wxUSE_FRACTION" = 1; then
5377 echo "$ac_t""yes" 1>&6
5379 echo "$ac_t""no" 1>&6
5384 echo $ac_n "checking "for log
"""... $ac_c" 1>&6
5385 echo "configure:5386: checking "for log
"" >&5
5386 # Check whether --with-log or --without-log was given.
5387 if test "${with_log+set}" = set; then
5389 if test "x$with_log" = xyes
; then
5390 ac_cv_use_log
='wxUSE_LOG="1"'
5392 ac_cv_use_log
='wxUSE_LOG="0"'
5396 LINE
=`grep "wxUSE_LOG" ${OSTYPE}.system.cache`
5397 if test "x$LINE" != x
; then
5398 eval "DEFAULT_$LINE"
5400 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5404 eval "$ac_cv_use_log"
5405 echo $ac_cv_use_log >> ${OSTYPE}.system.cache.tmp
5406 if test "$wxUSE_LOG" = 1; then
5407 echo "$ac_t""yes" 1>&6
5409 echo "$ac_t""no" 1>&6
5414 echo $ac_n "checking "for intl
"""... $ac_c" 1>&6
5415 echo "configure:5416: checking "for intl
"" >&5
5416 # Check whether --with-intl or --without-intl was given.
5417 if test "${with_intl+set}" = set; then
5418 withval
="$with_intl"
5419 if test "x$with_intl" = xyes
; then
5420 ac_cv_use_intl
='wxUSE_INTL="1"'
5422 ac_cv_use_intl
='wxUSE_INTL="0"'
5426 LINE
=`grep "wxUSE_INTL" ${OSTYPE}.system.cache`
5427 if test "x$LINE" != x
; then
5428 eval "DEFAULT_$LINE"
5430 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5434 eval "$ac_cv_use_intl"
5435 echo $ac_cv_use_intl >> ${OSTYPE}.system.cache.tmp
5436 if test "$wxUSE_INTL" = 1; then
5437 echo "$ac_t""yes" 1>&6
5439 echo "$ac_t""no" 1>&6
5444 echo $ac_n "checking "for config
"""... $ac_c" 1>&6
5445 echo "configure:5446: checking "for config
"" >&5
5446 # Check whether --with-config or --without-config was given.
5447 if test "${with_config+set}" = set; then
5448 withval
="$with_config"
5449 if test "x$with_config" = xyes
; then
5450 ac_cv_use_config
='wxUSE_CONFIG="1"'
5452 ac_cv_use_config
='wxUSE_CONFIG="0"'
5456 LINE
=`grep "wxUSE_CONFIG" ${OSTYPE}.system.cache`
5457 if test "x$LINE" != x
; then
5458 eval "DEFAULT_$LINE"
5460 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5464 eval "$ac_cv_use_config"
5465 echo $ac_cv_use_config >> ${OSTYPE}.system.cache.tmp
5466 if test "$wxUSE_CONFIG" = 1; then
5467 echo "$ac_t""yes" 1>&6
5469 echo "$ac_t""no" 1>&6
5474 echo $ac_n "checking "for streams
"""... $ac_c" 1>&6
5475 echo "configure:5476: checking "for streams
"" >&5
5476 # Check whether --with-streams or --without-streams was given.
5477 if test "${with_streams+set}" = set; then
5478 withval
="$with_streams"
5479 if test "x$with_streams" = xyes
; then
5480 ac_cv_use_streams
='wxUSE_STREAMS="1"'
5482 ac_cv_use_streams
='wxUSE_STREAMS="0"'
5486 LINE
=`grep "wxUSE_STREAMS" ${OSTYPE}.system.cache`
5487 if test "x$LINE" != x
; then
5488 eval "DEFAULT_$LINE"
5490 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5494 eval "$ac_cv_use_streams"
5495 echo $ac_cv_use_streams >> ${OSTYPE}.system.cache.tmp
5496 if test "$wxUSE_STREAMS" = 1; then
5497 echo "$ac_t""yes" 1>&6
5499 echo "$ac_t""no" 1>&6
5504 echo $ac_n "checking "for serial
"""... $ac_c" 1>&6
5505 echo "configure:5506: checking "for serial
"" >&5
5506 # Check whether --with-serial or --without-serial was given.
5507 if test "${with_serial+set}" = set; then
5508 withval
="$with_serial"
5509 if test "x$with_serial" = xyes
; then
5510 ac_cv_use_serial
='wxUSE_SERIAL="1"'
5512 ac_cv_use_serial
='wxUSE_SERIAL="0"'
5516 LINE
=`grep "wxUSE_SERIAL" ${OSTYPE}.system.cache`
5517 if test "x$LINE" != x
; then
5518 eval "DEFAULT_$LINE"
5520 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
5524 eval "$ac_cv_use_serial"
5525 echo $ac_cv_use_serial >> ${OSTYPE}.system.cache.tmp
5526 if test "$wxUSE_SERIAL" = 1; then
5527 echo "$ac_t""yes" 1>&6
5529 echo "$ac_t""no" 1>&6
5534 echo $ac_n "checking "for file"""... $ac_c" 1>&6
5535 echo "configure:5536: checking "for file"" >&5
5536 # Check whether --with-file or --without-file was given.
5537 if test "${with_file+set}" = set; then
5538 withval
="$with_file"
5539 if test "x$with_file" = xyes
; then
5540 ac_cv_use_file
='wxUSE_FILE="1"'
5542 ac_cv_use_file
='wxUSE_FILE="0"'
5546 LINE
=`grep "wxUSE_FILE" ${OSTYPE}.system.cache`
5547 if test "x$LINE" != x
; then
5548 eval "DEFAULT_$LINE"
5550 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5554 eval "$ac_cv_use_file"
5555 echo $ac_cv_use_file >> ${OSTYPE}.system.cache.tmp
5556 if test "$wxUSE_FILE" = 1; then
5557 echo "$ac_t""yes" 1>&6
5559 echo "$ac_t""no" 1>&6
5564 echo $ac_n "checking "for textfile
"""... $ac_c" 1>&6
5565 echo "configure:5566: checking "for textfile
"" >&5
5566 # Check whether --with-textfile or --without-textfile was given.
5567 if test "${with_textfile+set}" = set; then
5568 withval
="$with_textfile"
5569 if test "x$with_textfile" = xyes
; then
5570 ac_cv_use_textfile
='wxUSE_TEXTFILE="1"'
5572 ac_cv_use_textfile
='wxUSE_TEXTFILE="0"'
5576 LINE
=`grep "wxUSE_TEXTFILE" ${OSTYPE}.system.cache`
5577 if test "x$LINE" != x
; then
5578 eval "DEFAULT_$LINE"
5580 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5584 eval "$ac_cv_use_textfile"
5585 echo $ac_cv_use_textfile >> ${OSTYPE}.system.cache.tmp
5586 if test "$wxUSE_TEXTFILE" = 1; then
5587 echo "$ac_t""yes" 1>&6
5589 echo "$ac_t""no" 1>&6
5595 echo $ac_n "checking "for afmfonts
"""... $ac_c" 1>&6
5596 echo "configure:5597: checking "for afmfonts
"" >&5
5597 # Check whether --with-afmfonts or --without-afmfonts was given.
5598 if test "${with_afmfonts+set}" = set; then
5599 withval
="$with_afmfonts"
5600 if test "x$with_afmfonts" = xyes
; then
5601 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="1"'
5603 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="0"'
5607 LINE
=`grep "wxUSE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache`
5608 if test "x$LINE" != x
; then
5609 eval "DEFAULT_$LINE"
5611 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT='$DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
5615 eval "$ac_cv_use_afmfonts"
5616 echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
5617 if test "$wxUSE_AFM_FOR_POSTSCRIPT" = 1; then
5618 echo "$ac_t""yes" 1>&6
5620 echo "$ac_t""no" 1>&6
5625 echo $ac_n "checking "for normalized
"""... $ac_c" 1>&6
5626 echo "configure:5627: checking "for normalized
"" >&5
5627 # Check whether --with-normalized or --without-normalized was given.
5628 if test "${with_normalized+set}" = set; then
5629 withval
="$with_normalized"
5630 if test "x$with_normalized" = xyes
; then
5631 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="1"'
5633 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="0"'
5637 LINE
=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache`
5638 if test "x$LINE" != x
; then
5639 eval "DEFAULT_$LINE"
5641 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS
5645 eval "$ac_cv_use_normalized"
5646 echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
5647 if test "$WX_NORMALIZED_PS_FONTS" = 1; then
5648 echo "$ac_t""yes" 1>&6
5650 echo "$ac_t""no" 1>&6
5655 echo $ac_n "checking "for postscript
"""... $ac_c" 1>&6
5656 echo "configure:5657: checking "for postscript
"" >&5
5657 # Check whether --with-postscript or --without-postscript was given.
5658 if test "${with_postscript+set}" = set; then
5659 withval
="$with_postscript"
5660 if test "x$with_postscript" = xyes
; then
5661 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="1"'
5663 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="0"'
5667 LINE
=`grep "wxUSE_POSTSCRIPT" ${OSTYPE}.system.cache`
5668 if test "x$LINE" != x
; then
5669 eval "DEFAULT_$LINE"
5671 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5675 eval "$ac_cv_use_postscript"
5676 echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
5677 if test "$wxUSE_POSTSCRIPT" = 1; then
5678 echo "$ac_t""yes" 1>&6
5680 echo "$ac_t""no" 1>&6
5686 echo $ac_n "checking "for unicode
"""... $ac_c" 1>&6
5687 echo "configure:5688: checking "for unicode
"" >&5
5688 # Check whether --with-unicode or --without-unicode was given.
5689 if test "${with_unicode+set}" = set; then
5690 withval
="$with_unicode"
5691 if test "x$with_unicode" = xyes
; then
5692 ac_cv_use_unicode
='wxUSE_UNICODE="1"'
5694 ac_cv_use_unicode
='wxUSE_UNICODE="0"'
5698 LINE
=`grep "wxUSE_UNICODE" ${OSTYPE}.system.cache`
5699 if test "x$LINE" != x
; then
5700 eval "DEFAULT_$LINE"
5702 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5706 eval "$ac_cv_use_unicode"
5707 echo $ac_cv_use_unicode >> ${OSTYPE}.system.cache.tmp
5708 if test "$wxUSE_UNICODE" = 1; then
5709 echo "$ac_t""yes" 1>&6
5711 echo "$ac_t""no" 1>&6
5716 echo $ac_n "checking "for wcsrtombs
"""... $ac_c" 1>&6
5717 echo "configure:5718: checking "for wcsrtombs
"" >&5
5718 # Check whether --with-wcsrtombs or --without-wcsrtombs was given.
5719 if test "${with_wcsrtombs+set}" = set; then
5720 withval
="$with_wcsrtombs"
5721 if test "x$with_wcsrtombs" = xyes
; then
5722 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="1"'
5724 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="0"'
5728 LINE
=`grep "wxUSE_WCSRTOMBS" ${OSTYPE}.system.cache`
5729 if test "x$LINE" != x
; then
5730 eval "DEFAULT_$LINE"
5732 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
5736 eval "$ac_cv_use_wcsrtombs"
5737 echo $ac_cv_use_wcsrtombs >> ${OSTYPE}.system.cache.tmp
5738 if test "$wxUSE_WCSRTOMBS" = 1; then
5739 echo "$ac_t""yes" 1>&6
5741 echo "$ac_t""no" 1>&6
5747 echo $ac_n "checking "for wxresources
"""... $ac_c" 1>&6
5748 echo "configure:5749: checking "for wxresources
"" >&5
5749 # Check whether --with-wxresources or --without-wxresources was given.
5750 if test "${with_wxresources+set}" = set; then
5751 withval
="$with_wxresources"
5752 if test "x$with_wxresources" = xyes
; then
5753 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="1"'
5755 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="0"'
5759 LINE
=`grep "wxUSE_WX_RESOURCES" ${OSTYPE}.system.cache`
5760 if test "x$LINE" != x
; then
5761 eval "DEFAULT_$LINE"
5763 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES='$DEFAULT_wxUSE_WX_RESOURCES
5767 eval "$ac_cv_use_wxresources"
5768 echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
5769 if test "$wxUSE_WX_RESOURCES" = 1; then
5770 echo "$ac_t""yes" 1>&6
5772 echo "$ac_t""no" 1>&6
5777 echo $ac_n "checking "for prologio
"""... $ac_c" 1>&6
5778 echo "configure:5779: checking "for prologio
"" >&5
5779 # Check whether --with-prologio or --without-prologio was given.
5780 if test "${with_prologio+set}" = set; then
5781 withval
="$with_prologio"
5782 if test "x$with_prologio" = xyes
; then
5783 ac_cv_use_prologio
='wxUSE_PROLOGIO="1"'
5785 ac_cv_use_prologio
='wxUSE_PROLOGIO="0"'
5789 LINE
=`grep "wxUSE_PROLOGIO" ${OSTYPE}.system.cache`
5790 if test "x$LINE" != x
; then
5791 eval "DEFAULT_$LINE"
5793 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5797 eval "$ac_cv_use_prologio"
5798 echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
5799 if test "$wxUSE_PROLOGIO" = 1; then
5800 echo "$ac_t""yes" 1>&6
5802 echo "$ac_t""no" 1>&6
5807 echo $ac_n "checking "for RPC
"""... $ac_c" 1>&6
5808 echo "configure:5809: checking "for RPC
"" >&5
5809 # Check whether --with-rpc or --without-rpc was given.
5810 if test "${with_rpc+set}" = set; then
5812 if test "x$with_rpc" = xyes
; then
5813 ac_cv_use_rpc
='wxUSE_RPC="1"'
5815 ac_cv_use_rpc
='wxUSE_RPC="0"'
5819 LINE
=`grep "wxUSE_RPC" ${OSTYPE}.system.cache`
5820 if test "x$LINE" != x
; then
5821 eval "DEFAULT_$LINE"
5823 ac_cv_use_rpc
='wxUSE_RPC='$DEFAULT_wxUSE_RPC
5827 eval "$ac_cv_use_rpc"
5828 echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
5829 if test "$wxUSE_RPC" = 1; then
5830 echo "$ac_t""yes" 1>&6
5832 echo "$ac_t""no" 1>&6
5838 echo $ac_n "checking "for IPC
"""... $ac_c" 1>&6
5839 echo "configure:5840: checking "for IPC
"" >&5
5840 # Check whether --with-ipc or --without-ipc was given.
5841 if test "${with_ipc+set}" = set; then
5843 if test "x$with_ipc" = xyes
; then
5844 ac_cv_use_ipc
='wxUSE_IPC="1"'
5846 ac_cv_use_ipc
='wxUSE_IPC="0"'
5850 LINE
=`grep "wxUSE_IPC" ${OSTYPE}.system.cache`
5851 if test "x$LINE" != x
; then
5852 eval "DEFAULT_$LINE"
5854 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5858 eval "$ac_cv_use_ipc"
5859 echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
5860 if test "$wxUSE_IPC" = 1; then
5861 echo "$ac_t""yes" 1>&6
5863 echo "$ac_t""no" 1>&6
5868 echo $ac_n "checking "for resources
"""... $ac_c" 1>&6
5869 echo "configure:5870: checking "for resources
"" >&5
5870 # Check whether --with-resources or --without-resources was given.
5871 if test "${with_resources+set}" = set; then
5872 withval
="$with_resources"
5873 if test "x$with_resources" = xyes
; then
5874 ac_cv_use_resources
='wxUSE_RESOURCES="1"'
5876 ac_cv_use_resources
='wxUSE_RESOURCES="0"'
5880 LINE
=`grep "wxUSE_RESOURCES" ${OSTYPE}.system.cache`
5881 if test "x$LINE" != x
; then
5882 eval "DEFAULT_$LINE"
5884 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5888 eval "$ac_cv_use_resources"
5889 echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
5890 if test "$wxUSE_RESOURCES" = 1; then
5891 echo "$ac_t""yes" 1>&6
5893 echo "$ac_t""no" 1>&6
5898 echo $ac_n "checking "for clipboard
"""... $ac_c" 1>&6
5899 echo "configure:5900: checking "for clipboard
"" >&5
5900 # Check whether --with-clipboard or --without-clipboard was given.
5901 if test "${with_clipboard+set}" = set; then
5902 withval
="$with_clipboard"
5903 if test "x$with_clipboard" = xyes
; then
5904 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="1"'
5906 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="0"'
5910 LINE
=`grep "wxUSE_CLIPBOARD" ${OSTYPE}.system.cache`
5911 if test "x$LINE" != x
; then
5912 eval "DEFAULT_$LINE"
5914 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5918 eval "$ac_cv_use_clipboard"
5919 echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
5920 if test "$wxUSE_CLIPBOARD" = 1; then
5921 echo "$ac_t""yes" 1>&6
5923 echo "$ac_t""no" 1>&6
5928 echo $ac_n "checking "for dnd
"""... $ac_c" 1>&6
5929 echo "configure:5930: checking "for dnd
"" >&5
5930 # Check whether --with-dnd or --without-dnd was given.
5931 if test "${with_dnd+set}" = set; then
5933 if test "x$with_dnd" = xyes
; then
5934 ac_cv_use_dnd
='wxUSE_DND="1"'
5936 ac_cv_use_dnd
='wxUSE_DND="0"'
5940 LINE
=`grep "wxUSE_DND" ${OSTYPE}.system.cache`
5941 if test "x$LINE" != x
; then
5942 eval "DEFAULT_$LINE"
5944 ac_cv_use_dnd
='wxUSE_DND='$DEFAULT_wxUSE_DND
5948 eval "$ac_cv_use_dnd"
5949 echo $ac_cv_use_dnd >> ${OSTYPE}.system.cache.tmp
5950 if test "$wxUSE_DND" = 1; then
5951 echo "$ac_t""yes" 1>&6
5953 echo "$ac_t""no" 1>&6
5958 echo $ac_n "checking "for constrains
"""... $ac_c" 1>&6
5959 echo "configure:5960: checking "for constrains
"" >&5
5960 # Check whether --with-constraints or --without-constraints was given.
5961 if test "${with_constraints+set}" = set; then
5962 withval
="$with_constraints"
5963 if test "x$with_constraints" = xyes
; then
5964 ac_cv_use_constraints
='wxUSE_CONSTRAINTS="1"'
5966 ac_cv_use_constraints
='wxUSE_CONSTRAINTS="0"'
5970 LINE
=`grep "wxUSE_CONSTRAINTS" ${OSTYPE}.system.cache`
5971 if test "x$LINE" != x
; then
5972 eval "DEFAULT_$LINE"
5974 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5978 eval "$ac_cv_use_constraints"
5979 echo $ac_cv_use_constraints >> ${OSTYPE}.system.cache.tmp
5980 if test "$wxUSE_CONSTRAINTS" = 1; then
5981 echo "$ac_t""yes" 1>&6
5983 echo "$ac_t""no" 1>&6
5989 echo $ac_n "checking "for mdi
"""... $ac_c" 1>&6
5990 echo "configure:5991: checking "for mdi
"" >&5
5991 # Check whether --with-mdi or --without-mdi was given.
5992 if test "${with_mdi+set}" = set; then
5994 if test "x$with_mdi" = xyes
; then
5995 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="1"'
5997 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="0"'
6001 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${OSTYPE}.system.cache`
6002 if test "x$LINE" != x
; then
6003 eval "DEFAULT_$LINE"
6005 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6009 eval "$ac_cv_use_mdi"
6010 echo $ac_cv_use_mdi >> ${OSTYPE}.system.cache.tmp
6011 if test "$wxUSE_MDI_ARCHITECTURE" = 1; then
6012 echo "$ac_t""yes" 1>&6
6014 echo "$ac_t""no" 1>&6
6019 echo $ac_n "checking "for docview
"""... $ac_c" 1>&6
6020 echo "configure:6021: checking "for docview
"" >&5
6021 # Check whether --with-docview or --without-docview was given.
6022 if test "${with_docview+set}" = set; then
6023 withval
="$with_docview"
6024 if test "x$with_docview" = xyes
; then
6025 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="1"'
6027 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="0"'
6031 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache`
6032 if test "x$LINE" != x
; then
6033 eval "DEFAULT_$LINE"
6035 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6039 eval "$ac_cv_use_docview"
6040 echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp
6041 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1; then
6042 echo "$ac_t""yes" 1>&6
6044 echo "$ac_t""no" 1>&6
6049 echo $ac_n "checking "for printarch
"""... $ac_c" 1>&6
6050 echo "configure:6051: checking "for printarch
"" >&5
6051 # Check whether --with-printarch or --without-printarch was given.
6052 if test "${with_printarch+set}" = set; then
6053 withval
="$with_printarch"
6054 if test "x$with_printarch" = xyes
; then
6055 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="1"'
6057 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="0"'
6061 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache`
6062 if test "x$LINE" != x
; then
6063 eval "DEFAULT_$LINE"
6065 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6069 eval "$ac_cv_use_printarch"
6070 echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp
6071 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1; then
6072 echo "$ac_t""yes" 1>&6
6074 echo "$ac_t""no" 1>&6
6079 echo $ac_n "checking "for help"""... $ac_c" 1>&6
6080 echo "configure:6081: checking "for help"" >&5
6081 # Check whether --with-help or --without-help was given.
6082 if test "${with_help+set}" = set; then
6083 withval
="$with_help"
6084 if test "x$with_help" = xyes
; then
6085 ac_cv_use_help
='wxUSE_HELP="1"'
6087 ac_cv_use_help
='wxUSE_HELP="0"'
6091 LINE
=`grep "wxUSE_HELP" ${OSTYPE}.system.cache`
6092 if test "x$LINE" != x
; then
6093 eval "DEFAULT_$LINE"
6095 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6099 eval "$ac_cv_use_help"
6100 echo $ac_cv_use_help >> ${OSTYPE}.system.cache.tmp
6101 if test "$wxUSE_HELP" = 1; then
6102 echo "$ac_t""yes" 1>&6
6104 echo "$ac_t""no" 1>&6
6109 if test "$wxUSE_UNIX" = 1 ; then
6110 cat >> confdefs.h
<<\EOF
6128 if test "$wxUSE_GTK" = 1; then
6129 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
6130 if test "${with_gtk_prefix+set}" = set; then
6131 withval
="$with_gtk_prefix"
6132 gtk_config_prefix
="$withval"
6134 gtk_config_prefix
=""
6137 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
6138 if test "${with_gtk_exec_prefix+set}" = set; then
6139 withval
="$with_gtk_exec_prefix"
6140 gtk_config_exec_prefix
="$withval"
6142 gtk_config_exec_prefix
=""
6146 if test x
$gtk_config_exec_prefix != x
; then
6147 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6148 if test x
${GTK_CONFIG+set} != xset
; then
6149 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6152 if test x
$gtk_config_prefix != x
; then
6153 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6154 if test x
${GTK_CONFIG+set} != xset
; then
6155 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6159 # Extract the first word of "gtk-config", so it can be a program name with args.
6160 set dummy gtk
-config; ac_word
=$2
6161 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6162 echo "configure:6163: checking for $ac_word" >&5
6163 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6164 echo $ac_n "(cached) $ac_c" 1>&6
6166 case "$GTK_CONFIG" in
6168 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6171 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6172 for ac_dir
in $PATH; do
6173 test -z "$ac_dir" && ac_dir
=.
6174 if test -f $ac_dir/$ac_word; then
6175 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6180 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6184 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6185 if test -n "$GTK_CONFIG"; then
6186 echo "$ac_t""$GTK_CONFIG" 1>&6
6188 echo "$ac_t""no" 1>&6
6191 min_gtk_version
=1.0.4
6192 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6193 echo "configure:6194: checking for GTK - version >= $min_gtk_version" >&5
6195 if test "$GTK_CONFIG" != "no" ; then
6196 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6197 GTK_LIBS
=`$GTK_CONFIG --libs`
6198 ac_save_CFLAGS
="$CFLAGS"
6199 ac_save_LIBS
="$LIBS"
6200 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6201 LIBS
="$LIBS $GTK_LIBS"
6202 if test "$cross_compiling" = yes; then
6203 echo $ac_n "cross compiling; assumed OK... $ac_c"
6205 cat > conftest.
$ac_ext <<EOF
6206 #line 6207 "configure"
6207 #include "confdefs.h"
6209 #include <gtk/gtk.h>
6215 int major, minor, micro;
6217 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6218 printf("%s, bad version string\n", "$min_gtk_version");
6222 if (gtk_minor_version > 0) return FALSE;
6224 return !((gtk_major_version > major) ||
6225 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6226 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6230 if { (eval echo configure
:6231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
6234 echo "configure: failed program was:" >&5
6235 cat conftest.
$ac_ext >&5
6242 CFLAGS
="$ac_save_CFLAGS"
6243 LIBS
="$ac_save_LIBS"
6247 if test "x$no_gtk" = x
; then
6248 echo "$ac_t""yes" 1>&6
6250 GUI_TK_INCLUDE
="$GTK_CFLAGS"
6251 GUI_TK_LIBRARY
="$GTK_LIBS"
6254 echo "$ac_t""no" 1>&6
6257 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.0.4 up-to 1.0.6?" 1>&2; exit 1; }
6263 TOOLKIT_DEF
=__WXGTK__
6264 WX_LINK
=-lwx_gtk_1_0
6265 MAKEINCLUDE
=..
/gtk.inc
6268 if test "$wxUSE_QT" = 1; then
6269 echo $ac_n "checking for Qt includes""... $ac_c" 1>&6
6270 echo "configure:6271: checking for Qt includes" >&5
6273 for ac_dir
in $SEARCH_INCLUDE;
6275 if test -f "$ac_dir/qapp.h"; then
6276 ac_find_includes
=$ac_dir
6281 if test "$ac_find_includes" != "" ; then
6282 echo "$ac_t""found $ac_find_includes" 1>&6
6283 echo $ac_n "checking for Qt library""... $ac_c" 1>&6
6284 echo "configure:6285: checking for Qt library" >&5
6287 for ac_dir
in $SEARCH_LIB;
6289 for ac_extension
in a so sl
; do
6290 if test -f "$ac_dir/libqt.$ac_extension"; then
6291 ac_find_libraries
=$ac_dir
6297 if test "$ac_find_libraries" != "" ; then
6299 ac_path_to_include
=$ac_find_includes
6300 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6302 if test $result = 0; then
6303 ac_path_to_include
=""
6305 ac_path_to_include
="-I$ac_find_includes"
6309 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6311 if test $result = 0; then
6314 ac_path_to_link
="-L$ac_find_libraries"
6317 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6318 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6319 echo "$ac_t""found Qt at $ac_find_libraries" 1>&6
6321 { echo "configure: error: no" 1>&2; exit 1; }
6324 { echo "configure: error: no" 1>&2; exit 1; }
6326 GUI_TK_LINK
="-lX11 -lqt -lm"
6328 TOOLKIT_DEF
=__WXQT__
6330 MAKEINCLUDE
=..
/qt.inc
6333 if test "$wxUSE_MOTIF" = 1; then
6334 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
6335 echo "configure:6336: checking for Motif/Lesstif includes" >&5
6338 for ac_dir
in $SEARCH_INCLUDE;
6340 if test -f "$ac_dir/Xm.h"; then
6341 ac_find_includes
=$ac_dir
6346 if test "$ac_find_includes" != "" ; then
6347 echo "$ac_t""found $ac_find_includes" 1>&6
6348 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
6349 echo "configure:6350: checking for Motif/Lesstif library" >&5
6352 for ac_dir
in $SEARCH_LIB;
6354 for ac_extension
in a so sl
; do
6355 if test -f "$ac_dir/libXm.$ac_extension"; then
6356 ac_find_libraries
=$ac_dir
6362 if test "$ac_find_libraries" != "" ; then
6364 ac_path_to_include
=$ac_find_includes
6365 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6367 if test $result = 0; then
6368 ac_path_to_include
=""
6370 ac_path_to_include
="-I$ac_find_includes"
6374 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6376 if test $result = 0; then
6379 ac_path_to_link
="-L$ac_find_libraries"
6382 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6383 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6384 echo "$ac_t""found at $ac_find_libraries" 1>&6
6385 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
6386 echo "configure:6387: checking for Xt library" >&5
6389 for ac_dir
in $SEARCH_LIB;
6391 for ac_extension
in a so sl
; do
6392 if test -f "$ac_dir/libXt.$ac_extension"; then
6393 ac_find_libraries
=$ac_dir
6399 if test "$ac_find_libraries" != "" ; then
6401 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6403 if test $result = 0; then
6406 ac_path_to_link
="-L$ac_find_libraries"
6409 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6410 echo "$ac_t""found at $ac_find_libraries" 1>&6
6411 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6412 echo "configure:6413: checking for Xpm library" >&5
6415 for ac_dir
in $SEARCH_LIB;
6417 for ac_extension
in a so sl
; do
6418 if test -f "$ac_dir/libXpm.$ac_extension"; then
6419 ac_find_libraries
=$ac_dir
6425 if test "$ac_find_libraries" != "" ; then
6427 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6429 if test $result = 0; then
6432 ac_path_to_link
="-L$ac_find_libraries"
6435 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6436 echo "$ac_t""found at $ac_find_libraries" 1>&6
6438 { echo "configure: error: no" 1>&2; exit 1; }
6441 { echo "configure: error: no" 1>&2; exit 1; }
6444 { echo "configure: error: no" 1>&2; exit 1; }
6447 { echo "configure: error: no" 1>&2; exit 1; }
6450 GUI_TK_LINK
="-lXm -lXmu -lXt -lXpm -lX11 -lm"
6451 GUI_TK_LINK
="$CHECK_LINK $GUI_TK_LINK"
6453 TOOLKIT_DEF
="__WXMOTIF__ -D__LINUX__ -D__UNIX__"
6455 MAKEINCLUDE
=..
/motif.inc
6458 if test "$TOOLKIT" = ""; then
6459 { echo "configure: error: You must specify a toolkit: --with-gtk --with-qt --with-motif" 1>&2; exit 1; }
6475 if test "$wxUSE_DEBUG_GDB" = 1 ; then
6480 if test "$wxUSE_DEBUG_INFO" = 1 ; then
6487 if test "$wxUSE_DEBUG_FLAG" = 1 ; then
6488 cat >> confdefs.h
<<EOF
6489 #define WXDEBUG $wxUSE_DEBUG_FLAG
6492 WXDEBUG_DEFINE
="-D__WXDEBUG__"
6495 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
6499 if test "$wxUSE_MEM_TRACING" = 1 ; then
6500 cat >> confdefs.h
<<EOF
6501 #define wxUSE_MEMORY_TRACING $wxUSE_MEM_TRACING
6504 cat >> confdefs.h
<<EOF
6505 #define wxUSE_GLOBAL_MEMORY_OPERATORS $wxUSE_MEM_TRACING
6511 if test "$wxUSE_DMALLOC" = 1 ; then
6512 EXTRA_LINK
="$EXTRA_LINK -ldmalloc"
6517 if test "$wxUSE_PROFILE" = 1 ; then
6522 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
6523 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
6524 if test "$wxUSE_OPTIMISE" = 0 ; then
6527 if test "$GCC" = yes ; then
6529 case "${canonical}" in
6531 OPTIMISE
="${OPTIMISE} "
6541 if test "$wxUSE_APPLE_IEEE" = 1 ; then
6542 APPLE_IEEE
="APPLE_IEEE"
6543 cat >> confdefs.h
<<EOF
6544 #define wxUSE_APPLE_IEEE $wxUSE_APPLE_IEEE
6549 wxUSE_IOSTREAMH
=$DEFAULT_wxUSE_IOSTREAMH
6550 cat >> confdefs.h
<<EOF
6551 #define wxUSE_IOSTREAMH $wxUSE_IOSTREAMH
6556 if test "$wxUSE_ZLIB" = 1 ; then
6557 cat >> confdefs.h
<<EOF
6558 #define wxUSE_ZLIB $wxUSE_ZLIB
6563 if test "$wxUSE_LIBPNG" = 1 ; then
6564 cat >> confdefs.h
<<EOF
6565 #define wxUSE_LIBPNG $wxUSE_LIBPNG
6571 if test "$wxUSE_ODBC" = 1 ; then
6572 cat >> confdefs.h
<<EOF
6573 #define wxUSE_ODBC $wxUSE_ODBC
6576 IODBC_C_SRC
="\$(IODBC_C_SRC)"
6581 if test "$wxUSE_GAUGE" = 1 ; then
6582 cat >> confdefs.h
<<EOF
6583 #define wxUSE_GAUGE $wxUSE_GAUGE
6588 if test "$wxUSE_COMBOBOX" = 1 ; then
6589 cat >> confdefs.h
<<EOF
6590 #define wxUSE_COMBOBOX $wxUSE_COMBOBOX
6595 if test "$wxUSE_SCROLLBAR" = 1 ; then
6596 cat >> confdefs.h
<<EOF
6597 #define wxUSE_SCROLLBAR $wxUSE_SCROLLBAR
6602 if test "$wxUSE_LISTCTRL" = 1 ; then
6603 cat >> confdefs.h
<<EOF
6604 #define wxUSE_LISTCTRL $wxUSE_LISTCTRL
6609 if test "$wxUSE_TREECTRL" = 1 ; then
6610 cat >> confdefs.h
<<EOF
6611 #define wxUSE_TREECTRL $wxUSE_TREECTRL
6616 if test "$wxUSE_GRID" = 1 ; then
6617 cat >> confdefs.h
<<EOF
6618 #define wxUSE_GRID $wxUSE_GRID
6623 if test "$wxUSE_TAB_DIALOG" = 1 ; then
6624 cat >> confdefs.h
<<EOF
6625 #define wxUSE_TAB_DIALOG $wxUSE_TAB_DIALOG
6630 if test "$wxUSE_NOTEBOOK" = 1 ; then
6631 cat >> confdefs.h
<<EOF
6632 #define wxUSE_NOTEBOOK $wxUSE_NOTEBOOK
6638 if test "$wxUSE_CONFIG" = 1 ; then
6639 cat >> confdefs.h
<<EOF
6640 #define wxUSE_CONFIG $wxUSE_CONFIG
6645 if test "$wxUSE_TIMEDATE" = 1 ; then
6646 cat >> confdefs.h
<<EOF
6647 #define wxUSE_TIMEDATE $wxUSE_TIMEDATE
6652 if test "$wxUSE_FRACTION" = 1 ; then
6653 cat >> confdefs.h
<<EOF
6654 #define wxUSE_FRACTION $wxUSE_FRACTION
6659 if test "$wxUSE_LOG" = 1 ; then
6660 cat >> confdefs.h
<<EOF
6661 #define wxUSE_LOG $wxUSE_LOG
6666 if test "$wxUSE_INTL" = 1 ; then
6667 cat >> confdefs.h
<<EOF
6668 #define wxUSE_INTL $wxUSE_INTL
6673 if test "$wxUSE_STREAMS" = 1 ; then
6674 cat >> confdefs.h
<<EOF
6675 #define wxUSE_STREAMS $wxUSE_STREAMS
6680 if test "$wxUSE_SERIAL" = 1 ; then
6681 cat >> confdefs.h
<<EOF
6682 #define wxUSE_SERIAL $wxUSE_SERIAL
6687 if test "$wxUSE_FILE" = 1 ; then
6688 cat >> confdefs.h
<<EOF
6689 #define wxUSE_FILE $wxUSE_FILE
6694 if test "$wxUSE_TEXTFILE" = 1 ; then
6695 cat >> confdefs.h
<<EOF
6696 #define wxUSE_TEXTFILE $wxUSE_TEXTFILE
6702 if test "$wxUSE_RPC" = 1 ; then
6703 cat >> confdefs.h
<<EOF
6704 #define wxUSE_RPC $wxUSE_RPC
6709 if test "$wxUSE_WX_RESOURCES" = 1 ; then
6710 cat >> confdefs.h
<<EOF
6711 #define wxUSE_WX_RESOURCES $wxUSE_WX_RESOURCES
6716 if test "$wxUSE_PROLOGIO" = 1 ; then
6717 cat >> confdefs.h
<<EOF
6718 #define wxUSE_PROLOGIO 1
6724 if test "$wxUSE_POSTSCRIPT" = 1 ; then
6725 cat >> confdefs.h
<<EOF
6726 #define wxUSE_POSTSCRIPT 1
6731 cat >> confdefs.h
<<EOF
6732 #define wxUSE_AFM_FOR_POSTSCRIPT $wxUSE_AFM_FOR_POSTSCRIPT
6736 cat >> confdefs.h
<<EOF
6737 #define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS
6742 if test "$wxUSE_MDI_ARCHITECTURE" = 1 ; then
6743 cat >> confdefs.h
<<EOF
6744 #define wxUSE_MDI_ARCHITECTURE $wxUSE_MDI_ARCHITECTURE
6749 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1 ; then
6750 cat >> confdefs.h
<<EOF
6751 #define wxUSE_DOC_VIEW_ARCHITECTURE $wxUSE_DOC_VIEW_ARCHITECTURE
6756 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1 ; then
6757 cat >> confdefs.h
<<EOF
6758 #define wxUSE_PRINTING_ARCHITECTURE $wxUSE_PRINTING_ARCHITECTURE
6764 if test "$wxUSE_UNICODE" = 1 ; then
6765 cat >> confdefs.h
<<EOF
6766 #define wxUSE_UNICODE 1
6771 if test "$wxUSE_WCSRTOMBS" = 1 ; then
6772 cat >> confdefs.h
<<EOF
6773 #define wxUSE_WCSRTOMBS 1
6779 if test "$wxUSE_IPC" = 1 ; then
6780 cat >> confdefs.h
<<EOF
6786 if test "$wxUSE_RESOURCES" = 1 ; then
6787 cat >> confdefs.h
<<EOF
6788 #define wxUSE_RESOURCES $wxUSE_RESOURCES
6793 if test "$wxUSE_CLIPBOARD" = 1 ; then
6794 cat >> confdefs.h
<<EOF
6795 #define wxUSE_CLIPBOARD $wxUSE_CLIPBOARD
6800 if test "$wxUSE_DND" = 1 ; then
6801 cat >> confdefs.h
<<EOF
6802 #define wxUSE_DND $wxUSE_DND
6807 if test "$wxUSE_CONSTRAINTS" = 1 ; then
6808 cat >> confdefs.h
<<EOF
6809 #define wxUSE_CONSTRAINTS $wxUSE_CONSTRAINTS
6816 if test "$wxUSE_METAFILE" = 1 ; then
6818 cat >> confdefs.h
<<EOF
6819 #define wxUSE_METAFILE $wxUSE_METAFILE
6826 if test "$wxUSE_HELP" = 1 ; then
6828 cat >> confdefs.h
<<EOF
6829 #define wxUSE_HELP $wxUSE_HELP
6836 if test "$wxUSE_WXGRAPH" = 1 ; then
6838 cat >> confdefs.h
<<EOF
6839 #define wxUSE_WXGRAPH $wxUSE_WXGRAPH
6846 if test "$wxUSE_WXTREE" = 1 ; then
6848 cat >> confdefs.h
<<EOF
6849 #define wxUSE_WXTREE $wxUSE_WXTREE
6856 if test "$wxUSE_OPENGL" = 1 ; then
6861 echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6
6862 echo "configure:6863: checking for main in -ldl" >&5
6863 ac_lib_var
=`echo dl'_'main | sed 'y%./+-%__p_%'`
6864 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6865 echo $ac_n "(cached) $ac_c" 1>&6
6867 ac_save_LIBS
="$LIBS"
6869 cat > conftest.
$ac_ext <<EOF
6870 #line 6871 "configure"
6871 #include "confdefs.h"
6877 if { (eval echo configure
:6878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6879 eval "ac_cv_lib_$ac_lib_var=yes"
6881 echo "configure: failed program was:" >&5
6882 cat conftest.
$ac_ext >&5
6884 eval "ac_cv_lib_$ac_lib_var=no"
6887 LIBS
="$ac_save_LIBS"
6890 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6891 echo "$ac_t""yes" 1>&6
6894 echo "$ac_t""no" 1>&6
6903 UNIX_THREAD
="gtk/threadno.cpp"
6906 echo $ac_n "checking "for threads
"""... $ac_c" 1>&6
6907 echo "configure:6908: checking "for threads
"" >&5
6908 # Check whether --with-threads or --without-threads was given.
6909 if test "${with_threads+set}" = set; then
6910 withval
="$with_threads"
6911 if test "x$with_threads" = xyes
; then
6912 ac_cv_use_threads
='wxUSE_THREADS="1"'
6914 ac_cv_use_threads
='wxUSE_THREADS="0"'
6918 LINE
=`grep "wxUSE_THREADS" ${OSTYPE}.system.cache`
6919 if test "x$LINE" != x
; then
6920 eval "DEFAULT_$LINE"
6922 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6926 eval "$ac_cv_use_threads"
6927 echo $ac_cv_use_threads >> ${OSTYPE}.system.cache.tmp
6928 if test "$wxUSE_THREADS" = 1; then
6929 echo "$ac_t""yes" 1>&6
6931 echo "$ac_t""no" 1>&6
6935 if test "$wxUSE_THREADS" = "1"; then
6940 echo $ac_n "checking for thr_create in -lthread""... $ac_c" 1>&6
6941 echo "configure:6942: checking for thr_create in -lthread" >&5
6942 ac_lib_var
=`echo thread'_'thr_create | sed 'y%./+-%__p_%'`
6943 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6944 echo $ac_n "(cached) $ac_c" 1>&6
6946 ac_save_LIBS
="$LIBS"
6947 LIBS
="-lthread $LIBS"
6948 cat > conftest.
$ac_ext <<EOF
6949 #line 6950 "configure"
6950 #include "confdefs.h"
6951 /* Override any gcc2 internal prototype to avoid an error. */
6952 /* We use char because int might match the return type of a gcc2
6953 builtin and then its argument prototype would still apply. */
6960 if { (eval echo configure
:6961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6962 eval "ac_cv_lib_$ac_lib_var=yes"
6964 echo "configure: failed program was:" >&5
6965 cat conftest.
$ac_ext >&5
6967 eval "ac_cv_lib_$ac_lib_var=no"
6970 LIBS
="$ac_save_LIBS"
6973 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6974 echo "$ac_t""yes" 1>&6
6976 UNIX_THREAD
="gtk/threadsol.cpp"
6977 THREADS_LINK
="-lthread"
6980 echo "$ac_t""no" 1>&6
6987 UNIX_THREAD
="gtk/threadno.cpp"
6990 echo $ac_n "checking for pthread_create in -lpthread-0.7""... $ac_c" 1>&6
6991 echo "configure:6992: checking for pthread_create in -lpthread-0.7" >&5
6992 ac_lib_var
=`echo pthread-0.7'_'pthread_create | sed 'y%./+-%__p_%'`
6993 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6994 echo $ac_n "(cached) $ac_c" 1>&6
6996 ac_save_LIBS
="$LIBS"
6997 LIBS
="-lpthread-0.7 $LIBS"
6998 cat > conftest.
$ac_ext <<EOF
6999 #line 7000 "configure"
7000 #include "confdefs.h"
7001 /* Override any gcc2 internal prototype to avoid an error. */
7002 /* We use char because int might match the return type of a gcc2
7003 builtin and then its argument prototype would still apply. */
7004 char pthread_create();
7010 if { (eval echo configure
:7011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7012 eval "ac_cv_lib_$ac_lib_var=yes"
7014 echo "configure: failed program was:" >&5
7015 cat conftest.
$ac_ext >&5
7017 eval "ac_cv_lib_$ac_lib_var=no"
7020 LIBS
="$ac_save_LIBS"
7023 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7024 echo "$ac_t""yes" 1>&6
7026 UNIX_THREAD
="gtk/threadpsx.cpp"
7027 THREADS_LINK
="-lpthread-0.7"
7030 echo "$ac_t""no" 1>&6
7032 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
7033 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
7034 echo "configure:7035: checking for sys/prctl.h" >&5
7035 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7036 echo $ac_n "(cached) $ac_c" 1>&6
7038 cat > conftest.
$ac_ext <<EOF
7039 #line 7040 "configure"
7040 #include "confdefs.h"
7041 #include <sys/prctl.h>
7043 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7044 { (eval echo configure
:7045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7045 ac_err
=`grep -v '^ *+' conftest.out`
7046 if test -z "$ac_err"; then
7048 eval "ac_cv_header_$ac_safe=yes"
7051 echo "configure: failed program was:" >&5
7052 cat conftest.
$ac_ext >&5
7054 eval "ac_cv_header_$ac_safe=no"
7058 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7059 echo "$ac_t""yes" 1>&6
7061 UNIX_THREAD
="gtk/threadsgi.cpp"
7064 echo "$ac_t""no" 1>&6
7069 echo $ac_n "checking for pthread_setcanceltype in -lpthread""... $ac_c" 1>&6
7070 echo "configure:7071: checking for pthread_setcanceltype in -lpthread" >&5
7071 ac_lib_var
=`echo pthread'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
7072 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7073 echo $ac_n "(cached) $ac_c" 1>&6
7075 ac_save_LIBS
="$LIBS"
7076 LIBS
="-lpthread $LIBS"
7077 cat > conftest.
$ac_ext <<EOF
7078 #line 7079 "configure"
7079 #include "confdefs.h"
7080 /* Override any gcc2 internal prototype to avoid an error. */
7081 /* We use char because int might match the return type of a gcc2
7082 builtin and then its argument prototype would still apply. */
7083 char pthread_setcanceltype();
7086 pthread_setcanceltype()
7089 if { (eval echo configure
:7090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7091 eval "ac_cv_lib_$ac_lib_var=yes"
7093 echo "configure: failed program was:" >&5
7094 cat conftest.
$ac_ext >&5
7096 eval "ac_cv_lib_$ac_lib_var=no"
7099 LIBS
="$ac_save_LIBS"
7102 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7103 echo "$ac_t""yes" 1>&6
7105 UNIX_THREAD
="gtk/threadpsx.cpp"
7106 THREADS_LINK
="-lpthread"
7109 echo "$ac_t""no" 1>&6
7117 echo $ac_n "checking for printf in -lposix4""... $ac_c" 1>&6
7118 echo "configure:7119: checking for printf in -lposix4" >&5
7119 ac_lib_var
=`echo posix4'_'printf | sed 'y%./+-%__p_%'`
7120 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7121 echo $ac_n "(cached) $ac_c" 1>&6
7123 ac_save_LIBS
="$LIBS"
7124 LIBS
="-lposix4 $LIBS"
7125 cat > conftest.
$ac_ext <<EOF
7126 #line 7127 "configure"
7127 #include "confdefs.h"
7128 /* Override any gcc2 internal prototype to avoid an error. */
7129 /* We use char because int might match the return type of a gcc2
7130 builtin and then its argument prototype would still apply. */
7137 if { (eval echo configure
:7138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7139 eval "ac_cv_lib_$ac_lib_var=yes"
7141 echo "configure: failed program was:" >&5
7142 cat conftest.
$ac_ext >&5
7144 eval "ac_cv_lib_$ac_lib_var=no"
7147 LIBS
="$ac_save_LIBS"
7150 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7151 echo "$ac_t""yes" 1>&6
7153 THREADS_LINK
="$THREADS_LINK -lposix4"
7156 echo "$ac_t""no" 1>&6
7163 if test "$wxUSE_MOTIF" = "1"; then
7164 UNIX_THREAD
="motif/thread.cpp"
7167 if test -z "$UNIX_THREAD"; then
7173 cat >> confdefs.h
<<\EOF
7174 #define wxUSE_THREADS 1
7184 if test "$wxUSE_OPENGL" = 1; then
7185 echo $ac_n "checking for OpenGL includes""... $ac_c" 1>&6
7186 echo "configure:7187: checking for OpenGL includes" >&5
7189 for ac_dir
in $SEARCH_INCLUDE;
7191 if test -f "$ac_dir/GL/gl.h"; then
7192 ac_find_includes
=$ac_dir
7197 if test "$ac_find_includes" != "" ; then
7198 OPENGL_INCLUDE
="-I$ac_find_includes"
7199 echo "$ac_t""found $ac_find_includes" 1>&6
7200 echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6
7201 echo "configure:7202: checking for OpenGL library" >&5
7204 for ac_dir
in $SEARCH_LIB;
7206 for ac_extension
in a so sl
; do
7207 if test -f "$ac_dir/libGL.$ac_extension"; then
7208 ac_find_libraries
=$ac_dir
7214 if test "$ac_find_libraries" != "" ; then
7216 ac_path_to_include
=$ac_find_includes
7217 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7219 if test $result = 0; then
7220 ac_path_to_include
=""
7222 ac_path_to_include
="-I$ac_find_includes"
7226 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
7228 if test $result = 0; then
7231 ac_path_to_link
="-L$ac_find_libraries"
7234 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
7235 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
7236 OPENGL_LIBRARY
="$ac_path_to_link"
7237 OPENGL_INCLUDE
="$ac_path_to_include"
7239 echo "$ac_t""found OpenGL at $ac_find_libraries" 1>&6
7243 for ac_dir
in $SEARCH_LIB;
7245 for ac_extension
in a so sl
; do
7246 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7247 ac_find_libraries
=$ac_dir
7253 if test "$ac_find_libraries" != "" ; then
7255 ac_path_to_include
=$ac_find_includes
7256 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7258 if test $result = 0; then
7259 ac_path_to_include
=""
7261 ac_path_to_include
="-I$ac_find_includes"
7265 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
7267 if test $result = 0; then
7270 ac_path_to_link
="-L$ac_find_libraries"
7273 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
7274 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
7275 OPENGL_LIBRARY
="$ac_path_to_link"
7276 OPENGL_INCLUDE
="$ac_path_to_include"
7277 OPENGL_LINK
="-lMesaGL"
7278 echo "$ac_t""found MESA at $ac_find_libraries" 1>&6
7280 { echo "configure: error: no" 1>&2; exit 1; }
7284 { echo "configure: error: no" 1>&2; exit 1; }
7289 wxUSE_GLX
=$wxUSE_OPENGL
7290 if test "$wxUSE_OPENGL" != 1; then
7297 cat >> confdefs.h
<<EOF
7298 #define wxUSE_GLX $wxUSE_GLX
7309 case "${canonical}" in
7312 if test "$GCC" != "yes" ; then
7313 CXXFLAGS
="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
7314 CFLAGS
="${CFLAGS} -z -D_HPUX_SOURCE"
7320 CREATE_SHARED
=sharedHpux
7325 CREATE_SHARED
=sharedLinux
7328 *-*-irix5* | *-*-irix6* )
7329 # PICFLAGS can remain empty, as pic is the default
7331 CREATE_SHARED
=sharedIrix
7332 cat >> confdefs.h
<<\EOF
7339 if test "$GCC" != "yes" ; then
7344 CREATE_SHARED
=sharedSolaris2
7345 cat >> confdefs.h
<<\EOF
7352 if test "$GCC" != "yes" ; then
7358 CREATE_SHARED
=sharedSunos4
7359 cat >> confdefs.h
<<\EOF
7365 *-*-freebsd* | *-*-netbsd*)
7367 CREATE_SHARED
=sharedBsd
7368 cat >> confdefs.h
<<\EOF
7376 CREATE_SHARED
=sharedOSF
7380 if test "$GCC" != "yes" ; then
7385 CREATE_SHARED
=sharedDgux
7386 cat >> confdefs.h
<<\EOF
7393 if test "$GCC" != "yes" ; then
7398 CREATE_SHARED
=sharedSysV
7399 cat >> confdefs.h
<<\EOF
7406 if test "$GCC" != "yes" ; then
7411 CREATE_SHARED
=sharedAIX
7412 cat >> confdefs.h
<<\EOF
7423 if test "x$GCC" = xyes
; then
7424 CFLAGS
="${CFLAGS} -Wall"
7427 if test "x$GXX" = xyes
; then
7428 if test "$wxUSE_MOTIF" = 1; then
7429 CXXFLAGS
="${CXXFLAGS} -Wall -Wno-unused"
7431 CXXFLAGS
="${CXXFLAGS} -Wall"
7435 if test "$wxUSE_SHARED" != 1; then
7445 echo $OS >> system.list
7449 cat > confcache
<<\EOF
7450 # This file is a shell script that caches the results of configure
7451 # tests run on this system so they can be shared between configure
7452 # scripts and configure runs. It is not useful on other systems.
7453 # If it contains results you don't want to keep, you may remove or edit it.
7455 # By default, configure uses ./config.cache as the cache file,
7456 # creating it if it does not exist already. You can give configure
7457 # the --cache-file=FILE option to use a different cache file; that is
7458 # what configure does when it calls configure scripts in
7459 # subdirectories, so they share the cache.
7460 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7461 # config.status only pays attention to the cache file if you give it the
7462 # --recheck option to rerun configure.
7465 # The following way of writing the cache mishandles newlines in values,
7466 # but we know of no workaround that is simple, portable, and efficient.
7467 # So, don't put newlines in cache variables' values.
7468 # Ultrix sh set writes to stderr and can't be redirected directly,
7469 # and sets the high bit in the cache file unless we assign to the vars.
7471 case `(ac_space=' '; set) 2>&1` in
7473 # `set' does not quote correctly, so add quotes (double-quote substitution
7474 # turns \\\\ into \\, and sed turns \\ into \).
7476 -e "s/'/'\\\\''/g" \
7477 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7480 # `set' quotes correctly as required by POSIX, so do not add quotes.
7481 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7484 if cmp -s $cache_file confcache
; then
7487 if test -w $cache_file; then
7488 echo "updating cache $cache_file"
7489 cat confcache
> $cache_file
7491 echo "not updating unwritable cache $cache_file"
7496 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
7498 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7499 # Let make expand exec_prefix.
7500 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7502 # Any assignment to VPATH causes Sun make to only execute
7503 # the first set of double-colon rules, so remove it if not needed.
7504 # If there is a colon in the path, we need to keep it.
7505 if test "x$srcdir" = x.
; then
7506 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
7509 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
7511 DEFS
=-DHAVE_CONFIG_H
7513 # Without the "./", some shells look in PATH for config.status.
7514 : ${CONFIG_STATUS=./config.status}
7516 echo creating
$CONFIG_STATUS
7517 rm -f $CONFIG_STATUS
7518 cat > $CONFIG_STATUS <<EOF
7520 # Generated automatically by configure.
7521 # Run this file to recreate the current configuration.
7522 # This directory was configured as follows,
7523 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7525 # $0 $ac_configure_args
7527 # Compiler output produced by configure, useful for debugging
7528 # configure, is in ./config.log if it exists.
7530 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
7533 case "\$ac_option" in
7534 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7535 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
7536 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
7537 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
7538 echo "$CONFIG_STATUS generated by autoconf version 2.12"
7540 -help | --help | --hel | --he | --h)
7541 echo "\$ac_cs_usage"; exit 0 ;;
7542 *) echo "\$ac_cs_usage"; exit 1 ;;
7546 ac_given_srcdir=$srcdir
7547 ac_given_INSTALL="$INSTALL"
7549 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
7551 cat >> $CONFIG_STATUS <<EOF
7553 # Protect against being on the right side of a sed subst in config.status.
7554 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
7555 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
7558 s%@CFLAGS@%$CFLAGS%g
7559 s%@CPPFLAGS@%$CPPFLAGS%g
7560 s%@CXXFLAGS@%$CXXFLAGS%g
7562 s%@LDFLAGS@%$LDFLAGS%g
7564 s%@exec_prefix@%$exec_prefix%g
7565 s%@prefix@%$prefix%g
7566 s%@program_transform_name@%$program_transform_name%g
7567 s%@bindir@%$bindir%g
7568 s%@sbindir@%$sbindir%g
7569 s%@libexecdir@%$libexecdir%g
7570 s%@datadir@%$datadir%g
7571 s%@sysconfdir@%$sysconfdir%g
7572 s%@sharedstatedir@%$sharedstatedir%g
7573 s%@localstatedir@%$localstatedir%g
7574 s%@libdir@%$libdir%g
7575 s%@includedir@%$includedir%g
7576 s%@oldincludedir@%$oldincludedir%g
7577 s%@infodir@%$infodir%g
7578 s%@mandir@%$mandir%g
7579 s%@WXBASEDIR@%$WXBASEDIR%g
7583 s%@CXXCPP@%$CXXCPP%g
7584 s%@RANLIB@%$RANLIB%g
7586 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
7587 s%@INSTALL_DATA@%$INSTALL_DATA%g
7590 s%@X_CFLAGS@%$X_CFLAGS%g
7591 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
7592 s%@X_LIBS@%$X_LIBS%g
7593 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
7594 s%@GTK_JOYSTICK@%$GTK_JOYSTICK%g
7595 s%@LIBOBJS@%$LIBOBJS%g
7598 s%@LEXLIB@%$LEXLIB%g
7599 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
7601 s%@host_alias@%$host_alias%g
7602 s%@host_cpu@%$host_cpu%g
7603 s%@host_vendor@%$host_vendor%g
7604 s%@host_os@%$host_os%g
7605 s%@GTK_CONFIG@%$GTK_CONFIG%g
7606 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
7607 s%@GTK_LIBS@%$GTK_LIBS%g
7608 s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g
7609 s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g
7610 s%@GUI_TK_LINK@%$GUI_TK_LINK%g
7611 s%@WX_LINK@%$WX_LINK%g
7612 s%@TOOLKIT@%$TOOLKIT%g
7613 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
7614 s%@MAKEINCLUDE@%$MAKEINCLUDE%g
7615 s%@WXDEBUG@%$WXDEBUG%g
7616 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
7617 s%@EXTRA_LINK@%$EXTRA_LINK%g
7618 s%@PROFILE@%$PROFILE%g
7619 s%@OPTIMISE@%$OPTIMISE%g
7620 s%@IODBC_C_SRC@%$IODBC_C_SRC%g
7621 s%@METAFILE@%$METAFILE%g
7623 s%@WXGRAPH@%$WXGRAPH%g
7624 s%@WXTREE@%$WXTREE%g
7625 s%@DL_LIBRARY@%$DL_LIBRARY%g
7626 s%@UNIX_THREAD@%$UNIX_THREAD%g
7627 s%@THREADS_LINK@%$THREADS_LINK%g
7628 s%@OPENGL_INCLUDE@%$OPENGL_INCLUDE%g
7629 s%@OPENGL_LIBRARY@%$OPENGL_LIBRARY%g
7630 s%@OPENGL_LINK@%$OPENGL_LINK%g
7631 s%@GLCANVAS@%$GLCANVAS%g
7633 s%@PICFLAGS@%$PICFLAGS%g
7634 s%@CREATE_SHARED@%$CREATE_SHARED%g
7639 cat >> $CONFIG_STATUS <<\EOF
7641 # Split the substitutions into bite-sized pieces for seds with
7642 # small command number limits, like on Digital OSF/1 and HP-UX.
7643 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
7644 ac_file
=1 # Number of current file.
7645 ac_beg
=1 # First line for current file.
7646 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
7649 while $ac_more_lines; do
7650 if test $ac_beg -gt 1; then
7651 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
7653 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
7655 if test ! -s conftest.s
$ac_file; then
7657 rm -f conftest.s
$ac_file
7659 if test -z "$ac_sed_cmds"; then
7660 ac_sed_cmds
="sed -f conftest.s$ac_file"
7662 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
7664 ac_file
=`expr $ac_file + 1`
7666 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
7669 if test -z "$ac_sed_cmds"; then
7674 cat >> $CONFIG_STATUS <<EOF
7676 CONFIG_FILES=\${CONFIG_FILES-"./setup/substit ./wx-config:./wx-config.in"}
7678 cat >> $CONFIG_STATUS <<\EOF
7679 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
7680 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7682 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7683 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7684 *) ac_file_in
="${ac_file}.in" ;;
7687 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
7689 # Remove last slash and all that follows it. Not all systems have dirname.
7690 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7691 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
7692 # The file is in a subdirectory.
7693 test ! -d "$ac_dir" && mkdir "$ac_dir"
7694 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
7695 # A "../" for each directory in $ac_dir_suffix.
7696 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
7698 ac_dir_suffix
= ac_dots
=
7701 case "$ac_given_srcdir" in
7703 if test -z "$ac_dots"; then top_srcdir
=.
7704 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
7705 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
7707 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
7708 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
7711 case "$ac_given_INSTALL" in
7712 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
7713 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
7716 echo creating
"$ac_file"
7718 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
7720 *Makefile
*) ac_comsub
="1i\\
7721 # $configure_input" ;;
7725 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7727 s%@configure_input@%$configure_input%g
7728 s%@srcdir@%$srcdir%g
7729 s%@top_srcdir@%$top_srcdir%g
7730 s%@INSTALL@%$INSTALL%g
7731 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
7735 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7736 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7738 # ac_d sets the value in "#define NAME VALUE" lines.
7739 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7740 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
7743 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
7744 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7745 ac_uB
='\([ ]\)%\1#\2define\3'
7748 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7749 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7750 ac_eB
='$%\1#\2define\3'
7754 if test "${CONFIG_HEADERS+set}" != set; then
7756 cat >> $CONFIG_STATUS <<EOF
7757 CONFIG_HEADERS="./include/wx/gtk/setup.h:./setup/setup.hin"
7759 cat >> $CONFIG_STATUS <<\EOF
7761 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
7762 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7764 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7765 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7766 *) ac_file_in
="${ac_file}.in" ;;
7769 echo creating
$ac_file
7771 rm -f conftest.frag conftest.
in conftest.out
7772 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7773 cat $ac_file_inputs > conftest.
in
7777 # Transform confdefs.h into a sed script conftest.vals that substitutes
7778 # the proper values into config.h.in to produce config.h. And first:
7779 # Protect against being on the right side of a sed subst in config.status.
7780 # Protect against being in an unquoted here document in config.status.
7782 cat > conftest.hdr
<<\EOF
7785 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
7789 sed -n -f conftest.hdr confdefs.h > conftest.vals
7792 # This sed command replaces #undef with comments. This is necessary, for
7793 # example, in the case of _POSIX_SOURCE, which is predefined and required
7794 # on some systems where configure will not decide to define it.
7795 cat >> conftest.vals <<\EOF
7796 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
7799 # Break up conftest.vals because some shells have a limit on
7800 # the size of here documents, and old seds have small limits too.
7805 ac_lines=`grep -c . conftest.vals
`
7806 # grep -c gives empty output for an empty file on some AIX systems.
7807 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
7808 # Write a limited-size here document to conftest.frag.
7809 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
7810 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
7812 sed -f conftest.frag conftest.in > conftest.out
7814 mv conftest.out conftest.in
7816 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
7818 mv conftest.tail conftest.vals
7822 cat >> $CONFIG_STATUS <<\EOF
7823 rm -f conftest.frag conftest.h
7824 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
7825 cat conftest.in >> conftest.h
7827 if cmp -s $ac_file conftest.h 2>/dev/null; then
7828 echo "$ac_file is unchanged"
7831 # Remove last slash and all that follows it. Not all systems have dirname.
7832 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7833 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7834 # The file is in a subdirectory.
7835 test ! -d "$ac_dir" && mkdir "$ac_dir"
7838 mv conftest.h $ac_file
7843 cat >> $CONFIG_STATUS <<EOF
7846 cat >> $CONFIG_STATUS <<\EOF
7847 ./setup/general/createall
7850 chmod +x $CONFIG_STATUS
7851 rm -fr confdefs* $ac_clean_files
7852 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
7856 mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache