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 \
664 /usr/local/X11R6/include \
665 /usr/local/X11R5/include \
666 /usr/local/X11R4/include \
668 /usr/local/include/X11R6 \
669 /usr/local/include/X11R5 \
670 /usr/local/include/X11R4 \
674 /usr/local/X11/include \
675 /usr/local/include/X11 \
679 /usr/XFree86/include/X11 \
686 /usr/unsupported/include \
687 /usr/athena/include \
688 /usr/local/x11r5/include \
689 /usr/lpp/Xamples/include \
691 /usr/local/include/gtk \
692 /usr/local/include/Xm \
693 /usr/local/include/qt \
694 /usr/X11R6/include/Xm \
695 /usr/X11/include/Xm \
698 /usr/openwin/include \
699 /usr/openwin/share/include \
702 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` \
707 # Extract the first word of "gcc", so it can be a program name with args.
708 set dummy gcc
; ac_word
=$2
709 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
710 echo "configure:711: checking for $ac_word" >&5
711 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
712 echo $ac_n "(cached) $ac_c" 1>&6
714 if test -n "$CC"; then
715 ac_cv_prog_CC
="$CC" # Let the user override the test.
717 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
718 for ac_dir
in $PATH; do
719 test -z "$ac_dir" && ac_dir
=.
720 if test -f $ac_dir/$ac_word; then
729 if test -n "$CC"; then
730 echo "$ac_t""$CC" 1>&6
732 echo "$ac_t""no" 1>&6
735 if test -z "$CC"; then
736 # Extract the first word of "cc", so it can be a program name with args.
737 set dummy cc
; ac_word
=$2
738 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
739 echo "configure:740: checking for $ac_word" >&5
740 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
741 echo $ac_n "(cached) $ac_c" 1>&6
743 if test -n "$CC"; then
744 ac_cv_prog_CC
="$CC" # Let the user override the test.
746 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
748 for ac_dir
in $PATH; do
749 test -z "$ac_dir" && ac_dir
=.
750 if test -f $ac_dir/$ac_word; then
751 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
760 if test $ac_prog_rejected = yes; then
761 # We found a bogon in the path, so make sure we never use it.
762 set dummy
$ac_cv_prog_CC
764 if test $# -gt 0; then
765 # We chose a different compiler from the bogus one.
766 # However, it has the same basename, so the bogon will be chosen
767 # first if we set CC to just the basename; use the full file name.
769 set dummy
"$ac_dir/$ac_word" "$@"
777 if test -n "$CC"; then
778 echo "$ac_t""$CC" 1>&6
780 echo "$ac_t""no" 1>&6
783 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
786 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
787 echo "configure:788: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
790 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
791 ac_cpp
='$CPP $CPPFLAGS'
792 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
793 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
794 cross_compiling
=$ac_cv_prog_cc_cross
796 cat > conftest.
$ac_ext <<EOF
797 #line 798 "configure"
798 #include "confdefs.h"
801 if { (eval echo configure
:802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
802 ac_cv_prog_cc_works
=yes
803 # If we can't run a trivial program, we are probably using a cross compiler.
804 if (.
/conftest
; exit) 2>/dev
/null
; then
805 ac_cv_prog_cc_cross
=no
807 ac_cv_prog_cc_cross
=yes
810 echo "configure: failed program was:" >&5
811 cat conftest.
$ac_ext >&5
812 ac_cv_prog_cc_works
=no
816 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
817 if test $ac_cv_prog_cc_works = no
; then
818 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
820 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
821 echo "configure:822: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
822 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
823 cross_compiling
=$ac_cv_prog_cc_cross
825 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
826 echo "configure:827: checking whether we are using GNU C" >&5
827 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
828 echo $ac_n "(cached) $ac_c" 1>&6
830 cat > conftest.c
<<EOF
835 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
842 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
844 if test $ac_cv_prog_gcc = yes; then
846 ac_test_CFLAGS
="${CFLAGS+set}"
847 ac_save_CFLAGS
="$CFLAGS"
849 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
850 echo "configure:851: checking whether ${CC-cc} accepts -g" >&5
851 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
852 echo $ac_n "(cached) $ac_c" 1>&6
854 echo 'void f(){}' > conftest.c
855 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
864 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
865 if test "$ac_test_CFLAGS" = set; then
866 CFLAGS
="$ac_save_CFLAGS"
867 elif test $ac_cv_prog_cc_g = yes; then
874 test "${CFLAGS+set}" = set || CFLAGS
="-g"
878 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
880 if test "x$CC" != xcc
; then
881 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
882 echo "configure:883: checking whether $CC and cc understand -c and -o together" >&5
884 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
885 echo "configure:886: checking whether cc understands -c and -o together" >&5
887 set dummy
$CC; ac_cc
="`echo $2 |
888 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
889 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
890 echo $ac_n "(cached) $ac_c" 1>&6
892 echo 'foo(){}' > conftest.c
893 # Make sure it works both with $CC and with simple cc.
894 # We do the test twice because some compilers refuse to overwrite an
895 # existing .o file with -o, though they will create one.
896 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5'
897 if { (eval echo configure
:898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
898 test -f conftest.o
&& { (eval echo configure
:899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
900 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
901 if test "x$CC" != xcc
; then
902 # Test first that cc exists at all.
903 if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
904 ac_try
='cc -c conftest.c -o conftest.o 1>&5'
905 if { (eval echo configure
:906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
906 test -f conftest.o
&& { (eval echo configure
:907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
911 # cc exists but doesn't like -o.
912 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
917 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
922 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
923 echo "$ac_t""yes" 1>&6
925 echo "$ac_t""no" 1>&6
926 cat >> confdefs.h
<<\EOF
927 #define NO_MINUS_C_MINUS_O 1
932 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
933 echo "configure:934: checking how to run the C preprocessor" >&5
934 # On Suns, sometimes $CPP names a directory.
935 if test -n "$CPP" && test -d "$CPP"; then
938 if test -z "$CPP"; then
939 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
940 echo $ac_n "(cached) $ac_c" 1>&6
942 # This must be in double quotes, not single quotes, because CPP may get
943 # substituted into the Makefile and "${CC-cc}" will confuse make.
945 # On the NeXT, cc -E runs the code through the compiler's parser,
946 # not just through cpp.
947 cat > conftest.
$ac_ext <<EOF
948 #line 949 "configure"
949 #include "confdefs.h"
953 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
954 { (eval echo configure
:955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
955 ac_err
=`grep -v '^ *+' conftest.out`
956 if test -z "$ac_err"; then
960 echo "configure: failed program was:" >&5
961 cat conftest.
$ac_ext >&5
963 CPP
="${CC-cc} -E -traditional-cpp"
964 cat > conftest.
$ac_ext <<EOF
965 #line 966 "configure"
966 #include "confdefs.h"
970 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
971 { (eval echo configure
:972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
972 ac_err
=`grep -v '^ *+' conftest.out`
973 if test -z "$ac_err"; then
977 echo "configure: failed program was:" >&5
978 cat conftest.
$ac_ext >&5
985 ac_cv_prog_CPP
="$CPP"
987 CPP
="$ac_cv_prog_CPP"
989 ac_cv_prog_CPP
="$CPP"
991 echo "$ac_t""$CPP" 1>&6
993 if test $ac_cv_prog_gcc = yes; then
994 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
995 echo "configure:996: checking whether ${CC-cc} needs -traditional" >&5
996 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
997 echo $ac_n "(cached) $ac_c" 1>&6
999 ac_pattern
="Autoconf.*'x'"
1000 cat > conftest.
$ac_ext <<EOF
1001 #line 1002 "configure"
1002 #include "confdefs.h"
1006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1007 egrep "$ac_pattern" >/dev
/null
2>&1; then
1009 ac_cv_prog_gcc_traditional
=yes
1012 ac_cv_prog_gcc_traditional
=no
1017 if test $ac_cv_prog_gcc_traditional = no
; then
1018 cat > conftest.
$ac_ext <<EOF
1019 #line 1020 "configure"
1020 #include "confdefs.h"
1024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1025 egrep "$ac_pattern" >/dev
/null
2>&1; then
1027 ac_cv_prog_gcc_traditional
=yes
1034 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
1035 if test $ac_cv_prog_gcc_traditional = yes; then
1036 CC
="$CC -traditional"
1043 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1045 # Extract the first word of "$ac_prog", so it can be a program name with args.
1046 set dummy
$ac_prog; ac_word
=$2
1047 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1048 echo "configure:1049: checking for $ac_word" >&5
1049 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1050 echo $ac_n "(cached) $ac_c" 1>&6
1052 if test -n "$CXX"; then
1053 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1055 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1056 for ac_dir
in $PATH; do
1057 test -z "$ac_dir" && ac_dir
=.
1058 if test -f $ac_dir/$ac_word; then
1059 ac_cv_prog_CXX
="$ac_prog"
1066 CXX
="$ac_cv_prog_CXX"
1067 if test -n "$CXX"; then
1068 echo "$ac_t""$CXX" 1>&6
1070 echo "$ac_t""no" 1>&6
1073 test -n "$CXX" && break
1075 test -n "$CXX" || CXX
="gcc"
1078 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1079 echo "configure:1080: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1082 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1083 ac_cpp
='$CXXCPP $CPPFLAGS'
1084 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1085 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1086 cross_compiling
=$ac_cv_prog_cxx_cross
1088 cat > conftest.
$ac_ext <<EOF
1089 #line 1090 "configure"
1090 #include "confdefs.h"
1093 if { (eval echo configure
:1094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1094 ac_cv_prog_cxx_works
=yes
1095 # If we can't run a trivial program, we are probably using a cross compiler.
1096 if (.
/conftest
; exit) 2>/dev
/null
; then
1097 ac_cv_prog_cxx_cross
=no
1099 ac_cv_prog_cxx_cross
=yes
1102 echo "configure: failed program was:" >&5
1103 cat conftest.
$ac_ext >&5
1104 ac_cv_prog_cxx_works
=no
1108 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1109 ac_cpp
='$CPP $CPPFLAGS'
1110 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1111 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1112 cross_compiling
=$ac_cv_prog_cc_cross
1114 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1115 if test $ac_cv_prog_cxx_works = no
; then
1116 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1118 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1119 echo "configure:1120: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1120 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1121 cross_compiling
=$ac_cv_prog_cxx_cross
1123 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1124 echo "configure:1125: checking whether we are using GNU C++" >&5
1125 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1126 echo $ac_n "(cached) $ac_c" 1>&6
1128 cat > conftest.C
<<EOF
1133 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
1140 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1142 if test $ac_cv_prog_gxx = yes; then
1144 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1145 ac_save_CXXFLAGS
="$CXXFLAGS"
1147 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1148 echo "configure:1149: checking whether ${CXX-g++} accepts -g" >&5
1149 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1150 echo $ac_n "(cached) $ac_c" 1>&6
1152 echo 'void f(){}' > conftest.cc
1153 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1154 ac_cv_prog_cxx_g
=yes
1162 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1163 if test "$ac_test_CXXFLAGS" = set; then
1164 CXXFLAGS
="$ac_save_CXXFLAGS"
1165 elif test $ac_cv_prog_cxx_g = yes; then
1172 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1175 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1176 echo "configure:1177: checking how to run the C++ preprocessor" >&5
1177 if test -z "$CXXCPP"; then
1178 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1179 echo $ac_n "(cached) $ac_c" 1>&6
1182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1183 ac_cpp
='$CXXCPP $CPPFLAGS'
1184 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1185 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1186 cross_compiling
=$ac_cv_prog_cxx_cross
1187 CXXCPP
="${CXX-g++} -E"
1188 cat > conftest.
$ac_ext <<EOF
1189 #line 1190 "configure"
1190 #include "confdefs.h"
1193 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1194 { (eval echo configure
:1195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1195 ac_err
=`grep -v '^ *+' conftest.out`
1196 if test -z "$ac_err"; then
1200 echo "configure: failed program was:" >&5
1201 cat conftest.
$ac_ext >&5
1206 ac_cv_prog_CXXCPP
="$CXXCPP"
1208 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1209 ac_cpp
='$CPP $CPPFLAGS'
1210 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1211 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1212 cross_compiling
=$ac_cv_prog_cc_cross
1215 CXXCPP
="$ac_cv_prog_CXXCPP"
1216 echo "$ac_t""$CXXCPP" 1>&6
1219 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
1223 # Extract the first word of "ranlib", so it can be a program name with args.
1224 set dummy ranlib
; ac_word
=$2
1225 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1226 echo "configure:1227: checking for $ac_word" >&5
1227 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1228 echo $ac_n "(cached) $ac_c" 1>&6
1230 if test -n "$RANLIB"; then
1231 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1233 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1234 for ac_dir
in $PATH; do
1235 test -z "$ac_dir" && ac_dir
=.
1236 if test -f $ac_dir/$ac_word; then
1237 ac_cv_prog_RANLIB
="ranlib"
1242 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1245 RANLIB
="$ac_cv_prog_RANLIB"
1246 if test -n "$RANLIB"; then
1247 echo "$ac_t""$RANLIB" 1>&6
1249 echo "$ac_t""no" 1>&6
1253 # Extract the first word of "ar", so it can be a program name with args.
1254 set dummy
ar; ac_word
=$2
1255 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1256 echo "configure:1257: checking for $ac_word" >&5
1257 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1258 echo $ac_n "(cached) $ac_c" 1>&6
1260 if test -n "$AR"; then
1261 ac_cv_prog_AR
="$AR" # Let the user override the test.
1263 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1264 for ac_dir
in $PATH; do
1265 test -z "$ac_dir" && ac_dir
=.
1266 if test -f $ac_dir/$ac_word; then
1272 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1276 if test -n "$AR"; then
1277 echo "$ac_t""$AR" 1>&6
1279 echo "$ac_t""no" 1>&6
1284 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1285 if test -f $ac_dir/install-sh; then
1287 ac_install_sh
="$ac_aux_dir/install-sh -c"
1289 elif test -f $ac_dir/install.sh
; then
1291 ac_install_sh
="$ac_aux_dir/install.sh -c"
1295 if test -z "$ac_aux_dir"; then
1296 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1298 ac_config_guess
=$ac_aux_dir/config.guess
1299 ac_config_sub
=$ac_aux_dir/config.sub
1300 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1302 # Find a good install program. We prefer a C program (faster),
1303 # so one script is as good as another. But avoid the broken or
1304 # incompatible versions:
1305 # SysV /etc/install, /usr/sbin/install
1306 # SunOS /usr/etc/install
1307 # IRIX /sbin/install
1309 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1310 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1311 # ./install, which can be erroneously created by make from ./install.sh.
1312 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1313 echo "configure:1314: checking for a BSD compatible install" >&5
1314 if test -z "$INSTALL"; then
1315 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1316 echo $ac_n "(cached) $ac_c" 1>&6
1318 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1319 for ac_dir
in $PATH; do
1320 # Account for people who put trailing slashes in PATH elements.
1322 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
1324 # OSF1 and SCO ODT 3.0 have their own names for install.
1325 for ac_prog
in ginstall installbsd scoinst
install; do
1326 if test -f $ac_dir/$ac_prog; then
1327 if test $ac_prog = install &&
1328 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1329 # AIX install. It has an incompatible calling convention.
1330 # OSF/1 installbsd also uses dspmsg, but is usable.
1333 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1344 if test "${ac_cv_path_install+set}" = set; then
1345 INSTALL
="$ac_cv_path_install"
1347 # As a last resort, use the slow shell script. We don't cache a
1348 # path for INSTALL within a source directory, because that will
1349 # break other packages using the cache if that directory is
1350 # removed, or if the path is relative.
1351 INSTALL
="$ac_install_sh"
1354 echo "$ac_t""$INSTALL" 1>&6
1356 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1357 # It thinks the first close brace ends the variable substitution.
1358 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1360 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1363 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1364 echo "configure:1365: checking whether ln -s works" >&5
1365 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1366 echo $ac_n "(cached) $ac_c" 1>&6
1369 if ln -s X conftestdata
2>/dev
/null
1372 ac_cv_prog_LN_S
="ln -s"
1377 LN_S
="$ac_cv_prog_LN_S"
1378 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1379 echo "$ac_t""yes" 1>&6
1381 echo "$ac_t""no" 1>&6
1385 for ac_prog
in mawk gawk nawk
awk
1387 # Extract the first word of "$ac_prog", so it can be a program name with args.
1388 set dummy
$ac_prog; ac_word
=$2
1389 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1390 echo "configure:1391: checking for $ac_word" >&5
1391 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1392 echo $ac_n "(cached) $ac_c" 1>&6
1394 if test -n "$AWK"; then
1395 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1397 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1398 for ac_dir
in $PATH; do
1399 test -z "$ac_dir" && ac_dir
=.
1400 if test -f $ac_dir/$ac_word; then
1401 ac_cv_prog_AWK
="$ac_prog"
1408 AWK
="$ac_cv_prog_AWK"
1409 if test -n "$AWK"; then
1410 echo "$ac_t""$AWK" 1>&6
1412 echo "$ac_t""no" 1>&6
1415 test -n "$AWK" && break
1419 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
1420 echo "configure:1421: checking "make for VPATH support
"" >&5
1421 cat - << EOF > confMake
1427 if test ! -d sub
; then
1430 echo dummy
> sub
/file
1431 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
1433 rm -f sub
/file check final_file confMake
1435 if test "$RESULT" = 0; then
1436 echo "$ac_t""yes" 1>&6
1438 echo "$ac_t""no" 1>&6
1439 { echo "configure: error: You need a make-utility that is able to use the variable
1441 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
1445 # If we find X, set shell vars x_includes and x_libraries to the
1446 # paths, otherwise set no_x=yes.
1447 # Uses ac_ vars as temps to allow command line to override cache and checks.
1448 # --without-x overrides everything else, but does not touch the cache.
1449 echo $ac_n "checking for X""... $ac_c" 1>&6
1450 echo "configure:1451: checking for X" >&5
1452 # Check whether --with-x or --without-x was given.
1453 if test "${with_x+set}" = set; then
1458 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
1459 if test "x$with_x" = xno
; then
1460 # The user explicitly disabled X.
1463 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
1464 # Both variables are already set.
1467 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
1468 echo $ac_n "(cached) $ac_c" 1>&6
1470 # One or both of the vars are not set, and there is no cached value.
1471 ac_x_includes
=NO ac_x_libraries
=NO
1473 if mkdir conftestdir
; then
1475 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1476 cat > Imakefile
<<'EOF'
1478 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1480 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
1481 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1482 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
1483 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1484 for ac_extension
in a so sl
; do
1485 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
1486 test -f $ac_im_libdir/libX11.
$ac_extension; then
1487 ac_im_usrlibdir
=$ac_im_libdir; break
1490 # Screen out bogus values from the imake configuration. They are
1491 # bogus both because they are the default anyway, and because
1492 # using them would break gcc on systems where it needs fixed includes.
1493 case "$ac_im_incroot" in
1495 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
1497 case "$ac_im_usrlibdir" in
1499 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
1506 if test "$ac_x_includes" = NO
; then
1507 # Guess where to find include files, by looking for this one X11 .h file.
1508 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
1510 # First, try using that file with no special directory specified.
1511 cat > conftest.
$ac_ext <<EOF
1512 #line 1513 "configure"
1513 #include "confdefs.h"
1514 #include <$x_direct_test_include>
1516 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1517 { (eval echo configure
:1518: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1518 ac_err
=`grep -v '^ *+' conftest.out`
1519 if test -z "$ac_err"; then
1521 # We can compile using X headers with no special include directory.
1525 echo "configure: failed program was:" >&5
1526 cat conftest.
$ac_ext >&5
1528 # Look for the header file in a standard set of common directories.
1529 # Check X11 before X11Rn because it is often a symlink to the current release.
1532 /usr
/X
11R
6/include \
1533 /usr
/X
11R
5/include \
1534 /usr
/X
11R
4/include \
1537 /usr
/include
/X11R6 \
1538 /usr
/include
/X11R5 \
1539 /usr
/include
/X11R4 \
1541 /usr
/local
/X
11/include \
1542 /usr
/local
/X
11R
6/include \
1543 /usr
/local
/X
11R
5/include \
1544 /usr
/local
/X
11R
4/include \
1546 /usr
/local
/include
/X11 \
1547 /usr
/local
/include
/X11R6 \
1548 /usr
/local
/include
/X11R5 \
1549 /usr
/local
/include
/X11R4 \
1553 /usr
/XFree
86/include
/X11 \
1556 /usr
/local
/include \
1557 /usr
/unsupported
/include \
1558 /usr
/athena
/include \
1559 /usr
/local
/x
11r
5/include \
1560 /usr
/lpp
/Xamples
/include \
1562 /usr
/openwin
/include \
1563 /usr
/openwin
/share
/include \
1566 if test -r "$ac_dir/$x_direct_test_include"; then
1567 ac_x_includes
=$ac_dir
1573 fi # $ac_x_includes = NO
1575 if test "$ac_x_libraries" = NO
; then
1576 # Check for the libraries.
1578 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
1579 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
1581 # See if we find them without any special options.
1582 # Don't add to $LIBS permanently.
1583 ac_save_LIBS
="$LIBS"
1584 LIBS
="-l$x_direct_test_library $LIBS"
1585 cat > conftest.
$ac_ext <<EOF
1586 #line 1587 "configure"
1587 #include "confdefs.h"
1590 ${x_direct_test_function}()
1593 if { (eval echo configure
:1594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1595 LIBS
="$ac_save_LIBS"
1596 # We can link X programs with no special library path.
1599 echo "configure: failed program was:" >&5
1600 cat conftest.
$ac_ext >&5
1602 LIBS
="$ac_save_LIBS"
1603 # First see if replacing the include by lib works.
1604 # Check X11 before X11Rn because it is often a symlink to the current release.
1605 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
1616 /usr
/local
/X
11/lib \
1617 /usr
/local
/X
11R
6/lib \
1618 /usr
/local
/X
11R
5/lib \
1619 /usr
/local
/X
11R
4/lib \
1621 /usr
/local
/lib
/X11 \
1622 /usr
/local
/lib
/X11R6 \
1623 /usr
/local
/lib
/X11R5 \
1624 /usr
/local
/lib
/X11R4 \
1628 /usr
/XFree
86/lib
/X11 \
1632 /usr
/unsupported
/lib \
1634 /usr
/local
/x
11r
5/lib \
1635 /usr
/lpp
/Xamples
/lib \
1639 /usr
/openwin
/share
/lib \
1642 for ac_extension
in a so sl
; do
1643 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
1644 ac_x_libraries
=$ac_dir
1651 fi # $ac_x_libraries = NO
1653 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
1654 # Didn't find X anywhere. Cache the known absence of X.
1655 ac_cv_have_x
="have_x=no"
1657 # Record where we found X for the cache.
1658 ac_cv_have_x
="have_x=yes \
1659 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1663 eval "$ac_cv_have_x"
1666 if test "$have_x" != yes; then
1667 echo "$ac_t""$have_x" 1>&6
1670 # If each of the values was on the command line, it overrides each guess.
1671 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
1672 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
1673 # Update the cache value to reflect the command line values.
1674 ac_cv_have_x
="have_x=yes \
1675 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1676 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
1679 if test "$no_x" = yes; then
1680 # Not all programs may use this symbol, but it does not hurt to define it.
1681 cat >> confdefs.h
<<\EOF
1682 #define X_DISPLAY_MISSING 1
1685 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
1687 if test -n "$x_includes"; then
1688 X_CFLAGS
="$X_CFLAGS -I$x_includes"
1691 # It would also be nice to do this for all -L options, not just this one.
1692 if test -n "$x_libraries"; then
1693 X_LIBS
="$X_LIBS -L$x_libraries"
1694 # For Solaris; some versions of Sun CC require a space after -R and
1695 # others require no space. Words are not sufficient . . . .
1696 case "`(uname -sr) 2>/dev/null`" in
1698 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
1699 echo "configure:1700: checking whether -R must be followed by a space" >&5
1700 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
1701 cat > conftest.
$ac_ext <<EOF
1702 #line 1703 "configure"
1703 #include "confdefs.h"
1709 if { (eval echo configure
:1710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1713 echo "configure: failed program was:" >&5
1714 cat conftest.
$ac_ext >&5
1719 if test $ac_R_nospace = yes; then
1720 echo "$ac_t""no" 1>&6
1721 X_LIBS
="$X_LIBS -R$x_libraries"
1723 LIBS
="$ac_xsave_LIBS -R $x_libraries"
1724 cat > conftest.
$ac_ext <<EOF
1725 #line 1726 "configure"
1726 #include "confdefs.h"
1732 if { (eval echo configure
:1733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1736 echo "configure: failed program was:" >&5
1737 cat conftest.
$ac_ext >&5
1742 if test $ac_R_space = yes; then
1743 echo "$ac_t""yes" 1>&6
1744 X_LIBS
="$X_LIBS -R $x_libraries"
1746 echo "$ac_t""neither works" 1>&6
1749 LIBS
="$ac_xsave_LIBS"
1753 # Check for system-dependent libraries X programs must link with.
1754 # Do this before checking for the system-independent R6 libraries
1755 # (-lICE), since we may need -lsocket or whatever for X linking.
1757 if test "$ISC" = yes; then
1758 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
1760 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
1761 # libraries were built with DECnet support. And karl@cs.umb.edu says
1762 # the Alpha needs dnet_stub (dnet does not exist).
1763 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
1764 echo "configure:1765: checking for dnet_ntoa in -ldnet" >&5
1765 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1766 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1767 echo $ac_n "(cached) $ac_c" 1>&6
1769 ac_save_LIBS
="$LIBS"
1771 cat > conftest.
$ac_ext <<EOF
1772 #line 1773 "configure"
1773 #include "confdefs.h"
1774 /* Override any gcc2 internal prototype to avoid an error. */
1775 /* We use char because int might match the return type of a gcc2
1776 builtin and then its argument prototype would still apply. */
1783 if { (eval echo configure
:1784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1785 eval "ac_cv_lib_$ac_lib_var=yes"
1787 echo "configure: failed program was:" >&5
1788 cat conftest.
$ac_ext >&5
1790 eval "ac_cv_lib_$ac_lib_var=no"
1793 LIBS
="$ac_save_LIBS"
1796 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1797 echo "$ac_t""yes" 1>&6
1798 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
1800 echo "$ac_t""no" 1>&6
1803 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
1804 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
1805 echo "configure:1806: checking for dnet_ntoa in -ldnet_stub" >&5
1806 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1807 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1808 echo $ac_n "(cached) $ac_c" 1>&6
1810 ac_save_LIBS
="$LIBS"
1811 LIBS
="-ldnet_stub $LIBS"
1812 cat > conftest.
$ac_ext <<EOF
1813 #line 1814 "configure"
1814 #include "confdefs.h"
1815 /* Override any gcc2 internal prototype to avoid an error. */
1816 /* We use char because int might match the return type of a gcc2
1817 builtin and then its argument prototype would still apply. */
1824 if { (eval echo configure
:1825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1826 eval "ac_cv_lib_$ac_lib_var=yes"
1828 echo "configure: failed program was:" >&5
1829 cat conftest.
$ac_ext >&5
1831 eval "ac_cv_lib_$ac_lib_var=no"
1834 LIBS
="$ac_save_LIBS"
1837 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1838 echo "$ac_t""yes" 1>&6
1839 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
1841 echo "$ac_t""no" 1>&6
1846 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
1847 # to get the SysV transport functions.
1848 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
1850 # The nsl library prevents programs from opening the X display
1851 # on Irix 5.2, according to dickey@clark.net.
1852 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1853 echo "configure:1854: checking for gethostbyname" >&5
1854 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1855 echo $ac_n "(cached) $ac_c" 1>&6
1857 cat > conftest.
$ac_ext <<EOF
1858 #line 1859 "configure"
1859 #include "confdefs.h"
1860 /* System header to define __stub macros and hopefully few prototypes,
1861 which can conflict with char gethostbyname(); below. */
1863 /* Override any gcc2 internal prototype to avoid an error. */
1864 /* We use char because int might match the return type of a gcc2
1865 builtin and then its argument prototype would still apply. */
1866 char gethostbyname();
1870 /* The GNU C library defines this for functions which it implements
1871 to always fail with ENOSYS. Some functions are actually named
1872 something starting with __ and the normal name is an alias. */
1873 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
1881 if { (eval echo configure
:1882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1883 eval "ac_cv_func_gethostbyname=yes"
1885 echo "configure: failed program was:" >&5
1886 cat conftest.
$ac_ext >&5
1888 eval "ac_cv_func_gethostbyname=no"
1893 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1894 echo "$ac_t""yes" 1>&6
1897 echo "$ac_t""no" 1>&6
1900 if test $ac_cv_func_gethostbyname = no
; then
1901 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1902 echo "configure:1903: checking for gethostbyname in -lnsl" >&5
1903 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1904 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1905 echo $ac_n "(cached) $ac_c" 1>&6
1907 ac_save_LIBS
="$LIBS"
1909 cat > conftest.
$ac_ext <<EOF
1910 #line 1911 "configure"
1911 #include "confdefs.h"
1912 /* Override any gcc2 internal prototype to avoid an error. */
1913 /* We use char because int might match the return type of a gcc2
1914 builtin and then its argument prototype would still apply. */
1915 char gethostbyname();
1921 if { (eval echo configure
:1922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1923 eval "ac_cv_lib_$ac_lib_var=yes"
1925 echo "configure: failed program was:" >&5
1926 cat conftest.
$ac_ext >&5
1928 eval "ac_cv_lib_$ac_lib_var=no"
1931 LIBS
="$ac_save_LIBS"
1934 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1935 echo "$ac_t""yes" 1>&6
1936 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
1938 echo "$ac_t""no" 1>&6
1943 # lieder@skyler.mavd.honeywell.com says without -lsocket,
1944 # socket/setsockopt and other routines are undefined under SCO ODT
1945 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
1946 # on later versions), says simon@lia.di.epfl.ch: it contains
1947 # gethostby* variants that don't use the nameserver (or something).
1948 # -lsocket must be given before -lnsl if both are needed.
1949 # We assume that if connect needs -lnsl, so does gethostbyname.
1950 echo $ac_n "checking for connect""... $ac_c" 1>&6
1951 echo "configure:1952: checking for connect" >&5
1952 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1953 echo $ac_n "(cached) $ac_c" 1>&6
1955 cat > conftest.
$ac_ext <<EOF
1956 #line 1957 "configure"
1957 #include "confdefs.h"
1958 /* System header to define __stub macros and hopefully few prototypes,
1959 which can conflict with char connect(); below. */
1961 /* Override any gcc2 internal prototype to avoid an error. */
1962 /* We use char because int might match the return type of a gcc2
1963 builtin and then its argument prototype would still apply. */
1968 /* The GNU C library defines this for functions which it implements
1969 to always fail with ENOSYS. Some functions are actually named
1970 something starting with __ and the normal name is an alias. */
1971 #if defined (__stub_connect) || defined (__stub___connect)
1979 if { (eval echo configure
:1980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1981 eval "ac_cv_func_connect=yes"
1983 echo "configure: failed program was:" >&5
1984 cat conftest.
$ac_ext >&5
1986 eval "ac_cv_func_connect=no"
1991 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
1992 echo "$ac_t""yes" 1>&6
1995 echo "$ac_t""no" 1>&6
1998 if test $ac_cv_func_connect = no
; then
1999 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
2000 echo "configure:2001: checking for connect in -lsocket" >&5
2001 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
2002 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2003 echo $ac_n "(cached) $ac_c" 1>&6
2005 ac_save_LIBS
="$LIBS"
2006 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
2007 cat > conftest.
$ac_ext <<EOF
2008 #line 2009 "configure"
2009 #include "confdefs.h"
2010 /* Override any gcc2 internal prototype to avoid an error. */
2011 /* We use char because int might match the return type of a gcc2
2012 builtin and then its argument prototype would still apply. */
2019 if { (eval echo configure
:2020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2021 eval "ac_cv_lib_$ac_lib_var=yes"
2023 echo "configure: failed program was:" >&5
2024 cat conftest.
$ac_ext >&5
2026 eval "ac_cv_lib_$ac_lib_var=no"
2029 LIBS
="$ac_save_LIBS"
2032 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2033 echo "$ac_t""yes" 1>&6
2034 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
2036 echo "$ac_t""no" 1>&6
2041 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2042 echo $ac_n "checking for remove""... $ac_c" 1>&6
2043 echo "configure:2044: checking for remove" >&5
2044 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2045 echo $ac_n "(cached) $ac_c" 1>&6
2047 cat > conftest.
$ac_ext <<EOF
2048 #line 2049 "configure"
2049 #include "confdefs.h"
2050 /* System header to define __stub macros and hopefully few prototypes,
2051 which can conflict with char remove(); below. */
2053 /* Override any gcc2 internal prototype to avoid an error. */
2054 /* We use char because int might match the return type of a gcc2
2055 builtin and then its argument prototype would still apply. */
2060 /* The GNU C library defines this for functions which it implements
2061 to always fail with ENOSYS. Some functions are actually named
2062 something starting with __ and the normal name is an alias. */
2063 #if defined (__stub_remove) || defined (__stub___remove)
2071 if { (eval echo configure
:2072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2073 eval "ac_cv_func_remove=yes"
2075 echo "configure: failed program was:" >&5
2076 cat conftest.
$ac_ext >&5
2078 eval "ac_cv_func_remove=no"
2083 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
2084 echo "$ac_t""yes" 1>&6
2087 echo "$ac_t""no" 1>&6
2090 if test $ac_cv_func_remove = no
; then
2091 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2092 echo "configure:2093: checking for remove in -lposix" >&5
2093 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2094 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2095 echo $ac_n "(cached) $ac_c" 1>&6
2097 ac_save_LIBS
="$LIBS"
2098 LIBS
="-lposix $LIBS"
2099 cat > conftest.
$ac_ext <<EOF
2100 #line 2101 "configure"
2101 #include "confdefs.h"
2102 /* Override any gcc2 internal prototype to avoid an error. */
2103 /* We use char because int might match the return type of a gcc2
2104 builtin and then its argument prototype would still apply. */
2111 if { (eval echo configure
:2112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2113 eval "ac_cv_lib_$ac_lib_var=yes"
2115 echo "configure: failed program was:" >&5
2116 cat conftest.
$ac_ext >&5
2118 eval "ac_cv_lib_$ac_lib_var=no"
2121 LIBS
="$ac_save_LIBS"
2124 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2125 echo "$ac_t""yes" 1>&6
2126 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
2128 echo "$ac_t""no" 1>&6
2133 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2134 echo $ac_n "checking for shmat""... $ac_c" 1>&6
2135 echo "configure:2136: checking for shmat" >&5
2136 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2137 echo $ac_n "(cached) $ac_c" 1>&6
2139 cat > conftest.
$ac_ext <<EOF
2140 #line 2141 "configure"
2141 #include "confdefs.h"
2142 /* System header to define __stub macros and hopefully few prototypes,
2143 which can conflict with char shmat(); below. */
2145 /* Override any gcc2 internal prototype to avoid an error. */
2146 /* We use char because int might match the return type of a gcc2
2147 builtin and then its argument prototype would still apply. */
2152 /* The GNU C library defines this for functions which it implements
2153 to always fail with ENOSYS. Some functions are actually named
2154 something starting with __ and the normal name is an alias. */
2155 #if defined (__stub_shmat) || defined (__stub___shmat)
2163 if { (eval echo configure
:2164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2165 eval "ac_cv_func_shmat=yes"
2167 echo "configure: failed program was:" >&5
2168 cat conftest.
$ac_ext >&5
2170 eval "ac_cv_func_shmat=no"
2175 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
2176 echo "$ac_t""yes" 1>&6
2179 echo "$ac_t""no" 1>&6
2182 if test $ac_cv_func_shmat = no
; then
2183 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2184 echo "configure:2185: checking for shmat in -lipc" >&5
2185 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2186 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2187 echo $ac_n "(cached) $ac_c" 1>&6
2189 ac_save_LIBS
="$LIBS"
2191 cat > conftest.
$ac_ext <<EOF
2192 #line 2193 "configure"
2193 #include "confdefs.h"
2194 /* Override any gcc2 internal prototype to avoid an error. */
2195 /* We use char because int might match the return type of a gcc2
2196 builtin and then its argument prototype would still apply. */
2203 if { (eval echo configure
:2204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2205 eval "ac_cv_lib_$ac_lib_var=yes"
2207 echo "configure: failed program was:" >&5
2208 cat conftest.
$ac_ext >&5
2210 eval "ac_cv_lib_$ac_lib_var=no"
2213 LIBS
="$ac_save_LIBS"
2216 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2217 echo "$ac_t""yes" 1>&6
2218 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
2220 echo "$ac_t""no" 1>&6
2226 # Check for libraries that X11R6 Xt/Xaw programs need.
2227 ac_save_LDFLAGS
="$LDFLAGS"
2228 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
2229 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
2230 # check for ICE first), but we must link in the order -lSM -lICE or
2231 # we get undefined symbols. So assume we have SM if we have ICE.
2232 # These have to be linked with before -lX11, unlike the other
2233 # libraries we check for below, so use a different variable.
2234 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2235 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2236 echo "configure:2237: checking for IceConnectionNumber in -lICE" >&5
2237 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2238 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2239 echo $ac_n "(cached) $ac_c" 1>&6
2241 ac_save_LIBS
="$LIBS"
2243 cat > conftest.
$ac_ext <<EOF
2244 #line 2245 "configure"
2245 #include "confdefs.h"
2246 /* Override any gcc2 internal prototype to avoid an error. */
2247 /* We use char because int might match the return type of a gcc2
2248 builtin and then its argument prototype would still apply. */
2249 char IceConnectionNumber();
2252 IceConnectionNumber()
2255 if { (eval echo configure
:2256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2257 eval "ac_cv_lib_$ac_lib_var=yes"
2259 echo "configure: failed program was:" >&5
2260 cat conftest.
$ac_ext >&5
2262 eval "ac_cv_lib_$ac_lib_var=no"
2265 LIBS
="$ac_save_LIBS"
2268 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2269 echo "$ac_t""yes" 1>&6
2270 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
2272 echo "$ac_t""no" 1>&6
2275 LDFLAGS
="$ac_save_LDFLAGS"
2281 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
2283 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2284 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2285 echo "configure:2286: checking for $ac_hdr that defines DIR" >&5
2286 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2287 echo $ac_n "(cached) $ac_c" 1>&6
2289 cat > conftest.
$ac_ext <<EOF
2290 #line 2291 "configure"
2291 #include "confdefs.h"
2292 #include <sys/types.h>
2298 if { (eval echo configure
:2299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2300 eval "ac_cv_header_dirent_$ac_safe=yes"
2302 echo "configure: failed program was:" >&5
2303 cat conftest.
$ac_ext >&5
2305 eval "ac_cv_header_dirent_$ac_safe=no"
2309 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
2310 echo "$ac_t""yes" 1>&6
2311 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2312 cat >> confdefs.h
<<EOF
2313 #define $ac_tr_hdr 1
2315 ac_header_dirent
=$ac_hdr; break
2317 echo "$ac_t""no" 1>&6
2320 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2321 if test $ac_header_dirent = dirent.h
; then
2322 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2323 echo "configure:2324: checking for opendir in -ldir" >&5
2324 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2325 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2326 echo $ac_n "(cached) $ac_c" 1>&6
2328 ac_save_LIBS
="$LIBS"
2330 cat > conftest.
$ac_ext <<EOF
2331 #line 2332 "configure"
2332 #include "confdefs.h"
2333 /* Override any gcc2 internal prototype to avoid an error. */
2334 /* We use char because int might match the return type of a gcc2
2335 builtin and then its argument prototype would still apply. */
2342 if { (eval echo configure
:2343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2344 eval "ac_cv_lib_$ac_lib_var=yes"
2346 echo "configure: failed program was:" >&5
2347 cat conftest.
$ac_ext >&5
2349 eval "ac_cv_lib_$ac_lib_var=no"
2352 LIBS
="$ac_save_LIBS"
2355 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2356 echo "$ac_t""yes" 1>&6
2359 echo "$ac_t""no" 1>&6
2363 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2364 echo "configure:2365: checking for opendir in -lx" >&5
2365 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2366 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2367 echo $ac_n "(cached) $ac_c" 1>&6
2369 ac_save_LIBS
="$LIBS"
2371 cat > conftest.
$ac_ext <<EOF
2372 #line 2373 "configure"
2373 #include "confdefs.h"
2374 /* Override any gcc2 internal prototype to avoid an error. */
2375 /* We use char because int might match the return type of a gcc2
2376 builtin and then its argument prototype would still apply. */
2383 if { (eval echo configure
:2384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2385 eval "ac_cv_lib_$ac_lib_var=yes"
2387 echo "configure: failed program was:" >&5
2388 cat conftest.
$ac_ext >&5
2390 eval "ac_cv_lib_$ac_lib_var=no"
2393 LIBS
="$ac_save_LIBS"
2396 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2397 echo "$ac_t""yes" 1>&6
2400 echo "$ac_t""no" 1>&6
2405 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2406 echo "configure:2407: checking for ANSI C header files" >&5
2407 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2408 echo $ac_n "(cached) $ac_c" 1>&6
2410 cat > conftest.
$ac_ext <<EOF
2411 #line 2412 "configure"
2412 #include "confdefs.h"
2418 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2419 { (eval echo configure
:2420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2420 ac_err
=`grep -v '^ *+' conftest.out`
2421 if test -z "$ac_err"; then
2423 ac_cv_header_stdc
=yes
2426 echo "configure: failed program was:" >&5
2427 cat conftest.
$ac_ext >&5
2429 ac_cv_header_stdc
=no
2433 if test $ac_cv_header_stdc = yes; then
2434 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2435 cat > conftest.
$ac_ext <<EOF
2436 #line 2437 "configure"
2437 #include "confdefs.h"
2440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2441 egrep "memchr" >/dev
/null
2>&1; then
2445 ac_cv_header_stdc
=no
2451 if test $ac_cv_header_stdc = yes; then
2452 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2453 cat > conftest.
$ac_ext <<EOF
2454 #line 2455 "configure"
2455 #include "confdefs.h"
2458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2459 egrep "free" >/dev
/null
2>&1; then
2463 ac_cv_header_stdc
=no
2469 if test $ac_cv_header_stdc = yes; then
2470 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2471 if test "$cross_compiling" = yes; then
2474 cat > conftest.
$ac_ext <<EOF
2475 #line 2476 "configure"
2476 #include "confdefs.h"
2478 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2479 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2480 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2481 int main () { int i; for (i = 0; i < 256; i++)
2482 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2486 if { (eval echo configure
:2487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2490 echo "configure: failed program was:" >&5
2491 cat conftest.
$ac_ext >&5
2493 ac_cv_header_stdc
=no
2501 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2502 if test $ac_cv_header_stdc = yes; then
2503 cat >> confdefs.h
<<\EOF
2504 #define STDC_HEADERS 1
2509 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2510 echo "configure:2511: checking for sys/wait.h that is POSIX.1 compatible" >&5
2511 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2512 echo $ac_n "(cached) $ac_c" 1>&6
2514 cat > conftest.
$ac_ext <<EOF
2515 #line 2516 "configure"
2516 #include "confdefs.h"
2517 #include <sys/types.h>
2518 #include <sys/wait.h>
2520 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2523 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2528 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2531 if { (eval echo configure
:2532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2533 ac_cv_header_sys_wait_h
=yes
2535 echo "configure: failed program was:" >&5
2536 cat conftest.
$ac_ext >&5
2538 ac_cv_header_sys_wait_h
=no
2543 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2544 if test $ac_cv_header_sys_wait_h = yes; then
2545 cat >> confdefs.h
<<\EOF
2546 #define HAVE_SYS_WAIT_H 1
2551 for ac_hdr
in fcntl.h
2553 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2554 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2555 echo "configure:2556: checking for $ac_hdr" >&5
2556 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2557 echo $ac_n "(cached) $ac_c" 1>&6
2559 cat > conftest.
$ac_ext <<EOF
2560 #line 2561 "configure"
2561 #include "confdefs.h"
2564 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2565 { (eval echo configure
:2566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2566 ac_err
=`grep -v '^ *+' conftest.out`
2567 if test -z "$ac_err"; then
2569 eval "ac_cv_header_$ac_safe=yes"
2572 echo "configure: failed program was:" >&5
2573 cat conftest.
$ac_ext >&5
2575 eval "ac_cv_header_$ac_safe=no"
2579 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2580 echo "$ac_t""yes" 1>&6
2581 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2582 cat >> confdefs.h
<<EOF
2583 #define $ac_tr_hdr 1
2587 echo "$ac_t""no" 1>&6
2591 for ac_hdr
in limits.h
2593 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2594 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2595 echo "configure:2596: checking for $ac_hdr" >&5
2596 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2597 echo $ac_n "(cached) $ac_c" 1>&6
2599 cat > conftest.
$ac_ext <<EOF
2600 #line 2601 "configure"
2601 #include "confdefs.h"
2604 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2605 { (eval echo configure
:2606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2606 ac_err
=`grep -v '^ *+' conftest.out`
2607 if test -z "$ac_err"; then
2609 eval "ac_cv_header_$ac_safe=yes"
2612 echo "configure: failed program was:" >&5
2613 cat conftest.
$ac_ext >&5
2615 eval "ac_cv_header_$ac_safe=no"
2619 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2620 echo "$ac_t""yes" 1>&6
2621 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2622 cat >> confdefs.h
<<EOF
2623 #define $ac_tr_hdr 1
2627 echo "$ac_t""no" 1>&6
2631 for ac_hdr
in sys
/file.h
2633 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2634 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2635 echo "configure:2636: checking for $ac_hdr" >&5
2636 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2637 echo $ac_n "(cached) $ac_c" 1>&6
2639 cat > conftest.
$ac_ext <<EOF
2640 #line 2641 "configure"
2641 #include "confdefs.h"
2644 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2645 { (eval echo configure
:2646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2646 ac_err
=`grep -v '^ *+' conftest.out`
2647 if test -z "$ac_err"; then
2649 eval "ac_cv_header_$ac_safe=yes"
2652 echo "configure: failed program was:" >&5
2653 cat conftest.
$ac_ext >&5
2655 eval "ac_cv_header_$ac_safe=no"
2659 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2660 echo "$ac_t""yes" 1>&6
2661 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2662 cat >> confdefs.h
<<EOF
2663 #define $ac_tr_hdr 1
2667 echo "$ac_t""no" 1>&6
2671 for ac_hdr
in sys
/time.h
2673 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2674 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2675 echo "configure:2676: checking for $ac_hdr" >&5
2676 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2677 echo $ac_n "(cached) $ac_c" 1>&6
2679 cat > conftest.
$ac_ext <<EOF
2680 #line 2681 "configure"
2681 #include "confdefs.h"
2684 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2685 { (eval echo configure
:2686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2686 ac_err
=`grep -v '^ *+' conftest.out`
2687 if test -z "$ac_err"; then
2689 eval "ac_cv_header_$ac_safe=yes"
2692 echo "configure: failed program was:" >&5
2693 cat conftest.
$ac_ext >&5
2695 eval "ac_cv_header_$ac_safe=no"
2699 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2700 echo "$ac_t""yes" 1>&6
2701 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2702 cat >> confdefs.h
<<EOF
2703 #define $ac_tr_hdr 1
2707 echo "$ac_t""no" 1>&6
2711 for ac_hdr
in unistd.h
2713 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2714 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2715 echo "configure:2716: checking for $ac_hdr" >&5
2716 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2717 echo $ac_n "(cached) $ac_c" 1>&6
2719 cat > conftest.
$ac_ext <<EOF
2720 #line 2721 "configure"
2721 #include "confdefs.h"
2724 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2725 { (eval echo configure
:2726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2726 ac_err
=`grep -v '^ *+' conftest.out`
2727 if test -z "$ac_err"; then
2729 eval "ac_cv_header_$ac_safe=yes"
2732 echo "configure: failed program was:" >&5
2733 cat conftest.
$ac_ext >&5
2735 eval "ac_cv_header_$ac_safe=no"
2739 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2740 echo "$ac_t""yes" 1>&6
2741 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2742 cat >> confdefs.h
<<EOF
2743 #define $ac_tr_hdr 1
2747 echo "$ac_t""no" 1>&6
2751 for ac_hdr
in fnmatch.h
2753 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2754 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2755 echo "configure:2756: checking for $ac_hdr" >&5
2756 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2757 echo $ac_n "(cached) $ac_c" 1>&6
2759 cat > conftest.
$ac_ext <<EOF
2760 #line 2761 "configure"
2761 #include "confdefs.h"
2764 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2765 { (eval echo configure
:2766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2766 ac_err
=`grep -v '^ *+' conftest.out`
2767 if test -z "$ac_err"; then
2769 eval "ac_cv_header_$ac_safe=yes"
2772 echo "configure: failed program was:" >&5
2773 cat conftest.
$ac_ext >&5
2775 eval "ac_cv_header_$ac_safe=no"
2779 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2780 echo "$ac_t""yes" 1>&6
2781 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2782 cat >> confdefs.h
<<EOF
2783 #define $ac_tr_hdr 1
2787 echo "$ac_t""no" 1>&6
2791 for ac_hdr
in linux
/joystick.h
2793 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2794 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2795 echo "configure:2796: checking for $ac_hdr" >&5
2796 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2797 echo $ac_n "(cached) $ac_c" 1>&6
2799 cat > conftest.
$ac_ext <<EOF
2800 #line 2801 "configure"
2801 #include "confdefs.h"
2804 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2805 { (eval echo configure
:2806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2806 ac_err
=`grep -v '^ *+' conftest.out`
2807 if test -z "$ac_err"; then
2809 eval "ac_cv_header_$ac_safe=yes"
2812 echo "configure: failed program was:" >&5
2813 cat conftest.
$ac_ext >&5
2815 eval "ac_cv_header_$ac_safe=no"
2819 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2820 echo "$ac_t""yes" 1>&6
2821 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2822 cat >> confdefs.h
<<EOF
2823 #define $ac_tr_hdr 1
2827 echo "$ac_t""no" 1>&6
2832 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
2833 GTK_JOYSTICK
="gtk/joystick.cpp"
2837 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
2838 echo "configure:2839: checking for vprintf" >&5
2839 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
2840 echo $ac_n "(cached) $ac_c" 1>&6
2842 cat > conftest.
$ac_ext <<EOF
2843 #line 2844 "configure"
2844 #include "confdefs.h"
2845 /* System header to define __stub macros and hopefully few prototypes,
2846 which can conflict with char vprintf(); below. */
2848 /* Override any gcc2 internal prototype to avoid an error. */
2849 /* We use char because int might match the return type of a gcc2
2850 builtin and then its argument prototype would still apply. */
2855 /* The GNU C library defines this for functions which it implements
2856 to always fail with ENOSYS. Some functions are actually named
2857 something starting with __ and the normal name is an alias. */
2858 #if defined (__stub_vprintf) || defined (__stub___vprintf)
2866 if { (eval echo configure
:2867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2868 eval "ac_cv_func_vprintf=yes"
2870 echo "configure: failed program was:" >&5
2871 cat conftest.
$ac_ext >&5
2873 eval "ac_cv_func_vprintf=no"
2878 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
2879 echo "$ac_t""yes" 1>&6
2880 cat >> confdefs.h
<<\EOF
2881 #define HAVE_VPRINTF 1
2885 echo "$ac_t""no" 1>&6
2888 if test "$ac_cv_func_vprintf" != yes; then
2889 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
2890 echo "configure:2891: checking for _doprnt" >&5
2891 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
2892 echo $ac_n "(cached) $ac_c" 1>&6
2894 cat > conftest.
$ac_ext <<EOF
2895 #line 2896 "configure"
2896 #include "confdefs.h"
2897 /* System header to define __stub macros and hopefully few prototypes,
2898 which can conflict with char _doprnt(); below. */
2900 /* Override any gcc2 internal prototype to avoid an error. */
2901 /* We use char because int might match the return type of a gcc2
2902 builtin and then its argument prototype would still apply. */
2907 /* The GNU C library defines this for functions which it implements
2908 to always fail with ENOSYS. Some functions are actually named
2909 something starting with __ and the normal name is an alias. */
2910 #if defined (__stub__doprnt) || defined (__stub____doprnt)
2918 if { (eval echo configure
:2919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2920 eval "ac_cv_func__doprnt=yes"
2922 echo "configure: failed program was:" >&5
2923 cat conftest.
$ac_ext >&5
2925 eval "ac_cv_func__doprnt=no"
2930 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
2931 echo "$ac_t""yes" 1>&6
2932 cat >> confdefs.h
<<\EOF
2933 #define HAVE_DOPRNT 1
2937 echo "$ac_t""no" 1>&6
2942 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
2943 echo "configure:2944: checking for vsnprintf" >&5
2944 if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
2945 echo $ac_n "(cached) $ac_c" 1>&6
2947 cat > conftest.
$ac_ext <<EOF
2948 #line 2949 "configure"
2949 #include "confdefs.h"
2950 /* System header to define __stub macros and hopefully few prototypes,
2951 which can conflict with char vsnprintf(); below. */
2953 /* Override any gcc2 internal prototype to avoid an error. */
2954 /* We use char because int might match the return type of a gcc2
2955 builtin and then its argument prototype would still apply. */
2960 /* The GNU C library defines this for functions which it implements
2961 to always fail with ENOSYS. Some functions are actually named
2962 something starting with __ and the normal name is an alias. */
2963 #if defined (__stub_vsnprintf) || defined (__stub___vsnprintf)
2971 if { (eval echo configure
:2972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2973 eval "ac_cv_func_vsnprintf=yes"
2975 echo "configure: failed program was:" >&5
2976 cat conftest.
$ac_ext >&5
2978 eval "ac_cv_func_vsnprintf=no"
2983 if eval "test \"`echo '$ac_cv_func_'vsnprintf`\" = yes"; then
2984 echo "$ac_t""yes" 1>&6
2987 echo "$ac_t""no" 1>&6
2993 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2994 ac_cpp
='$CXXCPP $CPPFLAGS'
2995 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2996 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2997 cross_compiling
=$ac_cv_prog_cxx_cross
2999 for ac_hdr
in iostream
3001 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3002 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3003 echo "configure:3004: checking for $ac_hdr" >&5
3004 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3005 echo $ac_n "(cached) $ac_c" 1>&6
3007 cat > conftest.
$ac_ext <<EOF
3008 #line 3009 "configure"
3009 #include "confdefs.h"
3012 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3013 { (eval echo configure
:3014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3014 ac_err
=`grep -v '^ *+' conftest.out`
3015 if test -z "$ac_err"; then
3017 eval "ac_cv_header_$ac_safe=yes"
3020 echo "configure: failed program was:" >&5
3021 cat conftest.
$ac_ext >&5
3023 eval "ac_cv_header_$ac_safe=no"
3027 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3028 echo "$ac_t""yes" 1>&6
3029 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3030 cat >> confdefs.h
<<EOF
3031 #define $ac_tr_hdr 1
3035 echo "$ac_t""no" 1>&6
3039 if test "x$HAVE_IOSTREAM" = "x" ; then
3040 cat >> confdefs.h
<<\EOF
3041 #define wxUSE_IOSTREAMH 1
3046 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3047 ac_cpp
='$CPP $CPPFLAGS'
3048 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3049 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3050 cross_compiling
=$ac_cv_prog_cc_cross
3053 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3054 echo "configure:3055: checking for uid_t in sys/types.h" >&5
3055 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3056 echo $ac_n "(cached) $ac_c" 1>&6
3058 cat > conftest.
$ac_ext <<EOF
3059 #line 3060 "configure"
3060 #include "confdefs.h"
3061 #include <sys/types.h>
3063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3064 egrep "uid_t" >/dev
/null
2>&1; then
3066 ac_cv_type_uid_t
=yes
3075 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3076 if test $ac_cv_type_uid_t = no
; then
3077 cat >> confdefs.h
<<\EOF
3081 cat >> confdefs.h
<<\EOF
3087 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
3088 echo "configure:3089: checking type of array argument to getgroups" >&5
3089 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
3090 echo $ac_n "(cached) $ac_c" 1>&6
3092 if test "$cross_compiling" = yes; then
3093 ac_cv_type_getgroups
=cross
3095 cat > conftest.
$ac_ext <<EOF
3096 #line 3097 "configure"
3097 #include "confdefs.h"
3099 /* Thanks to Mike Rendell for this test. */
3100 #include <sys/types.h>
3103 #define MAX(x, y) ((x) > (y) ? (x) : (y))
3108 union { gid_t gval; long lval; } val;
3111 for (i = 0; i < NGID; i++)
3112 gidset[i] = val.gval;
3113 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
3115 /* Exit non-zero if getgroups seems to require an array of ints. This
3116 happens when gid_t is short but getgroups modifies an array of ints. */
3117 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
3121 if { (eval echo configure
:3122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3123 ac_cv_type_getgroups
=gid_t
3125 echo "configure: failed program was:" >&5
3126 cat conftest.
$ac_ext >&5
3128 ac_cv_type_getgroups
=int
3133 if test $ac_cv_type_getgroups = cross
; then
3134 cat > conftest.
$ac_ext <<EOF
3135 #line 3136 "configure"
3136 #include "confdefs.h"
3139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3140 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
3142 ac_cv_type_getgroups
=gid_t
3145 ac_cv_type_getgroups
=int
3152 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
3153 cat >> confdefs.h
<<EOF
3154 #define GETGROUPS_T $ac_cv_type_getgroups
3158 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
3159 echo "configure:3160: checking for mode_t" >&5
3160 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
3161 echo $ac_n "(cached) $ac_c" 1>&6
3163 cat > conftest.
$ac_ext <<EOF
3164 #line 3165 "configure"
3165 #include "confdefs.h"
3166 #include <sys/types.h>
3172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3173 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3175 ac_cv_type_mode_t
=yes
3178 ac_cv_type_mode_t
=no
3183 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
3184 if test $ac_cv_type_mode_t = no
; then
3185 cat >> confdefs.h
<<\EOF
3191 echo $ac_n "checking for off_t""... $ac_c" 1>&6
3192 echo "configure:3193: checking for off_t" >&5
3193 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
3194 echo $ac_n "(cached) $ac_c" 1>&6
3196 cat > conftest.
$ac_ext <<EOF
3197 #line 3198 "configure"
3198 #include "confdefs.h"
3199 #include <sys/types.h>
3205 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3206 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3208 ac_cv_type_off_t
=yes
3216 echo "$ac_t""$ac_cv_type_off_t" 1>&6
3217 if test $ac_cv_type_off_t = no
; then
3218 cat >> confdefs.h
<<\EOF
3224 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
3225 echo "configure:3226: checking for pid_t" >&5
3226 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
3227 echo $ac_n "(cached) $ac_c" 1>&6
3229 cat > conftest.
$ac_ext <<EOF
3230 #line 3231 "configure"
3231 #include "confdefs.h"
3232 #include <sys/types.h>
3238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3239 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3241 ac_cv_type_pid_t
=yes
3249 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
3250 if test $ac_cv_type_pid_t = no
; then
3251 cat >> confdefs.h
<<\EOF
3257 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3258 echo "configure:3259: checking return type of signal handlers" >&5
3259 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
3260 echo $ac_n "(cached) $ac_c" 1>&6
3262 cat > conftest.
$ac_ext <<EOF
3263 #line 3264 "configure"
3264 #include "confdefs.h"
3265 #include <sys/types.h>
3271 extern "C" void (*signal (int, void (*)(int)))(int);
3273 void (*signal ()) ();
3280 if { (eval echo configure
:3281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3282 ac_cv_type_signal
=void
3284 echo "configure: failed program was:" >&5
3285 cat conftest.
$ac_ext >&5
3287 ac_cv_type_signal
=int
3292 echo "$ac_t""$ac_cv_type_signal" 1>&6
3293 cat >> confdefs.h
<<EOF
3294 #define RETSIGTYPE $ac_cv_type_signal
3298 echo $ac_n "checking for size_t""... $ac_c" 1>&6
3299 echo "configure:3300: checking for size_t" >&5
3300 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
3301 echo $ac_n "(cached) $ac_c" 1>&6
3303 cat > conftest.
$ac_ext <<EOF
3304 #line 3305 "configure"
3305 #include "confdefs.h"
3306 #include <sys/types.h>
3312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3313 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3315 ac_cv_type_size_t
=yes
3318 ac_cv_type_size_t
=no
3323 echo "$ac_t""$ac_cv_type_size_t" 1>&6
3324 if test $ac_cv_type_size_t = no
; then
3325 cat >> confdefs.h
<<\EOF
3326 #define size_t unsigned
3331 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3332 echo "configure:3333: checking for uid_t in sys/types.h" >&5
3333 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3334 echo $ac_n "(cached) $ac_c" 1>&6
3336 cat > conftest.
$ac_ext <<EOF
3337 #line 3338 "configure"
3338 #include "confdefs.h"
3339 #include <sys/types.h>
3341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3342 egrep "uid_t" >/dev
/null
2>&1; then
3344 ac_cv_type_uid_t
=yes
3353 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3354 if test $ac_cv_type_uid_t = no
; then
3355 cat >> confdefs.h
<<\EOF
3359 cat >> confdefs.h
<<\EOF
3367 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
3368 echo "configure:3369: checking whether stat file-mode macros are broken" >&5
3369 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
3370 echo $ac_n "(cached) $ac_c" 1>&6
3372 cat > conftest.
$ac_ext <<EOF
3373 #line 3374 "configure"
3374 #include "confdefs.h"
3375 #include <sys/types.h>
3376 #include <sys/stat.h>
3378 #if defined(S_ISBLK) && defined(S_IFDIR)
3379 # if S_ISBLK (S_IFDIR)
3384 #if defined(S_ISBLK) && defined(S_IFCHR)
3385 # if S_ISBLK (S_IFCHR)
3390 #if defined(S_ISLNK) && defined(S_IFREG)
3391 # if S_ISLNK (S_IFREG)
3396 #if defined(S_ISSOCK) && defined(S_IFREG)
3397 # if S_ISSOCK (S_IFREG)
3403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3404 egrep "You lose" >/dev
/null
2>&1; then
3406 ac_cv_header_stat_broken
=yes
3409 ac_cv_header_stat_broken
=no
3415 echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
3416 if test $ac_cv_header_stat_broken = yes; then
3417 cat >> confdefs.h
<<\EOF
3418 #define STAT_MACROS_BROKEN 1
3423 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3424 echo "configure:3425: checking whether time.h and sys/time.h may both be included" >&5
3425 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3426 echo $ac_n "(cached) $ac_c" 1>&6
3428 cat > conftest.
$ac_ext <<EOF
3429 #line 3430 "configure"
3430 #include "confdefs.h"
3431 #include <sys/types.h>
3432 #include <sys/time.h>
3438 if { (eval echo configure
:3439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3440 ac_cv_header_time
=yes
3442 echo "configure: failed program was:" >&5
3443 cat conftest.
$ac_ext >&5
3445 ac_cv_header_time
=no
3450 echo "$ac_t""$ac_cv_header_time" 1>&6
3451 if test $ac_cv_header_time = yes; then
3452 cat >> confdefs.h
<<\EOF
3453 #define TIME_WITH_SYS_TIME 1
3458 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
3459 echo "configure:3460: checking for st_blksize in struct stat" >&5
3460 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
3461 echo $ac_n "(cached) $ac_c" 1>&6
3463 cat > conftest.
$ac_ext <<EOF
3464 #line 3465 "configure"
3465 #include "confdefs.h"
3466 #include <sys/types.h>
3467 #include <sys/stat.h>
3469 struct stat s; s.st_blksize;
3472 if { (eval echo configure
:3473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3474 ac_cv_struct_st_blksize
=yes
3476 echo "configure: failed program was:" >&5
3477 cat conftest.
$ac_ext >&5
3479 ac_cv_struct_st_blksize
=no
3484 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
3485 if test $ac_cv_struct_st_blksize = yes; then
3486 cat >> confdefs.h
<<\EOF
3487 #define HAVE_ST_BLKSIZE 1
3492 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
3493 echo "configure:3494: checking for st_blocks in struct stat" >&5
3494 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
3495 echo $ac_n "(cached) $ac_c" 1>&6
3497 cat > conftest.
$ac_ext <<EOF
3498 #line 3499 "configure"
3499 #include "confdefs.h"
3500 #include <sys/types.h>
3501 #include <sys/stat.h>
3503 struct stat s; s.st_blocks;
3506 if { (eval echo configure
:3507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3508 ac_cv_struct_st_blocks
=yes
3510 echo "configure: failed program was:" >&5
3511 cat conftest.
$ac_ext >&5
3513 ac_cv_struct_st_blocks
=no
3518 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6
3519 if test $ac_cv_struct_st_blocks = yes; then
3520 cat >> confdefs.h
<<\EOF
3521 #define HAVE_ST_BLOCKS 1
3525 LIBOBJS
="$LIBOBJS fileblocks.o"
3528 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
3529 echo "configure:3530: checking for st_rdev in struct stat" >&5
3530 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
3531 echo $ac_n "(cached) $ac_c" 1>&6
3533 cat > conftest.
$ac_ext <<EOF
3534 #line 3535 "configure"
3535 #include "confdefs.h"
3536 #include <sys/types.h>
3537 #include <sys/stat.h>
3539 struct stat s; s.st_rdev;
3542 if { (eval echo configure
:3543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3544 ac_cv_struct_st_rdev
=yes
3546 echo "configure: failed program was:" >&5
3547 cat conftest.
$ac_ext >&5
3549 ac_cv_struct_st_rdev
=no
3554 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6
3555 if test $ac_cv_struct_st_rdev = yes; then
3556 cat >> confdefs.h
<<\EOF
3557 #define HAVE_ST_RDEV 1
3562 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3563 echo "configure:3564: checking whether struct tm is in sys/time.h or time.h" >&5
3564 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
3565 echo $ac_n "(cached) $ac_c" 1>&6
3567 cat > conftest.
$ac_ext <<EOF
3568 #line 3569 "configure"
3569 #include "confdefs.h"
3570 #include <sys/types.h>
3573 struct tm *tp; tp->tm_sec;
3576 if { (eval echo configure
:3577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3578 ac_cv_struct_tm
=time.h
3580 echo "configure: failed program was:" >&5
3581 cat conftest.
$ac_ext >&5
3583 ac_cv_struct_tm
=sys
/time.h
3588 echo "$ac_t""$ac_cv_struct_tm" 1>&6
3589 if test $ac_cv_struct_tm = sys
/time.h
; then
3590 cat >> confdefs.h
<<\EOF
3591 #define TM_IN_SYS_TIME 1
3596 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3597 echo "configure:3598: checking for tm_zone in struct tm" >&5
3598 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
3599 echo $ac_n "(cached) $ac_c" 1>&6
3601 cat > conftest.
$ac_ext <<EOF
3602 #line 3603 "configure"
3603 #include "confdefs.h"
3604 #include <sys/types.h>
3605 #include <$ac_cv_struct_tm>
3607 struct tm tm; tm.tm_zone;
3610 if { (eval echo configure
:3611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3612 ac_cv_struct_tm_zone
=yes
3614 echo "configure: failed program was:" >&5
3615 cat conftest.
$ac_ext >&5
3617 ac_cv_struct_tm_zone
=no
3622 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
3623 if test "$ac_cv_struct_tm_zone" = yes; then
3624 cat >> confdefs.h
<<\EOF
3625 #define HAVE_TM_ZONE 1
3629 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3630 echo "configure:3631: checking for tzname" >&5
3631 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
3632 echo $ac_n "(cached) $ac_c" 1>&6
3634 cat > conftest.
$ac_ext <<EOF
3635 #line 3636 "configure"
3636 #include "confdefs.h"
3638 #ifndef tzname /* For SGI. */
3639 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3645 if { (eval echo configure
:3646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3647 ac_cv_var_tzname
=yes
3649 echo "configure: failed program was:" >&5
3650 cat conftest.
$ac_ext >&5
3657 echo "$ac_t""$ac_cv_var_tzname" 1>&6
3658 if test $ac_cv_var_tzname = yes; then
3659 cat >> confdefs.h
<<\EOF
3660 #define HAVE_TZNAME 1
3668 echo $ac_n "checking for working const""... $ac_c" 1>&6
3669 echo "configure:3670: checking for working const" >&5
3670 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3671 echo $ac_n "(cached) $ac_c" 1>&6
3673 cat > conftest.
$ac_ext <<EOF
3674 #line 3675 "configure"
3675 #include "confdefs.h"
3679 /* Ultrix mips cc rejects this. */
3680 typedef int charset[2]; const charset x;
3681 /* SunOS 4.1.1 cc rejects this. */
3682 char const *const *ccp;
3684 /* NEC SVR4.0.2 mips cc rejects this. */
3685 struct point {int x, y;};
3686 static struct point const zero = {0,0};
3687 /* AIX XL C 1.02.0.0 rejects this.
3688 It does not let you subtract one const X* pointer from another in an arm
3689 of an if-expression whose if-part is not a constant expression */
3690 const char *g = "string";
3691 ccp = &g + (g ? g-g : 0);
3692 /* HPUX 7.0 cc rejects these. */
3695 ccp = (char const *const *) p;
3696 { /* SCO 3.2v4 cc rejects this. */
3698 char const *s = 0 ? (char *) 0 : (char const *) 0;
3702 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3704 const int *foo = &x[0];
3707 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3708 typedef const int *iptr;
3712 { /* AIX XL C 1.02.0.0 rejects this saying
3713 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3714 struct s { int j; const int *ap[3]; };
3715 struct s *b; b->j = 5;
3717 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3723 if { (eval echo configure
:3724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3727 echo "configure: failed program was:" >&5
3728 cat conftest.
$ac_ext >&5
3735 echo "$ac_t""$ac_cv_c_const" 1>&6
3736 if test $ac_cv_c_const = no
; then
3737 cat >> confdefs.h
<<\EOF
3743 echo $ac_n "checking for inline""... $ac_c" 1>&6
3744 echo "configure:3745: checking for inline" >&5
3745 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3746 echo $ac_n "(cached) $ac_c" 1>&6
3749 for ac_kw
in inline __inline__ __inline
; do
3750 cat > conftest.
$ac_ext <<EOF
3751 #line 3752 "configure"
3752 #include "confdefs.h"
3758 if { (eval echo configure
:3759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3760 ac_cv_c_inline
=$ac_kw; break
3762 echo "configure: failed program was:" >&5
3763 cat conftest.
$ac_ext >&5
3770 echo "$ac_t""$ac_cv_c_inline" 1>&6
3771 case "$ac_cv_c_inline" in
3773 no
) cat >> confdefs.h
<<\EOF
3777 *) cat >> confdefs.h
<<EOF
3778 #define inline $ac_cv_c_inline
3783 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
3784 echo "configure:3785: checking whether char is unsigned" >&5
3785 if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
3786 echo $ac_n "(cached) $ac_c" 1>&6
3788 if test "$GCC" = yes; then
3789 # GCC predefines this symbol on systems where it applies.
3790 cat > conftest.
$ac_ext <<EOF
3791 #line 3792 "configure"
3792 #include "confdefs.h"
3793 #ifdef __CHAR_UNSIGNED__
3798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3799 egrep "yes" >/dev
/null
2>&1; then
3801 ac_cv_c_char_unsigned
=yes
3804 ac_cv_c_char_unsigned
=no
3809 if test "$cross_compiling" = yes; then
3810 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3812 cat > conftest.
$ac_ext <<EOF
3813 #line 3814 "configure"
3814 #include "confdefs.h"
3815 /* volatile prevents gcc2 from optimizing the test away on sparcs. */
3816 #if !defined(__STDC__) || __STDC__ != 1
3820 volatile char c = 255; exit(c < 0);
3823 if { (eval echo configure
:3824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3825 ac_cv_c_char_unsigned
=yes
3827 echo "configure: failed program was:" >&5
3828 cat conftest.
$ac_ext >&5
3830 ac_cv_c_char_unsigned
=no
3838 echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
3839 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
3840 cat >> confdefs.h
<<\EOF
3841 #define __CHAR_UNSIGNED__ 1
3846 echo $ac_n "checking for long double""... $ac_c" 1>&6
3847 echo "configure:3848: checking for long double" >&5
3848 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
3849 echo $ac_n "(cached) $ac_c" 1>&6
3851 if test "$GCC" = yes; then
3852 ac_cv_c_long_double
=yes
3854 if test "$cross_compiling" = yes; then
3855 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3857 cat > conftest.
$ac_ext <<EOF
3858 #line 3859 "configure"
3859 #include "confdefs.h"
3861 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
3862 long double foo = 0.0;
3863 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
3864 exit(sizeof(long double) < sizeof(double)); }
3866 if { (eval echo configure
:3867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3868 ac_cv_c_long_double
=yes
3870 echo "configure: failed program was:" >&5
3871 cat conftest.
$ac_ext >&5
3873 ac_cv_c_long_double
=no
3881 echo "$ac_t""$ac_cv_c_long_double" 1>&6
3882 if test $ac_cv_c_long_double = yes; then
3883 cat >> confdefs.h
<<\EOF
3884 #define HAVE_LONG_DOUBLE 1
3890 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3891 echo "configure:3892: checking whether byte ordering is bigendian" >&5
3892 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
3893 echo $ac_n "(cached) $ac_c" 1>&6
3895 ac_cv_c_bigendian
=unknown
3896 # See if sys/param.h defines the BYTE_ORDER macro.
3897 cat > conftest.
$ac_ext <<EOF
3898 #line 3899 "configure"
3899 #include "confdefs.h"
3900 #include <sys/types.h>
3901 #include <sys/param.h>
3904 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3909 if { (eval echo configure
:3910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3911 # It does; now see whether it defined to BIG_ENDIAN or not.
3912 cat > conftest.
$ac_ext <<EOF
3913 #line 3914 "configure"
3914 #include "confdefs.h"
3915 #include <sys/types.h>
3916 #include <sys/param.h>
3919 #if BYTE_ORDER != BIG_ENDIAN
3924 if { (eval echo configure
:3925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3926 ac_cv_c_bigendian
=yes
3928 echo "configure: failed program was:" >&5
3929 cat conftest.
$ac_ext >&5
3931 ac_cv_c_bigendian
=no
3935 echo "configure: failed program was:" >&5
3936 cat conftest.
$ac_ext >&5
3939 if test $ac_cv_c_bigendian = unknown
; then
3940 if test "$cross_compiling" = yes; then
3941 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3943 cat > conftest.
$ac_ext <<EOF
3944 #line 3945 "configure"
3945 #include "confdefs.h"
3947 /* Are we little or big endian? From Harbison&Steele. */
3951 char c[sizeof (long)];
3954 exit (u.c[sizeof (long) - 1] == 1);
3957 if { (eval echo configure
:3958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3959 ac_cv_c_bigendian
=no
3961 echo "configure: failed program was:" >&5
3962 cat conftest.
$ac_ext >&5
3964 ac_cv_c_bigendian
=yes
3972 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
3973 if test $ac_cv_c_bigendian = yes; then
3974 cat >> confdefs.h
<<\EOF
3975 #define WORDS_BIGENDIAN 1
3981 echo $ac_n "checking size of int *""... $ac_c" 1>&6
3982 echo "configure:3983: checking size of int *" >&5
3983 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
3984 echo $ac_n "(cached) $ac_c" 1>&6
3986 if test "$cross_compiling" = yes; then
3987 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3989 cat > conftest.
$ac_ext <<EOF
3990 #line 3991 "configure"
3991 #include "confdefs.h"
3995 FILE *f=fopen("conftestval", "w");
3997 fprintf(f, "%d\n", sizeof(int *));
4001 if { (eval echo configure
:4002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4003 ac_cv_sizeof_int_p
=`cat conftestval`
4005 echo "configure: failed program was:" >&5
4006 cat conftest.
$ac_ext >&5
4008 ac_cv_sizeof_int_p
=0
4014 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
4015 cat >> confdefs.h
<<EOF
4016 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
4020 echo $ac_n "checking size of int""... $ac_c" 1>&6
4021 echo "configure:4022: checking size of int" >&5
4022 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
4023 echo $ac_n "(cached) $ac_c" 1>&6
4025 if test "$cross_compiling" = yes; then
4026 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4028 cat > conftest.
$ac_ext <<EOF
4029 #line 4030 "configure"
4030 #include "confdefs.h"
4034 FILE *f=fopen("conftestval", "w");
4036 fprintf(f, "%d\n", sizeof(int));
4040 if { (eval echo configure
:4041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4042 ac_cv_sizeof_int
=`cat conftestval`
4044 echo "configure: failed program was:" >&5
4045 cat conftest.
$ac_ext >&5
4053 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
4054 cat >> confdefs.h
<<EOF
4055 #define SIZEOF_INT $ac_cv_sizeof_int
4059 echo $ac_n "checking size of long""... $ac_c" 1>&6
4060 echo "configure:4061: checking size of long" >&5
4061 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
4062 echo $ac_n "(cached) $ac_c" 1>&6
4064 if test "$cross_compiling" = yes; then
4065 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4067 cat > conftest.
$ac_ext <<EOF
4068 #line 4069 "configure"
4069 #include "confdefs.h"
4073 FILE *f=fopen("conftestval", "w");
4075 fprintf(f, "%d\n", sizeof(long));
4079 if { (eval echo configure
:4080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4081 ac_cv_sizeof_long
=`cat conftestval`
4083 echo "configure: failed program was:" >&5
4084 cat conftest.
$ac_ext >&5
4092 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
4093 cat >> confdefs.h
<<EOF
4094 #define SIZEOF_LONG $ac_cv_sizeof_long
4102 echo $ac_n "checking for long file names""... $ac_c" 1>&6
4103 echo "configure:4104: checking for long file names" >&5
4104 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
4105 echo $ac_n "(cached) $ac_c" 1>&6
4107 ac_cv_sys_long_file_names
=yes
4108 # Test for long file names in all the places we know might matter:
4109 # . the current directory, where building will happen
4110 # $prefix/lib where we will be installing things
4111 # $exec_prefix/lib likewise
4112 # eval it to expand exec_prefix.
4113 # $TMPDIR if set, where it might want to write temporary files
4114 # if $TMPDIR is not set:
4115 # /tmp where it might want to write temporary files
4118 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
4119 ac_tmpdirs
="$TMPDIR"
4121 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
4123 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
4124 test -d $ac_dir || continue
4125 test -w $ac_dir || continue # It is less confusing to not echo anything here.
4126 (echo 1 > $ac_dir/conftest9012345
) 2>/dev
/null
4127 (echo 2 > $ac_dir/conftest9012346
) 2>/dev
/null
4128 val
=`cat $ac_dir/conftest9012345 2>/dev/null`
4129 if test ! -f $ac_dir/conftest9012345
|| test "$val" != 1; then
4130 ac_cv_sys_long_file_names
=no
4131 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4134 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4138 echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6
4139 if test $ac_cv_sys_long_file_names = yes; then
4140 cat >> confdefs.h
<<\EOF
4141 #define HAVE_LONG_FILE_NAMES 1
4149 for ac_prog
in 'bison -y' byacc
4151 # Extract the first word of "$ac_prog", so it can be a program name with args.
4152 set dummy
$ac_prog; ac_word
=$2
4153 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4154 echo "configure:4155: checking for $ac_word" >&5
4155 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
4156 echo $ac_n "(cached) $ac_c" 1>&6
4158 if test -n "$YACC"; then
4159 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4161 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4162 for ac_dir
in $PATH; do
4163 test -z "$ac_dir" && ac_dir
=.
4164 if test -f $ac_dir/$ac_word; then
4165 ac_cv_prog_YACC
="$ac_prog"
4172 YACC
="$ac_cv_prog_YACC"
4173 if test -n "$YACC"; then
4174 echo "$ac_t""$YACC" 1>&6
4176 echo "$ac_t""no" 1>&6
4179 test -n "$YACC" && break
4181 test -n "$YACC" || YACC
="yacc"
4184 # Extract the first word of "flex", so it can be a program name with args.
4185 set dummy flex
; ac_word
=$2
4186 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4187 echo "configure:4188: checking for $ac_word" >&5
4188 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
4189 echo $ac_n "(cached) $ac_c" 1>&6
4191 if test -n "$LEX"; then
4192 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4194 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4195 for ac_dir
in $PATH; do
4196 test -z "$ac_dir" && ac_dir
=.
4197 if test -f $ac_dir/$ac_word; then
4198 ac_cv_prog_LEX
="flex"
4203 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
4206 LEX
="$ac_cv_prog_LEX"
4207 if test -n "$LEX"; then
4208 echo "$ac_t""$LEX" 1>&6
4210 echo "$ac_t""no" 1>&6
4213 if test -z "$LEXLIB"
4219 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
4220 echo "configure:4221: checking for yywrap in -l$ac_lib" >&5
4221 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
4222 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4223 echo $ac_n "(cached) $ac_c" 1>&6
4225 ac_save_LIBS
="$LIBS"
4226 LIBS
="-l$ac_lib $LIBS"
4227 cat > conftest.
$ac_ext <<EOF
4228 #line 4229 "configure"
4229 #include "confdefs.h"
4230 /* Override any gcc2 internal prototype to avoid an error. */
4231 /* We use char because int might match the return type of a gcc2
4232 builtin and then its argument prototype would still apply. */
4239 if { (eval echo configure
:4240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4241 eval "ac_cv_lib_$ac_lib_var=yes"
4243 echo "configure: failed program was:" >&5
4244 cat conftest.
$ac_ext >&5
4246 eval "ac_cv_lib_$ac_lib_var=no"
4249 LIBS
="$ac_save_LIBS"
4252 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4253 echo "$ac_t""yes" 1>&6
4256 echo "$ac_t""no" 1>&6
4261 echo $ac_n "checking lex output file root""... $ac_c" 1>&6
4262 echo "configure:4263: checking lex output file root" >&5
4263 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
4264 echo $ac_n "(cached) $ac_c" 1>&6
4266 # The minimal lex program is just a single line: %%. But some broken lexes
4267 # (Solaris, I think it was) want two %% lines, so accommodate them.
4270 if test -f lex.yy.c
; then
4271 ac_cv_prog_lex_root
=lex.yy
4272 elif test -f lexyy.c
; then
4273 ac_cv_prog_lex_root
=lexyy
4275 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
4279 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
4280 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4282 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
4283 echo "configure:4284: checking whether yytext is a pointer" >&5
4284 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
4285 echo $ac_n "(cached) $ac_c" 1>&6
4287 # POSIX says lex can declare yytext either as a pointer or an array; the
4288 # default is implementation-dependent. Figure out which it is, since
4289 # not all implementations provide the %pointer and %array declarations.
4290 ac_cv_prog_lex_yytext_pointer
=no
4291 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4292 ac_save_LIBS
="$LIBS"
4293 LIBS
="$LIBS $LEXLIB"
4294 cat > conftest.
$ac_ext <<EOF
4295 #line 4296 "configure"
4296 #include "confdefs.h"
4297 `cat $LEX_OUTPUT_ROOT.c`
4302 if { (eval echo configure
:4303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4304 ac_cv_prog_lex_yytext_pointer
=yes
4306 echo "configure: failed program was:" >&5
4307 cat conftest.
$ac_ext >&5
4310 LIBS
="$ac_save_LIBS"
4311 rm -f "${LEX_OUTPUT_ROOT}.c"
4315 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
4316 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4317 cat >> confdefs.h
<<\EOF
4318 #define YYTEXT_POINTER 1
4325 CHECK_INCLUDE
="-I/usr/include $X_CFLAGS"
4326 CHECK_LIB
="-L/lib -L/usr/lib $X_LIBS"
4330 # Make sure we can run config.sub.
4331 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
4332 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
4335 echo $ac_n "checking host system type""... $ac_c" 1>&6
4336 echo "configure:4337: checking host system type" >&5
4339 case "$host_alias" in
4343 if host_alias
=`$ac_config_guess`; then :
4344 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
4346 *) host_alias
=$nonopt ;;
4350 host=`$ac_config_sub $host_alias`
4351 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4352 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4353 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4354 echo "$ac_t""$host" 1>&6
4357 configuration
=$host_alias
4380 cat >> confdefs.h
<<\EOF
4384 case "${canonical}" in
4387 cat >> confdefs.h
<<\EOF
4394 cat >> confdefs.h
<<\EOF
4399 if test "x$TMP" = "xalpha"
4402 cat >> confdefs.h
<<\EOF
4408 *-*-irix5* | *-*-irix6* )
4411 cat >> confdefs.h
<<\EOF
4415 cat >> confdefs.h
<<\EOF
4424 cat >> confdefs.h
<<\EOF
4428 cat >> confdefs.h
<<\EOF
4429 #define __SOLARIS__ 1
4432 cat >> confdefs.h
<<\EOF
4441 cat >> confdefs.h
<<\EOF
4445 cat >> confdefs.h
<<\EOF
4449 cat >> confdefs.h
<<\EOF
4454 *-*-freebsd* | *-*-netbsd*)
4457 cat >> confdefs.h
<<\EOF
4458 #define __FREEBSD__ 1
4461 cat >> confdefs.h
<<\EOF
4469 cat >> confdefs.h
<<\EOF
4473 cat >> confdefs.h
<<\EOF
4481 cat >> confdefs.h
<<\EOF
4485 cat >> confdefs.h
<<\EOF
4493 cat >> confdefs.h
<<\EOF
4497 cat >> confdefs.h
<<\EOF
4506 cat >> confdefs.h
<<\EOF
4510 cat >> confdefs.h
<<\EOF
4514 cat >> confdefs.h
<<\EOF
4520 { echo "configure: error: I don't know your system type." 1>&2; exit 1; }
4525 rm -f ${OSTYPE}.system.cache.tmp
4526 touch ${OSTYPE}.system.cache.tmp
4527 touch ${OSTYPE}.system.cache
4532 DEFAULT_wxUSE_MOTIF
=0
4534 DEFAULT_wxUSE_THREADS
=1
4536 DEFAULT_wxUSE_SHARED
=1
4537 DEFAULT_wxUSE_OPTIMISE
=1
4538 DEFAULT_wxUSE_PROFILE
=0
4539 DEFAULT_wxUSE_DEBUG_FLAG
=0
4540 DEFAULT_wxUSE_DEBUG_INFO
=0
4541 DEFAULT_wxUSE_MEM_TRACING
=0
4542 DEFAULT_wxUSE_DMALLOC
=0
4543 DEFAULT_wxUSE_APPLE_IEEE
=1
4544 DEFAULT_wxUSE_IOSTREAMH
=1
4546 DEFAULT_wxUSE_ZLIB
=1
4547 DEFAULT_wxUSE_LIBPNG
=1
4548 DEFAULT_wxUSE_ODBC
=0
4550 DEFAULT_wxUSE_COMBOBOX
=1
4551 DEFAULT_wxUSE_GAUGE
=1
4552 DEFAULT_wxUSE_SCROLLBAR
=1
4553 DEFAULT_wxUSE_LISTCTRL
=1
4554 DEFAULT_wxUSE_TREECTRL
=1
4555 DEFAULT_wxUSE_GRID
=1
4556 DEFAULT_wxUSE_TAB_DIALOG
=1
4557 DEFAULT_wxUSE_NOTEBOOK
=1
4559 DEFAULT_wxUSE_TIMEDATE
=1
4560 DEFAULT_wxUSE_FRACTION
=1
4562 DEFAULT_wxUSE_INTL
=1
4563 DEFAULT_wxUSE_CONFIG
=1
4564 DEFAULT_wxUSE_STREAMS
=1
4565 DEFAULT_wxUSE_SERIAL
=1
4566 DEFAULT_wxUSE_FILE
=1
4567 DEFAULT_wxUSE_TEXTFILE
=1
4569 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=1
4570 DEFAULT_WX_NORMALIZED_PS_FONTS
=1
4571 DEFAULT_wxUSE_POSTSCRIPT
=1
4574 DEFAULT_wxUSE_RESOURCES
=1
4575 DEFAULT_wxUSE_CONSTRAINTS
=1
4576 DEFAULT_wxUSE_CLIPBOARD
=1
4579 DEFAULT_wxUSE_MDI_ARCHITECTURE
=1
4580 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=1
4581 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=1
4583 DEFAULT_wxUSE_PROLOGIO
=1
4584 DEFAULT_wxUSE_WX_RESOURCES
=1
4587 DEFAULT_wxUSE_OPENGL
=0
4588 DEFAULT_wxUSE_METAFILE
=0
4589 DEFAULT_wxUSE_WXGRAPH
=0
4590 DEFAULT_wxUSE_WXTREE
=0
4591 DEFAULT_wxUSE_HELP
=1
4593 DEFAULT_wxUSE_UNICODE
=1
4594 DEFAULT_wxUSE_WCSRTOMBS
=0
4598 echo $ac_n "checking "for gtk
"""... $ac_c" 1>&6
4599 echo "configure:4600: checking "for gtk
"" >&5
4600 # Check whether --with-gtk or --without-gtk was given.
4601 if test "${with_gtk+set}" = set; then
4603 if test "x$with_gtk" = xyes
; then
4604 ac_cv_use_gtk
='wxUSE_GTK="1"'
4606 ac_cv_use_gtk
='wxUSE_GTK="0"'
4610 LINE
=`grep "wxUSE_GTK" ${OSTYPE}.system.cache`
4611 if test "x$LINE" != x
; then
4612 eval "DEFAULT_$LINE"
4614 ac_cv_use_gtk
='wxUSE_GTK='$DEFAULT_wxUSE_GTK
4618 eval "$ac_cv_use_gtk"
4619 echo $ac_cv_use_gtk >> ${OSTYPE}.system.cache.tmp
4620 if test "$wxUSE_GTK" = 1; then
4621 echo "$ac_t""yes" 1>&6
4623 echo "$ac_t""no" 1>&6
4628 echo $ac_n "checking "for qt
"""... $ac_c" 1>&6
4629 echo "configure:4630: checking "for qt
"" >&5
4630 # Check whether --with-qt or --without-qt was given.
4631 if test "${with_qt+set}" = set; then
4633 if test "x$with_qt" = xyes
; then
4634 ac_cv_use_qt
='wxUSE_QT="1"'
4636 ac_cv_use_qt
='wxUSE_QT="0"'
4640 LINE
=`grep "wxUSE_QT" ${OSTYPE}.system.cache`
4641 if test "x$LINE" != x
; then
4642 eval "DEFAULT_$LINE"
4644 ac_cv_use_qt
='wxUSE_QT='$DEFAULT_wxUSE_QT
4648 eval "$ac_cv_use_qt"
4649 echo $ac_cv_use_qt >> ${OSTYPE}.system.cache.tmp
4650 if test "$wxUSE_QT" = 1; then
4651 echo "$ac_t""yes" 1>&6
4653 echo "$ac_t""no" 1>&6
4658 echo $ac_n "checking "for motif
"""... $ac_c" 1>&6
4659 echo "configure:4660: checking "for motif
"" >&5
4660 # Check whether --with-motif or --without-motif was given.
4661 if test "${with_motif+set}" = set; then
4662 withval
="$with_motif"
4663 if test "x$with_motif" = xyes
; then
4664 ac_cv_use_motif
='wxUSE_MOTIF="1"'
4666 ac_cv_use_motif
='wxUSE_MOTIF="0"'
4670 LINE
=`grep "wxUSE_MOTIF" ${OSTYPE}.system.cache`
4671 if test "x$LINE" != x
; then
4672 eval "DEFAULT_$LINE"
4674 ac_cv_use_motif
='wxUSE_MOTIF='$DEFAULT_wxUSE_MOTIF
4678 eval "$ac_cv_use_motif"
4679 echo $ac_cv_use_motif >> ${OSTYPE}.system.cache.tmp
4680 if test "$wxUSE_MOTIF" = 1; then
4681 echo "$ac_t""yes" 1>&6
4683 echo "$ac_t""no" 1>&6
4689 echo $ac_n "checking "for shared
"""... $ac_c" 1>&6
4690 echo "configure:4691: checking "for shared
"" >&5
4691 # Check whether --with-shared or --without-shared was given.
4692 if test "${with_shared+set}" = set; then
4693 withval
="$with_shared"
4694 if test "x$with_shared" = xyes
; then
4695 ac_cv_use_shared
='wxUSE_SHARED="1"'
4697 ac_cv_use_shared
='wxUSE_SHARED="0"'
4701 LINE
=`grep "wxUSE_SHARED" ${OSTYPE}.system.cache`
4702 if test "x$LINE" != x
; then
4703 eval "DEFAULT_$LINE"
4705 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4709 eval "$ac_cv_use_shared"
4710 echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp
4711 if test "$wxUSE_SHARED" = 1; then
4712 echo "$ac_t""yes" 1>&6
4714 echo "$ac_t""no" 1>&6
4719 echo $ac_n "checking "for optimise
"""... $ac_c" 1>&6
4720 echo "configure:4721: checking "for optimise
"" >&5
4721 # Check whether --with-optimise or --without-optimise was given.
4722 if test "${with_optimise+set}" = set; then
4723 withval
="$with_optimise"
4724 if test "x$with_optimise" = xyes
; then
4725 ac_cv_use_optimise
='wxUSE_OPTIMISE="1"'
4727 ac_cv_use_optimise
='wxUSE_OPTIMISE="0"'
4731 LINE
=`grep "wxUSE_OPTIMISE" ${OSTYPE}.system.cache`
4732 if test "x$LINE" != x
; then
4733 eval "DEFAULT_$LINE"
4735 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4739 eval "$ac_cv_use_optimise"
4740 echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp
4741 if test "$wxUSE_OPTIMISE" = 1; then
4742 echo "$ac_t""yes" 1>&6
4744 echo "$ac_t""no" 1>&6
4749 echo $ac_n "checking "for debug_flag
"""... $ac_c" 1>&6
4750 echo "configure:4751: checking "for debug_flag
"" >&5
4751 # Check whether --with-debug_flag or --without-debug_flag was given.
4752 if test "${with_debug_flag+set}" = set; then
4753 withval
="$with_debug_flag"
4754 if test "x$with_debug_flag" = xyes
; then
4755 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="1"'
4757 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="0"'
4761 LINE
=`grep "wxUSE_DEBUG_FLAG" ${OSTYPE}.system.cache`
4762 if test "x$LINE" != x
; then
4763 eval "DEFAULT_$LINE"
4765 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4769 eval "$ac_cv_use_debug_flag"
4770 echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp
4771 if test "$wxUSE_DEBUG_FLAG" = 1; then
4772 echo "$ac_t""yes" 1>&6
4774 echo "$ac_t""no" 1>&6
4779 echo $ac_n "checking "for debug_info
"""... $ac_c" 1>&6
4780 echo "configure:4781: checking "for debug_info
"" >&5
4781 # Check whether --with-debug_info or --without-debug_info was given.
4782 if test "${with_debug_info+set}" = set; then
4783 withval
="$with_debug_info"
4784 if test "x$with_debug_info" = xyes
; then
4785 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="1"'
4787 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="0"'
4791 LINE
=`grep "wxUSE_DEBUG_INFO" ${OSTYPE}.system.cache`
4792 if test "x$LINE" != x
; then
4793 eval "DEFAULT_$LINE"
4795 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4799 eval "$ac_cv_use_debug_info"
4800 echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp
4801 if test "$wxUSE_DEBUG_INFO" = 1; then
4802 echo "$ac_t""yes" 1>&6
4804 echo "$ac_t""no" 1>&6
4809 echo $ac_n "checking "for debug_gdb
"""... $ac_c" 1>&6
4810 echo "configure:4811: checking "for debug_gdb
"" >&5
4811 # Check whether --with-debug_gdb or --without-debug_gdb was given.
4812 if test "${with_debug_gdb+set}" = set; then
4813 withval
="$with_debug_gdb"
4814 if test "x$with_debug_gdb" = xyes
; then
4815 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB="1"'
4817 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB="0"'
4821 LINE
=`grep "wxUSE_DEBUG_GDB" ${OSTYPE}.system.cache`
4822 if test "x$LINE" != x
; then
4823 eval "DEFAULT_$LINE"
4825 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4829 eval "$ac_cv_use_debug_gdb"
4830 echo $ac_cv_use_debug_gdb >> ${OSTYPE}.system.cache.tmp
4831 if test "$wxUSE_DEBUG_GDB" = 1; then
4832 echo "$ac_t""yes" 1>&6
4834 echo "$ac_t""no" 1>&6
4839 echo $ac_n "checking "for mem_tracing
"""... $ac_c" 1>&6
4840 echo "configure:4841: checking "for mem_tracing
"" >&5
4841 # Check whether --with-mem_tracing or --without-mem_tracing was given.
4842 if test "${with_mem_tracing+set}" = set; then
4843 withval
="$with_mem_tracing"
4844 if test "x$with_mem_tracing" = xyes
; then
4845 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="1"'
4847 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="0"'
4851 LINE
=`grep "wxUSE_MEM_TRACING" ${OSTYPE}.system.cache`
4852 if test "x$LINE" != x
; then
4853 eval "DEFAULT_$LINE"
4855 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4859 eval "$ac_cv_use_mem_tracing"
4860 echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
4861 if test "$wxUSE_MEM_TRACING" = 1; then
4862 echo "$ac_t""yes" 1>&6
4864 echo "$ac_t""no" 1>&6
4869 echo $ac_n "checking "for dmalloc
"""... $ac_c" 1>&6
4870 echo "configure:4871: checking "for dmalloc
"" >&5
4871 # Check whether --with-dmalloc or --without-dmalloc was given.
4872 if test "${with_dmalloc+set}" = set; then
4873 withval
="$with_dmalloc"
4874 if test "x$with_dmalloc" = xyes
; then
4875 ac_cv_use_dmalloc
='wxUSE_DMALLOC="1"'
4877 ac_cv_use_dmalloc
='wxUSE_DMALLOC="0"'
4881 LINE
=`grep "wxUSE_DMALLOC" ${OSTYPE}.system.cache`
4882 if test "x$LINE" != x
; then
4883 eval "DEFAULT_$LINE"
4885 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4889 eval "$ac_cv_use_dmalloc"
4890 echo $ac_cv_use_dmalloc >> ${OSTYPE}.system.cache.tmp
4891 if test "$wxUSE_DMALLOC" = 1; then
4892 echo "$ac_t""yes" 1>&6
4894 echo "$ac_t""no" 1>&6
4899 echo $ac_n "checking "for profile
"""... $ac_c" 1>&6
4900 echo "configure:4901: checking "for profile
"" >&5
4901 # Check whether --with-profile or --without-profile was given.
4902 if test "${with_profile+set}" = set; then
4903 withval
="$with_profile"
4904 if test "x$with_profile" = xyes
; then
4905 ac_cv_use_profile
='wxUSE_PROFILE="1"'
4907 ac_cv_use_profile
='wxUSE_PROFILE="0"'
4911 LINE
=`grep "wxUSE_PROFILE" ${OSTYPE}.system.cache`
4912 if test "x$LINE" != x
; then
4913 eval "DEFAULT_$LINE"
4915 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4919 eval "$ac_cv_use_profile"
4920 echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
4921 if test "$wxUSE_PROFILE" = 1; then
4922 echo "$ac_t""yes" 1>&6
4924 echo "$ac_t""no" 1>&6
4929 echo $ac_n "checking "for apple_ieee
"""... $ac_c" 1>&6
4930 echo "configure:4931: checking "for apple_ieee
"" >&5
4931 # Check whether --with-apple_ieee or --without-apple_ieee was given.
4932 if test "${with_apple_ieee+set}" = set; then
4933 withval
="$with_apple_ieee"
4934 if test "x$with_apple_ieee" = xyes
; then
4935 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="1"'
4937 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="0"'
4941 LINE
=`grep "wxUSE_APPLE_IEEE" ${OSTYPE}.system.cache`
4942 if test "x$LINE" != x
; then
4943 eval "DEFAULT_$LINE"
4945 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4949 eval "$ac_cv_use_apple_ieee"
4950 echo $ac_cv_use_apple_ieee >> ${OSTYPE}.system.cache.tmp
4951 if test "$wxUSE_APPLE_IEEE" = 1; then
4952 echo "$ac_t""yes" 1>&6
4954 echo "$ac_t""no" 1>&6
4960 echo $ac_n "checking "for zlib
"""... $ac_c" 1>&6
4961 echo "configure:4962: checking "for zlib
"" >&5
4962 # Check whether --with-zlib or --without-zlib was given.
4963 if test "${with_zlib+set}" = set; then
4964 withval
="$with_zlib"
4965 if test "x$with_zlib" = xyes
; then
4966 ac_cv_use_zlib
='wxUSE_ZLIB="1"'
4968 ac_cv_use_zlib
='wxUSE_ZLIB="0"'
4972 LINE
=`grep "wxUSE_ZLIB" ${OSTYPE}.system.cache`
4973 if test "x$LINE" != x
; then
4974 eval "DEFAULT_$LINE"
4976 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4980 eval "$ac_cv_use_zlib"
4981 echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
4982 if test "$wxUSE_ZLIB" = 1; then
4983 echo "$ac_t""yes" 1>&6
4985 echo "$ac_t""no" 1>&6
4990 echo $ac_n "checking "for libpng
"""... $ac_c" 1>&6
4991 echo "configure:4992: checking "for libpng
"" >&5
4992 # Check whether --with-libpng or --without-libpng was given.
4993 if test "${with_libpng+set}" = set; then
4994 withval
="$with_libpng"
4995 if test "x$with_libpng" = xyes
; then
4996 ac_cv_use_libpng
='wxUSE_LIBPNG="1"'
4998 ac_cv_use_libpng
='wxUSE_LIBPNG="0"'
5002 LINE
=`grep "wxUSE_LIBPNG" ${OSTYPE}.system.cache`
5003 if test "x$LINE" != x
; then
5004 eval "DEFAULT_$LINE"
5006 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
5010 eval "$ac_cv_use_libpng"
5011 echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
5012 if test "$wxUSE_LIBPNG" = 1; then
5013 echo "$ac_t""yes" 1>&6
5015 echo "$ac_t""no" 1>&6
5020 echo $ac_n "checking "for odbc
"""... $ac_c" 1>&6
5021 echo "configure:5022: checking "for odbc
"" >&5
5022 # Check whether --with-odbc or --without-odbc was given.
5023 if test "${with_odbc+set}" = set; then
5024 withval
="$with_odbc"
5025 if test "x$with_odbc" = xyes
; then
5026 ac_cv_use_odbc
='wxUSE_ODBC="1"'
5028 ac_cv_use_odbc
='wxUSE_ODBC="0"'
5032 LINE
=`grep "wxUSE_ODBC" ${OSTYPE}.system.cache`
5033 if test "x$LINE" != x
; then
5034 eval "DEFAULT_$LINE"
5036 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
5040 eval "$ac_cv_use_odbc"
5041 echo $ac_cv_use_odbc >> ${OSTYPE}.system.cache.tmp
5042 if test "$wxUSE_ODBC" = 1; then
5043 echo "$ac_t""yes" 1>&6
5045 echo "$ac_t""no" 1>&6
5050 echo $ac_n "checking "for opengl
"""... $ac_c" 1>&6
5051 echo "configure:5052: checking "for opengl
"" >&5
5052 # Check whether --with-opengl or --without-opengl was given.
5053 if test "${with_opengl+set}" = set; then
5054 withval
="$with_opengl"
5055 if test "x$with_opengl" = xyes
; then
5056 ac_cv_use_opengl
='wxUSE_OPENGL="1"'
5058 ac_cv_use_opengl
='wxUSE_OPENGL="0"'
5062 LINE
=`grep "wxUSE_OPENGL" ${OSTYPE}.system.cache`
5063 if test "x$LINE" != x
; then
5064 eval "DEFAULT_$LINE"
5066 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
5070 eval "$ac_cv_use_opengl"
5071 echo $ac_cv_use_opengl >> ${OSTYPE}.system.cache.tmp
5072 if test "$wxUSE_OPENGL" = 1; then
5073 echo "$ac_t""yes" 1>&6
5075 echo "$ac_t""no" 1>&6
5081 echo $ac_n "checking "for gauge
"""... $ac_c" 1>&6
5082 echo "configure:5083: checking "for gauge
"" >&5
5083 # Check whether --with-gauge or --without-gauge was given.
5084 if test "${with_gauge+set}" = set; then
5085 withval
="$with_gauge"
5086 if test "x$with_gauge" = xyes
; then
5087 ac_cv_use_gauge
='wxUSE_GAUGE="1"'
5089 ac_cv_use_gauge
='wxUSE_GAUGE="0"'
5093 LINE
=`grep "wxUSE_GAUGE" ${OSTYPE}.system.cache`
5094 if test "x$LINE" != x
; then
5095 eval "DEFAULT_$LINE"
5097 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5101 eval "$ac_cv_use_gauge"
5102 echo $ac_cv_use_gauge >> ${OSTYPE}.system.cache.tmp
5103 if test "$wxUSE_GAUGE" = 1; then
5104 echo "$ac_t""yes" 1>&6
5106 echo "$ac_t""no" 1>&6
5111 echo $ac_n "checking "for combobox
"""... $ac_c" 1>&6
5112 echo "configure:5113: checking "for combobox
"" >&5
5113 # Check whether --with-combobox or --without-combobox was given.
5114 if test "${with_combobox+set}" = set; then
5115 withval
="$with_combobox"
5116 if test "x$with_combobox" = xyes
; then
5117 ac_cv_use_combobox
='wxUSE_COMBOBOX="1"'
5119 ac_cv_use_combobox
='wxUSE_COMBOBOX="0"'
5123 LINE
=`grep "wxUSE_COMBOBOX" ${OSTYPE}.system.cache`
5124 if test "x$LINE" != x
; then
5125 eval "DEFAULT_$LINE"
5127 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5131 eval "$ac_cv_use_combobox"
5132 echo $ac_cv_use_combobox >> ${OSTYPE}.system.cache.tmp
5133 if test "$wxUSE_COMBOBOX" = 1; then
5134 echo "$ac_t""yes" 1>&6
5136 echo "$ac_t""no" 1>&6
5141 echo $ac_n "checking "for scrollbar
"""... $ac_c" 1>&6
5142 echo "configure:5143: checking "for scrollbar
"" >&5
5143 # Check whether --with-scrollbar or --without-scrollbar was given.
5144 if test "${with_scrollbar+set}" = set; then
5145 withval
="$with_scrollbar"
5146 if test "x$with_scrollbar" = xyes
; then
5147 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR="1"'
5149 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR="0"'
5153 LINE
=`grep "wxUSE_SCROLLBAR" ${OSTYPE}.system.cache`
5154 if test "x$LINE" != x
; then
5155 eval "DEFAULT_$LINE"
5157 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5161 eval "$ac_cv_use_scrollbar"
5162 echo $ac_cv_use_scrollbar >> ${OSTYPE}.system.cache.tmp
5163 if test "$wxUSE_SCROLLBAR" = 1; then
5164 echo "$ac_t""yes" 1>&6
5166 echo "$ac_t""no" 1>&6
5171 echo $ac_n "checking "for listctrl
"""... $ac_c" 1>&6
5172 echo "configure:5173: checking "for listctrl
"" >&5
5173 # Check whether --with-listctrl or --without-listctrl was given.
5174 if test "${with_listctrl+set}" = set; then
5175 withval
="$with_listctrl"
5176 if test "x$with_listctrl" = xyes
; then
5177 ac_cv_use_listctrl
='wxUSE_LISTCTRL="1"'
5179 ac_cv_use_listctrl
='wxUSE_LISTCTRL="0"'
5183 LINE
=`grep "wxUSE_LISTCTRL" ${OSTYPE}.system.cache`
5184 if test "x$LINE" != x
; then
5185 eval "DEFAULT_$LINE"
5187 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5191 eval "$ac_cv_use_listctrl"
5192 echo $ac_cv_use_listctrl >> ${OSTYPE}.system.cache.tmp
5193 if test "$wxUSE_LISTCTRL" = 1; then
5194 echo "$ac_t""yes" 1>&6
5196 echo "$ac_t""no" 1>&6
5201 echo $ac_n "checking "for treectrl
"""... $ac_c" 1>&6
5202 echo "configure:5203: checking "for treectrl
"" >&5
5203 # Check whether --with-treectrl or --without-treectrl was given.
5204 if test "${with_treectrl+set}" = set; then
5205 withval
="$with_treectrl"
5206 if test "x$with_treectrl" = xyes
; then
5207 ac_cv_use_treectrl
='wxUSE_TREECTRL="1"'
5209 ac_cv_use_treectrl
='wxUSE_TREECTRL="0"'
5213 LINE
=`grep "wxUSE_TREECTRL" ${OSTYPE}.system.cache`
5214 if test "x$LINE" != x
; then
5215 eval "DEFAULT_$LINE"
5217 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5221 eval "$ac_cv_use_treectrl"
5222 echo $ac_cv_use_treectrl >> ${OSTYPE}.system.cache.tmp
5223 if test "$wxUSE_TREECTRL" = 1; then
5224 echo "$ac_t""yes" 1>&6
5226 echo "$ac_t""no" 1>&6
5231 echo $ac_n "checking "for grid
"""... $ac_c" 1>&6
5232 echo "configure:5233: checking "for grid
"" >&5
5233 # Check whether --with-grid or --without-grid was given.
5234 if test "${with_grid+set}" = set; then
5235 withval
="$with_grid"
5236 if test "x$with_grid" = xyes
; then
5237 ac_cv_use_grid
='wxUSE_GRID="1"'
5239 ac_cv_use_grid
='wxUSE_GRID="0"'
5243 LINE
=`grep "wxUSE_GRID" ${OSTYPE}.system.cache`
5244 if test "x$LINE" != x
; then
5245 eval "DEFAULT_$LINE"
5247 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5251 eval "$ac_cv_use_grid"
5252 echo $ac_cv_use_grid >> ${OSTYPE}.system.cache.tmp
5253 if test "$wxUSE_GRID" = 1; then
5254 echo "$ac_t""yes" 1>&6
5256 echo "$ac_t""no" 1>&6
5261 echo $ac_n "checking "for tab_dialog
"""... $ac_c" 1>&6
5262 echo "configure:5263: checking "for tab_dialog
"" >&5
5263 # Check whether --with-tab_dialog or --without-tab_dialog was given.
5264 if test "${with_tab_dialog+set}" = set; then
5265 withval
="$with_tab_dialog"
5266 if test "x$with_tab_dialog" = xyes
; then
5267 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG="1"'
5269 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG="0"'
5273 LINE
=`grep "wxUSE_TAB_DIALOG" ${OSTYPE}.system.cache`
5274 if test "x$LINE" != x
; then
5275 eval "DEFAULT_$LINE"
5277 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
5281 eval "$ac_cv_use_tab_dialog"
5282 echo $ac_cv_use_tab_dialog >> ${OSTYPE}.system.cache.tmp
5283 if test "$wxUSE_TAB_DIALOG" = 1; then
5284 echo "$ac_t""yes" 1>&6
5286 echo "$ac_t""no" 1>&6
5291 echo $ac_n "checking "for notebook
"""... $ac_c" 1>&6
5292 echo "configure:5293: checking "for notebook
"" >&5
5293 # Check whether --with-notebook or --without-notebook was given.
5294 if test "${with_notebook+set}" = set; then
5295 withval
="$with_notebook"
5296 if test "x$with_notebook" = xyes
; then
5297 ac_cv_use_notebook
='wxUSE_NOTEBOOK="1"'
5299 ac_cv_use_notebook
='wxUSE_NOTEBOOK="0"'
5303 LINE
=`grep "wxUSE_NOTEBOOK" ${OSTYPE}.system.cache`
5304 if test "x$LINE" != x
; then
5305 eval "DEFAULT_$LINE"
5307 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5311 eval "$ac_cv_use_notebook"
5312 echo $ac_cv_use_notebook >> ${OSTYPE}.system.cache.tmp
5313 if test "$wxUSE_NOTEBOOK" = 1; then
5314 echo "$ac_t""yes" 1>&6
5316 echo "$ac_t""no" 1>&6
5322 echo $ac_n "checking "for timedate
"""... $ac_c" 1>&6
5323 echo "configure:5324: checking "for timedate
"" >&5
5324 # Check whether --with-timedate or --without-timedate was given.
5325 if test "${with_timedate+set}" = set; then
5326 withval
="$with_timedate"
5327 if test "x$with_timedate" = xyes
; then
5328 ac_cv_use_timedate
='wxUSE_TIMEDATE="1"'
5330 ac_cv_use_timedate
='wxUSE_TIMEDATE="0"'
5334 LINE
=`grep "wxUSE_TIMEDATE" ${OSTYPE}.system.cache`
5335 if test "x$LINE" != x
; then
5336 eval "DEFAULT_$LINE"
5338 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
5342 eval "$ac_cv_use_timedate"
5343 echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
5344 if test "$wxUSE_TIMEDATE" = 1; then
5345 echo "$ac_t""yes" 1>&6
5347 echo "$ac_t""no" 1>&6
5352 echo $ac_n "checking "for fraction
"""... $ac_c" 1>&6
5353 echo "configure:5354: checking "for fraction
"" >&5
5354 # Check whether --with-fraction or --without-fraction was given.
5355 if test "${with_fraction+set}" = set; then
5356 withval
="$with_fraction"
5357 if test "x$with_fraction" = xyes
; then
5358 ac_cv_use_fraction
='wxUSE_FRACTION="1"'
5360 ac_cv_use_fraction
='wxUSE_FRACTION="0"'
5364 LINE
=`grep "wxUSE_FRACTION" ${OSTYPE}.system.cache`
5365 if test "x$LINE" != x
; then
5366 eval "DEFAULT_$LINE"
5368 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
5372 eval "$ac_cv_use_fraction"
5373 echo $ac_cv_use_fraction >> ${OSTYPE}.system.cache.tmp
5374 if test "$wxUSE_FRACTION" = 1; then
5375 echo "$ac_t""yes" 1>&6
5377 echo "$ac_t""no" 1>&6
5382 echo $ac_n "checking "for log
"""... $ac_c" 1>&6
5383 echo "configure:5384: checking "for log
"" >&5
5384 # Check whether --with-log or --without-log was given.
5385 if test "${with_log+set}" = set; then
5387 if test "x$with_log" = xyes
; then
5388 ac_cv_use_log
='wxUSE_LOG="1"'
5390 ac_cv_use_log
='wxUSE_LOG="0"'
5394 LINE
=`grep "wxUSE_LOG" ${OSTYPE}.system.cache`
5395 if test "x$LINE" != x
; then
5396 eval "DEFAULT_$LINE"
5398 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5402 eval "$ac_cv_use_log"
5403 echo $ac_cv_use_log >> ${OSTYPE}.system.cache.tmp
5404 if test "$wxUSE_LOG" = 1; then
5405 echo "$ac_t""yes" 1>&6
5407 echo "$ac_t""no" 1>&6
5412 echo $ac_n "checking "for intl
"""... $ac_c" 1>&6
5413 echo "configure:5414: checking "for intl
"" >&5
5414 # Check whether --with-intl or --without-intl was given.
5415 if test "${with_intl+set}" = set; then
5416 withval
="$with_intl"
5417 if test "x$with_intl" = xyes
; then
5418 ac_cv_use_intl
='wxUSE_INTL="1"'
5420 ac_cv_use_intl
='wxUSE_INTL="0"'
5424 LINE
=`grep "wxUSE_INTL" ${OSTYPE}.system.cache`
5425 if test "x$LINE" != x
; then
5426 eval "DEFAULT_$LINE"
5428 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5432 eval "$ac_cv_use_intl"
5433 echo $ac_cv_use_intl >> ${OSTYPE}.system.cache.tmp
5434 if test "$wxUSE_INTL" = 1; then
5435 echo "$ac_t""yes" 1>&6
5437 echo "$ac_t""no" 1>&6
5442 echo $ac_n "checking "for config
"""... $ac_c" 1>&6
5443 echo "configure:5444: checking "for config
"" >&5
5444 # Check whether --with-config or --without-config was given.
5445 if test "${with_config+set}" = set; then
5446 withval
="$with_config"
5447 if test "x$with_config" = xyes
; then
5448 ac_cv_use_config
='wxUSE_CONFIG="1"'
5450 ac_cv_use_config
='wxUSE_CONFIG="0"'
5454 LINE
=`grep "wxUSE_CONFIG" ${OSTYPE}.system.cache`
5455 if test "x$LINE" != x
; then
5456 eval "DEFAULT_$LINE"
5458 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5462 eval "$ac_cv_use_config"
5463 echo $ac_cv_use_config >> ${OSTYPE}.system.cache.tmp
5464 if test "$wxUSE_CONFIG" = 1; then
5465 echo "$ac_t""yes" 1>&6
5467 echo "$ac_t""no" 1>&6
5472 echo $ac_n "checking "for streams
"""... $ac_c" 1>&6
5473 echo "configure:5474: checking "for streams
"" >&5
5474 # Check whether --with-streams or --without-streams was given.
5475 if test "${with_streams+set}" = set; then
5476 withval
="$with_streams"
5477 if test "x$with_streams" = xyes
; then
5478 ac_cv_use_streams
='wxUSE_STREAMS="1"'
5480 ac_cv_use_streams
='wxUSE_STREAMS="0"'
5484 LINE
=`grep "wxUSE_STREAMS" ${OSTYPE}.system.cache`
5485 if test "x$LINE" != x
; then
5486 eval "DEFAULT_$LINE"
5488 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5492 eval "$ac_cv_use_streams"
5493 echo $ac_cv_use_streams >> ${OSTYPE}.system.cache.tmp
5494 if test "$wxUSE_STREAMS" = 1; then
5495 echo "$ac_t""yes" 1>&6
5497 echo "$ac_t""no" 1>&6
5502 echo $ac_n "checking "for serial
"""... $ac_c" 1>&6
5503 echo "configure:5504: checking "for serial
"" >&5
5504 # Check whether --with-serial or --without-serial was given.
5505 if test "${with_serial+set}" = set; then
5506 withval
="$with_serial"
5507 if test "x$with_serial" = xyes
; then
5508 ac_cv_use_serial
='wxUSE_SERIAL="1"'
5510 ac_cv_use_serial
='wxUSE_SERIAL="0"'
5514 LINE
=`grep "wxUSE_SERIAL" ${OSTYPE}.system.cache`
5515 if test "x$LINE" != x
; then
5516 eval "DEFAULT_$LINE"
5518 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
5522 eval "$ac_cv_use_serial"
5523 echo $ac_cv_use_serial >> ${OSTYPE}.system.cache.tmp
5524 if test "$wxUSE_SERIAL" = 1; then
5525 echo "$ac_t""yes" 1>&6
5527 echo "$ac_t""no" 1>&6
5532 echo $ac_n "checking "for file"""... $ac_c" 1>&6
5533 echo "configure:5534: checking "for file"" >&5
5534 # Check whether --with-file or --without-file was given.
5535 if test "${with_file+set}" = set; then
5536 withval
="$with_file"
5537 if test "x$with_file" = xyes
; then
5538 ac_cv_use_file
='wxUSE_FILE="1"'
5540 ac_cv_use_file
='wxUSE_FILE="0"'
5544 LINE
=`grep "wxUSE_FILE" ${OSTYPE}.system.cache`
5545 if test "x$LINE" != x
; then
5546 eval "DEFAULT_$LINE"
5548 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5552 eval "$ac_cv_use_file"
5553 echo $ac_cv_use_file >> ${OSTYPE}.system.cache.tmp
5554 if test "$wxUSE_FILE" = 1; then
5555 echo "$ac_t""yes" 1>&6
5557 echo "$ac_t""no" 1>&6
5562 echo $ac_n "checking "for textfile
"""... $ac_c" 1>&6
5563 echo "configure:5564: checking "for textfile
"" >&5
5564 # Check whether --with-textfile or --without-textfile was given.
5565 if test "${with_textfile+set}" = set; then
5566 withval
="$with_textfile"
5567 if test "x$with_textfile" = xyes
; then
5568 ac_cv_use_textfile
='wxUSE_TEXTFILE="1"'
5570 ac_cv_use_textfile
='wxUSE_TEXTFILE="0"'
5574 LINE
=`grep "wxUSE_TEXTFILE" ${OSTYPE}.system.cache`
5575 if test "x$LINE" != x
; then
5576 eval "DEFAULT_$LINE"
5578 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5582 eval "$ac_cv_use_textfile"
5583 echo $ac_cv_use_textfile >> ${OSTYPE}.system.cache.tmp
5584 if test "$wxUSE_TEXTFILE" = 1; then
5585 echo "$ac_t""yes" 1>&6
5587 echo "$ac_t""no" 1>&6
5593 echo $ac_n "checking "for afmfonts
"""... $ac_c" 1>&6
5594 echo "configure:5595: checking "for afmfonts
"" >&5
5595 # Check whether --with-afmfonts or --without-afmfonts was given.
5596 if test "${with_afmfonts+set}" = set; then
5597 withval
="$with_afmfonts"
5598 if test "x$with_afmfonts" = xyes
; then
5599 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="1"'
5601 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="0"'
5605 LINE
=`grep "wxUSE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache`
5606 if test "x$LINE" != x
; then
5607 eval "DEFAULT_$LINE"
5609 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT='$DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
5613 eval "$ac_cv_use_afmfonts"
5614 echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
5615 if test "$wxUSE_AFM_FOR_POSTSCRIPT" = 1; then
5616 echo "$ac_t""yes" 1>&6
5618 echo "$ac_t""no" 1>&6
5623 echo $ac_n "checking "for normalized
"""... $ac_c" 1>&6
5624 echo "configure:5625: checking "for normalized
"" >&5
5625 # Check whether --with-normalized or --without-normalized was given.
5626 if test "${with_normalized+set}" = set; then
5627 withval
="$with_normalized"
5628 if test "x$with_normalized" = xyes
; then
5629 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="1"'
5631 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="0"'
5635 LINE
=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache`
5636 if test "x$LINE" != x
; then
5637 eval "DEFAULT_$LINE"
5639 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS
5643 eval "$ac_cv_use_normalized"
5644 echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
5645 if test "$WX_NORMALIZED_PS_FONTS" = 1; then
5646 echo "$ac_t""yes" 1>&6
5648 echo "$ac_t""no" 1>&6
5653 echo $ac_n "checking "for postscript
"""... $ac_c" 1>&6
5654 echo "configure:5655: checking "for postscript
"" >&5
5655 # Check whether --with-postscript or --without-postscript was given.
5656 if test "${with_postscript+set}" = set; then
5657 withval
="$with_postscript"
5658 if test "x$with_postscript" = xyes
; then
5659 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="1"'
5661 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="0"'
5665 LINE
=`grep "wxUSE_POSTSCRIPT" ${OSTYPE}.system.cache`
5666 if test "x$LINE" != x
; then
5667 eval "DEFAULT_$LINE"
5669 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5673 eval "$ac_cv_use_postscript"
5674 echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
5675 if test "$wxUSE_POSTSCRIPT" = 1; then
5676 echo "$ac_t""yes" 1>&6
5678 echo "$ac_t""no" 1>&6
5684 echo $ac_n "checking "for unicode
"""... $ac_c" 1>&6
5685 echo "configure:5686: checking "for unicode
"" >&5
5686 # Check whether --with-unicode or --without-unicode was given.
5687 if test "${with_unicode+set}" = set; then
5688 withval
="$with_unicode"
5689 if test "x$with_unicode" = xyes
; then
5690 ac_cv_use_unicode
='wxUSE_UNICODE="1"'
5692 ac_cv_use_unicode
='wxUSE_UNICODE="0"'
5696 LINE
=`grep "wxUSE_UNICODE" ${OSTYPE}.system.cache`
5697 if test "x$LINE" != x
; then
5698 eval "DEFAULT_$LINE"
5700 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5704 eval "$ac_cv_use_unicode"
5705 echo $ac_cv_use_unicode >> ${OSTYPE}.system.cache.tmp
5706 if test "$wxUSE_UNICODE" = 1; then
5707 echo "$ac_t""yes" 1>&6
5709 echo "$ac_t""no" 1>&6
5714 echo $ac_n "checking "for wcsrtombs
"""... $ac_c" 1>&6
5715 echo "configure:5716: checking "for wcsrtombs
"" >&5
5716 # Check whether --with-wcsrtombs or --without-wcsrtombs was given.
5717 if test "${with_wcsrtombs+set}" = set; then
5718 withval
="$with_wcsrtombs"
5719 if test "x$with_wcsrtombs" = xyes
; then
5720 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="1"'
5722 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="0"'
5726 LINE
=`grep "wxUSE_WCSRTOMBS" ${OSTYPE}.system.cache`
5727 if test "x$LINE" != x
; then
5728 eval "DEFAULT_$LINE"
5730 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
5734 eval "$ac_cv_use_wcsrtombs"
5735 echo $ac_cv_use_wcsrtombs >> ${OSTYPE}.system.cache.tmp
5736 if test "$wxUSE_WCSRTOMBS" = 1; then
5737 echo "$ac_t""yes" 1>&6
5739 echo "$ac_t""no" 1>&6
5745 echo $ac_n "checking "for wxresources
"""... $ac_c" 1>&6
5746 echo "configure:5747: checking "for wxresources
"" >&5
5747 # Check whether --with-wxresources or --without-wxresources was given.
5748 if test "${with_wxresources+set}" = set; then
5749 withval
="$with_wxresources"
5750 if test "x$with_wxresources" = xyes
; then
5751 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="1"'
5753 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="0"'
5757 LINE
=`grep "wxUSE_WX_RESOURCES" ${OSTYPE}.system.cache`
5758 if test "x$LINE" != x
; then
5759 eval "DEFAULT_$LINE"
5761 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES='$DEFAULT_wxUSE_WX_RESOURCES
5765 eval "$ac_cv_use_wxresources"
5766 echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
5767 if test "$wxUSE_WX_RESOURCES" = 1; then
5768 echo "$ac_t""yes" 1>&6
5770 echo "$ac_t""no" 1>&6
5775 echo $ac_n "checking "for prologio
"""... $ac_c" 1>&6
5776 echo "configure:5777: checking "for prologio
"" >&5
5777 # Check whether --with-prologio or --without-prologio was given.
5778 if test "${with_prologio+set}" = set; then
5779 withval
="$with_prologio"
5780 if test "x$with_prologio" = xyes
; then
5781 ac_cv_use_prologio
='wxUSE_PROLOGIO="1"'
5783 ac_cv_use_prologio
='wxUSE_PROLOGIO="0"'
5787 LINE
=`grep "wxUSE_PROLOGIO" ${OSTYPE}.system.cache`
5788 if test "x$LINE" != x
; then
5789 eval "DEFAULT_$LINE"
5791 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5795 eval "$ac_cv_use_prologio"
5796 echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
5797 if test "$wxUSE_PROLOGIO" = 1; then
5798 echo "$ac_t""yes" 1>&6
5800 echo "$ac_t""no" 1>&6
5805 echo $ac_n "checking "for RPC
"""... $ac_c" 1>&6
5806 echo "configure:5807: checking "for RPC
"" >&5
5807 # Check whether --with-rpc or --without-rpc was given.
5808 if test "${with_rpc+set}" = set; then
5810 if test "x$with_rpc" = xyes
; then
5811 ac_cv_use_rpc
='wxUSE_RPC="1"'
5813 ac_cv_use_rpc
='wxUSE_RPC="0"'
5817 LINE
=`grep "wxUSE_RPC" ${OSTYPE}.system.cache`
5818 if test "x$LINE" != x
; then
5819 eval "DEFAULT_$LINE"
5821 ac_cv_use_rpc
='wxUSE_RPC='$DEFAULT_wxUSE_RPC
5825 eval "$ac_cv_use_rpc"
5826 echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
5827 if test "$wxUSE_RPC" = 1; then
5828 echo "$ac_t""yes" 1>&6
5830 echo "$ac_t""no" 1>&6
5836 echo $ac_n "checking "for IPC
"""... $ac_c" 1>&6
5837 echo "configure:5838: checking "for IPC
"" >&5
5838 # Check whether --with-ipc or --without-ipc was given.
5839 if test "${with_ipc+set}" = set; then
5841 if test "x$with_ipc" = xyes
; then
5842 ac_cv_use_ipc
='wxUSE_IPC="1"'
5844 ac_cv_use_ipc
='wxUSE_IPC="0"'
5848 LINE
=`grep "wxUSE_IPC" ${OSTYPE}.system.cache`
5849 if test "x$LINE" != x
; then
5850 eval "DEFAULT_$LINE"
5852 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5856 eval "$ac_cv_use_ipc"
5857 echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
5858 if test "$wxUSE_IPC" = 1; then
5859 echo "$ac_t""yes" 1>&6
5861 echo "$ac_t""no" 1>&6
5866 echo $ac_n "checking "for resources
"""... $ac_c" 1>&6
5867 echo "configure:5868: checking "for resources
"" >&5
5868 # Check whether --with-resources or --without-resources was given.
5869 if test "${with_resources+set}" = set; then
5870 withval
="$with_resources"
5871 if test "x$with_resources" = xyes
; then
5872 ac_cv_use_resources
='wxUSE_RESOURCES="1"'
5874 ac_cv_use_resources
='wxUSE_RESOURCES="0"'
5878 LINE
=`grep "wxUSE_RESOURCES" ${OSTYPE}.system.cache`
5879 if test "x$LINE" != x
; then
5880 eval "DEFAULT_$LINE"
5882 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5886 eval "$ac_cv_use_resources"
5887 echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
5888 if test "$wxUSE_RESOURCES" = 1; then
5889 echo "$ac_t""yes" 1>&6
5891 echo "$ac_t""no" 1>&6
5896 echo $ac_n "checking "for clipboard
"""... $ac_c" 1>&6
5897 echo "configure:5898: checking "for clipboard
"" >&5
5898 # Check whether --with-clipboard or --without-clipboard was given.
5899 if test "${with_clipboard+set}" = set; then
5900 withval
="$with_clipboard"
5901 if test "x$with_clipboard" = xyes
; then
5902 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="1"'
5904 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="0"'
5908 LINE
=`grep "wxUSE_CLIPBOARD" ${OSTYPE}.system.cache`
5909 if test "x$LINE" != x
; then
5910 eval "DEFAULT_$LINE"
5912 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5916 eval "$ac_cv_use_clipboard"
5917 echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
5918 if test "$wxUSE_CLIPBOARD" = 1; then
5919 echo "$ac_t""yes" 1>&6
5921 echo "$ac_t""no" 1>&6
5926 echo $ac_n "checking "for dnd
"""... $ac_c" 1>&6
5927 echo "configure:5928: checking "for dnd
"" >&5
5928 # Check whether --with-dnd or --without-dnd was given.
5929 if test "${with_dnd+set}" = set; then
5931 if test "x$with_dnd" = xyes
; then
5932 ac_cv_use_dnd
='wxUSE_DND="1"'
5934 ac_cv_use_dnd
='wxUSE_DND="0"'
5938 LINE
=`grep "wxUSE_DND" ${OSTYPE}.system.cache`
5939 if test "x$LINE" != x
; then
5940 eval "DEFAULT_$LINE"
5942 ac_cv_use_dnd
='wxUSE_DND='$DEFAULT_wxUSE_DND
5946 eval "$ac_cv_use_dnd"
5947 echo $ac_cv_use_dnd >> ${OSTYPE}.system.cache.tmp
5948 if test "$wxUSE_DND" = 1; then
5949 echo "$ac_t""yes" 1>&6
5951 echo "$ac_t""no" 1>&6
5956 echo $ac_n "checking "for constrains
"""... $ac_c" 1>&6
5957 echo "configure:5958: checking "for constrains
"" >&5
5958 # Check whether --with-constraints or --without-constraints was given.
5959 if test "${with_constraints+set}" = set; then
5960 withval
="$with_constraints"
5961 if test "x$with_constraints" = xyes
; then
5962 ac_cv_use_constraints
='wxUSE_CONSTRAINTS="1"'
5964 ac_cv_use_constraints
='wxUSE_CONSTRAINTS="0"'
5968 LINE
=`grep "wxUSE_CONSTRAINTS" ${OSTYPE}.system.cache`
5969 if test "x$LINE" != x
; then
5970 eval "DEFAULT_$LINE"
5972 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5976 eval "$ac_cv_use_constraints"
5977 echo $ac_cv_use_constraints >> ${OSTYPE}.system.cache.tmp
5978 if test "$wxUSE_CONSTRAINTS" = 1; then
5979 echo "$ac_t""yes" 1>&6
5981 echo "$ac_t""no" 1>&6
5987 echo $ac_n "checking "for mdi
"""... $ac_c" 1>&6
5988 echo "configure:5989: checking "for mdi
"" >&5
5989 # Check whether --with-mdi or --without-mdi was given.
5990 if test "${with_mdi+set}" = set; then
5992 if test "x$with_mdi" = xyes
; then
5993 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="1"'
5995 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="0"'
5999 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${OSTYPE}.system.cache`
6000 if test "x$LINE" != x
; then
6001 eval "DEFAULT_$LINE"
6003 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6007 eval "$ac_cv_use_mdi"
6008 echo $ac_cv_use_mdi >> ${OSTYPE}.system.cache.tmp
6009 if test "$wxUSE_MDI_ARCHITECTURE" = 1; then
6010 echo "$ac_t""yes" 1>&6
6012 echo "$ac_t""no" 1>&6
6017 echo $ac_n "checking "for docview
"""... $ac_c" 1>&6
6018 echo "configure:6019: checking "for docview
"" >&5
6019 # Check whether --with-docview or --without-docview was given.
6020 if test "${with_docview+set}" = set; then
6021 withval
="$with_docview"
6022 if test "x$with_docview" = xyes
; then
6023 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="1"'
6025 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="0"'
6029 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache`
6030 if test "x$LINE" != x
; then
6031 eval "DEFAULT_$LINE"
6033 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6037 eval "$ac_cv_use_docview"
6038 echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp
6039 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1; then
6040 echo "$ac_t""yes" 1>&6
6042 echo "$ac_t""no" 1>&6
6047 echo $ac_n "checking "for printarch
"""... $ac_c" 1>&6
6048 echo "configure:6049: checking "for printarch
"" >&5
6049 # Check whether --with-printarch or --without-printarch was given.
6050 if test "${with_printarch+set}" = set; then
6051 withval
="$with_printarch"
6052 if test "x$with_printarch" = xyes
; then
6053 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="1"'
6055 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="0"'
6059 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache`
6060 if test "x$LINE" != x
; then
6061 eval "DEFAULT_$LINE"
6063 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6067 eval "$ac_cv_use_printarch"
6068 echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp
6069 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1; then
6070 echo "$ac_t""yes" 1>&6
6072 echo "$ac_t""no" 1>&6
6077 echo $ac_n "checking "for help"""... $ac_c" 1>&6
6078 echo "configure:6079: checking "for help"" >&5
6079 # Check whether --with-help or --without-help was given.
6080 if test "${with_help+set}" = set; then
6081 withval
="$with_help"
6082 if test "x$with_help" = xyes
; then
6083 ac_cv_use_help
='wxUSE_HELP="1"'
6085 ac_cv_use_help
='wxUSE_HELP="0"'
6089 LINE
=`grep "wxUSE_HELP" ${OSTYPE}.system.cache`
6090 if test "x$LINE" != x
; then
6091 eval "DEFAULT_$LINE"
6093 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6097 eval "$ac_cv_use_help"
6098 echo $ac_cv_use_help >> ${OSTYPE}.system.cache.tmp
6099 if test "$wxUSE_HELP" = 1; then
6100 echo "$ac_t""yes" 1>&6
6102 echo "$ac_t""no" 1>&6
6107 if test "$wxUSE_UNIX" = 1 ; then
6108 cat >> confdefs.h
<<\EOF
6126 if test "$wxUSE_GTK" = 1; then
6127 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
6128 if test "${with_gtk_prefix+set}" = set; then
6129 withval
="$with_gtk_prefix"
6130 gtk_config_prefix
="$withval"
6132 gtk_config_prefix
=""
6135 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
6136 if test "${with_gtk_exec_prefix+set}" = set; then
6137 withval
="$with_gtk_exec_prefix"
6138 gtk_config_exec_prefix
="$withval"
6140 gtk_config_exec_prefix
=""
6144 if test x
$gtk_config_exec_prefix != x
; then
6145 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6146 if test x
${GTK_CONFIG+set} != xset
; then
6147 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6150 if test x
$gtk_config_prefix != x
; then
6151 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6152 if test x
${GTK_CONFIG+set} != xset
; then
6153 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6157 # Extract the first word of "gtk-config", so it can be a program name with args.
6158 set dummy gtk
-config; ac_word
=$2
6159 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6160 echo "configure:6161: checking for $ac_word" >&5
6161 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6162 echo $ac_n "(cached) $ac_c" 1>&6
6164 case "$GTK_CONFIG" in
6166 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6169 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6170 for ac_dir
in $PATH; do
6171 test -z "$ac_dir" && ac_dir
=.
6172 if test -f $ac_dir/$ac_word; then
6173 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6178 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6182 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6183 if test -n "$GTK_CONFIG"; then
6184 echo "$ac_t""$GTK_CONFIG" 1>&6
6186 echo "$ac_t""no" 1>&6
6189 min_gtk_version
=1.0.4
6190 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6191 echo "configure:6192: checking for GTK - version >= $min_gtk_version" >&5
6193 if test "$GTK_CONFIG" != "no" ; then
6194 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6195 GTK_LIBS
=`$GTK_CONFIG --libs`
6196 ac_save_CFLAGS
="$CFLAGS"
6197 ac_save_LIBS
="$LIBS"
6198 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6199 LIBS
="$LIBS $GTK_LIBS"
6200 if test "$cross_compiling" = yes; then
6201 echo $ac_n "cross compiling; assumed OK... $ac_c"
6203 cat > conftest.
$ac_ext <<EOF
6204 #line 6205 "configure"
6205 #include "confdefs.h"
6207 #include <gtk/gtk.h>
6213 int major, minor, micro;
6215 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6216 printf("%s, bad version string\n", "$min_gtk_version");
6220 if (gtk_minor_version > 0) return FALSE;
6222 return !((gtk_major_version > major) ||
6223 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6224 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6228 if { (eval echo configure
:6229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
6232 echo "configure: failed program was:" >&5
6233 cat conftest.
$ac_ext >&5
6240 CFLAGS
="$ac_save_CFLAGS"
6241 LIBS
="$ac_save_LIBS"
6245 if test "x$no_gtk" = x
; then
6246 echo "$ac_t""yes" 1>&6
6248 GUI_TK_INCLUDE
="$GTK_CFLAGS"
6249 GUI_TK_LIBRARY
="$GTK_LIBS"
6252 echo "$ac_t""no" 1>&6
6255 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.0.4 up-to 1.0.6?" 1>&2; exit 1; }
6261 TOOLKIT_DEF
=__WXGTK__
6262 WX_LINK
=-lwx_gtk_1_0
6263 MAKEINCLUDE
=..
/gtk.inc
6266 if test "$wxUSE_QT" = 1; then
6267 echo $ac_n "checking for Qt includes""... $ac_c" 1>&6
6268 echo "configure:6269: checking for Qt includes" >&5
6271 for ac_dir
in $SEARCH_INCLUDE;
6273 if test -f "$ac_dir/qapp.h"; then
6274 ac_find_includes
=$ac_dir
6279 if test "$ac_find_includes" != "" ; then
6280 echo "$ac_t""found $ac_find_includes" 1>&6
6281 echo $ac_n "checking for Qt library""... $ac_c" 1>&6
6282 echo "configure:6283: checking for Qt library" >&5
6285 for ac_dir
in $SEARCH_LIB;
6287 for ac_extension
in a so sl
; do
6288 if test -f "$ac_dir/libqt.$ac_extension"; then
6289 ac_find_libraries
=$ac_dir
6295 if test "$ac_find_libraries" != "" ; then
6297 ac_path_to_include
=$ac_find_includes
6298 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6300 if test $result = 0; then
6301 ac_path_to_include
=""
6303 ac_path_to_include
="-I$ac_find_includes"
6307 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6309 if test $result = 0; then
6312 ac_path_to_link
="-L$ac_find_libraries"
6315 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6316 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6317 echo "$ac_t""found Qt at $ac_find_libraries" 1>&6
6319 { echo "configure: error: no" 1>&2; exit 1; }
6322 { echo "configure: error: no" 1>&2; exit 1; }
6324 GUI_TK_LINK
="-lX11 -lqt -lm"
6326 TOOLKIT_DEF
=__WXQT__
6328 MAKEINCLUDE
=..
/qt.inc
6331 if test "$wxUSE_MOTIF" = 1; then
6332 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
6333 echo "configure:6334: checking for Motif/Lesstif includes" >&5
6336 for ac_dir
in $SEARCH_INCLUDE;
6338 if test -f "$ac_dir/Xm.h"; then
6339 ac_find_includes
=$ac_dir
6344 if test "$ac_find_includes" != "" ; then
6345 echo "$ac_t""found $ac_find_includes" 1>&6
6346 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
6347 echo "configure:6348: checking for Motif/Lesstif library" >&5
6350 for ac_dir
in $SEARCH_LIB;
6352 for ac_extension
in a so sl
; do
6353 if test -f "$ac_dir/libXm.$ac_extension"; then
6354 ac_find_libraries
=$ac_dir
6360 if test "$ac_find_libraries" != "" ; then
6362 ac_path_to_include
=$ac_find_includes
6363 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6365 if test $result = 0; then
6366 ac_path_to_include
=""
6368 ac_path_to_include
="-I$ac_find_includes"
6372 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6374 if test $result = 0; then
6377 ac_path_to_link
="-L$ac_find_libraries"
6380 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6381 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6382 echo "$ac_t""found at $ac_find_libraries" 1>&6
6383 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
6384 echo "configure:6385: checking for Xt library" >&5
6387 for ac_dir
in $SEARCH_LIB;
6389 for ac_extension
in a so sl
; do
6390 if test -f "$ac_dir/libXt.$ac_extension"; then
6391 ac_find_libraries
=$ac_dir
6397 if test "$ac_find_libraries" != "" ; then
6399 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6401 if test $result = 0; then
6404 ac_path_to_link
="-L$ac_find_libraries"
6407 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6408 echo "$ac_t""found at $ac_find_libraries" 1>&6
6409 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6410 echo "configure:6411: checking for Xpm library" >&5
6413 for ac_dir
in $SEARCH_LIB;
6415 for ac_extension
in a so sl
; do
6416 if test -f "$ac_dir/libXpm.$ac_extension"; then
6417 ac_find_libraries
=$ac_dir
6423 if test "$ac_find_libraries" != "" ; then
6425 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6427 if test $result = 0; then
6430 ac_path_to_link
="-L$ac_find_libraries"
6433 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6434 echo "$ac_t""found at $ac_find_libraries" 1>&6
6436 { echo "configure: error: no" 1>&2; exit 1; }
6439 { echo "configure: error: no" 1>&2; exit 1; }
6442 { echo "configure: error: no" 1>&2; exit 1; }
6445 { echo "configure: error: no" 1>&2; exit 1; }
6448 GUI_TK_LINK
="-lXm -lXmu -lXt -lXpm -lX11 -lm"
6449 GUI_TK_LINK
="$CHECK_LINK $GUI_TK_LINK"
6451 TOOLKIT_DEF
="__WXMOTIF__ -D__LINUX__ -D__UNIX__"
6453 MAKEINCLUDE
=..
/motif.inc
6456 if test "$TOOLKIT" = ""; then
6457 { echo "configure: error: You must specify a toolkit: --with-gtk --with-qt --with-motif" 1>&2; exit 1; }
6473 if test "$wxUSE_DEBUG_GDB" = 1 ; then
6478 if test "$wxUSE_DEBUG_INFO" = 1 ; then
6485 if test "$wxUSE_DEBUG_FLAG" = 1 ; then
6486 cat >> confdefs.h
<<EOF
6487 #define WXDEBUG $wxUSE_DEBUG_FLAG
6490 WXDEBUG_DEFINE
="-D__WXDEBUG__"
6493 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
6497 if test "$wxUSE_MEM_TRACING" = 1 ; then
6498 cat >> confdefs.h
<<EOF
6499 #define wxUSE_MEMORY_TRACING $wxUSE_MEM_TRACING
6502 cat >> confdefs.h
<<EOF
6503 #define wxUSE_GLOBAL_MEMORY_OPERATORS $wxUSE_MEM_TRACING
6509 if test "$wxUSE_DMALLOC" = 1 ; then
6510 EXTRA_LINK
="$EXTRA_LINK -ldmalloc"
6515 if test "$wxUSE_PROFILE" = 1 ; then
6520 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
6521 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
6522 if test "$wxUSE_OPTIMISE" = 0 ; then
6525 if test "$GCC" = yes ; then
6527 case "${canonical}" in
6529 OPTIMISE
="${OPTIMISE} "
6539 if test "$wxUSE_APPLE_IEEE" = 1 ; then
6540 APPLE_IEEE
="APPLE_IEEE"
6541 cat >> confdefs.h
<<EOF
6542 #define wxUSE_APPLE_IEEE $wxUSE_APPLE_IEEE
6547 wxUSE_IOSTREAMH
=$DEFAULT_wxUSE_IOSTREAMH
6548 cat >> confdefs.h
<<EOF
6549 #define wxUSE_IOSTREAMH $wxUSE_IOSTREAMH
6554 if test "$wxUSE_ZLIB" = 1 ; then
6555 cat >> confdefs.h
<<EOF
6556 #define wxUSE_ZLIB $wxUSE_ZLIB
6561 if test "$wxUSE_LIBPNG" = 1 ; then
6562 cat >> confdefs.h
<<EOF
6563 #define wxUSE_LIBPNG $wxUSE_LIBPNG
6569 if test "$wxUSE_ODBC" = 1 ; then
6570 cat >> confdefs.h
<<EOF
6571 #define wxUSE_ODBC $wxUSE_ODBC
6574 IODBC_C_SRC
="\$(IODBC_C_SRC)"
6579 if test "$wxUSE_GAUGE" = 1 ; then
6580 cat >> confdefs.h
<<EOF
6581 #define wxUSE_GAUGE $wxUSE_GAUGE
6586 if test "$wxUSE_COMBOBOX" = 1 ; then
6587 cat >> confdefs.h
<<EOF
6588 #define wxUSE_COMBOBOX $wxUSE_COMBOBOX
6593 if test "$wxUSE_SCROLLBAR" = 1 ; then
6594 cat >> confdefs.h
<<EOF
6595 #define wxUSE_SCROLLBAR $wxUSE_SCROLLBAR
6600 if test "$wxUSE_LISTCTRL" = 1 ; then
6601 cat >> confdefs.h
<<EOF
6602 #define wxUSE_LISTCTRL $wxUSE_LISTCTRL
6607 if test "$wxUSE_TREECTRL" = 1 ; then
6608 cat >> confdefs.h
<<EOF
6609 #define wxUSE_TREECTRL $wxUSE_TREECTRL
6614 if test "$wxUSE_GRID" = 1 ; then
6615 cat >> confdefs.h
<<EOF
6616 #define wxUSE_GRID $wxUSE_GRID
6621 if test "$wxUSE_TAB_DIALOG" = 1 ; then
6622 cat >> confdefs.h
<<EOF
6623 #define wxUSE_TAB_DIALOG $wxUSE_TAB_DIALOG
6628 if test "$wxUSE_NOTEBOOK" = 1 ; then
6629 cat >> confdefs.h
<<EOF
6630 #define wxUSE_NOTEBOOK $wxUSE_NOTEBOOK
6636 if test "$wxUSE_CONFIG" = 1 ; then
6637 cat >> confdefs.h
<<EOF
6638 #define wxUSE_CONFIG $wxUSE_CONFIG
6643 if test "$wxUSE_TIMEDATE" = 1 ; then
6644 cat >> confdefs.h
<<EOF
6645 #define wxUSE_TIMEDATE $wxUSE_TIMEDATE
6650 if test "$wxUSE_FRACTION" = 1 ; then
6651 cat >> confdefs.h
<<EOF
6652 #define wxUSE_FRACTION $wxUSE_FRACTION
6657 if test "$wxUSE_LOG" = 1 ; then
6658 cat >> confdefs.h
<<EOF
6659 #define wxUSE_LOG $wxUSE_LOG
6664 if test "$wxUSE_INTL" = 1 ; then
6665 cat >> confdefs.h
<<EOF
6666 #define wxUSE_INTL $wxUSE_INTL
6671 if test "$wxUSE_STREAMS" = 1 ; then
6672 cat >> confdefs.h
<<EOF
6673 #define wxUSE_STREAMS $wxUSE_STREAMS
6678 if test "$wxUSE_SERIAL" = 1 ; then
6679 cat >> confdefs.h
<<EOF
6680 #define wxUSE_SERIAL $wxUSE_SERIAL
6685 if test "$wxUSE_FILE" = 1 ; then
6686 cat >> confdefs.h
<<EOF
6687 #define wxUSE_FILE $wxUSE_FILE
6692 if test "$wxUSE_TEXTFILE" = 1 ; then
6693 cat >> confdefs.h
<<EOF
6694 #define wxUSE_TEXTFILE $wxUSE_TEXTFILE
6700 if test "$wxUSE_RPC" = 1 ; then
6701 cat >> confdefs.h
<<EOF
6702 #define wxUSE_RPC $wxUSE_RPC
6707 if test "$wxUSE_WX_RESOURCES" = 1 ; then
6708 cat >> confdefs.h
<<EOF
6709 #define wxUSE_WX_RESOURCES $wxUSE_WX_RESOURCES
6714 if test "$wxUSE_PROLOGIO" = 1 ; then
6715 cat >> confdefs.h
<<EOF
6716 #define wxUSE_PROLOGIO 1
6722 if test "$wxUSE_POSTSCRIPT" = 1 ; then
6723 cat >> confdefs.h
<<EOF
6724 #define wxUSE_POSTSCRIPT 1
6729 cat >> confdefs.h
<<EOF
6730 #define wxUSE_AFM_FOR_POSTSCRIPT $wxUSE_AFM_FOR_POSTSCRIPT
6734 cat >> confdefs.h
<<EOF
6735 #define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS
6740 if test "$wxUSE_MDI_ARCHITECTURE" = 1 ; then
6741 cat >> confdefs.h
<<EOF
6742 #define wxUSE_MDI_ARCHITECTURE $wxUSE_MDI_ARCHITECTURE
6747 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1 ; then
6748 cat >> confdefs.h
<<EOF
6749 #define wxUSE_DOC_VIEW_ARCHITECTURE $wxUSE_DOC_VIEW_ARCHITECTURE
6754 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1 ; then
6755 cat >> confdefs.h
<<EOF
6756 #define wxUSE_PRINTING_ARCHITECTURE $wxUSE_PRINTING_ARCHITECTURE
6762 if test "$wxUSE_UNICODE" = 1 ; then
6763 cat >> confdefs.h
<<EOF
6764 #define wxUSE_UNICODE 1
6769 if test "$wxUSE_WCSRTOMBS" = 1 ; then
6770 cat >> confdefs.h
<<EOF
6771 #define wxUSE_WCSRTOMBS 1
6777 if test "$wxUSE_IPC" = 1 ; then
6778 cat >> confdefs.h
<<EOF
6784 if test "$wxUSE_RESOURCES" = 1 ; then
6785 cat >> confdefs.h
<<EOF
6786 #define wxUSE_RESOURCES $wxUSE_RESOURCES
6791 if test "$wxUSE_CLIPBOARD" = 1 ; then
6792 cat >> confdefs.h
<<EOF
6793 #define wxUSE_CLIPBOARD $wxUSE_CLIPBOARD
6798 if test "$wxUSE_DND" = 1 ; then
6799 cat >> confdefs.h
<<EOF
6800 #define wxUSE_DND $wxUSE_DND
6805 if test "$wxUSE_CONSTRAINTS" = 1 ; then
6806 cat >> confdefs.h
<<EOF
6807 #define wxUSE_CONSTRAINTS $wxUSE_CONSTRAINTS
6814 if test "$wxUSE_METAFILE" = 1 ; then
6816 cat >> confdefs.h
<<EOF
6817 #define wxUSE_METAFILE $wxUSE_METAFILE
6824 if test "$wxUSE_HELP" = 1 ; then
6826 cat >> confdefs.h
<<EOF
6827 #define wxUSE_HELP $wxUSE_HELP
6834 if test "$wxUSE_WXGRAPH" = 1 ; then
6836 cat >> confdefs.h
<<EOF
6837 #define wxUSE_WXGRAPH $wxUSE_WXGRAPH
6844 if test "$wxUSE_WXTREE" = 1 ; then
6846 cat >> confdefs.h
<<EOF
6847 #define wxUSE_WXTREE $wxUSE_WXTREE
6854 if test "$wxUSE_OPENGL" = 1 ; then
6859 echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6
6860 echo "configure:6861: checking for main in -ldl" >&5
6861 ac_lib_var
=`echo dl'_'main | sed 'y%./+-%__p_%'`
6862 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6863 echo $ac_n "(cached) $ac_c" 1>&6
6865 ac_save_LIBS
="$LIBS"
6867 cat > conftest.
$ac_ext <<EOF
6868 #line 6869 "configure"
6869 #include "confdefs.h"
6875 if { (eval echo configure
:6876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6877 eval "ac_cv_lib_$ac_lib_var=yes"
6879 echo "configure: failed program was:" >&5
6880 cat conftest.
$ac_ext >&5
6882 eval "ac_cv_lib_$ac_lib_var=no"
6885 LIBS
="$ac_save_LIBS"
6888 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6889 echo "$ac_t""yes" 1>&6
6892 echo "$ac_t""no" 1>&6
6901 UNIX_THREAD
="gtk/threadno.cpp"
6904 echo $ac_n "checking "for threads
"""... $ac_c" 1>&6
6905 echo "configure:6906: checking "for threads
"" >&5
6906 # Check whether --with-threads or --without-threads was given.
6907 if test "${with_threads+set}" = set; then
6908 withval
="$with_threads"
6909 if test "x$with_threads" = xyes
; then
6910 ac_cv_use_threads
='wxUSE_THREADS="1"'
6912 ac_cv_use_threads
='wxUSE_THREADS="0"'
6916 LINE
=`grep "wxUSE_THREADS" ${OSTYPE}.system.cache`
6917 if test "x$LINE" != x
; then
6918 eval "DEFAULT_$LINE"
6920 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6924 eval "$ac_cv_use_threads"
6925 echo $ac_cv_use_threads >> ${OSTYPE}.system.cache.tmp
6926 if test "$wxUSE_THREADS" = 1; then
6927 echo "$ac_t""yes" 1>&6
6929 echo "$ac_t""no" 1>&6
6933 if test "$wxUSE_THREADS" = "1"; then
6938 echo $ac_n "checking for thr_create in -lthread""... $ac_c" 1>&6
6939 echo "configure:6940: checking for thr_create in -lthread" >&5
6940 ac_lib_var
=`echo thread'_'thr_create | sed 'y%./+-%__p_%'`
6941 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6942 echo $ac_n "(cached) $ac_c" 1>&6
6944 ac_save_LIBS
="$LIBS"
6945 LIBS
="-lthread $LIBS"
6946 cat > conftest.
$ac_ext <<EOF
6947 #line 6948 "configure"
6948 #include "confdefs.h"
6949 /* Override any gcc2 internal prototype to avoid an error. */
6950 /* We use char because int might match the return type of a gcc2
6951 builtin and then its argument prototype would still apply. */
6958 if { (eval echo configure
:6959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6960 eval "ac_cv_lib_$ac_lib_var=yes"
6962 echo "configure: failed program was:" >&5
6963 cat conftest.
$ac_ext >&5
6965 eval "ac_cv_lib_$ac_lib_var=no"
6968 LIBS
="$ac_save_LIBS"
6971 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6972 echo "$ac_t""yes" 1>&6
6974 UNIX_THREAD
="gtk/threadsol.cpp"
6975 THREADS_LINK
="-lthread"
6978 echo "$ac_t""no" 1>&6
6985 UNIX_THREAD
="gtk/threadno.cpp"
6988 echo $ac_n "checking for pthread_create in -lpthread-0.7""... $ac_c" 1>&6
6989 echo "configure:6990: checking for pthread_create in -lpthread-0.7" >&5
6990 ac_lib_var
=`echo pthread-0.7'_'pthread_create | sed 'y%./+-%__p_%'`
6991 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6992 echo $ac_n "(cached) $ac_c" 1>&6
6994 ac_save_LIBS
="$LIBS"
6995 LIBS
="-lpthread-0.7 $LIBS"
6996 cat > conftest.
$ac_ext <<EOF
6997 #line 6998 "configure"
6998 #include "confdefs.h"
6999 /* Override any gcc2 internal prototype to avoid an error. */
7000 /* We use char because int might match the return type of a gcc2
7001 builtin and then its argument prototype would still apply. */
7002 char pthread_create();
7008 if { (eval echo configure
:7009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7010 eval "ac_cv_lib_$ac_lib_var=yes"
7012 echo "configure: failed program was:" >&5
7013 cat conftest.
$ac_ext >&5
7015 eval "ac_cv_lib_$ac_lib_var=no"
7018 LIBS
="$ac_save_LIBS"
7021 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7022 echo "$ac_t""yes" 1>&6
7024 UNIX_THREAD
="gtk/threadpsx.cpp"
7025 THREADS_LINK
="-lpthread-0.7"
7028 echo "$ac_t""no" 1>&6
7030 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
7031 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
7032 echo "configure:7033: checking for sys/prctl.h" >&5
7033 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7034 echo $ac_n "(cached) $ac_c" 1>&6
7036 cat > conftest.
$ac_ext <<EOF
7037 #line 7038 "configure"
7038 #include "confdefs.h"
7039 #include <sys/prctl.h>
7041 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7042 { (eval echo configure
:7043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7043 ac_err
=`grep -v '^ *+' conftest.out`
7044 if test -z "$ac_err"; then
7046 eval "ac_cv_header_$ac_safe=yes"
7049 echo "configure: failed program was:" >&5
7050 cat conftest.
$ac_ext >&5
7052 eval "ac_cv_header_$ac_safe=no"
7056 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7057 echo "$ac_t""yes" 1>&6
7059 UNIX_THREAD
="gtk/threadsgi.cpp"
7062 echo "$ac_t""no" 1>&6
7067 echo $ac_n "checking for pthread_setcanceltype in -lpthread""... $ac_c" 1>&6
7068 echo "configure:7069: checking for pthread_setcanceltype in -lpthread" >&5
7069 ac_lib_var
=`echo pthread'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
7070 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7071 echo $ac_n "(cached) $ac_c" 1>&6
7073 ac_save_LIBS
="$LIBS"
7074 LIBS
="-lpthread $LIBS"
7075 cat > conftest.
$ac_ext <<EOF
7076 #line 7077 "configure"
7077 #include "confdefs.h"
7078 /* Override any gcc2 internal prototype to avoid an error. */
7079 /* We use char because int might match the return type of a gcc2
7080 builtin and then its argument prototype would still apply. */
7081 char pthread_setcanceltype();
7084 pthread_setcanceltype()
7087 if { (eval echo configure
:7088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7089 eval "ac_cv_lib_$ac_lib_var=yes"
7091 echo "configure: failed program was:" >&5
7092 cat conftest.
$ac_ext >&5
7094 eval "ac_cv_lib_$ac_lib_var=no"
7097 LIBS
="$ac_save_LIBS"
7100 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7101 echo "$ac_t""yes" 1>&6
7103 UNIX_THREAD
="gtk/threadpsx.cpp"
7104 THREADS_LINK
="-lpthread"
7107 echo "$ac_t""no" 1>&6
7115 echo $ac_n "checking for printf in -lposix4""... $ac_c" 1>&6
7116 echo "configure:7117: checking for printf in -lposix4" >&5
7117 ac_lib_var
=`echo posix4'_'printf | sed 'y%./+-%__p_%'`
7118 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7119 echo $ac_n "(cached) $ac_c" 1>&6
7121 ac_save_LIBS
="$LIBS"
7122 LIBS
="-lposix4 $LIBS"
7123 cat > conftest.
$ac_ext <<EOF
7124 #line 7125 "configure"
7125 #include "confdefs.h"
7126 /* Override any gcc2 internal prototype to avoid an error. */
7127 /* We use char because int might match the return type of a gcc2
7128 builtin and then its argument prototype would still apply. */
7135 if { (eval echo configure
:7136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7137 eval "ac_cv_lib_$ac_lib_var=yes"
7139 echo "configure: failed program was:" >&5
7140 cat conftest.
$ac_ext >&5
7142 eval "ac_cv_lib_$ac_lib_var=no"
7145 LIBS
="$ac_save_LIBS"
7148 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7149 echo "$ac_t""yes" 1>&6
7151 THREADS_LINK
="$THREADS_LINK -lposix4"
7154 echo "$ac_t""no" 1>&6
7161 if test "$wxUSE_MOTIF" = "1"; then
7162 UNIX_THREAD
="motif/thread.cpp"
7165 if test -z "$UNIX_THREAD"; then
7171 cat >> confdefs.h
<<\EOF
7172 #define wxUSE_THREADS 1
7182 if test "$wxUSE_OPENGL" = 1; then
7183 echo $ac_n "checking for OpenGL includes""... $ac_c" 1>&6
7184 echo "configure:7185: checking for OpenGL includes" >&5
7187 for ac_dir
in $SEARCH_INCLUDE;
7189 if test -f "$ac_dir/GL/gl.h"; then
7190 ac_find_includes
=$ac_dir
7195 if test "$ac_find_includes" != "" ; then
7196 OPENGL_INCLUDE
="-I$ac_find_includes"
7197 echo "$ac_t""found $ac_find_includes" 1>&6
7198 echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6
7199 echo "configure:7200: checking for OpenGL library" >&5
7202 for ac_dir
in $SEARCH_LIB;
7204 for ac_extension
in a so sl
; do
7205 if test -f "$ac_dir/libGL.$ac_extension"; then
7206 ac_find_libraries
=$ac_dir
7212 if test "$ac_find_libraries" != "" ; then
7214 ac_path_to_include
=$ac_find_includes
7215 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7217 if test $result = 0; then
7218 ac_path_to_include
=""
7220 ac_path_to_include
="-I$ac_find_includes"
7224 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
7226 if test $result = 0; then
7229 ac_path_to_link
="-L$ac_find_libraries"
7232 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
7233 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
7234 OPENGL_LIBRARY
="$ac_path_to_link"
7235 OPENGL_INCLUDE
="$ac_path_to_include"
7237 echo "$ac_t""found OpenGL at $ac_find_libraries" 1>&6
7241 for ac_dir
in $SEARCH_LIB;
7243 for ac_extension
in a so sl
; do
7244 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7245 ac_find_libraries
=$ac_dir
7251 if test "$ac_find_libraries" != "" ; then
7253 ac_path_to_include
=$ac_find_includes
7254 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7256 if test $result = 0; then
7257 ac_path_to_include
=""
7259 ac_path_to_include
="-I$ac_find_includes"
7263 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
7265 if test $result = 0; then
7268 ac_path_to_link
="-L$ac_find_libraries"
7271 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
7272 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
7273 OPENGL_LIBRARY
="$ac_path_to_link"
7274 OPENGL_INCLUDE
="$ac_path_to_include"
7275 OPENGL_LINK
="-lMesaGL"
7276 echo "$ac_t""found MESA at $ac_find_libraries" 1>&6
7278 { echo "configure: error: no" 1>&2; exit 1; }
7282 { echo "configure: error: no" 1>&2; exit 1; }
7287 wxUSE_GLX
=$wxUSE_OPENGL
7288 if test "$wxUSE_OPENGL" != 1; then
7295 cat >> confdefs.h
<<EOF
7296 #define wxUSE_GLX $wxUSE_GLX
7307 case "${canonical}" in
7310 if test "$GCC" != "yes" ; then
7311 CXXFLAGS
="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
7312 CFLAGS
="${CFLAGS} -z -D_HPUX_SOURCE"
7318 CREATE_SHARED
=sharedHpux
7323 CREATE_SHARED
=sharedLinux
7326 *-*-irix5* | *-*-irix6* )
7327 # PICFLAGS can remain empty, as pic is the default
7329 CREATE_SHARED
=sharedIrix
7330 cat >> confdefs.h
<<\EOF
7337 if test "$GCC" != "yes" ; then
7342 CREATE_SHARED
=sharedSolaris2
7343 cat >> confdefs.h
<<\EOF
7350 if test "$GCC" != "yes" ; then
7356 CREATE_SHARED
=sharedSunos4
7357 cat >> confdefs.h
<<\EOF
7363 *-*-freebsd* | *-*-netbsd*)
7365 CREATE_SHARED
=sharedBsd
7366 cat >> confdefs.h
<<\EOF
7374 CREATE_SHARED
=sharedOSF
7378 if test "$GCC" != "yes" ; then
7383 CREATE_SHARED
=sharedDgux
7384 cat >> confdefs.h
<<\EOF
7391 if test "$GCC" != "yes" ; then
7396 CREATE_SHARED
=sharedSysV
7397 cat >> confdefs.h
<<\EOF
7404 if test "$GCC" != "yes" ; then
7409 CREATE_SHARED
=sharedAIX
7410 cat >> confdefs.h
<<\EOF
7421 if test "x$GCC" = xyes
; then
7422 CFLAGS
="${CFLAGS} -Wall"
7425 if test "x$GXX" = xyes
; then
7426 if test "$wxUSE_MOTIF" = 1; then
7427 CXXFLAGS
="${CXXFLAGS} -Wall -Wno-unused"
7429 CXXFLAGS
="${CXXFLAGS} -Wall"
7433 if test "$wxUSE_SHARED" != 1; then
7443 echo $OS >> system.list
7447 cat > confcache
<<\EOF
7448 # This file is a shell script that caches the results of configure
7449 # tests run on this system so they can be shared between configure
7450 # scripts and configure runs. It is not useful on other systems.
7451 # If it contains results you don't want to keep, you may remove or edit it.
7453 # By default, configure uses ./config.cache as the cache file,
7454 # creating it if it does not exist already. You can give configure
7455 # the --cache-file=FILE option to use a different cache file; that is
7456 # what configure does when it calls configure scripts in
7457 # subdirectories, so they share the cache.
7458 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7459 # config.status only pays attention to the cache file if you give it the
7460 # --recheck option to rerun configure.
7463 # The following way of writing the cache mishandles newlines in values,
7464 # but we know of no workaround that is simple, portable, and efficient.
7465 # So, don't put newlines in cache variables' values.
7466 # Ultrix sh set writes to stderr and can't be redirected directly,
7467 # and sets the high bit in the cache file unless we assign to the vars.
7469 case `(ac_space=' '; set) 2>&1` in
7471 # `set' does not quote correctly, so add quotes (double-quote substitution
7472 # turns \\\\ into \\, and sed turns \\ into \).
7474 -e "s/'/'\\\\''/g" \
7475 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7478 # `set' quotes correctly as required by POSIX, so do not add quotes.
7479 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7482 if cmp -s $cache_file confcache
; then
7485 if test -w $cache_file; then
7486 echo "updating cache $cache_file"
7487 cat confcache
> $cache_file
7489 echo "not updating unwritable cache $cache_file"
7494 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
7496 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7497 # Let make expand exec_prefix.
7498 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7500 # Any assignment to VPATH causes Sun make to only execute
7501 # the first set of double-colon rules, so remove it if not needed.
7502 # If there is a colon in the path, we need to keep it.
7503 if test "x$srcdir" = x.
; then
7504 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
7507 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
7509 DEFS
=-DHAVE_CONFIG_H
7511 # Without the "./", some shells look in PATH for config.status.
7512 : ${CONFIG_STATUS=./config.status}
7514 echo creating
$CONFIG_STATUS
7515 rm -f $CONFIG_STATUS
7516 cat > $CONFIG_STATUS <<EOF
7518 # Generated automatically by configure.
7519 # Run this file to recreate the current configuration.
7520 # This directory was configured as follows,
7521 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7523 # $0 $ac_configure_args
7525 # Compiler output produced by configure, useful for debugging
7526 # configure, is in ./config.log if it exists.
7528 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
7531 case "\$ac_option" in
7532 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7533 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
7534 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
7535 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
7536 echo "$CONFIG_STATUS generated by autoconf version 2.12"
7538 -help | --help | --hel | --he | --h)
7539 echo "\$ac_cs_usage"; exit 0 ;;
7540 *) echo "\$ac_cs_usage"; exit 1 ;;
7544 ac_given_srcdir=$srcdir
7545 ac_given_INSTALL="$INSTALL"
7547 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
7549 cat >> $CONFIG_STATUS <<EOF
7551 # Protect against being on the right side of a sed subst in config.status.
7552 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
7553 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
7556 s%@CFLAGS@%$CFLAGS%g
7557 s%@CPPFLAGS@%$CPPFLAGS%g
7558 s%@CXXFLAGS@%$CXXFLAGS%g
7560 s%@LDFLAGS@%$LDFLAGS%g
7562 s%@exec_prefix@%$exec_prefix%g
7563 s%@prefix@%$prefix%g
7564 s%@program_transform_name@%$program_transform_name%g
7565 s%@bindir@%$bindir%g
7566 s%@sbindir@%$sbindir%g
7567 s%@libexecdir@%$libexecdir%g
7568 s%@datadir@%$datadir%g
7569 s%@sysconfdir@%$sysconfdir%g
7570 s%@sharedstatedir@%$sharedstatedir%g
7571 s%@localstatedir@%$localstatedir%g
7572 s%@libdir@%$libdir%g
7573 s%@includedir@%$includedir%g
7574 s%@oldincludedir@%$oldincludedir%g
7575 s%@infodir@%$infodir%g
7576 s%@mandir@%$mandir%g
7577 s%@WXBASEDIR@%$WXBASEDIR%g
7581 s%@CXXCPP@%$CXXCPP%g
7582 s%@RANLIB@%$RANLIB%g
7584 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
7585 s%@INSTALL_DATA@%$INSTALL_DATA%g
7588 s%@X_CFLAGS@%$X_CFLAGS%g
7589 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
7590 s%@X_LIBS@%$X_LIBS%g
7591 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
7592 s%@GTK_JOYSTICK@%$GTK_JOYSTICK%g
7593 s%@LIBOBJS@%$LIBOBJS%g
7596 s%@LEXLIB@%$LEXLIB%g
7597 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
7599 s%@host_alias@%$host_alias%g
7600 s%@host_cpu@%$host_cpu%g
7601 s%@host_vendor@%$host_vendor%g
7602 s%@host_os@%$host_os%g
7603 s%@GTK_CONFIG@%$GTK_CONFIG%g
7604 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
7605 s%@GTK_LIBS@%$GTK_LIBS%g
7606 s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g
7607 s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g
7608 s%@GUI_TK_LINK@%$GUI_TK_LINK%g
7609 s%@WX_LINK@%$WX_LINK%g
7610 s%@TOOLKIT@%$TOOLKIT%g
7611 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
7612 s%@MAKEINCLUDE@%$MAKEINCLUDE%g
7613 s%@WXDEBUG@%$WXDEBUG%g
7614 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
7615 s%@EXTRA_LINK@%$EXTRA_LINK%g
7616 s%@PROFILE@%$PROFILE%g
7617 s%@OPTIMISE@%$OPTIMISE%g
7618 s%@IODBC_C_SRC@%$IODBC_C_SRC%g
7619 s%@METAFILE@%$METAFILE%g
7621 s%@WXGRAPH@%$WXGRAPH%g
7622 s%@WXTREE@%$WXTREE%g
7623 s%@DL_LIBRARY@%$DL_LIBRARY%g
7624 s%@UNIX_THREAD@%$UNIX_THREAD%g
7625 s%@THREADS_LINK@%$THREADS_LINK%g
7626 s%@OPENGL_INCLUDE@%$OPENGL_INCLUDE%g
7627 s%@OPENGL_LIBRARY@%$OPENGL_LIBRARY%g
7628 s%@OPENGL_LINK@%$OPENGL_LINK%g
7629 s%@GLCANVAS@%$GLCANVAS%g
7631 s%@PICFLAGS@%$PICFLAGS%g
7632 s%@CREATE_SHARED@%$CREATE_SHARED%g
7637 cat >> $CONFIG_STATUS <<\EOF
7639 # Split the substitutions into bite-sized pieces for seds with
7640 # small command number limits, like on Digital OSF/1 and HP-UX.
7641 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
7642 ac_file
=1 # Number of current file.
7643 ac_beg
=1 # First line for current file.
7644 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
7647 while $ac_more_lines; do
7648 if test $ac_beg -gt 1; then
7649 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
7651 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
7653 if test ! -s conftest.s
$ac_file; then
7655 rm -f conftest.s
$ac_file
7657 if test -z "$ac_sed_cmds"; then
7658 ac_sed_cmds
="sed -f conftest.s$ac_file"
7660 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
7662 ac_file
=`expr $ac_file + 1`
7664 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
7667 if test -z "$ac_sed_cmds"; then
7672 cat >> $CONFIG_STATUS <<EOF
7674 CONFIG_FILES=\${CONFIG_FILES-"./setup/substit ./wx-config:./wx-config.in"}
7676 cat >> $CONFIG_STATUS <<\EOF
7677 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
7678 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7680 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7681 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7682 *) ac_file_in
="${ac_file}.in" ;;
7685 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
7687 # Remove last slash and all that follows it. Not all systems have dirname.
7688 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7689 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
7690 # The file is in a subdirectory.
7691 test ! -d "$ac_dir" && mkdir "$ac_dir"
7692 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
7693 # A "../" for each directory in $ac_dir_suffix.
7694 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
7696 ac_dir_suffix
= ac_dots
=
7699 case "$ac_given_srcdir" in
7701 if test -z "$ac_dots"; then top_srcdir
=.
7702 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
7703 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
7705 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
7706 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
7709 case "$ac_given_INSTALL" in
7710 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
7711 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
7714 echo creating
"$ac_file"
7716 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
7718 *Makefile
*) ac_comsub
="1i\\
7719 # $configure_input" ;;
7723 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7725 s%@configure_input@%$configure_input%g
7726 s%@srcdir@%$srcdir%g
7727 s%@top_srcdir@%$top_srcdir%g
7728 s%@INSTALL@%$INSTALL%g
7729 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
7733 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7734 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7736 # ac_d sets the value in "#define NAME VALUE" lines.
7737 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7738 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
7741 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
7742 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7743 ac_uB
='\([ ]\)%\1#\2define\3'
7746 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7747 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7748 ac_eB
='$%\1#\2define\3'
7752 if test "${CONFIG_HEADERS+set}" != set; then
7754 cat >> $CONFIG_STATUS <<EOF
7755 CONFIG_HEADERS="./include/wx/gtk/setup.h:./setup/setup.hin"
7757 cat >> $CONFIG_STATUS <<\EOF
7759 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
7760 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7762 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7763 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7764 *) ac_file_in
="${ac_file}.in" ;;
7767 echo creating
$ac_file
7769 rm -f conftest.frag conftest.
in conftest.out
7770 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7771 cat $ac_file_inputs > conftest.
in
7775 # Transform confdefs.h into a sed script conftest.vals that substitutes
7776 # the proper values into config.h.in to produce config.h. And first:
7777 # Protect against being on the right side of a sed subst in config.status.
7778 # Protect against being in an unquoted here document in config.status.
7780 cat > conftest.hdr
<<\EOF
7783 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
7787 sed -n -f conftest.hdr confdefs.h > conftest.vals
7790 # This sed command replaces #undef with comments. This is necessary, for
7791 # example, in the case of _POSIX_SOURCE, which is predefined and required
7792 # on some systems where configure will not decide to define it.
7793 cat >> conftest.vals <<\EOF
7794 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
7797 # Break up conftest.vals because some shells have a limit on
7798 # the size of here documents, and old seds have small limits too.
7803 ac_lines=`grep -c . conftest.vals
`
7804 # grep -c gives empty output for an empty file on some AIX systems.
7805 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
7806 # Write a limited-size here document to conftest.frag.
7807 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
7808 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
7810 sed -f conftest.frag conftest.in > conftest.out
7812 mv conftest.out conftest.in
7814 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
7816 mv conftest.tail conftest.vals
7820 cat >> $CONFIG_STATUS <<\EOF
7821 rm -f conftest.frag conftest.h
7822 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
7823 cat conftest.in >> conftest.h
7825 if cmp -s $ac_file conftest.h 2>/dev/null; then
7826 echo "$ac_file is unchanged"
7829 # Remove last slash and all that follows it. Not all systems have dirname.
7830 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7831 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7832 # The file is in a subdirectory.
7833 test ! -d "$ac_dir" && mkdir "$ac_dir"
7836 mv conftest.h $ac_file
7841 cat >> $CONFIG_STATUS <<EOF
7844 cat >> $CONFIG_STATUS <<\EOF
7845 ./setup/general/createall
7848 chmod +x $CONFIG_STATUS
7849 rm -fr confdefs* $ac_clean_files
7850 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
7854 mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache