3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.14
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --with-x use the X Window System"
21 **--with-motif use Motif/Lesstif"
23 **--with-shared create shared libraries"
25 **--with-optimise create optimised code"
27 **--with-debug_flag create code with WXDEBUG define set to 1"
29 **--with-debug_info create code with debuging information"
31 **--with-debug_gdb create code with extra GDB debuging information"
33 **--with-mem_traing create code with memory tracing"
35 **--with-dmalloc use dmalloc memory debug library (www.letters.com/dmalloc/)"
37 **--with-profile create code with profiling information"
39 **--with_apple_ieee use the Apple IEEE codec"
41 **--with-threads for enabling threads"
43 **--with-dynlib to compile wxLibrary class"
45 **--without-zlib don't use zlib for LZW comression"
47 **--without-libpng don't use libpng (PNG image format)"
49 **--without-libjpeg don't use libjpeg (JPEG image format)"
51 **--with-odbc use iODBC and wxODBC classes"
53 **--with-timedate use wxTime and wxDate classes"
55 **--with-intl use internationalization system"
57 **--with-config use wxConfig class"
59 **--with-streams use wxStream etc classes"
61 **--with-serial use class serialization"
63 **--with-sockets use wxSocket etc classes"
65 **--with-afmfonts use Adobe Font Metric Font table"
67 **--with-PS-normalized use normalized PS fonts"
69 **--with-postscript use wxPostscriptDC device context"
71 **--with-unicode compile wxString with Unicode support"
73 **--with-wcsrtombs use wcsrtombs instead of (buggy in GNU libc5) wcstombs"
75 **--with-wxresources use wxWindows's resources"
77 **--with-prologio use Prolog IO library"
79 **--with-rpc use Prolog's remote procedure calls"
81 **--with-ipc use interprocess communication (wxSocket etc.)"
83 **--with-resources use X resources for saving information"
85 **--with-clipboard use wxClipboard classes"
87 **--with-tooltips use tooltips"
89 **--with-dnd use Drag'n'Drop classes"
91 **--with-mdi use multiple document interface architecture"
93 **--with-docview use document view architecture"
95 **--with-printarch use printing architecture"
97 **--with-help use help (using external browser at present)"
99 **--with-gtk-prefix=PFX Prefix where GTK is installed"
101 **--with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
103 **--with-gtk-prefix=PFX Prefix where GTK is installed"
105 **--with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
107 # Initialize some variables set by options.
108 # The variables have the same names as the options, with
109 # dashes changed to underlines.
111 cache_file
=.
/config.cache
120 program_transform_name
=s
,x
,x
,
128 bindir
='${exec_prefix}/bin'
129 sbindir
='${exec_prefix}/sbin'
130 libexecdir
='${exec_prefix}/libexec'
131 datadir
='${prefix}/share'
132 sysconfdir
='${prefix}/etc'
133 sharedstatedir
='${prefix}/com'
134 localstatedir
='${prefix}/var'
135 libdir
='${exec_prefix}/lib'
136 includedir
='${prefix}/include'
137 oldincludedir
='/usr/include'
138 infodir
='${prefix}/info'
139 mandir
='${prefix}/man'
141 # Initialize some other variables.
144 SHELL
=${CONFIG_SHELL-/bin/sh}
145 # Maximum number of lines to put in a shell here document.
152 # If the previous option needs an argument, assign it.
153 if test -n "$ac_prev"; then
154 eval "$ac_prev=\$ac_option"
160 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
164 # Accept the important Cygnus configure options, so we can diagnose typos.
168 -bindir | --bindir | --bindi | --bind | --bin | --bi)
170 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
171 bindir
="$ac_optarg" ;;
173 -build | --build | --buil | --bui | --bu)
175 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
176 build
="$ac_optarg" ;;
178 -cache-file | --cache-file | --cache-fil | --cache-fi \
179 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
180 ac_prev
=cache_file
;;
181 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
182 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
183 cache_file
="$ac_optarg" ;;
185 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
187 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
189 datadir
="$ac_optarg" ;;
191 -disable-* | --disable-*)
192 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
193 # Reject names that are not valid shell variable names.
194 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
195 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
197 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
198 eval "enable_${ac_feature}=no" ;;
200 -enable-* | --enable-*)
201 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
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'`
211 eval "enable_${ac_feature}='$ac_optarg'" ;;
213 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
214 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
215 | --exec | --exe | --ex)
216 ac_prev
=exec_prefix
;;
217 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
218 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
219 | --exec=* | --exe=* | --ex=*)
220 exec_prefix
="$ac_optarg" ;;
222 -gas | --gas | --ga | --g)
223 # Obsolete; use --with-gas.
226 -help | --help | --hel | --he)
227 # Omit some internal or obsolete options to make the list less imposing.
228 # This message is too long to be a string in the A/UX 3.1 sh.
230 Usage: configure [options] [host]
231 Options: [defaults in brackets after descriptions]
233 --cache-file=FILE cache test results in FILE
234 --help print this message
235 --no-create do not create output files
236 --quiet, --silent do not print \`checking...' messages
237 --version print the version of autoconf that created configure
238 Directory and file names:
239 --prefix=PREFIX install architecture-independent files in PREFIX
241 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
243 --bindir=DIR user executables in DIR [EPREFIX/bin]
244 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
245 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
246 --datadir=DIR read-only architecture-independent data in DIR
248 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
249 --sharedstatedir=DIR modifiable architecture-independent data in DIR
251 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
252 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
253 --includedir=DIR C header files in DIR [PREFIX/include]
254 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
255 --infodir=DIR info documentation in DIR [PREFIX/info]
256 --mandir=DIR man documentation in DIR [PREFIX/man]
257 --srcdir=DIR find the sources in DIR [configure dir or ..]
258 --program-prefix=PREFIX prepend PREFIX to installed program names
259 --program-suffix=SUFFIX append SUFFIX to installed program names
260 --program-transform-name=PROGRAM
261 run sed PROGRAM on installed program names
265 --build=BUILD configure for building on BUILD [BUILD=HOST]
266 --host=HOST configure for HOST [guessed]
267 --target=TARGET configure for TARGET [TARGET=HOST]
268 Features and packages:
269 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
270 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
271 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
272 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
273 --x-includes=DIR X include files are in DIR
274 --x-libraries=DIR X library files are in DIR
276 if test -n "$ac_help"; then
277 echo "--enable and --with options recognized:$ac_help"
281 -host | --host | --hos | --ho)
283 -host=* | --host=* | --hos=* | --ho=*)
286 -includedir | --includedir | --includedi | --included | --include \
287 | --includ | --inclu | --incl | --inc)
288 ac_prev
=includedir
;;
289 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
290 | --includ=* | --inclu=* | --incl=* | --inc=*)
291 includedir
="$ac_optarg" ;;
293 -infodir | --infodir | --infodi | --infod | --info | --inf)
295 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
296 infodir
="$ac_optarg" ;;
298 -libdir | --libdir | --libdi | --libd)
300 -libdir=* | --libdir=* | --libdi=* | --libd=*)
301 libdir
="$ac_optarg" ;;
303 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
304 | --libexe | --libex | --libe)
305 ac_prev
=libexecdir
;;
306 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
307 | --libexe=* | --libex=* | --libe=*)
308 libexecdir
="$ac_optarg" ;;
310 -localstatedir | --localstatedir | --localstatedi | --localstated \
311 | --localstate | --localstat | --localsta | --localst \
312 | --locals | --local | --loca | --loc | --lo)
313 ac_prev
=localstatedir
;;
314 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
315 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
316 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
317 localstatedir
="$ac_optarg" ;;
319 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
321 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
322 mandir
="$ac_optarg" ;;
325 # Obsolete; use --without-fp.
328 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
332 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
333 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
336 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
337 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
338 | --oldin | --oldi | --old | --ol | --o)
339 ac_prev
=oldincludedir
;;
340 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
341 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
342 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
343 oldincludedir
="$ac_optarg" ;;
345 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
347 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
348 prefix
="$ac_optarg" ;;
350 -program-prefix | --program-prefix | --program-prefi | --program-pref \
351 | --program-pre | --program-pr | --program-p)
352 ac_prev
=program_prefix
;;
353 -program-prefix=* | --program-prefix=* | --program-prefi=* \
354 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
355 program_prefix
="$ac_optarg" ;;
357 -program-suffix | --program-suffix | --program-suffi | --program-suff \
358 | --program-suf | --program-su | --program-s)
359 ac_prev
=program_suffix
;;
360 -program-suffix=* | --program-suffix=* | --program-suffi=* \
361 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
362 program_suffix
="$ac_optarg" ;;
364 -program-transform-name | --program-transform-name \
365 | --program-transform-nam | --program-transform-na \
366 | --program-transform-n | --program-transform- \
367 | --program-transform | --program-transfor \
368 | --program-transfo | --program-transf \
369 | --program-trans | --program-tran \
370 | --progr-tra | --program-tr | --program-t)
371 ac_prev
=program_transform_name
;;
372 -program-transform-name=* | --program-transform-name=* \
373 | --program-transform-nam=* | --program-transform-na=* \
374 | --program-transform-n=* | --program-transform-=* \
375 | --program-transform=* | --program-transfor=* \
376 | --program-transfo=* | --program-transf=* \
377 | --program-trans=* | --program-tran=* \
378 | --progr-tra=* | --program-tr=* | --program-t=*)
379 program_transform_name
="$ac_optarg" ;;
381 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
382 | -silent | --silent | --silen | --sile | --sil)
385 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
387 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
389 sbindir
="$ac_optarg" ;;
391 -sharedstatedir | --sharedstatedir | --sharedstatedi \
392 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
393 | --sharedst | --shareds | --shared | --share | --shar \
395 ac_prev
=sharedstatedir
;;
396 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
397 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
398 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
400 sharedstatedir
="$ac_optarg" ;;
402 -site | --site | --sit)
404 -site=* | --site=* | --sit=*)
407 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
409 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
410 srcdir
="$ac_optarg" ;;
412 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
413 | --syscon | --sysco | --sysc | --sys | --sy)
414 ac_prev
=sysconfdir
;;
415 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
416 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
417 sysconfdir
="$ac_optarg" ;;
419 -target | --target | --targe | --targ | --tar | --ta | --t)
421 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
422 target
="$ac_optarg" ;;
424 -v | -verbose | --verbose | --verbos | --verbo | --verb)
427 -version | --version | --versio | --versi | --vers)
428 echo "configure generated by autoconf version 2.14"
432 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
433 # Reject names that are not valid shell variable names.
434 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
435 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
437 ac_package
=`echo $ac_package| sed 's/-/_/g'`
442 eval "with_${ac_package}='$ac_optarg'" ;;
444 -without-* | --without-*)
445 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
446 # Reject names that are not valid shell variable names.
447 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
448 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
450 ac_package
=`echo $ac_package| sed 's/-/_/g'`
451 eval "with_${ac_package}=no" ;;
454 # Obsolete; use --with-x.
457 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
458 | --x-incl | --x-inc | --x-in | --x-i)
459 ac_prev
=x_includes
;;
460 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
461 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
462 x_includes
="$ac_optarg" ;;
464 -x-libraries | --x-libraries | --x-librarie | --x-librari \
465 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
466 ac_prev
=x_libraries
;;
467 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
468 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
469 x_libraries
="$ac_optarg" ;;
471 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
475 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
476 echo "configure: warning: $ac_option: invalid host type" 1>&2
478 if test "x$nonopt" != xNONE
; then
479 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
487 if test -n "$ac_prev"; then
488 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
491 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
493 # File descriptor usage:
496 # 2 errors and warnings
497 # 3 some systems may open it to /dev/tty
498 # 4 used on the Kubota Titan
499 # 6 checking for... messages and results
500 # 5 compiler messages saved in config.log
501 if test "$silent" = yes; then
509 This file contains any messages produced by compilers while
510 running configure, to aid debugging if configure makes a mistake.
513 # Strip out --no-create and --no-recursion so they do not pile up.
514 # Also quote any args containing shell metacharacters.
519 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
520 | --no-cr | --no-c) ;;
521 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
522 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
523 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
524 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
525 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
530 # Only set these to C if already set. These must not be set unconditionally
531 # because not all systems understand e.g. LANG=C (notably SCO).
532 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
533 # Non-C LC_CTYPE values break the ctype check.
534 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
535 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
536 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
537 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
539 # confdefs.h avoids OS command line length limits that DEFS can exceed.
540 rm -rf conftest
* confdefs.h
541 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
544 # A filename unique to this package, relative to the directory that
545 # configure is in, which we can look for to find out if srcdir is correct.
546 ac_unique_file
=configure.
in
548 # Find the source files, if location was not specified.
549 if test -z "$srcdir"; then
550 ac_srcdir_defaulted
=yes
551 # Try the directory containing this script, then its parent.
553 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
554 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
556 if test ! -r $srcdir/$ac_unique_file; then
560 ac_srcdir_defaulted
=no
562 if test ! -r $srcdir/$ac_unique_file; then
563 if test "$ac_srcdir_defaulted" = yes; then
564 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
566 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
569 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
571 # Prefer explicitly selected file to automatically selected ones.
572 if test -z "$CONFIG_SITE"; then
573 if test "x$prefix" != xNONE
; then
574 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
576 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
579 for ac_site_file
in $CONFIG_SITE; do
580 if test -r "$ac_site_file"; then
581 echo "loading site script $ac_site_file"
586 if test -r "$cache_file"; then
587 echo "loading cache $cache_file"
590 echo "creating cache $cache_file"
595 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
596 ac_cpp
='$CPP $CPPFLAGS'
597 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
598 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
599 cross_compiling
=$ac_cv_prog_cc_cross
603 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
604 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
605 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
612 ac_n
= ac_c
='\c' ac_t
=
620 if test "x$OS" = "x"; then
622 { echo "configure: error: "The system variable OS has not been
set"
623 "please
set is everytime befor compiling on this system
"
624 "A good example
for this system would be
:"
625 "setenv OSTYPE
$UNAME for csh as a SHELL
"
626 "EXPORT OSTYPE
=$UNAME for sh as SHELL
"
627 "please
set this and restart again.
"
637 /usr/Motif-1.2/include \
638 /usr/Motif-2.1/include \
640 /usr/include/Motif1.2 \
641 /opt/xpm/include/X11 \
643 /usr/Motif1.2/include \
659 /usr/local/X11R6/include \
660 /usr/local/X11R5/include \
661 /usr/local/X11R4/include \
663 /usr/local/include/X11R6 \
664 /usr/local/include/X11R5 \
665 /usr/local/include/X11R4 \
669 /usr/local/X11/include \
670 /usr/local/include/X11 \
674 /usr/XFree86/include/X11 \
681 /usr/unsupported/include \
682 /usr/athena/include \
683 /usr/local/x11r5/include \
684 /usr/lpp/Xamples/include \
686 /usr/local/include/gtk \
687 /usr/local/include/qt \
690 /usr/openwin/include \
691 /usr/openwin/share/include \
694 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
698 # Extract the first word of "gcc", so it can be a program name with args.
699 set dummy gcc
; ac_word
=$2
700 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
701 echo "configure:702: checking for $ac_word" >&5
702 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
703 echo $ac_n "(cached) $ac_c" 1>&6
705 if test -n "$CC"; then
706 ac_cv_prog_CC
="$CC" # Let the user override the test.
708 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
710 for ac_dir
in $ac_dummy; do
711 test -z "$ac_dir" && ac_dir
=.
712 if test -f $ac_dir/$ac_word; then
721 if test -n "$CC"; then
722 echo "$ac_t""$CC" 1>&6
724 echo "$ac_t""no" 1>&6
727 if test -z "$CC"; then
728 # Extract the first word of "cc", so it can be a program name with args.
729 set dummy cc
; ac_word
=$2
730 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
731 echo "configure:732: checking for $ac_word" >&5
732 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
733 echo $ac_n "(cached) $ac_c" 1>&6
735 if test -n "$CC"; then
736 ac_cv_prog_CC
="$CC" # Let the user override the test.
738 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
741 for ac_dir
in $ac_dummy; do
742 test -z "$ac_dir" && ac_dir
=.
743 if test -f $ac_dir/$ac_word; then
744 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
753 if test $ac_prog_rejected = yes; then
754 # We found a bogon in the path, so make sure we never use it.
755 set dummy
$ac_cv_prog_CC
757 if test $# -gt 0; then
758 # We chose a different compiler from the bogus one.
759 # However, it has the same basename, so the bogon will be chosen
760 # first if we set CC to just the basename; use the full file name.
762 set dummy
"$ac_dir/$ac_word" "$@"
770 if test -n "$CC"; then
771 echo "$ac_t""$CC" 1>&6
773 echo "$ac_t""no" 1>&6
776 if test -z "$CC"; then
779 # Extract the first word of "cl", so it can be a program name with args.
780 set dummy cl
; ac_word
=$2
781 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
782 echo "configure:783: checking for $ac_word" >&5
783 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
784 echo $ac_n "(cached) $ac_c" 1>&6
786 if test -n "$CC"; then
787 ac_cv_prog_CC
="$CC" # Let the user override the test.
789 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
791 for ac_dir
in $ac_dummy; do
792 test -z "$ac_dir" && ac_dir
=.
793 if test -f $ac_dir/$ac_word; then
802 if test -n "$CC"; then
803 echo "$ac_t""$CC" 1>&6
805 echo "$ac_t""no" 1>&6
810 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
813 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
814 echo "configure:815: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
817 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
818 ac_cpp
='$CPP $CPPFLAGS'
819 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
820 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
821 cross_compiling
=$ac_cv_prog_cc_cross
823 cat > conftest.
$ac_ext << EOF
825 #line 826 "configure"
826 #include "confdefs.h"
830 if { (eval echo configure
:831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
831 ac_cv_prog_cc_works
=yes
832 # If we can't run a trivial program, we are probably using a cross compiler.
833 if (.
/conftest
; exit) 2>/dev
/null
; then
834 ac_cv_prog_cc_cross
=no
836 ac_cv_prog_cc_cross
=yes
839 echo "configure: failed program was:" >&5
840 cat conftest.
$ac_ext >&5
841 ac_cv_prog_cc_works
=no
845 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
846 ac_cpp
='$CPP $CPPFLAGS'
847 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
848 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
849 cross_compiling
=$ac_cv_prog_cc_cross
851 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
852 if test $ac_cv_prog_cc_works = no
; then
853 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
855 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
856 echo "configure:857: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
857 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
858 cross_compiling
=$ac_cv_prog_cc_cross
860 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
861 echo "configure:862: checking whether we are using GNU C" >&5
862 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
863 echo $ac_n "(cached) $ac_c" 1>&6
865 cat > conftest.c
<<EOF
870 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
877 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
879 if test $ac_cv_prog_gcc = yes; then
885 ac_test_CFLAGS
="${CFLAGS+set}"
886 ac_save_CFLAGS
="$CFLAGS"
888 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
889 echo "configure:890: checking whether ${CC-cc} accepts -g" >&5
890 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
891 echo $ac_n "(cached) $ac_c" 1>&6
893 echo 'void f(){}' > conftest.c
894 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
903 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
904 if test "$ac_test_CFLAGS" = set; then
905 CFLAGS
="$ac_save_CFLAGS"
906 elif test $ac_cv_prog_cc_g = yes; then
907 if test "$GCC" = yes; then
913 if test "$GCC" = yes; then
921 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
923 if test "x$CC" != xcc
; then
924 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
925 echo "configure:926: checking whether $CC and cc understand -c and -o together" >&5
927 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
928 echo "configure:929: checking whether cc understands -c and -o together" >&5
930 set dummy
$CC; ac_cc
="`echo $2 |
931 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
932 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
933 echo $ac_n "(cached) $ac_c" 1>&6
935 echo 'foo(){}' > conftest.c
936 # Make sure it works both with $CC and with simple cc.
937 # We do the test twice because some compilers refuse to overwrite an
938 # existing .o file with -o, though they will create one.
939 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5'
940 if { (eval echo configure
:941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
941 test -f conftest.o
&& { (eval echo configure
:942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
943 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
944 if test "x$CC" != xcc
; then
945 # Test first that cc exists at all.
946 if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
947 ac_try
='cc -c conftest.c -o conftest.o 1>&5'
948 if { (eval echo configure
:949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
949 test -f conftest.o
&& { (eval echo configure
:950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
954 # cc exists but doesn't like -o.
955 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
960 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
965 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
966 echo "$ac_t""yes" 1>&6
968 echo "$ac_t""no" 1>&6
969 cat >> confdefs.h
<<\EOF
970 #define NO_MINUS_C_MINUS_O 1
975 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
976 echo "configure:977: checking how to run the C preprocessor" >&5
977 # On Suns, sometimes $CPP names a directory.
978 if test -n "$CPP" && test -d "$CPP"; then
981 if test -z "$CPP"; then
982 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
983 echo $ac_n "(cached) $ac_c" 1>&6
985 # This must be in double quotes, not single quotes, because CPP may get
986 # substituted into the Makefile and "${CC-cc}" will confuse make.
988 # On the NeXT, cc -E runs the code through the compiler's parser,
989 # not just through cpp.
990 cat > conftest.
$ac_ext <<EOF
991 #line 992 "configure"
992 #include "confdefs.h"
996 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
997 { (eval echo configure
:998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
998 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
999 if test -z "$ac_err"; then
1003 echo "configure: failed program was:" >&5
1004 cat conftest.
$ac_ext >&5
1006 CPP
="${CC-cc} -E -traditional-cpp"
1007 cat > conftest.
$ac_ext <<EOF
1008 #line 1009 "configure"
1009 #include "confdefs.h"
1013 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1014 { (eval echo configure
:1015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1015 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1016 if test -z "$ac_err"; then
1020 echo "configure: failed program was:" >&5
1021 cat conftest.
$ac_ext >&5
1023 CPP
="${CC-cc} -nologo -E"
1024 cat > conftest.
$ac_ext <<EOF
1025 #line 1026 "configure"
1026 #include "confdefs.h"
1030 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1031 { (eval echo configure
:1032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1032 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1033 if test -z "$ac_err"; then
1037 echo "configure: failed program was:" >&5
1038 cat conftest.
$ac_ext >&5
1047 ac_cv_prog_CPP
="$CPP"
1049 CPP
="$ac_cv_prog_CPP"
1051 ac_cv_prog_CPP
="$CPP"
1053 echo "$ac_t""$CPP" 1>&6
1055 if test $ac_cv_prog_gcc = yes; then
1056 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
1057 echo "configure:1058: checking whether ${CC-cc} needs -traditional" >&5
1058 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
1059 echo $ac_n "(cached) $ac_c" 1>&6
1061 ac_pattern
="Autoconf.*'x'"
1062 cat > conftest.
$ac_ext <<EOF
1063 #line 1064 "configure"
1064 #include "confdefs.h"
1068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1069 egrep "$ac_pattern" >/dev
/null
2>&1; then
1071 ac_cv_prog_gcc_traditional
=yes
1074 ac_cv_prog_gcc_traditional
=no
1079 if test $ac_cv_prog_gcc_traditional = no
; then
1080 cat > conftest.
$ac_ext <<EOF
1081 #line 1082 "configure"
1082 #include "confdefs.h"
1086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1087 egrep "$ac_pattern" >/dev
/null
2>&1; then
1089 ac_cv_prog_gcc_traditional
=yes
1096 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
1097 if test $ac_cv_prog_gcc_traditional = yes; then
1098 CC
="$CC -traditional"
1105 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
1107 # Extract the first word of "$ac_prog", so it can be a program name with args.
1108 set dummy
$ac_prog; ac_word
=$2
1109 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1110 echo "configure:1111: checking for $ac_word" >&5
1111 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1112 echo $ac_n "(cached) $ac_c" 1>&6
1114 if test -n "$CXX"; then
1115 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1117 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1119 for ac_dir
in $ac_dummy; do
1120 test -z "$ac_dir" && ac_dir
=.
1121 if test -f $ac_dir/$ac_word; then
1122 ac_cv_prog_CXX
="$ac_prog"
1129 CXX
="$ac_cv_prog_CXX"
1130 if test -n "$CXX"; then
1131 echo "$ac_t""$CXX" 1>&6
1133 echo "$ac_t""no" 1>&6
1136 test -n "$CXX" && break
1138 test -n "$CXX" || CXX
="gcc"
1141 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1142 echo "configure:1143: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1145 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1146 ac_cpp
='$CXXCPP $CPPFLAGS'
1147 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1148 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1149 cross_compiling
=$ac_cv_prog_cxx_cross
1151 cat > conftest.
$ac_ext << EOF
1153 #line 1154 "configure"
1154 #include "confdefs.h"
1156 int main(){return(0);}
1158 if { (eval echo configure
:1159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1159 ac_cv_prog_cxx_works
=yes
1160 # If we can't run a trivial program, we are probably using a cross compiler.
1161 if (.
/conftest
; exit) 2>/dev
/null
; then
1162 ac_cv_prog_cxx_cross
=no
1164 ac_cv_prog_cxx_cross
=yes
1167 echo "configure: failed program was:" >&5
1168 cat conftest.
$ac_ext >&5
1169 ac_cv_prog_cxx_works
=no
1173 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1174 ac_cpp
='$CPP $CPPFLAGS'
1175 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1176 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1177 cross_compiling
=$ac_cv_prog_cc_cross
1179 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1180 if test $ac_cv_prog_cxx_works = no
; then
1181 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1183 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1184 echo "configure:1185: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1185 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1186 cross_compiling
=$ac_cv_prog_cxx_cross
1188 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1189 echo "configure:1190: checking whether we are using GNU C++" >&5
1190 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1191 echo $ac_n "(cached) $ac_c" 1>&6
1193 cat > conftest.C
<<EOF
1198 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
1205 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1207 if test $ac_cv_prog_gxx = yes; then
1213 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1214 ac_save_CXXFLAGS
="$CXXFLAGS"
1216 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1217 echo "configure:1218: checking whether ${CXX-g++} accepts -g" >&5
1218 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1219 echo $ac_n "(cached) $ac_c" 1>&6
1221 echo 'void f(){}' > conftest.cc
1222 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1223 ac_cv_prog_cxx_g
=yes
1231 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1232 if test "$ac_test_CXXFLAGS" = set; then
1233 CXXFLAGS
="$ac_save_CXXFLAGS"
1234 elif test $ac_cv_prog_cxx_g = yes; then
1235 if test "$GXX" = yes; then
1241 if test "$GXX" = yes; then
1248 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1249 echo "configure:1250: checking how to run the C++ preprocessor" >&5
1250 if test -z "$CXXCPP"; then
1251 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1252 echo $ac_n "(cached) $ac_c" 1>&6
1255 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1256 ac_cpp
='$CXXCPP $CPPFLAGS'
1257 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1258 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1259 cross_compiling
=$ac_cv_prog_cxx_cross
1260 CXXCPP
="${CXX-g++} -E"
1261 cat > conftest.
$ac_ext <<EOF
1262 #line 1263 "configure"
1263 #include "confdefs.h"
1266 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1267 { (eval echo configure
:1268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1268 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1269 if test -z "$ac_err"; then
1273 echo "configure: failed program was:" >&5
1274 cat conftest.
$ac_ext >&5
1279 ac_cv_prog_CXXCPP
="$CXXCPP"
1281 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1282 ac_cpp
='$CPP $CPPFLAGS'
1283 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1284 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1285 cross_compiling
=$ac_cv_prog_cc_cross
1288 CXXCPP
="$ac_cv_prog_CXXCPP"
1289 echo "$ac_t""$CXXCPP" 1>&6
1292 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
1295 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1296 ac_cpp
='$CPP $CPPFLAGS'
1297 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1298 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1299 cross_compiling
=$ac_cv_prog_cc_cross
1302 # Extract the first word of "ranlib", so it can be a program name with args.
1303 set dummy ranlib
; ac_word
=$2
1304 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1305 echo "configure:1306: checking for $ac_word" >&5
1306 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1307 echo $ac_n "(cached) $ac_c" 1>&6
1309 if test -n "$RANLIB"; then
1310 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1312 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1314 for ac_dir
in $ac_dummy; do
1315 test -z "$ac_dir" && ac_dir
=.
1316 if test -f $ac_dir/$ac_word; then
1317 ac_cv_prog_RANLIB
="ranlib"
1322 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1325 RANLIB
="$ac_cv_prog_RANLIB"
1326 if test -n "$RANLIB"; then
1327 echo "$ac_t""$RANLIB" 1>&6
1329 echo "$ac_t""no" 1>&6
1333 # Extract the first word of "ar", so it can be a program name with args.
1334 set dummy
ar; ac_word
=$2
1335 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1336 echo "configure:1337: checking for $ac_word" >&5
1337 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1338 echo $ac_n "(cached) $ac_c" 1>&6
1340 if test -n "$AR"; then
1341 ac_cv_prog_AR
="$AR" # Let the user override the test.
1343 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1345 for ac_dir
in $ac_dummy; do
1346 test -z "$ac_dir" && ac_dir
=.
1347 if test -f $ac_dir/$ac_word; then
1353 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1357 if test -n "$AR"; then
1358 echo "$ac_t""$AR" 1>&6
1360 echo "$ac_t""no" 1>&6
1365 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1366 if test -f $ac_dir/install-sh; then
1368 ac_install_sh
="$ac_aux_dir/install-sh -c"
1370 elif test -f $ac_dir/install.sh
; then
1372 ac_install_sh
="$ac_aux_dir/install.sh -c"
1376 if test -z "$ac_aux_dir"; then
1377 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1379 ac_config_guess
=$ac_aux_dir/config.guess
1380 ac_config_sub
=$ac_aux_dir/config.sub
1381 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1383 # Find a good install program. We prefer a C program (faster),
1384 # so one script is as good as another. But avoid the broken or
1385 # incompatible versions:
1386 # SysV /etc/install, /usr/sbin/install
1387 # SunOS /usr/etc/install
1388 # IRIX /sbin/install
1390 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1391 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1392 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1393 # ./install, which can be erroneously created by make from ./install.sh.
1394 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1395 echo "configure:1396: checking for a BSD compatible install" >&5
1396 if test -z "$INSTALL"; then
1397 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1398 echo $ac_n "(cached) $ac_c" 1>&6
1400 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1401 for ac_dir
in $PATH; do
1402 # Account for people who put trailing slashes in PATH elements.
1404 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
1406 # OSF1 and SCO ODT 3.0 have their own names for install.
1407 # Don't use installbsd from OSF since it installs stuff as root
1409 for ac_prog
in ginstall scoinst
install; do
1410 if test -f $ac_dir/$ac_prog; then
1411 if test $ac_prog = install &&
1412 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1413 # AIX install. It has an incompatible calling convention.
1416 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1427 if test "${ac_cv_path_install+set}" = set; then
1428 INSTALL
="$ac_cv_path_install"
1430 # As a last resort, use the slow shell script. We don't cache a
1431 # path for INSTALL within a source directory, because that will
1432 # break other packages using the cache if that directory is
1433 # removed, or if the path is relative.
1434 INSTALL
="$ac_install_sh"
1437 echo "$ac_t""$INSTALL" 1>&6
1439 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1440 # It thinks the first close brace ends the variable substitution.
1441 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1443 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1445 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1448 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1449 echo "configure:1450: checking whether ln -s works" >&5
1450 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1451 echo $ac_n "(cached) $ac_c" 1>&6
1454 if ln -s X conftestdata
2>/dev
/null
1457 ac_cv_prog_LN_S
="ln -s"
1462 LN_S
="$ac_cv_prog_LN_S"
1463 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1464 echo "$ac_t""yes" 1>&6
1466 echo "$ac_t""no" 1>&6
1470 for ac_prog
in mawk gawk nawk
awk
1472 # Extract the first word of "$ac_prog", so it can be a program name with args.
1473 set dummy
$ac_prog; ac_word
=$2
1474 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1475 echo "configure:1476: checking for $ac_word" >&5
1476 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1477 echo $ac_n "(cached) $ac_c" 1>&6
1479 if test -n "$AWK"; then
1480 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1482 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1484 for ac_dir
in $ac_dummy; do
1485 test -z "$ac_dir" && ac_dir
=.
1486 if test -f $ac_dir/$ac_word; then
1487 ac_cv_prog_AWK
="$ac_prog"
1494 AWK
="$ac_cv_prog_AWK"
1495 if test -n "$AWK"; then
1496 echo "$ac_t""$AWK" 1>&6
1498 echo "$ac_t""no" 1>&6
1501 test -n "$AWK" && break
1505 # Extract the first word of "strip", so it can be a program name with args.
1506 set dummy strip
; ac_word
=$2
1507 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1508 echo "configure:1509: checking for $ac_word" >&5
1509 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
1510 echo $ac_n "(cached) $ac_c" 1>&6
1512 if test -n "$STRIP"; then
1513 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1515 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1517 for ac_dir
in $ac_dummy; do
1518 test -z "$ac_dir" && ac_dir
=.
1519 if test -f $ac_dir/$ac_word; then
1520 ac_cv_prog_STRIP
="strip"
1525 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
1528 STRIP
="$ac_cv_prog_STRIP"
1529 if test -n "$STRIP"; then
1530 echo "$ac_t""$STRIP" 1>&6
1532 echo "$ac_t""no" 1>&6
1536 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
1537 echo "configure:1538: checking "make for VPATH support
"" >&5
1538 cat - << EOF > confMake
1544 if test ! -d sub
; then
1547 echo dummy
> sub
/file
1548 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
1550 rm -f sub
/file check final_file confMake
1552 if test "$RESULT" = 0; then
1553 echo "$ac_t""yes" 1>&6
1555 echo "$ac_t""no" 1>&6
1556 { echo "configure: error: You need a make-utility that is able to use the variable
1558 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
1562 # If we find X, set shell vars x_includes and x_libraries to the
1563 # paths, otherwise set no_x=yes.
1564 # Uses ac_ vars as temps to allow command line to override cache and checks.
1565 # --without-x overrides everything else, but does not touch the cache.
1566 echo $ac_n "checking for X""... $ac_c" 1>&6
1567 echo "configure:1568: checking for X" >&5
1569 # Check whether --with-x or --without-x was given.
1570 if test "${with_x+set}" = set; then
1575 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
1576 if test "x$with_x" = xno
; then
1577 # The user explicitly disabled X.
1580 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
1581 # Both variables are already set.
1584 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
1585 echo $ac_n "(cached) $ac_c" 1>&6
1587 # One or both of the vars are not set, and there is no cached value.
1588 ac_x_includes
=NO ac_x_libraries
=NO
1590 if mkdir conftestdir
; then
1592 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1593 cat > Imakefile
<<'EOF'
1595 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1597 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
1598 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1599 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
1600 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1601 for ac_extension
in a so sl
; do
1602 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
1603 test -f $ac_im_libdir/libX11.
$ac_extension; then
1604 ac_im_usrlibdir
=$ac_im_libdir; break
1607 # Screen out bogus values from the imake configuration. They are
1608 # bogus both because they are the default anyway, and because
1609 # using them would break gcc on systems where it needs fixed includes.
1610 case "$ac_im_incroot" in
1612 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
1614 case "$ac_im_usrlibdir" in
1616 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
1623 if test "$ac_x_includes" = NO
; then
1624 # Guess where to find include files, by looking for this one X11 .h file.
1625 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
1627 # First, try using that file with no special directory specified.
1628 cat > conftest.
$ac_ext <<EOF
1629 #line 1630 "configure"
1630 #include "confdefs.h"
1631 #include <$x_direct_test_include>
1633 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1634 { (eval echo configure
:1635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1635 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1636 if test -z "$ac_err"; then
1638 # We can compile using X headers with no special include directory.
1642 echo "configure: failed program was:" >&5
1643 cat conftest.
$ac_ext >&5
1645 # Look for the header file in a standard set of common directories.
1646 # Check X11 before X11Rn because it is often a symlink to the current release.
1649 /usr
/X
11R
6/include \
1650 /usr
/X
11R
5/include \
1651 /usr
/X
11R
4/include \
1654 /usr
/include
/X11R6 \
1655 /usr
/include
/X11R5 \
1656 /usr
/include
/X11R4 \
1658 /usr
/local
/X
11/include \
1659 /usr
/local
/X
11R
6/include \
1660 /usr
/local
/X
11R
5/include \
1661 /usr
/local
/X
11R
4/include \
1663 /usr
/local
/include
/X11 \
1664 /usr
/local
/include
/X11R6 \
1665 /usr
/local
/include
/X11R5 \
1666 /usr
/local
/include
/X11R4 \
1670 /usr
/XFree
86/include
/X11 \
1673 /usr
/local
/include \
1674 /usr
/unsupported
/include \
1675 /usr
/athena
/include \
1676 /usr
/local
/x
11r
5/include \
1677 /usr
/lpp
/Xamples
/include \
1679 /usr
/openwin
/include \
1680 /usr
/openwin
/share
/include \
1683 if test -r "$ac_dir/$x_direct_test_include"; then
1684 ac_x_includes
=$ac_dir
1690 fi # $ac_x_includes = NO
1692 if test "$ac_x_libraries" = NO
; then
1693 # Check for the libraries.
1695 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
1696 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
1698 # See if we find them without any special options.
1699 # Don't add to $LIBS permanently.
1700 ac_save_LIBS
="$LIBS"
1701 LIBS
="-l$x_direct_test_library $LIBS"
1702 cat > conftest.
$ac_ext <<EOF
1703 #line 1704 "configure"
1704 #include "confdefs.h"
1707 ${x_direct_test_function}()
1710 if { (eval echo configure
:1711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1712 LIBS
="$ac_save_LIBS"
1713 # We can link X programs with no special library path.
1716 echo "configure: failed program was:" >&5
1717 cat conftest.
$ac_ext >&5
1719 LIBS
="$ac_save_LIBS"
1720 # First see if replacing the include by lib works.
1721 # Check X11 before X11Rn because it is often a symlink to the current release.
1722 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
1733 /usr
/local
/X
11/lib \
1734 /usr
/local
/X
11R
6/lib \
1735 /usr
/local
/X
11R
5/lib \
1736 /usr
/local
/X
11R
4/lib \
1738 /usr
/local
/lib
/X11 \
1739 /usr
/local
/lib
/X11R6 \
1740 /usr
/local
/lib
/X11R5 \
1741 /usr
/local
/lib
/X11R4 \
1745 /usr
/XFree
86/lib
/X11 \
1749 /usr
/unsupported
/lib \
1751 /usr
/local
/x
11r
5/lib \
1752 /usr
/lpp
/Xamples
/lib \
1756 /usr
/openwin
/share
/lib \
1759 for ac_extension
in a so sl
; do
1760 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
1761 ac_x_libraries
=$ac_dir
1768 fi # $ac_x_libraries = NO
1770 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
1771 # Didn't find X anywhere. Cache the known absence of X.
1772 ac_cv_have_x
="have_x=no"
1774 # Record where we found X for the cache.
1775 ac_cv_have_x
="have_x=yes \
1776 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1780 eval "$ac_cv_have_x"
1783 if test "$have_x" != yes; then
1784 echo "$ac_t""$have_x" 1>&6
1787 # If each of the values was on the command line, it overrides each guess.
1788 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
1789 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
1790 # Update the cache value to reflect the command line values.
1791 ac_cv_have_x
="have_x=yes \
1792 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1793 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
1796 if test "$no_x" = yes; then
1797 # Not all programs may use this symbol, but it does not hurt to define it.
1798 cat >> confdefs.h
<<\EOF
1799 #define X_DISPLAY_MISSING 1
1802 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
1804 if test -n "$x_includes"; then
1805 X_CFLAGS
="$X_CFLAGS -I$x_includes"
1808 # It would also be nice to do this for all -L options, not just this one.
1809 if test -n "$x_libraries"; then
1810 X_LIBS
="$X_LIBS -L$x_libraries"
1811 # For Solaris; some versions of Sun CC require a space after -R and
1812 # others require no space. Words are not sufficient . . . .
1813 case "`(uname -sr) 2>/dev/null`" in
1815 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
1816 echo "configure:1817: checking whether -R must be followed by a space" >&5
1817 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
1818 cat > conftest.
$ac_ext <<EOF
1819 #line 1820 "configure"
1820 #include "confdefs.h"
1826 if { (eval echo configure
:1827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1830 echo "configure: failed program was:" >&5
1831 cat conftest.
$ac_ext >&5
1836 if test $ac_R_nospace = yes; then
1837 echo "$ac_t""no" 1>&6
1838 X_LIBS
="$X_LIBS -R$x_libraries"
1840 LIBS
="$ac_xsave_LIBS -R $x_libraries"
1841 cat > conftest.
$ac_ext <<EOF
1842 #line 1843 "configure"
1843 #include "confdefs.h"
1849 if { (eval echo configure
:1850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1853 echo "configure: failed program was:" >&5
1854 cat conftest.
$ac_ext >&5
1859 if test $ac_R_space = yes; then
1860 echo "$ac_t""yes" 1>&6
1861 X_LIBS
="$X_LIBS -R $x_libraries"
1863 echo "$ac_t""neither works" 1>&6
1866 LIBS
="$ac_xsave_LIBS"
1870 # Check for system-dependent libraries X programs must link with.
1871 # Do this before checking for the system-independent R6 libraries
1872 # (-lICE), since we may need -lsocket or whatever for X linking.
1874 if test "$ISC" = yes; then
1875 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
1877 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
1878 # libraries were built with DECnet support. And karl@cs.umb.edu says
1879 # the Alpha needs dnet_stub (dnet does not exist).
1880 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
1881 echo "configure:1882: checking for dnet_ntoa in -ldnet" >&5
1882 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1883 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1884 echo $ac_n "(cached) $ac_c" 1>&6
1886 ac_save_LIBS
="$LIBS"
1888 cat > conftest.
$ac_ext <<EOF
1889 #line 1890 "configure"
1890 #include "confdefs.h"
1891 /* Override any gcc2 internal prototype to avoid an error. */
1892 /* We use char because int might match the return type of a gcc2
1893 builtin and then its argument prototype would still apply. */
1900 if { (eval echo configure
:1901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1902 eval "ac_cv_lib_$ac_lib_var=yes"
1904 echo "configure: failed program was:" >&5
1905 cat conftest.
$ac_ext >&5
1907 eval "ac_cv_lib_$ac_lib_var=no"
1910 LIBS
="$ac_save_LIBS"
1913 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1914 echo "$ac_t""yes" 1>&6
1915 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
1917 echo "$ac_t""no" 1>&6
1920 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
1921 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
1922 echo "configure:1923: checking for dnet_ntoa in -ldnet_stub" >&5
1923 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1924 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1925 echo $ac_n "(cached) $ac_c" 1>&6
1927 ac_save_LIBS
="$LIBS"
1928 LIBS
="-ldnet_stub $LIBS"
1929 cat > conftest.
$ac_ext <<EOF
1930 #line 1931 "configure"
1931 #include "confdefs.h"
1932 /* Override any gcc2 internal prototype to avoid an error. */
1933 /* We use char because int might match the return type of a gcc2
1934 builtin and then its argument prototype would still apply. */
1941 if { (eval echo configure
:1942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1943 eval "ac_cv_lib_$ac_lib_var=yes"
1945 echo "configure: failed program was:" >&5
1946 cat conftest.
$ac_ext >&5
1948 eval "ac_cv_lib_$ac_lib_var=no"
1951 LIBS
="$ac_save_LIBS"
1954 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1955 echo "$ac_t""yes" 1>&6
1956 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
1958 echo "$ac_t""no" 1>&6
1963 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
1964 # to get the SysV transport functions.
1965 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
1967 # The nsl library prevents programs from opening the X display
1968 # on Irix 5.2, according to dickey@clark.net.
1969 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1970 echo "configure:1971: checking for gethostbyname" >&5
1971 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1972 echo $ac_n "(cached) $ac_c" 1>&6
1974 cat > conftest.
$ac_ext <<EOF
1975 #line 1976 "configure"
1976 #include "confdefs.h"
1977 /* System header to define __stub macros and hopefully few prototypes,
1978 which can conflict with char gethostbyname(); below. */
1980 /* Override any gcc2 internal prototype to avoid an error. */
1981 /* We use char because int might match the return type of a gcc2
1982 builtin and then its argument prototype would still apply. */
1983 char gethostbyname();
1988 /* The GNU C library defines this for functions which it implements
1989 to always fail with ENOSYS. Some functions are actually named
1990 something starting with __ and the normal name is an alias. */
1991 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
1999 if { (eval echo configure
:2000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2001 eval "ac_cv_func_gethostbyname=yes"
2003 echo "configure: failed program was:" >&5
2004 cat conftest.
$ac_ext >&5
2006 eval "ac_cv_func_gethostbyname=no"
2011 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
2012 echo "$ac_t""yes" 1>&6
2015 echo "$ac_t""no" 1>&6
2018 if test $ac_cv_func_gethostbyname = no
; then
2019 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
2020 echo "configure:2021: checking for gethostbyname in -lnsl" >&5
2021 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
2022 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2023 echo $ac_n "(cached) $ac_c" 1>&6
2025 ac_save_LIBS
="$LIBS"
2027 cat > conftest.
$ac_ext <<EOF
2028 #line 2029 "configure"
2029 #include "confdefs.h"
2030 /* Override any gcc2 internal prototype to avoid an error. */
2031 /* We use char because int might match the return type of a gcc2
2032 builtin and then its argument prototype would still apply. */
2033 char gethostbyname();
2039 if { (eval echo configure
:2040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2041 eval "ac_cv_lib_$ac_lib_var=yes"
2043 echo "configure: failed program was:" >&5
2044 cat conftest.
$ac_ext >&5
2046 eval "ac_cv_lib_$ac_lib_var=no"
2049 LIBS
="$ac_save_LIBS"
2052 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2053 echo "$ac_t""yes" 1>&6
2054 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
2056 echo "$ac_t""no" 1>&6
2061 # lieder@skyler.mavd.honeywell.com says without -lsocket,
2062 # socket/setsockopt and other routines are undefined under SCO ODT
2063 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
2064 # on later versions), says simon@lia.di.epfl.ch: it contains
2065 # gethostby* variants that don't use the nameserver (or something).
2066 # -lsocket must be given before -lnsl if both are needed.
2067 # We assume that if connect needs -lnsl, so does gethostbyname.
2068 echo $ac_n "checking for connect""... $ac_c" 1>&6
2069 echo "configure:2070: checking for connect" >&5
2070 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
2071 echo $ac_n "(cached) $ac_c" 1>&6
2073 cat > conftest.
$ac_ext <<EOF
2074 #line 2075 "configure"
2075 #include "confdefs.h"
2076 /* System header to define __stub macros and hopefully few prototypes,
2077 which can conflict with char connect(); below. */
2079 /* Override any gcc2 internal prototype to avoid an error. */
2080 /* We use char because int might match the return type of a gcc2
2081 builtin and then its argument prototype would still apply. */
2087 /* The GNU C library defines this for functions which it implements
2088 to always fail with ENOSYS. Some functions are actually named
2089 something starting with __ and the normal name is an alias. */
2090 #if defined (__stub_connect) || defined (__stub___connect)
2098 if { (eval echo configure
:2099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2100 eval "ac_cv_func_connect=yes"
2102 echo "configure: failed program was:" >&5
2103 cat conftest.
$ac_ext >&5
2105 eval "ac_cv_func_connect=no"
2110 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
2111 echo "$ac_t""yes" 1>&6
2114 echo "$ac_t""no" 1>&6
2117 if test $ac_cv_func_connect = no
; then
2118 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
2119 echo "configure:2120: checking for connect in -lsocket" >&5
2120 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
2121 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2122 echo $ac_n "(cached) $ac_c" 1>&6
2124 ac_save_LIBS
="$LIBS"
2125 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
2126 cat > conftest.
$ac_ext <<EOF
2127 #line 2128 "configure"
2128 #include "confdefs.h"
2129 /* Override any gcc2 internal prototype to avoid an error. */
2130 /* We use char because int might match the return type of a gcc2
2131 builtin and then its argument prototype would still apply. */
2138 if { (eval echo configure
:2139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2140 eval "ac_cv_lib_$ac_lib_var=yes"
2142 echo "configure: failed program was:" >&5
2143 cat conftest.
$ac_ext >&5
2145 eval "ac_cv_lib_$ac_lib_var=no"
2148 LIBS
="$ac_save_LIBS"
2151 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2152 echo "$ac_t""yes" 1>&6
2153 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
2155 echo "$ac_t""no" 1>&6
2160 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2161 echo $ac_n "checking for remove""... $ac_c" 1>&6
2162 echo "configure:2163: checking for remove" >&5
2163 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2164 echo $ac_n "(cached) $ac_c" 1>&6
2166 cat > conftest.
$ac_ext <<EOF
2167 #line 2168 "configure"
2168 #include "confdefs.h"
2169 /* System header to define __stub macros and hopefully few prototypes,
2170 which can conflict with char remove(); below. */
2172 /* Override any gcc2 internal prototype to avoid an error. */
2173 /* We use char because int might match the return type of a gcc2
2174 builtin and then its argument prototype would still apply. */
2180 /* The GNU C library defines this for functions which it implements
2181 to always fail with ENOSYS. Some functions are actually named
2182 something starting with __ and the normal name is an alias. */
2183 #if defined (__stub_remove) || defined (__stub___remove)
2191 if { (eval echo configure
:2192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2193 eval "ac_cv_func_remove=yes"
2195 echo "configure: failed program was:" >&5
2196 cat conftest.
$ac_ext >&5
2198 eval "ac_cv_func_remove=no"
2203 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
2204 echo "$ac_t""yes" 1>&6
2207 echo "$ac_t""no" 1>&6
2210 if test $ac_cv_func_remove = no
; then
2211 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2212 echo "configure:2213: checking for remove in -lposix" >&5
2213 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2214 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2215 echo $ac_n "(cached) $ac_c" 1>&6
2217 ac_save_LIBS
="$LIBS"
2218 LIBS
="-lposix $LIBS"
2219 cat > conftest.
$ac_ext <<EOF
2220 #line 2221 "configure"
2221 #include "confdefs.h"
2222 /* Override any gcc2 internal prototype to avoid an error. */
2223 /* We use char because int might match the return type of a gcc2
2224 builtin and then its argument prototype would still apply. */
2231 if { (eval echo configure
:2232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2233 eval "ac_cv_lib_$ac_lib_var=yes"
2235 echo "configure: failed program was:" >&5
2236 cat conftest.
$ac_ext >&5
2238 eval "ac_cv_lib_$ac_lib_var=no"
2241 LIBS
="$ac_save_LIBS"
2244 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2245 echo "$ac_t""yes" 1>&6
2246 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
2248 echo "$ac_t""no" 1>&6
2253 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2254 echo $ac_n "checking for shmat""... $ac_c" 1>&6
2255 echo "configure:2256: checking for shmat" >&5
2256 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2257 echo $ac_n "(cached) $ac_c" 1>&6
2259 cat > conftest.
$ac_ext <<EOF
2260 #line 2261 "configure"
2261 #include "confdefs.h"
2262 /* System header to define __stub macros and hopefully few prototypes,
2263 which can conflict with char shmat(); below. */
2265 /* Override any gcc2 internal prototype to avoid an error. */
2266 /* We use char because int might match the return type of a gcc2
2267 builtin and then its argument prototype would still apply. */
2273 /* The GNU C library defines this for functions which it implements
2274 to always fail with ENOSYS. Some functions are actually named
2275 something starting with __ and the normal name is an alias. */
2276 #if defined (__stub_shmat) || defined (__stub___shmat)
2284 if { (eval echo configure
:2285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2286 eval "ac_cv_func_shmat=yes"
2288 echo "configure: failed program was:" >&5
2289 cat conftest.
$ac_ext >&5
2291 eval "ac_cv_func_shmat=no"
2296 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
2297 echo "$ac_t""yes" 1>&6
2300 echo "$ac_t""no" 1>&6
2303 if test $ac_cv_func_shmat = no
; then
2304 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2305 echo "configure:2306: checking for shmat in -lipc" >&5
2306 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2307 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2308 echo $ac_n "(cached) $ac_c" 1>&6
2310 ac_save_LIBS
="$LIBS"
2312 cat > conftest.
$ac_ext <<EOF
2313 #line 2314 "configure"
2314 #include "confdefs.h"
2315 /* Override any gcc2 internal prototype to avoid an error. */
2316 /* We use char because int might match the return type of a gcc2
2317 builtin and then its argument prototype would still apply. */
2324 if { (eval echo configure
:2325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2326 eval "ac_cv_lib_$ac_lib_var=yes"
2328 echo "configure: failed program was:" >&5
2329 cat conftest.
$ac_ext >&5
2331 eval "ac_cv_lib_$ac_lib_var=no"
2334 LIBS
="$ac_save_LIBS"
2337 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2338 echo "$ac_t""yes" 1>&6
2339 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
2341 echo "$ac_t""no" 1>&6
2347 # Check for libraries that X11R6 Xt/Xaw programs need.
2348 ac_save_LDFLAGS
="$LDFLAGS"
2349 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
2350 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
2351 # check for ICE first), but we must link in the order -lSM -lICE or
2352 # we get undefined symbols. So assume we have SM if we have ICE.
2353 # These have to be linked with before -lX11, unlike the other
2354 # libraries we check for below, so use a different variable.
2355 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2356 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2357 echo "configure:2358: checking for IceConnectionNumber in -lICE" >&5
2358 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2359 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2360 echo $ac_n "(cached) $ac_c" 1>&6
2362 ac_save_LIBS
="$LIBS"
2363 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
2364 cat > conftest.
$ac_ext <<EOF
2365 #line 2366 "configure"
2366 #include "confdefs.h"
2367 /* Override any gcc2 internal prototype to avoid an error. */
2368 /* We use char because int might match the return type of a gcc2
2369 builtin and then its argument prototype would still apply. */
2370 char IceConnectionNumber();
2373 IceConnectionNumber()
2376 if { (eval echo configure
:2377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2378 eval "ac_cv_lib_$ac_lib_var=yes"
2380 echo "configure: failed program was:" >&5
2381 cat conftest.
$ac_ext >&5
2383 eval "ac_cv_lib_$ac_lib_var=no"
2386 LIBS
="$ac_save_LIBS"
2389 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2390 echo "$ac_t""yes" 1>&6
2391 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
2393 echo "$ac_t""no" 1>&6
2396 LDFLAGS
="$ac_save_LDFLAGS"
2402 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
2404 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2405 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2406 echo "configure:2407: checking for $ac_hdr that defines DIR" >&5
2407 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2408 echo $ac_n "(cached) $ac_c" 1>&6
2410 cat > conftest.
$ac_ext <<EOF
2411 #line 2412 "configure"
2412 #include "confdefs.h"
2413 #include <sys/types.h>
2419 if { (eval echo configure
:2420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2421 eval "ac_cv_header_dirent_$ac_safe=yes"
2423 echo "configure: failed program was:" >&5
2424 cat conftest.
$ac_ext >&5
2426 eval "ac_cv_header_dirent_$ac_safe=no"
2430 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
2431 echo "$ac_t""yes" 1>&6
2432 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2433 cat >> confdefs.h
<<EOF
2434 #define $ac_tr_hdr 1
2436 ac_header_dirent
=$ac_hdr; break
2438 echo "$ac_t""no" 1>&6
2441 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2442 if test $ac_header_dirent = dirent.h
; then
2443 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2444 echo "configure:2445: checking for opendir in -ldir" >&5
2445 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2446 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2447 echo $ac_n "(cached) $ac_c" 1>&6
2449 ac_save_LIBS
="$LIBS"
2451 cat > conftest.
$ac_ext <<EOF
2452 #line 2453 "configure"
2453 #include "confdefs.h"
2454 /* Override any gcc2 internal prototype to avoid an error. */
2455 /* We use char because int might match the return type of a gcc2
2456 builtin and then its argument prototype would still apply. */
2463 if { (eval echo configure
:2464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2465 eval "ac_cv_lib_$ac_lib_var=yes"
2467 echo "configure: failed program was:" >&5
2468 cat conftest.
$ac_ext >&5
2470 eval "ac_cv_lib_$ac_lib_var=no"
2473 LIBS
="$ac_save_LIBS"
2476 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2477 echo "$ac_t""yes" 1>&6
2480 echo "$ac_t""no" 1>&6
2484 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2485 echo "configure:2486: checking for opendir in -lx" >&5
2486 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2487 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2488 echo $ac_n "(cached) $ac_c" 1>&6
2490 ac_save_LIBS
="$LIBS"
2492 cat > conftest.
$ac_ext <<EOF
2493 #line 2494 "configure"
2494 #include "confdefs.h"
2495 /* Override any gcc2 internal prototype to avoid an error. */
2496 /* We use char because int might match the return type of a gcc2
2497 builtin and then its argument prototype would still apply. */
2504 if { (eval echo configure
:2505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2506 eval "ac_cv_lib_$ac_lib_var=yes"
2508 echo "configure: failed program was:" >&5
2509 cat conftest.
$ac_ext >&5
2511 eval "ac_cv_lib_$ac_lib_var=no"
2514 LIBS
="$ac_save_LIBS"
2517 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2518 echo "$ac_t""yes" 1>&6
2521 echo "$ac_t""no" 1>&6
2526 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2527 echo "configure:2528: checking for ANSI C header files" >&5
2528 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2529 echo $ac_n "(cached) $ac_c" 1>&6
2531 cat > conftest.
$ac_ext <<EOF
2532 #line 2533 "configure"
2533 #include "confdefs.h"
2539 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2540 { (eval echo configure
:2541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2541 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2542 if test -z "$ac_err"; then
2544 ac_cv_header_stdc
=yes
2547 echo "configure: failed program was:" >&5
2548 cat conftest.
$ac_ext >&5
2550 ac_cv_header_stdc
=no
2554 if test $ac_cv_header_stdc = yes; then
2555 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2556 cat > conftest.
$ac_ext <<EOF
2557 #line 2558 "configure"
2558 #include "confdefs.h"
2561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2562 egrep "memchr" >/dev
/null
2>&1; then
2566 ac_cv_header_stdc
=no
2572 if test $ac_cv_header_stdc = yes; then
2573 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2574 cat > conftest.
$ac_ext <<EOF
2575 #line 2576 "configure"
2576 #include "confdefs.h"
2579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2580 egrep "free" >/dev
/null
2>&1; then
2584 ac_cv_header_stdc
=no
2590 if test $ac_cv_header_stdc = yes; then
2591 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2592 if test "$cross_compiling" = yes; then
2595 cat > conftest.
$ac_ext <<EOF
2596 #line 2597 "configure"
2597 #include "confdefs.h"
2599 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2600 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2601 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2602 int main () { int i; for (i = 0; i < 256; i++)
2603 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2607 if { (eval echo configure
:2608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
2611 echo "configure: failed program was:" >&5
2612 cat conftest.
$ac_ext >&5
2614 ac_cv_header_stdc
=no
2622 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2623 if test $ac_cv_header_stdc = yes; then
2624 cat >> confdefs.h
<<\EOF
2625 #define STDC_HEADERS 1
2630 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2631 echo "configure:2632: checking for sys/wait.h that is POSIX.1 compatible" >&5
2632 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2633 echo $ac_n "(cached) $ac_c" 1>&6
2635 cat > conftest.
$ac_ext <<EOF
2636 #line 2637 "configure"
2637 #include "confdefs.h"
2638 #include <sys/types.h>
2639 #include <sys/wait.h>
2641 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2644 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2649 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2652 if { (eval echo configure
:2653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2654 ac_cv_header_sys_wait_h
=yes
2656 echo "configure: failed program was:" >&5
2657 cat conftest.
$ac_ext >&5
2659 ac_cv_header_sys_wait_h
=no
2664 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2665 if test $ac_cv_header_sys_wait_h = yes; then
2666 cat >> confdefs.h
<<\EOF
2667 #define HAVE_SYS_WAIT_H 1
2672 for ac_hdr
in fcntl.h
2674 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2675 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2676 echo "configure:2677: checking for $ac_hdr" >&5
2677 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2678 echo $ac_n "(cached) $ac_c" 1>&6
2680 cat > conftest.
$ac_ext <<EOF
2681 #line 2682 "configure"
2682 #include "confdefs.h"
2685 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2686 { (eval echo configure
:2687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2687 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2688 if test -z "$ac_err"; then
2690 eval "ac_cv_header_$ac_safe=yes"
2693 echo "configure: failed program was:" >&5
2694 cat conftest.
$ac_ext >&5
2696 eval "ac_cv_header_$ac_safe=no"
2700 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2701 echo "$ac_t""yes" 1>&6
2702 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2703 cat >> confdefs.h
<<EOF
2704 #define $ac_tr_hdr 1
2708 echo "$ac_t""no" 1>&6
2712 for ac_hdr
in limits.h
2714 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2715 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2716 echo "configure:2717: checking for $ac_hdr" >&5
2717 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2718 echo $ac_n "(cached) $ac_c" 1>&6
2720 cat > conftest.
$ac_ext <<EOF
2721 #line 2722 "configure"
2722 #include "confdefs.h"
2725 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2726 { (eval echo configure
:2727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2727 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2728 if test -z "$ac_err"; then
2730 eval "ac_cv_header_$ac_safe=yes"
2733 echo "configure: failed program was:" >&5
2734 cat conftest.
$ac_ext >&5
2736 eval "ac_cv_header_$ac_safe=no"
2740 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2741 echo "$ac_t""yes" 1>&6
2742 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2743 cat >> confdefs.h
<<EOF
2744 #define $ac_tr_hdr 1
2748 echo "$ac_t""no" 1>&6
2752 for ac_hdr
in sys
/file.h
2754 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2755 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2756 echo "configure:2757: checking for $ac_hdr" >&5
2757 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2758 echo $ac_n "(cached) $ac_c" 1>&6
2760 cat > conftest.
$ac_ext <<EOF
2761 #line 2762 "configure"
2762 #include "confdefs.h"
2765 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2766 { (eval echo configure
:2767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2767 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2768 if test -z "$ac_err"; then
2770 eval "ac_cv_header_$ac_safe=yes"
2773 echo "configure: failed program was:" >&5
2774 cat conftest.
$ac_ext >&5
2776 eval "ac_cv_header_$ac_safe=no"
2780 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2781 echo "$ac_t""yes" 1>&6
2782 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2783 cat >> confdefs.h
<<EOF
2784 #define $ac_tr_hdr 1
2788 echo "$ac_t""no" 1>&6
2792 for ac_hdr
in sys
/time.h
2794 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2795 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2796 echo "configure:2797: checking for $ac_hdr" >&5
2797 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2798 echo $ac_n "(cached) $ac_c" 1>&6
2800 cat > conftest.
$ac_ext <<EOF
2801 #line 2802 "configure"
2802 #include "confdefs.h"
2805 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2806 { (eval echo configure
:2807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2807 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2808 if test -z "$ac_err"; then
2810 eval "ac_cv_header_$ac_safe=yes"
2813 echo "configure: failed program was:" >&5
2814 cat conftest.
$ac_ext >&5
2816 eval "ac_cv_header_$ac_safe=no"
2820 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2821 echo "$ac_t""yes" 1>&6
2822 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2823 cat >> confdefs.h
<<EOF
2824 #define $ac_tr_hdr 1
2828 echo "$ac_t""no" 1>&6
2832 for ac_hdr
in unistd.h
2834 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2835 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2836 echo "configure:2837: checking for $ac_hdr" >&5
2837 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2838 echo $ac_n "(cached) $ac_c" 1>&6
2840 cat > conftest.
$ac_ext <<EOF
2841 #line 2842 "configure"
2842 #include "confdefs.h"
2845 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2846 { (eval echo configure
:2847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2847 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2848 if test -z "$ac_err"; then
2850 eval "ac_cv_header_$ac_safe=yes"
2853 echo "configure: failed program was:" >&5
2854 cat conftest.
$ac_ext >&5
2856 eval "ac_cv_header_$ac_safe=no"
2860 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2861 echo "$ac_t""yes" 1>&6
2862 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2863 cat >> confdefs.h
<<EOF
2864 #define $ac_tr_hdr 1
2868 echo "$ac_t""no" 1>&6
2872 for ac_hdr
in wchar.h
2874 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2875 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2876 echo "configure:2877: checking for $ac_hdr" >&5
2877 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2878 echo $ac_n "(cached) $ac_c" 1>&6
2880 cat > conftest.
$ac_ext <<EOF
2881 #line 2882 "configure"
2882 #include "confdefs.h"
2885 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2886 { (eval echo configure
:2887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2887 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2888 if test -z "$ac_err"; then
2890 eval "ac_cv_header_$ac_safe=yes"
2893 echo "configure: failed program was:" >&5
2894 cat conftest.
$ac_ext >&5
2896 eval "ac_cv_header_$ac_safe=no"
2900 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2901 echo "$ac_t""yes" 1>&6
2902 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2903 cat >> confdefs.h
<<EOF
2904 #define $ac_tr_hdr 1
2908 echo "$ac_t""no" 1>&6
2912 for ac_hdr
in wcstr.h
2914 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2915 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2916 echo "configure:2917: checking for $ac_hdr" >&5
2917 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2918 echo $ac_n "(cached) $ac_c" 1>&6
2920 cat > conftest.
$ac_ext <<EOF
2921 #line 2922 "configure"
2922 #include "confdefs.h"
2925 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2926 { (eval echo configure
:2927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2927 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2928 if test -z "$ac_err"; then
2930 eval "ac_cv_header_$ac_safe=yes"
2933 echo "configure: failed program was:" >&5
2934 cat conftest.
$ac_ext >&5
2936 eval "ac_cv_header_$ac_safe=no"
2940 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2941 echo "$ac_t""yes" 1>&6
2942 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2943 cat >> confdefs.h
<<EOF
2944 #define $ac_tr_hdr 1
2948 echo "$ac_t""no" 1>&6
2952 for ac_hdr
in fnmatch.h
2954 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2955 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2956 echo "configure:2957: checking for $ac_hdr" >&5
2957 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2958 echo $ac_n "(cached) $ac_c" 1>&6
2960 cat > conftest.
$ac_ext <<EOF
2961 #line 2962 "configure"
2962 #include "confdefs.h"
2965 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2966 { (eval echo configure
:2967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2967 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2968 if test -z "$ac_err"; then
2970 eval "ac_cv_header_$ac_safe=yes"
2973 echo "configure: failed program was:" >&5
2974 cat conftest.
$ac_ext >&5
2976 eval "ac_cv_header_$ac_safe=no"
2980 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2981 echo "$ac_t""yes" 1>&6
2982 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2983 cat >> confdefs.h
<<EOF
2984 #define $ac_tr_hdr 1
2988 echo "$ac_t""no" 1>&6
2992 for ac_hdr
in linux
/joystick.h
2994 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2995 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2996 echo "configure:2997: checking for $ac_hdr" >&5
2997 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2998 echo $ac_n "(cached) $ac_c" 1>&6
3000 cat > conftest.
$ac_ext <<EOF
3001 #line 3002 "configure"
3002 #include "confdefs.h"
3005 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3006 { (eval echo configure
:3007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3007 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3008 if test -z "$ac_err"; then
3010 eval "ac_cv_header_$ac_safe=yes"
3013 echo "configure: failed program was:" >&5
3014 cat conftest.
$ac_ext >&5
3016 eval "ac_cv_header_$ac_safe=no"
3020 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3021 echo "$ac_t""yes" 1>&6
3022 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3023 cat >> confdefs.h
<<EOF
3024 #define $ac_tr_hdr 1
3028 echo "$ac_t""no" 1>&6
3033 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
3034 GTK_JOYSTICK
="gtk/joystick.cpp"
3038 for ac_hdr
in strings.h
3040 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3041 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3042 echo "configure:3043: checking for $ac_hdr" >&5
3043 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3044 echo $ac_n "(cached) $ac_c" 1>&6
3046 cat > conftest.
$ac_ext <<EOF
3047 #line 3048 "configure"
3048 #include "confdefs.h"
3051 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3052 { (eval echo configure
:3053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3053 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3054 if test -z "$ac_err"; then
3056 eval "ac_cv_header_$ac_safe=yes"
3059 echo "configure: failed program was:" >&5
3060 cat conftest.
$ac_ext >&5
3062 eval "ac_cv_header_$ac_safe=no"
3066 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3067 echo "$ac_t""yes" 1>&6
3068 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3069 cat >> confdefs.h
<<EOF
3070 #define $ac_tr_hdr 1
3074 echo "$ac_t""no" 1>&6
3081 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
3082 echo "configure:3083: checking for wcslen in -lc" >&5
3083 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
3084 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3085 echo $ac_n "(cached) $ac_c" 1>&6
3087 ac_save_LIBS
="$LIBS"
3089 cat > conftest.
$ac_ext <<EOF
3090 #line 3091 "configure"
3091 #include "confdefs.h"
3092 /* Override any gcc2 internal prototype to avoid an error. */
3093 /* We use char because int might match the return type of a gcc2
3094 builtin and then its argument prototype would still apply. */
3101 if { (eval echo configure
:3102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3103 eval "ac_cv_lib_$ac_lib_var=yes"
3105 echo "configure: failed program was:" >&5
3106 cat conftest.
$ac_ext >&5
3108 eval "ac_cv_lib_$ac_lib_var=no"
3111 LIBS
="$ac_save_LIBS"
3114 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3115 echo "$ac_t""yes" 1>&6
3116 ac_tr_lib
=HAVE_LIB
`echo c | sed -e 's/[^a-zA-Z0-9_]/_/g' \
3117 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
3118 cat >> confdefs.h
<<EOF
3119 #define $ac_tr_lib 1
3125 echo "$ac_t""no" 1>&6
3126 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
3127 echo "configure:3128: checking for wcslen in -lw" >&5
3128 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
3129 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3130 echo $ac_n "(cached) $ac_c" 1>&6
3132 ac_save_LIBS
="$LIBS"
3134 cat > conftest.
$ac_ext <<EOF
3135 #line 3136 "configure"
3136 #include "confdefs.h"
3137 /* Override any gcc2 internal prototype to avoid an error. */
3138 /* We use char because int might match the return type of a gcc2
3139 builtin and then its argument prototype would still apply. */
3146 if { (eval echo configure
:3147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3148 eval "ac_cv_lib_$ac_lib_var=yes"
3150 echo "configure: failed program was:" >&5
3151 cat conftest.
$ac_ext >&5
3153 eval "ac_cv_lib_$ac_lib_var=no"
3156 LIBS
="$ac_save_LIBS"
3159 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3160 echo "$ac_t""yes" 1>&6
3163 echo "$ac_t""no" 1>&6
3164 { echo "configure: error: "Cannot
find wcslen
function.
"" 1>&2; exit 1; }
3171 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
3172 echo "configure:3173: checking for vprintf" >&5
3173 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
3174 echo $ac_n "(cached) $ac_c" 1>&6
3176 cat > conftest.
$ac_ext <<EOF
3177 #line 3178 "configure"
3178 #include "confdefs.h"
3179 /* System header to define __stub macros and hopefully few prototypes,
3180 which can conflict with char vprintf(); below. */
3182 /* Override any gcc2 internal prototype to avoid an error. */
3183 /* We use char because int might match the return type of a gcc2
3184 builtin and then its argument prototype would still apply. */
3190 /* The GNU C library defines this for functions which it implements
3191 to always fail with ENOSYS. Some functions are actually named
3192 something starting with __ and the normal name is an alias. */
3193 #if defined (__stub_vprintf) || defined (__stub___vprintf)
3201 if { (eval echo configure
:3202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3203 eval "ac_cv_func_vprintf=yes"
3205 echo "configure: failed program was:" >&5
3206 cat conftest.
$ac_ext >&5
3208 eval "ac_cv_func_vprintf=no"
3213 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
3214 echo "$ac_t""yes" 1>&6
3215 cat >> confdefs.h
<<\EOF
3216 #define HAVE_VPRINTF 1
3220 echo "$ac_t""no" 1>&6
3223 if test "$ac_cv_func_vprintf" != yes; then
3224 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
3225 echo "configure:3226: checking for _doprnt" >&5
3226 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
3227 echo $ac_n "(cached) $ac_c" 1>&6
3229 cat > conftest.
$ac_ext <<EOF
3230 #line 3231 "configure"
3231 #include "confdefs.h"
3232 /* System header to define __stub macros and hopefully few prototypes,
3233 which can conflict with char _doprnt(); below. */
3235 /* Override any gcc2 internal prototype to avoid an error. */
3236 /* We use char because int might match the return type of a gcc2
3237 builtin and then its argument prototype would still apply. */
3243 /* The GNU C library defines this for functions which it implements
3244 to always fail with ENOSYS. Some functions are actually named
3245 something starting with __ and the normal name is an alias. */
3246 #if defined (__stub__doprnt) || defined (__stub____doprnt)
3254 if { (eval echo configure
:3255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3256 eval "ac_cv_func__doprnt=yes"
3258 echo "configure: failed program was:" >&5
3259 cat conftest.
$ac_ext >&5
3261 eval "ac_cv_func__doprnt=no"
3266 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
3267 echo "$ac_t""yes" 1>&6
3268 cat >> confdefs.h
<<\EOF
3269 #define HAVE_DOPRNT 1
3273 echo "$ac_t""no" 1>&6
3279 for ac_func
in vsnprintf
3281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3282 echo "configure:3283: checking for $ac_func" >&5
3283 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3284 echo $ac_n "(cached) $ac_c" 1>&6
3286 cat > conftest.
$ac_ext <<EOF
3287 #line 3288 "configure"
3288 #include "confdefs.h"
3289 /* System header to define __stub macros and hopefully few prototypes,
3290 which can conflict with char $ac_func(); below. */
3292 /* Override any gcc2 internal prototype to avoid an error. */
3293 /* We use char because int might match the return type of a gcc2
3294 builtin and then its argument prototype would still apply. */
3300 /* The GNU C library defines this for functions which it implements
3301 to always fail with ENOSYS. Some functions are actually named
3302 something starting with __ and the normal name is an alias. */
3303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3311 if { (eval echo configure
:3312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3313 eval "ac_cv_func_$ac_func=yes"
3315 echo "configure: failed program was:" >&5
3316 cat conftest.
$ac_ext >&5
3318 eval "ac_cv_func_$ac_func=no"
3323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3324 echo "$ac_t""yes" 1>&6
3325 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3326 cat >> confdefs.h
<<EOF
3327 #define $ac_tr_func 1
3329 cat >> confdefs.h
<<\EOF
3330 #define HAVE_VSNPRINTF 1
3334 echo "$ac_t""no" 1>&6
3335 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
3341 for ac_func
in vfork
3343 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3344 echo "configure:3345: checking for $ac_func" >&5
3345 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3346 echo $ac_n "(cached) $ac_c" 1>&6
3348 cat > conftest.
$ac_ext <<EOF
3349 #line 3350 "configure"
3350 #include "confdefs.h"
3351 /* System header to define __stub macros and hopefully few prototypes,
3352 which can conflict with char $ac_func(); below. */
3354 /* Override any gcc2 internal prototype to avoid an error. */
3355 /* We use char because int might match the return type of a gcc2
3356 builtin and then its argument prototype would still apply. */
3362 /* The GNU C library defines this for functions which it implements
3363 to always fail with ENOSYS. Some functions are actually named
3364 something starting with __ and the normal name is an alias. */
3365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3373 if { (eval echo configure
:3374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3375 eval "ac_cv_func_$ac_func=yes"
3377 echo "configure: failed program was:" >&5
3378 cat conftest.
$ac_ext >&5
3380 eval "ac_cv_func_$ac_func=no"
3385 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3386 echo "$ac_t""yes" 1>&6
3387 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3388 cat >> confdefs.h
<<EOF
3389 #define $ac_tr_func 1
3393 echo "$ac_t""no" 1>&6
3399 for ac_func
in nanosleep
3401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3402 echo "configure:3403: checking for $ac_func" >&5
3403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3404 echo $ac_n "(cached) $ac_c" 1>&6
3406 cat > conftest.
$ac_ext <<EOF
3407 #line 3408 "configure"
3408 #include "confdefs.h"
3409 /* System header to define __stub macros and hopefully few prototypes,
3410 which can conflict with char $ac_func(); below. */
3412 /* Override any gcc2 internal prototype to avoid an error. */
3413 /* We use char because int might match the return type of a gcc2
3414 builtin and then its argument prototype would still apply. */
3420 /* The GNU C library defines this for functions which it implements
3421 to always fail with ENOSYS. Some functions are actually named
3422 something starting with __ and the normal name is an alias. */
3423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3431 if { (eval echo configure
:3432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3433 eval "ac_cv_func_$ac_func=yes"
3435 echo "configure: failed program was:" >&5
3436 cat conftest.
$ac_ext >&5
3438 eval "ac_cv_func_$ac_func=no"
3443 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3444 echo "$ac_t""yes" 1>&6
3445 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3446 cat >> confdefs.h
<<EOF
3447 #define $ac_tr_func 1
3449 cat >> confdefs.h
<<\EOF
3450 #define HAVE_NANOSLEEP 1
3454 echo "$ac_t""no" 1>&6
3455 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
3456 echo "configure:3457: checking for nanosleep in -lposix4" >&5
3457 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
3458 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3459 echo $ac_n "(cached) $ac_c" 1>&6
3461 ac_save_LIBS
="$LIBS"
3462 LIBS
="-lposix4 $LIBS"
3463 cat > conftest.
$ac_ext <<EOF
3464 #line 3465 "configure"
3465 #include "confdefs.h"
3466 /* Override any gcc2 internal prototype to avoid an error. */
3467 /* We use char because int might match the return type of a gcc2
3468 builtin and then its argument prototype would still apply. */
3475 if { (eval echo configure
:3476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3477 eval "ac_cv_lib_$ac_lib_var=yes"
3479 echo "configure: failed program was:" >&5
3480 cat conftest.
$ac_ext >&5
3482 eval "ac_cv_lib_$ac_lib_var=no"
3485 LIBS
="$ac_save_LIBS"
3488 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3489 echo "$ac_t""yes" 1>&6
3491 cat >> confdefs.h
<<\EOF
3492 #define HAVE_NANOSLEEP 1
3495 POSIX4_LINK
="-lposix4"
3498 echo "$ac_t""no" 1>&6
3500 for ac_func
in usleep
3502 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3503 echo "configure:3504: checking for $ac_func" >&5
3504 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3505 echo $ac_n "(cached) $ac_c" 1>&6
3507 cat > conftest.
$ac_ext <<EOF
3508 #line 3509 "configure"
3509 #include "confdefs.h"
3510 /* System header to define __stub macros and hopefully few prototypes,
3511 which can conflict with char $ac_func(); below. */
3513 /* Override any gcc2 internal prototype to avoid an error. */
3514 /* We use char because int might match the return type of a gcc2
3515 builtin and then its argument prototype would still apply. */
3521 /* The GNU C library defines this for functions which it implements
3522 to always fail with ENOSYS. Some functions are actually named
3523 something starting with __ and the normal name is an alias. */
3524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3532 if { (eval echo configure
:3533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3534 eval "ac_cv_func_$ac_func=yes"
3536 echo "configure: failed program was:" >&5
3537 cat conftest.
$ac_ext >&5
3539 eval "ac_cv_func_$ac_func=no"
3544 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3545 echo "$ac_t""yes" 1>&6
3546 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3547 cat >> confdefs.h
<<EOF
3548 #define $ac_tr_func 1
3550 cat >> confdefs.h
<<\EOF
3551 #define HAVE_USLEEP 1
3555 echo "$ac_t""no" 1>&6
3556 echo "configure: warning: Sleep() function will not work" 1>&2
3568 for ac_func
in uname gethostname
3570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3571 echo "configure:3572: checking for $ac_func" >&5
3572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3573 echo $ac_n "(cached) $ac_c" 1>&6
3575 cat > conftest.
$ac_ext <<EOF
3576 #line 3577 "configure"
3577 #include "confdefs.h"
3578 /* System header to define __stub macros and hopefully few prototypes,
3579 which can conflict with char $ac_func(); below. */
3581 /* Override any gcc2 internal prototype to avoid an error. */
3582 /* We use char because int might match the return type of a gcc2
3583 builtin and then its argument prototype would still apply. */
3589 /* The GNU C library defines this for functions which it implements
3590 to always fail with ENOSYS. Some functions are actually named
3591 something starting with __ and the normal name is an alias. */
3592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3600 if { (eval echo configure
:3601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3602 eval "ac_cv_func_$ac_func=yes"
3604 echo "configure: failed program was:" >&5
3605 cat conftest.
$ac_ext >&5
3607 eval "ac_cv_func_$ac_func=no"
3612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3613 echo "$ac_t""yes" 1>&6
3614 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3615 cat >> confdefs.h
<<EOF
3616 #define $ac_tr_func 1
3620 echo "$ac_t""no" 1>&6
3625 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3626 echo "configure:3627: checking for uid_t in sys/types.h" >&5
3627 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3628 echo $ac_n "(cached) $ac_c" 1>&6
3630 cat > conftest.
$ac_ext <<EOF
3631 #line 3632 "configure"
3632 #include "confdefs.h"
3633 #include <sys/types.h>
3635 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3636 egrep "uid_t" >/dev
/null
2>&1; then
3638 ac_cv_type_uid_t
=yes
3647 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3648 if test $ac_cv_type_uid_t = no
; then
3649 cat >> confdefs.h
<<\EOF
3653 cat >> confdefs.h
<<\EOF
3659 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
3660 echo "configure:3661: checking type of array argument to getgroups" >&5
3661 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
3662 echo $ac_n "(cached) $ac_c" 1>&6
3664 if test "$cross_compiling" = yes; then
3665 ac_cv_type_getgroups
=cross
3667 cat > conftest.
$ac_ext <<EOF
3668 #line 3669 "configure"
3669 #include "confdefs.h"
3671 /* Thanks to Mike Rendell for this test. */
3672 #include <sys/types.h>
3675 #define MAX(x, y) ((x) > (y) ? (x) : (y))
3680 union { gid_t gval; long lval; } val;
3683 for (i = 0; i < NGID; i++)
3684 gidset[i] = val.gval;
3685 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
3687 /* Exit non-zero if getgroups seems to require an array of ints. This
3688 happens when gid_t is short but getgroups modifies an array of ints. */
3689 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
3693 if { (eval echo configure
:3694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
3695 ac_cv_type_getgroups
=gid_t
3697 echo "configure: failed program was:" >&5
3698 cat conftest.
$ac_ext >&5
3700 ac_cv_type_getgroups
=int
3705 if test $ac_cv_type_getgroups = cross
; then
3706 cat > conftest.
$ac_ext <<EOF
3707 #line 3708 "configure"
3708 #include "confdefs.h"
3711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3712 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
3714 ac_cv_type_getgroups
=gid_t
3717 ac_cv_type_getgroups
=int
3724 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
3725 cat >> confdefs.h
<<EOF
3726 #define GETGROUPS_T $ac_cv_type_getgroups
3730 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
3731 echo "configure:3732: checking for mode_t" >&5
3732 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
3733 echo $ac_n "(cached) $ac_c" 1>&6
3735 cat > conftest.
$ac_ext <<EOF
3736 #line 3737 "configure"
3737 #include "confdefs.h"
3738 #include <sys/types.h>
3744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3745 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3747 ac_cv_type_mode_t
=yes
3750 ac_cv_type_mode_t
=no
3755 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
3756 if test $ac_cv_type_mode_t = no
; then
3757 cat >> confdefs.h
<<\EOF
3763 echo $ac_n "checking for off_t""... $ac_c" 1>&6
3764 echo "configure:3765: checking for off_t" >&5
3765 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
3766 echo $ac_n "(cached) $ac_c" 1>&6
3768 cat > conftest.
$ac_ext <<EOF
3769 #line 3770 "configure"
3770 #include "confdefs.h"
3771 #include <sys/types.h>
3777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3778 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3780 ac_cv_type_off_t
=yes
3788 echo "$ac_t""$ac_cv_type_off_t" 1>&6
3789 if test $ac_cv_type_off_t = no
; then
3790 cat >> confdefs.h
<<\EOF
3796 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
3797 echo "configure:3798: checking for pid_t" >&5
3798 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
3799 echo $ac_n "(cached) $ac_c" 1>&6
3801 cat > conftest.
$ac_ext <<EOF
3802 #line 3803 "configure"
3803 #include "confdefs.h"
3804 #include <sys/types.h>
3810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3811 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3813 ac_cv_type_pid_t
=yes
3821 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
3822 if test $ac_cv_type_pid_t = no
; then
3823 cat >> confdefs.h
<<\EOF
3829 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3830 echo "configure:3831: checking return type of signal handlers" >&5
3831 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
3832 echo $ac_n "(cached) $ac_c" 1>&6
3834 cat > conftest.
$ac_ext <<EOF
3835 #line 3836 "configure"
3836 #include "confdefs.h"
3837 #include <sys/types.h>
3843 extern "C" void (*signal (int, void (*)(int)))(int);
3845 void (*signal ()) ();
3852 if { (eval echo configure
:3853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3854 ac_cv_type_signal
=void
3856 echo "configure: failed program was:" >&5
3857 cat conftest.
$ac_ext >&5
3859 ac_cv_type_signal
=int
3864 echo "$ac_t""$ac_cv_type_signal" 1>&6
3865 cat >> confdefs.h
<<EOF
3866 #define RETSIGTYPE $ac_cv_type_signal
3870 echo $ac_n "checking for size_t""... $ac_c" 1>&6
3871 echo "configure:3872: checking for size_t" >&5
3872 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
3873 echo $ac_n "(cached) $ac_c" 1>&6
3875 cat > conftest.
$ac_ext <<EOF
3876 #line 3877 "configure"
3877 #include "confdefs.h"
3878 #include <sys/types.h>
3884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3885 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3887 ac_cv_type_size_t
=yes
3890 ac_cv_type_size_t
=no
3895 echo "$ac_t""$ac_cv_type_size_t" 1>&6
3896 if test $ac_cv_type_size_t = no
; then
3897 cat >> confdefs.h
<<\EOF
3898 #define size_t unsigned
3903 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3904 echo "configure:3905: checking for uid_t in sys/types.h" >&5
3905 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3906 echo $ac_n "(cached) $ac_c" 1>&6
3908 cat > conftest.
$ac_ext <<EOF
3909 #line 3910 "configure"
3910 #include "confdefs.h"
3911 #include <sys/types.h>
3913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3914 egrep "uid_t" >/dev
/null
2>&1; then
3916 ac_cv_type_uid_t
=yes
3925 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3926 if test $ac_cv_type_uid_t = no
; then
3927 cat >> confdefs.h
<<\EOF
3931 cat >> confdefs.h
<<\EOF
3939 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
3940 echo "configure:3941: checking whether stat file-mode macros are broken" >&5
3941 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
3942 echo $ac_n "(cached) $ac_c" 1>&6
3944 cat > conftest.
$ac_ext <<EOF
3945 #line 3946 "configure"
3946 #include "confdefs.h"
3947 #include <sys/types.h>
3948 #include <sys/stat.h>
3950 #if defined(S_ISBLK) && defined(S_IFDIR)
3951 # if S_ISBLK (S_IFDIR)
3956 #if defined(S_ISBLK) && defined(S_IFCHR)
3957 # if S_ISBLK (S_IFCHR)
3962 #if defined(S_ISLNK) && defined(S_IFREG)
3963 # if S_ISLNK (S_IFREG)
3968 #if defined(S_ISSOCK) && defined(S_IFREG)
3969 # if S_ISSOCK (S_IFREG)
3975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3976 egrep "You lose" >/dev
/null
2>&1; then
3978 ac_cv_header_stat_broken
=yes
3981 ac_cv_header_stat_broken
=no
3987 echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
3988 if test $ac_cv_header_stat_broken = yes; then
3989 cat >> confdefs.h
<<\EOF
3990 #define STAT_MACROS_BROKEN 1
3995 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3996 echo "configure:3997: checking whether time.h and sys/time.h may both be included" >&5
3997 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3998 echo $ac_n "(cached) $ac_c" 1>&6
4000 cat > conftest.
$ac_ext <<EOF
4001 #line 4002 "configure"
4002 #include "confdefs.h"
4003 #include <sys/types.h>
4004 #include <sys/time.h>
4010 if { (eval echo configure
:4011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4012 ac_cv_header_time
=yes
4014 echo "configure: failed program was:" >&5
4015 cat conftest.
$ac_ext >&5
4017 ac_cv_header_time
=no
4022 echo "$ac_t""$ac_cv_header_time" 1>&6
4023 if test $ac_cv_header_time = yes; then
4024 cat >> confdefs.h
<<\EOF
4025 #define TIME_WITH_SYS_TIME 1
4030 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
4031 echo "configure:4032: checking for st_blksize in struct stat" >&5
4032 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
4033 echo $ac_n "(cached) $ac_c" 1>&6
4035 cat > conftest.
$ac_ext <<EOF
4036 #line 4037 "configure"
4037 #include "confdefs.h"
4038 #include <sys/types.h>
4039 #include <sys/stat.h>
4041 struct stat s; s.st_blksize;
4044 if { (eval echo configure
:4045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4046 ac_cv_struct_st_blksize
=yes
4048 echo "configure: failed program was:" >&5
4049 cat conftest.
$ac_ext >&5
4051 ac_cv_struct_st_blksize
=no
4056 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
4057 if test $ac_cv_struct_st_blksize = yes; then
4058 cat >> confdefs.h
<<\EOF
4059 #define HAVE_ST_BLKSIZE 1
4064 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
4065 echo "configure:4066: checking for st_blocks in struct stat" >&5
4066 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
4067 echo $ac_n "(cached) $ac_c" 1>&6
4069 cat > conftest.
$ac_ext <<EOF
4070 #line 4071 "configure"
4071 #include "confdefs.h"
4072 #include <sys/types.h>
4073 #include <sys/stat.h>
4075 struct stat s; s.st_blocks;
4078 if { (eval echo configure
:4079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4080 ac_cv_struct_st_blocks
=yes
4082 echo "configure: failed program was:" >&5
4083 cat conftest.
$ac_ext >&5
4085 ac_cv_struct_st_blocks
=no
4090 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6
4091 if test $ac_cv_struct_st_blocks = yes; then
4092 cat >> confdefs.h
<<\EOF
4093 #define HAVE_ST_BLOCKS 1
4097 LIBOBJS
="$LIBOBJS fileblocks.${ac_objext}"
4100 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
4101 echo "configure:4102: checking for st_rdev in struct stat" >&5
4102 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
4103 echo $ac_n "(cached) $ac_c" 1>&6
4105 cat > conftest.
$ac_ext <<EOF
4106 #line 4107 "configure"
4107 #include "confdefs.h"
4108 #include <sys/types.h>
4109 #include <sys/stat.h>
4111 struct stat s; s.st_rdev;
4114 if { (eval echo configure
:4115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4116 ac_cv_struct_st_rdev
=yes
4118 echo "configure: failed program was:" >&5
4119 cat conftest.
$ac_ext >&5
4121 ac_cv_struct_st_rdev
=no
4126 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6
4127 if test $ac_cv_struct_st_rdev = yes; then
4128 cat >> confdefs.h
<<\EOF
4129 #define HAVE_ST_RDEV 1
4134 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
4135 echo "configure:4136: checking whether struct tm is in sys/time.h or time.h" >&5
4136 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
4137 echo $ac_n "(cached) $ac_c" 1>&6
4139 cat > conftest.
$ac_ext <<EOF
4140 #line 4141 "configure"
4141 #include "confdefs.h"
4142 #include <sys/types.h>
4145 struct tm *tp; tp->tm_sec;
4148 if { (eval echo configure
:4149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4150 ac_cv_struct_tm
=time.h
4152 echo "configure: failed program was:" >&5
4153 cat conftest.
$ac_ext >&5
4155 ac_cv_struct_tm
=sys
/time.h
4160 echo "$ac_t""$ac_cv_struct_tm" 1>&6
4161 if test $ac_cv_struct_tm = sys
/time.h
; then
4162 cat >> confdefs.h
<<\EOF
4163 #define TM_IN_SYS_TIME 1
4168 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
4169 echo "configure:4170: checking for tm_zone in struct tm" >&5
4170 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
4171 echo $ac_n "(cached) $ac_c" 1>&6
4173 cat > conftest.
$ac_ext <<EOF
4174 #line 4175 "configure"
4175 #include "confdefs.h"
4176 #include <sys/types.h>
4177 #include <$ac_cv_struct_tm>
4179 struct tm tm; tm.tm_zone;
4182 if { (eval echo configure
:4183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4184 ac_cv_struct_tm_zone
=yes
4186 echo "configure: failed program was:" >&5
4187 cat conftest.
$ac_ext >&5
4189 ac_cv_struct_tm_zone
=no
4194 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
4195 if test "$ac_cv_struct_tm_zone" = yes; then
4196 cat >> confdefs.h
<<\EOF
4197 #define HAVE_TM_ZONE 1
4201 echo $ac_n "checking for tzname""... $ac_c" 1>&6
4202 echo "configure:4203: checking for tzname" >&5
4203 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
4204 echo $ac_n "(cached) $ac_c" 1>&6
4206 cat > conftest.
$ac_ext <<EOF
4207 #line 4208 "configure"
4208 #include "confdefs.h"
4210 #ifndef tzname /* For SGI. */
4211 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4217 if { (eval echo configure
:4218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4219 ac_cv_var_tzname
=yes
4221 echo "configure: failed program was:" >&5
4222 cat conftest.
$ac_ext >&5
4229 echo "$ac_t""$ac_cv_var_tzname" 1>&6
4230 if test $ac_cv_var_tzname = yes; then
4231 cat >> confdefs.h
<<\EOF
4232 #define HAVE_TZNAME 1
4240 echo $ac_n "checking for working const""... $ac_c" 1>&6
4241 echo "configure:4242: checking for working const" >&5
4242 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
4243 echo $ac_n "(cached) $ac_c" 1>&6
4245 cat > conftest.
$ac_ext <<EOF
4246 #line 4247 "configure"
4247 #include "confdefs.h"
4251 /* Ultrix mips cc rejects this. */
4252 typedef int charset[2]; const charset x;
4253 /* SunOS 4.1.1 cc rejects this. */
4254 char const *const *ccp;
4256 /* NEC SVR4.0.2 mips cc rejects this. */
4257 struct point {int x, y;};
4258 static struct point const zero = {0,0};
4259 /* AIX XL C 1.02.0.0 rejects this.
4260 It does not let you subtract one const X* pointer from another in an arm
4261 of an if-expression whose if-part is not a constant expression */
4262 const char *g = "string";
4263 ccp = &g + (g ? g-g : 0);
4264 /* HPUX 7.0 cc rejects these. */
4267 ccp = (char const *const *) p;
4268 { /* SCO 3.2v4 cc rejects this. */
4270 char const *s = 0 ? (char *) 0 : (char const *) 0;
4274 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4276 const int *foo = &x[0];
4279 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4280 typedef const int *iptr;
4284 { /* AIX XL C 1.02.0.0 rejects this saying
4285 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4286 struct s { int j; const int *ap[3]; };
4287 struct s *b; b->j = 5;
4289 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4295 if { (eval echo configure
:4296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4299 echo "configure: failed program was:" >&5
4300 cat conftest.
$ac_ext >&5
4307 echo "$ac_t""$ac_cv_c_const" 1>&6
4308 if test $ac_cv_c_const = no
; then
4309 cat >> confdefs.h
<<\EOF
4315 echo $ac_n "checking for inline""... $ac_c" 1>&6
4316 echo "configure:4317: checking for inline" >&5
4317 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
4318 echo $ac_n "(cached) $ac_c" 1>&6
4321 for ac_kw
in inline __inline__ __inline
; do
4322 cat > conftest.
$ac_ext <<EOF
4323 #line 4324 "configure"
4324 #include "confdefs.h"
4330 if { (eval echo configure
:4331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4332 ac_cv_c_inline
=$ac_kw; break
4334 echo "configure: failed program was:" >&5
4335 cat conftest.
$ac_ext >&5
4342 echo "$ac_t""$ac_cv_c_inline" 1>&6
4343 case "$ac_cv_c_inline" in
4345 no
) cat >> confdefs.h
<<\EOF
4349 *) cat >> confdefs.h
<<EOF
4350 #define inline $ac_cv_c_inline
4355 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
4356 echo "configure:4357: checking whether char is unsigned" >&5
4357 if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
4358 echo $ac_n "(cached) $ac_c" 1>&6
4360 if test "$GCC" = yes; then
4361 # GCC predefines this symbol on systems where it applies.
4362 cat > conftest.
$ac_ext <<EOF
4363 #line 4364 "configure"
4364 #include "confdefs.h"
4365 #ifdef __CHAR_UNSIGNED__
4370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4371 egrep "yes" >/dev
/null
2>&1; then
4373 ac_cv_c_char_unsigned
=yes
4376 ac_cv_c_char_unsigned
=no
4381 if test "$cross_compiling" = yes; then
4382 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4384 cat > conftest.
$ac_ext <<EOF
4385 #line 4386 "configure"
4386 #include "confdefs.h"
4387 /* volatile prevents gcc2 from optimizing the test away on sparcs. */
4388 #if !defined(__STDC__) || __STDC__ != 1
4392 volatile char c = 255; exit(c < 0);
4395 if { (eval echo configure
:4396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4397 ac_cv_c_char_unsigned
=yes
4399 echo "configure: failed program was:" >&5
4400 cat conftest.
$ac_ext >&5
4402 ac_cv_c_char_unsigned
=no
4410 echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
4411 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
4412 cat >> confdefs.h
<<\EOF
4413 #define __CHAR_UNSIGNED__ 1
4418 echo $ac_n "checking for long double""... $ac_c" 1>&6
4419 echo "configure:4420: checking for long double" >&5
4420 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
4421 echo $ac_n "(cached) $ac_c" 1>&6
4423 if test "$GCC" = yes; then
4424 ac_cv_c_long_double
=yes
4426 if test "$cross_compiling" = yes; then
4427 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4429 cat > conftest.
$ac_ext <<EOF
4430 #line 4431 "configure"
4431 #include "confdefs.h"
4433 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
4434 long double foo = 0.0;
4435 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
4436 exit(sizeof(long double) < sizeof(double)); }
4438 if { (eval echo configure
:4439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4440 ac_cv_c_long_double
=yes
4442 echo "configure: failed program was:" >&5
4443 cat conftest.
$ac_ext >&5
4445 ac_cv_c_long_double
=no
4453 echo "$ac_t""$ac_cv_c_long_double" 1>&6
4454 if test $ac_cv_c_long_double = yes; then
4455 cat >> confdefs.h
<<\EOF
4456 #define HAVE_LONG_DOUBLE 1
4462 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
4463 echo "configure:4464: checking whether byte ordering is bigendian" >&5
4464 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
4465 echo $ac_n "(cached) $ac_c" 1>&6
4467 ac_cv_c_bigendian
=unknown
4468 # See if sys/param.h defines the BYTE_ORDER macro.
4469 cat > conftest.
$ac_ext <<EOF
4470 #line 4471 "configure"
4471 #include "confdefs.h"
4472 #include <sys/types.h>
4473 #include <sys/param.h>
4476 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4481 if { (eval echo configure
:4482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4483 # It does; now see whether it defined to BIG_ENDIAN or not.
4484 cat > conftest.
$ac_ext <<EOF
4485 #line 4486 "configure"
4486 #include "confdefs.h"
4487 #include <sys/types.h>
4488 #include <sys/param.h>
4491 #if BYTE_ORDER != BIG_ENDIAN
4496 if { (eval echo configure
:4497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4498 ac_cv_c_bigendian
=yes
4500 echo "configure: failed program was:" >&5
4501 cat conftest.
$ac_ext >&5
4503 ac_cv_c_bigendian
=no
4507 echo "configure: failed program was:" >&5
4508 cat conftest.
$ac_ext >&5
4511 if test $ac_cv_c_bigendian = unknown
; then
4512 if test "$cross_compiling" = yes; then
4513 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4515 cat > conftest.
$ac_ext <<EOF
4516 #line 4517 "configure"
4517 #include "confdefs.h"
4519 /* Are we little or big endian? From Harbison&Steele. */
4523 char c[sizeof (long)];
4526 exit (u.c[sizeof (long) - 1] == 1);
4529 if { (eval echo configure
:4530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4531 ac_cv_c_bigendian
=no
4533 echo "configure: failed program was:" >&5
4534 cat conftest.
$ac_ext >&5
4536 ac_cv_c_bigendian
=yes
4544 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
4545 if test $ac_cv_c_bigendian = yes; then
4546 cat >> confdefs.h
<<\EOF
4547 #define WORDS_BIGENDIAN 1
4553 echo $ac_n "checking size of int *""... $ac_c" 1>&6
4554 echo "configure:4555: checking size of int *" >&5
4555 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
4556 echo $ac_n "(cached) $ac_c" 1>&6
4558 if test "$cross_compiling" = yes; then
4559 ac_cv_sizeof_int_p
=4
4561 cat > conftest.
$ac_ext <<EOF
4562 #line 4563 "configure"
4563 #include "confdefs.h"
4567 FILE *f=fopen("conftestval", "w");
4569 fprintf(f, "%d\n", sizeof(int *));
4573 if { (eval echo configure
:4574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4575 ac_cv_sizeof_int_p
=`cat conftestval`
4577 echo "configure: failed program was:" >&5
4578 cat conftest.
$ac_ext >&5
4580 ac_cv_sizeof_int_p
=0
4586 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
4587 cat >> confdefs.h
<<EOF
4588 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
4592 echo $ac_n "checking size of int""... $ac_c" 1>&6
4593 echo "configure:4594: checking size of int" >&5
4594 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
4595 echo $ac_n "(cached) $ac_c" 1>&6
4597 if test "$cross_compiling" = yes; then
4600 cat > conftest.
$ac_ext <<EOF
4601 #line 4602 "configure"
4602 #include "confdefs.h"
4606 FILE *f=fopen("conftestval", "w");
4608 fprintf(f, "%d\n", sizeof(int));
4612 if { (eval echo configure
:4613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4614 ac_cv_sizeof_int
=`cat conftestval`
4616 echo "configure: failed program was:" >&5
4617 cat conftest.
$ac_ext >&5
4625 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
4626 cat >> confdefs.h
<<EOF
4627 #define SIZEOF_INT $ac_cv_sizeof_int
4631 echo $ac_n "checking size of long""... $ac_c" 1>&6
4632 echo "configure:4633: checking size of long" >&5
4633 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
4634 echo $ac_n "(cached) $ac_c" 1>&6
4636 if test "$cross_compiling" = yes; then
4639 cat > conftest.
$ac_ext <<EOF
4640 #line 4641 "configure"
4641 #include "confdefs.h"
4645 FILE *f=fopen("conftestval", "w");
4647 fprintf(f, "%d\n", sizeof(long));
4651 if { (eval echo configure
:4652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4653 ac_cv_sizeof_long
=`cat conftestval`
4655 echo "configure: failed program was:" >&5
4656 cat conftest.
$ac_ext >&5
4664 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
4665 cat >> confdefs.h
<<EOF
4666 #define SIZEOF_LONG $ac_cv_sizeof_long
4670 echo $ac_n "checking size of long long""... $ac_c" 1>&6
4671 echo "configure:4672: checking size of long long" >&5
4672 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
4673 echo $ac_n "(cached) $ac_c" 1>&6
4675 if test "$cross_compiling" = yes; then
4676 ac_cv_sizeof_long_long
=0
4678 cat > conftest.
$ac_ext <<EOF
4679 #line 4680 "configure"
4680 #include "confdefs.h"
4684 FILE *f=fopen("conftestval", "w");
4686 fprintf(f, "%d\n", sizeof(long long));
4690 if { (eval echo configure
:4691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4692 ac_cv_sizeof_long_long
=`cat conftestval`
4694 echo "configure: failed program was:" >&5
4695 cat conftest.
$ac_ext >&5
4697 ac_cv_sizeof_long_long
=0
4703 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
4704 cat >> confdefs.h
<<EOF
4705 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
4713 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4714 ac_cpp
='$CXXCPP $CPPFLAGS'
4715 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4716 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4717 cross_compiling
=$ac_cv_prog_cxx_cross
4720 for ac_hdr
in iostream
4722 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4723 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4724 echo "configure:4725: checking for $ac_hdr" >&5
4725 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4726 echo $ac_n "(cached) $ac_c" 1>&6
4728 cat > conftest.
$ac_ext <<EOF
4729 #line 4730 "configure"
4730 #include "confdefs.h"
4733 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4734 { (eval echo configure
:4735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4735 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4736 if test -z "$ac_err"; then
4738 eval "ac_cv_header_$ac_safe=yes"
4741 echo "configure: failed program was:" >&5
4742 cat conftest.
$ac_ext >&5
4744 eval "ac_cv_header_$ac_safe=no"
4748 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4749 echo "$ac_t""yes" 1>&6
4750 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4751 cat >> confdefs.h
<<EOF
4752 #define $ac_tr_hdr 1
4756 echo "$ac_t""no" 1>&6
4760 if test "x$HAVE_IOSTREAM" = "x" ; then
4761 cat >> confdefs.h
<<\EOF
4762 #define wxUSE_IOSTREAMH 1
4767 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
4768 echo "configure:4769: checking if C++ compiler supports bool" >&5
4769 if test "$cross_compiling" = yes; then
4770 echo "$ac_t""no assumed for cross-compilation" 1>&6
4772 cat > conftest.
$ac_ext <<EOF
4773 #line 4774 "configure"
4774 #include "confdefs.h"
4776 extern "C" void exit(int);
4788 if { (eval echo configure
:4789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4790 cat >> confdefs.h
<<\EOF
4793 echo "$ac_t""yes" 1>&6
4795 echo "configure: failed program was:" >&5
4796 cat conftest.
$ac_ext >&5
4798 echo "$ac_t""no" 1>&6
4804 echo $ac_n "checking if size_t and int are different types""... $ac_c" 1>&6
4805 echo "configure:4806: checking if size_t and int are different types" >&5
4806 if test "$cross_compiling" = yes; then
4807 echo "$ac_t""no assumed for cross-compilation" 1>&6
4809 cat > conftest.
$ac_ext <<EOF
4810 #line 4811 "configure"
4811 #include "confdefs.h"
4813 extern "C" void exit(int);
4818 void wxFoo(int i) { }
4819 void wxFoo(size_t n) { }
4836 if { (eval echo configure
:4837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4838 cat >> confdefs.h
<<\EOF
4839 #define wxUSE_SIZE_T_STRING_OPERATOR 1
4841 echo "$ac_t""yes" 1>&6
4843 echo "configure: failed program was:" >&5
4844 cat conftest.
$ac_ext >&5
4846 echo "$ac_t""no" 1>&6
4853 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4854 ac_cpp
='$CPP $CPPFLAGS'
4855 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4856 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4857 cross_compiling
=$ac_cv_prog_cc_cross
4863 echo $ac_n "checking for long file names""... $ac_c" 1>&6
4864 echo "configure:4865: checking for long file names" >&5
4865 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
4866 echo $ac_n "(cached) $ac_c" 1>&6
4868 ac_cv_sys_long_file_names
=yes
4869 # Test for long file names in all the places we know might matter:
4870 # . the current directory, where building will happen
4871 # $prefix/lib where we will be installing things
4872 # $exec_prefix/lib likewise
4873 # eval it to expand exec_prefix.
4874 # $TMPDIR if set, where it might want to write temporary files
4875 # if $TMPDIR is not set:
4876 # /tmp where it might want to write temporary files
4879 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
4880 ac_tmpdirs
="$TMPDIR"
4882 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
4884 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
4885 test -d $ac_dir || continue
4886 test -w $ac_dir || continue # It is less confusing to not echo anything here.
4887 (echo 1 > $ac_dir/conftest9012345
) 2>/dev
/null
4888 (echo 2 > $ac_dir/conftest9012346
) 2>/dev
/null
4889 val
=`cat $ac_dir/conftest9012345 2>/dev/null`
4890 if test ! -f $ac_dir/conftest9012345
|| test "$val" != 1; then
4891 ac_cv_sys_long_file_names
=no
4892 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4895 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4899 echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6
4900 if test $ac_cv_sys_long_file_names = yes; then
4901 cat >> confdefs.h
<<\EOF
4902 #define HAVE_LONG_FILE_NAMES 1
4910 for ac_prog
in 'bison -y' byacc
4912 # Extract the first word of "$ac_prog", so it can be a program name with args.
4913 set dummy
$ac_prog; ac_word
=$2
4914 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4915 echo "configure:4916: checking for $ac_word" >&5
4916 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
4917 echo $ac_n "(cached) $ac_c" 1>&6
4919 if test -n "$YACC"; then
4920 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4922 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4924 for ac_dir
in $ac_dummy; do
4925 test -z "$ac_dir" && ac_dir
=.
4926 if test -f $ac_dir/$ac_word; then
4927 ac_cv_prog_YACC
="$ac_prog"
4934 YACC
="$ac_cv_prog_YACC"
4935 if test -n "$YACC"; then
4936 echo "$ac_t""$YACC" 1>&6
4938 echo "$ac_t""no" 1>&6
4941 test -n "$YACC" && break
4943 test -n "$YACC" || YACC
="yacc"
4946 # Extract the first word of "flex", so it can be a program name with args.
4947 set dummy flex
; ac_word
=$2
4948 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4949 echo "configure:4950: checking for $ac_word" >&5
4950 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
4951 echo $ac_n "(cached) $ac_c" 1>&6
4953 if test -n "$LEX"; then
4954 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4956 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4958 for ac_dir
in $ac_dummy; do
4959 test -z "$ac_dir" && ac_dir
=.
4960 if test -f $ac_dir/$ac_word; then
4961 ac_cv_prog_LEX
="flex"
4966 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
4969 LEX
="$ac_cv_prog_LEX"
4970 if test -n "$LEX"; then
4971 echo "$ac_t""$LEX" 1>&6
4973 echo "$ac_t""no" 1>&6
4976 if test -z "$LEXLIB"
4982 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
4983 echo "configure:4984: checking for yywrap in -l$ac_lib" >&5
4984 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
4985 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4986 echo $ac_n "(cached) $ac_c" 1>&6
4988 ac_save_LIBS
="$LIBS"
4989 LIBS
="-l$ac_lib $LIBS"
4990 cat > conftest.
$ac_ext <<EOF
4991 #line 4992 "configure"
4992 #include "confdefs.h"
4993 /* Override any gcc2 internal prototype to avoid an error. */
4994 /* We use char because int might match the return type of a gcc2
4995 builtin and then its argument prototype would still apply. */
5002 if { (eval echo configure
:5003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5004 eval "ac_cv_lib_$ac_lib_var=yes"
5006 echo "configure: failed program was:" >&5
5007 cat conftest.
$ac_ext >&5
5009 eval "ac_cv_lib_$ac_lib_var=no"
5012 LIBS
="$ac_save_LIBS"
5015 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5016 echo "$ac_t""yes" 1>&6
5019 echo "$ac_t""no" 1>&6
5024 echo $ac_n "checking lex output file root""... $ac_c" 1>&6
5025 echo "configure:5026: checking lex output file root" >&5
5026 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
5027 echo $ac_n "(cached) $ac_c" 1>&6
5029 # The minimal lex program is just a single line: %%. But some broken lexes
5030 # (Solaris, I think it was) want two %% lines, so accommodate them.
5033 if test -f lex.yy.c
; then
5034 ac_cv_prog_lex_root
=lex.yy
5035 elif test -f lexyy.c
; then
5036 ac_cv_prog_lex_root
=lexyy
5038 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
5042 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
5043 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
5045 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
5046 echo "configure:5047: checking whether yytext is a pointer" >&5
5047 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
5048 echo $ac_n "(cached) $ac_c" 1>&6
5050 # POSIX says lex can declare yytext either as a pointer or an array; the
5051 # default is implementation-dependent. Figure out which it is, since
5052 # not all implementations provide the %pointer and %array declarations.
5053 ac_cv_prog_lex_yytext_pointer
=no
5054 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5055 ac_save_LIBS
="$LIBS"
5056 LIBS
="$LIBS $LEXLIB"
5057 cat > conftest.
$ac_ext <<EOF
5058 #line 5059 "configure"
5059 #include "confdefs.h"
5060 `cat $LEX_OUTPUT_ROOT.c`
5065 if { (eval echo configure
:5066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5067 ac_cv_prog_lex_yytext_pointer
=yes
5069 echo "configure: failed program was:" >&5
5070 cat conftest.
$ac_ext >&5
5073 LIBS
="$ac_save_LIBS"
5074 rm -f "${LEX_OUTPUT_ROOT}.c"
5078 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
5079 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5080 cat >> confdefs.h
<<\EOF
5081 #define YYTEXT_POINTER 1
5089 for ac_func
in dlopen
5091 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5092 echo "configure:5093: checking for $ac_func" >&5
5093 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5094 echo $ac_n "(cached) $ac_c" 1>&6
5096 cat > conftest.
$ac_ext <<EOF
5097 #line 5098 "configure"
5098 #include "confdefs.h"
5099 /* System header to define __stub macros and hopefully few prototypes,
5100 which can conflict with char $ac_func(); below. */
5102 /* Override any gcc2 internal prototype to avoid an error. */
5103 /* We use char because int might match the return type of a gcc2
5104 builtin and then its argument prototype would still apply. */
5110 /* The GNU C library defines this for functions which it implements
5111 to always fail with ENOSYS. Some functions are actually named
5112 something starting with __ and the normal name is an alias. */
5113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5121 if { (eval echo configure
:5122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5123 eval "ac_cv_func_$ac_func=yes"
5125 echo "configure: failed program was:" >&5
5126 cat conftest.
$ac_ext >&5
5128 eval "ac_cv_func_$ac_func=no"
5133 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5134 echo "$ac_t""yes" 1>&6
5135 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5136 cat >> confdefs.h
<<EOF
5137 #define $ac_tr_func 1
5139 cat >> confdefs.h
<<\EOF
5140 #define HAVE_LIBDL 1
5144 echo "$ac_t""no" 1>&6
5145 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
5146 echo "configure:5147: checking for dlopen in -ldl" >&5
5147 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
5148 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5149 echo $ac_n "(cached) $ac_c" 1>&6
5151 ac_save_LIBS
="$LIBS"
5153 cat > conftest.
$ac_ext <<EOF
5154 #line 5155 "configure"
5155 #include "confdefs.h"
5156 /* Override any gcc2 internal prototype to avoid an error. */
5157 /* We use char because int might match the return type of a gcc2
5158 builtin and then its argument prototype would still apply. */
5165 if { (eval echo configure
:5166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5167 eval "ac_cv_lib_$ac_lib_var=yes"
5169 echo "configure: failed program was:" >&5
5170 cat conftest.
$ac_ext >&5
5172 eval "ac_cv_lib_$ac_lib_var=no"
5175 LIBS
="$ac_save_LIBS"
5178 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5179 echo "$ac_t""yes" 1>&6
5180 cat >> confdefs.h
<<\EOF
5181 #define HAVE_LIBDL 1
5185 echo "$ac_t""no" 1>&6
5186 echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6
5187 echo "configure:5188: checking for dld_link in -ldld" >&5
5188 ac_lib_var
=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`
5189 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5190 echo $ac_n "(cached) $ac_c" 1>&6
5192 ac_save_LIBS
="$LIBS"
5194 cat > conftest.
$ac_ext <<EOF
5195 #line 5196 "configure"
5196 #include "confdefs.h"
5197 /* Override any gcc2 internal prototype to avoid an error. */
5198 /* We use char because int might match the return type of a gcc2
5199 builtin and then its argument prototype would still apply. */
5206 if { (eval echo configure
:5207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5208 eval "ac_cv_lib_$ac_lib_var=yes"
5210 echo "configure: failed program was:" >&5
5211 cat conftest.
$ac_ext >&5
5213 eval "ac_cv_lib_$ac_lib_var=no"
5216 LIBS
="$ac_save_LIBS"
5219 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5220 echo "$ac_t""yes" 1>&6
5221 cat >> confdefs.h
<<\EOF
5226 echo "$ac_t""no" 1>&6
5227 for ac_func
in shl_load
5229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5230 echo "configure:5231: checking for $ac_func" >&5
5231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5232 echo $ac_n "(cached) $ac_c" 1>&6
5234 cat > conftest.
$ac_ext <<EOF
5235 #line 5236 "configure"
5236 #include "confdefs.h"
5237 /* System header to define __stub macros and hopefully few prototypes,
5238 which can conflict with char $ac_func(); below. */
5240 /* Override any gcc2 internal prototype to avoid an error. */
5241 /* We use char because int might match the return type of a gcc2
5242 builtin and then its argument prototype would still apply. */
5248 /* The GNU C library defines this for functions which it implements
5249 to always fail with ENOSYS. Some functions are actually named
5250 something starting with __ and the normal name is an alias. */
5251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5259 if { (eval echo configure
:5260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5261 eval "ac_cv_func_$ac_func=yes"
5263 echo "configure: failed program was:" >&5
5264 cat conftest.
$ac_ext >&5
5266 eval "ac_cv_func_$ac_func=no"
5271 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5272 echo "$ac_t""yes" 1>&6
5273 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5274 cat >> confdefs.h
<<EOF
5275 #define $ac_tr_func 1
5277 cat >> confdefs.h
<<\EOF
5278 #define HAVE_SHL_LOAD 1
5282 echo "$ac_t""no" 1>&6
5298 echo $ac_n "checking for underscore before symbols""... $ac_c" 1>&6
5299 echo "configure:5300: checking for underscore before symbols" >&5
5300 if eval "test \"`echo '$''{'libltdl_cv_uscore'+set}'`\" = set"; then
5301 echo $ac_n "(cached) $ac_c" 1>&6
5304 echo "main(){int i=1;} fnord(){int i=23; int ltuae=42;}" > conftest.c
5305 ${CC} -c conftest.c
> /dev
/null
5306 if (nm conftest.o
| grep _fnord
) > /dev
/null
; then
5307 libltdl_cv_uscore
=yes
5309 libltdl_cv_uscore
=no
5315 echo "$ac_t""$libltdl_cv_uscore" 1>&6
5317 if test x
"$libltdl_cv_uscore" = xyes
; then
5318 if test x
"$ac_cv_func_dlopen" = xyes
||
5319 test x
"$ac_cv_lib_dl_dlopen" = xyes
; then
5320 echo $ac_n "checking whether we have to add an underscore for dlsym""... $ac_c" 1>&6
5321 echo "configure:5322: checking whether we have to add an underscore for dlsym" >&5
5322 if eval "test \"`echo '$''{'libltdl_cv_need_uscore'+set}'`\" = set"; then
5323 echo $ac_n "(cached) $ac_c" 1>&6
5325 if test "$cross_compiling" = yes; then
5326 libltdl_cv_need_uscore
=no
5329 cat > conftest.
$ac_ext <<EOF
5330 #line 5331 "configure"
5331 #include "confdefs.h"
5335 fnord() { int i=42;}
5336 main() { void *self, *ptr1, *ptr2; self=dlopen(NULL,RTLD_LAZY);
5337 if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
5338 if(ptr1 && !ptr2) exit(0); } exit(1); }
5341 if { (eval echo configure
:5342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
5343 libltdl_cv_need_uscore
=no
5345 echo "configure: failed program was:" >&5
5346 cat conftest.
$ac_ext >&5
5348 libltdl_cv_need_uscore
=yes
5355 echo "$ac_t""$libltdl_cv_need_uscore" 1>&6
5359 if test x
"$libltdl_cv_need_uscore" = xyes
; then
5360 cat >> confdefs.h
<<\EOF
5361 #define NEED_USCORE 1
5367 for ac_func
in strerror
5369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5370 echo "configure:5371: checking for $ac_func" >&5
5371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5372 echo $ac_n "(cached) $ac_c" 1>&6
5374 cat > conftest.
$ac_ext <<EOF
5375 #line 5376 "configure"
5376 #include "confdefs.h"
5377 /* System header to define __stub macros and hopefully few prototypes,
5378 which can conflict with char $ac_func(); below. */
5380 /* Override any gcc2 internal prototype to avoid an error. */
5381 /* We use char because int might match the return type of a gcc2
5382 builtin and then its argument prototype would still apply. */
5388 /* The GNU C library defines this for functions which it implements
5389 to always fail with ENOSYS. Some functions are actually named
5390 something starting with __ and the normal name is an alias. */
5391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5399 if { (eval echo configure
:5400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5401 eval "ac_cv_func_$ac_func=yes"
5403 echo "configure: failed program was:" >&5
5404 cat conftest.
$ac_ext >&5
5406 eval "ac_cv_func_$ac_func=no"
5411 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5412 echo "$ac_t""yes" 1>&6
5413 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5414 cat >> confdefs.h
<<EOF
5415 #define $ac_tr_func 1
5419 echo "$ac_t""no" 1>&6
5425 CHECK_INCLUDE
="-I/usr/include $X_CFLAGS"
5426 CHECK_LIB
="-L/lib -L/usr/lib $X_LIBS"
5430 # Make sure we can run config.sub.
5431 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
5432 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
5435 echo $ac_n "checking host system type""... $ac_c" 1>&6
5436 echo "configure:5437: checking host system type" >&5
5439 case "$host_alias" in
5443 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
5444 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
5446 *) host_alias
=$nonopt ;;
5450 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
5451 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5452 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5453 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5454 echo "$ac_t""$host" 1>&6
5457 configuration
=$host_alias
5479 cat >> confdefs.h
<<\EOF
5483 case "${canonical}" in
5486 cat >> confdefs.h
<<\EOF
5493 cat >> confdefs.h
<<\EOF
5498 if test "x$TMP" = "xalpha"
5501 cat >> confdefs.h
<<\EOF
5507 *-*-irix5* | *-*-irix6* )
5510 cat >> confdefs.h
<<\EOF
5514 cat >> confdefs.h
<<\EOF
5523 cat >> confdefs.h
<<\EOF
5527 cat >> confdefs.h
<<\EOF
5528 #define __SOLARIS__ 1
5531 cat >> confdefs.h
<<\EOF
5540 cat >> confdefs.h
<<\EOF
5544 cat >> confdefs.h
<<\EOF
5548 cat >> confdefs.h
<<\EOF
5553 *-*-freebsd* | *-*-netbsd*)
5556 cat >> confdefs.h
<<\EOF
5557 #define __FREEBSD__ 1
5560 cat >> confdefs.h
<<\EOF
5568 cat >> confdefs.h
<<\EOF
5572 cat >> confdefs.h
<<\EOF
5580 cat >> confdefs.h
<<\EOF
5584 cat >> confdefs.h
<<\EOF
5592 cat >> confdefs.h
<<\EOF
5596 cat >> confdefs.h
<<\EOF
5605 cat >> confdefs.h
<<\EOF
5609 cat >> confdefs.h
<<\EOF
5613 cat >> confdefs.h
<<\EOF
5619 { echo "configure: error: I don't know your system type." 1>&2; exit 1; }
5624 rm -f ${OSTYPE}.system.cache.tmp
5625 touch ${OSTYPE}.system.cache.tmp
5626 touch ${OSTYPE}.system.cache
5631 DEFAULT_wxUSE_MOTIF
=0
5633 DEFAULT_wxUSE_THREADS
=0
5635 DEFAULT_wxUSE_SHARED
=1
5636 DEFAULT_wxUSE_OPTIMISE
=1
5637 DEFAULT_wxUSE_PROFILE
=0
5638 DEFAULT_wxUSE_DEBUG_FLAG
=0
5639 DEFAULT_wxUSE_DEBUG_INFO
=0
5640 DEFAULT_wxUSE_MEM_TRACING
=0
5641 DEFAULT_wxUSE_DMALLOC
=0
5642 DEFAULT_wxUSE_APPLE_IEEE
=1
5643 DEFAULT_wxUSE_IOSTREAMH
=1
5645 DEFAULT_wxUSE_ZLIB
=1
5646 DEFAULT_wxUSE_LIBPNG
=1
5647 DEFAULT_wxUSE_LIBJPEG
=1
5648 DEFAULT_wxUSE_ODBC
=1
5650 DEFAULT_wxUSE_TIMEDATE
=1
5651 DEFAULT_wxUSE_INTL
=1
5652 DEFAULT_wxUSE_CONFIG
=1
5653 DEFAULT_wxUSE_STREAMS
=1
5654 DEFAULT_wxUSE_SOCKETS
=1
5655 DEFAULT_wxUSE_SERIAL
=1
5656 DEFAULT_wxUSE_DYNLIB_CLASS
=1
5658 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=1
5659 DEFAULT_WX_NORMALIZED_PS_FONTS
=1
5660 DEFAULT_wxUSE_POSTSCRIPT
=1
5663 DEFAULT_wxUSE_RESOURCES
=1
5664 DEFAULT_wxUSE_CLIPBOARD
=1
5665 DEFAULT_wxUSE_TOOLTIPS
=1
5666 DEFAULT_wxUSE_DRAG_AND_DROP
=1
5668 DEFAULT_wxUSE_MDI_ARCHITECTURE
=1
5669 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=1
5670 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=1
5672 DEFAULT_wxUSE_PROLOGIO
=1
5673 DEFAULT_wxUSE_WX_RESOURCES
=1
5675 DEFAULT_wxUSE_HELP
=1
5677 DEFAULT_wxUSE_UNICODE
=0
5678 DEFAULT_wxUSE_WCSRTOMBS
=0
5682 echo $ac_n "checking "for gtk
"""... $ac_c" 1>&6
5683 echo "configure:5684: checking "for gtk
"" >&5
5684 # Check whether --with-gtk or --without-gtk was given.
5685 if test "${with_gtk+set}" = set; then
5687 if test "x$with_gtk" = xyes
; then
5688 ac_cv_use_gtk
='wxUSE_GTK="1"'
5690 ac_cv_use_gtk
='wxUSE_GTK="0"'
5694 LINE
=`grep "wxUSE_GTK" ${OSTYPE}.system.cache`
5695 if test "x$LINE" != x
; then
5696 eval "DEFAULT_$LINE"
5698 ac_cv_use_gtk
='wxUSE_GTK='$DEFAULT_wxUSE_GTK
5702 eval "$ac_cv_use_gtk"
5703 echo $ac_cv_use_gtk >> ${OSTYPE}.system.cache.tmp
5704 if test "$wxUSE_GTK" = 1; then
5705 echo "$ac_t""yes" 1>&6
5707 echo "$ac_t""no" 1>&6
5712 echo $ac_n "checking "for qt
"""... $ac_c" 1>&6
5713 echo "configure:5714: checking "for qt
"" >&5
5714 # Check whether --with-qt or --without-qt was given.
5715 if test "${with_qt+set}" = set; then
5717 if test "x$with_qt" = xyes
; then
5718 ac_cv_use_qt
='wxUSE_QT="1"'
5720 ac_cv_use_qt
='wxUSE_QT="0"'
5724 LINE
=`grep "wxUSE_QT" ${OSTYPE}.system.cache`
5725 if test "x$LINE" != x
; then
5726 eval "DEFAULT_$LINE"
5728 ac_cv_use_qt
='wxUSE_QT='$DEFAULT_wxUSE_QT
5732 eval "$ac_cv_use_qt"
5733 echo $ac_cv_use_qt >> ${OSTYPE}.system.cache.tmp
5734 if test "$wxUSE_QT" = 1; then
5735 echo "$ac_t""yes" 1>&6
5737 echo "$ac_t""no" 1>&6
5742 echo $ac_n "checking "for motif
"""... $ac_c" 1>&6
5743 echo "configure:5744: checking "for motif
"" >&5
5744 # Check whether --with-motif or --without-motif was given.
5745 if test "${with_motif+set}" = set; then
5746 withval
="$with_motif"
5747 if test "x$with_motif" = xyes
; then
5748 ac_cv_use_motif
='wxUSE_MOTIF="1"'
5750 ac_cv_use_motif
='wxUSE_MOTIF="0"'
5754 LINE
=`grep "wxUSE_MOTIF" ${OSTYPE}.system.cache`
5755 if test "x$LINE" != x
; then
5756 eval "DEFAULT_$LINE"
5758 ac_cv_use_motif
='wxUSE_MOTIF='$DEFAULT_wxUSE_MOTIF
5762 eval "$ac_cv_use_motif"
5763 echo $ac_cv_use_motif >> ${OSTYPE}.system.cache.tmp
5764 if test "$wxUSE_MOTIF" = 1; then
5765 echo "$ac_t""yes" 1>&6
5767 echo "$ac_t""no" 1>&6
5773 echo $ac_n "checking "for shared
"""... $ac_c" 1>&6
5774 echo "configure:5775: checking "for shared
"" >&5
5775 # Check whether --with-shared or --without-shared was given.
5776 if test "${with_shared+set}" = set; then
5777 withval
="$with_shared"
5778 if test "x$with_shared" = xyes
; then
5779 ac_cv_use_shared
='wxUSE_SHARED="1"'
5781 ac_cv_use_shared
='wxUSE_SHARED="0"'
5785 LINE
=`grep "wxUSE_SHARED" ${OSTYPE}.system.cache`
5786 if test "x$LINE" != x
; then
5787 eval "DEFAULT_$LINE"
5789 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
5793 eval "$ac_cv_use_shared"
5794 echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp
5795 if test "$wxUSE_SHARED" = 1; then
5796 echo "$ac_t""yes" 1>&6
5798 echo "$ac_t""no" 1>&6
5803 echo $ac_n "checking "for optimise
"""... $ac_c" 1>&6
5804 echo "configure:5805: checking "for optimise
"" >&5
5805 # Check whether --with-optimise or --without-optimise was given.
5806 if test "${with_optimise+set}" = set; then
5807 withval
="$with_optimise"
5808 if test "x$with_optimise" = xyes
; then
5809 ac_cv_use_optimise
='wxUSE_OPTIMISE="1"'
5811 ac_cv_use_optimise
='wxUSE_OPTIMISE="0"'
5815 LINE
=`grep "wxUSE_OPTIMISE" ${OSTYPE}.system.cache`
5816 if test "x$LINE" != x
; then
5817 eval "DEFAULT_$LINE"
5819 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
5823 eval "$ac_cv_use_optimise"
5824 echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp
5825 if test "$wxUSE_OPTIMISE" = 1; then
5826 echo "$ac_t""yes" 1>&6
5828 echo "$ac_t""no" 1>&6
5833 echo $ac_n "checking "for debug_flag
"""... $ac_c" 1>&6
5834 echo "configure:5835: checking "for debug_flag
"" >&5
5835 # Check whether --with-debug_flag or --without-debug_flag was given.
5836 if test "${with_debug_flag+set}" = set; then
5837 withval
="$with_debug_flag"
5838 if test "x$with_debug_flag" = xyes
; then
5839 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="1"'
5841 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="0"'
5845 LINE
=`grep "wxUSE_DEBUG_FLAG" ${OSTYPE}.system.cache`
5846 if test "x$LINE" != x
; then
5847 eval "DEFAULT_$LINE"
5849 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
5853 eval "$ac_cv_use_debug_flag"
5854 echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp
5855 if test "$wxUSE_DEBUG_FLAG" = 1; then
5856 echo "$ac_t""yes" 1>&6
5858 echo "$ac_t""no" 1>&6
5863 echo $ac_n "checking "for debug_info
"""... $ac_c" 1>&6
5864 echo "configure:5865: checking "for debug_info
"" >&5
5865 # Check whether --with-debug_info or --without-debug_info was given.
5866 if test "${with_debug_info+set}" = set; then
5867 withval
="$with_debug_info"
5868 if test "x$with_debug_info" = xyes
; then
5869 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="1"'
5871 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="0"'
5875 LINE
=`grep "wxUSE_DEBUG_INFO" ${OSTYPE}.system.cache`
5876 if test "x$LINE" != x
; then
5877 eval "DEFAULT_$LINE"
5879 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
5883 eval "$ac_cv_use_debug_info"
5884 echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp
5885 if test "$wxUSE_DEBUG_INFO" = 1; then
5886 echo "$ac_t""yes" 1>&6
5888 echo "$ac_t""no" 1>&6
5893 echo $ac_n "checking "for debug_gdb
"""... $ac_c" 1>&6
5894 echo "configure:5895: checking "for debug_gdb
"" >&5
5895 # Check whether --with-debug_gdb or --without-debug_gdb was given.
5896 if test "${with_debug_gdb+set}" = set; then
5897 withval
="$with_debug_gdb"
5898 if test "x$with_debug_gdb" = xyes
; then
5899 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB="1"'
5901 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB="0"'
5905 LINE
=`grep "wxUSE_DEBUG_GDB" ${OSTYPE}.system.cache`
5906 if test "x$LINE" != x
; then
5907 eval "DEFAULT_$LINE"
5909 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
5913 eval "$ac_cv_use_debug_gdb"
5914 echo $ac_cv_use_debug_gdb >> ${OSTYPE}.system.cache.tmp
5915 if test "$wxUSE_DEBUG_GDB" = 1; then
5916 echo "$ac_t""yes" 1>&6
5918 echo "$ac_t""no" 1>&6
5923 echo $ac_n "checking "for mem_tracing
"""... $ac_c" 1>&6
5924 echo "configure:5925: checking "for mem_tracing
"" >&5
5925 # Check whether --with-mem_tracing or --without-mem_tracing was given.
5926 if test "${with_mem_tracing+set}" = set; then
5927 withval
="$with_mem_tracing"
5928 if test "x$with_mem_tracing" = xyes
; then
5929 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="1"'
5931 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="0"'
5935 LINE
=`grep "wxUSE_MEM_TRACING" ${OSTYPE}.system.cache`
5936 if test "x$LINE" != x
; then
5937 eval "DEFAULT_$LINE"
5939 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
5943 eval "$ac_cv_use_mem_tracing"
5944 echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
5945 if test "$wxUSE_MEM_TRACING" = 1; then
5946 echo "$ac_t""yes" 1>&6
5948 echo "$ac_t""no" 1>&6
5953 echo $ac_n "checking "for dmalloc
"""... $ac_c" 1>&6
5954 echo "configure:5955: checking "for dmalloc
"" >&5
5955 # Check whether --with-dmalloc or --without-dmalloc was given.
5956 if test "${with_dmalloc+set}" = set; then
5957 withval
="$with_dmalloc"
5958 if test "x$with_dmalloc" = xyes
; then
5959 ac_cv_use_dmalloc
='wxUSE_DMALLOC="1"'
5961 ac_cv_use_dmalloc
='wxUSE_DMALLOC="0"'
5965 LINE
=`grep "wxUSE_DMALLOC" ${OSTYPE}.system.cache`
5966 if test "x$LINE" != x
; then
5967 eval "DEFAULT_$LINE"
5969 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
5973 eval "$ac_cv_use_dmalloc"
5974 echo $ac_cv_use_dmalloc >> ${OSTYPE}.system.cache.tmp
5975 if test "$wxUSE_DMALLOC" = 1; then
5976 echo "$ac_t""yes" 1>&6
5978 echo "$ac_t""no" 1>&6
5983 echo $ac_n "checking "for profile
"""... $ac_c" 1>&6
5984 echo "configure:5985: checking "for profile
"" >&5
5985 # Check whether --with-profile or --without-profile was given.
5986 if test "${with_profile+set}" = set; then
5987 withval
="$with_profile"
5988 if test "x$with_profile" = xyes
; then
5989 ac_cv_use_profile
='wxUSE_PROFILE="1"'
5991 ac_cv_use_profile
='wxUSE_PROFILE="0"'
5995 LINE
=`grep "wxUSE_PROFILE" ${OSTYPE}.system.cache`
5996 if test "x$LINE" != x
; then
5997 eval "DEFAULT_$LINE"
5999 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
6003 eval "$ac_cv_use_profile"
6004 echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
6005 if test "$wxUSE_PROFILE" = 1; then
6006 echo "$ac_t""yes" 1>&6
6008 echo "$ac_t""no" 1>&6
6013 echo $ac_n "checking "for apple_ieee
"""... $ac_c" 1>&6
6014 echo "configure:6015: checking "for apple_ieee
"" >&5
6015 # Check whether --with-apple_ieee or --without-apple_ieee was given.
6016 if test "${with_apple_ieee+set}" = set; then
6017 withval
="$with_apple_ieee"
6018 if test "x$with_apple_ieee" = xyes
; then
6019 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="1"'
6021 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="0"'
6025 LINE
=`grep "wxUSE_APPLE_IEEE" ${OSTYPE}.system.cache`
6026 if test "x$LINE" != x
; then
6027 eval "DEFAULT_$LINE"
6029 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
6033 eval "$ac_cv_use_apple_ieee"
6034 echo $ac_cv_use_apple_ieee >> ${OSTYPE}.system.cache.tmp
6035 if test "$wxUSE_APPLE_IEEE" = 1; then
6036 echo "$ac_t""yes" 1>&6
6038 echo "$ac_t""no" 1>&6
6043 echo $ac_n "checking "for threads
"""... $ac_c" 1>&6
6044 echo "configure:6045: checking "for threads
"" >&5
6045 # Check whether --with-threads or --without-threads was given.
6046 if test "${with_threads+set}" = set; then
6047 withval
="$with_threads"
6048 if test "x$with_threads" = xyes
; then
6049 ac_cv_use_threads
='wxUSE_THREADS="1"'
6051 ac_cv_use_threads
='wxUSE_THREADS="0"'
6055 LINE
=`grep "wxUSE_THREADS" ${OSTYPE}.system.cache`
6056 if test "x$LINE" != x
; then
6057 eval "DEFAULT_$LINE"
6059 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6063 eval "$ac_cv_use_threads"
6064 echo $ac_cv_use_threads >> ${OSTYPE}.system.cache.tmp
6065 if test "$wxUSE_THREADS" = 1; then
6066 echo "$ac_t""yes" 1>&6
6068 echo "$ac_t""no" 1>&6
6073 echo $ac_n "checking "for dynlib
"""... $ac_c" 1>&6
6074 echo "configure:6075: checking "for dynlib
"" >&5
6075 # Check whether --with-dynlib or --without-dynlib was given.
6076 if test "${with_dynlib+set}" = set; then
6077 withval
="$with_dynlib"
6078 if test "x$with_dynlib" = xyes
; then
6079 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS="1"'
6081 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS="0"'
6085 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${OSTYPE}.system.cache`
6086 if test "x$LINE" != x
; then
6087 eval "DEFAULT_$LINE"
6089 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6093 eval "$ac_cv_use_dynlib"
6094 echo $ac_cv_use_dynlib >> ${OSTYPE}.system.cache.tmp
6095 if test "$wxUSE_DYNLIB_CLASS" = 1; then
6096 echo "$ac_t""yes" 1>&6
6098 echo "$ac_t""no" 1>&6
6104 echo $ac_n "checking "for zlib
"""... $ac_c" 1>&6
6105 echo "configure:6106: checking "for zlib
"" >&5
6106 # Check whether --with-zlib or --without-zlib was given.
6107 if test "${with_zlib+set}" = set; then
6108 withval
="$with_zlib"
6109 if test "x$with_zlib" = xyes
; then
6110 ac_cv_use_zlib
='wxUSE_ZLIB="1"'
6112 ac_cv_use_zlib
='wxUSE_ZLIB="0"'
6116 LINE
=`grep "wxUSE_ZLIB" ${OSTYPE}.system.cache`
6117 if test "x$LINE" != x
; then
6118 eval "DEFAULT_$LINE"
6120 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
6124 eval "$ac_cv_use_zlib"
6125 echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
6126 if test "$wxUSE_ZLIB" = 1; then
6127 echo "$ac_t""yes" 1>&6
6129 echo "$ac_t""no" 1>&6
6134 echo $ac_n "checking "for libpng
"""... $ac_c" 1>&6
6135 echo "configure:6136: checking "for libpng
"" >&5
6136 # Check whether --with-libpng or --without-libpng was given.
6137 if test "${with_libpng+set}" = set; then
6138 withval
="$with_libpng"
6139 if test "x$with_libpng" = xyes
; then
6140 ac_cv_use_libpng
='wxUSE_LIBPNG="1"'
6142 ac_cv_use_libpng
='wxUSE_LIBPNG="0"'
6146 LINE
=`grep "wxUSE_LIBPNG" ${OSTYPE}.system.cache`
6147 if test "x$LINE" != x
; then
6148 eval "DEFAULT_$LINE"
6150 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
6154 eval "$ac_cv_use_libpng"
6155 echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
6156 if test "$wxUSE_LIBPNG" = 1; then
6157 echo "$ac_t""yes" 1>&6
6159 echo "$ac_t""no" 1>&6
6164 echo $ac_n "checking "for libjpeg
"""... $ac_c" 1>&6
6165 echo "configure:6166: checking "for libjpeg
"" >&5
6166 # Check whether --with-libjpeg or --without-libjpeg was given.
6167 if test "${with_libjpeg+set}" = set; then
6168 withval
="$with_libjpeg"
6169 if test "x$with_libjpeg" = xyes
; then
6170 ac_cv_use_libjpeg
='wxUSE_LIBJPEG="1"'
6172 ac_cv_use_libjpeg
='wxUSE_LIBJPEG="0"'
6176 LINE
=`grep "wxUSE_LIBJPEG" ${OSTYPE}.system.cache`
6177 if test "x$LINE" != x
; then
6178 eval "DEFAULT_$LINE"
6180 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
6184 eval "$ac_cv_use_libjpeg"
6185 echo $ac_cv_use_libjpeg >> ${OSTYPE}.system.cache.tmp
6186 if test "$wxUSE_LIBJPEG" = 1; then
6187 echo "$ac_t""yes" 1>&6
6189 echo "$ac_t""no" 1>&6
6194 echo $ac_n "checking "for odbc
"""... $ac_c" 1>&6
6195 echo "configure:6196: checking "for odbc
"" >&5
6196 # Check whether --with-odbc or --without-odbc was given.
6197 if test "${with_odbc+set}" = set; then
6198 withval
="$with_odbc"
6199 if test "x$with_odbc" = xyes
; then
6200 ac_cv_use_odbc
='wxUSE_ODBC="1"'
6202 ac_cv_use_odbc
='wxUSE_ODBC="0"'
6206 LINE
=`grep "wxUSE_ODBC" ${OSTYPE}.system.cache`
6207 if test "x$LINE" != x
; then
6208 eval "DEFAULT_$LINE"
6210 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
6214 eval "$ac_cv_use_odbc"
6215 echo $ac_cv_use_odbc >> ${OSTYPE}.system.cache.tmp
6216 if test "$wxUSE_ODBC" = 1; then
6217 echo "$ac_t""yes" 1>&6
6219 echo "$ac_t""no" 1>&6
6225 echo $ac_n "checking "for timedate
"""... $ac_c" 1>&6
6226 echo "configure:6227: checking "for timedate
"" >&5
6227 # Check whether --with-timedate or --without-timedate was given.
6228 if test "${with_timedate+set}" = set; then
6229 withval
="$with_timedate"
6230 if test "x$with_timedate" = xyes
; then
6231 ac_cv_use_timedate
='wxUSE_TIMEDATE="1"'
6233 ac_cv_use_timedate
='wxUSE_TIMEDATE="0"'
6237 LINE
=`grep "wxUSE_TIMEDATE" ${OSTYPE}.system.cache`
6238 if test "x$LINE" != x
; then
6239 eval "DEFAULT_$LINE"
6241 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
6245 eval "$ac_cv_use_timedate"
6246 echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
6247 if test "$wxUSE_TIMEDATE" = 1; then
6248 echo "$ac_t""yes" 1>&6
6250 echo "$ac_t""no" 1>&6
6255 echo $ac_n "checking "for intl
"""... $ac_c" 1>&6
6256 echo "configure:6257: checking "for intl
"" >&5
6257 # Check whether --with-intl or --without-intl was given.
6258 if test "${with_intl+set}" = set; then
6259 withval
="$with_intl"
6260 if test "x$with_intl" = xyes
; then
6261 ac_cv_use_intl
='wxUSE_INTL="1"'
6263 ac_cv_use_intl
='wxUSE_INTL="0"'
6267 LINE
=`grep "wxUSE_INTL" ${OSTYPE}.system.cache`
6268 if test "x$LINE" != x
; then
6269 eval "DEFAULT_$LINE"
6271 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
6275 eval "$ac_cv_use_intl"
6276 echo $ac_cv_use_intl >> ${OSTYPE}.system.cache.tmp
6277 if test "$wxUSE_INTL" = 1; then
6278 echo "$ac_t""yes" 1>&6
6280 echo "$ac_t""no" 1>&6
6285 echo $ac_n "checking "for config
"""... $ac_c" 1>&6
6286 echo "configure:6287: checking "for config
"" >&5
6287 # Check whether --with-config or --without-config was given.
6288 if test "${with_config+set}" = set; then
6289 withval
="$with_config"
6290 if test "x$with_config" = xyes
; then
6291 ac_cv_use_config
='wxUSE_CONFIG="1"'
6293 ac_cv_use_config
='wxUSE_CONFIG="0"'
6297 LINE
=`grep "wxUSE_CONFIG" ${OSTYPE}.system.cache`
6298 if test "x$LINE" != x
; then
6299 eval "DEFAULT_$LINE"
6301 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
6305 eval "$ac_cv_use_config"
6306 echo $ac_cv_use_config >> ${OSTYPE}.system.cache.tmp
6307 if test "$wxUSE_CONFIG" = 1; then
6308 echo "$ac_t""yes" 1>&6
6310 echo "$ac_t""no" 1>&6
6315 echo $ac_n "checking "for streams
"""... $ac_c" 1>&6
6316 echo "configure:6317: checking "for streams
"" >&5
6317 # Check whether --with-streams or --without-streams was given.
6318 if test "${with_streams+set}" = set; then
6319 withval
="$with_streams"
6320 if test "x$with_streams" = xyes
; then
6321 ac_cv_use_streams
='wxUSE_STREAMS="1"'
6323 ac_cv_use_streams
='wxUSE_STREAMS="0"'
6327 LINE
=`grep "wxUSE_STREAMS" ${OSTYPE}.system.cache`
6328 if test "x$LINE" != x
; then
6329 eval "DEFAULT_$LINE"
6331 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6335 eval "$ac_cv_use_streams"
6336 echo $ac_cv_use_streams >> ${OSTYPE}.system.cache.tmp
6337 if test "$wxUSE_STREAMS" = 1; then
6338 echo "$ac_t""yes" 1>&6
6340 echo "$ac_t""no" 1>&6
6345 echo $ac_n "checking "for serial
"""... $ac_c" 1>&6
6346 echo "configure:6347: checking "for serial
"" >&5
6347 # Check whether --with-serial or --without-serial was given.
6348 if test "${with_serial+set}" = set; then
6349 withval
="$with_serial"
6350 if test "x$with_serial" = xyes
; then
6351 ac_cv_use_serial
='wxUSE_SERIAL="1"'
6353 ac_cv_use_serial
='wxUSE_SERIAL="0"'
6357 LINE
=`grep "wxUSE_SERIAL" ${OSTYPE}.system.cache`
6358 if test "x$LINE" != x
; then
6359 eval "DEFAULT_$LINE"
6361 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
6365 eval "$ac_cv_use_serial"
6366 echo $ac_cv_use_serial >> ${OSTYPE}.system.cache.tmp
6367 if test "$wxUSE_SERIAL" = 1; then
6368 echo "$ac_t""yes" 1>&6
6370 echo "$ac_t""no" 1>&6
6375 echo $ac_n "checking "for sockets
"""... $ac_c" 1>&6
6376 echo "configure:6377: checking "for sockets
"" >&5
6377 # Check whether --with-sockets or --without-sockets was given.
6378 if test "${with_sockets+set}" = set; then
6379 withval
="$with_sockets"
6380 if test "x$with_sockets" = xyes
; then
6381 ac_cv_use_sockets
='wxUSE_SOCKETS="1"'
6383 ac_cv_use_sockets
='wxUSE_SOCKETS="0"'
6387 LINE
=`grep "wxUSE_SOCKETS" ${OSTYPE}.system.cache`
6388 if test "x$LINE" != x
; then
6389 eval "DEFAULT_$LINE"
6391 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
6395 eval "$ac_cv_use_sockets"
6396 echo $ac_cv_use_sockets >> ${OSTYPE}.system.cache.tmp
6397 if test "$wxUSE_SOCKETS" = 1; then
6398 echo "$ac_t""yes" 1>&6
6400 echo "$ac_t""no" 1>&6
6406 echo $ac_n "checking "for afmfonts
"""... $ac_c" 1>&6
6407 echo "configure:6408: checking "for afmfonts
"" >&5
6408 # Check whether --with-afmfonts or --without-afmfonts was given.
6409 if test "${with_afmfonts+set}" = set; then
6410 withval
="$with_afmfonts"
6411 if test "x$with_afmfonts" = xyes
; then
6412 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="1"'
6414 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="0"'
6418 LINE
=`grep "wxUSE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache`
6419 if test "x$LINE" != x
; then
6420 eval "DEFAULT_$LINE"
6422 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT='$DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
6426 eval "$ac_cv_use_afmfonts"
6427 echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
6428 if test "$wxUSE_AFM_FOR_POSTSCRIPT" = 1; then
6429 echo "$ac_t""yes" 1>&6
6431 echo "$ac_t""no" 1>&6
6436 echo $ac_n "checking "for normalized
"""... $ac_c" 1>&6
6437 echo "configure:6438: checking "for normalized
"" >&5
6438 # Check whether --with-normalized or --without-normalized was given.
6439 if test "${with_normalized+set}" = set; then
6440 withval
="$with_normalized"
6441 if test "x$with_normalized" = xyes
; then
6442 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="1"'
6444 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="0"'
6448 LINE
=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache`
6449 if test "x$LINE" != x
; then
6450 eval "DEFAULT_$LINE"
6452 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS
6456 eval "$ac_cv_use_normalized"
6457 echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
6458 if test "$WX_NORMALIZED_PS_FONTS" = 1; then
6459 echo "$ac_t""yes" 1>&6
6461 echo "$ac_t""no" 1>&6
6466 echo $ac_n "checking "for postscript
"""... $ac_c" 1>&6
6467 echo "configure:6468: checking "for postscript
"" >&5
6468 # Check whether --with-postscript or --without-postscript was given.
6469 if test "${with_postscript+set}" = set; then
6470 withval
="$with_postscript"
6471 if test "x$with_postscript" = xyes
; then
6472 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="1"'
6474 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="0"'
6478 LINE
=`grep "wxUSE_POSTSCRIPT" ${OSTYPE}.system.cache`
6479 if test "x$LINE" != x
; then
6480 eval "DEFAULT_$LINE"
6482 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6486 eval "$ac_cv_use_postscript"
6487 echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
6488 if test "$wxUSE_POSTSCRIPT" = 1; then
6489 echo "$ac_t""yes" 1>&6
6491 echo "$ac_t""no" 1>&6
6497 echo $ac_n "checking "for unicode
"""... $ac_c" 1>&6
6498 echo "configure:6499: checking "for unicode
"" >&5
6499 # Check whether --with-unicode or --without-unicode was given.
6500 if test "${with_unicode+set}" = set; then
6501 withval
="$with_unicode"
6502 if test "x$with_unicode" = xyes
; then
6503 ac_cv_use_unicode
='wxUSE_UNICODE="1"'
6505 ac_cv_use_unicode
='wxUSE_UNICODE="0"'
6509 LINE
=`grep "wxUSE_UNICODE" ${OSTYPE}.system.cache`
6510 if test "x$LINE" != x
; then
6511 eval "DEFAULT_$LINE"
6513 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6517 eval "$ac_cv_use_unicode"
6518 echo $ac_cv_use_unicode >> ${OSTYPE}.system.cache.tmp
6519 if test "$wxUSE_UNICODE" = 1; then
6520 echo "$ac_t""yes" 1>&6
6522 echo "$ac_t""no" 1>&6
6527 echo $ac_n "checking "for wcsrtombs
"""... $ac_c" 1>&6
6528 echo "configure:6529: checking "for wcsrtombs
"" >&5
6529 # Check whether --with-wcsrtombs or --without-wcsrtombs was given.
6530 if test "${with_wcsrtombs+set}" = set; then
6531 withval
="$with_wcsrtombs"
6532 if test "x$with_wcsrtombs" = xyes
; then
6533 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="1"'
6535 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="0"'
6539 LINE
=`grep "wxUSE_WCSRTOMBS" ${OSTYPE}.system.cache`
6540 if test "x$LINE" != x
; then
6541 eval "DEFAULT_$LINE"
6543 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
6547 eval "$ac_cv_use_wcsrtombs"
6548 echo $ac_cv_use_wcsrtombs >> ${OSTYPE}.system.cache.tmp
6549 if test "$wxUSE_WCSRTOMBS" = 1; then
6550 echo "$ac_t""yes" 1>&6
6552 echo "$ac_t""no" 1>&6
6558 echo $ac_n "checking "for wxresources
"""... $ac_c" 1>&6
6559 echo "configure:6560: checking "for wxresources
"" >&5
6560 # Check whether --with-wxresources or --without-wxresources was given.
6561 if test "${with_wxresources+set}" = set; then
6562 withval
="$with_wxresources"
6563 if test "x$with_wxresources" = xyes
; then
6564 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="1"'
6566 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="0"'
6570 LINE
=`grep "wxUSE_WX_RESOURCES" ${OSTYPE}.system.cache`
6571 if test "x$LINE" != x
; then
6572 eval "DEFAULT_$LINE"
6574 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES='$DEFAULT_wxUSE_WX_RESOURCES
6578 eval "$ac_cv_use_wxresources"
6579 echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
6580 if test "$wxUSE_WX_RESOURCES" = 1; then
6581 echo "$ac_t""yes" 1>&6
6583 echo "$ac_t""no" 1>&6
6588 echo $ac_n "checking "for prologio
"""... $ac_c" 1>&6
6589 echo "configure:6590: checking "for prologio
"" >&5
6590 # Check whether --with-prologio or --without-prologio was given.
6591 if test "${with_prologio+set}" = set; then
6592 withval
="$with_prologio"
6593 if test "x$with_prologio" = xyes
; then
6594 ac_cv_use_prologio
='wxUSE_PROLOGIO="1"'
6596 ac_cv_use_prologio
='wxUSE_PROLOGIO="0"'
6600 LINE
=`grep "wxUSE_PROLOGIO" ${OSTYPE}.system.cache`
6601 if test "x$LINE" != x
; then
6602 eval "DEFAULT_$LINE"
6604 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6608 eval "$ac_cv_use_prologio"
6609 echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
6610 if test "$wxUSE_PROLOGIO" = 1; then
6611 echo "$ac_t""yes" 1>&6
6613 echo "$ac_t""no" 1>&6
6618 echo $ac_n "checking "for RPC
"""... $ac_c" 1>&6
6619 echo "configure:6620: checking "for RPC
"" >&5
6620 # Check whether --with-rpc or --without-rpc was given.
6621 if test "${with_rpc+set}" = set; then
6623 if test "x$with_rpc" = xyes
; then
6624 ac_cv_use_rpc
='wxUSE_RPC="1"'
6626 ac_cv_use_rpc
='wxUSE_RPC="0"'
6630 LINE
=`grep "wxUSE_RPC" ${OSTYPE}.system.cache`
6631 if test "x$LINE" != x
; then
6632 eval "DEFAULT_$LINE"
6634 ac_cv_use_rpc
='wxUSE_RPC='$DEFAULT_wxUSE_RPC
6638 eval "$ac_cv_use_rpc"
6639 echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
6640 if test "$wxUSE_RPC" = 1; then
6641 echo "$ac_t""yes" 1>&6
6643 echo "$ac_t""no" 1>&6
6649 echo $ac_n "checking "for IPC
"""... $ac_c" 1>&6
6650 echo "configure:6651: checking "for IPC
"" >&5
6651 # Check whether --with-ipc or --without-ipc was given.
6652 if test "${with_ipc+set}" = set; then
6654 if test "x$with_ipc" = xyes
; then
6655 ac_cv_use_ipc
='wxUSE_IPC="1"'
6657 ac_cv_use_ipc
='wxUSE_IPC="0"'
6661 LINE
=`grep "wxUSE_IPC" ${OSTYPE}.system.cache`
6662 if test "x$LINE" != x
; then
6663 eval "DEFAULT_$LINE"
6665 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
6669 eval "$ac_cv_use_ipc"
6670 echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
6671 if test "$wxUSE_IPC" = 1; then
6672 echo "$ac_t""yes" 1>&6
6674 echo "$ac_t""no" 1>&6
6679 echo $ac_n "checking "for resources
"""... $ac_c" 1>&6
6680 echo "configure:6681: checking "for resources
"" >&5
6681 # Check whether --with-resources or --without-resources was given.
6682 if test "${with_resources+set}" = set; then
6683 withval
="$with_resources"
6684 if test "x$with_resources" = xyes
; then
6685 ac_cv_use_resources
='wxUSE_RESOURCES="1"'
6687 ac_cv_use_resources
='wxUSE_RESOURCES="0"'
6691 LINE
=`grep "wxUSE_RESOURCES" ${OSTYPE}.system.cache`
6692 if test "x$LINE" != x
; then
6693 eval "DEFAULT_$LINE"
6695 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6699 eval "$ac_cv_use_resources"
6700 echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
6701 if test "$wxUSE_RESOURCES" = 1; then
6702 echo "$ac_t""yes" 1>&6
6704 echo "$ac_t""no" 1>&6
6709 echo $ac_n "checking "for clipboard
"""... $ac_c" 1>&6
6710 echo "configure:6711: checking "for clipboard
"" >&5
6711 # Check whether --with-clipboard or --without-clipboard was given.
6712 if test "${with_clipboard+set}" = set; then
6713 withval
="$with_clipboard"
6714 if test "x$with_clipboard" = xyes
; then
6715 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="1"'
6717 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="0"'
6721 LINE
=`grep "wxUSE_CLIPBOARD" ${OSTYPE}.system.cache`
6722 if test "x$LINE" != x
; then
6723 eval "DEFAULT_$LINE"
6725 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6729 eval "$ac_cv_use_clipboard"
6730 echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
6731 if test "$wxUSE_CLIPBOARD" = 1; then
6732 echo "$ac_t""yes" 1>&6
6734 echo "$ac_t""no" 1>&6
6739 echo $ac_n "checking "for tooltips
"""... $ac_c" 1>&6
6740 echo "configure:6741: checking "for tooltips
"" >&5
6741 # Check whether --with-tooltips or --without-tooltips was given.
6742 if test "${with_tooltips+set}" = set; then
6743 withval
="$with_tooltips"
6744 if test "x$with_tooltips" = xyes
; then
6745 ac_cv_use_tooltips
='wxUSE_TOOLTIPS="1"'
6747 ac_cv_use_tooltips
='wxUSE_TOOLTIPS="0"'
6751 LINE
=`grep "wxUSE_TOOLTIPS" ${OSTYPE}.system.cache`
6752 if test "x$LINE" != x
; then
6753 eval "DEFAULT_$LINE"
6755 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
6759 eval "$ac_cv_use_tooltips"
6760 echo $ac_cv_use_tooltips >> ${OSTYPE}.system.cache.tmp
6761 if test "$wxUSE_TOOLTIPS" = 1; then
6762 echo "$ac_t""yes" 1>&6
6764 echo "$ac_t""no" 1>&6
6769 echo $ac_n "checking "for dnd
"""... $ac_c" 1>&6
6770 echo "configure:6771: checking "for dnd
"" >&5
6771 # Check whether --with-dnd or --without-dnd was given.
6772 if test "${with_dnd+set}" = set; then
6774 if test "x$with_dnd" = xyes
; then
6775 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP="1"'
6777 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP="0"'
6781 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${OSTYPE}.system.cache`
6782 if test "x$LINE" != x
; then
6783 eval "DEFAULT_$LINE"
6785 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6789 eval "$ac_cv_use_dnd"
6790 echo $ac_cv_use_dnd >> ${OSTYPE}.system.cache.tmp
6791 if test "$wxUSE_DRAG_AND_DROP" = 1; then
6792 echo "$ac_t""yes" 1>&6
6794 echo "$ac_t""no" 1>&6
6800 echo $ac_n "checking "for mdi
"""... $ac_c" 1>&6
6801 echo "configure:6802: checking "for mdi
"" >&5
6802 # Check whether --with-mdi or --without-mdi was given.
6803 if test "${with_mdi+set}" = set; then
6805 if test "x$with_mdi" = xyes
; then
6806 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="1"'
6808 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="0"'
6812 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${OSTYPE}.system.cache`
6813 if test "x$LINE" != x
; then
6814 eval "DEFAULT_$LINE"
6816 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6820 eval "$ac_cv_use_mdi"
6821 echo $ac_cv_use_mdi >> ${OSTYPE}.system.cache.tmp
6822 if test "$wxUSE_MDI_ARCHITECTURE" = 1; then
6823 echo "$ac_t""yes" 1>&6
6825 echo "$ac_t""no" 1>&6
6830 echo $ac_n "checking "for docview
"""... $ac_c" 1>&6
6831 echo "configure:6832: checking "for docview
"" >&5
6832 # Check whether --with-docview or --without-docview was given.
6833 if test "${with_docview+set}" = set; then
6834 withval
="$with_docview"
6835 if test "x$with_docview" = xyes
; then
6836 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="1"'
6838 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="0"'
6842 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache`
6843 if test "x$LINE" != x
; then
6844 eval "DEFAULT_$LINE"
6846 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6850 eval "$ac_cv_use_docview"
6851 echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp
6852 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1; then
6853 echo "$ac_t""yes" 1>&6
6855 echo "$ac_t""no" 1>&6
6860 echo $ac_n "checking "for printarch
"""... $ac_c" 1>&6
6861 echo "configure:6862: checking "for printarch
"" >&5
6862 # Check whether --with-printarch or --without-printarch was given.
6863 if test "${with_printarch+set}" = set; then
6864 withval
="$with_printarch"
6865 if test "x$with_printarch" = xyes
; then
6866 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="1"'
6868 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="0"'
6872 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache`
6873 if test "x$LINE" != x
; then
6874 eval "DEFAULT_$LINE"
6876 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6880 eval "$ac_cv_use_printarch"
6881 echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp
6882 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1; then
6883 echo "$ac_t""yes" 1>&6
6885 echo "$ac_t""no" 1>&6
6890 echo $ac_n "checking "for help"""... $ac_c" 1>&6
6891 echo "configure:6892: checking "for help"" >&5
6892 # Check whether --with-help or --without-help was given.
6893 if test "${with_help+set}" = set; then
6894 withval
="$with_help"
6895 if test "x$with_help" = xyes
; then
6896 ac_cv_use_help
='wxUSE_HELP="1"'
6898 ac_cv_use_help
='wxUSE_HELP="0"'
6902 LINE
=`grep "wxUSE_HELP" ${OSTYPE}.system.cache`
6903 if test "x$LINE" != x
; then
6904 eval "DEFAULT_$LINE"
6906 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6910 eval "$ac_cv_use_help"
6911 echo $ac_cv_use_help >> ${OSTYPE}.system.cache.tmp
6912 if test "$wxUSE_HELP" = 1; then
6913 echo "$ac_t""yes" 1>&6
6915 echo "$ac_t""no" 1>&6
6920 if test "$wxUSE_UNIX" = 1 ; then
6921 cat >> confdefs.h
<<\EOF
6927 if test "$USE_LINUX" = 1; then
6928 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
6929 echo "configure:6930: checking for gettext in -lc" >&5
6930 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
6931 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6932 echo $ac_n "(cached) $ac_c" 1>&6
6934 ac_save_LIBS
="$LIBS"
6936 cat > conftest.
$ac_ext <<EOF
6937 #line 6938 "configure"
6938 #include "confdefs.h"
6939 /* Override any gcc2 internal prototype to avoid an error. */
6940 /* We use char because int might match the return type of a gcc2
6941 builtin and then its argument prototype would still apply. */
6948 if { (eval echo configure
:6949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6950 eval "ac_cv_lib_$ac_lib_var=yes"
6952 echo "configure: failed program was:" >&5
6953 cat conftest.
$ac_ext >&5
6955 eval "ac_cv_lib_$ac_lib_var=no"
6958 LIBS
="$ac_save_LIBS"
6961 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6962 echo "$ac_t""yes" 1>&6
6963 cat >> confdefs.h
<<\EOF
6964 #define wxHAVE_GLIBC2 1
6968 echo "$ac_t""no" 1>&6
6987 if test "$wxUSE_GTK" = 1; then
6988 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
6989 if test "${with_gtk_prefix+set}" = set; then
6990 withval
="$with_gtk_prefix"
6991 gtk_config_prefix
="$withval"
6993 gtk_config_prefix
=""
6996 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
6997 if test "${with_gtk_exec_prefix+set}" = set; then
6998 withval
="$with_gtk_exec_prefix"
6999 gtk_config_exec_prefix
="$withval"
7001 gtk_config_exec_prefix
=""
7005 if test x
$gtk_config_exec_prefix != x
; then
7006 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7007 if test x
${GTK_CONFIG+set} != xset
; then
7008 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7011 if test x
$gtk_config_prefix != x
; then
7012 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7013 if test x
${GTK_CONFIG+set} != xset
; then
7014 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7018 # Extract the first word of "gtk-config", so it can be a program name with args.
7019 set dummy gtk
-config; ac_word
=$2
7020 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7021 echo "configure:7022: checking for $ac_word" >&5
7022 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7023 echo $ac_n "(cached) $ac_c" 1>&6
7025 case "$GTK_CONFIG" in
7027 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7030 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7033 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7035 for ac_dir
in $ac_dummy; do
7036 test -z "$ac_dir" && ac_dir
=.
7037 if test -f $ac_dir/$ac_word; then
7038 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7043 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7047 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7048 if test -n "$GTK_CONFIG"; then
7049 echo "$ac_t""$GTK_CONFIG" 1>&6
7051 echo "$ac_t""no" 1>&6
7054 min_gtk_version
=1.0.0
7055 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7056 echo "configure:7057: checking for GTK - version >= $min_gtk_version" >&5
7058 if test "$GTK_CONFIG" != "no" ; then
7059 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7060 GTK_LIBS
=`$GTK_CONFIG --libs`
7061 ac_save_CFLAGS
="$CFLAGS"
7062 ac_save_LIBS
="$LIBS"
7063 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7064 LIBS
="$LIBS $GTK_LIBS"
7065 if test "$cross_compiling" = yes; then
7066 echo $ac_n "cross compiling; assumed OK... $ac_c"
7068 cat > conftest.
$ac_ext <<EOF
7069 #line 7070 "configure"
7070 #include "confdefs.h"
7072 #include <gtk/gtk.h>
7078 int major, minor, micro;
7080 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7081 printf("%s, bad version string\n", "$min_gtk_version");
7085 if (gtk_minor_version == 1) return FALSE;
7087 return !((gtk_major_version > major) ||
7088 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7089 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7093 if { (eval echo configure
:7094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7097 echo "configure: failed program was:" >&5
7098 cat conftest.
$ac_ext >&5
7105 CFLAGS
="$ac_save_CFLAGS"
7106 LIBS
="$ac_save_LIBS"
7110 if test "x$no_gtk" = x
; then
7111 echo "$ac_t""yes" 1>&6
7113 GUI_TK_INCLUDE
="$GTK_CFLAGS"
7114 GUI_TK_LIBRARY
="$GTK_LIBS"
7117 echo "$ac_t""no" 1>&6
7120 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.X or 1.0.X?" 1>&2; exit 1; }
7126 TOOLKIT_DEF
=__WXGTK__
7128 MAKEINCLUDE
=..
/gtk.inc
7129 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
7130 if test "${with_gtk_prefix+set}" = set; then
7131 withval
="$with_gtk_prefix"
7132 gtk_config_prefix
="$withval"
7134 gtk_config_prefix
=""
7137 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
7138 if test "${with_gtk_exec_prefix+set}" = set; then
7139 withval
="$with_gtk_exec_prefix"
7140 gtk_config_exec_prefix
="$withval"
7142 gtk_config_exec_prefix
=""
7146 if test x
$gtk_config_exec_prefix != x
; then
7147 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7148 if test x
${GTK_CONFIG+set} != xset
; then
7149 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7152 if test x
$gtk_config_prefix != x
; then
7153 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7154 if test x
${GTK_CONFIG+set} != xset
; then
7155 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7159 # Extract the first word of "gtk-config", so it can be a program name with args.
7160 set dummy gtk
-config; ac_word
=$2
7161 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7162 echo "configure:7163: checking for $ac_word" >&5
7163 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7164 echo $ac_n "(cached) $ac_c" 1>&6
7166 case "$GTK_CONFIG" in
7168 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7171 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7174 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7176 for ac_dir
in $ac_dummy; do
7177 test -z "$ac_dir" && ac_dir
=.
7178 if test -f $ac_dir/$ac_word; then
7179 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7184 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7188 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7189 if test -n "$GTK_CONFIG"; then
7190 echo "$ac_t""$GTK_CONFIG" 1>&6
7192 echo "$ac_t""no" 1>&6
7195 min_gtk_version
=1.2.0
7196 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7197 echo "configure:7198: checking for GTK - version >= $min_gtk_version" >&5
7199 if test "$GTK_CONFIG" != "no" ; then
7200 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7201 GTK_LIBS
=`$GTK_CONFIG --libs`
7202 ac_save_CFLAGS
="$CFLAGS"
7203 ac_save_LIBS
="$LIBS"
7204 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7205 LIBS
="$LIBS $GTK_LIBS"
7206 if test "$cross_compiling" = yes; then
7207 echo $ac_n "cross compiling; assumed OK... $ac_c"
7209 cat > conftest.
$ac_ext <<EOF
7210 #line 7211 "configure"
7211 #include "confdefs.h"
7213 #include <gtk/gtk.h>
7219 int major, minor, micro;
7221 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7222 printf("%s, bad version string\n", "$min_gtk_version");
7226 if (gtk_minor_version == 1) return FALSE;
7228 return !((gtk_major_version > major) ||
7229 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7230 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7234 if { (eval echo configure
:7235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7238 echo "configure: failed program was:" >&5
7239 cat conftest.
$ac_ext >&5
7246 CFLAGS
="$ac_save_CFLAGS"
7247 LIBS
="$ac_save_LIBS"
7251 if test "x$no_gtk" = x
; then
7252 echo "$ac_t""yes" 1>&6
7257 echo "$ac_t""no" 1>&6
7260 echo "$ac_t""no" 1>&6
7267 if test "$wxUSE_QT" = 1; then
7268 echo $ac_n "checking for Qt includes""... $ac_c" 1>&6
7269 echo "configure:7270: checking for Qt includes" >&5
7272 for ac_dir
in $SEARCH_INCLUDE;
7274 if test -f "$ac_dir/qapp.h"; then
7275 ac_find_includes
=$ac_dir
7280 if test "$ac_find_includes" != "" ; then
7281 echo "$ac_t""found $ac_find_includes" 1>&6
7282 echo $ac_n "checking for Qt library""... $ac_c" 1>&6
7283 echo "configure:7284: checking for Qt library" >&5
7286 for ac_dir
in $SEARCH_LIB;
7288 for ac_extension
in a so sl
; do
7289 if test -f "$ac_dir/libqt.$ac_extension"; then
7290 ac_find_libraries
=$ac_dir
7296 if test "$ac_find_libraries" != "" ; then
7298 ac_path_to_include
=$ac_find_includes
7299 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7301 if test $result = 0; then
7302 ac_path_to_include
=""
7304 ac_path_to_include
="-I$ac_find_includes"
7308 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
7310 if test $result = 0; then
7313 ac_path_to_link
="-L$ac_find_libraries"
7316 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
7317 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
7318 echo "$ac_t""found Qt at $ac_find_libraries" 1>&6
7320 { echo "configure: error: no" 1>&2; exit 1; }
7323 { echo "configure: error: no" 1>&2; exit 1; }
7325 GUI_TK_LINK
="-lX11 -lqt -lm"
7327 TOOLKIT_DEF
=__WXQT__
7329 MAKEINCLUDE
=..
/qt.inc
7332 if test "$wxUSE_MOTIF" = 1; then
7333 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
7334 echo "configure:7335: checking for Motif/Lesstif includes" >&5
7337 for ac_dir
in $SEARCH_INCLUDE;
7339 if test -f "$ac_dir/Xm/Xm.h"; then
7340 ac_find_includes
=$ac_dir
7345 if test "$ac_find_includes" != "" ; then
7346 echo "$ac_t""found $ac_find_includes" 1>&6
7348 echo "$ac_t""no" 1>&6
7349 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7352 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7353 echo "configure:7354: checking for Motif/Lesstif library" >&5
7356 for ac_dir
in $SEARCH_LIB;
7358 for ac_extension
in a so sl
; do
7359 if test -f "$ac_dir/libXm.$ac_extension"; then
7360 ac_find_libraries
=$ac_dir
7366 if test "$ac_find_libraries" != "" ; then
7368 ac_path_to_include
=$ac_find_includes
7369 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7371 if test $result = 0; then
7372 ac_path_to_include
=""
7374 ac_path_to_include
="-I$ac_find_includes"
7378 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
7380 if test $result = 0; then
7383 ac_path_to_link
="-L$ac_find_libraries"
7387 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
7388 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
7389 echo "$ac_t""found at $ac_find_libraries" 1>&6
7391 echo "$ac_t""no" 1>&6
7392 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7395 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7396 echo "configure:7397: checking for Xt library" >&5
7399 for ac_dir
in $SEARCH_LIB;
7401 for ac_extension
in a so sl
; do
7402 if test -f "$ac_dir/libXt.$ac_extension"; then
7403 ac_find_libraries
=$ac_dir
7409 if test "$ac_find_libraries" != "" ; then
7411 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
7413 if test $result = 0; then
7416 ac_path_to_link
="-L$ac_find_libraries"
7419 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
7420 echo "$ac_t""found at $ac_find_libraries" 1>&6
7422 echo "$ac_t""no" 1>&6
7423 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7427 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7428 echo "configure:7429: checking for Xpm library" >&5
7431 for ac_dir
in $SEARCH_LIB;
7433 for ac_extension
in a so sl
; do
7434 if test -f "$ac_dir/libXpm.$ac_extension"; then
7435 ac_find_libraries
=$ac_dir
7441 if test "$ac_find_libraries" != "" ; then
7443 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
7445 if test $result = 0; then
7448 ac_path_to_link
="-L$ac_find_libraries"
7451 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
7453 cat >> confdefs.h
<<\EOF
7454 #define wxHAVE_LIB_XPM 1
7457 echo "$ac_t""found at $ac_find_libraries" 1>&6
7459 echo "$ac_t""no" 1>&6
7460 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7463 GUI_TK_LINK
="-lXm $(XPM_LINK)-lXmu -lXt -lX11 -lm"
7464 GUI_TK_LIBRARY
="$CHECK_LIB $GUI_TK_LINK"
7466 TOOLKIT_DEF
=__WXMOTIF__
7468 MAKEINCLUDE
=..
/motif.inc
7471 if test "$TOOLKIT" = ""; then
7472 { echo "configure: error: You must specify a toolkit: --with-gtk --with-qt --with-motif" 1>&2; exit 1; }
7487 if test "$WXGTK12" = 1 ; then
7488 cat >> confdefs.h
<<EOF
7489 #define __WXGTK12__ $WXGTK12
7497 if test "$wxUSE_DEBUG_GDB" = 1 ; then
7502 if test "$wxUSE_DEBUG_INFO" = 1 ; then
7509 if test "$wxUSE_DEBUG_FLAG" = 1 ; then
7510 cat >> confdefs.h
<<EOF
7511 #define WXDEBUG $wxUSE_DEBUG_FLAG
7514 WXDEBUG_DEFINE
="-D__WXDEBUG__"
7517 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
7521 if test "$wxUSE_MEM_TRACING" = 1 ; then
7522 cat >> confdefs.h
<<EOF
7523 #define wxUSE_MEMORY_TRACING $wxUSE_MEM_TRACING
7526 cat >> confdefs.h
<<EOF
7527 #define wxUSE_GLOBAL_MEMORY_OPERATORS $wxUSE_MEM_TRACING
7532 if test "$wxUSE_DMALLOC" = 1 ; then
7533 EXTRA_LINK
="$EXTRA_LINK -ldmalloc"
7538 if test "$wxUSE_PROFILE" = 1 ; then
7543 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
7544 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
7545 if test "$wxUSE_OPTIMISE" = 0 ; then
7548 if test "$GCC" = yes ; then
7550 case "${canonical}" in
7552 OPTIMISE
="${OPTIMISE} "
7562 if test "$wxUSE_APPLE_IEEE" = 1 ; then
7563 APPLE_IEEE
="APPLE_IEEE"
7564 cat >> confdefs.h
<<EOF
7565 #define wxUSE_APPLE_IEEE $wxUSE_APPLE_IEEE
7570 wxUSE_IOSTREAMH
=$DEFAULT_wxUSE_IOSTREAMH
7571 cat >> confdefs.h
<<EOF
7572 #define wxUSE_IOSTREAMH $wxUSE_IOSTREAMH
7577 if test "$wxUSE_ZLIB" = 1 ; then
7578 cat >> confdefs.h
<<EOF
7579 #define wxUSE_ZLIB $wxUSE_ZLIB
7582 Z_C_SRC
="\$(Z_C_SRC)"
7586 if test "$wxUSE_LIBPNG" = 1 ; then
7587 cat >> confdefs.h
<<EOF
7588 #define wxUSE_LIBPNG $wxUSE_LIBPNG
7591 PNG_C_SRC
="\$(PNG_C_SRC)"
7595 if test "$wxUSE_LIBJPEG" = 1 ; then
7596 cat >> confdefs.h
<<EOF
7597 #define wxUSE_LIBJPEG $wxUSE_LIBJPEG
7600 JPEG_C_SRC
="\$(JPEG_C_SRC)"
7608 if test "$wxUSE_ODBC" = 1 ; then
7609 cat >> confdefs.h
<<EOF
7610 #define wxUSE_ODBC $wxUSE_ODBC
7613 IODBC_C_SRC
="\$(IODBC_C_SRC)"
7618 if test "$wxUSE_CONFIG" = 1 ; then
7619 cat >> confdefs.h
<<EOF
7620 #define wxUSE_CONFIG $wxUSE_CONFIG
7625 if test "$wxUSE_TIMEDATE" = 1 ; then
7626 cat >> confdefs.h
<<EOF
7627 #define wxUSE_TIMEDATE $wxUSE_TIMEDATE
7632 if test "$wxUSE_INTL" = 1 ; then
7633 cat >> confdefs.h
<<EOF
7634 #define wxUSE_INTL $wxUSE_INTL
7639 if test "$wxUSE_STREAMS" = 1 ; then
7640 cat >> confdefs.h
<<EOF
7641 #define wxUSE_STREAMS $wxUSE_STREAMS
7646 if test "$wxUSE_SOCKETS" = 1 ; then
7647 cat >> confdefs.h
<<EOF
7648 #define wxUSE_SOCKETS $wxUSE_SOCKETS
7653 if test "$wxUSE_SERIAL" = 1 ; then
7654 cat >> confdefs.h
<<EOF
7655 #define wxUSE_SERIAL $wxUSE_SERIAL
7661 if test "$wxUSE_SOCKETS" = "1"; then
7662 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
7663 echo "configure:7664: checking the type of the third argument of getsockname" >&5
7664 cat > conftest.
$ac_ext <<EOF
7665 #line 7666 "configure"
7666 #include "confdefs.h"
7667 #include <sys/socket.h>
7669 socklen_t len; getsockname(0, NULL, &len);
7672 if { (eval echo configure
:7673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7674 cat >> confdefs.h
<<\EOF
7675 #define SOCKLEN_T socklen_t
7677 echo "$ac_t""socklen_t" 1>&6
7679 echo "configure: failed program was:" >&5
7680 cat conftest.
$ac_ext >&5
7682 cat > conftest.
$ac_ext <<EOF
7683 #line 7684 "configure"
7684 #include "confdefs.h"
7685 #include <sys/socket.h>
7687 size_t len; getsockname(0, NULL, &len);
7690 if { (eval echo configure
:7691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7692 cat >> confdefs.h
<<\EOF
7693 #define SOCKLEN_T size_t
7695 echo "$ac_t""size_t" 1>&6
7697 echo "configure: failed program was:" >&5
7698 cat conftest.
$ac_ext >&5
7700 cat > conftest.
$ac_ext <<EOF
7701 #line 7702 "configure"
7702 #include "confdefs.h"
7703 #include <sys/socket.h>
7705 int len; getsockname(0, NULL, &len);
7708 if { (eval echo configure
:7709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7710 cat >> confdefs.h
<<\EOF
7711 #define SOCKLEN_T int
7713 echo "$ac_t""int" 1>&6
7715 echo "configure: failed program was:" >&5
7716 cat conftest.
$ac_ext >&5
7718 echo "$ac_t""unknown" 1>&6
7732 if test "$wxUSE_DYNLIB_CLASS" = "1"; then
7733 for ac_func
in dlopen
7735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7736 echo "configure:7737: checking for $ac_func" >&5
7737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7738 echo $ac_n "(cached) $ac_c" 1>&6
7740 cat > conftest.
$ac_ext <<EOF
7741 #line 7742 "configure"
7742 #include "confdefs.h"
7743 /* System header to define __stub macros and hopefully few prototypes,
7744 which can conflict with char $ac_func(); below. */
7746 /* Override any gcc2 internal prototype to avoid an error. */
7747 /* We use char because int might match the return type of a gcc2
7748 builtin and then its argument prototype would still apply. */
7754 /* The GNU C library defines this for functions which it implements
7755 to always fail with ENOSYS. Some functions are actually named
7756 something starting with __ and the normal name is an alias. */
7757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7765 if { (eval echo configure
:7766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7767 eval "ac_cv_func_$ac_func=yes"
7769 echo "configure: failed program was:" >&5
7770 cat conftest.
$ac_ext >&5
7772 eval "ac_cv_func_$ac_func=no"
7777 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7778 echo "$ac_t""yes" 1>&6
7779 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7780 cat >> confdefs.h
<<EOF
7781 #define $ac_tr_func 1
7783 cat >> confdefs.h
<<\EOF
7784 #define HAVE_DLOPEN 1
7788 echo "$ac_t""no" 1>&6
7789 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
7790 echo "configure:7791: checking for dlopen in -ldl" >&5
7791 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
7792 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7793 echo $ac_n "(cached) $ac_c" 1>&6
7795 ac_save_LIBS
="$LIBS"
7797 cat > conftest.
$ac_ext <<EOF
7798 #line 7799 "configure"
7799 #include "confdefs.h"
7800 /* Override any gcc2 internal prototype to avoid an error. */
7801 /* We use char because int might match the return type of a gcc2
7802 builtin and then its argument prototype would still apply. */
7809 if { (eval echo configure
:7810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7811 eval "ac_cv_lib_$ac_lib_var=yes"
7813 echo "configure: failed program was:" >&5
7814 cat conftest.
$ac_ext >&5
7816 eval "ac_cv_lib_$ac_lib_var=no"
7819 LIBS
="$ac_save_LIBS"
7822 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7823 echo "$ac_t""yes" 1>&6
7824 cat >> confdefs.h
<<\EOF
7825 #define HAVE_DLOPEN 1
7829 echo "$ac_t""no" 1>&6
7835 for ac_func
in shl_load
7837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7838 echo "configure:7839: checking for $ac_func" >&5
7839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7840 echo $ac_n "(cached) $ac_c" 1>&6
7842 cat > conftest.
$ac_ext <<EOF
7843 #line 7844 "configure"
7844 #include "confdefs.h"
7845 /* System header to define __stub macros and hopefully few prototypes,
7846 which can conflict with char $ac_func(); below. */
7848 /* Override any gcc2 internal prototype to avoid an error. */
7849 /* We use char because int might match the return type of a gcc2
7850 builtin and then its argument prototype would still apply. */
7856 /* The GNU C library defines this for functions which it implements
7857 to always fail with ENOSYS. Some functions are actually named
7858 something starting with __ and the normal name is an alias. */
7859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7867 if { (eval echo configure
:7868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7869 eval "ac_cv_func_$ac_func=yes"
7871 echo "configure: failed program was:" >&5
7872 cat conftest.
$ac_ext >&5
7874 eval "ac_cv_func_$ac_func=no"
7879 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7880 echo "$ac_t""yes" 1>&6
7881 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7882 cat >> confdefs.h
<<EOF
7883 #define $ac_tr_func 1
7885 cat >> confdefs.h
<<\EOF
7886 #define HAVE_SHL_LOAD 1
7890 echo "$ac_t""no" 1>&6
7895 if test "$HAVE_DL_FUNCS" = 0; then
7896 echo "configure: warning: "--with-dynlib will be disabled because no
function was found to load a shared library on this platform
"" 1>&2
7898 wxUSE_DYNLIB_CLASS
=0
7902 if test "$wxUSE_DYNLIB_CLASS" = 1 ; then
7903 cat >> confdefs.h
<<EOF
7904 #define wxUSE_DYNLIB_CLASS $wxUSE_DYNLIB_CLASS
7910 if test "$wxUSE_RPC" = 1 ; then
7911 cat >> confdefs.h
<<EOF
7912 #define wxUSE_RPC $wxUSE_RPC
7917 if test "$wxUSE_WX_RESOURCES" = 1 ; then
7918 cat >> confdefs.h
<<EOF
7919 #define wxUSE_WX_RESOURCES $wxUSE_WX_RESOURCES
7924 if test "$wxUSE_PROLOGIO" = 1 ; then
7925 cat >> confdefs.h
<<EOF
7926 #define wxUSE_PROLOGIO 1
7932 if test "$wxUSE_POSTSCRIPT" = 1 ; then
7933 cat >> confdefs.h
<<EOF
7934 #define wxUSE_POSTSCRIPT 1
7939 cat >> confdefs.h
<<EOF
7940 #define wxUSE_AFM_FOR_POSTSCRIPT $wxUSE_AFM_FOR_POSTSCRIPT
7944 cat >> confdefs.h
<<EOF
7945 #define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS
7950 if test "$wxUSE_MDI_ARCHITECTURE" = 1 ; then
7951 cat >> confdefs.h
<<EOF
7952 #define wxUSE_MDI_ARCHITECTURE $wxUSE_MDI_ARCHITECTURE
7957 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1 ; then
7958 cat >> confdefs.h
<<EOF
7959 #define wxUSE_DOC_VIEW_ARCHITECTURE $wxUSE_DOC_VIEW_ARCHITECTURE
7964 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1 ; then
7965 cat >> confdefs.h
<<EOF
7966 #define wxUSE_PRINTING_ARCHITECTURE $wxUSE_PRINTING_ARCHITECTURE
7972 if test "$wxUSE_UNICODE" = 1 ; then
7973 cat >> confdefs.h
<<EOF
7974 #define wxUSE_UNICODE 1
7979 if test "$wxUSE_WCSRTOMBS" = 1 ; then
7980 cat >> confdefs.h
<<EOF
7981 #define wxUSE_WCSRTOMBS 1
7987 if test "$wxUSE_IPC" = 1 ; then
7988 cat >> confdefs.h
<<EOF
7994 if test "$wxUSE_RESOURCES" = 1 ; then
7995 cat >> confdefs.h
<<EOF
7996 #define wxUSE_RESOURCES $wxUSE_RESOURCES
8001 if test "$wxUSE_CLIPBOARD" = 1 ; then
8002 cat >> confdefs.h
<<EOF
8003 #define wxUSE_CLIPBOARD $wxUSE_CLIPBOARD
8008 if test "$wxUSE_TOOLTIPS" = 1 ; then
8009 if test "$wxUSE_MOTIF" = 1; then
8010 echo "configure: warning: tooltips are not supported yet under Motif" 1>&2
8014 cat >> confdefs.h
<<EOF
8015 #define wxUSE_TOOLTIPS $wxUSE_TOOLTIPS
8020 if test "$wxUSE_DRAG_AND_DROP" = 1 ; then
8021 if test "$WXGTK12" = 1 ; then
8022 cat >> confdefs.h
<<EOF
8023 #define wxUSE_DRAG_AND_DROP $wxUSE_DRAG_AND_DROP
8027 echo "configure: warning: drag and drop is only supported under GTK 1.2" 1>&2
8028 wxUSE_DRAG_AND_DROP
=0
8034 if test "$wxUSE_HELP" = 1 ; then
8036 cat >> confdefs.h
<<EOF
8037 #define wxUSE_HELP $wxUSE_HELP
8048 if test "$wxUSE_THREADS" = "1"; then
8050 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
8051 echo "configure:8052: checking for pthread_create in -lpthread" >&5
8052 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
8053 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8054 echo $ac_n "(cached) $ac_c" 1>&6
8056 ac_save_LIBS
="$LIBS"
8057 LIBS
="-lpthread $LIBS"
8058 cat > conftest.
$ac_ext <<EOF
8059 #line 8060 "configure"
8060 #include "confdefs.h"
8061 /* Override any gcc2 internal prototype to avoid an error. */
8062 /* We use char because int might match the return type of a gcc2
8063 builtin and then its argument prototype would still apply. */
8064 char pthread_create();
8070 if { (eval echo configure
:8071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8072 eval "ac_cv_lib_$ac_lib_var=yes"
8074 echo "configure: failed program was:" >&5
8075 cat conftest.
$ac_ext >&5
8077 eval "ac_cv_lib_$ac_lib_var=no"
8080 LIBS
="$ac_save_LIBS"
8083 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8084 echo "$ac_t""yes" 1>&6
8086 UNIX_THREAD
="unix/threadpsx.cpp"
8087 THREADS_LINK
="pthread"
8090 echo "$ac_t""no" 1>&6
8092 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
8093 echo "configure:8094: checking for pthread_create in -lc_r" >&5
8094 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
8095 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8096 echo $ac_n "(cached) $ac_c" 1>&6
8098 ac_save_LIBS
="$LIBS"
8100 cat > conftest.
$ac_ext <<EOF
8101 #line 8102 "configure"
8102 #include "confdefs.h"
8103 /* Override any gcc2 internal prototype to avoid an error. */
8104 /* We use char because int might match the return type of a gcc2
8105 builtin and then its argument prototype would still apply. */
8106 char pthread_create();
8112 if { (eval echo configure
:8113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8114 eval "ac_cv_lib_$ac_lib_var=yes"
8116 echo "configure: failed program was:" >&5
8117 cat conftest.
$ac_ext >&5
8119 eval "ac_cv_lib_$ac_lib_var=no"
8122 LIBS
="$ac_save_LIBS"
8125 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8126 echo "$ac_t""yes" 1>&6
8128 UNIX_THREAD
="unix/threadpsx.cpp"
8132 echo "$ac_t""no" 1>&6
8134 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
8135 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
8136 echo "configure:8137: checking for sys/prctl.h" >&5
8137 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8138 echo $ac_n "(cached) $ac_c" 1>&6
8140 cat > conftest.
$ac_ext <<EOF
8141 #line 8142 "configure"
8142 #include "confdefs.h"
8143 #include <sys/prctl.h>
8145 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8146 { (eval echo configure
:8147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8147 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8148 if test -z "$ac_err"; then
8150 eval "ac_cv_header_$ac_safe=yes"
8153 echo "configure: failed program was:" >&5
8154 cat conftest.
$ac_ext >&5
8156 eval "ac_cv_header_$ac_safe=no"
8160 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8161 echo "$ac_t""yes" 1>&6
8163 UNIX_THREAD
="gtk/threadsgi.cpp"
8166 echo "$ac_t""no" 1>&6
8175 if test "$THREADS_LINK" != ""; then
8176 cat >> confdefs.h
<<\EOF
8177 #define wxUSE_THREADS 1
8181 echo "configure: warning: No thread support on this system" 1>&2
8185 if test -z "$UNIX_THREAD"; then
8189 if test "$wxUSE_THREADS" = "1"; then
8192 for ac_hdr
in sched.h
8194 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8195 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8196 echo "configure:8197: checking for $ac_hdr" >&5
8197 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8198 echo $ac_n "(cached) $ac_c" 1>&6
8200 cat > conftest.
$ac_ext <<EOF
8201 #line 8202 "configure"
8202 #include "confdefs.h"
8205 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8206 { (eval echo configure
:8207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8207 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8208 if test -z "$ac_err"; then
8210 eval "ac_cv_header_$ac_safe=yes"
8213 echo "configure: failed program was:" >&5
8214 cat conftest.
$ac_ext >&5
8216 eval "ac_cv_header_$ac_safe=no"
8220 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8221 echo "$ac_t""yes" 1>&6
8222 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8223 cat >> confdefs.h
<<EOF
8224 #define $ac_tr_hdr 1
8228 echo "$ac_t""no" 1>&6
8233 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
8234 echo "configure:8235: checking for sched_yield in -l$THREADS_LINK" >&5
8235 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
8236 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8237 echo $ac_n "(cached) $ac_c" 1>&6
8239 ac_save_LIBS
="$LIBS"
8240 LIBS
="-l$THREADS_LINK $LIBS"
8241 cat > conftest.
$ac_ext <<EOF
8242 #line 8243 "configure"
8243 #include "confdefs.h"
8244 /* Override any gcc2 internal prototype to avoid an error. */
8245 /* We use char because int might match the return type of a gcc2
8246 builtin and then its argument prototype would still apply. */
8253 if { (eval echo configure
:8254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8255 eval "ac_cv_lib_$ac_lib_var=yes"
8257 echo "configure: failed program was:" >&5
8258 cat conftest.
$ac_ext >&5
8260 eval "ac_cv_lib_$ac_lib_var=no"
8263 LIBS
="$ac_save_LIBS"
8266 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8267 echo "$ac_t""yes" 1>&6
8268 cat >> confdefs.h
<<\EOF
8269 #define HAVE_SCHED_YIELD 1
8273 echo "$ac_t""no" 1>&6
8274 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
8275 echo "configure:8276: checking for sched_yield in -l"posix4
"" >&5
8276 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
8277 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8278 echo $ac_n "(cached) $ac_c" 1>&6
8280 ac_save_LIBS
="$LIBS"
8281 LIBS
="-l"posix4
" $LIBS"
8282 cat > conftest.
$ac_ext <<EOF
8283 #line 8284 "configure"
8284 #include "confdefs.h"
8285 /* Override any gcc2 internal prototype to avoid an error. */
8286 /* We use char because int might match the return type of a gcc2
8287 builtin and then its argument prototype would still apply. */
8294 if { (eval echo configure
:8295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8296 eval "ac_cv_lib_$ac_lib_var=yes"
8298 echo "configure: failed program was:" >&5
8299 cat conftest.
$ac_ext >&5
8301 eval "ac_cv_lib_$ac_lib_var=no"
8304 LIBS
="$ac_save_LIBS"
8307 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8308 echo "$ac_t""yes" 1>&6
8309 cat >> confdefs.h
<<\EOF
8310 #define HAVE_SCHED_YIELD 1
8312 POSIX4_LINK
="-lposix4"
8314 echo "$ac_t""no" 1>&6
8315 echo "configure: warning: wxThread::Yield() will not work properly" 1>&2
8323 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
8324 echo "configure:8325: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
8325 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
8326 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8327 echo $ac_n "(cached) $ac_c" 1>&6
8329 ac_save_LIBS
="$LIBS"
8330 LIBS
="-l$THREADS_LINK $LIBS"
8331 cat > conftest.
$ac_ext <<EOF
8332 #line 8333 "configure"
8333 #include "confdefs.h"
8334 /* Override any gcc2 internal prototype to avoid an error. */
8335 /* We use char because int might match the return type of a gcc2
8336 builtin and then its argument prototype would still apply. */
8337 char pthread_attr_getschedpolicy();
8340 pthread_attr_getschedpolicy()
8343 if { (eval echo configure
:8344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8345 eval "ac_cv_lib_$ac_lib_var=yes"
8347 echo "configure: failed program was:" >&5
8348 cat conftest.
$ac_ext >&5
8350 eval "ac_cv_lib_$ac_lib_var=no"
8353 LIBS
="$ac_save_LIBS"
8356 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8357 echo "$ac_t""yes" 1>&6
8358 cat >> confdefs.h
<<\EOF
8359 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
8363 echo "$ac_t""no" 1>&6
8364 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
8365 echo "configure:8366: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
8366 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
8367 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8368 echo $ac_n "(cached) $ac_c" 1>&6
8370 ac_save_LIBS
="$LIBS"
8371 LIBS
="-l"posix4
" $LIBS"
8372 cat > conftest.
$ac_ext <<EOF
8373 #line 8374 "configure"
8374 #include "confdefs.h"
8375 /* Override any gcc2 internal prototype to avoid an error. */
8376 /* We use char because int might match the return type of a gcc2
8377 builtin and then its argument prototype would still apply. */
8378 char pthread_attr_getschedpolicy();
8381 pthread_attr_getschedpolicy()
8384 if { (eval echo configure
:8385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8386 eval "ac_cv_lib_$ac_lib_var=yes"
8388 echo "configure: failed program was:" >&5
8389 cat conftest.
$ac_ext >&5
8391 eval "ac_cv_lib_$ac_lib_var=no"
8394 LIBS
="$ac_save_LIBS"
8397 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8398 echo "$ac_t""yes" 1>&6
8399 cat >> confdefs.h
<<\EOF
8400 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
8402 POSIX4_LINK
="-lposix4"
8404 echo "$ac_t""no" 1>&6
8405 echo "configure: warning: Setting thread priority will not work" 1>&2
8413 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
8414 echo "configure:8415: checking for pthread_cancel in -l$THREADS_LINK" >&5
8415 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
8416 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8417 echo $ac_n "(cached) $ac_c" 1>&6
8419 ac_save_LIBS
="$LIBS"
8420 LIBS
="-l$THREADS_LINK $LIBS"
8421 cat > conftest.
$ac_ext <<EOF
8422 #line 8423 "configure"
8423 #include "confdefs.h"
8424 /* Override any gcc2 internal prototype to avoid an error. */
8425 /* We use char because int might match the return type of a gcc2
8426 builtin and then its argument prototype would still apply. */
8427 char pthread_cancel();
8433 if { (eval echo configure
:8434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8435 eval "ac_cv_lib_$ac_lib_var=yes"
8437 echo "configure: failed program was:" >&5
8438 cat conftest.
$ac_ext >&5
8440 eval "ac_cv_lib_$ac_lib_var=no"
8443 LIBS
="$ac_save_LIBS"
8446 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8447 echo "$ac_t""yes" 1>&6
8448 cat >> confdefs.h
<<\EOF
8449 #define HAVE_PTHREAD_CANCEL 1
8453 echo "$ac_t""no" 1>&6
8454 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
8458 THREADS_LINK
="-l$THREADS_LINK"
8468 case "${canonical}" in
8470 if test "$GCC" != "yes" ; then
8471 CXXFLAGS
="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
8472 CFLAGS
="${CFLAGS} -z -D_HPUX_SOURCE"
8478 CREATE_SHARED
=sharedHpux
8483 CREATE_SHARED
=sharedLinux
8486 *-*-irix5* | *-*-irix6* )
8487 # PICFLAGS can remain empty, as pic is the default
8489 CREATE_SHARED
=sharedIrix
8490 cat >> confdefs.h
<<\EOF
8497 if test "$GCC" != "yes" ; then
8502 CREATE_SHARED
=sharedSolaris2
8503 cat >> confdefs.h
<<\EOF
8510 if test "$GCC" != "yes" ; then
8516 CREATE_SHARED
=sharedSunos4
8517 cat >> confdefs.h
<<\EOF
8523 *-*-freebsd* | *-*-netbsd*)
8525 CREATE_SHARED
=sharedBsd
8526 cat >> confdefs.h
<<\EOF
8534 CREATE_SHARED
=sharedOSF
8538 if test "$GCC" != "yes" ; then
8543 CREATE_SHARED
=sharedDgux
8544 cat >> confdefs.h
<<\EOF
8551 if test "$GCC" != "yes" ; then
8556 CREATE_SHARED
=sharedSysV
8557 cat >> confdefs.h
<<\EOF
8564 if test "$GCC" != "yes" ; then
8567 PICFLAGS
="-fPIC -D__SYSV__"
8569 CREATE_SHARED
=sharedAIX
8570 cat >> confdefs.h
<<\EOF
8581 if test "x$GCC" = xyes
; then
8582 CFLAGS
="${CFLAGS} -Wall -Wno-unused -Wno-uninitialized -D_REENTRANT -DLEX_SCANNER -DHAVE_LIBDL"
8585 if test "x$GXX" = xyes
; then
8586 if test "$wxUSE_MOTIF" = 1; then
8587 CXXFLAGS
="${CXXFLAGS} -Wall -Wno-unused -D_REENTRANT"
8589 CXXFLAGS
="${CXXFLAGS} -Wall -D_REENTRANT"
8593 if test "$wxUSE_SHARED" != 1; then
8603 echo $OS >> system.list
8605 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
8609 cat > confcache
<<\EOF
8610 # This file is a shell script that caches the results of configure
8611 # tests run on this system so they can be shared between configure
8612 # scripts and configure runs. It is not useful on other systems.
8613 # If it contains results you don't want to keep, you may remove or edit it.
8615 # By default, configure uses ./config.cache as the cache file,
8616 # creating it if it does not exist already. You can give configure
8617 # the --cache-file=FILE option to use a different cache file; that is
8618 # what configure does when it calls configure scripts in
8619 # subdirectories, so they share the cache.
8620 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8621 # config.status only pays attention to the cache file if you give it the
8622 # --recheck option to rerun configure.
8625 # The following way of writing the cache mishandles newlines in values,
8626 # but we know of no workaround that is simple, portable, and efficient.
8627 # So, don't put newlines in cache variables' values.
8628 # Ultrix sh set writes to stderr and can't be redirected directly,
8629 # and sets the high bit in the cache file unless we assign to the vars.
8631 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8633 # `set' does not quote correctly, so add quotes (double-quote substitution
8634 # turns \\\\ into \\, and sed turns \\ into \).
8636 -e "s/'/'\\\\''/g" \
8637 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8640 # `set' quotes correctly as required by POSIX, so do not add quotes.
8641 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8644 if cmp -s $cache_file confcache
; then
8647 if test -w $cache_file; then
8648 echo "updating cache $cache_file"
8649 cat confcache
> $cache_file
8651 echo "not updating unwritable cache $cache_file"
8656 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
8658 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8659 # Let make expand exec_prefix.
8660 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8662 # Any assignment to VPATH causes Sun make to only execute
8663 # the first set of double-colon rules, so remove it if not needed.
8664 # If there is a colon in the path, we need to keep it.
8665 if test "x$srcdir" = x.
; then
8666 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
8669 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
8671 DEFS
=-DHAVE_CONFIG_H
8673 # Without the "./", some shells look in PATH for config.status.
8674 : ${CONFIG_STATUS=./config.status}
8676 echo creating
$CONFIG_STATUS
8677 rm -f $CONFIG_STATUS
8678 cat > $CONFIG_STATUS <<EOF
8680 # Generated automatically by configure.
8681 # Run this file to recreate the current configuration.
8682 # This directory was configured as follows,
8683 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8685 # $0 $ac_configure_args
8687 # Compiler output produced by configure, useful for debugging
8688 # configure, is in ./config.log if it exists.
8690 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
8693 case "\$ac_option" in
8694 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8695 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
8696 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
8697 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
8698 echo "$CONFIG_STATUS generated by autoconf version 2.14"
8700 -help | --help | --hel | --he | --h)
8701 echo "\$ac_cs_usage"; exit 0 ;;
8702 *) echo "\$ac_cs_usage"; exit 1 ;;
8706 ac_given_srcdir=$srcdir
8707 ac_given_INSTALL="$INSTALL"
8709 trap 'rm -fr `echo "./setup/substit ./wx-config:./wx-config.in ./include/wx/${TOOLKIT_DIR}/setup.h:./setup/setup.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
8711 cat >> $CONFIG_STATUS <<EOF
8713 # Protect against being on the right side of a sed subst in config.status.
8714 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
8715 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
8719 s%@CFLAGS@%$CFLAGS%g
8720 s%@CPPFLAGS@%$CPPFLAGS%g
8721 s%@CXXFLAGS@%$CXXFLAGS%g
8722 s%@FFLAGS@%$FFLAGS%g
8724 s%@LDFLAGS@%$LDFLAGS%g
8726 s%@exec_prefix@%$exec_prefix%g
8727 s%@prefix@%$prefix%g
8728 s%@program_transform_name@%$program_transform_name%g
8729 s%@bindir@%$bindir%g
8730 s%@sbindir@%$sbindir%g
8731 s%@libexecdir@%$libexecdir%g
8732 s%@datadir@%$datadir%g
8733 s%@sysconfdir@%$sysconfdir%g
8734 s%@sharedstatedir@%$sharedstatedir%g
8735 s%@localstatedir@%$localstatedir%g
8736 s%@libdir@%$libdir%g
8737 s%@includedir@%$includedir%g
8738 s%@oldincludedir@%$oldincludedir%g
8739 s%@infodir@%$infodir%g
8740 s%@mandir@%$mandir%g
8741 s%@WXBASEDIR@%$WXBASEDIR%g
8745 s%@CXXCPP@%$CXXCPP%g
8746 s%@RANLIB@%$RANLIB%g
8748 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
8749 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
8750 s%@INSTALL_DATA@%$INSTALL_DATA%g
8754 s%@X_CFLAGS@%$X_CFLAGS%g
8755 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
8756 s%@X_LIBS@%$X_LIBS%g
8757 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
8758 s%@GTK_JOYSTICK@%$GTK_JOYSTICK%g
8759 s%@WCHAR_LINK@%$WCHAR_LINK%g
8760 s%@LIBOBJS@%$LIBOBJS%g
8763 s%@LEXLIB@%$LEXLIB%g
8764 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
8765 s%@DL_LIBRARY@%$DL_LIBRARY%g
8767 s%@host_alias@%$host_alias%g
8768 s%@host_cpu@%$host_cpu%g
8769 s%@host_vendor@%$host_vendor%g
8770 s%@host_os@%$host_os%g
8771 s%@GTK_CONFIG@%$GTK_CONFIG%g
8772 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
8773 s%@GTK_LIBS@%$GTK_LIBS%g
8774 s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g
8775 s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g
8776 s%@GUI_TK_LINK@%$GUI_TK_LINK%g
8777 s%@WX_LINK@%$WX_LINK%g
8778 s%@TOOLKIT@%$TOOLKIT%g
8779 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
8780 s%@MAKEINCLUDE@%$MAKEINCLUDE%g
8781 s%@WXDEBUG@%$WXDEBUG%g
8782 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
8783 s%@EXTRA_LINK@%$EXTRA_LINK%g
8784 s%@PROFILE@%$PROFILE%g
8785 s%@OPTIMISE@%$OPTIMISE%g
8786 s%@Z_C_SRC@%$Z_C_SRC%g
8787 s%@PNG_C_SRC@%$PNG_C_SRC%g
8788 s%@JPEG_C_SRC@%$JPEG_C_SRC%g
8789 s%@JPEG_LINK@%$JPEG_LINK%g
8790 s%@IODBC_C_SRC@%$IODBC_C_SRC%g
8792 s%@UNIX_THREAD@%$UNIX_THREAD%g
8793 s%@THREADS_LINK@%$THREADS_LINK%g
8794 s%@POSIX4_LINK@%$POSIX4_LINK%g
8796 s%@PICFLAGS@%$PICFLAGS%g
8797 s%@CREATE_SHARED@%$CREATE_SHARED%g
8802 cat >> $CONFIG_STATUS <<\EOF
8804 # Split the substitutions into bite-sized pieces for seds with
8805 # small command number limits, like on Digital OSF/1 and HP-UX.
8806 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
8807 ac_file
=1 # Number of current file.
8808 ac_beg
=1 # First line for current file.
8809 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
8812 while $ac_more_lines; do
8813 if test $ac_beg -gt 1; then
8814 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
8816 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
8818 if test ! -s conftest.s
$ac_file; then
8820 rm -f conftest.s
$ac_file
8822 if test -z "$ac_sed_cmds"; then
8823 ac_sed_cmds
="sed -f conftest.s$ac_file"
8825 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
8827 ac_file
=`expr $ac_file + 1`
8829 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
8832 if test -z "$ac_sed_cmds"; then
8837 cat >> $CONFIG_STATUS <<EOF
8839 CONFIG_FILES=\${CONFIG_FILES-"./setup/substit ./wx-config:./wx-config.in"}
8841 cat >> $CONFIG_STATUS <<\EOF
8842 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
8843 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8845 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
8846 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
8847 *) ac_file_in
="${ac_file}.in" ;;
8850 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
8852 # Remove last slash and all that follows it. Not all systems have dirname.
8853 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
8854 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
8855 # The file is in a subdirectory.
8856 test ! -d "$ac_dir" && mkdir "$ac_dir"
8857 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
8858 # A "../" for each directory in $ac_dir_suffix.
8859 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
8861 ac_dir_suffix
= ac_dots
=
8864 case "$ac_given_srcdir" in
8866 if test -z "$ac_dots"; then top_srcdir
=.
8867 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
8868 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
8870 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
8871 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
8874 case "$ac_given_INSTALL" in
8875 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
8876 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
8879 echo creating
"$ac_file"
8881 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
8883 *Makefile
*) ac_comsub
="1i\\
8884 # $configure_input" ;;
8888 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
8890 s%@configure_input@%$configure_input%g
8891 s%@srcdir@%$srcdir%g
8892 s%@top_srcdir@%$top_srcdir%g
8893 s%@INSTALL@%$INSTALL%g
8894 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
8898 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8899 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8901 # ac_d sets the value in "#define NAME VALUE" lines.
8902 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8903 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
8906 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
8907 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8908 ac_uB
='\([ ]\)%\1#\2define\3'
8911 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8912 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8913 ac_eB
='$%\1#\2define\3'
8917 if test "${CONFIG_HEADERS+set}" != set; then
8919 cat >> $CONFIG_STATUS <<EOF
8920 CONFIG_HEADERS="./include/wx/${TOOLKIT_DIR}/setup.h:./setup/setup.hin"
8922 cat >> $CONFIG_STATUS <<\EOF
8924 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
8925 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8927 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
8928 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
8929 *) ac_file_in
="${ac_file}.in" ;;
8932 echo creating
$ac_file
8934 rm -f conftest.frag conftest.
in conftest.out
8935 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
8936 cat $ac_file_inputs > conftest.
in
8940 # Transform confdefs.h into a sed script conftest.vals that substitutes
8941 # the proper values into config.h.in to produce config.h. And first:
8942 # Protect against being on the right side of a sed subst in config.status.
8943 # Protect against being in an unquoted here document in config.status.
8945 cat > conftest.hdr
<<\EOF
8948 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
8952 sed -n -f conftest.hdr confdefs.h > conftest.vals
8955 # This sed command replaces #undef with comments. This is necessary, for
8956 # example, in the case of _POSIX_SOURCE, which is predefined and required
8957 # on some systems where configure will not decide to define it.
8958 cat >> conftest.vals <<\EOF
8959 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
8962 # Break up conftest.vals because some shells have a limit on
8963 # the size of here documents, and old seds have small limits too.
8968 ac_lines=`grep -c . conftest.vals
`
8969 # grep -c gives empty output for an empty file on some AIX systems.
8970 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
8971 # Write a limited-size here document to conftest.frag.
8972 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
8973 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
8975 sed -f conftest.frag conftest.in > conftest.out
8977 mv conftest.out conftest.in
8979 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
8981 mv conftest.tail conftest.vals
8985 cat >> $CONFIG_STATUS <<\EOF
8986 rm -f conftest.frag conftest.h
8987 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
8988 cat conftest.in >> conftest.h
8990 if cmp -s $ac_file conftest.h 2>/dev/null; then
8991 echo "$ac_file is unchanged"
8994 # Remove last slash and all that follows it. Not all systems have dirname.
8995 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
8996 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
8997 # The file is in a subdirectory.
8998 test ! -d "$ac_dir" && mkdir "$ac_dir"
9001 mv conftest.h $ac_file
9006 cat >> $CONFIG_STATUS <<EOF
9009 cat >> $CONFIG_STATUS <<\EOF
9010 ./setup/general/createall
9013 chmod +x $CONFIG_STATUS
9014 rm -fr confdefs* $ac_clean_files
9015 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
9019 mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache