3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.12
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --with-x use the X Window System"
21 **--with-motif use Motif/Lesstif"
23 **--with-shared create shared libraries"
25 **--with-optimise create optimised code"
27 **--with-debug_flag create code with WXDEBUG define set to 1"
29 **--with-debug_info create code with debuging information"
31 **--with-mem_traing create code with memory tracing"
33 **--with-dmalloc use dmalloc memory debug library (www.letters.com/dmalloc/)"
35 **--with-profile create code with profiling information"
37 **--with_apple_ieee use the Apple IEEE codec"
39 **--with-zlib use zlib for LZW comression"
41 **--with-gdk_imlib use Raster's gdk_imlib (Image library)"
43 **--with-libpng use libpng (PNG image format)"
45 **--with-odbc use iODBC and wxODBC classes"
47 **--with-opengl use OpenGL (or Mesa)"
49 **--with-gauge use wxGauge class"
51 **--with-combobox use wxComboBox class"
53 **--with-scrollbar use wxScrollbar class"
55 **--with-listctrl use wxListCtrl class"
57 **--with-treectrl use wxTreeCtrl class"
59 **--with-grid use wxGrid class"
61 **--with-tab_dialog use wxTabDia class"
63 **--with-notebook use wxNotebook class"
65 **--with-timedate use wxTime and wxDate classes"
67 **--with-fraction use wxFraction class"
69 **--with-log use logging system"
71 **--with-intl use internationalization system"
73 **--with-config use wxConfig class"
75 **--with-streams use wxStream etc classes"
77 **--with-serial use class serialization"
79 **--with-file use wxFile class"
81 **--with-textfile use wxTextFile class"
83 **--with-afmfonts use Adobe Font Metric Font table"
85 **--with-PS-normalized use normalized PS fonts"
87 **--with-postscript use wxPostscriptDC device context"
89 **--with-wxresources use wxWindows's resources"
91 **--with-prologio use Prolog IO library"
93 **--with-rpc use Prolog's remote procedure calls"
95 **--with-ipc use interprocess communication (wxSocket etc.)"
97 **--with-resources use X resources for saving information"
99 **--with-clipboard use wxClipboard classes"
101 **--with-dnd use Drag'n'Drop classes"
103 **--with-constraints use layout-constraints system"
105 **--with-mdi use multiple document interface architecture"
107 **--with-docview use document view architecture"
109 **--with-printarch use printing architecture"
111 **--with-gtk-prefix=PFX Prefix where GTK is installed"
113 **--with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
115 **--without-threads Force disabling threads"
117 # Initialize some variables set by options.
118 # The variables have the same names as the options, with
119 # dashes changed to underlines.
121 cache_file
=.
/config.cache
130 program_transform_name
=s
,x
,x
,
138 bindir
='${exec_prefix}/bin'
139 sbindir
='${exec_prefix}/sbin'
140 libexecdir
='${exec_prefix}/libexec'
141 datadir
='${prefix}/share'
142 sysconfdir
='${prefix}/etc'
143 sharedstatedir
='${prefix}/com'
144 localstatedir
='${prefix}/var'
145 libdir
='${exec_prefix}/lib'
146 includedir
='${prefix}/include'
147 oldincludedir
='/usr/include'
148 infodir
='${prefix}/info'
149 mandir
='${prefix}/man'
151 # Initialize some other variables.
154 # Maximum number of lines to put in a shell here document.
161 # If the previous option needs an argument, assign it.
162 if test -n "$ac_prev"; then
163 eval "$ac_prev=\$ac_option"
169 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
173 # Accept the important Cygnus configure options, so we can diagnose typos.
177 -bindir | --bindir | --bindi | --bind | --bin | --bi)
179 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
180 bindir
="$ac_optarg" ;;
182 -build | --build | --buil | --bui | --bu)
184 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
185 build
="$ac_optarg" ;;
187 -cache-file | --cache-file | --cache-fil | --cache-fi \
188 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
189 ac_prev
=cache_file
;;
190 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
191 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
192 cache_file
="$ac_optarg" ;;
194 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
196 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
198 datadir
="$ac_optarg" ;;
200 -disable-* | --disable-*)
201 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
202 # Reject names that are not valid shell variable names.
203 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
204 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
206 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
207 eval "enable_${ac_feature}=no" ;;
209 -enable-* | --enable-*)
210 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
211 # Reject names that are not valid shell variable names.
212 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
213 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
215 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
220 eval "enable_${ac_feature}='$ac_optarg'" ;;
222 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
223 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
224 | --exec | --exe | --ex)
225 ac_prev
=exec_prefix
;;
226 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
227 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
228 | --exec=* | --exe=* | --ex=*)
229 exec_prefix
="$ac_optarg" ;;
231 -gas | --gas | --ga | --g)
232 # Obsolete; use --with-gas.
235 -help | --help | --hel | --he)
236 # Omit some internal or obsolete options to make the list less imposing.
237 # This message is too long to be a string in the A/UX 3.1 sh.
239 Usage: configure [options] [host]
240 Options: [defaults in brackets after descriptions]
242 --cache-file=FILE cache test results in FILE
243 --help print this message
244 --no-create do not create output files
245 --quiet, --silent do not print \`checking...' messages
246 --version print the version of autoconf that created configure
247 Directory and file names:
248 --prefix=PREFIX install architecture-independent files in PREFIX
250 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
252 --bindir=DIR user executables in DIR [EPREFIX/bin]
253 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
254 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
255 --datadir=DIR read-only architecture-independent data in DIR
257 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
258 --sharedstatedir=DIR modifiable architecture-independent data in DIR
260 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
261 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
262 --includedir=DIR C header files in DIR [PREFIX/include]
263 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
264 --infodir=DIR info documentation in DIR [PREFIX/info]
265 --mandir=DIR man documentation in DIR [PREFIX/man]
266 --srcdir=DIR find the sources in DIR [configure dir or ..]
267 --program-prefix=PREFIX prepend PREFIX to installed program names
268 --program-suffix=SUFFIX append SUFFIX to installed program names
269 --program-transform-name=PROGRAM
270 run sed PROGRAM on installed program names
274 --build=BUILD configure for building on BUILD [BUILD=HOST]
275 --host=HOST configure for HOST [guessed]
276 --target=TARGET configure for TARGET [TARGET=HOST]
277 Features and packages:
278 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
279 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
280 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
281 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
282 --x-includes=DIR X include files are in DIR
283 --x-libraries=DIR X library files are in DIR
285 if test -n "$ac_help"; then
286 echo "--enable and --with options recognized:$ac_help"
290 -host | --host | --hos | --ho)
292 -host=* | --host=* | --hos=* | --ho=*)
295 -includedir | --includedir | --includedi | --included | --include \
296 | --includ | --inclu | --incl | --inc)
297 ac_prev
=includedir
;;
298 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
299 | --includ=* | --inclu=* | --incl=* | --inc=*)
300 includedir
="$ac_optarg" ;;
302 -infodir | --infodir | --infodi | --infod | --info | --inf)
304 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
305 infodir
="$ac_optarg" ;;
307 -libdir | --libdir | --libdi | --libd)
309 -libdir=* | --libdir=* | --libdi=* | --libd=*)
310 libdir
="$ac_optarg" ;;
312 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
313 | --libexe | --libex | --libe)
314 ac_prev
=libexecdir
;;
315 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
316 | --libexe=* | --libex=* | --libe=*)
317 libexecdir
="$ac_optarg" ;;
319 -localstatedir | --localstatedir | --localstatedi | --localstated \
320 | --localstate | --localstat | --localsta | --localst \
321 | --locals | --local | --loca | --loc | --lo)
322 ac_prev
=localstatedir
;;
323 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
324 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
325 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
326 localstatedir
="$ac_optarg" ;;
328 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
330 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
331 mandir
="$ac_optarg" ;;
334 # Obsolete; use --without-fp.
337 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
341 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
342 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
345 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
346 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
347 | --oldin | --oldi | --old | --ol | --o)
348 ac_prev
=oldincludedir
;;
349 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
350 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
351 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
352 oldincludedir
="$ac_optarg" ;;
354 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
356 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
357 prefix
="$ac_optarg" ;;
359 -program-prefix | --program-prefix | --program-prefi | --program-pref \
360 | --program-pre | --program-pr | --program-p)
361 ac_prev
=program_prefix
;;
362 -program-prefix=* | --program-prefix=* | --program-prefi=* \
363 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
364 program_prefix
="$ac_optarg" ;;
366 -program-suffix | --program-suffix | --program-suffi | --program-suff \
367 | --program-suf | --program-su | --program-s)
368 ac_prev
=program_suffix
;;
369 -program-suffix=* | --program-suffix=* | --program-suffi=* \
370 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
371 program_suffix
="$ac_optarg" ;;
373 -program-transform-name | --program-transform-name \
374 | --program-transform-nam | --program-transform-na \
375 | --program-transform-n | --program-transform- \
376 | --program-transform | --program-transfor \
377 | --program-transfo | --program-transf \
378 | --program-trans | --program-tran \
379 | --progr-tra | --program-tr | --program-t)
380 ac_prev
=program_transform_name
;;
381 -program-transform-name=* | --program-transform-name=* \
382 | --program-transform-nam=* | --program-transform-na=* \
383 | --program-transform-n=* | --program-transform-=* \
384 | --program-transform=* | --program-transfor=* \
385 | --program-transfo=* | --program-transf=* \
386 | --program-trans=* | --program-tran=* \
387 | --progr-tra=* | --program-tr=* | --program-t=*)
388 program_transform_name
="$ac_optarg" ;;
390 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
391 | -silent | --silent | --silen | --sile | --sil)
394 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
396 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
398 sbindir
="$ac_optarg" ;;
400 -sharedstatedir | --sharedstatedir | --sharedstatedi \
401 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
402 | --sharedst | --shareds | --shared | --share | --shar \
404 ac_prev
=sharedstatedir
;;
405 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
406 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
407 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
409 sharedstatedir
="$ac_optarg" ;;
411 -site | --site | --sit)
413 -site=* | --site=* | --sit=*)
416 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
418 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
419 srcdir
="$ac_optarg" ;;
421 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
422 | --syscon | --sysco | --sysc | --sys | --sy)
423 ac_prev
=sysconfdir
;;
424 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
425 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
426 sysconfdir
="$ac_optarg" ;;
428 -target | --target | --targe | --targ | --tar | --ta | --t)
430 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
431 target
="$ac_optarg" ;;
433 -v | -verbose | --verbose | --verbos | --verbo | --verb)
436 -version | --version | --versio | --versi | --vers)
437 echo "configure generated by autoconf version 2.12"
441 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
442 # Reject names that are not valid shell variable names.
443 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
444 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
446 ac_package
=`echo $ac_package| sed 's/-/_/g'`
451 eval "with_${ac_package}='$ac_optarg'" ;;
453 -without-* | --without-*)
454 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
455 # Reject names that are not valid shell variable names.
456 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
457 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
459 ac_package
=`echo $ac_package| sed 's/-/_/g'`
460 eval "with_${ac_package}=no" ;;
463 # Obsolete; use --with-x.
466 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
467 | --x-incl | --x-inc | --x-in | --x-i)
468 ac_prev
=x_includes
;;
469 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
470 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
471 x_includes
="$ac_optarg" ;;
473 -x-libraries | --x-libraries | --x-librarie | --x-librari \
474 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
475 ac_prev
=x_libraries
;;
476 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
477 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
478 x_libraries
="$ac_optarg" ;;
480 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
484 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
485 echo "configure: warning: $ac_option: invalid host type" 1>&2
487 if test "x$nonopt" != xNONE
; then
488 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
496 if test -n "$ac_prev"; then
497 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
500 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
502 # File descriptor usage:
505 # 2 errors and warnings
506 # 3 some systems may open it to /dev/tty
507 # 4 used on the Kubota Titan
508 # 6 checking for... messages and results
509 # 5 compiler messages saved in config.log
510 if test "$silent" = yes; then
518 This file contains any messages produced by compilers while
519 running configure, to aid debugging if configure makes a mistake.
522 # Strip out --no-create and --no-recursion so they do not pile up.
523 # Also quote any args containing shell metacharacters.
528 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
529 | --no-cr | --no-c) ;;
530 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
531 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
532 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
533 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
534 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
539 # Only set these to C if already set. These must not be set unconditionally
540 # because not all systems understand e.g. LANG=C (notably SCO).
541 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
542 # Non-C LC_CTYPE values break the ctype check.
543 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
544 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
545 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
546 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
548 # confdefs.h avoids OS command line length limits that DEFS can exceed.
549 rm -rf conftest
* confdefs.h
550 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
553 # A filename unique to this package, relative to the directory that
554 # configure is in, which we can look for to find out if srcdir is correct.
555 ac_unique_file
=configure.
in
557 # Find the source files, if location was not specified.
558 if test -z "$srcdir"; then
559 ac_srcdir_defaulted
=yes
560 # Try the directory containing this script, then its parent.
562 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
563 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
565 if test ! -r $srcdir/$ac_unique_file; then
569 ac_srcdir_defaulted
=no
571 if test ! -r $srcdir/$ac_unique_file; then
572 if test "$ac_srcdir_defaulted" = yes; then
573 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
575 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
578 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
580 # Prefer explicitly selected file to automatically selected ones.
581 if test -z "$CONFIG_SITE"; then
582 if test "x$prefix" != xNONE
; then
583 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
585 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
588 for ac_site_file
in $CONFIG_SITE; do
589 if test -r "$ac_site_file"; then
590 echo "loading site script $ac_site_file"
595 if test -r "$cache_file"; then
596 echo "loading cache $cache_file"
599 echo "creating cache $cache_file"
604 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
605 ac_cpp
='$CPP $CPPFLAGS'
606 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
607 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
608 cross_compiling
=$ac_cv_prog_cc_cross
610 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
611 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
612 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
619 ac_n
= ac_c
='\c' ac_t
=
627 if test "x$OS" = "x"; then
629 { echo "configure: error: "The system variable OS has not been
set"
630 "please
set is everytime befor compiling on this system
"
631 "A good example
for this system would be
:"
632 "setenv OSTYPE
$UNAME for csh as a SHELL
"
633 "EXPORT OSTYPE
=$UNAME for sh as SHELL
"
634 "please
set this and restart again.
"
644 /usr/Motif1.2/include \
654 /usr/local/X11R6/include \
655 /usr/local/X11R5/include \
656 /usr/local/X11R4/include \
658 /usr/local/include/X11R6 \
659 /usr/local/include/X11R5 \
660 /usr/local/include/X11R4 \
664 /usr/local/X11/include \
665 /usr/local/include/X11 \
669 /usr/XFree86/include/X11 \
673 /usr/unsupported/include \
674 /usr/athena/include \
675 /usr/local/x11r5/include \
676 /usr/lpp/Xamples/include \
678 /usr/local/include/gtk \
679 /usr/X11R6/include/Xm \
680 /usr/X11/include/Xm \
683 /usr/openwin/include \
684 /usr/openwin/share/include \
687 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` \
692 # Extract the first word of "gcc", so it can be a program name with args.
693 set dummy gcc
; ac_word
=$2
694 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
695 echo "configure:696: checking for $ac_word" >&5
696 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
697 echo $ac_n "(cached) $ac_c" 1>&6
699 if test -n "$CC"; then
700 ac_cv_prog_CC
="$CC" # Let the user override the test.
702 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
703 for ac_dir
in $PATH; do
704 test -z "$ac_dir" && ac_dir
=.
705 if test -f $ac_dir/$ac_word; then
714 if test -n "$CC"; then
715 echo "$ac_t""$CC" 1>&6
717 echo "$ac_t""no" 1>&6
720 if test -z "$CC"; then
721 # Extract the first word of "cc", so it can be a program name with args.
722 set dummy cc
; ac_word
=$2
723 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
724 echo "configure:725: checking for $ac_word" >&5
725 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
726 echo $ac_n "(cached) $ac_c" 1>&6
728 if test -n "$CC"; then
729 ac_cv_prog_CC
="$CC" # Let the user override the test.
731 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
733 for ac_dir
in $PATH; do
734 test -z "$ac_dir" && ac_dir
=.
735 if test -f $ac_dir/$ac_word; then
736 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
745 if test $ac_prog_rejected = yes; then
746 # We found a bogon in the path, so make sure we never use it.
747 set dummy
$ac_cv_prog_CC
749 if test $# -gt 0; then
750 # We chose a different compiler from the bogus one.
751 # However, it has the same basename, so the bogon will be chosen
752 # first if we set CC to just the basename; use the full file name.
754 set dummy
"$ac_dir/$ac_word" "$@"
762 if test -n "$CC"; then
763 echo "$ac_t""$CC" 1>&6
765 echo "$ac_t""no" 1>&6
768 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
771 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
772 echo "configure:773: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
775 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
776 ac_cpp
='$CPP $CPPFLAGS'
777 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
778 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
779 cross_compiling
=$ac_cv_prog_cc_cross
781 cat > conftest.
$ac_ext <<EOF
782 #line 783 "configure"
783 #include "confdefs.h"
786 if { (eval echo configure
:787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
787 ac_cv_prog_cc_works
=yes
788 # If we can't run a trivial program, we are probably using a cross compiler.
789 if (.
/conftest
; exit) 2>/dev
/null
; then
790 ac_cv_prog_cc_cross
=no
792 ac_cv_prog_cc_cross
=yes
795 echo "configure: failed program was:" >&5
796 cat conftest.
$ac_ext >&5
797 ac_cv_prog_cc_works
=no
801 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
802 if test $ac_cv_prog_cc_works = no
; then
803 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
805 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
806 echo "configure:807: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
807 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
808 cross_compiling
=$ac_cv_prog_cc_cross
810 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
811 echo "configure:812: checking whether we are using GNU C" >&5
812 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
813 echo $ac_n "(cached) $ac_c" 1>&6
815 cat > conftest.c
<<EOF
820 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
827 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
829 if test $ac_cv_prog_gcc = yes; then
831 ac_test_CFLAGS
="${CFLAGS+set}"
832 ac_save_CFLAGS
="$CFLAGS"
834 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
835 echo "configure:836: checking whether ${CC-cc} accepts -g" >&5
836 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
837 echo $ac_n "(cached) $ac_c" 1>&6
839 echo 'void f(){}' > conftest.c
840 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
849 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
850 if test "$ac_test_CFLAGS" = set; then
851 CFLAGS
="$ac_save_CFLAGS"
852 elif test $ac_cv_prog_cc_g = yes; then
859 test "${CFLAGS+set}" = set || CFLAGS
="-g"
863 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
865 if test "x$CC" != xcc
; then
866 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
867 echo "configure:868: checking whether $CC and cc understand -c and -o together" >&5
869 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
870 echo "configure:871: checking whether cc understands -c and -o together" >&5
872 set dummy
$CC; ac_cc
="`echo $2 |
873 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
874 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
875 echo $ac_n "(cached) $ac_c" 1>&6
877 echo 'foo(){}' > conftest.c
878 # Make sure it works both with $CC and with simple cc.
879 # We do the test twice because some compilers refuse to overwrite an
880 # existing .o file with -o, though they will create one.
881 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5'
882 if { (eval echo configure
:883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
883 test -f conftest.o
&& { (eval echo configure
:884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
885 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
886 if test "x$CC" != xcc
; then
887 # Test first that cc exists at all.
888 if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
889 ac_try
='cc -c conftest.c -o conftest.o 1>&5'
890 if { (eval echo configure
:891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
891 test -f conftest.o
&& { (eval echo configure
:892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
896 # cc exists but doesn't like -o.
897 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
902 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
907 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
908 echo "$ac_t""yes" 1>&6
910 echo "$ac_t""no" 1>&6
911 cat >> confdefs.h
<<\EOF
912 #define NO_MINUS_C_MINUS_O 1
917 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
918 echo "configure:919: checking how to run the C preprocessor" >&5
919 # On Suns, sometimes $CPP names a directory.
920 if test -n "$CPP" && test -d "$CPP"; then
923 if test -z "$CPP"; then
924 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
925 echo $ac_n "(cached) $ac_c" 1>&6
927 # This must be in double quotes, not single quotes, because CPP may get
928 # substituted into the Makefile and "${CC-cc}" will confuse make.
930 # On the NeXT, cc -E runs the code through the compiler's parser,
931 # not just through cpp.
932 cat > conftest.
$ac_ext <<EOF
933 #line 934 "configure"
934 #include "confdefs.h"
938 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
939 { (eval echo configure
:940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
940 ac_err
=`grep -v '^ *+' conftest.out`
941 if test -z "$ac_err"; then
945 echo "configure: failed program was:" >&5
946 cat conftest.
$ac_ext >&5
948 CPP
="${CC-cc} -E -traditional-cpp"
949 cat > conftest.
$ac_ext <<EOF
950 #line 951 "configure"
951 #include "confdefs.h"
955 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
956 { (eval echo configure
:957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
957 ac_err
=`grep -v '^ *+' conftest.out`
958 if test -z "$ac_err"; then
962 echo "configure: failed program was:" >&5
963 cat conftest.
$ac_ext >&5
970 ac_cv_prog_CPP
="$CPP"
972 CPP
="$ac_cv_prog_CPP"
974 ac_cv_prog_CPP
="$CPP"
976 echo "$ac_t""$CPP" 1>&6
978 if test $ac_cv_prog_gcc = yes; then
979 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
980 echo "configure:981: checking whether ${CC-cc} needs -traditional" >&5
981 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
982 echo $ac_n "(cached) $ac_c" 1>&6
984 ac_pattern
="Autoconf.*'x'"
985 cat > conftest.
$ac_ext <<EOF
986 #line 987 "configure"
987 #include "confdefs.h"
991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
992 egrep "$ac_pattern" >/dev
/null
2>&1; then
994 ac_cv_prog_gcc_traditional
=yes
997 ac_cv_prog_gcc_traditional
=no
1002 if test $ac_cv_prog_gcc_traditional = no
; then
1003 cat > conftest.
$ac_ext <<EOF
1004 #line 1005 "configure"
1005 #include "confdefs.h"
1009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1010 egrep "$ac_pattern" >/dev
/null
2>&1; then
1012 ac_cv_prog_gcc_traditional
=yes
1019 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
1020 if test $ac_cv_prog_gcc_traditional = yes; then
1021 CC
="$CC -traditional"
1028 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1030 # Extract the first word of "$ac_prog", so it can be a program name with args.
1031 set dummy
$ac_prog; ac_word
=$2
1032 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1033 echo "configure:1034: checking for $ac_word" >&5
1034 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1035 echo $ac_n "(cached) $ac_c" 1>&6
1037 if test -n "$CXX"; then
1038 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1040 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1041 for ac_dir
in $PATH; do
1042 test -z "$ac_dir" && ac_dir
=.
1043 if test -f $ac_dir/$ac_word; then
1044 ac_cv_prog_CXX
="$ac_prog"
1051 CXX
="$ac_cv_prog_CXX"
1052 if test -n "$CXX"; then
1053 echo "$ac_t""$CXX" 1>&6
1055 echo "$ac_t""no" 1>&6
1058 test -n "$CXX" && break
1060 test -n "$CXX" || CXX
="gcc"
1063 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1064 echo "configure:1065: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1067 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1068 ac_cpp
='$CXXCPP $CPPFLAGS'
1069 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1070 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1071 cross_compiling
=$ac_cv_prog_cxx_cross
1073 cat > conftest.
$ac_ext <<EOF
1074 #line 1075 "configure"
1075 #include "confdefs.h"
1078 if { (eval echo configure
:1079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1079 ac_cv_prog_cxx_works
=yes
1080 # If we can't run a trivial program, we are probably using a cross compiler.
1081 if (.
/conftest
; exit) 2>/dev
/null
; then
1082 ac_cv_prog_cxx_cross
=no
1084 ac_cv_prog_cxx_cross
=yes
1087 echo "configure: failed program was:" >&5
1088 cat conftest.
$ac_ext >&5
1089 ac_cv_prog_cxx_works
=no
1093 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1094 ac_cpp
='$CPP $CPPFLAGS'
1095 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1096 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1097 cross_compiling
=$ac_cv_prog_cc_cross
1099 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1100 if test $ac_cv_prog_cxx_works = no
; then
1101 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1103 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1104 echo "configure:1105: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1105 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1106 cross_compiling
=$ac_cv_prog_cxx_cross
1108 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1109 echo "configure:1110: checking whether we are using GNU C++" >&5
1110 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1111 echo $ac_n "(cached) $ac_c" 1>&6
1113 cat > conftest.C
<<EOF
1118 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
1125 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1127 if test $ac_cv_prog_gxx = yes; then
1129 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1130 ac_save_CXXFLAGS
="$CXXFLAGS"
1132 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1133 echo "configure:1134: checking whether ${CXX-g++} accepts -g" >&5
1134 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1135 echo $ac_n "(cached) $ac_c" 1>&6
1137 echo 'void f(){}' > conftest.cc
1138 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1139 ac_cv_prog_cxx_g
=yes
1147 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1148 if test "$ac_test_CXXFLAGS" = set; then
1149 CXXFLAGS
="$ac_save_CXXFLAGS"
1150 elif test $ac_cv_prog_cxx_g = yes; then
1157 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1160 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1161 echo "configure:1162: checking how to run the C++ preprocessor" >&5
1162 if test -z "$CXXCPP"; then
1163 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1164 echo $ac_n "(cached) $ac_c" 1>&6
1167 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1168 ac_cpp
='$CXXCPP $CPPFLAGS'
1169 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1170 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1171 cross_compiling
=$ac_cv_prog_cxx_cross
1172 CXXCPP
="${CXX-g++} -E"
1173 cat > conftest.
$ac_ext <<EOF
1174 #line 1175 "configure"
1175 #include "confdefs.h"
1178 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1179 { (eval echo configure
:1180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1180 ac_err
=`grep -v '^ *+' conftest.out`
1181 if test -z "$ac_err"; then
1185 echo "configure: failed program was:" >&5
1186 cat conftest.
$ac_ext >&5
1191 ac_cv_prog_CXXCPP
="$CXXCPP"
1193 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1194 ac_cpp
='$CPP $CPPFLAGS'
1195 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1196 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1197 cross_compiling
=$ac_cv_prog_cc_cross
1200 CXXCPP
="$ac_cv_prog_CXXCPP"
1201 echo "$ac_t""$CXXCPP" 1>&6
1204 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
1208 # Extract the first word of "ranlib", so it can be a program name with args.
1209 set dummy ranlib
; ac_word
=$2
1210 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1211 echo "configure:1212: checking for $ac_word" >&5
1212 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1213 echo $ac_n "(cached) $ac_c" 1>&6
1215 if test -n "$RANLIB"; then
1216 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1218 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1219 for ac_dir
in $PATH; do
1220 test -z "$ac_dir" && ac_dir
=.
1221 if test -f $ac_dir/$ac_word; then
1222 ac_cv_prog_RANLIB
="ranlib"
1227 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1230 RANLIB
="$ac_cv_prog_RANLIB"
1231 if test -n "$RANLIB"; then
1232 echo "$ac_t""$RANLIB" 1>&6
1234 echo "$ac_t""no" 1>&6
1238 # Extract the first word of "ar", so it can be a program name with args.
1239 set dummy
ar; ac_word
=$2
1240 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1241 echo "configure:1242: checking for $ac_word" >&5
1242 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1243 echo $ac_n "(cached) $ac_c" 1>&6
1245 if test -n "$AR"; then
1246 ac_cv_prog_AR
="$AR" # Let the user override the test.
1248 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1249 for ac_dir
in $PATH; do
1250 test -z "$ac_dir" && ac_dir
=.
1251 if test -f $ac_dir/$ac_word; then
1257 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1261 if test -n "$AR"; then
1262 echo "$ac_t""$AR" 1>&6
1264 echo "$ac_t""no" 1>&6
1269 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1270 if test -f $ac_dir/install-sh; then
1272 ac_install_sh
="$ac_aux_dir/install-sh -c"
1274 elif test -f $ac_dir/install.sh
; then
1276 ac_install_sh
="$ac_aux_dir/install.sh -c"
1280 if test -z "$ac_aux_dir"; then
1281 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1283 ac_config_guess
=$ac_aux_dir/config.guess
1284 ac_config_sub
=$ac_aux_dir/config.sub
1285 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1287 # Find a good install program. We prefer a C program (faster),
1288 # so one script is as good as another. But avoid the broken or
1289 # incompatible versions:
1290 # SysV /etc/install, /usr/sbin/install
1291 # SunOS /usr/etc/install
1292 # IRIX /sbin/install
1294 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1295 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1296 # ./install, which can be erroneously created by make from ./install.sh.
1297 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1298 echo "configure:1299: checking for a BSD compatible install" >&5
1299 if test -z "$INSTALL"; then
1300 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1301 echo $ac_n "(cached) $ac_c" 1>&6
1303 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1304 for ac_dir
in $PATH; do
1305 # Account for people who put trailing slashes in PATH elements.
1307 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
1309 # OSF1 and SCO ODT 3.0 have their own names for install.
1310 for ac_prog
in ginstall installbsd scoinst
install; do
1311 if test -f $ac_dir/$ac_prog; then
1312 if test $ac_prog = install &&
1313 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1314 # AIX install. It has an incompatible calling convention.
1315 # OSF/1 installbsd also uses dspmsg, but is usable.
1318 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1329 if test "${ac_cv_path_install+set}" = set; then
1330 INSTALL
="$ac_cv_path_install"
1332 # As a last resort, use the slow shell script. We don't cache a
1333 # path for INSTALL within a source directory, because that will
1334 # break other packages using the cache if that directory is
1335 # removed, or if the path is relative.
1336 INSTALL
="$ac_install_sh"
1339 echo "$ac_t""$INSTALL" 1>&6
1341 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1342 # It thinks the first close brace ends the variable substitution.
1343 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1345 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1348 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1349 echo "configure:1350: checking whether ln -s works" >&5
1350 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1351 echo $ac_n "(cached) $ac_c" 1>&6
1354 if ln -s X conftestdata
2>/dev
/null
1357 ac_cv_prog_LN_S
="ln -s"
1362 LN_S
="$ac_cv_prog_LN_S"
1363 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1364 echo "$ac_t""yes" 1>&6
1366 echo "$ac_t""no" 1>&6
1370 for ac_prog
in mawk gawk nawk
awk
1372 # Extract the first word of "$ac_prog", so it can be a program name with args.
1373 set dummy
$ac_prog; ac_word
=$2
1374 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1375 echo "configure:1376: checking for $ac_word" >&5
1376 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1377 echo $ac_n "(cached) $ac_c" 1>&6
1379 if test -n "$AWK"; then
1380 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1382 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1383 for ac_dir
in $PATH; do
1384 test -z "$ac_dir" && ac_dir
=.
1385 if test -f $ac_dir/$ac_word; then
1386 ac_cv_prog_AWK
="$ac_prog"
1393 AWK
="$ac_cv_prog_AWK"
1394 if test -n "$AWK"; then
1395 echo "$ac_t""$AWK" 1>&6
1397 echo "$ac_t""no" 1>&6
1400 test -n "$AWK" && break
1404 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
1405 echo "configure:1406: checking "make for VPATH support
"" >&5
1406 cat - << EOF > confMake
1412 if test ! -d sub
; then
1415 echo dummy
> sub
/file
1416 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
1418 rm -f sub
/file check final_file confMake
1420 if test "$RESULT" = 0; then
1421 echo "$ac_t""yes" 1>&6
1423 echo "$ac_t""no" 1>&6
1424 { echo "configure: error: You need a make-utility that is able to use the variable
1426 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
1430 # If we find X, set shell vars x_includes and x_libraries to the
1431 # paths, otherwise set no_x=yes.
1432 # Uses ac_ vars as temps to allow command line to override cache and checks.
1433 # --without-x overrides everything else, but does not touch the cache.
1434 echo $ac_n "checking for X""... $ac_c" 1>&6
1435 echo "configure:1436: checking for X" >&5
1437 # Check whether --with-x or --without-x was given.
1438 if test "${with_x+set}" = set; then
1443 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
1444 if test "x$with_x" = xno
; then
1445 # The user explicitly disabled X.
1448 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
1449 # Both variables are already set.
1452 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
1453 echo $ac_n "(cached) $ac_c" 1>&6
1455 # One or both of the vars are not set, and there is no cached value.
1456 ac_x_includes
=NO ac_x_libraries
=NO
1458 if mkdir conftestdir
; then
1460 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1461 cat > Imakefile
<<'EOF'
1463 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1465 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
1466 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1467 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
1468 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1469 for ac_extension
in a so sl
; do
1470 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
1471 test -f $ac_im_libdir/libX11.
$ac_extension; then
1472 ac_im_usrlibdir
=$ac_im_libdir; break
1475 # Screen out bogus values from the imake configuration. They are
1476 # bogus both because they are the default anyway, and because
1477 # using them would break gcc on systems where it needs fixed includes.
1478 case "$ac_im_incroot" in
1480 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
1482 case "$ac_im_usrlibdir" in
1484 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
1491 if test "$ac_x_includes" = NO
; then
1492 # Guess where to find include files, by looking for this one X11 .h file.
1493 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
1495 # First, try using that file with no special directory specified.
1496 cat > conftest.
$ac_ext <<EOF
1497 #line 1498 "configure"
1498 #include "confdefs.h"
1499 #include <$x_direct_test_include>
1501 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1502 { (eval echo configure
:1503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1503 ac_err
=`grep -v '^ *+' conftest.out`
1504 if test -z "$ac_err"; then
1506 # We can compile using X headers with no special include directory.
1510 echo "configure: failed program was:" >&5
1511 cat conftest.
$ac_ext >&5
1513 # Look for the header file in a standard set of common directories.
1514 # Check X11 before X11Rn because it is often a symlink to the current release.
1517 /usr
/X
11R
6/include \
1518 /usr
/X
11R
5/include \
1519 /usr
/X
11R
4/include \
1522 /usr
/include
/X11R6 \
1523 /usr
/include
/X11R5 \
1524 /usr
/include
/X11R4 \
1526 /usr
/local
/X
11/include \
1527 /usr
/local
/X
11R
6/include \
1528 /usr
/local
/X
11R
5/include \
1529 /usr
/local
/X
11R
4/include \
1531 /usr
/local
/include
/X11 \
1532 /usr
/local
/include
/X11R6 \
1533 /usr
/local
/include
/X11R5 \
1534 /usr
/local
/include
/X11R4 \
1538 /usr
/XFree
86/include
/X11 \
1541 /usr
/local
/include \
1542 /usr
/unsupported
/include \
1543 /usr
/athena
/include \
1544 /usr
/local
/x
11r
5/include \
1545 /usr
/lpp
/Xamples
/include \
1547 /usr
/openwin
/include \
1548 /usr
/openwin
/share
/include \
1551 if test -r "$ac_dir/$x_direct_test_include"; then
1552 ac_x_includes
=$ac_dir
1558 fi # $ac_x_includes = NO
1560 if test "$ac_x_libraries" = NO
; then
1561 # Check for the libraries.
1563 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
1564 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
1566 # See if we find them without any special options.
1567 # Don't add to $LIBS permanently.
1568 ac_save_LIBS
="$LIBS"
1569 LIBS
="-l$x_direct_test_library $LIBS"
1570 cat > conftest.
$ac_ext <<EOF
1571 #line 1572 "configure"
1572 #include "confdefs.h"
1575 ${x_direct_test_function}()
1578 if { (eval echo configure
:1579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1580 LIBS
="$ac_save_LIBS"
1581 # We can link X programs with no special library path.
1584 echo "configure: failed program was:" >&5
1585 cat conftest.
$ac_ext >&5
1587 LIBS
="$ac_save_LIBS"
1588 # First see if replacing the include by lib works.
1589 # Check X11 before X11Rn because it is often a symlink to the current release.
1590 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
1601 /usr
/local
/X
11/lib \
1602 /usr
/local
/X
11R
6/lib \
1603 /usr
/local
/X
11R
5/lib \
1604 /usr
/local
/X
11R
4/lib \
1606 /usr
/local
/lib
/X11 \
1607 /usr
/local
/lib
/X11R6 \
1608 /usr
/local
/lib
/X11R5 \
1609 /usr
/local
/lib
/X11R4 \
1613 /usr
/XFree
86/lib
/X11 \
1617 /usr
/unsupported
/lib \
1619 /usr
/local
/x
11r
5/lib \
1620 /usr
/lpp
/Xamples
/lib \
1624 /usr
/openwin
/share
/lib \
1627 for ac_extension
in a so sl
; do
1628 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
1629 ac_x_libraries
=$ac_dir
1636 fi # $ac_x_libraries = NO
1638 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
1639 # Didn't find X anywhere. Cache the known absence of X.
1640 ac_cv_have_x
="have_x=no"
1642 # Record where we found X for the cache.
1643 ac_cv_have_x
="have_x=yes \
1644 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1648 eval "$ac_cv_have_x"
1651 if test "$have_x" != yes; then
1652 echo "$ac_t""$have_x" 1>&6
1655 # If each of the values was on the command line, it overrides each guess.
1656 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
1657 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
1658 # Update the cache value to reflect the command line values.
1659 ac_cv_have_x
="have_x=yes \
1660 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1661 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
1664 if test "$no_x" = yes; then
1665 # Not all programs may use this symbol, but it does not hurt to define it.
1666 cat >> confdefs.h
<<\EOF
1667 #define X_DISPLAY_MISSING 1
1670 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
1672 if test -n "$x_includes"; then
1673 X_CFLAGS
="$X_CFLAGS -I$x_includes"
1676 # It would also be nice to do this for all -L options, not just this one.
1677 if test -n "$x_libraries"; then
1678 X_LIBS
="$X_LIBS -L$x_libraries"
1679 # For Solaris; some versions of Sun CC require a space after -R and
1680 # others require no space. Words are not sufficient . . . .
1681 case "`(uname -sr) 2>/dev/null`" in
1683 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
1684 echo "configure:1685: checking whether -R must be followed by a space" >&5
1685 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
1686 cat > conftest.
$ac_ext <<EOF
1687 #line 1688 "configure"
1688 #include "confdefs.h"
1694 if { (eval echo configure
:1695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1698 echo "configure: failed program was:" >&5
1699 cat conftest.
$ac_ext >&5
1704 if test $ac_R_nospace = yes; then
1705 echo "$ac_t""no" 1>&6
1706 X_LIBS
="$X_LIBS -R$x_libraries"
1708 LIBS
="$ac_xsave_LIBS -R $x_libraries"
1709 cat > conftest.
$ac_ext <<EOF
1710 #line 1711 "configure"
1711 #include "confdefs.h"
1717 if { (eval echo configure
:1718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1721 echo "configure: failed program was:" >&5
1722 cat conftest.
$ac_ext >&5
1727 if test $ac_R_space = yes; then
1728 echo "$ac_t""yes" 1>&6
1729 X_LIBS
="$X_LIBS -R $x_libraries"
1731 echo "$ac_t""neither works" 1>&6
1734 LIBS
="$ac_xsave_LIBS"
1738 # Check for system-dependent libraries X programs must link with.
1739 # Do this before checking for the system-independent R6 libraries
1740 # (-lICE), since we may need -lsocket or whatever for X linking.
1742 if test "$ISC" = yes; then
1743 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
1745 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
1746 # libraries were built with DECnet support. And karl@cs.umb.edu says
1747 # the Alpha needs dnet_stub (dnet does not exist).
1748 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
1749 echo "configure:1750: checking for dnet_ntoa in -ldnet" >&5
1750 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1751 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1752 echo $ac_n "(cached) $ac_c" 1>&6
1754 ac_save_LIBS
="$LIBS"
1756 cat > conftest.
$ac_ext <<EOF
1757 #line 1758 "configure"
1758 #include "confdefs.h"
1759 /* Override any gcc2 internal prototype to avoid an error. */
1760 /* We use char because int might match the return type of a gcc2
1761 builtin and then its argument prototype would still apply. */
1768 if { (eval echo configure
:1769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1770 eval "ac_cv_lib_$ac_lib_var=yes"
1772 echo "configure: failed program was:" >&5
1773 cat conftest.
$ac_ext >&5
1775 eval "ac_cv_lib_$ac_lib_var=no"
1778 LIBS
="$ac_save_LIBS"
1781 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1782 echo "$ac_t""yes" 1>&6
1783 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
1785 echo "$ac_t""no" 1>&6
1788 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
1789 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
1790 echo "configure:1791: checking for dnet_ntoa in -ldnet_stub" >&5
1791 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1792 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1793 echo $ac_n "(cached) $ac_c" 1>&6
1795 ac_save_LIBS
="$LIBS"
1796 LIBS
="-ldnet_stub $LIBS"
1797 cat > conftest.
$ac_ext <<EOF
1798 #line 1799 "configure"
1799 #include "confdefs.h"
1800 /* Override any gcc2 internal prototype to avoid an error. */
1801 /* We use char because int might match the return type of a gcc2
1802 builtin and then its argument prototype would still apply. */
1809 if { (eval echo configure
:1810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1811 eval "ac_cv_lib_$ac_lib_var=yes"
1813 echo "configure: failed program was:" >&5
1814 cat conftest.
$ac_ext >&5
1816 eval "ac_cv_lib_$ac_lib_var=no"
1819 LIBS
="$ac_save_LIBS"
1822 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1823 echo "$ac_t""yes" 1>&6
1824 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
1826 echo "$ac_t""no" 1>&6
1831 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
1832 # to get the SysV transport functions.
1833 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
1835 # The nsl library prevents programs from opening the X display
1836 # on Irix 5.2, according to dickey@clark.net.
1837 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1838 echo "configure:1839: checking for gethostbyname" >&5
1839 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1840 echo $ac_n "(cached) $ac_c" 1>&6
1842 cat > conftest.
$ac_ext <<EOF
1843 #line 1844 "configure"
1844 #include "confdefs.h"
1845 /* System header to define __stub macros and hopefully few prototypes,
1846 which can conflict with char gethostbyname(); below. */
1848 /* Override any gcc2 internal prototype to avoid an error. */
1849 /* We use char because int might match the return type of a gcc2
1850 builtin and then its argument prototype would still apply. */
1851 char gethostbyname();
1855 /* The GNU C library defines this for functions which it implements
1856 to always fail with ENOSYS. Some functions are actually named
1857 something starting with __ and the normal name is an alias. */
1858 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
1866 if { (eval echo configure
:1867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1868 eval "ac_cv_func_gethostbyname=yes"
1870 echo "configure: failed program was:" >&5
1871 cat conftest.
$ac_ext >&5
1873 eval "ac_cv_func_gethostbyname=no"
1878 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1879 echo "$ac_t""yes" 1>&6
1882 echo "$ac_t""no" 1>&6
1885 if test $ac_cv_func_gethostbyname = no
; then
1886 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1887 echo "configure:1888: checking for gethostbyname in -lnsl" >&5
1888 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1889 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1890 echo $ac_n "(cached) $ac_c" 1>&6
1892 ac_save_LIBS
="$LIBS"
1894 cat > conftest.
$ac_ext <<EOF
1895 #line 1896 "configure"
1896 #include "confdefs.h"
1897 /* Override any gcc2 internal prototype to avoid an error. */
1898 /* We use char because int might match the return type of a gcc2
1899 builtin and then its argument prototype would still apply. */
1900 char gethostbyname();
1906 if { (eval echo configure
:1907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1908 eval "ac_cv_lib_$ac_lib_var=yes"
1910 echo "configure: failed program was:" >&5
1911 cat conftest.
$ac_ext >&5
1913 eval "ac_cv_lib_$ac_lib_var=no"
1916 LIBS
="$ac_save_LIBS"
1919 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1920 echo "$ac_t""yes" 1>&6
1921 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
1923 echo "$ac_t""no" 1>&6
1928 # lieder@skyler.mavd.honeywell.com says without -lsocket,
1929 # socket/setsockopt and other routines are undefined under SCO ODT
1930 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
1931 # on later versions), says simon@lia.di.epfl.ch: it contains
1932 # gethostby* variants that don't use the nameserver (or something).
1933 # -lsocket must be given before -lnsl if both are needed.
1934 # We assume that if connect needs -lnsl, so does gethostbyname.
1935 echo $ac_n "checking for connect""... $ac_c" 1>&6
1936 echo "configure:1937: checking for connect" >&5
1937 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1938 echo $ac_n "(cached) $ac_c" 1>&6
1940 cat > conftest.
$ac_ext <<EOF
1941 #line 1942 "configure"
1942 #include "confdefs.h"
1943 /* System header to define __stub macros and hopefully few prototypes,
1944 which can conflict with char connect(); below. */
1946 /* Override any gcc2 internal prototype to avoid an error. */
1947 /* We use char because int might match the return type of a gcc2
1948 builtin and then its argument prototype would still apply. */
1953 /* The GNU C library defines this for functions which it implements
1954 to always fail with ENOSYS. Some functions are actually named
1955 something starting with __ and the normal name is an alias. */
1956 #if defined (__stub_connect) || defined (__stub___connect)
1964 if { (eval echo configure
:1965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1966 eval "ac_cv_func_connect=yes"
1968 echo "configure: failed program was:" >&5
1969 cat conftest.
$ac_ext >&5
1971 eval "ac_cv_func_connect=no"
1976 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
1977 echo "$ac_t""yes" 1>&6
1980 echo "$ac_t""no" 1>&6
1983 if test $ac_cv_func_connect = no
; then
1984 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
1985 echo "configure:1986: checking for connect in -lsocket" >&5
1986 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
1987 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1988 echo $ac_n "(cached) $ac_c" 1>&6
1990 ac_save_LIBS
="$LIBS"
1991 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
1992 cat > conftest.
$ac_ext <<EOF
1993 #line 1994 "configure"
1994 #include "confdefs.h"
1995 /* Override any gcc2 internal prototype to avoid an error. */
1996 /* We use char because int might match the return type of a gcc2
1997 builtin and then its argument prototype would still apply. */
2004 if { (eval echo configure
:2005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2006 eval "ac_cv_lib_$ac_lib_var=yes"
2008 echo "configure: failed program was:" >&5
2009 cat conftest.
$ac_ext >&5
2011 eval "ac_cv_lib_$ac_lib_var=no"
2014 LIBS
="$ac_save_LIBS"
2017 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2018 echo "$ac_t""yes" 1>&6
2019 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
2021 echo "$ac_t""no" 1>&6
2026 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2027 echo $ac_n "checking for remove""... $ac_c" 1>&6
2028 echo "configure:2029: checking for remove" >&5
2029 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2030 echo $ac_n "(cached) $ac_c" 1>&6
2032 cat > conftest.
$ac_ext <<EOF
2033 #line 2034 "configure"
2034 #include "confdefs.h"
2035 /* System header to define __stub macros and hopefully few prototypes,
2036 which can conflict with char remove(); below. */
2038 /* Override any gcc2 internal prototype to avoid an error. */
2039 /* We use char because int might match the return type of a gcc2
2040 builtin and then its argument prototype would still apply. */
2045 /* The GNU C library defines this for functions which it implements
2046 to always fail with ENOSYS. Some functions are actually named
2047 something starting with __ and the normal name is an alias. */
2048 #if defined (__stub_remove) || defined (__stub___remove)
2056 if { (eval echo configure
:2057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2058 eval "ac_cv_func_remove=yes"
2060 echo "configure: failed program was:" >&5
2061 cat conftest.
$ac_ext >&5
2063 eval "ac_cv_func_remove=no"
2068 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
2069 echo "$ac_t""yes" 1>&6
2072 echo "$ac_t""no" 1>&6
2075 if test $ac_cv_func_remove = no
; then
2076 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2077 echo "configure:2078: checking for remove in -lposix" >&5
2078 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2079 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2080 echo $ac_n "(cached) $ac_c" 1>&6
2082 ac_save_LIBS
="$LIBS"
2083 LIBS
="-lposix $LIBS"
2084 cat > conftest.
$ac_ext <<EOF
2085 #line 2086 "configure"
2086 #include "confdefs.h"
2087 /* Override any gcc2 internal prototype to avoid an error. */
2088 /* We use char because int might match the return type of a gcc2
2089 builtin and then its argument prototype would still apply. */
2096 if { (eval echo configure
:2097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2098 eval "ac_cv_lib_$ac_lib_var=yes"
2100 echo "configure: failed program was:" >&5
2101 cat conftest.
$ac_ext >&5
2103 eval "ac_cv_lib_$ac_lib_var=no"
2106 LIBS
="$ac_save_LIBS"
2109 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2110 echo "$ac_t""yes" 1>&6
2111 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
2113 echo "$ac_t""no" 1>&6
2118 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2119 echo $ac_n "checking for shmat""... $ac_c" 1>&6
2120 echo "configure:2121: checking for shmat" >&5
2121 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2122 echo $ac_n "(cached) $ac_c" 1>&6
2124 cat > conftest.
$ac_ext <<EOF
2125 #line 2126 "configure"
2126 #include "confdefs.h"
2127 /* System header to define __stub macros and hopefully few prototypes,
2128 which can conflict with char shmat(); below. */
2130 /* Override any gcc2 internal prototype to avoid an error. */
2131 /* We use char because int might match the return type of a gcc2
2132 builtin and then its argument prototype would still apply. */
2137 /* The GNU C library defines this for functions which it implements
2138 to always fail with ENOSYS. Some functions are actually named
2139 something starting with __ and the normal name is an alias. */
2140 #if defined (__stub_shmat) || defined (__stub___shmat)
2148 if { (eval echo configure
:2149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2150 eval "ac_cv_func_shmat=yes"
2152 echo "configure: failed program was:" >&5
2153 cat conftest.
$ac_ext >&5
2155 eval "ac_cv_func_shmat=no"
2160 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
2161 echo "$ac_t""yes" 1>&6
2164 echo "$ac_t""no" 1>&6
2167 if test $ac_cv_func_shmat = no
; then
2168 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2169 echo "configure:2170: checking for shmat in -lipc" >&5
2170 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2171 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2172 echo $ac_n "(cached) $ac_c" 1>&6
2174 ac_save_LIBS
="$LIBS"
2176 cat > conftest.
$ac_ext <<EOF
2177 #line 2178 "configure"
2178 #include "confdefs.h"
2179 /* Override any gcc2 internal prototype to avoid an error. */
2180 /* We use char because int might match the return type of a gcc2
2181 builtin and then its argument prototype would still apply. */
2188 if { (eval echo configure
:2189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2190 eval "ac_cv_lib_$ac_lib_var=yes"
2192 echo "configure: failed program was:" >&5
2193 cat conftest.
$ac_ext >&5
2195 eval "ac_cv_lib_$ac_lib_var=no"
2198 LIBS
="$ac_save_LIBS"
2201 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2202 echo "$ac_t""yes" 1>&6
2203 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
2205 echo "$ac_t""no" 1>&6
2211 # Check for libraries that X11R6 Xt/Xaw programs need.
2212 ac_save_LDFLAGS
="$LDFLAGS"
2213 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
2214 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
2215 # check for ICE first), but we must link in the order -lSM -lICE or
2216 # we get undefined symbols. So assume we have SM if we have ICE.
2217 # These have to be linked with before -lX11, unlike the other
2218 # libraries we check for below, so use a different variable.
2219 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2220 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2221 echo "configure:2222: checking for IceConnectionNumber in -lICE" >&5
2222 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2223 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2224 echo $ac_n "(cached) $ac_c" 1>&6
2226 ac_save_LIBS
="$LIBS"
2228 cat > conftest.
$ac_ext <<EOF
2229 #line 2230 "configure"
2230 #include "confdefs.h"
2231 /* Override any gcc2 internal prototype to avoid an error. */
2232 /* We use char because int might match the return type of a gcc2
2233 builtin and then its argument prototype would still apply. */
2234 char IceConnectionNumber();
2237 IceConnectionNumber()
2240 if { (eval echo configure
:2241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2242 eval "ac_cv_lib_$ac_lib_var=yes"
2244 echo "configure: failed program was:" >&5
2245 cat conftest.
$ac_ext >&5
2247 eval "ac_cv_lib_$ac_lib_var=no"
2250 LIBS
="$ac_save_LIBS"
2253 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2254 echo "$ac_t""yes" 1>&6
2255 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
2257 echo "$ac_t""no" 1>&6
2260 LDFLAGS
="$ac_save_LDFLAGS"
2266 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
2268 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2269 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2270 echo "configure:2271: checking for $ac_hdr that defines DIR" >&5
2271 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2272 echo $ac_n "(cached) $ac_c" 1>&6
2274 cat > conftest.
$ac_ext <<EOF
2275 #line 2276 "configure"
2276 #include "confdefs.h"
2277 #include <sys/types.h>
2283 if { (eval echo configure
:2284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2285 eval "ac_cv_header_dirent_$ac_safe=yes"
2287 echo "configure: failed program was:" >&5
2288 cat conftest.
$ac_ext >&5
2290 eval "ac_cv_header_dirent_$ac_safe=no"
2294 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
2295 echo "$ac_t""yes" 1>&6
2296 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2297 cat >> confdefs.h
<<EOF
2298 #define $ac_tr_hdr 1
2300 ac_header_dirent
=$ac_hdr; break
2302 echo "$ac_t""no" 1>&6
2305 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2306 if test $ac_header_dirent = dirent.h
; then
2307 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2308 echo "configure:2309: checking for opendir in -ldir" >&5
2309 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2310 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2311 echo $ac_n "(cached) $ac_c" 1>&6
2313 ac_save_LIBS
="$LIBS"
2315 cat > conftest.
$ac_ext <<EOF
2316 #line 2317 "configure"
2317 #include "confdefs.h"
2318 /* Override any gcc2 internal prototype to avoid an error. */
2319 /* We use char because int might match the return type of a gcc2
2320 builtin and then its argument prototype would still apply. */
2327 if { (eval echo configure
:2328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2329 eval "ac_cv_lib_$ac_lib_var=yes"
2331 echo "configure: failed program was:" >&5
2332 cat conftest.
$ac_ext >&5
2334 eval "ac_cv_lib_$ac_lib_var=no"
2337 LIBS
="$ac_save_LIBS"
2340 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2341 echo "$ac_t""yes" 1>&6
2344 echo "$ac_t""no" 1>&6
2348 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2349 echo "configure:2350: checking for opendir in -lx" >&5
2350 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2351 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2352 echo $ac_n "(cached) $ac_c" 1>&6
2354 ac_save_LIBS
="$LIBS"
2356 cat > conftest.
$ac_ext <<EOF
2357 #line 2358 "configure"
2358 #include "confdefs.h"
2359 /* Override any gcc2 internal prototype to avoid an error. */
2360 /* We use char because int might match the return type of a gcc2
2361 builtin and then its argument prototype would still apply. */
2368 if { (eval echo configure
:2369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2370 eval "ac_cv_lib_$ac_lib_var=yes"
2372 echo "configure: failed program was:" >&5
2373 cat conftest.
$ac_ext >&5
2375 eval "ac_cv_lib_$ac_lib_var=no"
2378 LIBS
="$ac_save_LIBS"
2381 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2382 echo "$ac_t""yes" 1>&6
2385 echo "$ac_t""no" 1>&6
2390 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2391 echo "configure:2392: checking for ANSI C header files" >&5
2392 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2393 echo $ac_n "(cached) $ac_c" 1>&6
2395 cat > conftest.
$ac_ext <<EOF
2396 #line 2397 "configure"
2397 #include "confdefs.h"
2403 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2404 { (eval echo configure
:2405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2405 ac_err
=`grep -v '^ *+' conftest.out`
2406 if test -z "$ac_err"; then
2408 ac_cv_header_stdc
=yes
2411 echo "configure: failed program was:" >&5
2412 cat conftest.
$ac_ext >&5
2414 ac_cv_header_stdc
=no
2418 if test $ac_cv_header_stdc = yes; then
2419 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2420 cat > conftest.
$ac_ext <<EOF
2421 #line 2422 "configure"
2422 #include "confdefs.h"
2425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2426 egrep "memchr" >/dev
/null
2>&1; then
2430 ac_cv_header_stdc
=no
2436 if test $ac_cv_header_stdc = yes; then
2437 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2438 cat > conftest.
$ac_ext <<EOF
2439 #line 2440 "configure"
2440 #include "confdefs.h"
2443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2444 egrep "free" >/dev
/null
2>&1; then
2448 ac_cv_header_stdc
=no
2454 if test $ac_cv_header_stdc = yes; then
2455 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2456 if test "$cross_compiling" = yes; then
2459 cat > conftest.
$ac_ext <<EOF
2460 #line 2461 "configure"
2461 #include "confdefs.h"
2463 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2464 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2465 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2466 int main () { int i; for (i = 0; i < 256; i++)
2467 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2471 if { (eval echo configure
:2472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2475 echo "configure: failed program was:" >&5
2476 cat conftest.
$ac_ext >&5
2478 ac_cv_header_stdc
=no
2486 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2487 if test $ac_cv_header_stdc = yes; then
2488 cat >> confdefs.h
<<\EOF
2489 #define STDC_HEADERS 1
2494 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2495 echo "configure:2496: checking for sys/wait.h that is POSIX.1 compatible" >&5
2496 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2497 echo $ac_n "(cached) $ac_c" 1>&6
2499 cat > conftest.
$ac_ext <<EOF
2500 #line 2501 "configure"
2501 #include "confdefs.h"
2502 #include <sys/types.h>
2503 #include <sys/wait.h>
2505 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2508 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2513 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2516 if { (eval echo configure
:2517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2518 ac_cv_header_sys_wait_h
=yes
2520 echo "configure: failed program was:" >&5
2521 cat conftest.
$ac_ext >&5
2523 ac_cv_header_sys_wait_h
=no
2528 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2529 if test $ac_cv_header_sys_wait_h = yes; then
2530 cat >> confdefs.h
<<\EOF
2531 #define HAVE_SYS_WAIT_H 1
2536 for ac_hdr
in fcntl.h
2538 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2539 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2540 echo "configure:2541: checking for $ac_hdr" >&5
2541 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2542 echo $ac_n "(cached) $ac_c" 1>&6
2544 cat > conftest.
$ac_ext <<EOF
2545 #line 2546 "configure"
2546 #include "confdefs.h"
2549 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2550 { (eval echo configure
:2551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2551 ac_err
=`grep -v '^ *+' conftest.out`
2552 if test -z "$ac_err"; then
2554 eval "ac_cv_header_$ac_safe=yes"
2557 echo "configure: failed program was:" >&5
2558 cat conftest.
$ac_ext >&5
2560 eval "ac_cv_header_$ac_safe=no"
2564 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2565 echo "$ac_t""yes" 1>&6
2566 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2567 cat >> confdefs.h
<<EOF
2568 #define $ac_tr_hdr 1
2572 echo "$ac_t""no" 1>&6
2576 for ac_hdr
in limits.h
2578 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2579 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2580 echo "configure:2581: checking for $ac_hdr" >&5
2581 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2582 echo $ac_n "(cached) $ac_c" 1>&6
2584 cat > conftest.
$ac_ext <<EOF
2585 #line 2586 "configure"
2586 #include "confdefs.h"
2589 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2590 { (eval echo configure
:2591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2591 ac_err
=`grep -v '^ *+' conftest.out`
2592 if test -z "$ac_err"; then
2594 eval "ac_cv_header_$ac_safe=yes"
2597 echo "configure: failed program was:" >&5
2598 cat conftest.
$ac_ext >&5
2600 eval "ac_cv_header_$ac_safe=no"
2604 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2605 echo "$ac_t""yes" 1>&6
2606 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2607 cat >> confdefs.h
<<EOF
2608 #define $ac_tr_hdr 1
2612 echo "$ac_t""no" 1>&6
2616 for ac_hdr
in sys
/file.h
2618 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2619 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2620 echo "configure:2621: checking for $ac_hdr" >&5
2621 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2622 echo $ac_n "(cached) $ac_c" 1>&6
2624 cat > conftest.
$ac_ext <<EOF
2625 #line 2626 "configure"
2626 #include "confdefs.h"
2629 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2630 { (eval echo configure
:2631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2631 ac_err
=`grep -v '^ *+' conftest.out`
2632 if test -z "$ac_err"; then
2634 eval "ac_cv_header_$ac_safe=yes"
2637 echo "configure: failed program was:" >&5
2638 cat conftest.
$ac_ext >&5
2640 eval "ac_cv_header_$ac_safe=no"
2644 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2645 echo "$ac_t""yes" 1>&6
2646 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2647 cat >> confdefs.h
<<EOF
2648 #define $ac_tr_hdr 1
2652 echo "$ac_t""no" 1>&6
2656 for ac_hdr
in sys
/time.h
2658 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2659 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2660 echo "configure:2661: checking for $ac_hdr" >&5
2661 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2662 echo $ac_n "(cached) $ac_c" 1>&6
2664 cat > conftest.
$ac_ext <<EOF
2665 #line 2666 "configure"
2666 #include "confdefs.h"
2669 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2670 { (eval echo configure
:2671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2671 ac_err
=`grep -v '^ *+' conftest.out`
2672 if test -z "$ac_err"; then
2674 eval "ac_cv_header_$ac_safe=yes"
2677 echo "configure: failed program was:" >&5
2678 cat conftest.
$ac_ext >&5
2680 eval "ac_cv_header_$ac_safe=no"
2684 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2685 echo "$ac_t""yes" 1>&6
2686 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2687 cat >> confdefs.h
<<EOF
2688 #define $ac_tr_hdr 1
2692 echo "$ac_t""no" 1>&6
2696 for ac_hdr
in unistd.h
2698 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2699 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2700 echo "configure:2701: checking for $ac_hdr" >&5
2701 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2702 echo $ac_n "(cached) $ac_c" 1>&6
2704 cat > conftest.
$ac_ext <<EOF
2705 #line 2706 "configure"
2706 #include "confdefs.h"
2709 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2710 { (eval echo configure
:2711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2711 ac_err
=`grep -v '^ *+' conftest.out`
2712 if test -z "$ac_err"; then
2714 eval "ac_cv_header_$ac_safe=yes"
2717 echo "configure: failed program was:" >&5
2718 cat conftest.
$ac_ext >&5
2720 eval "ac_cv_header_$ac_safe=no"
2724 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2725 echo "$ac_t""yes" 1>&6
2726 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2727 cat >> confdefs.h
<<EOF
2728 #define $ac_tr_hdr 1
2732 echo "$ac_t""no" 1>&6
2736 for ac_hdr
in fnmatch.h
2738 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2739 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2740 echo "configure:2741: checking for $ac_hdr" >&5
2741 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2742 echo $ac_n "(cached) $ac_c" 1>&6
2744 cat > conftest.
$ac_ext <<EOF
2745 #line 2746 "configure"
2746 #include "confdefs.h"
2749 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2750 { (eval echo configure
:2751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2751 ac_err
=`grep -v '^ *+' conftest.out`
2752 if test -z "$ac_err"; then
2754 eval "ac_cv_header_$ac_safe=yes"
2757 echo "configure: failed program was:" >&5
2758 cat conftest.
$ac_ext >&5
2760 eval "ac_cv_header_$ac_safe=no"
2764 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2765 echo "$ac_t""yes" 1>&6
2766 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2767 cat >> confdefs.h
<<EOF
2768 #define $ac_tr_hdr 1
2772 echo "$ac_t""no" 1>&6
2776 for ac_hdr
in linux
/joystick.h
2778 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2779 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2780 echo "configure:2781: checking for $ac_hdr" >&5
2781 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2782 echo $ac_n "(cached) $ac_c" 1>&6
2784 cat > conftest.
$ac_ext <<EOF
2785 #line 2786 "configure"
2786 #include "confdefs.h"
2789 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2790 { (eval echo configure
:2791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2791 ac_err
=`grep -v '^ *+' conftest.out`
2792 if test -z "$ac_err"; then
2794 eval "ac_cv_header_$ac_safe=yes"
2797 echo "configure: failed program was:" >&5
2798 cat conftest.
$ac_ext >&5
2800 eval "ac_cv_header_$ac_safe=no"
2804 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2805 echo "$ac_t""yes" 1>&6
2806 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2807 cat >> confdefs.h
<<EOF
2808 #define $ac_tr_hdr 1
2812 echo "$ac_t""no" 1>&6
2817 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
2818 GTK_JOYSTICK
="gtk/joystick.cpp"
2822 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
2823 echo "configure:2824: checking for uid_t in sys/types.h" >&5
2824 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
2825 echo $ac_n "(cached) $ac_c" 1>&6
2827 cat > conftest.
$ac_ext <<EOF
2828 #line 2829 "configure"
2829 #include "confdefs.h"
2830 #include <sys/types.h>
2832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2833 egrep "uid_t" >/dev
/null
2>&1; then
2835 ac_cv_type_uid_t
=yes
2844 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
2845 if test $ac_cv_type_uid_t = no
; then
2846 cat >> confdefs.h
<<\EOF
2850 cat >> confdefs.h
<<\EOF
2856 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
2857 echo "configure:2858: checking type of array argument to getgroups" >&5
2858 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
2859 echo $ac_n "(cached) $ac_c" 1>&6
2861 if test "$cross_compiling" = yes; then
2862 ac_cv_type_getgroups
=cross
2864 cat > conftest.
$ac_ext <<EOF
2865 #line 2866 "configure"
2866 #include "confdefs.h"
2868 /* Thanks to Mike Rendell for this test. */
2869 #include <sys/types.h>
2872 #define MAX(x, y) ((x) > (y) ? (x) : (y))
2877 union { gid_t gval; long lval; } val;
2880 for (i = 0; i < NGID; i++)
2881 gidset[i] = val.gval;
2882 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
2884 /* Exit non-zero if getgroups seems to require an array of ints. This
2885 happens when gid_t is short but getgroups modifies an array of ints. */
2886 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
2890 if { (eval echo configure
:2891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2892 ac_cv_type_getgroups
=gid_t
2894 echo "configure: failed program was:" >&5
2895 cat conftest.
$ac_ext >&5
2897 ac_cv_type_getgroups
=int
2902 if test $ac_cv_type_getgroups = cross
; then
2903 cat > conftest.
$ac_ext <<EOF
2904 #line 2905 "configure"
2905 #include "confdefs.h"
2908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2909 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
2911 ac_cv_type_getgroups
=gid_t
2914 ac_cv_type_getgroups
=int
2921 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
2922 cat >> confdefs.h
<<EOF
2923 #define GETGROUPS_T $ac_cv_type_getgroups
2927 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
2928 echo "configure:2929: checking for mode_t" >&5
2929 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
2930 echo $ac_n "(cached) $ac_c" 1>&6
2932 cat > conftest.
$ac_ext <<EOF
2933 #line 2934 "configure"
2934 #include "confdefs.h"
2935 #include <sys/types.h>
2941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2942 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2944 ac_cv_type_mode_t
=yes
2947 ac_cv_type_mode_t
=no
2952 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
2953 if test $ac_cv_type_mode_t = no
; then
2954 cat >> confdefs.h
<<\EOF
2960 echo $ac_n "checking for off_t""... $ac_c" 1>&6
2961 echo "configure:2962: checking for off_t" >&5
2962 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
2963 echo $ac_n "(cached) $ac_c" 1>&6
2965 cat > conftest.
$ac_ext <<EOF
2966 #line 2967 "configure"
2967 #include "confdefs.h"
2968 #include <sys/types.h>
2974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2975 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2977 ac_cv_type_off_t
=yes
2985 echo "$ac_t""$ac_cv_type_off_t" 1>&6
2986 if test $ac_cv_type_off_t = no
; then
2987 cat >> confdefs.h
<<\EOF
2993 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
2994 echo "configure:2995: checking for pid_t" >&5
2995 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
2996 echo $ac_n "(cached) $ac_c" 1>&6
2998 cat > conftest.
$ac_ext <<EOF
2999 #line 3000 "configure"
3000 #include "confdefs.h"
3001 #include <sys/types.h>
3007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3008 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3010 ac_cv_type_pid_t
=yes
3018 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
3019 if test $ac_cv_type_pid_t = no
; then
3020 cat >> confdefs.h
<<\EOF
3026 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3027 echo "configure:3028: checking return type of signal handlers" >&5
3028 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
3029 echo $ac_n "(cached) $ac_c" 1>&6
3031 cat > conftest.
$ac_ext <<EOF
3032 #line 3033 "configure"
3033 #include "confdefs.h"
3034 #include <sys/types.h>
3040 extern "C" void (*signal (int, void (*)(int)))(int);
3042 void (*signal ()) ();
3049 if { (eval echo configure
:3050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3051 ac_cv_type_signal
=void
3053 echo "configure: failed program was:" >&5
3054 cat conftest.
$ac_ext >&5
3056 ac_cv_type_signal
=int
3061 echo "$ac_t""$ac_cv_type_signal" 1>&6
3062 cat >> confdefs.h
<<EOF
3063 #define RETSIGTYPE $ac_cv_type_signal
3067 echo $ac_n "checking for size_t""... $ac_c" 1>&6
3068 echo "configure:3069: checking for size_t" >&5
3069 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
3070 echo $ac_n "(cached) $ac_c" 1>&6
3072 cat > conftest.
$ac_ext <<EOF
3073 #line 3074 "configure"
3074 #include "confdefs.h"
3075 #include <sys/types.h>
3081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3082 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3084 ac_cv_type_size_t
=yes
3087 ac_cv_type_size_t
=no
3092 echo "$ac_t""$ac_cv_type_size_t" 1>&6
3093 if test $ac_cv_type_size_t = no
; then
3094 cat >> confdefs.h
<<\EOF
3095 #define size_t unsigned
3100 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3101 echo "configure:3102: checking for uid_t in sys/types.h" >&5
3102 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3103 echo $ac_n "(cached) $ac_c" 1>&6
3105 cat > conftest.
$ac_ext <<EOF
3106 #line 3107 "configure"
3107 #include "confdefs.h"
3108 #include <sys/types.h>
3110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3111 egrep "uid_t" >/dev
/null
2>&1; then
3113 ac_cv_type_uid_t
=yes
3122 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3123 if test $ac_cv_type_uid_t = no
; then
3124 cat >> confdefs.h
<<\EOF
3128 cat >> confdefs.h
<<\EOF
3136 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
3137 echo "configure:3138: checking whether stat file-mode macros are broken" >&5
3138 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
3139 echo $ac_n "(cached) $ac_c" 1>&6
3141 cat > conftest.
$ac_ext <<EOF
3142 #line 3143 "configure"
3143 #include "confdefs.h"
3144 #include <sys/types.h>
3145 #include <sys/stat.h>
3147 #if defined(S_ISBLK) && defined(S_IFDIR)
3148 # if S_ISBLK (S_IFDIR)
3153 #if defined(S_ISBLK) && defined(S_IFCHR)
3154 # if S_ISBLK (S_IFCHR)
3159 #if defined(S_ISLNK) && defined(S_IFREG)
3160 # if S_ISLNK (S_IFREG)
3165 #if defined(S_ISSOCK) && defined(S_IFREG)
3166 # if S_ISSOCK (S_IFREG)
3172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3173 egrep "You lose" >/dev
/null
2>&1; then
3175 ac_cv_header_stat_broken
=yes
3178 ac_cv_header_stat_broken
=no
3184 echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
3185 if test $ac_cv_header_stat_broken = yes; then
3186 cat >> confdefs.h
<<\EOF
3187 #define STAT_MACROS_BROKEN 1
3192 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3193 echo "configure:3194: checking whether time.h and sys/time.h may both be included" >&5
3194 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3195 echo $ac_n "(cached) $ac_c" 1>&6
3197 cat > conftest.
$ac_ext <<EOF
3198 #line 3199 "configure"
3199 #include "confdefs.h"
3200 #include <sys/types.h>
3201 #include <sys/time.h>
3207 if { (eval echo configure
:3208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3209 ac_cv_header_time
=yes
3211 echo "configure: failed program was:" >&5
3212 cat conftest.
$ac_ext >&5
3214 ac_cv_header_time
=no
3219 echo "$ac_t""$ac_cv_header_time" 1>&6
3220 if test $ac_cv_header_time = yes; then
3221 cat >> confdefs.h
<<\EOF
3222 #define TIME_WITH_SYS_TIME 1
3227 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
3228 echo "configure:3229: checking for st_blksize in struct stat" >&5
3229 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
3230 echo $ac_n "(cached) $ac_c" 1>&6
3232 cat > conftest.
$ac_ext <<EOF
3233 #line 3234 "configure"
3234 #include "confdefs.h"
3235 #include <sys/types.h>
3236 #include <sys/stat.h>
3238 struct stat s; s.st_blksize;
3241 if { (eval echo configure
:3242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3243 ac_cv_struct_st_blksize
=yes
3245 echo "configure: failed program was:" >&5
3246 cat conftest.
$ac_ext >&5
3248 ac_cv_struct_st_blksize
=no
3253 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
3254 if test $ac_cv_struct_st_blksize = yes; then
3255 cat >> confdefs.h
<<\EOF
3256 #define HAVE_ST_BLKSIZE 1
3261 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
3262 echo "configure:3263: checking for st_blocks in struct stat" >&5
3263 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
3264 echo $ac_n "(cached) $ac_c" 1>&6
3266 cat > conftest.
$ac_ext <<EOF
3267 #line 3268 "configure"
3268 #include "confdefs.h"
3269 #include <sys/types.h>
3270 #include <sys/stat.h>
3272 struct stat s; s.st_blocks;
3275 if { (eval echo configure
:3276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3277 ac_cv_struct_st_blocks
=yes
3279 echo "configure: failed program was:" >&5
3280 cat conftest.
$ac_ext >&5
3282 ac_cv_struct_st_blocks
=no
3287 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6
3288 if test $ac_cv_struct_st_blocks = yes; then
3289 cat >> confdefs.h
<<\EOF
3290 #define HAVE_ST_BLOCKS 1
3294 LIBOBJS
="$LIBOBJS fileblocks.o"
3297 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
3298 echo "configure:3299: checking for st_rdev in struct stat" >&5
3299 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
3300 echo $ac_n "(cached) $ac_c" 1>&6
3302 cat > conftest.
$ac_ext <<EOF
3303 #line 3304 "configure"
3304 #include "confdefs.h"
3305 #include <sys/types.h>
3306 #include <sys/stat.h>
3308 struct stat s; s.st_rdev;
3311 if { (eval echo configure
:3312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3313 ac_cv_struct_st_rdev
=yes
3315 echo "configure: failed program was:" >&5
3316 cat conftest.
$ac_ext >&5
3318 ac_cv_struct_st_rdev
=no
3323 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6
3324 if test $ac_cv_struct_st_rdev = yes; then
3325 cat >> confdefs.h
<<\EOF
3326 #define HAVE_ST_RDEV 1
3331 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3332 echo "configure:3333: checking whether struct tm is in sys/time.h or time.h" >&5
3333 if eval "test \"`echo '$''{'ac_cv_struct_tm'+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>
3342 struct tm *tp; tp->tm_sec;
3345 if { (eval echo configure
:3346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3347 ac_cv_struct_tm
=time.h
3349 echo "configure: failed program was:" >&5
3350 cat conftest.
$ac_ext >&5
3352 ac_cv_struct_tm
=sys
/time.h
3357 echo "$ac_t""$ac_cv_struct_tm" 1>&6
3358 if test $ac_cv_struct_tm = sys
/time.h
; then
3359 cat >> confdefs.h
<<\EOF
3360 #define TM_IN_SYS_TIME 1
3365 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3366 echo "configure:3367: checking for tm_zone in struct tm" >&5
3367 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
3368 echo $ac_n "(cached) $ac_c" 1>&6
3370 cat > conftest.
$ac_ext <<EOF
3371 #line 3372 "configure"
3372 #include "confdefs.h"
3373 #include <sys/types.h>
3374 #include <$ac_cv_struct_tm>
3376 struct tm tm; tm.tm_zone;
3379 if { (eval echo configure
:3380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3381 ac_cv_struct_tm_zone
=yes
3383 echo "configure: failed program was:" >&5
3384 cat conftest.
$ac_ext >&5
3386 ac_cv_struct_tm_zone
=no
3391 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
3392 if test "$ac_cv_struct_tm_zone" = yes; then
3393 cat >> confdefs.h
<<\EOF
3394 #define HAVE_TM_ZONE 1
3398 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3399 echo "configure:3400: checking for tzname" >&5
3400 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
3401 echo $ac_n "(cached) $ac_c" 1>&6
3403 cat > conftest.
$ac_ext <<EOF
3404 #line 3405 "configure"
3405 #include "confdefs.h"
3407 #ifndef tzname /* For SGI. */
3408 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3414 if { (eval echo configure
:3415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3416 ac_cv_var_tzname
=yes
3418 echo "configure: failed program was:" >&5
3419 cat conftest.
$ac_ext >&5
3426 echo "$ac_t""$ac_cv_var_tzname" 1>&6
3427 if test $ac_cv_var_tzname = yes; then
3428 cat >> confdefs.h
<<\EOF
3429 #define HAVE_TZNAME 1
3437 echo $ac_n "checking for working const""... $ac_c" 1>&6
3438 echo "configure:3439: checking for working const" >&5
3439 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3440 echo $ac_n "(cached) $ac_c" 1>&6
3442 cat > conftest.
$ac_ext <<EOF
3443 #line 3444 "configure"
3444 #include "confdefs.h"
3448 /* Ultrix mips cc rejects this. */
3449 typedef int charset[2]; const charset x;
3450 /* SunOS 4.1.1 cc rejects this. */
3451 char const *const *ccp;
3453 /* NEC SVR4.0.2 mips cc rejects this. */
3454 struct point {int x, y;};
3455 static struct point const zero = {0,0};
3456 /* AIX XL C 1.02.0.0 rejects this.
3457 It does not let you subtract one const X* pointer from another in an arm
3458 of an if-expression whose if-part is not a constant expression */
3459 const char *g = "string";
3460 ccp = &g + (g ? g-g : 0);
3461 /* HPUX 7.0 cc rejects these. */
3464 ccp = (char const *const *) p;
3465 { /* SCO 3.2v4 cc rejects this. */
3467 char const *s = 0 ? (char *) 0 : (char const *) 0;
3471 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3473 const int *foo = &x[0];
3476 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3477 typedef const int *iptr;
3481 { /* AIX XL C 1.02.0.0 rejects this saying
3482 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3483 struct s { int j; const int *ap[3]; };
3484 struct s *b; b->j = 5;
3486 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3492 if { (eval echo configure
:3493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3496 echo "configure: failed program was:" >&5
3497 cat conftest.
$ac_ext >&5
3504 echo "$ac_t""$ac_cv_c_const" 1>&6
3505 if test $ac_cv_c_const = no
; then
3506 cat >> confdefs.h
<<\EOF
3512 echo $ac_n "checking for inline""... $ac_c" 1>&6
3513 echo "configure:3514: checking for inline" >&5
3514 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3515 echo $ac_n "(cached) $ac_c" 1>&6
3518 for ac_kw
in inline __inline__ __inline
; do
3519 cat > conftest.
$ac_ext <<EOF
3520 #line 3521 "configure"
3521 #include "confdefs.h"
3527 if { (eval echo configure
:3528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3529 ac_cv_c_inline
=$ac_kw; break
3531 echo "configure: failed program was:" >&5
3532 cat conftest.
$ac_ext >&5
3539 echo "$ac_t""$ac_cv_c_inline" 1>&6
3540 case "$ac_cv_c_inline" in
3542 no
) cat >> confdefs.h
<<\EOF
3546 *) cat >> confdefs.h
<<EOF
3547 #define inline $ac_cv_c_inline
3552 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
3553 echo "configure:3554: checking whether char is unsigned" >&5
3554 if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
3555 echo $ac_n "(cached) $ac_c" 1>&6
3557 if test "$GCC" = yes; then
3558 # GCC predefines this symbol on systems where it applies.
3559 cat > conftest.
$ac_ext <<EOF
3560 #line 3561 "configure"
3561 #include "confdefs.h"
3562 #ifdef __CHAR_UNSIGNED__
3567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3568 egrep "yes" >/dev
/null
2>&1; then
3570 ac_cv_c_char_unsigned
=yes
3573 ac_cv_c_char_unsigned
=no
3578 if test "$cross_compiling" = yes; then
3579 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3581 cat > conftest.
$ac_ext <<EOF
3582 #line 3583 "configure"
3583 #include "confdefs.h"
3584 /* volatile prevents gcc2 from optimizing the test away on sparcs. */
3585 #if !defined(__STDC__) || __STDC__ != 1
3589 volatile char c = 255; exit(c < 0);
3592 if { (eval echo configure
:3593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3594 ac_cv_c_char_unsigned
=yes
3596 echo "configure: failed program was:" >&5
3597 cat conftest.
$ac_ext >&5
3599 ac_cv_c_char_unsigned
=no
3607 echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
3608 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
3609 cat >> confdefs.h
<<\EOF
3610 #define __CHAR_UNSIGNED__ 1
3615 echo $ac_n "checking for long double""... $ac_c" 1>&6
3616 echo "configure:3617: checking for long double" >&5
3617 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
3618 echo $ac_n "(cached) $ac_c" 1>&6
3620 if test "$GCC" = yes; then
3621 ac_cv_c_long_double
=yes
3623 if test "$cross_compiling" = yes; then
3624 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3626 cat > conftest.
$ac_ext <<EOF
3627 #line 3628 "configure"
3628 #include "confdefs.h"
3630 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
3631 long double foo = 0.0;
3632 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
3633 exit(sizeof(long double) < sizeof(double)); }
3635 if { (eval echo configure
:3636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3637 ac_cv_c_long_double
=yes
3639 echo "configure: failed program was:" >&5
3640 cat conftest.
$ac_ext >&5
3642 ac_cv_c_long_double
=no
3650 echo "$ac_t""$ac_cv_c_long_double" 1>&6
3651 if test $ac_cv_c_long_double = yes; then
3652 cat >> confdefs.h
<<\EOF
3653 #define HAVE_LONG_DOUBLE 1
3659 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3660 echo "configure:3661: checking whether byte ordering is bigendian" >&5
3661 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
3662 echo $ac_n "(cached) $ac_c" 1>&6
3664 ac_cv_c_bigendian
=unknown
3665 # See if sys/param.h defines the BYTE_ORDER macro.
3666 cat > conftest.
$ac_ext <<EOF
3667 #line 3668 "configure"
3668 #include "confdefs.h"
3669 #include <sys/types.h>
3670 #include <sys/param.h>
3673 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3678 if { (eval echo configure
:3679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3680 # It does; now see whether it defined to BIG_ENDIAN or not.
3681 cat > conftest.
$ac_ext <<EOF
3682 #line 3683 "configure"
3683 #include "confdefs.h"
3684 #include <sys/types.h>
3685 #include <sys/param.h>
3688 #if BYTE_ORDER != BIG_ENDIAN
3693 if { (eval echo configure
:3694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3695 ac_cv_c_bigendian
=yes
3697 echo "configure: failed program was:" >&5
3698 cat conftest.
$ac_ext >&5
3700 ac_cv_c_bigendian
=no
3704 echo "configure: failed program was:" >&5
3705 cat conftest.
$ac_ext >&5
3708 if test $ac_cv_c_bigendian = unknown
; then
3709 if test "$cross_compiling" = yes; then
3710 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3712 cat > conftest.
$ac_ext <<EOF
3713 #line 3714 "configure"
3714 #include "confdefs.h"
3716 /* Are we little or big endian? From Harbison&Steele. */
3720 char c[sizeof (long)];
3723 exit (u.c[sizeof (long) - 1] == 1);
3726 if { (eval echo configure
:3727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3728 ac_cv_c_bigendian
=no
3730 echo "configure: failed program was:" >&5
3731 cat conftest.
$ac_ext >&5
3733 ac_cv_c_bigendian
=yes
3741 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
3742 if test $ac_cv_c_bigendian = yes; then
3743 cat >> confdefs.h
<<\EOF
3744 #define WORDS_BIGENDIAN 1
3750 echo $ac_n "checking size of int *""... $ac_c" 1>&6
3751 echo "configure:3752: checking size of int *" >&5
3752 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
3753 echo $ac_n "(cached) $ac_c" 1>&6
3755 if test "$cross_compiling" = yes; then
3756 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3758 cat > conftest.
$ac_ext <<EOF
3759 #line 3760 "configure"
3760 #include "confdefs.h"
3764 FILE *f=fopen("conftestval", "w");
3766 fprintf(f, "%d\n", sizeof(int *));
3770 if { (eval echo configure
:3771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3772 ac_cv_sizeof_int_p
=`cat conftestval`
3774 echo "configure: failed program was:" >&5
3775 cat conftest.
$ac_ext >&5
3777 ac_cv_sizeof_int_p
=0
3783 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
3784 cat >> confdefs.h
<<EOF
3785 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
3789 echo $ac_n "checking size of int""... $ac_c" 1>&6
3790 echo "configure:3791: checking size of int" >&5
3791 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
3792 echo $ac_n "(cached) $ac_c" 1>&6
3794 if test "$cross_compiling" = yes; then
3795 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3797 cat > conftest.
$ac_ext <<EOF
3798 #line 3799 "configure"
3799 #include "confdefs.h"
3803 FILE *f=fopen("conftestval", "w");
3805 fprintf(f, "%d\n", sizeof(int));
3809 if { (eval echo configure
:3810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3811 ac_cv_sizeof_int
=`cat conftestval`
3813 echo "configure: failed program was:" >&5
3814 cat conftest.
$ac_ext >&5
3822 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
3823 cat >> confdefs.h
<<EOF
3824 #define SIZEOF_INT $ac_cv_sizeof_int
3828 echo $ac_n "checking size of long""... $ac_c" 1>&6
3829 echo "configure:3830: checking size of long" >&5
3830 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
3831 echo $ac_n "(cached) $ac_c" 1>&6
3833 if test "$cross_compiling" = yes; then
3834 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3836 cat > conftest.
$ac_ext <<EOF
3837 #line 3838 "configure"
3838 #include "confdefs.h"
3842 FILE *f=fopen("conftestval", "w");
3844 fprintf(f, "%d\n", sizeof(long));
3848 if { (eval echo configure
:3849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3850 ac_cv_sizeof_long
=`cat conftestval`
3852 echo "configure: failed program was:" >&5
3853 cat conftest.
$ac_ext >&5
3861 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
3862 cat >> confdefs.h
<<EOF
3863 #define SIZEOF_LONG $ac_cv_sizeof_long
3871 echo $ac_n "checking for long file names""... $ac_c" 1>&6
3872 echo "configure:3873: checking for long file names" >&5
3873 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
3874 echo $ac_n "(cached) $ac_c" 1>&6
3876 ac_cv_sys_long_file_names
=yes
3877 # Test for long file names in all the places we know might matter:
3878 # . the current directory, where building will happen
3879 # $prefix/lib where we will be installing things
3880 # $exec_prefix/lib likewise
3881 # eval it to expand exec_prefix.
3882 # $TMPDIR if set, where it might want to write temporary files
3883 # if $TMPDIR is not set:
3884 # /tmp where it might want to write temporary files
3887 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
3888 ac_tmpdirs
="$TMPDIR"
3890 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
3892 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
3893 test -d $ac_dir || continue
3894 test -w $ac_dir || continue # It is less confusing to not echo anything here.
3895 (echo 1 > $ac_dir/conftest9012345
) 2>/dev
/null
3896 (echo 2 > $ac_dir/conftest9012346
) 2>/dev
/null
3897 val
=`cat $ac_dir/conftest9012345 2>/dev/null`
3898 if test ! -f $ac_dir/conftest9012345
|| test "$val" != 1; then
3899 ac_cv_sys_long_file_names
=no
3900 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
3903 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
3907 echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6
3908 if test $ac_cv_sys_long_file_names = yes; then
3909 cat >> confdefs.h
<<\EOF
3910 #define HAVE_LONG_FILE_NAMES 1
3918 for ac_prog
in 'bison -y' byacc
3920 # Extract the first word of "$ac_prog", so it can be a program name with args.
3921 set dummy
$ac_prog; ac_word
=$2
3922 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3923 echo "configure:3924: checking for $ac_word" >&5
3924 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
3925 echo $ac_n "(cached) $ac_c" 1>&6
3927 if test -n "$YACC"; then
3928 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3930 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3931 for ac_dir
in $PATH; do
3932 test -z "$ac_dir" && ac_dir
=.
3933 if test -f $ac_dir/$ac_word; then
3934 ac_cv_prog_YACC
="$ac_prog"
3941 YACC
="$ac_cv_prog_YACC"
3942 if test -n "$YACC"; then
3943 echo "$ac_t""$YACC" 1>&6
3945 echo "$ac_t""no" 1>&6
3948 test -n "$YACC" && break
3950 test -n "$YACC" || YACC
="yacc"
3953 # Extract the first word of "flex", so it can be a program name with args.
3954 set dummy flex
; ac_word
=$2
3955 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3956 echo "configure:3957: checking for $ac_word" >&5
3957 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
3958 echo $ac_n "(cached) $ac_c" 1>&6
3960 if test -n "$LEX"; then
3961 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
3963 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3964 for ac_dir
in $PATH; do
3965 test -z "$ac_dir" && ac_dir
=.
3966 if test -f $ac_dir/$ac_word; then
3967 ac_cv_prog_LEX
="flex"
3972 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
3975 LEX
="$ac_cv_prog_LEX"
3976 if test -n "$LEX"; then
3977 echo "$ac_t""$LEX" 1>&6
3979 echo "$ac_t""no" 1>&6
3982 if test -z "$LEXLIB"
3988 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
3989 echo "configure:3990: checking for yywrap in -l$ac_lib" >&5
3990 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
3991 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3992 echo $ac_n "(cached) $ac_c" 1>&6
3994 ac_save_LIBS
="$LIBS"
3995 LIBS
="-l$ac_lib $LIBS"
3996 cat > conftest.
$ac_ext <<EOF
3997 #line 3998 "configure"
3998 #include "confdefs.h"
3999 /* Override any gcc2 internal prototype to avoid an error. */
4000 /* We use char because int might match the return type of a gcc2
4001 builtin and then its argument prototype would still apply. */
4008 if { (eval echo configure
:4009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4010 eval "ac_cv_lib_$ac_lib_var=yes"
4012 echo "configure: failed program was:" >&5
4013 cat conftest.
$ac_ext >&5
4015 eval "ac_cv_lib_$ac_lib_var=no"
4018 LIBS
="$ac_save_LIBS"
4021 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4022 echo "$ac_t""yes" 1>&6
4025 echo "$ac_t""no" 1>&6
4030 echo $ac_n "checking lex output file root""... $ac_c" 1>&6
4031 echo "configure:4032: checking lex output file root" >&5
4032 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
4033 echo $ac_n "(cached) $ac_c" 1>&6
4035 # The minimal lex program is just a single line: %%. But some broken lexes
4036 # (Solaris, I think it was) want two %% lines, so accommodate them.
4039 if test -f lex.yy.c
; then
4040 ac_cv_prog_lex_root
=lex.yy
4041 elif test -f lexyy.c
; then
4042 ac_cv_prog_lex_root
=lexyy
4044 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
4048 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
4049 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4051 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
4052 echo "configure:4053: checking whether yytext is a pointer" >&5
4053 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
4054 echo $ac_n "(cached) $ac_c" 1>&6
4056 # POSIX says lex can declare yytext either as a pointer or an array; the
4057 # default is implementation-dependent. Figure out which it is, since
4058 # not all implementations provide the %pointer and %array declarations.
4059 ac_cv_prog_lex_yytext_pointer
=no
4060 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4061 ac_save_LIBS
="$LIBS"
4062 LIBS
="$LIBS $LEXLIB"
4063 cat > conftest.
$ac_ext <<EOF
4064 #line 4065 "configure"
4065 #include "confdefs.h"
4066 `cat $LEX_OUTPUT_ROOT.c`
4071 if { (eval echo configure
:4072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4073 ac_cv_prog_lex_yytext_pointer
=yes
4075 echo "configure: failed program was:" >&5
4076 cat conftest.
$ac_ext >&5
4079 LIBS
="$ac_save_LIBS"
4080 rm -f "${LEX_OUTPUT_ROOT}.c"
4084 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
4085 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4086 cat >> confdefs.h
<<\EOF
4087 #define YYTEXT_POINTER 1
4094 CHECK_INCLUDE
="-I/usr/include $X_CFLAGS"
4095 CHECK_LIB
="-L/lib -L/usr/lib $X_LIBS"
4099 # Make sure we can run config.sub.
4100 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
4101 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
4104 echo $ac_n "checking host system type""... $ac_c" 1>&6
4105 echo "configure:4106: checking host system type" >&5
4108 case "$host_alias" in
4112 if host_alias
=`$ac_config_guess`; then :
4113 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
4115 *) host_alias
=$nonopt ;;
4119 host=`$ac_config_sub $host_alias`
4120 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4121 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4122 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4123 echo "$ac_t""$host" 1>&6
4126 configuration
=$host_alias
4149 case "${canonical}" in
4152 cat >> confdefs.h
<<\EOF
4159 cat >> confdefs.h
<<\EOF
4164 *-*-irix5* | *-*-irix6* )
4167 cat >> confdefs.h
<<\EOF
4171 cat >> confdefs.h
<<\EOF
4180 cat >> confdefs.h
<<\EOF
4184 cat >> confdefs.h
<<\EOF
4185 #define __SOLARIS__ 1
4188 cat >> confdefs.h
<<\EOF
4197 cat >> confdefs.h
<<\EOF
4201 cat >> confdefs.h
<<\EOF
4205 cat >> confdefs.h
<<\EOF
4210 *-*-freebsd* | *-*-netbsd*)
4213 cat >> confdefs.h
<<\EOF
4214 #define __FREEBSD__ 1
4217 cat >> confdefs.h
<<\EOF
4225 cat >> confdefs.h
<<\EOF
4229 cat >> confdefs.h
<<\EOF
4237 cat >> confdefs.h
<<\EOF
4241 cat >> confdefs.h
<<\EOF
4249 cat >> confdefs.h
<<\EOF
4253 cat >> confdefs.h
<<\EOF
4262 cat >> confdefs.h
<<\EOF
4266 cat >> confdefs.h
<<\EOF
4270 cat >> confdefs.h
<<\EOF
4276 { echo "configure: error: I don't know your system type." 1>&2; exit 1; }
4281 rm -f ${OSTYPE}.system.cache.tmp
4282 touch ${OSTYPE}.system.cache.tmp
4283 touch ${OSTYPE}.system.cache
4288 DEFAULT_wxUSE_MOTIF
=0
4290 DEFAULT_wxUSE_THREADS
=1
4292 DEFAULT_wxUSE_SHARED
=1
4293 DEFAULT_wxUSE_OPTIMISE
=1
4294 DEFAULT_wxUSE_PROFILE
=0
4295 DEFAULT_wxUSE_DEBUG_FLAG
=0
4296 DEFAULT_wxUSE_DEBUG_INFO
=0
4297 DEFAULT_wxUSE_MEM_TRACING
=0
4298 DEFAULT_wxUSE_DMALLOC
=0
4299 DEFAULT_wxUSE_APPLE_IEEE
=1
4300 DEFAULT_wxUSE_IOSTREAMH
=1
4302 DEFAULT_wxUSE_ZLIB
=1
4303 DEFAULT_wxUSE_GDK_IMLIB
=1
4304 DEFAULT_wxUSE_LIBPNG
=1
4305 DEFAULT_wxUSE_ODBC
=1
4307 DEFAULT_wxUSE_COMBOBOX
=1
4308 DEFAULT_wxUSE_GAUGE
=1
4309 DEFAULT_wxUSE_SCROLLBAR
=1
4310 DEFAULT_wxUSE_LISTCTRL
=1
4311 DEFAULT_wxUSE_TREECTRL
=1
4312 DEFAULT_wxUSE_GRID
=1
4313 DEFAULT_wxUSE_TAB_DIALOG
=1
4314 DEFAULT_wxUSE_NOTEBOOK
=1
4316 DEFAULT_wxUSE_TIMEDATE
=1
4317 DEFAULT_wxUSE_FRACTION
=1
4319 DEFAULT_wxUSE_INTL
=1
4320 DEFAULT_wxUSE_CONFIG
=1
4321 DEFAULT_wxUSE_STREAMS
=1
4322 DEFAULT_wxUSE_SERIAL
=1
4323 DEFAULT_wxUSE_FILE
=1
4324 DEFAULT_wxUSE_TEXTFILE
=1
4326 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=1
4327 DEFAULT_WX_NORMALIZED_PS_FONTS
=1
4328 DEFAULT_wxUSE_POSTSCRIPT
=1
4331 DEFAULT_wxUSE_RESOURCES
=1
4332 DEFAULT_wxUSE_CONSTRAINTS
=1
4333 DEFAULT_wxUSE_CLIPBOARD
=0
4336 DEFAULT_wxUSE_MDI_ARCHITECTURE
=1
4337 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=1
4338 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=1
4340 DEFAULT_wxUSE_PROLOGIO
=1
4341 DEFAULT_wxUSE_WX_RESOURCES
=1
4344 DEFAULT_wxUSE_OPENGL
=0
4345 DEFAULT_wxUSE_METAFILE
=0
4346 DEFAULT_wxUSE_WXGRAPH
=0
4347 DEFAULT_wxUSE_WXTREE
=0
4348 DEFAULT_wxUSE_HELP
=0
4352 echo $ac_n "checking "for gtk
"""... $ac_c" 1>&6
4353 echo "configure:4354: checking "for gtk
"" >&5
4354 # Check whether --with-gtk or --without-gtk was given.
4355 if test "${with_gtk+set}" = set; then
4357 if test "x$with_gtk" = xyes
; then
4358 ac_cv_use_gtk
='wxUSE_GTK="1"'
4360 ac_cv_use_gtk
='wxUSE_GTK="0"'
4364 LINE
=`grep "wxUSE_GTK" ${OSTYPE}.system.cache`
4365 if test "x$LINE" != x
; then
4366 eval "DEFAULT_$LINE"
4368 ac_cv_use_gtk
='wxUSE_GTK='$DEFAULT_wxUSE_GTK
4372 eval "$ac_cv_use_gtk"
4373 echo $ac_cv_use_gtk >> ${OSTYPE}.system.cache.tmp
4374 if test "$wxUSE_GTK" = 1; then
4375 echo "$ac_t""yes" 1>&6
4377 echo "$ac_t""no" 1>&6
4382 echo $ac_n "checking "for qt
"""... $ac_c" 1>&6
4383 echo "configure:4384: checking "for qt
"" >&5
4384 # Check whether --with-qt or --without-qt was given.
4385 if test "${with_qt+set}" = set; then
4387 if test "x$with_qt" = xyes
; then
4388 ac_cv_use_qt
='wxUSE_QT="1"'
4390 ac_cv_use_qt
='wxUSE_QT="0"'
4394 LINE
=`grep "wxUSE_QT" ${OSTYPE}.system.cache`
4395 if test "x$LINE" != x
; then
4396 eval "DEFAULT_$LINE"
4398 ac_cv_use_qt
='wxUSE_QT='$DEFAULT_wxUSE_QT
4402 eval "$ac_cv_use_qt"
4403 echo $ac_cv_use_qt >> ${OSTYPE}.system.cache.tmp
4404 if test "$wxUSE_QT" = 1; then
4405 echo "$ac_t""yes" 1>&6
4407 echo "$ac_t""no" 1>&6
4412 echo $ac_n "checking "for motif
"""... $ac_c" 1>&6
4413 echo "configure:4414: checking "for motif
"" >&5
4414 # Check whether --with-motif or --without-motif was given.
4415 if test "${with_motif+set}" = set; then
4416 withval
="$with_motif"
4417 if test "x$with_motif" = xyes
; then
4418 ac_cv_use_motif
='wxUSE_MOTIF="1"'
4420 ac_cv_use_motif
='wxUSE_MOTIF="0"'
4424 LINE
=`grep "wxUSE_MOTIF" ${OSTYPE}.system.cache`
4425 if test "x$LINE" != x
; then
4426 eval "DEFAULT_$LINE"
4428 ac_cv_use_motif
='wxUSE_MOTIF='$DEFAULT_wxUSE_MOTIF
4432 eval "$ac_cv_use_motif"
4433 echo $ac_cv_use_motif >> ${OSTYPE}.system.cache.tmp
4434 if test "$wxUSE_MOTIF" = 1; then
4435 echo "$ac_t""yes" 1>&6
4437 echo "$ac_t""no" 1>&6
4443 echo $ac_n "checking "for shared
"""... $ac_c" 1>&6
4444 echo "configure:4445: checking "for shared
"" >&5
4445 # Check whether --with-shared or --without-shared was given.
4446 if test "${with_shared+set}" = set; then
4447 withval
="$with_shared"
4448 if test "x$with_shared" = xyes
; then
4449 ac_cv_use_shared
='wxUSE_SHARED="1"'
4451 ac_cv_use_shared
='wxUSE_SHARED="0"'
4455 LINE
=`grep "wxUSE_SHARED" ${OSTYPE}.system.cache`
4456 if test "x$LINE" != x
; then
4457 eval "DEFAULT_$LINE"
4459 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4463 eval "$ac_cv_use_shared"
4464 echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp
4465 if test "$wxUSE_SHARED" = 1; then
4466 echo "$ac_t""yes" 1>&6
4468 echo "$ac_t""no" 1>&6
4473 echo $ac_n "checking "for optimise
"""... $ac_c" 1>&6
4474 echo "configure:4475: checking "for optimise
"" >&5
4475 # Check whether --with-optimise or --without-optimise was given.
4476 if test "${with_optimise+set}" = set; then
4477 withval
="$with_optimise"
4478 if test "x$with_optimise" = xyes
; then
4479 ac_cv_use_optimise
='wxUSE_OPTIMISE="1"'
4481 ac_cv_use_optimise
='wxUSE_OPTIMISE="0"'
4485 LINE
=`grep "wxUSE_OPTIMISE" ${OSTYPE}.system.cache`
4486 if test "x$LINE" != x
; then
4487 eval "DEFAULT_$LINE"
4489 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4493 eval "$ac_cv_use_optimise"
4494 echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp
4495 if test "$wxUSE_OPTIMISE" = 1; then
4496 echo "$ac_t""yes" 1>&6
4498 echo "$ac_t""no" 1>&6
4503 echo $ac_n "checking "for debug_flag
"""... $ac_c" 1>&6
4504 echo "configure:4505: checking "for debug_flag
"" >&5
4505 # Check whether --with-debug_flag or --without-debug_flag was given.
4506 if test "${with_debug_flag+set}" = set; then
4507 withval
="$with_debug_flag"
4508 if test "x$with_debug_flag" = xyes
; then
4509 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="1"'
4511 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="0"'
4515 LINE
=`grep "wxUSE_DEBUG_FLAG" ${OSTYPE}.system.cache`
4516 if test "x$LINE" != x
; then
4517 eval "DEFAULT_$LINE"
4519 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4523 eval "$ac_cv_use_debug_flag"
4524 echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp
4525 if test "$wxUSE_DEBUG_FLAG" = 1; then
4526 echo "$ac_t""yes" 1>&6
4528 echo "$ac_t""no" 1>&6
4533 echo $ac_n "checking "for debug_info
"""... $ac_c" 1>&6
4534 echo "configure:4535: checking "for debug_info
"" >&5
4535 # Check whether --with-debug_info or --without-debug_info was given.
4536 if test "${with_debug_info+set}" = set; then
4537 withval
="$with_debug_info"
4538 if test "x$with_debug_info" = xyes
; then
4539 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="1"'
4541 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="0"'
4545 LINE
=`grep "wxUSE_DEBUG_INFO" ${OSTYPE}.system.cache`
4546 if test "x$LINE" != x
; then
4547 eval "DEFAULT_$LINE"
4549 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4553 eval "$ac_cv_use_debug_info"
4554 echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp
4555 if test "$wxUSE_DEBUG_INFO" = 1; then
4556 echo "$ac_t""yes" 1>&6
4558 echo "$ac_t""no" 1>&6
4563 echo $ac_n "checking "for mem_tracing
"""... $ac_c" 1>&6
4564 echo "configure:4565: checking "for mem_tracing
"" >&5
4565 # Check whether --with-mem_tracing or --without-mem_tracing was given.
4566 if test "${with_mem_tracing+set}" = set; then
4567 withval
="$with_mem_tracing"
4568 if test "x$with_mem_tracing" = xyes
; then
4569 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="1"'
4571 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="0"'
4575 LINE
=`grep "wxUSE_MEM_TRACING" ${OSTYPE}.system.cache`
4576 if test "x$LINE" != x
; then
4577 eval "DEFAULT_$LINE"
4579 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4583 eval "$ac_cv_use_mem_tracing"
4584 echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
4585 if test "$wxUSE_MEM_TRACING" = 1; then
4586 echo "$ac_t""yes" 1>&6
4588 echo "$ac_t""no" 1>&6
4593 echo $ac_n "checking "for dmalloc
"""... $ac_c" 1>&6
4594 echo "configure:4595: checking "for dmalloc
"" >&5
4595 # Check whether --with-dmalloc or --without-dmalloc was given.
4596 if test "${with_dmalloc+set}" = set; then
4597 withval
="$with_dmalloc"
4598 if test "x$with_dmalloc" = xyes
; then
4599 ac_cv_use_dmalloc
='wxUSE_DMALLOC="1"'
4601 ac_cv_use_dmalloc
='wxUSE_DMALLOC="0"'
4605 LINE
=`grep "wxUSE_DMALLOC" ${OSTYPE}.system.cache`
4606 if test "x$LINE" != x
; then
4607 eval "DEFAULT_$LINE"
4609 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4613 eval "$ac_cv_use_dmalloc"
4614 echo $ac_cv_use_dmalloc >> ${OSTYPE}.system.cache.tmp
4615 if test "$wxUSE_DMALLOC" = 1; then
4616 echo "$ac_t""yes" 1>&6
4618 echo "$ac_t""no" 1>&6
4623 echo $ac_n "checking "for profile
"""... $ac_c" 1>&6
4624 echo "configure:4625: checking "for profile
"" >&5
4625 # Check whether --with-profile or --without-profile was given.
4626 if test "${with_profile+set}" = set; then
4627 withval
="$with_profile"
4628 if test "x$with_profile" = xyes
; then
4629 ac_cv_use_profile
='wxUSE_PROFILE="1"'
4631 ac_cv_use_profile
='wxUSE_PROFILE="0"'
4635 LINE
=`grep "wxUSE_PROFILE" ${OSTYPE}.system.cache`
4636 if test "x$LINE" != x
; then
4637 eval "DEFAULT_$LINE"
4639 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4643 eval "$ac_cv_use_profile"
4644 echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
4645 if test "$wxUSE_PROFILE" = 1; then
4646 echo "$ac_t""yes" 1>&6
4648 echo "$ac_t""no" 1>&6
4653 echo $ac_n "checking "for apple_ieee
"""... $ac_c" 1>&6
4654 echo "configure:4655: checking "for apple_ieee
"" >&5
4655 # Check whether --with-apple_ieee or --without-apple_ieee was given.
4656 if test "${with_apple_ieee+set}" = set; then
4657 withval
="$with_apple_ieee"
4658 if test "x$with_apple_ieee" = xyes
; then
4659 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="1"'
4661 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="0"'
4665 LINE
=`grep "wxUSE_APPLE_IEEE" ${OSTYPE}.system.cache`
4666 if test "x$LINE" != x
; then
4667 eval "DEFAULT_$LINE"
4669 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4673 eval "$ac_cv_use_apple_ieee"
4674 echo $ac_cv_use_apple_ieee >> ${OSTYPE}.system.cache.tmp
4675 if test "$wxUSE_APPLE_IEEE" = 1; then
4676 echo "$ac_t""yes" 1>&6
4678 echo "$ac_t""no" 1>&6
4684 echo $ac_n "checking "for zlib
"""... $ac_c" 1>&6
4685 echo "configure:4686: checking "for zlib
"" >&5
4686 # Check whether --with-zlib or --without-zlib was given.
4687 if test "${with_zlib+set}" = set; then
4688 withval
="$with_zlib"
4689 if test "x$with_zlib" = xyes
; then
4690 ac_cv_use_zlib
='wxUSE_ZLIB="1"'
4692 ac_cv_use_zlib
='wxUSE_ZLIB="0"'
4696 LINE
=`grep "wxUSE_ZLIB" ${OSTYPE}.system.cache`
4697 if test "x$LINE" != x
; then
4698 eval "DEFAULT_$LINE"
4700 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4704 eval "$ac_cv_use_zlib"
4705 echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
4706 if test "$wxUSE_ZLIB" = 1; then
4707 echo "$ac_t""yes" 1>&6
4709 echo "$ac_t""no" 1>&6
4714 echo $ac_n "checking "for gdk_imlib
"""... $ac_c" 1>&6
4715 echo "configure:4716: checking "for gdk_imlib
"" >&5
4716 # Check whether --with-gdk_imlib or --without-gdk_imlib was given.
4717 if test "${with_gdk_imlib+set}" = set; then
4718 withval
="$with_gdk_imlib"
4719 if test "x$with_gdk_imlib" = xyes
; then
4720 ac_cv_use_gdk_imlib
='wxUSE_GDK_IMLIB="1"'
4722 ac_cv_use_gdk_imlib
='wxUSE_GDK_IMLIB="0"'
4726 LINE
=`grep "wxUSE_GDK_IMLIB" ${OSTYPE}.system.cache`
4727 if test "x$LINE" != x
; then
4728 eval "DEFAULT_$LINE"
4730 ac_cv_use_gdk_imlib
='wxUSE_GDK_IMLIB='$DEFAULT_wxUSE_GDK_IMLIB
4734 eval "$ac_cv_use_gdk_imlib"
4735 echo $ac_cv_use_gdk_imlib >> ${OSTYPE}.system.cache.tmp
4736 if test "$wxUSE_GDK_IMLIB" = 1; then
4737 echo "$ac_t""yes" 1>&6
4739 echo "$ac_t""no" 1>&6
4744 echo $ac_n "checking "for libpng
"""... $ac_c" 1>&6
4745 echo "configure:4746: checking "for libpng
"" >&5
4746 # Check whether --with-libpng or --without-libpng was given.
4747 if test "${with_libpng+set}" = set; then
4748 withval
="$with_libpng"
4749 if test "x$with_libpng" = xyes
; then
4750 ac_cv_use_libpng
='wxUSE_LIBPNG="1"'
4752 ac_cv_use_libpng
='wxUSE_LIBPNG="0"'
4756 LINE
=`grep "wxUSE_LIBPNG" ${OSTYPE}.system.cache`
4757 if test "x$LINE" != x
; then
4758 eval "DEFAULT_$LINE"
4760 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
4764 eval "$ac_cv_use_libpng"
4765 echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
4766 if test "$wxUSE_LIBPNG" = 1; then
4767 echo "$ac_t""yes" 1>&6
4769 echo "$ac_t""no" 1>&6
4774 echo $ac_n "checking "for odbc
"""... $ac_c" 1>&6
4775 echo "configure:4776: checking "for odbc
"" >&5
4776 # Check whether --with-odbc or --without-odbc was given.
4777 if test "${with_odbc+set}" = set; then
4778 withval
="$with_odbc"
4779 if test "x$with_odbc" = xyes
; then
4780 ac_cv_use_odbc
='wxUSE_ODBC="1"'
4782 ac_cv_use_odbc
='wxUSE_ODBC="0"'
4786 LINE
=`grep "wxUSE_ODBC" ${OSTYPE}.system.cache`
4787 if test "x$LINE" != x
; then
4788 eval "DEFAULT_$LINE"
4790 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4794 eval "$ac_cv_use_odbc"
4795 echo $ac_cv_use_odbc >> ${OSTYPE}.system.cache.tmp
4796 if test "$wxUSE_ODBC" = 1; then
4797 echo "$ac_t""yes" 1>&6
4799 echo "$ac_t""no" 1>&6
4804 echo $ac_n "checking "for opengl
"""... $ac_c" 1>&6
4805 echo "configure:4806: checking "for opengl
"" >&5
4806 # Check whether --with-opengl or --without-opengl was given.
4807 if test "${with_opengl+set}" = set; then
4808 withval
="$with_opengl"
4809 if test "x$with_opengl" = xyes
; then
4810 ac_cv_use_opengl
='wxUSE_OPENGL="1"'
4812 ac_cv_use_opengl
='wxUSE_OPENGL="0"'
4816 LINE
=`grep "wxUSE_OPENGL" ${OSTYPE}.system.cache`
4817 if test "x$LINE" != x
; then
4818 eval "DEFAULT_$LINE"
4820 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4824 eval "$ac_cv_use_opengl"
4825 echo $ac_cv_use_opengl >> ${OSTYPE}.system.cache.tmp
4826 if test "$wxUSE_OPENGL" = 1; then
4827 echo "$ac_t""yes" 1>&6
4829 echo "$ac_t""no" 1>&6
4835 echo $ac_n "checking "for gauge
"""... $ac_c" 1>&6
4836 echo "configure:4837: checking "for gauge
"" >&5
4837 # Check whether --with-gauge or --without-gauge was given.
4838 if test "${with_gauge+set}" = set; then
4839 withval
="$with_gauge"
4840 if test "x$with_gauge" = xyes
; then
4841 ac_cv_use_gauge
='wxUSE_GAUGE="1"'
4843 ac_cv_use_gauge
='wxUSE_GAUGE="0"'
4847 LINE
=`grep "wxUSE_GAUGE" ${OSTYPE}.system.cache`
4848 if test "x$LINE" != x
; then
4849 eval "DEFAULT_$LINE"
4851 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4855 eval "$ac_cv_use_gauge"
4856 echo $ac_cv_use_gauge >> ${OSTYPE}.system.cache.tmp
4857 if test "$wxUSE_GAUGE" = 1; then
4858 echo "$ac_t""yes" 1>&6
4860 echo "$ac_t""no" 1>&6
4865 echo $ac_n "checking "for combobox
"""... $ac_c" 1>&6
4866 echo "configure:4867: checking "for combobox
"" >&5
4867 # Check whether --with-combobox or --without-combobox was given.
4868 if test "${with_combobox+set}" = set; then
4869 withval
="$with_combobox"
4870 if test "x$with_combobox" = xyes
; then
4871 ac_cv_use_combobox
='wxUSE_COMBOBOX="1"'
4873 ac_cv_use_combobox
='wxUSE_COMBOBOX="0"'
4877 LINE
=`grep "wxUSE_COMBOBOX" ${OSTYPE}.system.cache`
4878 if test "x$LINE" != x
; then
4879 eval "DEFAULT_$LINE"
4881 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4885 eval "$ac_cv_use_combobox"
4886 echo $ac_cv_use_combobox >> ${OSTYPE}.system.cache.tmp
4887 if test "$wxUSE_COMBOBOX" = 1; then
4888 echo "$ac_t""yes" 1>&6
4890 echo "$ac_t""no" 1>&6
4895 echo $ac_n "checking "for scrollbar
"""... $ac_c" 1>&6
4896 echo "configure:4897: checking "for scrollbar
"" >&5
4897 # Check whether --with-scrollbar or --without-scrollbar was given.
4898 if test "${with_scrollbar+set}" = set; then
4899 withval
="$with_scrollbar"
4900 if test "x$with_scrollbar" = xyes
; then
4901 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR="1"'
4903 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR="0"'
4907 LINE
=`grep "wxUSE_SCROLLBAR" ${OSTYPE}.system.cache`
4908 if test "x$LINE" != x
; then
4909 eval "DEFAULT_$LINE"
4911 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4915 eval "$ac_cv_use_scrollbar"
4916 echo $ac_cv_use_scrollbar >> ${OSTYPE}.system.cache.tmp
4917 if test "$wxUSE_SCROLLBAR" = 1; then
4918 echo "$ac_t""yes" 1>&6
4920 echo "$ac_t""no" 1>&6
4925 echo $ac_n "checking "for listctrl
"""... $ac_c" 1>&6
4926 echo "configure:4927: checking "for listctrl
"" >&5
4927 # Check whether --with-listctrl or --without-listctrl was given.
4928 if test "${with_listctrl+set}" = set; then
4929 withval
="$with_listctrl"
4930 if test "x$with_listctrl" = xyes
; then
4931 ac_cv_use_listctrl
='wxUSE_LISTCTRL="1"'
4933 ac_cv_use_listctrl
='wxUSE_LISTCTRL="0"'
4937 LINE
=`grep "wxUSE_LISTCTRL" ${OSTYPE}.system.cache`
4938 if test "x$LINE" != x
; then
4939 eval "DEFAULT_$LINE"
4941 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4945 eval "$ac_cv_use_listctrl"
4946 echo $ac_cv_use_listctrl >> ${OSTYPE}.system.cache.tmp
4947 if test "$wxUSE_LISTCTRL" = 1; then
4948 echo "$ac_t""yes" 1>&6
4950 echo "$ac_t""no" 1>&6
4955 echo $ac_n "checking "for treectrl
"""... $ac_c" 1>&6
4956 echo "configure:4957: checking "for treectrl
"" >&5
4957 # Check whether --with-treectrl or --without-treectrl was given.
4958 if test "${with_treectrl+set}" = set; then
4959 withval
="$with_treectrl"
4960 if test "x$with_treectrl" = xyes
; then
4961 ac_cv_use_treectrl
='wxUSE_TREECTRL="1"'
4963 ac_cv_use_treectrl
='wxUSE_TREECTRL="0"'
4967 LINE
=`grep "wxUSE_TREECTRL" ${OSTYPE}.system.cache`
4968 if test "x$LINE" != x
; then
4969 eval "DEFAULT_$LINE"
4971 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
4975 eval "$ac_cv_use_treectrl"
4976 echo $ac_cv_use_treectrl >> ${OSTYPE}.system.cache.tmp
4977 if test "$wxUSE_TREECTRL" = 1; then
4978 echo "$ac_t""yes" 1>&6
4980 echo "$ac_t""no" 1>&6
4985 echo $ac_n "checking "for grid
"""... $ac_c" 1>&6
4986 echo "configure:4987: checking "for grid
"" >&5
4987 # Check whether --with-grid or --without-grid was given.
4988 if test "${with_grid+set}" = set; then
4989 withval
="$with_grid"
4990 if test "x$with_grid" = xyes
; then
4991 ac_cv_use_grid
='wxUSE_GRID="1"'
4993 ac_cv_use_grid
='wxUSE_GRID="0"'
4997 LINE
=`grep "wxUSE_GRID" ${OSTYPE}.system.cache`
4998 if test "x$LINE" != x
; then
4999 eval "DEFAULT_$LINE"
5001 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5005 eval "$ac_cv_use_grid"
5006 echo $ac_cv_use_grid >> ${OSTYPE}.system.cache.tmp
5007 if test "$wxUSE_GRID" = 1; then
5008 echo "$ac_t""yes" 1>&6
5010 echo "$ac_t""no" 1>&6
5015 echo $ac_n "checking "for tab_dialog
"""... $ac_c" 1>&6
5016 echo "configure:5017: checking "for tab_dialog
"" >&5
5017 # Check whether --with-tab_dialog or --without-tab_dialog was given.
5018 if test "${with_tab_dialog+set}" = set; then
5019 withval
="$with_tab_dialog"
5020 if test "x$with_tab_dialog" = xyes
; then
5021 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG="1"'
5023 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG="0"'
5027 LINE
=`grep "wxUSE_TAB_DIALOG" ${OSTYPE}.system.cache`
5028 if test "x$LINE" != x
; then
5029 eval "DEFAULT_$LINE"
5031 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
5035 eval "$ac_cv_use_tab_dialog"
5036 echo $ac_cv_use_tab_dialog >> ${OSTYPE}.system.cache.tmp
5037 if test "$wxUSE_TAB_DIALOG" = 1; then
5038 echo "$ac_t""yes" 1>&6
5040 echo "$ac_t""no" 1>&6
5045 echo $ac_n "checking "for notebook
"""... $ac_c" 1>&6
5046 echo "configure:5047: checking "for notebook
"" >&5
5047 # Check whether --with-notebook or --without-notebook was given.
5048 if test "${with_notebook+set}" = set; then
5049 withval
="$with_notebook"
5050 if test "x$with_notebook" = xyes
; then
5051 ac_cv_use_notebook
='wxUSE_NOTEBOOK="1"'
5053 ac_cv_use_notebook
='wxUSE_NOTEBOOK="0"'
5057 LINE
=`grep "wxUSE_NOTEBOOK" ${OSTYPE}.system.cache`
5058 if test "x$LINE" != x
; then
5059 eval "DEFAULT_$LINE"
5061 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5065 eval "$ac_cv_use_notebook"
5066 echo $ac_cv_use_notebook >> ${OSTYPE}.system.cache.tmp
5067 if test "$wxUSE_NOTEBOOK" = 1; then
5068 echo "$ac_t""yes" 1>&6
5070 echo "$ac_t""no" 1>&6
5076 echo $ac_n "checking "for timedate
"""... $ac_c" 1>&6
5077 echo "configure:5078: checking "for timedate
"" >&5
5078 # Check whether --with-timedate or --without-timedate was given.
5079 if test "${with_timedate+set}" = set; then
5080 withval
="$with_timedate"
5081 if test "x$with_timedate" = xyes
; then
5082 ac_cv_use_timedate
='wxUSE_TIMEDATE="1"'
5084 ac_cv_use_timedate
='wxUSE_TIMEDATE="0"'
5088 LINE
=`grep "wxUSE_TIMEDATE" ${OSTYPE}.system.cache`
5089 if test "x$LINE" != x
; then
5090 eval "DEFAULT_$LINE"
5092 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
5096 eval "$ac_cv_use_timedate"
5097 echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
5098 if test "$wxUSE_TIMEDATE" = 1; then
5099 echo "$ac_t""yes" 1>&6
5101 echo "$ac_t""no" 1>&6
5106 echo $ac_n "checking "for fraction
"""... $ac_c" 1>&6
5107 echo "configure:5108: checking "for fraction
"" >&5
5108 # Check whether --with-fraction or --without-fraction was given.
5109 if test "${with_fraction+set}" = set; then
5110 withval
="$with_fraction"
5111 if test "x$with_fraction" = xyes
; then
5112 ac_cv_use_fraction
='wxUSE_FRACTION="1"'
5114 ac_cv_use_fraction
='wxUSE_FRACTION="0"'
5118 LINE
=`grep "wxUSE_FRACTION" ${OSTYPE}.system.cache`
5119 if test "x$LINE" != x
; then
5120 eval "DEFAULT_$LINE"
5122 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
5126 eval "$ac_cv_use_fraction"
5127 echo $ac_cv_use_fraction >> ${OSTYPE}.system.cache.tmp
5128 if test "$wxUSE_FRACTION" = 1; then
5129 echo "$ac_t""yes" 1>&6
5131 echo "$ac_t""no" 1>&6
5136 echo $ac_n "checking "for log
"""... $ac_c" 1>&6
5137 echo "configure:5138: checking "for log
"" >&5
5138 # Check whether --with-log or --without-log was given.
5139 if test "${with_log+set}" = set; then
5141 if test "x$with_log" = xyes
; then
5142 ac_cv_use_log
='wxUSE_LOG="1"'
5144 ac_cv_use_log
='wxUSE_LOG="0"'
5148 LINE
=`grep "wxUSE_LOG" ${OSTYPE}.system.cache`
5149 if test "x$LINE" != x
; then
5150 eval "DEFAULT_$LINE"
5152 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5156 eval "$ac_cv_use_log"
5157 echo $ac_cv_use_log >> ${OSTYPE}.system.cache.tmp
5158 if test "$wxUSE_LOG" = 1; then
5159 echo "$ac_t""yes" 1>&6
5161 echo "$ac_t""no" 1>&6
5166 echo $ac_n "checking "for intl
"""... $ac_c" 1>&6
5167 echo "configure:5168: checking "for intl
"" >&5
5168 # Check whether --with-intl or --without-intl was given.
5169 if test "${with_intl+set}" = set; then
5170 withval
="$with_intl"
5171 if test "x$with_intl" = xyes
; then
5172 ac_cv_use_intl
='wxUSE_INTL="1"'
5174 ac_cv_use_intl
='wxUSE_INTL="0"'
5178 LINE
=`grep "wxUSE_INTL" ${OSTYPE}.system.cache`
5179 if test "x$LINE" != x
; then
5180 eval "DEFAULT_$LINE"
5182 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5186 eval "$ac_cv_use_intl"
5187 echo $ac_cv_use_intl >> ${OSTYPE}.system.cache.tmp
5188 if test "$wxUSE_INTL" = 1; then
5189 echo "$ac_t""yes" 1>&6
5191 echo "$ac_t""no" 1>&6
5196 echo $ac_n "checking "for config
"""... $ac_c" 1>&6
5197 echo "configure:5198: checking "for config
"" >&5
5198 # Check whether --with-config or --without-config was given.
5199 if test "${with_config+set}" = set; then
5200 withval
="$with_config"
5201 if test "x$with_config" = xyes
; then
5202 ac_cv_use_config
='wxUSE_CONFIG="1"'
5204 ac_cv_use_config
='wxUSE_CONFIG="0"'
5208 LINE
=`grep "wxUSE_CONFIG" ${OSTYPE}.system.cache`
5209 if test "x$LINE" != x
; then
5210 eval "DEFAULT_$LINE"
5212 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5216 eval "$ac_cv_use_config"
5217 echo $ac_cv_use_config >> ${OSTYPE}.system.cache.tmp
5218 if test "$wxUSE_CONFIG" = 1; then
5219 echo "$ac_t""yes" 1>&6
5221 echo "$ac_t""no" 1>&6
5226 echo $ac_n "checking "for streams
"""... $ac_c" 1>&6
5227 echo "configure:5228: checking "for streams
"" >&5
5228 # Check whether --with-streams or --without-streams was given.
5229 if test "${with_streams+set}" = set; then
5230 withval
="$with_streams"
5231 if test "x$with_streams" = xyes
; then
5232 ac_cv_use_streams
='wxUSE_STREAMS="1"'
5234 ac_cv_use_streams
='wxUSE_STREAMS="0"'
5238 LINE
=`grep "wxUSE_STREAMS" ${OSTYPE}.system.cache`
5239 if test "x$LINE" != x
; then
5240 eval "DEFAULT_$LINE"
5242 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5246 eval "$ac_cv_use_streams"
5247 echo $ac_cv_use_streams >> ${OSTYPE}.system.cache.tmp
5248 if test "$wxUSE_STREAMS" = 1; then
5249 echo "$ac_t""yes" 1>&6
5251 echo "$ac_t""no" 1>&6
5256 echo $ac_n "checking "for serial
"""... $ac_c" 1>&6
5257 echo "configure:5258: checking "for serial
"" >&5
5258 # Check whether --with-serial or --without-serial was given.
5259 if test "${with_serial+set}" = set; then
5260 withval
="$with_serial"
5261 if test "x$with_serial" = xyes
; then
5262 ac_cv_use_serial
='wxUSE_SERIAL="1"'
5264 ac_cv_use_serial
='wxUSE_SERIAL="0"'
5268 LINE
=`grep "wxUSE_SERIAL" ${OSTYPE}.system.cache`
5269 if test "x$LINE" != x
; then
5270 eval "DEFAULT_$LINE"
5272 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
5276 eval "$ac_cv_use_serial"
5277 echo $ac_cv_use_serial >> ${OSTYPE}.system.cache.tmp
5278 if test "$wxUSE_SERIAL" = 1; then
5279 echo "$ac_t""yes" 1>&6
5281 echo "$ac_t""no" 1>&6
5286 echo $ac_n "checking "for file"""... $ac_c" 1>&6
5287 echo "configure:5288: checking "for file"" >&5
5288 # Check whether --with-file or --without-file was given.
5289 if test "${with_file+set}" = set; then
5290 withval
="$with_file"
5291 if test "x$with_file" = xyes
; then
5292 ac_cv_use_file
='wxUSE_FILE="1"'
5294 ac_cv_use_file
='wxUSE_FILE="0"'
5298 LINE
=`grep "wxUSE_FILE" ${OSTYPE}.system.cache`
5299 if test "x$LINE" != x
; then
5300 eval "DEFAULT_$LINE"
5302 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5306 eval "$ac_cv_use_file"
5307 echo $ac_cv_use_file >> ${OSTYPE}.system.cache.tmp
5308 if test "$wxUSE_FILE" = 1; then
5309 echo "$ac_t""yes" 1>&6
5311 echo "$ac_t""no" 1>&6
5316 echo $ac_n "checking "for textfile
"""... $ac_c" 1>&6
5317 echo "configure:5318: checking "for textfile
"" >&5
5318 # Check whether --with-textfile or --without-textfile was given.
5319 if test "${with_textfile+set}" = set; then
5320 withval
="$with_textfile"
5321 if test "x$with_textfile" = xyes
; then
5322 ac_cv_use_textfile
='wxUSE_TEXTFILE="1"'
5324 ac_cv_use_textfile
='wxUSE_TEXTFILE="0"'
5328 LINE
=`grep "wxUSE_TEXTFILE" ${OSTYPE}.system.cache`
5329 if test "x$LINE" != x
; then
5330 eval "DEFAULT_$LINE"
5332 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5336 eval "$ac_cv_use_textfile"
5337 echo $ac_cv_use_textfile >> ${OSTYPE}.system.cache.tmp
5338 if test "$wxUSE_TEXTFILE" = 1; then
5339 echo "$ac_t""yes" 1>&6
5341 echo "$ac_t""no" 1>&6
5347 echo $ac_n "checking "for afmfonts
"""... $ac_c" 1>&6
5348 echo "configure:5349: checking "for afmfonts
"" >&5
5349 # Check whether --with-afmfonts or --without-afmfonts was given.
5350 if test "${with_afmfonts+set}" = set; then
5351 withval
="$with_afmfonts"
5352 if test "x$with_afmfonts" = xyes
; then
5353 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="1"'
5355 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="0"'
5359 LINE
=`grep "wxUSE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache`
5360 if test "x$LINE" != x
; then
5361 eval "DEFAULT_$LINE"
5363 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT='$DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
5367 eval "$ac_cv_use_afmfonts"
5368 echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
5369 if test "$wxUSE_AFM_FOR_POSTSCRIPT" = 1; then
5370 echo "$ac_t""yes" 1>&6
5372 echo "$ac_t""no" 1>&6
5377 echo $ac_n "checking "for normalized
"""... $ac_c" 1>&6
5378 echo "configure:5379: checking "for normalized
"" >&5
5379 # Check whether --with-normalized or --without-normalized was given.
5380 if test "${with_normalized+set}" = set; then
5381 withval
="$with_normalized"
5382 if test "x$with_normalized" = xyes
; then
5383 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="1"'
5385 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="0"'
5389 LINE
=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache`
5390 if test "x$LINE" != x
; then
5391 eval "DEFAULT_$LINE"
5393 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS
5397 eval "$ac_cv_use_normalized"
5398 echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
5399 if test "$WX_NORMALIZED_PS_FONTS" = 1; then
5400 echo "$ac_t""yes" 1>&6
5402 echo "$ac_t""no" 1>&6
5407 echo $ac_n "checking "for postscript
"""... $ac_c" 1>&6
5408 echo "configure:5409: checking "for postscript
"" >&5
5409 # Check whether --with-postscript or --without-postscript was given.
5410 if test "${with_postscript+set}" = set; then
5411 withval
="$with_postscript"
5412 if test "x$with_postscript" = xyes
; then
5413 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="1"'
5415 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="0"'
5419 LINE
=`grep "wxUSE_POSTSCRIPT" ${OSTYPE}.system.cache`
5420 if test "x$LINE" != x
; then
5421 eval "DEFAULT_$LINE"
5423 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5427 eval "$ac_cv_use_postscript"
5428 echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
5429 if test "$wxUSE_POSTSCRIPT" = 1; then
5430 echo "$ac_t""yes" 1>&6
5432 echo "$ac_t""no" 1>&6
5438 echo $ac_n "checking "for wxresources
"""... $ac_c" 1>&6
5439 echo "configure:5440: checking "for wxresources
"" >&5
5440 # Check whether --with-wxresources or --without-wxresources was given.
5441 if test "${with_wxresources+set}" = set; then
5442 withval
="$with_wxresources"
5443 if test "x$with_wxresources" = xyes
; then
5444 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="1"'
5446 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="0"'
5450 LINE
=`grep "wxUSE_WX_RESOURCES" ${OSTYPE}.system.cache`
5451 if test "x$LINE" != x
; then
5452 eval "DEFAULT_$LINE"
5454 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES='$DEFAULT_wxUSE_WX_RESOURCES
5458 eval "$ac_cv_use_wxresources"
5459 echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
5460 if test "$wxUSE_WX_RESOURCES" = 1; then
5461 echo "$ac_t""yes" 1>&6
5463 echo "$ac_t""no" 1>&6
5468 echo $ac_n "checking "for prologio
"""... $ac_c" 1>&6
5469 echo "configure:5470: checking "for prologio
"" >&5
5470 # Check whether --with-prologio or --without-prologio was given.
5471 if test "${with_prologio+set}" = set; then
5472 withval
="$with_prologio"
5473 if test "x$with_prologio" = xyes
; then
5474 ac_cv_use_prologio
='wxUSE_PROLOGIO="1"'
5476 ac_cv_use_prologio
='wxUSE_PROLOGIO="0"'
5480 LINE
=`grep "wxUSE_PROLOGIO" ${OSTYPE}.system.cache`
5481 if test "x$LINE" != x
; then
5482 eval "DEFAULT_$LINE"
5484 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5488 eval "$ac_cv_use_prologio"
5489 echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
5490 if test "$wxUSE_PROLOGIO" = 1; then
5491 echo "$ac_t""yes" 1>&6
5493 echo "$ac_t""no" 1>&6
5498 echo $ac_n "checking "for RPC
"""... $ac_c" 1>&6
5499 echo "configure:5500: checking "for RPC
"" >&5
5500 # Check whether --with-rpc or --without-rpc was given.
5501 if test "${with_rpc+set}" = set; then
5503 if test "x$with_rpc" = xyes
; then
5504 ac_cv_use_rpc
='wxUSE_RPC="1"'
5506 ac_cv_use_rpc
='wxUSE_RPC="0"'
5510 LINE
=`grep "wxUSE_RPC" ${OSTYPE}.system.cache`
5511 if test "x$LINE" != x
; then
5512 eval "DEFAULT_$LINE"
5514 ac_cv_use_rpc
='wxUSE_RPC='$DEFAULT_wxUSE_RPC
5518 eval "$ac_cv_use_rpc"
5519 echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
5520 if test "$wxUSE_RPC" = 1; then
5521 echo "$ac_t""yes" 1>&6
5523 echo "$ac_t""no" 1>&6
5529 echo $ac_n "checking "for IPC
"""... $ac_c" 1>&6
5530 echo "configure:5531: checking "for IPC
"" >&5
5531 # Check whether --with-ipc or --without-ipc was given.
5532 if test "${with_ipc+set}" = set; then
5534 if test "x$with_ipc" = xyes
; then
5535 ac_cv_use_ipc
='wxUSE_IPC="1"'
5537 ac_cv_use_ipc
='wxUSE_IPC="0"'
5541 LINE
=`grep "wxUSE_IPC" ${OSTYPE}.system.cache`
5542 if test "x$LINE" != x
; then
5543 eval "DEFAULT_$LINE"
5545 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5549 eval "$ac_cv_use_ipc"
5550 echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
5551 if test "$wxUSE_IPC" = 1; then
5552 echo "$ac_t""yes" 1>&6
5554 echo "$ac_t""no" 1>&6
5559 echo $ac_n "checking "for resources
"""... $ac_c" 1>&6
5560 echo "configure:5561: checking "for resources
"" >&5
5561 # Check whether --with-resources or --without-resources was given.
5562 if test "${with_resources+set}" = set; then
5563 withval
="$with_resources"
5564 if test "x$with_resources" = xyes
; then
5565 ac_cv_use_resources
='wxUSE_RESOURCES="1"'
5567 ac_cv_use_resources
='wxUSE_RESOURCES="0"'
5571 LINE
=`grep "wxUSE_RESOURCES" ${OSTYPE}.system.cache`
5572 if test "x$LINE" != x
; then
5573 eval "DEFAULT_$LINE"
5575 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5579 eval "$ac_cv_use_resources"
5580 echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
5581 if test "$wxUSE_RESOURCES" = 1; then
5582 echo "$ac_t""yes" 1>&6
5584 echo "$ac_t""no" 1>&6
5589 echo $ac_n "checking "for clipboard
"""... $ac_c" 1>&6
5590 echo "configure:5591: checking "for clipboard
"" >&5
5591 # Check whether --with-clipboard or --without-clipboard was given.
5592 if test "${with_clipboard+set}" = set; then
5593 withval
="$with_clipboard"
5594 if test "x$with_clipboard" = xyes
; then
5595 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="1"'
5597 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="0"'
5601 LINE
=`grep "wxUSE_CLIPBOARD" ${OSTYPE}.system.cache`
5602 if test "x$LINE" != x
; then
5603 eval "DEFAULT_$LINE"
5605 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5609 eval "$ac_cv_use_clipboard"
5610 echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
5611 if test "$wxUSE_CLIPBOARD" = 1; then
5612 echo "$ac_t""yes" 1>&6
5614 echo "$ac_t""no" 1>&6
5619 echo $ac_n "checking "for dnd
"""... $ac_c" 1>&6
5620 echo "configure:5621: checking "for dnd
"" >&5
5621 # Check whether --with-dnd or --without-dnd was given.
5622 if test "${with_dnd+set}" = set; then
5624 if test "x$with_dnd" = xyes
; then
5625 ac_cv_use_dnd
='wxUSE_DND="1"'
5627 ac_cv_use_dnd
='wxUSE_DND="0"'
5631 LINE
=`grep "wxUSE_DND" ${OSTYPE}.system.cache`
5632 if test "x$LINE" != x
; then
5633 eval "DEFAULT_$LINE"
5635 ac_cv_use_dnd
='wxUSE_DND='$DEFAULT_wxUSE_DND
5639 eval "$ac_cv_use_dnd"
5640 echo $ac_cv_use_dnd >> ${OSTYPE}.system.cache.tmp
5641 if test "$wxUSE_DND" = 1; then
5642 echo "$ac_t""yes" 1>&6
5644 echo "$ac_t""no" 1>&6
5649 echo $ac_n "checking "for constrains
"""... $ac_c" 1>&6
5650 echo "configure:5651: checking "for constrains
"" >&5
5651 # Check whether --with-constraints or --without-constraints was given.
5652 if test "${with_constraints+set}" = set; then
5653 withval
="$with_constraints"
5654 if test "x$with_constraints" = xyes
; then
5655 ac_cv_use_constraints
='wxUSE_CONSTRAINTS="1"'
5657 ac_cv_use_constraints
='wxUSE_CONSTRAINTS="0"'
5661 LINE
=`grep "wxUSE_CONSTRAINTS" ${OSTYPE}.system.cache`
5662 if test "x$LINE" != x
; then
5663 eval "DEFAULT_$LINE"
5665 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5669 eval "$ac_cv_use_constraints"
5670 echo $ac_cv_use_constraints >> ${OSTYPE}.system.cache.tmp
5671 if test "$wxUSE_CONSTRAINTS" = 1; then
5672 echo "$ac_t""yes" 1>&6
5674 echo "$ac_t""no" 1>&6
5680 echo $ac_n "checking "for mdi
"""... $ac_c" 1>&6
5681 echo "configure:5682: checking "for mdi
"" >&5
5682 # Check whether --with-mdi or --without-mdi was given.
5683 if test "${with_mdi+set}" = set; then
5685 if test "x$with_mdi" = xyes
; then
5686 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="1"'
5688 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="0"'
5692 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${OSTYPE}.system.cache`
5693 if test "x$LINE" != x
; then
5694 eval "DEFAULT_$LINE"
5696 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5700 eval "$ac_cv_use_mdi"
5701 echo $ac_cv_use_mdi >> ${OSTYPE}.system.cache.tmp
5702 if test "$wxUSE_MDI_ARCHITECTURE" = 1; then
5703 echo "$ac_t""yes" 1>&6
5705 echo "$ac_t""no" 1>&6
5710 echo $ac_n "checking "for docview
"""... $ac_c" 1>&6
5711 echo "configure:5712: checking "for docview
"" >&5
5712 # Check whether --with-docview or --without-docview was given.
5713 if test "${with_docview+set}" = set; then
5714 withval
="$with_docview"
5715 if test "x$with_docview" = xyes
; then
5716 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="1"'
5718 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="0"'
5722 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache`
5723 if test "x$LINE" != x
; then
5724 eval "DEFAULT_$LINE"
5726 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5730 eval "$ac_cv_use_docview"
5731 echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp
5732 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1; then
5733 echo "$ac_t""yes" 1>&6
5735 echo "$ac_t""no" 1>&6
5740 echo $ac_n "checking "for printarch
"""... $ac_c" 1>&6
5741 echo "configure:5742: checking "for printarch
"" >&5
5742 # Check whether --with-printarch or --without-printarch was given.
5743 if test "${with_printarch+set}" = set; then
5744 withval
="$with_printarch"
5745 if test "x$with_printarch" = xyes
; then
5746 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="1"'
5748 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="0"'
5752 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache`
5753 if test "x$LINE" != x
; then
5754 eval "DEFAULT_$LINE"
5756 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5760 eval "$ac_cv_use_printarch"
5761 echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp
5762 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1; then
5763 echo "$ac_t""yes" 1>&6
5765 echo "$ac_t""no" 1>&6
5770 if test "$wxUSE_UNIX" = 1 ; then
5771 cat >> confdefs.h
<<\EOF
5787 if test "$wxUSE_GTK" = 1; then
5788 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
5789 if test "${with_gtk_prefix+set}" = set; then
5790 withval
="$with_gtk_prefix"
5791 gtk_config_prefix
="$withval"
5793 gtk_config_prefix
=""
5796 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
5797 if test "${with_gtk_exec_prefix+set}" = set; then
5798 withval
="$with_gtk_exec_prefix"
5799 gtk_config_exec_prefix
="$withval"
5801 gtk_config_exec_prefix
=""
5805 if test x
$gtk_config_exec_prefix != x
; then
5806 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
5807 if test x
${GTK_CONFIG+set} != xset
; then
5808 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
5811 if test x
$gtk_config_prefix != x
; then
5812 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
5813 if test x
${GTK_CONFIG+set} != xset
; then
5814 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
5818 # Extract the first word of "gtk-config", so it can be a program name with args.
5819 set dummy gtk
-config; ac_word
=$2
5820 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5821 echo "configure:5822: checking for $ac_word" >&5
5822 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
5823 echo $ac_n "(cached) $ac_c" 1>&6
5825 case "$GTK_CONFIG" in
5827 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
5830 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5831 for ac_dir
in $PATH; do
5832 test -z "$ac_dir" && ac_dir
=.
5833 if test -f $ac_dir/$ac_word; then
5834 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
5839 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
5843 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
5844 if test -n "$GTK_CONFIG"; then
5845 echo "$ac_t""$GTK_CONFIG" 1>&6
5847 echo "$ac_t""no" 1>&6
5850 min_gtk_version
=0.99.7
5851 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
5852 echo "configure:5853: checking for GTK - version >= $min_gtk_version" >&5
5854 if test "$GTK_CONFIG" != "no" ; then
5855 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
5856 GTK_LIBS
=`$GTK_CONFIG --libs`
5857 ac_save_CFLAGS
="$CFLAGS"
5858 ac_save_LIBS
="$LIBS"
5859 CFLAGS
="$CFLAGS $GTK_CFLAGS"
5860 LIBS
="$LIBS $GTK_LIBS"
5861 if test "$cross_compiling" = yes; then
5862 echo $ac_n "cross compiling; assumed OK... $ac_c"
5864 cat > conftest.
$ac_ext <<EOF
5865 #line 5866 "configure"
5866 #include "confdefs.h"
5868 #include <gtk/gtk.h>
5874 int major, minor, micro;
5876 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
5877 printf("%s, bad version string\n", "$min_gtk_version");
5881 return !((gtk_major_version > major) ||
5882 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
5883 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
5887 if { (eval echo configure
:5888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
5891 echo "configure: failed program was:" >&5
5892 cat conftest.
$ac_ext >&5
5899 CFLAGS
="$ac_save_CFLAGS"
5900 LIBS
="$ac_save_LIBS"
5904 if test "x$no_gtk" = x
; then
5905 echo "$ac_t""yes" 1>&6
5907 GUI_TK_INCLUDE
="$GTK_CFLAGS"
5908 GUI_TK_LIBRARY
="$GTK_LIBS"
5911 echo "$ac_t""no" 1>&6
5914 { echo "configure: error: Are gtk-config and the GTK in path and up-to-date?" 1>&2; exit 1; }
5920 TOOLKIT_DEF
=__WXGTK__
5921 MAKEINCLUDE
=..
/gtk.inc
5924 if test "$wxUSE_QT" = 1; then
5925 echo $ac_n "checking for Qt includes""... $ac_c" 1>&6
5926 echo "configure:5927: checking for Qt includes" >&5
5929 for ac_dir
in $SEARCH_INCLUDE;
5931 if test -f "$ac_dir/qapp.h"; then
5932 ac_find_includes
=$ac_dir
5937 if test "$ac_find_includes" != "" ; then
5938 echo "$ac_t""found $ac_find_includes" 1>&6
5939 echo $ac_n "checking for Qt library""... $ac_c" 1>&6
5940 echo "configure:5941: checking for Qt library" >&5
5943 for ac_dir
in $SEARCH_LIB;
5945 for ac_extension
in a so sl
; do
5946 if test -f "$ac_dir/libqt.$ac_extension"; then
5947 ac_find_libraries
=$ac_dir
5953 if test "$ac_find_libraries" != "" ; then
5955 ac_path_to_include
=$ac_find_includes
5956 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
5958 if test $result = 0; then
5959 ac_path_to_include
=""
5961 ac_path_to_include
="-I$ac_find_includes"
5965 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
5967 if test $result = 0; then
5970 ac_path_to_link
="-L$ac_find_libraries"
5973 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
5974 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
5975 echo "$ac_t""found Qt at $ac_find_libraries" 1>&6
5977 { echo "configure: error: no" 1>&2; exit 1; }
5980 { echo "configure: error: no" 1>&2; exit 1; }
5982 GUI_TK_LINK
="-lXext -lX11 -lqt -lm"
5984 TOOLKIT_DEF
=__WXQT__
5985 MAKEINCLUDE
=..
/qt.inc
5988 if test "$wxUSE_MOTIF" = 1; then
5989 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
5990 echo "configure:5991: checking for Motif/Lesstif includes" >&5
5993 for ac_dir
in $SEARCH_INCLUDE;
5995 if test -f "$ac_dir/Xm.h"; then
5996 ac_find_includes
=$ac_dir
6001 if test "$ac_find_includes" != "" ; then
6002 echo "$ac_t""found $ac_find_includes" 1>&6
6003 echo $ac_n "checking for Motif or Lesstif library""... $ac_c" 1>&6
6004 echo "configure:6005: checking for Motif or Lesstif library" >&5
6007 for ac_dir
in $SEARCH_LIB;
6009 for ac_extension
in a so sl
; do
6010 if test -f "$ac_dir/libXm.$ac_extension"; then
6011 ac_find_libraries
=$ac_dir
6017 if test "$ac_find_libraries" != "" ; then
6019 ac_path_to_include
=$ac_find_includes
6020 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6022 if test $result = 0; then
6023 ac_path_to_include
=""
6025 ac_path_to_include
="-I$ac_find_includes"
6029 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6031 if test $result = 0; then
6034 ac_path_to_link
="-L$ac_find_libraries"
6037 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6038 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6039 echo "$ac_t""found at $ac_find_libraries" 1>&6
6041 { echo "configure: error: no" 1>&2; exit 1; }
6044 { echo "configure: error: no" 1>&2; exit 1; }
6046 GUI_TK_LINK
="-lXext -lXt -lX11 -lXm -lm"
6048 TOOLKIT_DEF
=__WXMOTIF__
6049 MAKEINCLUDE
=..
/motif.inc
6052 if test "$TOOLKIT" = ""; then
6053 { echo "configure: error: You must specify a toolkit: --with-gtk --with-qt --with-motif" 1>&2; exit 1; }
6067 if test "$wxUSE_DEBUG_INFO" = 1 ; then
6072 if test "$wxUSE_DEBUG_FLAG" = 1 ; then
6073 cat >> confdefs.h
<<EOF
6074 #define WXDEBUG $wxUSE_DEBUG_FLAG
6077 WXDEBUG_DEFINE
="-D__WXDEBUG__"
6081 if test "$wxUSE_MEM_TRACING" = 1 ; then
6082 cat >> confdefs.h
<<EOF
6083 #define wxUSE_MEMORY_TRACING $wxUSE_MEM_TRACING
6086 cat >> confdefs.h
<<EOF
6087 #define wxUSE_GLOBAL_MEMORY_OPERATORS $wxUSE_MEM_TRACING
6093 if test "$wxUSE_DMALLOC" = 1 ; then
6094 EXTRA_LINK
="$EXTRA_LINK -ldmalloc"
6099 if test "$wxUSE_PROFILE" = 1 ; then
6104 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
6105 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
6106 if test "$wxUSE_OPTIMISE" = 0 ; then
6109 if test "$GCC" = yes ; then
6111 case "${canonical}" in
6113 OPTIMISE
="${OPTIMISE} "
6123 if test "$wxUSE_APPLE_IEEE" = 1 ; then
6124 APPLE_IEEE
="APPLE_IEEE"
6125 cat >> confdefs.h
<<EOF
6126 #define wxUSE_APPLE_IEEE $wxUSE_APPLE_IEEE
6131 wxUSE_IOSTREAMH
=$DEFAULT_wxUSE_IOSTREAMH
6132 cat >> confdefs.h
<<EOF
6133 #define wxUSE_IOSTREAMH $wxUSE_IOSTREAMH
6138 if test "$wxUSE_ZLIB" = 1 ; then
6139 cat >> confdefs.h
<<EOF
6140 #define wxUSE_ZLIB $wxUSE_ZLIB
6145 if test "$wxUSE_GDK_IMLIB" = 1 ; then
6146 cat >> confdefs.h
<<EOF
6147 #define wxUSE_GDK_IMLIB $wxUSE_GDK_IMLIB
6152 if test "$wxUSE_LIBPNG" = 1 ; then
6153 cat >> confdefs.h
<<EOF
6154 #define wxUSE_LIBPNG $wxUSE_LIBPNG
6159 if test "$wxUSE_ODBC" = 1 ; then
6160 cat >> confdefs.h
<<EOF
6161 #define wxUSE_ODBC $wxUSE_ODBC
6167 if test "$wxUSE_GAUGE" = 1 ; then
6168 cat >> confdefs.h
<<EOF
6169 #define wxUSE_GAUGE $wxUSE_GAUGE
6174 if test "$wxUSE_COMBOBOX" = 1 ; then
6175 cat >> confdefs.h
<<EOF
6176 #define wxUSE_COMBOBOX $wxUSE_COMBOBOX
6181 if test "$wxUSE_SCROLLBAR" = 1 ; then
6182 cat >> confdefs.h
<<EOF
6183 #define wxUSE_SCROLLBAR $wxUSE_SCROLLBAR
6188 if test "$wxUSE_LISTCTRL" = 1 ; then
6189 cat >> confdefs.h
<<EOF
6190 #define wxUSE_LISTCTRL $wxUSE_LISTCTRL
6195 if test "$wxUSE_TREECTRL" = 1 ; then
6196 cat >> confdefs.h
<<EOF
6197 #define wxUSE_TREECTRL $wxUSE_TREECTRL
6202 if test "$wxUSE_GRID" = 1 ; then
6203 cat >> confdefs.h
<<EOF
6204 #define wxUSE_GRID $wxUSE_GRID
6209 if test "$wxUSE_TAB_DIALOG" = 1 ; then
6210 cat >> confdefs.h
<<EOF
6211 #define wxUSE_TAB_DIALOG $wxUSE_TAB_DIALOG
6216 if test "$wxUSE_NOTEBOOK" = 1 ; then
6217 cat >> confdefs.h
<<EOF
6218 #define wxUSE_NOTEBOOK $wxUSE_NOTEBOOK
6224 if test "$wxUSE_CONFIG" = 1 ; then
6225 cat >> confdefs.h
<<EOF
6226 #define wxUSE_CONFIG $wxUSE_CONFIG
6231 if test "$wxUSE_TIMEDATE" = 1 ; then
6232 cat >> confdefs.h
<<EOF
6233 #define wxUSE_TIMEDATE $wxUSE_TIMEDATE
6238 if test "$wxUSE_FRACTION" = 1 ; then
6239 cat >> confdefs.h
<<EOF
6240 #define wxUSE_FRACTION $wxUSE_FRACTION
6245 if test "$wxUSE_LOG" = 1 ; then
6246 cat >> confdefs.h
<<EOF
6247 #define wxUSE_LOG $wxUSE_LOG
6252 if test "$wxUSE_INTL" = 1 ; then
6253 cat >> confdefs.h
<<EOF
6254 #define wxUSE_INTL $wxUSE_INTL
6259 if test "$wxUSE_STREAMS" = 1 ; then
6260 cat >> confdefs.h
<<EOF
6261 #define wxUSE_STREAMS $wxUSE_STREAMS
6266 if test "$wxUSE_SERIAL" = 1 ; then
6267 cat >> confdefs.h
<<EOF
6268 #define wxUSE_SERIAL $wxUSE_SERIAL
6273 if test "$wxUSE_FILE" = 1 ; then
6274 cat >> confdefs.h
<<EOF
6275 #define wxUSE_FILE $wxUSE_FILE
6280 if test "$wxUSE_TEXTFILE" = 1 ; then
6281 cat >> confdefs.h
<<EOF
6282 #define wxUSE_TEXTFILE $wxUSE_TEXTFILE
6288 if test "$wxUSE_RPC" = 1 ; then
6289 cat >> confdefs.h
<<EOF
6290 #define wxUSE_RPC $wxUSE_RPC
6295 if test "$wxUSE_WX_RESOURCES" = 1 ; then
6296 cat >> confdefs.h
<<EOF
6297 #define wxUSE_WX_RESOURCES $wxUSE_WX_RESOURCES
6302 if test "$wxUSE_PROLOGIO" = 1 ; then
6303 cat >> confdefs.h
<<EOF
6304 #define wxUSE_PROLOGIO 1
6310 if test "$wxUSE_POSTSCRIPT" = 1 ; then
6311 cat >> confdefs.h
<<EOF
6312 #define wxUSE_POSTSCRIPT 1
6317 cat >> confdefs.h
<<EOF
6318 #define wxUSE_AFM_FOR_POSTSCRIPT $wxUSE_AFM_FOR_POSTSCRIPT
6322 cat >> confdefs.h
<<EOF
6323 #define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS
6328 if test "$wxUSE_MDI_ARCHITECTURE" = 1 ; then
6329 cat >> confdefs.h
<<EOF
6330 #define wxUSE_MDI_ARCHITECTURE $wxUSE_MDI_ARCHITECTURE
6335 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1 ; then
6336 cat >> confdefs.h
<<EOF
6337 #define wxUSE_DOC_VIEW_ARCHITECTURE $wxUSE_DOC_VIEW_ARCHITECTURE
6342 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1 ; then
6343 cat >> confdefs.h
<<EOF
6344 #define wxUSE_PRINTING_ARCHITECTURE $wxUSE_PRINTING_ARCHITECTURE
6350 if test "$wxUSE_IPC" = 1 ; then
6351 cat >> confdefs.h
<<EOF
6357 if test "$wxUSE_RESOURCES" = 1 ; then
6358 cat >> confdefs.h
<<EOF
6359 #define wxUSE_RESOURCES $wxUSE_RESOURCES
6364 if test "$wxUSE_CLIPBOARD" = 1 ; then
6365 cat >> confdefs.h
<<EOF
6366 #define wxUSE_CLIPBOARD $wxUSE_CLIPBOARD
6371 if test "$wxUSE_DND" = 1 ; then
6372 cat >> confdefs.h
<<EOF
6373 #define wxUSE_DND $wxUSE_DND
6378 if test "$wxUSE_CONSTRAINTS" = 1 ; then
6379 cat >> confdefs.h
<<EOF
6380 #define wxUSE_CONSTRAINTS $wxUSE_CONSTRAINTS
6387 if test "$wxUSE_METAFILE" = 1 ; then
6389 cat >> confdefs.h
<<EOF
6390 #define wxUSE_METAFILE $wxUSE_METAFILE
6397 if test "$wxUSE_HELP" = 1 ; then
6399 cat >> confdefs.h
<<EOF
6400 #define wxUSE_HELP $wxUSE_HELP
6407 if test "$wxUSE_WXGRAPH" = 1 ; then
6409 cat >> confdefs.h
<<EOF
6410 #define wxUSE_WXGRAPH $wxUSE_WXGRAPH
6417 if test "$wxUSE_WXTREE" = 1 ; then
6419 cat >> confdefs.h
<<EOF
6420 #define wxUSE_WXTREE $wxUSE_WXTREE
6427 if test "$wxUSE_OPENGL" = 1 ; then
6432 echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6
6433 echo "configure:6434: checking for main in -ldl" >&5
6434 ac_lib_var
=`echo dl'_'main | sed 'y%./+-%__p_%'`
6435 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6436 echo $ac_n "(cached) $ac_c" 1>&6
6438 ac_save_LIBS
="$LIBS"
6440 cat > conftest.
$ac_ext <<EOF
6441 #line 6442 "configure"
6442 #include "confdefs.h"
6448 if { (eval echo configure
:6449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6450 eval "ac_cv_lib_$ac_lib_var=yes"
6452 echo "configure: failed program was:" >&5
6453 cat conftest.
$ac_ext >&5
6455 eval "ac_cv_lib_$ac_lib_var=no"
6458 LIBS
="$ac_save_LIBS"
6461 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6462 echo "$ac_t""yes" 1>&6
6465 echo "$ac_t""no" 1>&6
6474 UNIX_THREAD
="gtk/threadno.cpp"
6477 echo $ac_n "checking "for threads
"""... $ac_c" 1>&6
6478 echo "configure:6479: checking "for threads
"" >&5
6479 # Check whether --with-threads or --without-threads was given.
6480 if test "${with_threads+set}" = set; then
6481 withval
="$with_threads"
6482 if test "x$with_threads" = xyes
; then
6483 ac_cv_use_threads
='wxwxUSE_THREADS="1"'
6485 ac_cv_use_threads
='wxwxUSE_THREADS="0"'
6489 LINE
=`grep "wxwxUSE_THREADS" ${OSTYPE}.system.cache`
6490 if test "x$LINE" != x
; then
6491 eval "DEFAULT_$LINE"
6493 ac_cv_use_threads
='wxwxUSE_THREADS='$DEFAULT_wxwxUSE_THREADS
6497 eval "$ac_cv_use_threads"
6498 echo $ac_cv_use_threads >> ${OSTYPE}.system.cache.tmp
6499 if test "$wxwxUSE_THREADS" = 1; then
6500 echo "$ac_t""yes" 1>&6
6502 echo "$ac_t""no" 1>&6
6507 if test "$wxwxUSE_THREADS" = "1"; then
6508 UNIX_THREAD
="gtk/threadno.cpp"
6511 echo $ac_n "checking for pthread_create in -lpthread-0.7""... $ac_c" 1>&6
6512 echo "configure:6513: checking for pthread_create in -lpthread-0.7" >&5
6513 ac_lib_var
=`echo pthread-0.7'_'pthread_create | sed 'y%./+-%__p_%'`
6514 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6515 echo $ac_n "(cached) $ac_c" 1>&6
6517 ac_save_LIBS
="$LIBS"
6518 LIBS
="-lpthread-0.7 $LIBS"
6519 cat > conftest.
$ac_ext <<EOF
6520 #line 6521 "configure"
6521 #include "confdefs.h"
6522 /* Override any gcc2 internal prototype to avoid an error. */
6523 /* We use char because int might match the return type of a gcc2
6524 builtin and then its argument prototype would still apply. */
6525 char pthread_create();
6531 if { (eval echo configure
:6532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6533 eval "ac_cv_lib_$ac_lib_var=yes"
6535 echo "configure: failed program was:" >&5
6536 cat conftest.
$ac_ext >&5
6538 eval "ac_cv_lib_$ac_lib_var=no"
6541 LIBS
="$ac_save_LIBS"
6544 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6545 echo "$ac_t""yes" 1>&6
6547 UNIX_THREAD
="gtk/threadpsx.cpp"
6548 THREADS_LINK
="-lpthread-0.7"
6551 echo "$ac_t""no" 1>&6
6553 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
6554 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
6555 echo "configure:6556: checking for sys/prctl.h" >&5
6556 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6557 echo $ac_n "(cached) $ac_c" 1>&6
6559 cat > conftest.
$ac_ext <<EOF
6560 #line 6561 "configure"
6561 #include "confdefs.h"
6562 #include <sys/prctl.h>
6564 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6565 { (eval echo configure
:6566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6566 ac_err
=`grep -v '^ *+' conftest.out`
6567 if test -z "$ac_err"; then
6569 eval "ac_cv_header_$ac_safe=yes"
6572 echo "configure: failed program was:" >&5
6573 cat conftest.
$ac_ext >&5
6575 eval "ac_cv_header_$ac_safe=no"
6579 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6580 echo "$ac_t""yes" 1>&6
6582 UNIX_THREAD
="gtk/threadsgi.cpp"
6585 echo "$ac_t""no" 1>&6
6590 echo $ac_n "checking for pthread_setcanceltype in -lpthread""... $ac_c" 1>&6
6591 echo "configure:6592: checking for pthread_setcanceltype in -lpthread" >&5
6592 ac_lib_var
=`echo pthread'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
6593 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6594 echo $ac_n "(cached) $ac_c" 1>&6
6596 ac_save_LIBS
="$LIBS"
6597 LIBS
="-lpthread $LIBS"
6598 cat > conftest.
$ac_ext <<EOF
6599 #line 6600 "configure"
6600 #include "confdefs.h"
6601 /* Override any gcc2 internal prototype to avoid an error. */
6602 /* We use char because int might match the return type of a gcc2
6603 builtin and then its argument prototype would still apply. */
6604 char pthread_setcanceltype();
6607 pthread_setcanceltype()
6610 if { (eval echo configure
:6611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6612 eval "ac_cv_lib_$ac_lib_var=yes"
6614 echo "configure: failed program was:" >&5
6615 cat conftest.
$ac_ext >&5
6617 eval "ac_cv_lib_$ac_lib_var=no"
6620 LIBS
="$ac_save_LIBS"
6623 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6624 echo "$ac_t""yes" 1>&6
6626 UNIX_THREAD
="gtk/threadpsx.cpp"
6627 THREADS_LINK
="-lpthread"
6630 echo "$ac_t""no" 1>&6
6636 echo $ac_n "checking for pthread_setcanceltype in -lpthreads""... $ac_c" 1>&6
6637 echo "configure:6638: checking for pthread_setcanceltype in -lpthreads" >&5
6638 ac_lib_var
=`echo pthreads'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
6639 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6640 echo $ac_n "(cached) $ac_c" 1>&6
6642 ac_save_LIBS
="$LIBS"
6643 LIBS
="-lpthreads $LIBS"
6644 cat > conftest.
$ac_ext <<EOF
6645 #line 6646 "configure"
6646 #include "confdefs.h"
6647 /* Override any gcc2 internal prototype to avoid an error. */
6648 /* We use char because int might match the return type of a gcc2
6649 builtin and then its argument prototype would still apply. */
6650 char pthread_setcanceltype();
6653 pthread_setcanceltype()
6656 if { (eval echo configure
:6657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6658 eval "ac_cv_lib_$ac_lib_var=yes"
6660 echo "configure: failed program was:" >&5
6661 cat conftest.
$ac_ext >&5
6663 eval "ac_cv_lib_$ac_lib_var=no"
6666 LIBS
="$ac_save_LIBS"
6669 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6670 echo "$ac_t""yes" 1>&6
6672 UNIX_THREAD
="gtk/threadpsx.cpp"
6673 THREADS_LINK
="-lpthreads"
6676 echo "$ac_t""no" 1>&6
6681 if test -z "$UNIX_THREAD"; then
6687 cat >> confdefs.h
<<\EOF
6688 #define wxwxUSE_THREADS 1
6698 if test "$wxUSE_OPENGL" = 1; then
6699 echo $ac_n "checking for OpenGL includes""... $ac_c" 1>&6
6700 echo "configure:6701: checking for OpenGL includes" >&5
6703 for ac_dir
in $SEARCH_INCLUDE;
6705 if test -f "$ac_dir/GL/gl.h"; then
6706 ac_find_includes
=$ac_dir
6711 if test "$ac_find_includes" != "" ; then
6712 OPENGL_INCLUDE
="-I$ac_find_includes"
6713 echo "$ac_t""found $ac_find_includes" 1>&6
6714 echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6
6715 echo "configure:6716: checking for OpenGL library" >&5
6718 for ac_dir
in $SEARCH_LIB;
6720 for ac_extension
in a so sl
; do
6721 if test -f "$ac_dir/libGL.$ac_extension"; then
6722 ac_find_libraries
=$ac_dir
6728 if test "$ac_find_libraries" != "" ; then
6730 ac_path_to_include
=$ac_find_includes
6731 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6733 if test $result = 0; then
6734 ac_path_to_include
=""
6736 ac_path_to_include
="-I$ac_find_includes"
6740 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6742 if test $result = 0; then
6745 ac_path_to_link
="-L$ac_find_libraries"
6748 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6749 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6750 OPENGL_LIBRARY
="$ac_path_to_link"
6751 OPENGL_INCLUDE
="$ac_path_to_include"
6753 echo "$ac_t""found OpenGL at $ac_find_libraries" 1>&6
6757 for ac_dir
in $SEARCH_LIB;
6759 for ac_extension
in a so sl
; do
6760 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6761 ac_find_libraries
=$ac_dir
6767 if test "$ac_find_libraries" != "" ; then
6769 ac_path_to_include
=$ac_find_includes
6770 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6772 if test $result = 0; then
6773 ac_path_to_include
=""
6775 ac_path_to_include
="-I$ac_find_includes"
6779 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6781 if test $result = 0; then
6784 ac_path_to_link
="-L$ac_find_libraries"
6787 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6788 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6789 OPENGL_LIBRARY
="$ac_path_to_link"
6790 OPENGL_INCLUDE
="$ac_path_to_include"
6791 OPENGL_LINK
="-lMesaGL"
6792 echo "$ac_t""found MESA at $ac_find_libraries" 1>&6
6794 { echo "configure: error: no" 1>&2; exit 1; }
6798 { echo "configure: error: no" 1>&2; exit 1; }
6803 wxUSE_GLX
=$wxUSE_OPENGL
6804 if test "$wxUSE_OPENGL" != 1; then
6811 cat >> confdefs.h
<<EOF
6812 #define wxUSE_GLX $wxUSE_GLX
6823 case "${canonical}" in
6826 if test "${CC}" != "gcc" ; then
6827 CXXFLAGS
="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
6828 CFLAGS
="${CFLAGS} -z -D_HPUX_SOURCE"
6834 CREATE_SHARED
=sharedHpux
6839 CREATE_SHARED
=sharedLinux
6842 *-*-irix5* | *-*-irix6* )
6843 # PICFLAGS can remain empty, as pic is the default
6845 CREATE_SHARED
=sharedIrix
6846 cat >> confdefs.h
<<\EOF
6853 if test "${CC}" != "gcc" ; then
6858 CREATE_SHARED
=sharedSolaris2
6859 cat >> confdefs.h
<<\EOF
6866 if test "${CC}" != "gcc" ; then
6872 CREATE_SHARED
=sharedSunos4
6873 cat >> confdefs.h
<<\EOF
6879 *-*-freebsd* | *-*-netbsd*)
6881 CREATE_SHARED
=sharedBsd
6882 cat >> confdefs.h
<<\EOF
6890 CREATE_SHARED
=sharedOSF
6894 if test "${CC}" != "gcc" ; then
6899 CREATE_SHARED
=sharedDgux
6900 cat >> confdefs.h
<<\EOF
6907 if test "${CC}" != "gcc" ; then
6912 CREATE_SHARED
=sharedSysV
6913 cat >> confdefs.h
<<\EOF
6920 if test "${CC}" != "gcc" ; then
6925 CREATE_SHARED
=sharedAIX
6926 cat >> confdefs.h
<<\EOF
6937 if test "x$GCC" = xyes
; then
6938 CFLAGS
="${CFLAGS} -Wall"
6941 if test "x$GXX" = xyes
; then
6942 CXXFLAGS
="${CXXFLAGS} -Wall"
6945 if test "$wxUSE_SHARED" != 1; then
6955 echo $OS >> system.list
6959 cat > confcache
<<\EOF
6960 # This file is a shell script that caches the results of configure
6961 # tests run on this system so they can be shared between configure
6962 # scripts and configure runs. It is not useful on other systems.
6963 # If it contains results you don't want to keep, you may remove or edit it.
6965 # By default, configure uses ./config.cache as the cache file,
6966 # creating it if it does not exist already. You can give configure
6967 # the --cache-file=FILE option to use a different cache file; that is
6968 # what configure does when it calls configure scripts in
6969 # subdirectories, so they share the cache.
6970 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6971 # config.status only pays attention to the cache file if you give it the
6972 # --recheck option to rerun configure.
6975 # The following way of writing the cache mishandles newlines in values,
6976 # but we know of no workaround that is simple, portable, and efficient.
6977 # So, don't put newlines in cache variables' values.
6978 # Ultrix sh set writes to stderr and can't be redirected directly,
6979 # and sets the high bit in the cache file unless we assign to the vars.
6981 case `(ac_space=' '; set) 2>&1` in
6983 # `set' does not quote correctly, so add quotes (double-quote substitution
6984 # turns \\\\ into \\, and sed turns \\ into \).
6986 -e "s/'/'\\\\''/g" \
6987 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6990 # `set' quotes correctly as required by POSIX, so do not add quotes.
6991 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6994 if cmp -s $cache_file confcache
; then
6997 if test -w $cache_file; then
6998 echo "updating cache $cache_file"
6999 cat confcache
> $cache_file
7001 echo "not updating unwritable cache $cache_file"
7006 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
7008 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7009 # Let make expand exec_prefix.
7010 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7012 # Any assignment to VPATH causes Sun make to only execute
7013 # the first set of double-colon rules, so remove it if not needed.
7014 # If there is a colon in the path, we need to keep it.
7015 if test "x$srcdir" = x.
; then
7016 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
7019 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
7021 DEFS
=-DHAVE_CONFIG_H
7023 # Without the "./", some shells look in PATH for config.status.
7024 : ${CONFIG_STATUS=./config.status}
7026 echo creating
$CONFIG_STATUS
7027 rm -f $CONFIG_STATUS
7028 cat > $CONFIG_STATUS <<EOF
7030 # Generated automatically by configure.
7031 # Run this file to recreate the current configuration.
7032 # This directory was configured as follows,
7033 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7035 # $0 $ac_configure_args
7037 # Compiler output produced by configure, useful for debugging
7038 # configure, is in ./config.log if it exists.
7040 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
7043 case "\$ac_option" in
7044 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7045 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
7046 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
7047 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
7048 echo "$CONFIG_STATUS generated by autoconf version 2.12"
7050 -help | --help | --hel | --he | --h)
7051 echo "\$ac_cs_usage"; exit 0 ;;
7052 *) echo "\$ac_cs_usage"; exit 1 ;;
7056 ac_given_srcdir=$srcdir
7057 ac_given_INSTALL="$INSTALL"
7059 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
7061 cat >> $CONFIG_STATUS <<EOF
7063 # Protect against being on the right side of a sed subst in config.status.
7064 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
7065 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
7068 s%@CFLAGS@%$CFLAGS%g
7069 s%@CPPFLAGS@%$CPPFLAGS%g
7070 s%@CXXFLAGS@%$CXXFLAGS%g
7072 s%@LDFLAGS@%$LDFLAGS%g
7074 s%@exec_prefix@%$exec_prefix%g
7075 s%@prefix@%$prefix%g
7076 s%@program_transform_name@%$program_transform_name%g
7077 s%@bindir@%$bindir%g
7078 s%@sbindir@%$sbindir%g
7079 s%@libexecdir@%$libexecdir%g
7080 s%@datadir@%$datadir%g
7081 s%@sysconfdir@%$sysconfdir%g
7082 s%@sharedstatedir@%$sharedstatedir%g
7083 s%@localstatedir@%$localstatedir%g
7084 s%@libdir@%$libdir%g
7085 s%@includedir@%$includedir%g
7086 s%@oldincludedir@%$oldincludedir%g
7087 s%@infodir@%$infodir%g
7088 s%@mandir@%$mandir%g
7089 s%@WXBASEDIR@%$WXBASEDIR%g
7093 s%@CXXCPP@%$CXXCPP%g
7094 s%@RANLIB@%$RANLIB%g
7096 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
7097 s%@INSTALL_DATA@%$INSTALL_DATA%g
7100 s%@X_CFLAGS@%$X_CFLAGS%g
7101 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
7102 s%@X_LIBS@%$X_LIBS%g
7103 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
7104 s%@GTK_JOYSTICK@%$GTK_JOYSTICK%g
7105 s%@LIBOBJS@%$LIBOBJS%g
7108 s%@LEXLIB@%$LEXLIB%g
7109 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
7111 s%@host_alias@%$host_alias%g
7112 s%@host_cpu@%$host_cpu%g
7113 s%@host_vendor@%$host_vendor%g
7114 s%@host_os@%$host_os%g
7115 s%@GTK_CONFIG@%$GTK_CONFIG%g
7116 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
7117 s%@GTK_LIBS@%$GTK_LIBS%g
7118 s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g
7119 s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g
7120 s%@GUI_TK_LINK@%$GUI_TK_LINK%g
7121 s%@TOOLKIT@%$TOOLKIT%g
7122 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
7123 s%@MAKEINCLUDE@%$MAKEINCLUDE%g
7124 s%@WXDEBUG@%$WXDEBUG%g
7125 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
7126 s%@EXTRA_LINK@%$EXTRA_LINK%g
7127 s%@PROFILE@%$PROFILE%g
7128 s%@OPTIMISE@%$OPTIMISE%g
7129 s%@METAFILE@%$METAFILE%g
7131 s%@WXGRAPH@%$WXGRAPH%g
7132 s%@WXTREE@%$WXTREE%g
7133 s%@DL_LIBRARY@%$DL_LIBRARY%g
7134 s%@UNIX_THREAD@%$UNIX_THREAD%g
7135 s%@THREADS_LINK@%$THREADS_LINK%g
7136 s%@OPENGL_INCLUDE@%$OPENGL_INCLUDE%g
7137 s%@OPENGL_LIBRARY@%$OPENGL_LIBRARY%g
7138 s%@OPENGL_LINK@%$OPENGL_LINK%g
7139 s%@GLCANVAS@%$GLCANVAS%g
7141 s%@PICFLAGS@%$PICFLAGS%g
7142 s%@CREATE_SHARED@%$CREATE_SHARED%g
7147 cat >> $CONFIG_STATUS <<\EOF
7149 # Split the substitutions into bite-sized pieces for seds with
7150 # small command number limits, like on Digital OSF/1 and HP-UX.
7151 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
7152 ac_file
=1 # Number of current file.
7153 ac_beg
=1 # First line for current file.
7154 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
7157 while $ac_more_lines; do
7158 if test $ac_beg -gt 1; then
7159 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
7161 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
7163 if test ! -s conftest.s
$ac_file; then
7165 rm -f conftest.s
$ac_file
7167 if test -z "$ac_sed_cmds"; then
7168 ac_sed_cmds
="sed -f conftest.s$ac_file"
7170 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
7172 ac_file
=`expr $ac_file + 1`
7174 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
7177 if test -z "$ac_sed_cmds"; then
7182 cat >> $CONFIG_STATUS <<EOF
7184 CONFIG_FILES=\${CONFIG_FILES-"./setup/substit ./wx-config:./wx-config.in"}
7186 cat >> $CONFIG_STATUS <<\EOF
7187 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
7188 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7190 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7191 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7192 *) ac_file_in
="${ac_file}.in" ;;
7195 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
7197 # Remove last slash and all that follows it. Not all systems have dirname.
7198 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7199 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
7200 # The file is in a subdirectory.
7201 test ! -d "$ac_dir" && mkdir "$ac_dir"
7202 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
7203 # A "../" for each directory in $ac_dir_suffix.
7204 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
7206 ac_dir_suffix
= ac_dots
=
7209 case "$ac_given_srcdir" in
7211 if test -z "$ac_dots"; then top_srcdir
=.
7212 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
7213 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
7215 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
7216 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
7219 case "$ac_given_INSTALL" in
7220 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
7221 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
7224 echo creating
"$ac_file"
7226 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
7228 *Makefile
*) ac_comsub
="1i\\
7229 # $configure_input" ;;
7233 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7235 s%@configure_input@%$configure_input%g
7236 s%@srcdir@%$srcdir%g
7237 s%@top_srcdir@%$top_srcdir%g
7238 s%@INSTALL@%$INSTALL%g
7239 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
7243 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7244 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7246 # ac_d sets the value in "#define NAME VALUE" lines.
7247 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7248 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
7251 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
7252 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7253 ac_uB
='\([ ]\)%\1#\2define\3'
7256 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7257 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7258 ac_eB
='$%\1#\2define\3'
7262 if test "${CONFIG_HEADERS+set}" != set; then
7264 cat >> $CONFIG_STATUS <<EOF
7265 CONFIG_HEADERS="./include/wx/gtk/setup.h:./setup/setup.hin"
7267 cat >> $CONFIG_STATUS <<\EOF
7269 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
7270 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7272 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7273 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7274 *) ac_file_in
="${ac_file}.in" ;;
7277 echo creating
$ac_file
7279 rm -f conftest.frag conftest.
in conftest.out
7280 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7281 cat $ac_file_inputs > conftest.
in
7285 # Transform confdefs.h into a sed script conftest.vals that substitutes
7286 # the proper values into config.h.in to produce config.h. And first:
7287 # Protect against being on the right side of a sed subst in config.status.
7288 # Protect against being in an unquoted here document in config.status.
7290 cat > conftest.hdr
<<\EOF
7293 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
7297 sed -n -f conftest.hdr confdefs.h > conftest.vals
7300 # This sed command replaces #undef with comments. This is necessary, for
7301 # example, in the case of _POSIX_SOURCE, which is predefined and required
7302 # on some systems where configure will not decide to define it.
7303 cat >> conftest.vals <<\EOF
7304 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
7307 # Break up conftest.vals because some shells have a limit on
7308 # the size of here documents, and old seds have small limits too.
7313 ac_lines=`grep -c . conftest.vals
`
7314 # grep -c gives empty output for an empty file on some AIX systems.
7315 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
7316 # Write a limited-size here document to conftest.frag.
7317 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
7318 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
7320 sed -f conftest.frag conftest.in > conftest.out
7322 mv conftest.out conftest.in
7324 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
7326 mv conftest.tail conftest.vals
7330 cat >> $CONFIG_STATUS <<\EOF
7331 rm -f conftest.frag conftest.h
7332 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
7333 cat conftest.in >> conftest.h
7335 if cmp -s $ac_file conftest.h 2>/dev/null; then
7336 echo "$ac_file is unchanged"
7339 # Remove last slash and all that follows it. Not all systems have dirname.
7340 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7341 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7342 # The file is in a subdirectory.
7343 test ! -d "$ac_dir" && mkdir "$ac_dir"
7346 mv conftest.h $ac_file
7351 cat >> $CONFIG_STATUS <<EOF
7354 cat >> $CONFIG_STATUS <<\EOF
7355 ./setup/general/createall
7358 chmod +x $CONFIG_STATUS
7359 rm -fr confdefs* $ac_clean_files
7360 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
7364 mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache