3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.12
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --with-x use the X Window System"
21 **--with-motif use Motif/Lesstif"
23 **--with-shared create shared libraries"
25 **--with-optimise create optimised code"
27 **--with-debug_flag create code with WXDEBUG define set to 1"
29 **--with-debug_info create code with debuging information"
31 **--with-debug_gdb create code with extra GDB debuging information"
33 **--with-mem_traing create code with memory tracing"
35 **--with-dmalloc use dmalloc memory debug library (www.letters.com/dmalloc/)"
37 **--with-profile create code with profiling information"
39 **--with_apple_ieee use the Apple IEEE codec"
41 **--with-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 # Maximum number of lines to put in a shell here document.
151 # If the previous option needs an argument, assign it.
152 if test -n "$ac_prev"; then
153 eval "$ac_prev=\$ac_option"
159 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
163 # Accept the important Cygnus configure options, so we can diagnose typos.
167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
170 bindir
="$ac_optarg" ;;
172 -build | --build | --buil | --bui | --bu)
174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
175 build
="$ac_optarg" ;;
177 -cache-file | --cache-file | --cache-fil | --cache-fi \
178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
179 ac_prev
=cache_file
;;
180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
182 cache_file
="$ac_optarg" ;;
184 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
186 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
188 datadir
="$ac_optarg" ;;
190 -disable-* | --disable-*)
191 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
192 # Reject names that are not valid shell variable names.
193 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
194 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
196 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
197 eval "enable_${ac_feature}=no" ;;
199 -enable-* | --enable-*)
200 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
201 # Reject names that are not valid shell variable names.
202 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
203 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
205 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
210 eval "enable_${ac_feature}='$ac_optarg'" ;;
212 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
213 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
214 | --exec | --exe | --ex)
215 ac_prev
=exec_prefix
;;
216 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
217 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
218 | --exec=* | --exe=* | --ex=*)
219 exec_prefix
="$ac_optarg" ;;
221 -gas | --gas | --ga | --g)
222 # Obsolete; use --with-gas.
225 -help | --help | --hel | --he)
226 # Omit some internal or obsolete options to make the list less imposing.
227 # This message is too long to be a string in the A/UX 3.1 sh.
229 Usage: configure [options] [host]
230 Options: [defaults in brackets after descriptions]
232 --cache-file=FILE cache test results in FILE
233 --help print this message
234 --no-create do not create output files
235 --quiet, --silent do not print \`checking...' messages
236 --version print the version of autoconf that created configure
237 Directory and file names:
238 --prefix=PREFIX install architecture-independent files in PREFIX
240 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
242 --bindir=DIR user executables in DIR [EPREFIX/bin]
243 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
244 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
245 --datadir=DIR read-only architecture-independent data in DIR
247 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
248 --sharedstatedir=DIR modifiable architecture-independent data in DIR
250 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
251 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
252 --includedir=DIR C header files in DIR [PREFIX/include]
253 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
254 --infodir=DIR info documentation in DIR [PREFIX/info]
255 --mandir=DIR man documentation in DIR [PREFIX/man]
256 --srcdir=DIR find the sources in DIR [configure dir or ..]
257 --program-prefix=PREFIX prepend PREFIX to installed program names
258 --program-suffix=SUFFIX append SUFFIX to installed program names
259 --program-transform-name=PROGRAM
260 run sed PROGRAM on installed program names
264 --build=BUILD configure for building on BUILD [BUILD=HOST]
265 --host=HOST configure for HOST [guessed]
266 --target=TARGET configure for TARGET [TARGET=HOST]
267 Features and packages:
268 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
269 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
270 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
271 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
272 --x-includes=DIR X include files are in DIR
273 --x-libraries=DIR X library files are in DIR
275 if test -n "$ac_help"; then
276 echo "--enable and --with options recognized:$ac_help"
280 -host | --host | --hos | --ho)
282 -host=* | --host=* | --hos=* | --ho=*)
285 -includedir | --includedir | --includedi | --included | --include \
286 | --includ | --inclu | --incl | --inc)
287 ac_prev
=includedir
;;
288 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
289 | --includ=* | --inclu=* | --incl=* | --inc=*)
290 includedir
="$ac_optarg" ;;
292 -infodir | --infodir | --infodi | --infod | --info | --inf)
294 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
295 infodir
="$ac_optarg" ;;
297 -libdir | --libdir | --libdi | --libd)
299 -libdir=* | --libdir=* | --libdi=* | --libd=*)
300 libdir
="$ac_optarg" ;;
302 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
303 | --libexe | --libex | --libe)
304 ac_prev
=libexecdir
;;
305 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
306 | --libexe=* | --libex=* | --libe=*)
307 libexecdir
="$ac_optarg" ;;
309 -localstatedir | --localstatedir | --localstatedi | --localstated \
310 | --localstate | --localstat | --localsta | --localst \
311 | --locals | --local | --loca | --loc | --lo)
312 ac_prev
=localstatedir
;;
313 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
314 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
315 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
316 localstatedir
="$ac_optarg" ;;
318 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
320 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
321 mandir
="$ac_optarg" ;;
324 # Obsolete; use --without-fp.
327 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
331 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
332 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
335 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
336 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
337 | --oldin | --oldi | --old | --ol | --o)
338 ac_prev
=oldincludedir
;;
339 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
340 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
341 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
342 oldincludedir
="$ac_optarg" ;;
344 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
346 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
347 prefix
="$ac_optarg" ;;
349 -program-prefix | --program-prefix | --program-prefi | --program-pref \
350 | --program-pre | --program-pr | --program-p)
351 ac_prev
=program_prefix
;;
352 -program-prefix=* | --program-prefix=* | --program-prefi=* \
353 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
354 program_prefix
="$ac_optarg" ;;
356 -program-suffix | --program-suffix | --program-suffi | --program-suff \
357 | --program-suf | --program-su | --program-s)
358 ac_prev
=program_suffix
;;
359 -program-suffix=* | --program-suffix=* | --program-suffi=* \
360 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
361 program_suffix
="$ac_optarg" ;;
363 -program-transform-name | --program-transform-name \
364 | --program-transform-nam | --program-transform-na \
365 | --program-transform-n | --program-transform- \
366 | --program-transform | --program-transfor \
367 | --program-transfo | --program-transf \
368 | --program-trans | --program-tran \
369 | --progr-tra | --program-tr | --program-t)
370 ac_prev
=program_transform_name
;;
371 -program-transform-name=* | --program-transform-name=* \
372 | --program-transform-nam=* | --program-transform-na=* \
373 | --program-transform-n=* | --program-transform-=* \
374 | --program-transform=* | --program-transfor=* \
375 | --program-transfo=* | --program-transf=* \
376 | --program-trans=* | --program-tran=* \
377 | --progr-tra=* | --program-tr=* | --program-t=*)
378 program_transform_name
="$ac_optarg" ;;
380 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
381 | -silent | --silent | --silen | --sile | --sil)
384 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
386 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
388 sbindir
="$ac_optarg" ;;
390 -sharedstatedir | --sharedstatedir | --sharedstatedi \
391 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
392 | --sharedst | --shareds | --shared | --share | --shar \
394 ac_prev
=sharedstatedir
;;
395 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
396 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
397 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
399 sharedstatedir
="$ac_optarg" ;;
401 -site | --site | --sit)
403 -site=* | --site=* | --sit=*)
406 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
408 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
409 srcdir
="$ac_optarg" ;;
411 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
412 | --syscon | --sysco | --sysc | --sys | --sy)
413 ac_prev
=sysconfdir
;;
414 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
415 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
416 sysconfdir
="$ac_optarg" ;;
418 -target | --target | --targe | --targ | --tar | --ta | --t)
420 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
421 target
="$ac_optarg" ;;
423 -v | -verbose | --verbose | --verbos | --verbo | --verb)
426 -version | --version | --versio | --versi | --vers)
427 echo "configure generated by autoconf version 2.12"
431 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
432 # Reject names that are not valid shell variable names.
433 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
434 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
436 ac_package
=`echo $ac_package| sed 's/-/_/g'`
441 eval "with_${ac_package}='$ac_optarg'" ;;
443 -without-* | --without-*)
444 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
445 # Reject names that are not valid shell variable names.
446 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
447 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
449 ac_package
=`echo $ac_package| sed 's/-/_/g'`
450 eval "with_${ac_package}=no" ;;
453 # Obsolete; use --with-x.
456 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
457 | --x-incl | --x-inc | --x-in | --x-i)
458 ac_prev
=x_includes
;;
459 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
460 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
461 x_includes
="$ac_optarg" ;;
463 -x-libraries | --x-libraries | --x-librarie | --x-librari \
464 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
465 ac_prev
=x_libraries
;;
466 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
467 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
468 x_libraries
="$ac_optarg" ;;
470 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
474 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
475 echo "configure: warning: $ac_option: invalid host type" 1>&2
477 if test "x$nonopt" != xNONE
; then
478 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
486 if test -n "$ac_prev"; then
487 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
490 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
492 # File descriptor usage:
495 # 2 errors and warnings
496 # 3 some systems may open it to /dev/tty
497 # 4 used on the Kubota Titan
498 # 6 checking for... messages and results
499 # 5 compiler messages saved in config.log
500 if test "$silent" = yes; then
508 This file contains any messages produced by compilers while
509 running configure, to aid debugging if configure makes a mistake.
512 # Strip out --no-create and --no-recursion so they do not pile up.
513 # Also quote any args containing shell metacharacters.
518 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
519 | --no-cr | --no-c) ;;
520 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
521 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
522 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
523 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
524 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
529 # Only set these to C if already set. These must not be set unconditionally
530 # because not all systems understand e.g. LANG=C (notably SCO).
531 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
532 # Non-C LC_CTYPE values break the ctype check.
533 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
534 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
535 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
536 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
538 # confdefs.h avoids OS command line length limits that DEFS can exceed.
539 rm -rf conftest
* confdefs.h
540 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
543 # A filename unique to this package, relative to the directory that
544 # configure is in, which we can look for to find out if srcdir is correct.
545 ac_unique_file
=configure.
in
547 # Find the source files, if location was not specified.
548 if test -z "$srcdir"; then
549 ac_srcdir_defaulted
=yes
550 # Try the directory containing this script, then its parent.
552 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
553 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
555 if test ! -r $srcdir/$ac_unique_file; then
559 ac_srcdir_defaulted
=no
561 if test ! -r $srcdir/$ac_unique_file; then
562 if test "$ac_srcdir_defaulted" = yes; then
563 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
565 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
568 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
570 # Prefer explicitly selected file to automatically selected ones.
571 if test -z "$CONFIG_SITE"; then
572 if test "x$prefix" != xNONE
; then
573 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
575 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
578 for ac_site_file
in $CONFIG_SITE; do
579 if test -r "$ac_site_file"; then
580 echo "loading site script $ac_site_file"
585 if test -r "$cache_file"; then
586 echo "loading cache $cache_file"
589 echo "creating cache $cache_file"
594 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
595 ac_cpp
='$CPP $CPPFLAGS'
596 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
597 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
598 cross_compiling
=$ac_cv_prog_cc_cross
600 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
601 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
602 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
609 ac_n
= ac_c
='\c' ac_t
=
617 if test "x$OS" = "x"; then
619 { echo "configure: error: "The system variable OS has not been
set"
620 "please
set is everytime befor compiling on this system
"
621 "A good example
for this system would be
:"
622 "setenv OSTYPE
$UNAME for csh as a SHELL
"
623 "EXPORT OSTYPE
=$UNAME for sh as SHELL
"
624 "please
set this and restart again.
"
634 /usr/Motif-1.2/include \
635 /usr/Motif-2.1/include \
637 /usr/include/Motif1.2 \
638 /opt/xpm/include/X11 \
640 /usr/Motif1.2/include \
656 /usr/local/X11R6/include \
657 /usr/local/X11R5/include \
658 /usr/local/X11R4/include \
660 /usr/local/include/X11R6 \
661 /usr/local/include/X11R5 \
662 /usr/local/include/X11R4 \
666 /usr/local/X11/include \
667 /usr/local/include/X11 \
671 /usr/XFree86/include/X11 \
678 /usr/unsupported/include \
679 /usr/athena/include \
680 /usr/local/x11r5/include \
681 /usr/lpp/Xamples/include \
683 /usr/local/include/gtk \
684 /usr/local/include/qt \
687 /usr/openwin/include \
688 /usr/openwin/share/include \
691 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
695 # Extract the first word of "gcc", so it can be a program name with args.
696 set dummy gcc
; ac_word
=$2
697 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
698 echo "configure:699: checking for $ac_word" >&5
699 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
700 echo $ac_n "(cached) $ac_c" 1>&6
702 if test -n "$CC"; then
703 ac_cv_prog_CC
="$CC" # Let the user override the test.
705 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
706 for ac_dir
in $PATH; do
707 test -z "$ac_dir" && ac_dir
=.
708 if test -f $ac_dir/$ac_word; then
717 if test -n "$CC"; then
718 echo "$ac_t""$CC" 1>&6
720 echo "$ac_t""no" 1>&6
723 if test -z "$CC"; then
724 # Extract the first word of "cc", so it can be a program name with args.
725 set dummy cc
; ac_word
=$2
726 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
727 echo "configure:728: checking for $ac_word" >&5
728 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
729 echo $ac_n "(cached) $ac_c" 1>&6
731 if test -n "$CC"; then
732 ac_cv_prog_CC
="$CC" # Let the user override the test.
734 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
736 for ac_dir
in $PATH; do
737 test -z "$ac_dir" && ac_dir
=.
738 if test -f $ac_dir/$ac_word; then
739 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
748 if test $ac_prog_rejected = yes; then
749 # We found a bogon in the path, so make sure we never use it.
750 set dummy
$ac_cv_prog_CC
752 if test $# -gt 0; then
753 # We chose a different compiler from the bogus one.
754 # However, it has the same basename, so the bogon will be chosen
755 # first if we set CC to just the basename; use the full file name.
757 set dummy
"$ac_dir/$ac_word" "$@"
765 if test -n "$CC"; then
766 echo "$ac_t""$CC" 1>&6
768 echo "$ac_t""no" 1>&6
771 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
774 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
775 echo "configure:776: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
778 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
779 ac_cpp
='$CPP $CPPFLAGS'
780 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
781 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
782 cross_compiling
=$ac_cv_prog_cc_cross
784 cat > conftest.
$ac_ext <<EOF
785 #line 786 "configure"
786 #include "confdefs.h"
789 if { (eval echo configure
:790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
790 ac_cv_prog_cc_works
=yes
791 # If we can't run a trivial program, we are probably using a cross compiler.
792 if (.
/conftest
; exit) 2>/dev
/null
; then
793 ac_cv_prog_cc_cross
=no
795 ac_cv_prog_cc_cross
=yes
798 echo "configure: failed program was:" >&5
799 cat conftest.
$ac_ext >&5
800 ac_cv_prog_cc_works
=no
804 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
805 if test $ac_cv_prog_cc_works = no
; then
806 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
808 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
809 echo "configure:810: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
810 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
811 cross_compiling
=$ac_cv_prog_cc_cross
813 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
814 echo "configure:815: checking whether we are using GNU C" >&5
815 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
816 echo $ac_n "(cached) $ac_c" 1>&6
818 cat > conftest.c
<<EOF
823 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
830 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
832 if test $ac_cv_prog_gcc = yes; then
834 ac_test_CFLAGS
="${CFLAGS+set}"
835 ac_save_CFLAGS
="$CFLAGS"
837 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
838 echo "configure:839: checking whether ${CC-cc} accepts -g" >&5
839 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
840 echo $ac_n "(cached) $ac_c" 1>&6
842 echo 'void f(){}' > conftest.c
843 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
852 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
853 if test "$ac_test_CFLAGS" = set; then
854 CFLAGS
="$ac_save_CFLAGS"
855 elif test $ac_cv_prog_cc_g = yes; then
862 test "${CFLAGS+set}" = set || CFLAGS
="-g"
866 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
868 if test "x$CC" != xcc
; then
869 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
870 echo "configure:871: checking whether $CC and cc understand -c and -o together" >&5
872 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
873 echo "configure:874: checking whether cc understands -c and -o together" >&5
875 set dummy
$CC; ac_cc
="`echo $2 |
876 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
877 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
878 echo $ac_n "(cached) $ac_c" 1>&6
880 echo 'foo(){}' > conftest.c
881 # Make sure it works both with $CC and with simple cc.
882 # We do the test twice because some compilers refuse to overwrite an
883 # existing .o file with -o, though they will create one.
884 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5'
885 if { (eval echo configure
:886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
886 test -f conftest.o
&& { (eval echo configure
:887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
888 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
889 if test "x$CC" != xcc
; then
890 # Test first that cc exists at all.
891 if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
892 ac_try
='cc -c conftest.c -o conftest.o 1>&5'
893 if { (eval echo configure
:894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
894 test -f conftest.o
&& { (eval echo configure
:895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
899 # cc exists but doesn't like -o.
900 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
905 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
910 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
911 echo "$ac_t""yes" 1>&6
913 echo "$ac_t""no" 1>&6
914 cat >> confdefs.h
<<\EOF
915 #define NO_MINUS_C_MINUS_O 1
920 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
921 echo "configure:922: checking how to run the C preprocessor" >&5
922 # On Suns, sometimes $CPP names a directory.
923 if test -n "$CPP" && test -d "$CPP"; then
926 if test -z "$CPP"; then
927 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
928 echo $ac_n "(cached) $ac_c" 1>&6
930 # This must be in double quotes, not single quotes, because CPP may get
931 # substituted into the Makefile and "${CC-cc}" will confuse make.
933 # On the NeXT, cc -E runs the code through the compiler's parser,
934 # not just through cpp.
935 cat > conftest.
$ac_ext <<EOF
936 #line 937 "configure"
937 #include "confdefs.h"
941 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
942 { (eval echo configure
:943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
943 ac_err
=`grep -v '^ *+' conftest.out`
944 if test -z "$ac_err"; then
948 echo "configure: failed program was:" >&5
949 cat conftest.
$ac_ext >&5
951 CPP
="${CC-cc} -E -traditional-cpp"
952 cat > conftest.
$ac_ext <<EOF
953 #line 954 "configure"
954 #include "confdefs.h"
958 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
959 { (eval echo configure
:960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
960 ac_err
=`grep -v '^ *+' conftest.out`
961 if test -z "$ac_err"; then
965 echo "configure: failed program was:" >&5
966 cat conftest.
$ac_ext >&5
973 ac_cv_prog_CPP
="$CPP"
975 CPP
="$ac_cv_prog_CPP"
977 ac_cv_prog_CPP
="$CPP"
979 echo "$ac_t""$CPP" 1>&6
981 if test $ac_cv_prog_gcc = yes; then
982 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
983 echo "configure:984: checking whether ${CC-cc} needs -traditional" >&5
984 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
985 echo $ac_n "(cached) $ac_c" 1>&6
987 ac_pattern
="Autoconf.*'x'"
988 cat > conftest.
$ac_ext <<EOF
989 #line 990 "configure"
990 #include "confdefs.h"
994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
995 egrep "$ac_pattern" >/dev
/null
2>&1; then
997 ac_cv_prog_gcc_traditional
=yes
1000 ac_cv_prog_gcc_traditional
=no
1005 if test $ac_cv_prog_gcc_traditional = no
; then
1006 cat > conftest.
$ac_ext <<EOF
1007 #line 1008 "configure"
1008 #include "confdefs.h"
1012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1013 egrep "$ac_pattern" >/dev
/null
2>&1; then
1015 ac_cv_prog_gcc_traditional
=yes
1022 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
1023 if test $ac_cv_prog_gcc_traditional = yes; then
1024 CC
="$CC -traditional"
1031 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1033 # Extract the first word of "$ac_prog", so it can be a program name with args.
1034 set dummy
$ac_prog; ac_word
=$2
1035 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1036 echo "configure:1037: checking for $ac_word" >&5
1037 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1038 echo $ac_n "(cached) $ac_c" 1>&6
1040 if test -n "$CXX"; then
1041 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1043 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1044 for ac_dir
in $PATH; do
1045 test -z "$ac_dir" && ac_dir
=.
1046 if test -f $ac_dir/$ac_word; then
1047 ac_cv_prog_CXX
="$ac_prog"
1054 CXX
="$ac_cv_prog_CXX"
1055 if test -n "$CXX"; then
1056 echo "$ac_t""$CXX" 1>&6
1058 echo "$ac_t""no" 1>&6
1061 test -n "$CXX" && break
1063 test -n "$CXX" || CXX
="gcc"
1066 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1067 echo "configure:1068: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1070 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1071 ac_cpp
='$CXXCPP $CPPFLAGS'
1072 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1073 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1074 cross_compiling
=$ac_cv_prog_cxx_cross
1076 cat > conftest.
$ac_ext <<EOF
1077 #line 1078 "configure"
1078 #include "confdefs.h"
1081 if { (eval echo configure
:1082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1082 ac_cv_prog_cxx_works
=yes
1083 # If we can't run a trivial program, we are probably using a cross compiler.
1084 if (.
/conftest
; exit) 2>/dev
/null
; then
1085 ac_cv_prog_cxx_cross
=no
1087 ac_cv_prog_cxx_cross
=yes
1090 echo "configure: failed program was:" >&5
1091 cat conftest.
$ac_ext >&5
1092 ac_cv_prog_cxx_works
=no
1096 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1097 ac_cpp
='$CPP $CPPFLAGS'
1098 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1099 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1100 cross_compiling
=$ac_cv_prog_cc_cross
1102 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1103 if test $ac_cv_prog_cxx_works = no
; then
1104 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1106 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1107 echo "configure:1108: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1108 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1109 cross_compiling
=$ac_cv_prog_cxx_cross
1111 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1112 echo "configure:1113: checking whether we are using GNU C++" >&5
1113 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1114 echo $ac_n "(cached) $ac_c" 1>&6
1116 cat > conftest.C
<<EOF
1121 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
1128 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1130 if test $ac_cv_prog_gxx = yes; then
1132 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1133 ac_save_CXXFLAGS
="$CXXFLAGS"
1135 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1136 echo "configure:1137: checking whether ${CXX-g++} accepts -g" >&5
1137 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1138 echo $ac_n "(cached) $ac_c" 1>&6
1140 echo 'void f(){}' > conftest.cc
1141 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1142 ac_cv_prog_cxx_g
=yes
1150 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1151 if test "$ac_test_CXXFLAGS" = set; then
1152 CXXFLAGS
="$ac_save_CXXFLAGS"
1153 elif test $ac_cv_prog_cxx_g = yes; then
1160 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1163 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1164 echo "configure:1165: checking how to run the C++ preprocessor" >&5
1165 if test -z "$CXXCPP"; then
1166 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1167 echo $ac_n "(cached) $ac_c" 1>&6
1170 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1171 ac_cpp
='$CXXCPP $CPPFLAGS'
1172 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1173 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1174 cross_compiling
=$ac_cv_prog_cxx_cross
1175 CXXCPP
="${CXX-g++} -E"
1176 cat > conftest.
$ac_ext <<EOF
1177 #line 1178 "configure"
1178 #include "confdefs.h"
1181 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1182 { (eval echo configure
:1183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1183 ac_err
=`grep -v '^ *+' conftest.out`
1184 if test -z "$ac_err"; then
1188 echo "configure: failed program was:" >&5
1189 cat conftest.
$ac_ext >&5
1194 ac_cv_prog_CXXCPP
="$CXXCPP"
1196 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1197 ac_cpp
='$CPP $CPPFLAGS'
1198 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1199 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1200 cross_compiling
=$ac_cv_prog_cc_cross
1203 CXXCPP
="$ac_cv_prog_CXXCPP"
1204 echo "$ac_t""$CXXCPP" 1>&6
1207 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
1211 # Extract the first word of "ranlib", so it can be a program name with args.
1212 set dummy ranlib
; ac_word
=$2
1213 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1214 echo "configure:1215: checking for $ac_word" >&5
1215 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1216 echo $ac_n "(cached) $ac_c" 1>&6
1218 if test -n "$RANLIB"; then
1219 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1221 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1222 for ac_dir
in $PATH; do
1223 test -z "$ac_dir" && ac_dir
=.
1224 if test -f $ac_dir/$ac_word; then
1225 ac_cv_prog_RANLIB
="ranlib"
1230 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1233 RANLIB
="$ac_cv_prog_RANLIB"
1234 if test -n "$RANLIB"; then
1235 echo "$ac_t""$RANLIB" 1>&6
1237 echo "$ac_t""no" 1>&6
1241 # Extract the first word of "ar", so it can be a program name with args.
1242 set dummy
ar; ac_word
=$2
1243 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1244 echo "configure:1245: checking for $ac_word" >&5
1245 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1246 echo $ac_n "(cached) $ac_c" 1>&6
1248 if test -n "$AR"; then
1249 ac_cv_prog_AR
="$AR" # Let the user override the test.
1251 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1252 for ac_dir
in $PATH; do
1253 test -z "$ac_dir" && ac_dir
=.
1254 if test -f $ac_dir/$ac_word; then
1260 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1264 if test -n "$AR"; then
1265 echo "$ac_t""$AR" 1>&6
1267 echo "$ac_t""no" 1>&6
1272 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1273 if test -f $ac_dir/install-sh; then
1275 ac_install_sh
="$ac_aux_dir/install-sh -c"
1277 elif test -f $ac_dir/install.sh
; then
1279 ac_install_sh
="$ac_aux_dir/install.sh -c"
1283 if test -z "$ac_aux_dir"; then
1284 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1286 ac_config_guess
=$ac_aux_dir/config.guess
1287 ac_config_sub
=$ac_aux_dir/config.sub
1288 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1290 # Find a good install program. We prefer a C program (faster),
1291 # so one script is as good as another. But avoid the broken or
1292 # incompatible versions:
1293 # SysV /etc/install, /usr/sbin/install
1294 # SunOS /usr/etc/install
1295 # IRIX /sbin/install
1297 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1298 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1299 # ./install, which can be erroneously created by make from ./install.sh.
1300 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1301 echo "configure:1302: checking for a BSD compatible install" >&5
1302 if test -z "$INSTALL"; then
1303 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1304 echo $ac_n "(cached) $ac_c" 1>&6
1306 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1307 for ac_dir
in $PATH; do
1308 # Account for people who put trailing slashes in PATH elements.
1310 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
1312 # OSF1 and SCO ODT 3.0 have their own names for install.
1313 for ac_prog
in ginstall installbsd scoinst
install; do
1314 if test -f $ac_dir/$ac_prog; then
1315 if test $ac_prog = install &&
1316 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1317 # AIX install. It has an incompatible calling convention.
1318 # OSF/1 installbsd also uses dspmsg, but is usable.
1321 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1332 if test "${ac_cv_path_install+set}" = set; then
1333 INSTALL
="$ac_cv_path_install"
1335 # As a last resort, use the slow shell script. We don't cache a
1336 # path for INSTALL within a source directory, because that will
1337 # break other packages using the cache if that directory is
1338 # removed, or if the path is relative.
1339 INSTALL
="$ac_install_sh"
1342 echo "$ac_t""$INSTALL" 1>&6
1344 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1345 # It thinks the first close brace ends the variable substitution.
1346 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1348 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1351 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1352 echo "configure:1353: checking whether ln -s works" >&5
1353 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1354 echo $ac_n "(cached) $ac_c" 1>&6
1357 if ln -s X conftestdata
2>/dev
/null
1360 ac_cv_prog_LN_S
="ln -s"
1365 LN_S
="$ac_cv_prog_LN_S"
1366 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1367 echo "$ac_t""yes" 1>&6
1369 echo "$ac_t""no" 1>&6
1373 for ac_prog
in mawk gawk nawk
awk
1375 # Extract the first word of "$ac_prog", so it can be a program name with args.
1376 set dummy
$ac_prog; ac_word
=$2
1377 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1378 echo "configure:1379: checking for $ac_word" >&5
1379 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1380 echo $ac_n "(cached) $ac_c" 1>&6
1382 if test -n "$AWK"; then
1383 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1385 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1386 for ac_dir
in $PATH; do
1387 test -z "$ac_dir" && ac_dir
=.
1388 if test -f $ac_dir/$ac_word; then
1389 ac_cv_prog_AWK
="$ac_prog"
1396 AWK
="$ac_cv_prog_AWK"
1397 if test -n "$AWK"; then
1398 echo "$ac_t""$AWK" 1>&6
1400 echo "$ac_t""no" 1>&6
1403 test -n "$AWK" && break
1407 # Extract the first word of "strip", so it can be a program name with args.
1408 set dummy strip
; ac_word
=$2
1409 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1410 echo "configure:1411: checking for $ac_word" >&5
1411 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
1412 echo $ac_n "(cached) $ac_c" 1>&6
1414 if test -n "$STRIP"; then
1415 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1417 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1418 for ac_dir
in $PATH; do
1419 test -z "$ac_dir" && ac_dir
=.
1420 if test -f $ac_dir/$ac_word; then
1421 ac_cv_prog_STRIP
="strip"
1426 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
1429 STRIP
="$ac_cv_prog_STRIP"
1430 if test -n "$STRIP"; then
1431 echo "$ac_t""$STRIP" 1>&6
1433 echo "$ac_t""no" 1>&6
1437 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
1438 echo "configure:1439: checking "make for VPATH support
"" >&5
1439 cat - << EOF > confMake
1445 if test ! -d sub
; then
1448 echo dummy
> sub
/file
1449 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
1451 rm -f sub
/file check final_file confMake
1453 if test "$RESULT" = 0; then
1454 echo "$ac_t""yes" 1>&6
1456 echo "$ac_t""no" 1>&6
1457 { echo "configure: error: You need a make-utility that is able to use the variable
1459 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
1463 # If we find X, set shell vars x_includes and x_libraries to the
1464 # paths, otherwise set no_x=yes.
1465 # Uses ac_ vars as temps to allow command line to override cache and checks.
1466 # --without-x overrides everything else, but does not touch the cache.
1467 echo $ac_n "checking for X""... $ac_c" 1>&6
1468 echo "configure:1469: checking for X" >&5
1470 # Check whether --with-x or --without-x was given.
1471 if test "${with_x+set}" = set; then
1476 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
1477 if test "x$with_x" = xno
; then
1478 # The user explicitly disabled X.
1481 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
1482 # Both variables are already set.
1485 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
1486 echo $ac_n "(cached) $ac_c" 1>&6
1488 # One or both of the vars are not set, and there is no cached value.
1489 ac_x_includes
=NO ac_x_libraries
=NO
1491 if mkdir conftestdir
; then
1493 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1494 cat > Imakefile
<<'EOF'
1496 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1498 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
1499 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1500 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
1501 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1502 for ac_extension
in a so sl
; do
1503 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
1504 test -f $ac_im_libdir/libX11.
$ac_extension; then
1505 ac_im_usrlibdir
=$ac_im_libdir; break
1508 # Screen out bogus values from the imake configuration. They are
1509 # bogus both because they are the default anyway, and because
1510 # using them would break gcc on systems where it needs fixed includes.
1511 case "$ac_im_incroot" in
1513 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
1515 case "$ac_im_usrlibdir" in
1517 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
1524 if test "$ac_x_includes" = NO
; then
1525 # Guess where to find include files, by looking for this one X11 .h file.
1526 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
1528 # First, try using that file with no special directory specified.
1529 cat > conftest.
$ac_ext <<EOF
1530 #line 1531 "configure"
1531 #include "confdefs.h"
1532 #include <$x_direct_test_include>
1534 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1535 { (eval echo configure
:1536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1536 ac_err
=`grep -v '^ *+' conftest.out`
1537 if test -z "$ac_err"; then
1539 # We can compile using X headers with no special include directory.
1543 echo "configure: failed program was:" >&5
1544 cat conftest.
$ac_ext >&5
1546 # Look for the header file in a standard set of common directories.
1547 # Check X11 before X11Rn because it is often a symlink to the current release.
1550 /usr
/X
11R
6/include \
1551 /usr
/X
11R
5/include \
1552 /usr
/X
11R
4/include \
1555 /usr
/include
/X11R6 \
1556 /usr
/include
/X11R5 \
1557 /usr
/include
/X11R4 \
1559 /usr
/local
/X
11/include \
1560 /usr
/local
/X
11R
6/include \
1561 /usr
/local
/X
11R
5/include \
1562 /usr
/local
/X
11R
4/include \
1564 /usr
/local
/include
/X11 \
1565 /usr
/local
/include
/X11R6 \
1566 /usr
/local
/include
/X11R5 \
1567 /usr
/local
/include
/X11R4 \
1571 /usr
/XFree
86/include
/X11 \
1574 /usr
/local
/include \
1575 /usr
/unsupported
/include \
1576 /usr
/athena
/include \
1577 /usr
/local
/x
11r
5/include \
1578 /usr
/lpp
/Xamples
/include \
1580 /usr
/openwin
/include \
1581 /usr
/openwin
/share
/include \
1584 if test -r "$ac_dir/$x_direct_test_include"; then
1585 ac_x_includes
=$ac_dir
1591 fi # $ac_x_includes = NO
1593 if test "$ac_x_libraries" = NO
; then
1594 # Check for the libraries.
1596 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
1597 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
1599 # See if we find them without any special options.
1600 # Don't add to $LIBS permanently.
1601 ac_save_LIBS
="$LIBS"
1602 LIBS
="-l$x_direct_test_library $LIBS"
1603 cat > conftest.
$ac_ext <<EOF
1604 #line 1605 "configure"
1605 #include "confdefs.h"
1608 ${x_direct_test_function}()
1611 if { (eval echo configure
:1612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1613 LIBS
="$ac_save_LIBS"
1614 # We can link X programs with no special library path.
1617 echo "configure: failed program was:" >&5
1618 cat conftest.
$ac_ext >&5
1620 LIBS
="$ac_save_LIBS"
1621 # First see if replacing the include by lib works.
1622 # Check X11 before X11Rn because it is often a symlink to the current release.
1623 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
1634 /usr
/local
/X
11/lib \
1635 /usr
/local
/X
11R
6/lib \
1636 /usr
/local
/X
11R
5/lib \
1637 /usr
/local
/X
11R
4/lib \
1639 /usr
/local
/lib
/X11 \
1640 /usr
/local
/lib
/X11R6 \
1641 /usr
/local
/lib
/X11R5 \
1642 /usr
/local
/lib
/X11R4 \
1646 /usr
/XFree
86/lib
/X11 \
1650 /usr
/unsupported
/lib \
1652 /usr
/local
/x
11r
5/lib \
1653 /usr
/lpp
/Xamples
/lib \
1657 /usr
/openwin
/share
/lib \
1660 for ac_extension
in a so sl
; do
1661 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
1662 ac_x_libraries
=$ac_dir
1669 fi # $ac_x_libraries = NO
1671 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
1672 # Didn't find X anywhere. Cache the known absence of X.
1673 ac_cv_have_x
="have_x=no"
1675 # Record where we found X for the cache.
1676 ac_cv_have_x
="have_x=yes \
1677 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1681 eval "$ac_cv_have_x"
1684 if test "$have_x" != yes; then
1685 echo "$ac_t""$have_x" 1>&6
1688 # If each of the values was on the command line, it overrides each guess.
1689 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
1690 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
1691 # Update the cache value to reflect the command line values.
1692 ac_cv_have_x
="have_x=yes \
1693 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1694 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
1697 if test "$no_x" = yes; then
1698 # Not all programs may use this symbol, but it does not hurt to define it.
1699 cat >> confdefs.h
<<\EOF
1700 #define X_DISPLAY_MISSING 1
1703 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
1705 if test -n "$x_includes"; then
1706 X_CFLAGS
="$X_CFLAGS -I$x_includes"
1709 # It would also be nice to do this for all -L options, not just this one.
1710 if test -n "$x_libraries"; then
1711 X_LIBS
="$X_LIBS -L$x_libraries"
1712 # For Solaris; some versions of Sun CC require a space after -R and
1713 # others require no space. Words are not sufficient . . . .
1714 case "`(uname -sr) 2>/dev/null`" in
1716 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
1717 echo "configure:1718: checking whether -R must be followed by a space" >&5
1718 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
1719 cat > conftest.
$ac_ext <<EOF
1720 #line 1721 "configure"
1721 #include "confdefs.h"
1727 if { (eval echo configure
:1728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1731 echo "configure: failed program was:" >&5
1732 cat conftest.
$ac_ext >&5
1737 if test $ac_R_nospace = yes; then
1738 echo "$ac_t""no" 1>&6
1739 X_LIBS
="$X_LIBS -R$x_libraries"
1741 LIBS
="$ac_xsave_LIBS -R $x_libraries"
1742 cat > conftest.
$ac_ext <<EOF
1743 #line 1744 "configure"
1744 #include "confdefs.h"
1750 if { (eval echo configure
:1751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1754 echo "configure: failed program was:" >&5
1755 cat conftest.
$ac_ext >&5
1760 if test $ac_R_space = yes; then
1761 echo "$ac_t""yes" 1>&6
1762 X_LIBS
="$X_LIBS -R $x_libraries"
1764 echo "$ac_t""neither works" 1>&6
1767 LIBS
="$ac_xsave_LIBS"
1771 # Check for system-dependent libraries X programs must link with.
1772 # Do this before checking for the system-independent R6 libraries
1773 # (-lICE), since we may need -lsocket or whatever for X linking.
1775 if test "$ISC" = yes; then
1776 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
1778 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
1779 # libraries were built with DECnet support. And karl@cs.umb.edu says
1780 # the Alpha needs dnet_stub (dnet does not exist).
1781 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
1782 echo "configure:1783: checking for dnet_ntoa in -ldnet" >&5
1783 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1784 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1785 echo $ac_n "(cached) $ac_c" 1>&6
1787 ac_save_LIBS
="$LIBS"
1789 cat > conftest.
$ac_ext <<EOF
1790 #line 1791 "configure"
1791 #include "confdefs.h"
1792 /* Override any gcc2 internal prototype to avoid an error. */
1793 /* We use char because int might match the return type of a gcc2
1794 builtin and then its argument prototype would still apply. */
1801 if { (eval echo configure
:1802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1803 eval "ac_cv_lib_$ac_lib_var=yes"
1805 echo "configure: failed program was:" >&5
1806 cat conftest.
$ac_ext >&5
1808 eval "ac_cv_lib_$ac_lib_var=no"
1811 LIBS
="$ac_save_LIBS"
1814 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1815 echo "$ac_t""yes" 1>&6
1816 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
1818 echo "$ac_t""no" 1>&6
1821 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
1822 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
1823 echo "configure:1824: checking for dnet_ntoa in -ldnet_stub" >&5
1824 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1825 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1826 echo $ac_n "(cached) $ac_c" 1>&6
1828 ac_save_LIBS
="$LIBS"
1829 LIBS
="-ldnet_stub $LIBS"
1830 cat > conftest.
$ac_ext <<EOF
1831 #line 1832 "configure"
1832 #include "confdefs.h"
1833 /* Override any gcc2 internal prototype to avoid an error. */
1834 /* We use char because int might match the return type of a gcc2
1835 builtin and then its argument prototype would still apply. */
1842 if { (eval echo configure
:1843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1844 eval "ac_cv_lib_$ac_lib_var=yes"
1846 echo "configure: failed program was:" >&5
1847 cat conftest.
$ac_ext >&5
1849 eval "ac_cv_lib_$ac_lib_var=no"
1852 LIBS
="$ac_save_LIBS"
1855 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1856 echo "$ac_t""yes" 1>&6
1857 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
1859 echo "$ac_t""no" 1>&6
1864 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
1865 # to get the SysV transport functions.
1866 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
1868 # The nsl library prevents programs from opening the X display
1869 # on Irix 5.2, according to dickey@clark.net.
1870 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1871 echo "configure:1872: checking for gethostbyname" >&5
1872 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1873 echo $ac_n "(cached) $ac_c" 1>&6
1875 cat > conftest.
$ac_ext <<EOF
1876 #line 1877 "configure"
1877 #include "confdefs.h"
1878 /* System header to define __stub macros and hopefully few prototypes,
1879 which can conflict with char gethostbyname(); below. */
1881 /* Override any gcc2 internal prototype to avoid an error. */
1882 /* We use char because int might match the return type of a gcc2
1883 builtin and then its argument prototype would still apply. */
1884 char gethostbyname();
1888 /* The GNU C library defines this for functions which it implements
1889 to always fail with ENOSYS. Some functions are actually named
1890 something starting with __ and the normal name is an alias. */
1891 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
1899 if { (eval echo configure
:1900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1901 eval "ac_cv_func_gethostbyname=yes"
1903 echo "configure: failed program was:" >&5
1904 cat conftest.
$ac_ext >&5
1906 eval "ac_cv_func_gethostbyname=no"
1911 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1912 echo "$ac_t""yes" 1>&6
1915 echo "$ac_t""no" 1>&6
1918 if test $ac_cv_func_gethostbyname = no
; then
1919 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1920 echo "configure:1921: checking for gethostbyname in -lnsl" >&5
1921 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1922 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1923 echo $ac_n "(cached) $ac_c" 1>&6
1925 ac_save_LIBS
="$LIBS"
1927 cat > conftest.
$ac_ext <<EOF
1928 #line 1929 "configure"
1929 #include "confdefs.h"
1930 /* Override any gcc2 internal prototype to avoid an error. */
1931 /* We use char because int might match the return type of a gcc2
1932 builtin and then its argument prototype would still apply. */
1933 char gethostbyname();
1939 if { (eval echo configure
:1940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1941 eval "ac_cv_lib_$ac_lib_var=yes"
1943 echo "configure: failed program was:" >&5
1944 cat conftest.
$ac_ext >&5
1946 eval "ac_cv_lib_$ac_lib_var=no"
1949 LIBS
="$ac_save_LIBS"
1952 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1953 echo "$ac_t""yes" 1>&6
1954 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
1956 echo "$ac_t""no" 1>&6
1961 # lieder@skyler.mavd.honeywell.com says without -lsocket,
1962 # socket/setsockopt and other routines are undefined under SCO ODT
1963 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
1964 # on later versions), says simon@lia.di.epfl.ch: it contains
1965 # gethostby* variants that don't use the nameserver (or something).
1966 # -lsocket must be given before -lnsl if both are needed.
1967 # We assume that if connect needs -lnsl, so does gethostbyname.
1968 echo $ac_n "checking for connect""... $ac_c" 1>&6
1969 echo "configure:1970: checking for connect" >&5
1970 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1971 echo $ac_n "(cached) $ac_c" 1>&6
1973 cat > conftest.
$ac_ext <<EOF
1974 #line 1975 "configure"
1975 #include "confdefs.h"
1976 /* System header to define __stub macros and hopefully few prototypes,
1977 which can conflict with char connect(); below. */
1979 /* Override any gcc2 internal prototype to avoid an error. */
1980 /* We use char because int might match the return type of a gcc2
1981 builtin and then its argument prototype would still apply. */
1986 /* The GNU C library defines this for functions which it implements
1987 to always fail with ENOSYS. Some functions are actually named
1988 something starting with __ and the normal name is an alias. */
1989 #if defined (__stub_connect) || defined (__stub___connect)
1997 if { (eval echo configure
:1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1999 eval "ac_cv_func_connect=yes"
2001 echo "configure: failed program was:" >&5
2002 cat conftest.
$ac_ext >&5
2004 eval "ac_cv_func_connect=no"
2009 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
2010 echo "$ac_t""yes" 1>&6
2013 echo "$ac_t""no" 1>&6
2016 if test $ac_cv_func_connect = no
; then
2017 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
2018 echo "configure:2019: checking for connect in -lsocket" >&5
2019 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
2020 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2021 echo $ac_n "(cached) $ac_c" 1>&6
2023 ac_save_LIBS
="$LIBS"
2024 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
2025 cat > conftest.
$ac_ext <<EOF
2026 #line 2027 "configure"
2027 #include "confdefs.h"
2028 /* Override any gcc2 internal prototype to avoid an error. */
2029 /* We use char because int might match the return type of a gcc2
2030 builtin and then its argument prototype would still apply. */
2037 if { (eval echo configure
:2038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2039 eval "ac_cv_lib_$ac_lib_var=yes"
2041 echo "configure: failed program was:" >&5
2042 cat conftest.
$ac_ext >&5
2044 eval "ac_cv_lib_$ac_lib_var=no"
2047 LIBS
="$ac_save_LIBS"
2050 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2051 echo "$ac_t""yes" 1>&6
2052 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
2054 echo "$ac_t""no" 1>&6
2059 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2060 echo $ac_n "checking for remove""... $ac_c" 1>&6
2061 echo "configure:2062: checking for remove" >&5
2062 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2063 echo $ac_n "(cached) $ac_c" 1>&6
2065 cat > conftest.
$ac_ext <<EOF
2066 #line 2067 "configure"
2067 #include "confdefs.h"
2068 /* System header to define __stub macros and hopefully few prototypes,
2069 which can conflict with char remove(); below. */
2071 /* Override any gcc2 internal prototype to avoid an error. */
2072 /* We use char because int might match the return type of a gcc2
2073 builtin and then its argument prototype would still apply. */
2078 /* The GNU C library defines this for functions which it implements
2079 to always fail with ENOSYS. Some functions are actually named
2080 something starting with __ and the normal name is an alias. */
2081 #if defined (__stub_remove) || defined (__stub___remove)
2089 if { (eval echo configure
:2090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2091 eval "ac_cv_func_remove=yes"
2093 echo "configure: failed program was:" >&5
2094 cat conftest.
$ac_ext >&5
2096 eval "ac_cv_func_remove=no"
2101 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
2102 echo "$ac_t""yes" 1>&6
2105 echo "$ac_t""no" 1>&6
2108 if test $ac_cv_func_remove = no
; then
2109 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2110 echo "configure:2111: checking for remove in -lposix" >&5
2111 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2112 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2113 echo $ac_n "(cached) $ac_c" 1>&6
2115 ac_save_LIBS
="$LIBS"
2116 LIBS
="-lposix $LIBS"
2117 cat > conftest.
$ac_ext <<EOF
2118 #line 2119 "configure"
2119 #include "confdefs.h"
2120 /* Override any gcc2 internal prototype to avoid an error. */
2121 /* We use char because int might match the return type of a gcc2
2122 builtin and then its argument prototype would still apply. */
2129 if { (eval echo configure
:2130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2131 eval "ac_cv_lib_$ac_lib_var=yes"
2133 echo "configure: failed program was:" >&5
2134 cat conftest.
$ac_ext >&5
2136 eval "ac_cv_lib_$ac_lib_var=no"
2139 LIBS
="$ac_save_LIBS"
2142 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2143 echo "$ac_t""yes" 1>&6
2144 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
2146 echo "$ac_t""no" 1>&6
2151 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2152 echo $ac_n "checking for shmat""... $ac_c" 1>&6
2153 echo "configure:2154: checking for shmat" >&5
2154 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2155 echo $ac_n "(cached) $ac_c" 1>&6
2157 cat > conftest.
$ac_ext <<EOF
2158 #line 2159 "configure"
2159 #include "confdefs.h"
2160 /* System header to define __stub macros and hopefully few prototypes,
2161 which can conflict with char shmat(); below. */
2163 /* Override any gcc2 internal prototype to avoid an error. */
2164 /* We use char because int might match the return type of a gcc2
2165 builtin and then its argument prototype would still apply. */
2170 /* The GNU C library defines this for functions which it implements
2171 to always fail with ENOSYS. Some functions are actually named
2172 something starting with __ and the normal name is an alias. */
2173 #if defined (__stub_shmat) || defined (__stub___shmat)
2181 if { (eval echo configure
:2182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2183 eval "ac_cv_func_shmat=yes"
2185 echo "configure: failed program was:" >&5
2186 cat conftest.
$ac_ext >&5
2188 eval "ac_cv_func_shmat=no"
2193 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
2194 echo "$ac_t""yes" 1>&6
2197 echo "$ac_t""no" 1>&6
2200 if test $ac_cv_func_shmat = no
; then
2201 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2202 echo "configure:2203: checking for shmat in -lipc" >&5
2203 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2204 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2205 echo $ac_n "(cached) $ac_c" 1>&6
2207 ac_save_LIBS
="$LIBS"
2209 cat > conftest.
$ac_ext <<EOF
2210 #line 2211 "configure"
2211 #include "confdefs.h"
2212 /* Override any gcc2 internal prototype to avoid an error. */
2213 /* We use char because int might match the return type of a gcc2
2214 builtin and then its argument prototype would still apply. */
2221 if { (eval echo configure
:2222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2223 eval "ac_cv_lib_$ac_lib_var=yes"
2225 echo "configure: failed program was:" >&5
2226 cat conftest.
$ac_ext >&5
2228 eval "ac_cv_lib_$ac_lib_var=no"
2231 LIBS
="$ac_save_LIBS"
2234 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2235 echo "$ac_t""yes" 1>&6
2236 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
2238 echo "$ac_t""no" 1>&6
2244 # Check for libraries that X11R6 Xt/Xaw programs need.
2245 ac_save_LDFLAGS
="$LDFLAGS"
2246 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
2247 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
2248 # check for ICE first), but we must link in the order -lSM -lICE or
2249 # we get undefined symbols. So assume we have SM if we have ICE.
2250 # These have to be linked with before -lX11, unlike the other
2251 # libraries we check for below, so use a different variable.
2252 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2253 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2254 echo "configure:2255: checking for IceConnectionNumber in -lICE" >&5
2255 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2256 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2257 echo $ac_n "(cached) $ac_c" 1>&6
2259 ac_save_LIBS
="$LIBS"
2261 cat > conftest.
$ac_ext <<EOF
2262 #line 2263 "configure"
2263 #include "confdefs.h"
2264 /* Override any gcc2 internal prototype to avoid an error. */
2265 /* We use char because int might match the return type of a gcc2
2266 builtin and then its argument prototype would still apply. */
2267 char IceConnectionNumber();
2270 IceConnectionNumber()
2273 if { (eval echo configure
:2274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2275 eval "ac_cv_lib_$ac_lib_var=yes"
2277 echo "configure: failed program was:" >&5
2278 cat conftest.
$ac_ext >&5
2280 eval "ac_cv_lib_$ac_lib_var=no"
2283 LIBS
="$ac_save_LIBS"
2286 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2287 echo "$ac_t""yes" 1>&6
2288 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
2290 echo "$ac_t""no" 1>&6
2293 LDFLAGS
="$ac_save_LDFLAGS"
2299 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
2301 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2302 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2303 echo "configure:2304: checking for $ac_hdr that defines DIR" >&5
2304 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2305 echo $ac_n "(cached) $ac_c" 1>&6
2307 cat > conftest.
$ac_ext <<EOF
2308 #line 2309 "configure"
2309 #include "confdefs.h"
2310 #include <sys/types.h>
2316 if { (eval echo configure
:2317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2318 eval "ac_cv_header_dirent_$ac_safe=yes"
2320 echo "configure: failed program was:" >&5
2321 cat conftest.
$ac_ext >&5
2323 eval "ac_cv_header_dirent_$ac_safe=no"
2327 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
2328 echo "$ac_t""yes" 1>&6
2329 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2330 cat >> confdefs.h
<<EOF
2331 #define $ac_tr_hdr 1
2333 ac_header_dirent
=$ac_hdr; break
2335 echo "$ac_t""no" 1>&6
2338 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2339 if test $ac_header_dirent = dirent.h
; then
2340 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2341 echo "configure:2342: checking for opendir in -ldir" >&5
2342 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2343 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2344 echo $ac_n "(cached) $ac_c" 1>&6
2346 ac_save_LIBS
="$LIBS"
2348 cat > conftest.
$ac_ext <<EOF
2349 #line 2350 "configure"
2350 #include "confdefs.h"
2351 /* Override any gcc2 internal prototype to avoid an error. */
2352 /* We use char because int might match the return type of a gcc2
2353 builtin and then its argument prototype would still apply. */
2360 if { (eval echo configure
:2361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2362 eval "ac_cv_lib_$ac_lib_var=yes"
2364 echo "configure: failed program was:" >&5
2365 cat conftest.
$ac_ext >&5
2367 eval "ac_cv_lib_$ac_lib_var=no"
2370 LIBS
="$ac_save_LIBS"
2373 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2374 echo "$ac_t""yes" 1>&6
2377 echo "$ac_t""no" 1>&6
2381 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2382 echo "configure:2383: checking for opendir in -lx" >&5
2383 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2384 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2385 echo $ac_n "(cached) $ac_c" 1>&6
2387 ac_save_LIBS
="$LIBS"
2389 cat > conftest.
$ac_ext <<EOF
2390 #line 2391 "configure"
2391 #include "confdefs.h"
2392 /* Override any gcc2 internal prototype to avoid an error. */
2393 /* We use char because int might match the return type of a gcc2
2394 builtin and then its argument prototype would still apply. */
2401 if { (eval echo configure
:2402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2403 eval "ac_cv_lib_$ac_lib_var=yes"
2405 echo "configure: failed program was:" >&5
2406 cat conftest.
$ac_ext >&5
2408 eval "ac_cv_lib_$ac_lib_var=no"
2411 LIBS
="$ac_save_LIBS"
2414 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2415 echo "$ac_t""yes" 1>&6
2418 echo "$ac_t""no" 1>&6
2423 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2424 echo "configure:2425: checking for ANSI C header files" >&5
2425 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2426 echo $ac_n "(cached) $ac_c" 1>&6
2428 cat > conftest.
$ac_ext <<EOF
2429 #line 2430 "configure"
2430 #include "confdefs.h"
2436 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2437 { (eval echo configure
:2438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2438 ac_err
=`grep -v '^ *+' conftest.out`
2439 if test -z "$ac_err"; then
2441 ac_cv_header_stdc
=yes
2444 echo "configure: failed program was:" >&5
2445 cat conftest.
$ac_ext >&5
2447 ac_cv_header_stdc
=no
2451 if test $ac_cv_header_stdc = yes; then
2452 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2453 cat > conftest.
$ac_ext <<EOF
2454 #line 2455 "configure"
2455 #include "confdefs.h"
2458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2459 egrep "memchr" >/dev
/null
2>&1; then
2463 ac_cv_header_stdc
=no
2469 if test $ac_cv_header_stdc = yes; then
2470 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2471 cat > conftest.
$ac_ext <<EOF
2472 #line 2473 "configure"
2473 #include "confdefs.h"
2476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2477 egrep "free" >/dev
/null
2>&1; then
2481 ac_cv_header_stdc
=no
2487 if test $ac_cv_header_stdc = yes; then
2488 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2489 if test "$cross_compiling" = yes; then
2492 cat > conftest.
$ac_ext <<EOF
2493 #line 2494 "configure"
2494 #include "confdefs.h"
2496 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2497 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2498 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2499 int main () { int i; for (i = 0; i < 256; i++)
2500 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2504 if { (eval echo configure
:2505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2508 echo "configure: failed program was:" >&5
2509 cat conftest.
$ac_ext >&5
2511 ac_cv_header_stdc
=no
2519 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2520 if test $ac_cv_header_stdc = yes; then
2521 cat >> confdefs.h
<<\EOF
2522 #define STDC_HEADERS 1
2527 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2528 echo "configure:2529: checking for sys/wait.h that is POSIX.1 compatible" >&5
2529 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2530 echo $ac_n "(cached) $ac_c" 1>&6
2532 cat > conftest.
$ac_ext <<EOF
2533 #line 2534 "configure"
2534 #include "confdefs.h"
2535 #include <sys/types.h>
2536 #include <sys/wait.h>
2538 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2541 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2546 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2549 if { (eval echo configure
:2550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2551 ac_cv_header_sys_wait_h
=yes
2553 echo "configure: failed program was:" >&5
2554 cat conftest.
$ac_ext >&5
2556 ac_cv_header_sys_wait_h
=no
2561 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2562 if test $ac_cv_header_sys_wait_h = yes; then
2563 cat >> confdefs.h
<<\EOF
2564 #define HAVE_SYS_WAIT_H 1
2569 for ac_hdr
in fcntl.h
2571 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2572 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2573 echo "configure:2574: checking for $ac_hdr" >&5
2574 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2575 echo $ac_n "(cached) $ac_c" 1>&6
2577 cat > conftest.
$ac_ext <<EOF
2578 #line 2579 "configure"
2579 #include "confdefs.h"
2582 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2583 { (eval echo configure
:2584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2584 ac_err
=`grep -v '^ *+' conftest.out`
2585 if test -z "$ac_err"; then
2587 eval "ac_cv_header_$ac_safe=yes"
2590 echo "configure: failed program was:" >&5
2591 cat conftest.
$ac_ext >&5
2593 eval "ac_cv_header_$ac_safe=no"
2597 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2598 echo "$ac_t""yes" 1>&6
2599 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2600 cat >> confdefs.h
<<EOF
2601 #define $ac_tr_hdr 1
2605 echo "$ac_t""no" 1>&6
2609 for ac_hdr
in limits.h
2611 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2612 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2613 echo "configure:2614: checking for $ac_hdr" >&5
2614 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2615 echo $ac_n "(cached) $ac_c" 1>&6
2617 cat > conftest.
$ac_ext <<EOF
2618 #line 2619 "configure"
2619 #include "confdefs.h"
2622 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2623 { (eval echo configure
:2624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2624 ac_err
=`grep -v '^ *+' conftest.out`
2625 if test -z "$ac_err"; then
2627 eval "ac_cv_header_$ac_safe=yes"
2630 echo "configure: failed program was:" >&5
2631 cat conftest.
$ac_ext >&5
2633 eval "ac_cv_header_$ac_safe=no"
2637 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2638 echo "$ac_t""yes" 1>&6
2639 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2640 cat >> confdefs.h
<<EOF
2641 #define $ac_tr_hdr 1
2645 echo "$ac_t""no" 1>&6
2649 for ac_hdr
in sys
/file.h
2651 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2652 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2653 echo "configure:2654: checking for $ac_hdr" >&5
2654 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2655 echo $ac_n "(cached) $ac_c" 1>&6
2657 cat > conftest.
$ac_ext <<EOF
2658 #line 2659 "configure"
2659 #include "confdefs.h"
2662 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2663 { (eval echo configure
:2664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2664 ac_err
=`grep -v '^ *+' conftest.out`
2665 if test -z "$ac_err"; then
2667 eval "ac_cv_header_$ac_safe=yes"
2670 echo "configure: failed program was:" >&5
2671 cat conftest.
$ac_ext >&5
2673 eval "ac_cv_header_$ac_safe=no"
2677 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2678 echo "$ac_t""yes" 1>&6
2679 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2680 cat >> confdefs.h
<<EOF
2681 #define $ac_tr_hdr 1
2685 echo "$ac_t""no" 1>&6
2689 for ac_hdr
in sys
/time.h
2691 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2692 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2693 echo "configure:2694: checking for $ac_hdr" >&5
2694 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2695 echo $ac_n "(cached) $ac_c" 1>&6
2697 cat > conftest.
$ac_ext <<EOF
2698 #line 2699 "configure"
2699 #include "confdefs.h"
2702 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2703 { (eval echo configure
:2704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2704 ac_err
=`grep -v '^ *+' conftest.out`
2705 if test -z "$ac_err"; then
2707 eval "ac_cv_header_$ac_safe=yes"
2710 echo "configure: failed program was:" >&5
2711 cat conftest.
$ac_ext >&5
2713 eval "ac_cv_header_$ac_safe=no"
2717 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2718 echo "$ac_t""yes" 1>&6
2719 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2720 cat >> confdefs.h
<<EOF
2721 #define $ac_tr_hdr 1
2725 echo "$ac_t""no" 1>&6
2729 for ac_hdr
in unistd.h
2731 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2732 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2733 echo "configure:2734: checking for $ac_hdr" >&5
2734 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2735 echo $ac_n "(cached) $ac_c" 1>&6
2737 cat > conftest.
$ac_ext <<EOF
2738 #line 2739 "configure"
2739 #include "confdefs.h"
2742 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2743 { (eval echo configure
:2744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2744 ac_err
=`grep -v '^ *+' conftest.out`
2745 if test -z "$ac_err"; then
2747 eval "ac_cv_header_$ac_safe=yes"
2750 echo "configure: failed program was:" >&5
2751 cat conftest.
$ac_ext >&5
2753 eval "ac_cv_header_$ac_safe=no"
2757 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2758 echo "$ac_t""yes" 1>&6
2759 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2760 cat >> confdefs.h
<<EOF
2761 #define $ac_tr_hdr 1
2765 echo "$ac_t""no" 1>&6
2769 for ac_hdr
in wchar.h
2771 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2772 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2773 echo "configure:2774: checking for $ac_hdr" >&5
2774 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2775 echo $ac_n "(cached) $ac_c" 1>&6
2777 cat > conftest.
$ac_ext <<EOF
2778 #line 2779 "configure"
2779 #include "confdefs.h"
2782 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2783 { (eval echo configure
:2784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2784 ac_err
=`grep -v '^ *+' conftest.out`
2785 if test -z "$ac_err"; then
2787 eval "ac_cv_header_$ac_safe=yes"
2790 echo "configure: failed program was:" >&5
2791 cat conftest.
$ac_ext >&5
2793 eval "ac_cv_header_$ac_safe=no"
2797 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2798 echo "$ac_t""yes" 1>&6
2799 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2800 cat >> confdefs.h
<<EOF
2801 #define $ac_tr_hdr 1
2805 echo "$ac_t""no" 1>&6
2809 for ac_hdr
in wcstr.h
2811 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2812 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2813 echo "configure:2814: checking for $ac_hdr" >&5
2814 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2815 echo $ac_n "(cached) $ac_c" 1>&6
2817 cat > conftest.
$ac_ext <<EOF
2818 #line 2819 "configure"
2819 #include "confdefs.h"
2822 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2823 { (eval echo configure
:2824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2824 ac_err
=`grep -v '^ *+' conftest.out`
2825 if test -z "$ac_err"; then
2827 eval "ac_cv_header_$ac_safe=yes"
2830 echo "configure: failed program was:" >&5
2831 cat conftest.
$ac_ext >&5
2833 eval "ac_cv_header_$ac_safe=no"
2837 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2838 echo "$ac_t""yes" 1>&6
2839 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2840 cat >> confdefs.h
<<EOF
2841 #define $ac_tr_hdr 1
2845 echo "$ac_t""no" 1>&6
2849 for ac_hdr
in fnmatch.h
2851 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2852 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2853 echo "configure:2854: checking for $ac_hdr" >&5
2854 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2855 echo $ac_n "(cached) $ac_c" 1>&6
2857 cat > conftest.
$ac_ext <<EOF
2858 #line 2859 "configure"
2859 #include "confdefs.h"
2862 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2863 { (eval echo configure
:2864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2864 ac_err
=`grep -v '^ *+' conftest.out`
2865 if test -z "$ac_err"; then
2867 eval "ac_cv_header_$ac_safe=yes"
2870 echo "configure: failed program was:" >&5
2871 cat conftest.
$ac_ext >&5
2873 eval "ac_cv_header_$ac_safe=no"
2877 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2878 echo "$ac_t""yes" 1>&6
2879 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2880 cat >> confdefs.h
<<EOF
2881 #define $ac_tr_hdr 1
2885 echo "$ac_t""no" 1>&6
2889 for ac_hdr
in linux
/joystick.h
2891 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2892 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2893 echo "configure:2894: checking for $ac_hdr" >&5
2894 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2895 echo $ac_n "(cached) $ac_c" 1>&6
2897 cat > conftest.
$ac_ext <<EOF
2898 #line 2899 "configure"
2899 #include "confdefs.h"
2902 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2903 { (eval echo configure
:2904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2904 ac_err
=`grep -v '^ *+' conftest.out`
2905 if test -z "$ac_err"; then
2907 eval "ac_cv_header_$ac_safe=yes"
2910 echo "configure: failed program was:" >&5
2911 cat conftest.
$ac_ext >&5
2913 eval "ac_cv_header_$ac_safe=no"
2917 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2918 echo "$ac_t""yes" 1>&6
2919 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2920 cat >> confdefs.h
<<EOF
2921 #define $ac_tr_hdr 1
2925 echo "$ac_t""no" 1>&6
2930 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
2931 GTK_JOYSTICK
="gtk/joystick.cpp"
2935 for ac_hdr
in strings.h
2937 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2938 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2939 echo "configure:2940: checking for $ac_hdr" >&5
2940 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2941 echo $ac_n "(cached) $ac_c" 1>&6
2943 cat > conftest.
$ac_ext <<EOF
2944 #line 2945 "configure"
2945 #include "confdefs.h"
2948 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2949 { (eval echo configure
:2950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2950 ac_err
=`grep -v '^ *+' conftest.out`
2951 if test -z "$ac_err"; then
2953 eval "ac_cv_header_$ac_safe=yes"
2956 echo "configure: failed program was:" >&5
2957 cat conftest.
$ac_ext >&5
2959 eval "ac_cv_header_$ac_safe=no"
2963 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2964 echo "$ac_t""yes" 1>&6
2965 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2966 cat >> confdefs.h
<<EOF
2967 #define $ac_tr_hdr 1
2971 echo "$ac_t""no" 1>&6
2977 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
2978 echo "configure:2979: checking for wcslen in -lc" >&5
2979 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
2980 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2981 echo $ac_n "(cached) $ac_c" 1>&6
2983 ac_save_LIBS
="$LIBS"
2985 cat > conftest.
$ac_ext <<EOF
2986 #line 2987 "configure"
2987 #include "confdefs.h"
2988 /* Override any gcc2 internal prototype to avoid an error. */
2989 /* We use char because int might match the return type of a gcc2
2990 builtin and then its argument prototype would still apply. */
2997 if { (eval echo configure
:2998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2999 eval "ac_cv_lib_$ac_lib_var=yes"
3001 echo "configure: failed program was:" >&5
3002 cat conftest.
$ac_ext >&5
3004 eval "ac_cv_lib_$ac_lib_var=no"
3007 LIBS
="$ac_save_LIBS"
3010 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3011 echo "$ac_t""yes" 1>&6
3013 cat >> confdefs.h
<<\EOF
3014 #define HAVE_WCSLEN 1
3020 echo "$ac_t""no" 1>&6
3022 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
3023 echo "configure:3024: checking for wcslen in -lw" >&5
3024 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
3025 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3026 echo $ac_n "(cached) $ac_c" 1>&6
3028 ac_save_LIBS
="$LIBS"
3030 cat > conftest.
$ac_ext <<EOF
3031 #line 3032 "configure"
3032 #include "confdefs.h"
3033 /* Override any gcc2 internal prototype to avoid an error. */
3034 /* We use char because int might match the return type of a gcc2
3035 builtin and then its argument prototype would still apply. */
3042 if { (eval echo configure
:3043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3044 eval "ac_cv_lib_$ac_lib_var=yes"
3046 echo "configure: failed program was:" >&5
3047 cat conftest.
$ac_ext >&5
3049 eval "ac_cv_lib_$ac_lib_var=no"
3052 LIBS
="$ac_save_LIBS"
3055 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3056 echo "$ac_t""yes" 1>&6
3058 cat >> confdefs.h
<<\EOF
3059 #define HAVE_WCSLEN 1
3065 echo "$ac_t""no" 1>&6
3073 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
3074 echo "configure:3075: checking for vprintf" >&5
3075 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
3076 echo $ac_n "(cached) $ac_c" 1>&6
3078 cat > conftest.
$ac_ext <<EOF
3079 #line 3080 "configure"
3080 #include "confdefs.h"
3081 /* System header to define __stub macros and hopefully few prototypes,
3082 which can conflict with char vprintf(); below. */
3084 /* Override any gcc2 internal prototype to avoid an error. */
3085 /* We use char because int might match the return type of a gcc2
3086 builtin and then its argument prototype would still apply. */
3091 /* The GNU C library defines this for functions which it implements
3092 to always fail with ENOSYS. Some functions are actually named
3093 something starting with __ and the normal name is an alias. */
3094 #if defined (__stub_vprintf) || defined (__stub___vprintf)
3102 if { (eval echo configure
:3103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3104 eval "ac_cv_func_vprintf=yes"
3106 echo "configure: failed program was:" >&5
3107 cat conftest.
$ac_ext >&5
3109 eval "ac_cv_func_vprintf=no"
3114 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
3115 echo "$ac_t""yes" 1>&6
3116 cat >> confdefs.h
<<\EOF
3117 #define HAVE_VPRINTF 1
3121 echo "$ac_t""no" 1>&6
3124 if test "$ac_cv_func_vprintf" != yes; then
3125 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
3126 echo "configure:3127: checking for _doprnt" >&5
3127 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
3128 echo $ac_n "(cached) $ac_c" 1>&6
3130 cat > conftest.
$ac_ext <<EOF
3131 #line 3132 "configure"
3132 #include "confdefs.h"
3133 /* System header to define __stub macros and hopefully few prototypes,
3134 which can conflict with char _doprnt(); below. */
3136 /* Override any gcc2 internal prototype to avoid an error. */
3137 /* We use char because int might match the return type of a gcc2
3138 builtin and then its argument prototype would still apply. */
3143 /* The GNU C library defines this for functions which it implements
3144 to always fail with ENOSYS. Some functions are actually named
3145 something starting with __ and the normal name is an alias. */
3146 #if defined (__stub__doprnt) || defined (__stub____doprnt)
3154 if { (eval echo configure
:3155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3156 eval "ac_cv_func__doprnt=yes"
3158 echo "configure: failed program was:" >&5
3159 cat conftest.
$ac_ext >&5
3161 eval "ac_cv_func__doprnt=no"
3166 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
3167 echo "$ac_t""yes" 1>&6
3168 cat >> confdefs.h
<<\EOF
3169 #define HAVE_DOPRNT 1
3173 echo "$ac_t""no" 1>&6
3179 for ac_func
in vsnprintf
3181 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3182 echo "configure:3183: checking for $ac_func" >&5
3183 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3184 echo $ac_n "(cached) $ac_c" 1>&6
3186 cat > conftest.
$ac_ext <<EOF
3187 #line 3188 "configure"
3188 #include "confdefs.h"
3189 /* System header to define __stub macros and hopefully few prototypes,
3190 which can conflict with char $ac_func(); below. */
3192 /* Override any gcc2 internal prototype to avoid an error. */
3193 /* We use char because int might match the return type of a gcc2
3194 builtin and then its argument prototype would still apply. */
3199 /* The GNU C library defines this for functions which it implements
3200 to always fail with ENOSYS. Some functions are actually named
3201 something starting with __ and the normal name is an alias. */
3202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3210 if { (eval echo configure
:3211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3212 eval "ac_cv_func_$ac_func=yes"
3214 echo "configure: failed program was:" >&5
3215 cat conftest.
$ac_ext >&5
3217 eval "ac_cv_func_$ac_func=no"
3222 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3223 echo "$ac_t""yes" 1>&6
3224 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3225 cat >> confdefs.h
<<EOF
3226 #define $ac_tr_func 1
3228 cat >> confdefs.h
<<\EOF
3229 #define HAVE_VSNPRINTF 1
3233 echo "$ac_t""no" 1>&6
3234 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
3240 for ac_func
in vfork
3242 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3243 echo "configure:3244: checking for $ac_func" >&5
3244 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3245 echo $ac_n "(cached) $ac_c" 1>&6
3247 cat > conftest.
$ac_ext <<EOF
3248 #line 3249 "configure"
3249 #include "confdefs.h"
3250 /* System header to define __stub macros and hopefully few prototypes,
3251 which can conflict with char $ac_func(); below. */
3253 /* Override any gcc2 internal prototype to avoid an error. */
3254 /* We use char because int might match the return type of a gcc2
3255 builtin and then its argument prototype would still apply. */
3260 /* The GNU C library defines this for functions which it implements
3261 to always fail with ENOSYS. Some functions are actually named
3262 something starting with __ and the normal name is an alias. */
3263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3271 if { (eval echo configure
:3272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3273 eval "ac_cv_func_$ac_func=yes"
3275 echo "configure: failed program was:" >&5
3276 cat conftest.
$ac_ext >&5
3278 eval "ac_cv_func_$ac_func=no"
3283 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3284 echo "$ac_t""yes" 1>&6
3285 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3286 cat >> confdefs.h
<<EOF
3287 #define $ac_tr_func 1
3291 echo "$ac_t""no" 1>&6
3297 for ac_func
in nanosleep
3299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3300 echo "configure:3301: checking for $ac_func" >&5
3301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3302 echo $ac_n "(cached) $ac_c" 1>&6
3304 cat > conftest.
$ac_ext <<EOF
3305 #line 3306 "configure"
3306 #include "confdefs.h"
3307 /* System header to define __stub macros and hopefully few prototypes,
3308 which can conflict with char $ac_func(); below. */
3310 /* Override any gcc2 internal prototype to avoid an error. */
3311 /* We use char because int might match the return type of a gcc2
3312 builtin and then its argument prototype would still apply. */
3317 /* The GNU C library defines this for functions which it implements
3318 to always fail with ENOSYS. Some functions are actually named
3319 something starting with __ and the normal name is an alias. */
3320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3328 if { (eval echo configure
:3329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3330 eval "ac_cv_func_$ac_func=yes"
3332 echo "configure: failed program was:" >&5
3333 cat conftest.
$ac_ext >&5
3335 eval "ac_cv_func_$ac_func=no"
3340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3341 echo "$ac_t""yes" 1>&6
3342 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3343 cat >> confdefs.h
<<EOF
3344 #define $ac_tr_func 1
3346 cat >> confdefs.h
<<\EOF
3347 #define HAVE_NANOSLEEP 1
3351 echo "$ac_t""no" 1>&6
3352 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
3353 echo "configure:3354: checking for nanosleep in -lposix4" >&5
3354 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
3355 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3356 echo $ac_n "(cached) $ac_c" 1>&6
3358 ac_save_LIBS
="$LIBS"
3359 LIBS
="-lposix4 $LIBS"
3360 cat > conftest.
$ac_ext <<EOF
3361 #line 3362 "configure"
3362 #include "confdefs.h"
3363 /* Override any gcc2 internal prototype to avoid an error. */
3364 /* We use char because int might match the return type of a gcc2
3365 builtin and then its argument prototype would still apply. */
3372 if { (eval echo configure
:3373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3374 eval "ac_cv_lib_$ac_lib_var=yes"
3376 echo "configure: failed program was:" >&5
3377 cat conftest.
$ac_ext >&5
3379 eval "ac_cv_lib_$ac_lib_var=no"
3382 LIBS
="$ac_save_LIBS"
3385 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3386 echo "$ac_t""yes" 1>&6
3388 cat >> confdefs.h
<<\EOF
3389 #define HAVE_NANOSLEEP 1
3392 POSIX4_LINK
="-lposix4"
3395 echo "$ac_t""no" 1>&6
3397 for ac_func
in usleep
3399 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3400 echo "configure:3401: checking for $ac_func" >&5
3401 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3402 echo $ac_n "(cached) $ac_c" 1>&6
3404 cat > conftest.
$ac_ext <<EOF
3405 #line 3406 "configure"
3406 #include "confdefs.h"
3407 /* System header to define __stub macros and hopefully few prototypes,
3408 which can conflict with char $ac_func(); below. */
3410 /* Override any gcc2 internal prototype to avoid an error. */
3411 /* We use char because int might match the return type of a gcc2
3412 builtin and then its argument prototype would still apply. */
3417 /* The GNU C library defines this for functions which it implements
3418 to always fail with ENOSYS. Some functions are actually named
3419 something starting with __ and the normal name is an alias. */
3420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3428 if { (eval echo configure
:3429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3430 eval "ac_cv_func_$ac_func=yes"
3432 echo "configure: failed program was:" >&5
3433 cat conftest.
$ac_ext >&5
3435 eval "ac_cv_func_$ac_func=no"
3440 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3441 echo "$ac_t""yes" 1>&6
3442 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3443 cat >> confdefs.h
<<EOF
3444 #define $ac_tr_func 1
3446 cat >> confdefs.h
<<\EOF
3447 #define HAVE_USLEEP 1
3451 echo "$ac_t""no" 1>&6
3452 echo "configure: warning: Sleep() function will not work" 1>&2
3464 for ac_func
in uname gethostname
3466 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3467 echo "configure:3468: checking for $ac_func" >&5
3468 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3469 echo $ac_n "(cached) $ac_c" 1>&6
3471 cat > conftest.
$ac_ext <<EOF
3472 #line 3473 "configure"
3473 #include "confdefs.h"
3474 /* System header to define __stub macros and hopefully few prototypes,
3475 which can conflict with char $ac_func(); below. */
3477 /* Override any gcc2 internal prototype to avoid an error. */
3478 /* We use char because int might match the return type of a gcc2
3479 builtin and then its argument prototype would still apply. */
3484 /* The GNU C library defines this for functions which it implements
3485 to always fail with ENOSYS. Some functions are actually named
3486 something starting with __ and the normal name is an alias. */
3487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3495 if { (eval echo configure
:3496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3497 eval "ac_cv_func_$ac_func=yes"
3499 echo "configure: failed program was:" >&5
3500 cat conftest.
$ac_ext >&5
3502 eval "ac_cv_func_$ac_func=no"
3507 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3508 echo "$ac_t""yes" 1>&6
3509 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3510 cat >> confdefs.h
<<EOF
3511 #define $ac_tr_func 1
3515 echo "$ac_t""no" 1>&6
3520 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3521 echo "configure:3522: checking for uid_t in sys/types.h" >&5
3522 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3523 echo $ac_n "(cached) $ac_c" 1>&6
3525 cat > conftest.
$ac_ext <<EOF
3526 #line 3527 "configure"
3527 #include "confdefs.h"
3528 #include <sys/types.h>
3530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3531 egrep "uid_t" >/dev
/null
2>&1; then
3533 ac_cv_type_uid_t
=yes
3542 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3543 if test $ac_cv_type_uid_t = no
; then
3544 cat >> confdefs.h
<<\EOF
3548 cat >> confdefs.h
<<\EOF
3554 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
3555 echo "configure:3556: checking type of array argument to getgroups" >&5
3556 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
3557 echo $ac_n "(cached) $ac_c" 1>&6
3559 if test "$cross_compiling" = yes; then
3560 ac_cv_type_getgroups
=cross
3562 cat > conftest.
$ac_ext <<EOF
3563 #line 3564 "configure"
3564 #include "confdefs.h"
3566 /* Thanks to Mike Rendell for this test. */
3567 #include <sys/types.h>
3570 #define MAX(x, y) ((x) > (y) ? (x) : (y))
3575 union { gid_t gval; long lval; } val;
3578 for (i = 0; i < NGID; i++)
3579 gidset[i] = val.gval;
3580 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
3582 /* Exit non-zero if getgroups seems to require an array of ints. This
3583 happens when gid_t is short but getgroups modifies an array of ints. */
3584 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
3588 if { (eval echo configure
:3589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3590 ac_cv_type_getgroups
=gid_t
3592 echo "configure: failed program was:" >&5
3593 cat conftest.
$ac_ext >&5
3595 ac_cv_type_getgroups
=int
3600 if test $ac_cv_type_getgroups = cross
; then
3601 cat > conftest.
$ac_ext <<EOF
3602 #line 3603 "configure"
3603 #include "confdefs.h"
3606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3607 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
3609 ac_cv_type_getgroups
=gid_t
3612 ac_cv_type_getgroups
=int
3619 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
3620 cat >> confdefs.h
<<EOF
3621 #define GETGROUPS_T $ac_cv_type_getgroups
3625 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
3626 echo "configure:3627: checking for mode_t" >&5
3627 if eval "test \"`echo '$''{'ac_cv_type_mode_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>
3639 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3640 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3642 ac_cv_type_mode_t
=yes
3645 ac_cv_type_mode_t
=no
3650 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
3651 if test $ac_cv_type_mode_t = no
; then
3652 cat >> confdefs.h
<<\EOF
3658 echo $ac_n "checking for off_t""... $ac_c" 1>&6
3659 echo "configure:3660: checking for off_t" >&5
3660 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
3661 echo $ac_n "(cached) $ac_c" 1>&6
3663 cat > conftest.
$ac_ext <<EOF
3664 #line 3665 "configure"
3665 #include "confdefs.h"
3666 #include <sys/types.h>
3672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3673 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3675 ac_cv_type_off_t
=yes
3683 echo "$ac_t""$ac_cv_type_off_t" 1>&6
3684 if test $ac_cv_type_off_t = no
; then
3685 cat >> confdefs.h
<<\EOF
3691 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
3692 echo "configure:3693: checking for pid_t" >&5
3693 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
3694 echo $ac_n "(cached) $ac_c" 1>&6
3696 cat > conftest.
$ac_ext <<EOF
3697 #line 3698 "configure"
3698 #include "confdefs.h"
3699 #include <sys/types.h>
3705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3706 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3708 ac_cv_type_pid_t
=yes
3716 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
3717 if test $ac_cv_type_pid_t = no
; then
3718 cat >> confdefs.h
<<\EOF
3724 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3725 echo "configure:3726: checking return type of signal handlers" >&5
3726 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
3727 echo $ac_n "(cached) $ac_c" 1>&6
3729 cat > conftest.
$ac_ext <<EOF
3730 #line 3731 "configure"
3731 #include "confdefs.h"
3732 #include <sys/types.h>
3738 extern "C" void (*signal (int, void (*)(int)))(int);
3740 void (*signal ()) ();
3747 if { (eval echo configure
:3748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3749 ac_cv_type_signal
=void
3751 echo "configure: failed program was:" >&5
3752 cat conftest.
$ac_ext >&5
3754 ac_cv_type_signal
=int
3759 echo "$ac_t""$ac_cv_type_signal" 1>&6
3760 cat >> confdefs.h
<<EOF
3761 #define RETSIGTYPE $ac_cv_type_signal
3765 echo $ac_n "checking for size_t""... $ac_c" 1>&6
3766 echo "configure:3767: checking for size_t" >&5
3767 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
3768 echo $ac_n "(cached) $ac_c" 1>&6
3770 cat > conftest.
$ac_ext <<EOF
3771 #line 3772 "configure"
3772 #include "confdefs.h"
3773 #include <sys/types.h>
3779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3780 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3782 ac_cv_type_size_t
=yes
3785 ac_cv_type_size_t
=no
3790 echo "$ac_t""$ac_cv_type_size_t" 1>&6
3791 if test $ac_cv_type_size_t = no
; then
3792 cat >> confdefs.h
<<\EOF
3793 #define size_t unsigned
3798 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3799 echo "configure:3800: checking for uid_t in sys/types.h" >&5
3800 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3801 echo $ac_n "(cached) $ac_c" 1>&6
3803 cat > conftest.
$ac_ext <<EOF
3804 #line 3805 "configure"
3805 #include "confdefs.h"
3806 #include <sys/types.h>
3808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3809 egrep "uid_t" >/dev
/null
2>&1; then
3811 ac_cv_type_uid_t
=yes
3820 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3821 if test $ac_cv_type_uid_t = no
; then
3822 cat >> confdefs.h
<<\EOF
3826 cat >> confdefs.h
<<\EOF
3834 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
3835 echo "configure:3836: checking whether stat file-mode macros are broken" >&5
3836 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
3837 echo $ac_n "(cached) $ac_c" 1>&6
3839 cat > conftest.
$ac_ext <<EOF
3840 #line 3841 "configure"
3841 #include "confdefs.h"
3842 #include <sys/types.h>
3843 #include <sys/stat.h>
3845 #if defined(S_ISBLK) && defined(S_IFDIR)
3846 # if S_ISBLK (S_IFDIR)
3851 #if defined(S_ISBLK) && defined(S_IFCHR)
3852 # if S_ISBLK (S_IFCHR)
3857 #if defined(S_ISLNK) && defined(S_IFREG)
3858 # if S_ISLNK (S_IFREG)
3863 #if defined(S_ISSOCK) && defined(S_IFREG)
3864 # if S_ISSOCK (S_IFREG)
3870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3871 egrep "You lose" >/dev
/null
2>&1; then
3873 ac_cv_header_stat_broken
=yes
3876 ac_cv_header_stat_broken
=no
3882 echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
3883 if test $ac_cv_header_stat_broken = yes; then
3884 cat >> confdefs.h
<<\EOF
3885 #define STAT_MACROS_BROKEN 1
3890 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3891 echo "configure:3892: checking whether time.h and sys/time.h may both be included" >&5
3892 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3893 echo $ac_n "(cached) $ac_c" 1>&6
3895 cat > conftest.
$ac_ext <<EOF
3896 #line 3897 "configure"
3897 #include "confdefs.h"
3898 #include <sys/types.h>
3899 #include <sys/time.h>
3905 if { (eval echo configure
:3906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3907 ac_cv_header_time
=yes
3909 echo "configure: failed program was:" >&5
3910 cat conftest.
$ac_ext >&5
3912 ac_cv_header_time
=no
3917 echo "$ac_t""$ac_cv_header_time" 1>&6
3918 if test $ac_cv_header_time = yes; then
3919 cat >> confdefs.h
<<\EOF
3920 #define TIME_WITH_SYS_TIME 1
3925 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
3926 echo "configure:3927: checking for st_blksize in struct stat" >&5
3927 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
3928 echo $ac_n "(cached) $ac_c" 1>&6
3930 cat > conftest.
$ac_ext <<EOF
3931 #line 3932 "configure"
3932 #include "confdefs.h"
3933 #include <sys/types.h>
3934 #include <sys/stat.h>
3936 struct stat s; s.st_blksize;
3939 if { (eval echo configure
:3940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3941 ac_cv_struct_st_blksize
=yes
3943 echo "configure: failed program was:" >&5
3944 cat conftest.
$ac_ext >&5
3946 ac_cv_struct_st_blksize
=no
3951 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
3952 if test $ac_cv_struct_st_blksize = yes; then
3953 cat >> confdefs.h
<<\EOF
3954 #define HAVE_ST_BLKSIZE 1
3959 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
3960 echo "configure:3961: checking for st_blocks in struct stat" >&5
3961 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
3962 echo $ac_n "(cached) $ac_c" 1>&6
3964 cat > conftest.
$ac_ext <<EOF
3965 #line 3966 "configure"
3966 #include "confdefs.h"
3967 #include <sys/types.h>
3968 #include <sys/stat.h>
3970 struct stat s; s.st_blocks;
3973 if { (eval echo configure
:3974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3975 ac_cv_struct_st_blocks
=yes
3977 echo "configure: failed program was:" >&5
3978 cat conftest.
$ac_ext >&5
3980 ac_cv_struct_st_blocks
=no
3985 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6
3986 if test $ac_cv_struct_st_blocks = yes; then
3987 cat >> confdefs.h
<<\EOF
3988 #define HAVE_ST_BLOCKS 1
3992 LIBOBJS
="$LIBOBJS fileblocks.o"
3995 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
3996 echo "configure:3997: checking for st_rdev in struct stat" >&5
3997 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+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/stat.h>
4006 struct stat s; s.st_rdev;
4009 if { (eval echo configure
:4010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4011 ac_cv_struct_st_rdev
=yes
4013 echo "configure: failed program was:" >&5
4014 cat conftest.
$ac_ext >&5
4016 ac_cv_struct_st_rdev
=no
4021 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6
4022 if test $ac_cv_struct_st_rdev = yes; then
4023 cat >> confdefs.h
<<\EOF
4024 #define HAVE_ST_RDEV 1
4029 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
4030 echo "configure:4031: checking whether struct tm is in sys/time.h or time.h" >&5
4031 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
4032 echo $ac_n "(cached) $ac_c" 1>&6
4034 cat > conftest.
$ac_ext <<EOF
4035 #line 4036 "configure"
4036 #include "confdefs.h"
4037 #include <sys/types.h>
4040 struct tm *tp; tp->tm_sec;
4043 if { (eval echo configure
:4044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4045 ac_cv_struct_tm
=time.h
4047 echo "configure: failed program was:" >&5
4048 cat conftest.
$ac_ext >&5
4050 ac_cv_struct_tm
=sys
/time.h
4055 echo "$ac_t""$ac_cv_struct_tm" 1>&6
4056 if test $ac_cv_struct_tm = sys
/time.h
; then
4057 cat >> confdefs.h
<<\EOF
4058 #define TM_IN_SYS_TIME 1
4063 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
4064 echo "configure:4065: checking for tm_zone in struct tm" >&5
4065 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
4066 echo $ac_n "(cached) $ac_c" 1>&6
4068 cat > conftest.
$ac_ext <<EOF
4069 #line 4070 "configure"
4070 #include "confdefs.h"
4071 #include <sys/types.h>
4072 #include <$ac_cv_struct_tm>
4074 struct tm tm; tm.tm_zone;
4077 if { (eval echo configure
:4078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4079 ac_cv_struct_tm_zone
=yes
4081 echo "configure: failed program was:" >&5
4082 cat conftest.
$ac_ext >&5
4084 ac_cv_struct_tm_zone
=no
4089 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
4090 if test "$ac_cv_struct_tm_zone" = yes; then
4091 cat >> confdefs.h
<<\EOF
4092 #define HAVE_TM_ZONE 1
4096 echo $ac_n "checking for tzname""... $ac_c" 1>&6
4097 echo "configure:4098: checking for tzname" >&5
4098 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
4099 echo $ac_n "(cached) $ac_c" 1>&6
4101 cat > conftest.
$ac_ext <<EOF
4102 #line 4103 "configure"
4103 #include "confdefs.h"
4105 #ifndef tzname /* For SGI. */
4106 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4112 if { (eval echo configure
:4113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4114 ac_cv_var_tzname
=yes
4116 echo "configure: failed program was:" >&5
4117 cat conftest.
$ac_ext >&5
4124 echo "$ac_t""$ac_cv_var_tzname" 1>&6
4125 if test $ac_cv_var_tzname = yes; then
4126 cat >> confdefs.h
<<\EOF
4127 #define HAVE_TZNAME 1
4135 echo $ac_n "checking for working const""... $ac_c" 1>&6
4136 echo "configure:4137: checking for working const" >&5
4137 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
4138 echo $ac_n "(cached) $ac_c" 1>&6
4140 cat > conftest.
$ac_ext <<EOF
4141 #line 4142 "configure"
4142 #include "confdefs.h"
4146 /* Ultrix mips cc rejects this. */
4147 typedef int charset[2]; const charset x;
4148 /* SunOS 4.1.1 cc rejects this. */
4149 char const *const *ccp;
4151 /* NEC SVR4.0.2 mips cc rejects this. */
4152 struct point {int x, y;};
4153 static struct point const zero = {0,0};
4154 /* AIX XL C 1.02.0.0 rejects this.
4155 It does not let you subtract one const X* pointer from another in an arm
4156 of an if-expression whose if-part is not a constant expression */
4157 const char *g = "string";
4158 ccp = &g + (g ? g-g : 0);
4159 /* HPUX 7.0 cc rejects these. */
4162 ccp = (char const *const *) p;
4163 { /* SCO 3.2v4 cc rejects this. */
4165 char const *s = 0 ? (char *) 0 : (char const *) 0;
4169 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4171 const int *foo = &x[0];
4174 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4175 typedef const int *iptr;
4179 { /* AIX XL C 1.02.0.0 rejects this saying
4180 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4181 struct s { int j; const int *ap[3]; };
4182 struct s *b; b->j = 5;
4184 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4190 if { (eval echo configure
:4191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4194 echo "configure: failed program was:" >&5
4195 cat conftest.
$ac_ext >&5
4202 echo "$ac_t""$ac_cv_c_const" 1>&6
4203 if test $ac_cv_c_const = no
; then
4204 cat >> confdefs.h
<<\EOF
4210 echo $ac_n "checking for inline""... $ac_c" 1>&6
4211 echo "configure:4212: checking for inline" >&5
4212 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
4213 echo $ac_n "(cached) $ac_c" 1>&6
4216 for ac_kw
in inline __inline__ __inline
; do
4217 cat > conftest.
$ac_ext <<EOF
4218 #line 4219 "configure"
4219 #include "confdefs.h"
4225 if { (eval echo configure
:4226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4227 ac_cv_c_inline
=$ac_kw; break
4229 echo "configure: failed program was:" >&5
4230 cat conftest.
$ac_ext >&5
4237 echo "$ac_t""$ac_cv_c_inline" 1>&6
4238 case "$ac_cv_c_inline" in
4240 no
) cat >> confdefs.h
<<\EOF
4244 *) cat >> confdefs.h
<<EOF
4245 #define inline $ac_cv_c_inline
4250 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
4251 echo "configure:4252: checking whether char is unsigned" >&5
4252 if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
4253 echo $ac_n "(cached) $ac_c" 1>&6
4255 if test "$GCC" = yes; then
4256 # GCC predefines this symbol on systems where it applies.
4257 cat > conftest.
$ac_ext <<EOF
4258 #line 4259 "configure"
4259 #include "confdefs.h"
4260 #ifdef __CHAR_UNSIGNED__
4265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4266 egrep "yes" >/dev
/null
2>&1; then
4268 ac_cv_c_char_unsigned
=yes
4271 ac_cv_c_char_unsigned
=no
4276 if test "$cross_compiling" = yes; then
4277 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4279 cat > conftest.
$ac_ext <<EOF
4280 #line 4281 "configure"
4281 #include "confdefs.h"
4282 /* volatile prevents gcc2 from optimizing the test away on sparcs. */
4283 #if !defined(__STDC__) || __STDC__ != 1
4287 volatile char c = 255; exit(c < 0);
4290 if { (eval echo configure
:4291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4292 ac_cv_c_char_unsigned
=yes
4294 echo "configure: failed program was:" >&5
4295 cat conftest.
$ac_ext >&5
4297 ac_cv_c_char_unsigned
=no
4305 echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
4306 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
4307 cat >> confdefs.h
<<\EOF
4308 #define __CHAR_UNSIGNED__ 1
4313 echo $ac_n "checking for long double""... $ac_c" 1>&6
4314 echo "configure:4315: checking for long double" >&5
4315 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
4316 echo $ac_n "(cached) $ac_c" 1>&6
4318 if test "$GCC" = yes; then
4319 ac_cv_c_long_double
=yes
4321 if test "$cross_compiling" = yes; then
4322 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4324 cat > conftest.
$ac_ext <<EOF
4325 #line 4326 "configure"
4326 #include "confdefs.h"
4328 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
4329 long double foo = 0.0;
4330 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
4331 exit(sizeof(long double) < sizeof(double)); }
4333 if { (eval echo configure
:4334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4335 ac_cv_c_long_double
=yes
4337 echo "configure: failed program was:" >&5
4338 cat conftest.
$ac_ext >&5
4340 ac_cv_c_long_double
=no
4348 echo "$ac_t""$ac_cv_c_long_double" 1>&6
4349 if test $ac_cv_c_long_double = yes; then
4350 cat >> confdefs.h
<<\EOF
4351 #define HAVE_LONG_DOUBLE 1
4357 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
4358 echo "configure:4359: checking whether byte ordering is bigendian" >&5
4359 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
4360 echo $ac_n "(cached) $ac_c" 1>&6
4362 ac_cv_c_bigendian
=unknown
4363 # See if sys/param.h defines the BYTE_ORDER macro.
4364 cat > conftest.
$ac_ext <<EOF
4365 #line 4366 "configure"
4366 #include "confdefs.h"
4367 #include <sys/types.h>
4368 #include <sys/param.h>
4371 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4376 if { (eval echo configure
:4377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4378 # It does; now see whether it defined to BIG_ENDIAN or not.
4379 cat > conftest.
$ac_ext <<EOF
4380 #line 4381 "configure"
4381 #include "confdefs.h"
4382 #include <sys/types.h>
4383 #include <sys/param.h>
4386 #if BYTE_ORDER != BIG_ENDIAN
4391 if { (eval echo configure
:4392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4393 ac_cv_c_bigendian
=yes
4395 echo "configure: failed program was:" >&5
4396 cat conftest.
$ac_ext >&5
4398 ac_cv_c_bigendian
=no
4402 echo "configure: failed program was:" >&5
4403 cat conftest.
$ac_ext >&5
4406 if test $ac_cv_c_bigendian = unknown
; then
4407 if test "$cross_compiling" = yes; then
4408 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4410 cat > conftest.
$ac_ext <<EOF
4411 #line 4412 "configure"
4412 #include "confdefs.h"
4414 /* Are we little or big endian? From Harbison&Steele. */
4418 char c[sizeof (long)];
4421 exit (u.c[sizeof (long) - 1] == 1);
4424 if { (eval echo configure
:4425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4426 ac_cv_c_bigendian
=no
4428 echo "configure: failed program was:" >&5
4429 cat conftest.
$ac_ext >&5
4431 ac_cv_c_bigendian
=yes
4439 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
4440 if test $ac_cv_c_bigendian = yes; then
4441 cat >> confdefs.h
<<\EOF
4442 #define WORDS_BIGENDIAN 1
4448 echo $ac_n "checking size of int *""... $ac_c" 1>&6
4449 echo "configure:4450: checking size of int *" >&5
4450 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
4451 echo $ac_n "(cached) $ac_c" 1>&6
4453 if test "$cross_compiling" = yes; then
4454 ac_cv_sizeof_int_p
=4
4456 cat > conftest.
$ac_ext <<EOF
4457 #line 4458 "configure"
4458 #include "confdefs.h"
4462 FILE *f=fopen("conftestval", "w");
4464 fprintf(f, "%d\n", sizeof(int *));
4468 if { (eval echo configure
:4469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4470 ac_cv_sizeof_int_p
=`cat conftestval`
4472 echo "configure: failed program was:" >&5
4473 cat conftest.
$ac_ext >&5
4475 ac_cv_sizeof_int_p
=0
4481 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
4482 cat >> confdefs.h
<<EOF
4483 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
4487 echo $ac_n "checking size of int""... $ac_c" 1>&6
4488 echo "configure:4489: checking size of int" >&5
4489 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
4490 echo $ac_n "(cached) $ac_c" 1>&6
4492 if test "$cross_compiling" = yes; then
4495 cat > conftest.
$ac_ext <<EOF
4496 #line 4497 "configure"
4497 #include "confdefs.h"
4501 FILE *f=fopen("conftestval", "w");
4503 fprintf(f, "%d\n", sizeof(int));
4507 if { (eval echo configure
:4508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4509 ac_cv_sizeof_int
=`cat conftestval`
4511 echo "configure: failed program was:" >&5
4512 cat conftest.
$ac_ext >&5
4520 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
4521 cat >> confdefs.h
<<EOF
4522 #define SIZEOF_INT $ac_cv_sizeof_int
4526 echo $ac_n "checking size of long""... $ac_c" 1>&6
4527 echo "configure:4528: checking size of long" >&5
4528 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
4529 echo $ac_n "(cached) $ac_c" 1>&6
4531 if test "$cross_compiling" = yes; then
4534 cat > conftest.
$ac_ext <<EOF
4535 #line 4536 "configure"
4536 #include "confdefs.h"
4540 FILE *f=fopen("conftestval", "w");
4542 fprintf(f, "%d\n", sizeof(long));
4546 if { (eval echo configure
:4547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4548 ac_cv_sizeof_long
=`cat conftestval`
4550 echo "configure: failed program was:" >&5
4551 cat conftest.
$ac_ext >&5
4559 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
4560 cat >> confdefs.h
<<EOF
4561 #define SIZEOF_LONG $ac_cv_sizeof_long
4565 echo $ac_n "checking size of long long""... $ac_c" 1>&6
4566 echo "configure:4567: checking size of long long" >&5
4567 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
4568 echo $ac_n "(cached) $ac_c" 1>&6
4570 if test "$cross_compiling" = yes; then
4571 ac_cv_sizeof_long_long
=0
4573 cat > conftest.
$ac_ext <<EOF
4574 #line 4575 "configure"
4575 #include "confdefs.h"
4579 FILE *f=fopen("conftestval", "w");
4581 fprintf(f, "%d\n", sizeof(long long));
4585 if { (eval echo configure
:4586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4587 ac_cv_sizeof_long_long
=`cat conftestval`
4589 echo "configure: failed program was:" >&5
4590 cat conftest.
$ac_ext >&5
4592 ac_cv_sizeof_long_long
=0
4598 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
4599 cat >> confdefs.h
<<EOF
4600 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
4608 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4609 ac_cpp
='$CXXCPP $CPPFLAGS'
4610 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4611 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4612 cross_compiling
=$ac_cv_prog_cxx_cross
4615 for ac_hdr
in iostream
4617 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4618 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4619 echo "configure:4620: checking for $ac_hdr" >&5
4620 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4621 echo $ac_n "(cached) $ac_c" 1>&6
4623 cat > conftest.
$ac_ext <<EOF
4624 #line 4625 "configure"
4625 #include "confdefs.h"
4628 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4629 { (eval echo configure
:4630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4630 ac_err
=`grep -v '^ *+' conftest.out`
4631 if test -z "$ac_err"; then
4633 eval "ac_cv_header_$ac_safe=yes"
4636 echo "configure: failed program was:" >&5
4637 cat conftest.
$ac_ext >&5
4639 eval "ac_cv_header_$ac_safe=no"
4643 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4644 echo "$ac_t""yes" 1>&6
4645 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4646 cat >> confdefs.h
<<EOF
4647 #define $ac_tr_hdr 1
4651 echo "$ac_t""no" 1>&6
4655 if test "x$HAVE_IOSTREAM" = "x" ; then
4656 cat >> confdefs.h
<<\EOF
4657 #define wxUSE_IOSTREAMH 1
4662 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
4663 echo "configure:4664: checking if C++ compiler supports bool" >&5
4664 if test "$cross_compiling" = yes; then
4665 echo "$ac_t""no assumed for cross-compilation" 1>&6
4667 cat > conftest.
$ac_ext <<EOF
4668 #line 4669 "configure"
4669 #include "confdefs.h"
4671 extern "C" void exit(int);
4683 if { (eval echo configure
:4684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4685 cat >> confdefs.h
<<\EOF
4688 echo "$ac_t""yes" 1>&6
4690 echo "configure: failed program was:" >&5
4691 cat conftest.
$ac_ext >&5
4693 echo "$ac_t""no" 1>&6
4699 echo $ac_n "checking if size_t and int are different types""... $ac_c" 1>&6
4700 echo "configure:4701: checking if size_t and int are different types" >&5
4701 if test "$cross_compiling" = yes; then
4702 echo "$ac_t""no assumed for cross-compilation" 1>&6
4704 cat > conftest.
$ac_ext <<EOF
4705 #line 4706 "configure"
4706 #include "confdefs.h"
4708 extern "C" void exit(int);
4713 void wxFoo(int i) { }
4714 void wxFoo(size_t n) { }
4731 if { (eval echo configure
:4732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4733 cat >> confdefs.h
<<\EOF
4734 #define wxUSE_SIZE_T_STRING_OPERATOR 1
4736 echo "$ac_t""yes" 1>&6
4738 echo "configure: failed program was:" >&5
4739 cat conftest.
$ac_ext >&5
4741 echo "$ac_t""no" 1>&6
4748 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4749 ac_cpp
='$CPP $CPPFLAGS'
4750 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4751 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4752 cross_compiling
=$ac_cv_prog_cc_cross
4758 echo $ac_n "checking for long file names""... $ac_c" 1>&6
4759 echo "configure:4760: checking for long file names" >&5
4760 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
4761 echo $ac_n "(cached) $ac_c" 1>&6
4763 ac_cv_sys_long_file_names
=yes
4764 # Test for long file names in all the places we know might matter:
4765 # . the current directory, where building will happen
4766 # $prefix/lib where we will be installing things
4767 # $exec_prefix/lib likewise
4768 # eval it to expand exec_prefix.
4769 # $TMPDIR if set, where it might want to write temporary files
4770 # if $TMPDIR is not set:
4771 # /tmp where it might want to write temporary files
4774 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
4775 ac_tmpdirs
="$TMPDIR"
4777 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
4779 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
4780 test -d $ac_dir || continue
4781 test -w $ac_dir || continue # It is less confusing to not echo anything here.
4782 (echo 1 > $ac_dir/conftest9012345
) 2>/dev
/null
4783 (echo 2 > $ac_dir/conftest9012346
) 2>/dev
/null
4784 val
=`cat $ac_dir/conftest9012345 2>/dev/null`
4785 if test ! -f $ac_dir/conftest9012345
|| test "$val" != 1; then
4786 ac_cv_sys_long_file_names
=no
4787 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4790 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4794 echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6
4795 if test $ac_cv_sys_long_file_names = yes; then
4796 cat >> confdefs.h
<<\EOF
4797 #define HAVE_LONG_FILE_NAMES 1
4805 for ac_prog
in 'bison -y' byacc
4807 # Extract the first word of "$ac_prog", so it can be a program name with args.
4808 set dummy
$ac_prog; ac_word
=$2
4809 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4810 echo "configure:4811: checking for $ac_word" >&5
4811 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
4812 echo $ac_n "(cached) $ac_c" 1>&6
4814 if test -n "$YACC"; then
4815 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4817 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4818 for ac_dir
in $PATH; do
4819 test -z "$ac_dir" && ac_dir
=.
4820 if test -f $ac_dir/$ac_word; then
4821 ac_cv_prog_YACC
="$ac_prog"
4828 YACC
="$ac_cv_prog_YACC"
4829 if test -n "$YACC"; then
4830 echo "$ac_t""$YACC" 1>&6
4832 echo "$ac_t""no" 1>&6
4835 test -n "$YACC" && break
4837 test -n "$YACC" || YACC
="yacc"
4840 # Extract the first word of "flex", so it can be a program name with args.
4841 set dummy flex
; ac_word
=$2
4842 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4843 echo "configure:4844: checking for $ac_word" >&5
4844 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
4845 echo $ac_n "(cached) $ac_c" 1>&6
4847 if test -n "$LEX"; then
4848 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4850 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4851 for ac_dir
in $PATH; do
4852 test -z "$ac_dir" && ac_dir
=.
4853 if test -f $ac_dir/$ac_word; then
4854 ac_cv_prog_LEX
="flex"
4859 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
4862 LEX
="$ac_cv_prog_LEX"
4863 if test -n "$LEX"; then
4864 echo "$ac_t""$LEX" 1>&6
4866 echo "$ac_t""no" 1>&6
4869 if test -z "$LEXLIB"
4875 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
4876 echo "configure:4877: checking for yywrap in -l$ac_lib" >&5
4877 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
4878 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4879 echo $ac_n "(cached) $ac_c" 1>&6
4881 ac_save_LIBS
="$LIBS"
4882 LIBS
="-l$ac_lib $LIBS"
4883 cat > conftest.
$ac_ext <<EOF
4884 #line 4885 "configure"
4885 #include "confdefs.h"
4886 /* Override any gcc2 internal prototype to avoid an error. */
4887 /* We use char because int might match the return type of a gcc2
4888 builtin and then its argument prototype would still apply. */
4895 if { (eval echo configure
:4896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4897 eval "ac_cv_lib_$ac_lib_var=yes"
4899 echo "configure: failed program was:" >&5
4900 cat conftest.
$ac_ext >&5
4902 eval "ac_cv_lib_$ac_lib_var=no"
4905 LIBS
="$ac_save_LIBS"
4908 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4909 echo "$ac_t""yes" 1>&6
4912 echo "$ac_t""no" 1>&6
4917 echo $ac_n "checking lex output file root""... $ac_c" 1>&6
4918 echo "configure:4919: checking lex output file root" >&5
4919 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
4920 echo $ac_n "(cached) $ac_c" 1>&6
4922 # The minimal lex program is just a single line: %%. But some broken lexes
4923 # (Solaris, I think it was) want two %% lines, so accommodate them.
4926 if test -f lex.yy.c
; then
4927 ac_cv_prog_lex_root
=lex.yy
4928 elif test -f lexyy.c
; then
4929 ac_cv_prog_lex_root
=lexyy
4931 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
4935 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
4936 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4938 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
4939 echo "configure:4940: checking whether yytext is a pointer" >&5
4940 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
4941 echo $ac_n "(cached) $ac_c" 1>&6
4943 # POSIX says lex can declare yytext either as a pointer or an array; the
4944 # default is implementation-dependent. Figure out which it is, since
4945 # not all implementations provide the %pointer and %array declarations.
4946 ac_cv_prog_lex_yytext_pointer
=no
4947 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4948 ac_save_LIBS
="$LIBS"
4949 LIBS
="$LIBS $LEXLIB"
4950 cat > conftest.
$ac_ext <<EOF
4951 #line 4952 "configure"
4952 #include "confdefs.h"
4953 `cat $LEX_OUTPUT_ROOT.c`
4958 if { (eval echo configure
:4959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4960 ac_cv_prog_lex_yytext_pointer
=yes
4962 echo "configure: failed program was:" >&5
4963 cat conftest.
$ac_ext >&5
4966 LIBS
="$ac_save_LIBS"
4967 rm -f "${LEX_OUTPUT_ROOT}.c"
4971 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
4972 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4973 cat >> confdefs.h
<<\EOF
4974 #define YYTEXT_POINTER 1
4982 for ac_func
in dlopen
4984 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4985 echo "configure:4986: checking for $ac_func" >&5
4986 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4987 echo $ac_n "(cached) $ac_c" 1>&6
4989 cat > conftest.
$ac_ext <<EOF
4990 #line 4991 "configure"
4991 #include "confdefs.h"
4992 /* System header to define __stub macros and hopefully few prototypes,
4993 which can conflict with char $ac_func(); below. */
4995 /* Override any gcc2 internal prototype to avoid an error. */
4996 /* We use char because int might match the return type of a gcc2
4997 builtin and then its argument prototype would still apply. */
5002 /* The GNU C library defines this for functions which it implements
5003 to always fail with ENOSYS. Some functions are actually named
5004 something starting with __ and the normal name is an alias. */
5005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5013 if { (eval echo configure
:5014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
5015 eval "ac_cv_func_$ac_func=yes"
5017 echo "configure: failed program was:" >&5
5018 cat conftest.
$ac_ext >&5
5020 eval "ac_cv_func_$ac_func=no"
5025 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5026 echo "$ac_t""yes" 1>&6
5027 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5028 cat >> confdefs.h
<<EOF
5029 #define $ac_tr_func 1
5031 cat >> confdefs.h
<<\EOF
5032 #define HAVE_LIBDL 1
5036 echo "$ac_t""no" 1>&6
5037 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
5038 echo "configure:5039: checking for dlopen in -ldl" >&5
5039 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
5040 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5041 echo $ac_n "(cached) $ac_c" 1>&6
5043 ac_save_LIBS
="$LIBS"
5045 cat > conftest.
$ac_ext <<EOF
5046 #line 5047 "configure"
5047 #include "confdefs.h"
5048 /* Override any gcc2 internal prototype to avoid an error. */
5049 /* We use char because int might match the return type of a gcc2
5050 builtin and then its argument prototype would still apply. */
5057 if { (eval echo configure
:5058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
5059 eval "ac_cv_lib_$ac_lib_var=yes"
5061 echo "configure: failed program was:" >&5
5062 cat conftest.
$ac_ext >&5
5064 eval "ac_cv_lib_$ac_lib_var=no"
5067 LIBS
="$ac_save_LIBS"
5070 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5071 echo "$ac_t""yes" 1>&6
5072 cat >> confdefs.h
<<\EOF
5073 #define HAVE_LIBDL 1
5077 echo "$ac_t""no" 1>&6
5078 echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6
5079 echo "configure:5080: checking for dld_link in -ldld" >&5
5080 ac_lib_var
=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`
5081 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5082 echo $ac_n "(cached) $ac_c" 1>&6
5084 ac_save_LIBS
="$LIBS"
5086 cat > conftest.
$ac_ext <<EOF
5087 #line 5088 "configure"
5088 #include "confdefs.h"
5089 /* Override any gcc2 internal prototype to avoid an error. */
5090 /* We use char because int might match the return type of a gcc2
5091 builtin and then its argument prototype would still apply. */
5098 if { (eval echo configure
:5099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
5100 eval "ac_cv_lib_$ac_lib_var=yes"
5102 echo "configure: failed program was:" >&5
5103 cat conftest.
$ac_ext >&5
5105 eval "ac_cv_lib_$ac_lib_var=no"
5108 LIBS
="$ac_save_LIBS"
5111 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5112 echo "$ac_t""yes" 1>&6
5113 cat >> confdefs.h
<<\EOF
5118 echo "$ac_t""no" 1>&6
5119 for ac_func
in shl_load
5121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5122 echo "configure:5123: checking for $ac_func" >&5
5123 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5124 echo $ac_n "(cached) $ac_c" 1>&6
5126 cat > conftest.
$ac_ext <<EOF
5127 #line 5128 "configure"
5128 #include "confdefs.h"
5129 /* System header to define __stub macros and hopefully few prototypes,
5130 which can conflict with char $ac_func(); below. */
5132 /* Override any gcc2 internal prototype to avoid an error. */
5133 /* We use char because int might match the return type of a gcc2
5134 builtin and then its argument prototype would still apply. */
5139 /* The GNU C library defines this for functions which it implements
5140 to always fail with ENOSYS. Some functions are actually named
5141 something starting with __ and the normal name is an alias. */
5142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5150 if { (eval echo configure
:5151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
5152 eval "ac_cv_func_$ac_func=yes"
5154 echo "configure: failed program was:" >&5
5155 cat conftest.
$ac_ext >&5
5157 eval "ac_cv_func_$ac_func=no"
5162 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5163 echo "$ac_t""yes" 1>&6
5164 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5165 cat >> confdefs.h
<<EOF
5166 #define $ac_tr_func 1
5168 cat >> confdefs.h
<<\EOF
5169 #define HAVE_SHL_LOAD 1
5173 echo "$ac_t""no" 1>&6
5189 echo $ac_n "checking for underscore before symbols""... $ac_c" 1>&6
5190 echo "configure:5191: checking for underscore before symbols" >&5
5191 if eval "test \"`echo '$''{'libltdl_cv_uscore'+set}'`\" = set"; then
5192 echo $ac_n "(cached) $ac_c" 1>&6
5195 echo "main(){int i=1;} fnord(){int i=23; int ltuae=42;}" > conftest.c
5196 ${CC} -c conftest.c
> /dev
/null
5197 if (nm conftest.o
| grep _fnord
) > /dev
/null
; then
5198 libltdl_cv_uscore
=yes
5200 libltdl_cv_uscore
=no
5206 echo "$ac_t""$libltdl_cv_uscore" 1>&6
5208 if test x
"$libltdl_cv_uscore" = xyes
; then
5209 if test x
"$ac_cv_func_dlopen" = xyes
||
5210 test x
"$ac_cv_lib_dl_dlopen" = xyes
; then
5211 echo $ac_n "checking whether we have to add an underscore for dlsym""... $ac_c" 1>&6
5212 echo "configure:5213: checking whether we have to add an underscore for dlsym" >&5
5213 if eval "test \"`echo '$''{'libltdl_cv_need_uscore'+set}'`\" = set"; then
5214 echo $ac_n "(cached) $ac_c" 1>&6
5216 if test "$cross_compiling" = yes; then
5217 libltdl_cv_need_uscore
=no
5220 cat > conftest.
$ac_ext <<EOF
5221 #line 5222 "configure"
5222 #include "confdefs.h"
5226 fnord() { int i=42;}
5227 main() { void *self, *ptr1, *ptr2; self=dlopen(NULL,RTLD_LAZY);
5228 if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
5229 if(ptr1 && !ptr2) exit(0); } exit(1); }
5232 if { (eval echo configure
:5233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
5234 libltdl_cv_need_uscore
=no
5236 echo "configure: failed program was:" >&5
5237 cat conftest.
$ac_ext >&5
5239 libltdl_cv_need_uscore
=yes
5246 echo "$ac_t""$libltdl_cv_need_uscore" 1>&6
5250 if test x
"$libltdl_cv_need_uscore" = xyes
; then
5251 cat >> confdefs.h
<<\EOF
5252 #define NEED_USCORE 1
5258 for ac_func
in strerror
5260 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5261 echo "configure:5262: checking for $ac_func" >&5
5262 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5263 echo $ac_n "(cached) $ac_c" 1>&6
5265 cat > conftest.
$ac_ext <<EOF
5266 #line 5267 "configure"
5267 #include "confdefs.h"
5268 /* System header to define __stub macros and hopefully few prototypes,
5269 which can conflict with char $ac_func(); below. */
5271 /* Override any gcc2 internal prototype to avoid an error. */
5272 /* We use char because int might match the return type of a gcc2
5273 builtin and then its argument prototype would still apply. */
5278 /* The GNU C library defines this for functions which it implements
5279 to always fail with ENOSYS. Some functions are actually named
5280 something starting with __ and the normal name is an alias. */
5281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5289 if { (eval echo configure
:5290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
5291 eval "ac_cv_func_$ac_func=yes"
5293 echo "configure: failed program was:" >&5
5294 cat conftest.
$ac_ext >&5
5296 eval "ac_cv_func_$ac_func=no"
5301 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5302 echo "$ac_t""yes" 1>&6
5303 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5304 cat >> confdefs.h
<<EOF
5305 #define $ac_tr_func 1
5309 echo "$ac_t""no" 1>&6
5315 CHECK_INCLUDE
="-I/usr/include $X_CFLAGS"
5316 CHECK_LIB
="-L/lib -L/usr/lib $X_LIBS"
5320 # Make sure we can run config.sub.
5321 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
5322 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
5325 echo $ac_n "checking host system type""... $ac_c" 1>&6
5326 echo "configure:5327: checking host system type" >&5
5329 case "$host_alias" in
5333 if host_alias
=`$ac_config_guess`; then :
5334 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
5336 *) host_alias
=$nonopt ;;
5340 host=`$ac_config_sub $host_alias`
5341 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5342 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5343 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5344 echo "$ac_t""$host" 1>&6
5347 configuration
=$host_alias
5369 cat >> confdefs.h
<<\EOF
5373 case "${canonical}" in
5376 cat >> confdefs.h
<<\EOF
5383 cat >> confdefs.h
<<\EOF
5388 if test "x$TMP" = "xalpha"
5391 cat >> confdefs.h
<<\EOF
5397 *-*-irix5* | *-*-irix6* )
5400 cat >> confdefs.h
<<\EOF
5404 cat >> confdefs.h
<<\EOF
5413 cat >> confdefs.h
<<\EOF
5417 cat >> confdefs.h
<<\EOF
5418 #define __SOLARIS__ 1
5421 cat >> confdefs.h
<<\EOF
5430 cat >> confdefs.h
<<\EOF
5434 cat >> confdefs.h
<<\EOF
5438 cat >> confdefs.h
<<\EOF
5443 *-*-freebsd* | *-*-netbsd*)
5446 cat >> confdefs.h
<<\EOF
5447 #define __FREEBSD__ 1
5450 cat >> confdefs.h
<<\EOF
5458 cat >> confdefs.h
<<\EOF
5462 cat >> confdefs.h
<<\EOF
5470 cat >> confdefs.h
<<\EOF
5474 cat >> confdefs.h
<<\EOF
5482 cat >> confdefs.h
<<\EOF
5486 cat >> confdefs.h
<<\EOF
5495 cat >> confdefs.h
<<\EOF
5499 cat >> confdefs.h
<<\EOF
5503 cat >> confdefs.h
<<\EOF
5509 { echo "configure: error: I don't know your system type." 1>&2; exit 1; }
5514 rm -f ${OSTYPE}.system.cache.tmp
5515 touch ${OSTYPE}.system.cache.tmp
5516 touch ${OSTYPE}.system.cache
5521 DEFAULT_wxUSE_MOTIF
=0
5523 DEFAULT_wxUSE_THREADS
=0
5525 DEFAULT_wxUSE_SHARED
=1
5526 DEFAULT_wxUSE_OPTIMISE
=1
5527 DEFAULT_wxUSE_PROFILE
=0
5528 DEFAULT_wxUSE_DEBUG_FLAG
=0
5529 DEFAULT_wxUSE_DEBUG_INFO
=0
5530 DEFAULT_wxUSE_MEM_TRACING
=0
5531 DEFAULT_wxUSE_DMALLOC
=0
5532 DEFAULT_wxUSE_APPLE_IEEE
=1
5533 DEFAULT_wxUSE_IOSTREAMH
=1
5535 DEFAULT_wxUSE_ZLIB
=1
5536 DEFAULT_wxUSE_LIBPNG
=1
5537 DEFAULT_wxUSE_LIBJPEG
=1
5538 DEFAULT_wxUSE_ODBC
=1
5540 DEFAULT_wxUSE_TIMEDATE
=1
5541 DEFAULT_wxUSE_INTL
=1
5542 DEFAULT_wxUSE_CONFIG
=1
5543 DEFAULT_wxUSE_STREAMS
=1
5544 DEFAULT_wxUSE_SOCKETS
=1
5545 DEFAULT_wxUSE_SERIAL
=1
5546 DEFAULT_wxUSE_DYNLIB_CLASS
=1
5548 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=1
5549 DEFAULT_WX_NORMALIZED_PS_FONTS
=1
5550 DEFAULT_wxUSE_POSTSCRIPT
=1
5553 DEFAULT_wxUSE_RESOURCES
=1
5554 DEFAULT_wxUSE_CLIPBOARD
=1
5555 DEFAULT_wxUSE_TOOLTIPS
=1
5556 DEFAULT_wxUSE_DRAG_AND_DROP
=1
5558 DEFAULT_wxUSE_MDI_ARCHITECTURE
=1
5559 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=1
5560 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=1
5562 DEFAULT_wxUSE_PROLOGIO
=1
5563 DEFAULT_wxUSE_WX_RESOURCES
=1
5565 DEFAULT_wxUSE_HELP
=1
5567 DEFAULT_wxUSE_UNICODE
=0
5568 DEFAULT_wxUSE_WCSRTOMBS
=0
5572 echo $ac_n "checking "for gtk
"""... $ac_c" 1>&6
5573 echo "configure:5574: checking "for gtk
"" >&5
5574 # Check whether --with-gtk or --without-gtk was given.
5575 if test "${with_gtk+set}" = set; then
5577 if test "x$with_gtk" = xyes
; then
5578 ac_cv_use_gtk
='wxUSE_GTK="1"'
5580 ac_cv_use_gtk
='wxUSE_GTK="0"'
5584 LINE
=`grep "wxUSE_GTK" ${OSTYPE}.system.cache`
5585 if test "x$LINE" != x
; then
5586 eval "DEFAULT_$LINE"
5588 ac_cv_use_gtk
='wxUSE_GTK='$DEFAULT_wxUSE_GTK
5592 eval "$ac_cv_use_gtk"
5593 echo $ac_cv_use_gtk >> ${OSTYPE}.system.cache.tmp
5594 if test "$wxUSE_GTK" = 1; then
5595 echo "$ac_t""yes" 1>&6
5597 echo "$ac_t""no" 1>&6
5602 echo $ac_n "checking "for qt
"""... $ac_c" 1>&6
5603 echo "configure:5604: checking "for qt
"" >&5
5604 # Check whether --with-qt or --without-qt was given.
5605 if test "${with_qt+set}" = set; then
5607 if test "x$with_qt" = xyes
; then
5608 ac_cv_use_qt
='wxUSE_QT="1"'
5610 ac_cv_use_qt
='wxUSE_QT="0"'
5614 LINE
=`grep "wxUSE_QT" ${OSTYPE}.system.cache`
5615 if test "x$LINE" != x
; then
5616 eval "DEFAULT_$LINE"
5618 ac_cv_use_qt
='wxUSE_QT='$DEFAULT_wxUSE_QT
5622 eval "$ac_cv_use_qt"
5623 echo $ac_cv_use_qt >> ${OSTYPE}.system.cache.tmp
5624 if test "$wxUSE_QT" = 1; then
5625 echo "$ac_t""yes" 1>&6
5627 echo "$ac_t""no" 1>&6
5632 echo $ac_n "checking "for motif
"""... $ac_c" 1>&6
5633 echo "configure:5634: checking "for motif
"" >&5
5634 # Check whether --with-motif or --without-motif was given.
5635 if test "${with_motif+set}" = set; then
5636 withval
="$with_motif"
5637 if test "x$with_motif" = xyes
; then
5638 ac_cv_use_motif
='wxUSE_MOTIF="1"'
5640 ac_cv_use_motif
='wxUSE_MOTIF="0"'
5644 LINE
=`grep "wxUSE_MOTIF" ${OSTYPE}.system.cache`
5645 if test "x$LINE" != x
; then
5646 eval "DEFAULT_$LINE"
5648 ac_cv_use_motif
='wxUSE_MOTIF='$DEFAULT_wxUSE_MOTIF
5652 eval "$ac_cv_use_motif"
5653 echo $ac_cv_use_motif >> ${OSTYPE}.system.cache.tmp
5654 if test "$wxUSE_MOTIF" = 1; then
5655 echo "$ac_t""yes" 1>&6
5657 echo "$ac_t""no" 1>&6
5663 echo $ac_n "checking "for shared
"""... $ac_c" 1>&6
5664 echo "configure:5665: checking "for shared
"" >&5
5665 # Check whether --with-shared or --without-shared was given.
5666 if test "${with_shared+set}" = set; then
5667 withval
="$with_shared"
5668 if test "x$with_shared" = xyes
; then
5669 ac_cv_use_shared
='wxUSE_SHARED="1"'
5671 ac_cv_use_shared
='wxUSE_SHARED="0"'
5675 LINE
=`grep "wxUSE_SHARED" ${OSTYPE}.system.cache`
5676 if test "x$LINE" != x
; then
5677 eval "DEFAULT_$LINE"
5679 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
5683 eval "$ac_cv_use_shared"
5684 echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp
5685 if test "$wxUSE_SHARED" = 1; then
5686 echo "$ac_t""yes" 1>&6
5688 echo "$ac_t""no" 1>&6
5693 echo $ac_n "checking "for optimise
"""... $ac_c" 1>&6
5694 echo "configure:5695: checking "for optimise
"" >&5
5695 # Check whether --with-optimise or --without-optimise was given.
5696 if test "${with_optimise+set}" = set; then
5697 withval
="$with_optimise"
5698 if test "x$with_optimise" = xyes
; then
5699 ac_cv_use_optimise
='wxUSE_OPTIMISE="1"'
5701 ac_cv_use_optimise
='wxUSE_OPTIMISE="0"'
5705 LINE
=`grep "wxUSE_OPTIMISE" ${OSTYPE}.system.cache`
5706 if test "x$LINE" != x
; then
5707 eval "DEFAULT_$LINE"
5709 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
5713 eval "$ac_cv_use_optimise"
5714 echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp
5715 if test "$wxUSE_OPTIMISE" = 1; then
5716 echo "$ac_t""yes" 1>&6
5718 echo "$ac_t""no" 1>&6
5723 echo $ac_n "checking "for debug_flag
"""... $ac_c" 1>&6
5724 echo "configure:5725: checking "for debug_flag
"" >&5
5725 # Check whether --with-debug_flag or --without-debug_flag was given.
5726 if test "${with_debug_flag+set}" = set; then
5727 withval
="$with_debug_flag"
5728 if test "x$with_debug_flag" = xyes
; then
5729 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="1"'
5731 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="0"'
5735 LINE
=`grep "wxUSE_DEBUG_FLAG" ${OSTYPE}.system.cache`
5736 if test "x$LINE" != x
; then
5737 eval "DEFAULT_$LINE"
5739 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
5743 eval "$ac_cv_use_debug_flag"
5744 echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp
5745 if test "$wxUSE_DEBUG_FLAG" = 1; then
5746 echo "$ac_t""yes" 1>&6
5748 echo "$ac_t""no" 1>&6
5753 echo $ac_n "checking "for debug_info
"""... $ac_c" 1>&6
5754 echo "configure:5755: checking "for debug_info
"" >&5
5755 # Check whether --with-debug_info or --without-debug_info was given.
5756 if test "${with_debug_info+set}" = set; then
5757 withval
="$with_debug_info"
5758 if test "x$with_debug_info" = xyes
; then
5759 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="1"'
5761 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="0"'
5765 LINE
=`grep "wxUSE_DEBUG_INFO" ${OSTYPE}.system.cache`
5766 if test "x$LINE" != x
; then
5767 eval "DEFAULT_$LINE"
5769 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
5773 eval "$ac_cv_use_debug_info"
5774 echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp
5775 if test "$wxUSE_DEBUG_INFO" = 1; then
5776 echo "$ac_t""yes" 1>&6
5778 echo "$ac_t""no" 1>&6
5783 echo $ac_n "checking "for debug_gdb
"""... $ac_c" 1>&6
5784 echo "configure:5785: checking "for debug_gdb
"" >&5
5785 # Check whether --with-debug_gdb or --without-debug_gdb was given.
5786 if test "${with_debug_gdb+set}" = set; then
5787 withval
="$with_debug_gdb"
5788 if test "x$with_debug_gdb" = xyes
; then
5789 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB="1"'
5791 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB="0"'
5795 LINE
=`grep "wxUSE_DEBUG_GDB" ${OSTYPE}.system.cache`
5796 if test "x$LINE" != x
; then
5797 eval "DEFAULT_$LINE"
5799 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
5803 eval "$ac_cv_use_debug_gdb"
5804 echo $ac_cv_use_debug_gdb >> ${OSTYPE}.system.cache.tmp
5805 if test "$wxUSE_DEBUG_GDB" = 1; then
5806 echo "$ac_t""yes" 1>&6
5808 echo "$ac_t""no" 1>&6
5813 echo $ac_n "checking "for mem_tracing
"""... $ac_c" 1>&6
5814 echo "configure:5815: checking "for mem_tracing
"" >&5
5815 # Check whether --with-mem_tracing or --without-mem_tracing was given.
5816 if test "${with_mem_tracing+set}" = set; then
5817 withval
="$with_mem_tracing"
5818 if test "x$with_mem_tracing" = xyes
; then
5819 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="1"'
5821 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="0"'
5825 LINE
=`grep "wxUSE_MEM_TRACING" ${OSTYPE}.system.cache`
5826 if test "x$LINE" != x
; then
5827 eval "DEFAULT_$LINE"
5829 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
5833 eval "$ac_cv_use_mem_tracing"
5834 echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
5835 if test "$wxUSE_MEM_TRACING" = 1; then
5836 echo "$ac_t""yes" 1>&6
5838 echo "$ac_t""no" 1>&6
5843 echo $ac_n "checking "for dmalloc
"""... $ac_c" 1>&6
5844 echo "configure:5845: checking "for dmalloc
"" >&5
5845 # Check whether --with-dmalloc or --without-dmalloc was given.
5846 if test "${with_dmalloc+set}" = set; then
5847 withval
="$with_dmalloc"
5848 if test "x$with_dmalloc" = xyes
; then
5849 ac_cv_use_dmalloc
='wxUSE_DMALLOC="1"'
5851 ac_cv_use_dmalloc
='wxUSE_DMALLOC="0"'
5855 LINE
=`grep "wxUSE_DMALLOC" ${OSTYPE}.system.cache`
5856 if test "x$LINE" != x
; then
5857 eval "DEFAULT_$LINE"
5859 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
5863 eval "$ac_cv_use_dmalloc"
5864 echo $ac_cv_use_dmalloc >> ${OSTYPE}.system.cache.tmp
5865 if test "$wxUSE_DMALLOC" = 1; then
5866 echo "$ac_t""yes" 1>&6
5868 echo "$ac_t""no" 1>&6
5873 echo $ac_n "checking "for profile
"""... $ac_c" 1>&6
5874 echo "configure:5875: checking "for profile
"" >&5
5875 # Check whether --with-profile or --without-profile was given.
5876 if test "${with_profile+set}" = set; then
5877 withval
="$with_profile"
5878 if test "x$with_profile" = xyes
; then
5879 ac_cv_use_profile
='wxUSE_PROFILE="1"'
5881 ac_cv_use_profile
='wxUSE_PROFILE="0"'
5885 LINE
=`grep "wxUSE_PROFILE" ${OSTYPE}.system.cache`
5886 if test "x$LINE" != x
; then
5887 eval "DEFAULT_$LINE"
5889 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5893 eval "$ac_cv_use_profile"
5894 echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
5895 if test "$wxUSE_PROFILE" = 1; then
5896 echo "$ac_t""yes" 1>&6
5898 echo "$ac_t""no" 1>&6
5903 echo $ac_n "checking "for apple_ieee
"""... $ac_c" 1>&6
5904 echo "configure:5905: checking "for apple_ieee
"" >&5
5905 # Check whether --with-apple_ieee or --without-apple_ieee was given.
5906 if test "${with_apple_ieee+set}" = set; then
5907 withval
="$with_apple_ieee"
5908 if test "x$with_apple_ieee" = xyes
; then
5909 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="1"'
5911 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="0"'
5915 LINE
=`grep "wxUSE_APPLE_IEEE" ${OSTYPE}.system.cache`
5916 if test "x$LINE" != x
; then
5917 eval "DEFAULT_$LINE"
5919 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5923 eval "$ac_cv_use_apple_ieee"
5924 echo $ac_cv_use_apple_ieee >> ${OSTYPE}.system.cache.tmp
5925 if test "$wxUSE_APPLE_IEEE" = 1; then
5926 echo "$ac_t""yes" 1>&6
5928 echo "$ac_t""no" 1>&6
5933 echo $ac_n "checking "for threads
"""... $ac_c" 1>&6
5934 echo "configure:5935: checking "for threads
"" >&5
5935 # Check whether --with-threads or --without-threads was given.
5936 if test "${with_threads+set}" = set; then
5937 withval
="$with_threads"
5938 if test "x$with_threads" = xyes
; then
5939 ac_cv_use_threads
='wxUSE_THREADS="1"'
5941 ac_cv_use_threads
='wxUSE_THREADS="0"'
5945 LINE
=`grep "wxUSE_THREADS" ${OSTYPE}.system.cache`
5946 if test "x$LINE" != x
; then
5947 eval "DEFAULT_$LINE"
5949 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5953 eval "$ac_cv_use_threads"
5954 echo $ac_cv_use_threads >> ${OSTYPE}.system.cache.tmp
5955 if test "$wxUSE_THREADS" = 1; then
5956 echo "$ac_t""yes" 1>&6
5958 echo "$ac_t""no" 1>&6
5963 echo $ac_n "checking "for dynlib
"""... $ac_c" 1>&6
5964 echo "configure:5965: checking "for dynlib
"" >&5
5965 # Check whether --with-dynlib or --without-dynlib was given.
5966 if test "${with_dynlib+set}" = set; then
5967 withval
="$with_dynlib"
5968 if test "x$with_dynlib" = xyes
; then
5969 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS="1"'
5971 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS="0"'
5975 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${OSTYPE}.system.cache`
5976 if test "x$LINE" != x
; then
5977 eval "DEFAULT_$LINE"
5979 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5983 eval "$ac_cv_use_dynlib"
5984 echo $ac_cv_use_dynlib >> ${OSTYPE}.system.cache.tmp
5985 if test "$wxUSE_DYNLIB_CLASS" = 1; then
5986 echo "$ac_t""yes" 1>&6
5988 echo "$ac_t""no" 1>&6
5994 echo $ac_n "checking "for zlib
"""... $ac_c" 1>&6
5995 echo "configure:5996: checking "for zlib
"" >&5
5996 # Check whether --with-zlib or --without-zlib was given.
5997 if test "${with_zlib+set}" = set; then
5998 withval
="$with_zlib"
5999 if test "x$with_zlib" = xyes
; then
6000 ac_cv_use_zlib
='wxUSE_ZLIB="1"'
6002 ac_cv_use_zlib
='wxUSE_ZLIB="0"'
6006 LINE
=`grep "wxUSE_ZLIB" ${OSTYPE}.system.cache`
6007 if test "x$LINE" != x
; then
6008 eval "DEFAULT_$LINE"
6010 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
6014 eval "$ac_cv_use_zlib"
6015 echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
6016 if test "$wxUSE_ZLIB" = 1; then
6017 echo "$ac_t""yes" 1>&6
6019 echo "$ac_t""no" 1>&6
6024 echo $ac_n "checking "for libpng
"""... $ac_c" 1>&6
6025 echo "configure:6026: checking "for libpng
"" >&5
6026 # Check whether --with-libpng or --without-libpng was given.
6027 if test "${with_libpng+set}" = set; then
6028 withval
="$with_libpng"
6029 if test "x$with_libpng" = xyes
; then
6030 ac_cv_use_libpng
='wxUSE_LIBPNG="1"'
6032 ac_cv_use_libpng
='wxUSE_LIBPNG="0"'
6036 LINE
=`grep "wxUSE_LIBPNG" ${OSTYPE}.system.cache`
6037 if test "x$LINE" != x
; then
6038 eval "DEFAULT_$LINE"
6040 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
6044 eval "$ac_cv_use_libpng"
6045 echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
6046 if test "$wxUSE_LIBPNG" = 1; then
6047 echo "$ac_t""yes" 1>&6
6049 echo "$ac_t""no" 1>&6
6054 echo $ac_n "checking "for libjpeg
"""... $ac_c" 1>&6
6055 echo "configure:6056: checking "for libjpeg
"" >&5
6056 # Check whether --with-libjpeg or --without-libjpeg was given.
6057 if test "${with_libjpeg+set}" = set; then
6058 withval
="$with_libjpeg"
6059 if test "x$with_libjpeg" = xyes
; then
6060 ac_cv_use_libjpeg
='wxUSE_LIBJPEG="1"'
6062 ac_cv_use_libjpeg
='wxUSE_LIBJPEG="0"'
6066 LINE
=`grep "wxUSE_LIBJPEG" ${OSTYPE}.system.cache`
6067 if test "x$LINE" != x
; then
6068 eval "DEFAULT_$LINE"
6070 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
6074 eval "$ac_cv_use_libjpeg"
6075 echo $ac_cv_use_libjpeg >> ${OSTYPE}.system.cache.tmp
6076 if test "$wxUSE_LIBJPEG" = 1; then
6077 echo "$ac_t""yes" 1>&6
6079 echo "$ac_t""no" 1>&6
6084 echo $ac_n "checking "for odbc
"""... $ac_c" 1>&6
6085 echo "configure:6086: checking "for odbc
"" >&5
6086 # Check whether --with-odbc or --without-odbc was given.
6087 if test "${with_odbc+set}" = set; then
6088 withval
="$with_odbc"
6089 if test "x$with_odbc" = xyes
; then
6090 ac_cv_use_odbc
='wxUSE_ODBC="1"'
6092 ac_cv_use_odbc
='wxUSE_ODBC="0"'
6096 LINE
=`grep "wxUSE_ODBC" ${OSTYPE}.system.cache`
6097 if test "x$LINE" != x
; then
6098 eval "DEFAULT_$LINE"
6100 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
6104 eval "$ac_cv_use_odbc"
6105 echo $ac_cv_use_odbc >> ${OSTYPE}.system.cache.tmp
6106 if test "$wxUSE_ODBC" = 1; then
6107 echo "$ac_t""yes" 1>&6
6109 echo "$ac_t""no" 1>&6
6115 echo $ac_n "checking "for timedate
"""... $ac_c" 1>&6
6116 echo "configure:6117: checking "for timedate
"" >&5
6117 # Check whether --with-timedate or --without-timedate was given.
6118 if test "${with_timedate+set}" = set; then
6119 withval
="$with_timedate"
6120 if test "x$with_timedate" = xyes
; then
6121 ac_cv_use_timedate
='wxUSE_TIMEDATE="1"'
6123 ac_cv_use_timedate
='wxUSE_TIMEDATE="0"'
6127 LINE
=`grep "wxUSE_TIMEDATE" ${OSTYPE}.system.cache`
6128 if test "x$LINE" != x
; then
6129 eval "DEFAULT_$LINE"
6131 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
6135 eval "$ac_cv_use_timedate"
6136 echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
6137 if test "$wxUSE_TIMEDATE" = 1; then
6138 echo "$ac_t""yes" 1>&6
6140 echo "$ac_t""no" 1>&6
6145 echo $ac_n "checking "for intl
"""... $ac_c" 1>&6
6146 echo "configure:6147: checking "for intl
"" >&5
6147 # Check whether --with-intl or --without-intl was given.
6148 if test "${with_intl+set}" = set; then
6149 withval
="$with_intl"
6150 if test "x$with_intl" = xyes
; then
6151 ac_cv_use_intl
='wxUSE_INTL="1"'
6153 ac_cv_use_intl
='wxUSE_INTL="0"'
6157 LINE
=`grep "wxUSE_INTL" ${OSTYPE}.system.cache`
6158 if test "x$LINE" != x
; then
6159 eval "DEFAULT_$LINE"
6161 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
6165 eval "$ac_cv_use_intl"
6166 echo $ac_cv_use_intl >> ${OSTYPE}.system.cache.tmp
6167 if test "$wxUSE_INTL" = 1; then
6168 echo "$ac_t""yes" 1>&6
6170 echo "$ac_t""no" 1>&6
6175 echo $ac_n "checking "for config
"""... $ac_c" 1>&6
6176 echo "configure:6177: checking "for config
"" >&5
6177 # Check whether --with-config or --without-config was given.
6178 if test "${with_config+set}" = set; then
6179 withval
="$with_config"
6180 if test "x$with_config" = xyes
; then
6181 ac_cv_use_config
='wxUSE_CONFIG="1"'
6183 ac_cv_use_config
='wxUSE_CONFIG="0"'
6187 LINE
=`grep "wxUSE_CONFIG" ${OSTYPE}.system.cache`
6188 if test "x$LINE" != x
; then
6189 eval "DEFAULT_$LINE"
6191 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
6195 eval "$ac_cv_use_config"
6196 echo $ac_cv_use_config >> ${OSTYPE}.system.cache.tmp
6197 if test "$wxUSE_CONFIG" = 1; then
6198 echo "$ac_t""yes" 1>&6
6200 echo "$ac_t""no" 1>&6
6205 echo $ac_n "checking "for streams
"""... $ac_c" 1>&6
6206 echo "configure:6207: checking "for streams
"" >&5
6207 # Check whether --with-streams or --without-streams was given.
6208 if test "${with_streams+set}" = set; then
6209 withval
="$with_streams"
6210 if test "x$with_streams" = xyes
; then
6211 ac_cv_use_streams
='wxUSE_STREAMS="1"'
6213 ac_cv_use_streams
='wxUSE_STREAMS="0"'
6217 LINE
=`grep "wxUSE_STREAMS" ${OSTYPE}.system.cache`
6218 if test "x$LINE" != x
; then
6219 eval "DEFAULT_$LINE"
6221 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6225 eval "$ac_cv_use_streams"
6226 echo $ac_cv_use_streams >> ${OSTYPE}.system.cache.tmp
6227 if test "$wxUSE_STREAMS" = 1; then
6228 echo "$ac_t""yes" 1>&6
6230 echo "$ac_t""no" 1>&6
6235 echo $ac_n "checking "for serial
"""... $ac_c" 1>&6
6236 echo "configure:6237: checking "for serial
"" >&5
6237 # Check whether --with-serial or --without-serial was given.
6238 if test "${with_serial+set}" = set; then
6239 withval
="$with_serial"
6240 if test "x$with_serial" = xyes
; then
6241 ac_cv_use_serial
='wxUSE_SERIAL="1"'
6243 ac_cv_use_serial
='wxUSE_SERIAL="0"'
6247 LINE
=`grep "wxUSE_SERIAL" ${OSTYPE}.system.cache`
6248 if test "x$LINE" != x
; then
6249 eval "DEFAULT_$LINE"
6251 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
6255 eval "$ac_cv_use_serial"
6256 echo $ac_cv_use_serial >> ${OSTYPE}.system.cache.tmp
6257 if test "$wxUSE_SERIAL" = 1; then
6258 echo "$ac_t""yes" 1>&6
6260 echo "$ac_t""no" 1>&6
6265 echo $ac_n "checking "for sockets
"""... $ac_c" 1>&6
6266 echo "configure:6267: checking "for sockets
"" >&5
6267 # Check whether --with-sockets or --without-sockets was given.
6268 if test "${with_sockets+set}" = set; then
6269 withval
="$with_sockets"
6270 if test "x$with_sockets" = xyes
; then
6271 ac_cv_use_sockets
='wxUSE_SOCKETS="1"'
6273 ac_cv_use_sockets
='wxUSE_SOCKETS="0"'
6277 LINE
=`grep "wxUSE_SOCKETS" ${OSTYPE}.system.cache`
6278 if test "x$LINE" != x
; then
6279 eval "DEFAULT_$LINE"
6281 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
6285 eval "$ac_cv_use_sockets"
6286 echo $ac_cv_use_sockets >> ${OSTYPE}.system.cache.tmp
6287 if test "$wxUSE_SOCKETS" = 1; then
6288 echo "$ac_t""yes" 1>&6
6290 echo "$ac_t""no" 1>&6
6296 echo $ac_n "checking "for afmfonts
"""... $ac_c" 1>&6
6297 echo "configure:6298: checking "for afmfonts
"" >&5
6298 # Check whether --with-afmfonts or --without-afmfonts was given.
6299 if test "${with_afmfonts+set}" = set; then
6300 withval
="$with_afmfonts"
6301 if test "x$with_afmfonts" = xyes
; then
6302 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="1"'
6304 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="0"'
6308 LINE
=`grep "wxUSE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache`
6309 if test "x$LINE" != x
; then
6310 eval "DEFAULT_$LINE"
6312 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT='$DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
6316 eval "$ac_cv_use_afmfonts"
6317 echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
6318 if test "$wxUSE_AFM_FOR_POSTSCRIPT" = 1; then
6319 echo "$ac_t""yes" 1>&6
6321 echo "$ac_t""no" 1>&6
6326 echo $ac_n "checking "for normalized
"""... $ac_c" 1>&6
6327 echo "configure:6328: checking "for normalized
"" >&5
6328 # Check whether --with-normalized or --without-normalized was given.
6329 if test "${with_normalized+set}" = set; then
6330 withval
="$with_normalized"
6331 if test "x$with_normalized" = xyes
; then
6332 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="1"'
6334 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="0"'
6338 LINE
=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache`
6339 if test "x$LINE" != x
; then
6340 eval "DEFAULT_$LINE"
6342 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS
6346 eval "$ac_cv_use_normalized"
6347 echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
6348 if test "$WX_NORMALIZED_PS_FONTS" = 1; then
6349 echo "$ac_t""yes" 1>&6
6351 echo "$ac_t""no" 1>&6
6356 echo $ac_n "checking "for postscript
"""... $ac_c" 1>&6
6357 echo "configure:6358: checking "for postscript
"" >&5
6358 # Check whether --with-postscript or --without-postscript was given.
6359 if test "${with_postscript+set}" = set; then
6360 withval
="$with_postscript"
6361 if test "x$with_postscript" = xyes
; then
6362 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="1"'
6364 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="0"'
6368 LINE
=`grep "wxUSE_POSTSCRIPT" ${OSTYPE}.system.cache`
6369 if test "x$LINE" != x
; then
6370 eval "DEFAULT_$LINE"
6372 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6376 eval "$ac_cv_use_postscript"
6377 echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
6378 if test "$wxUSE_POSTSCRIPT" = 1; then
6379 echo "$ac_t""yes" 1>&6
6381 echo "$ac_t""no" 1>&6
6387 echo $ac_n "checking "for unicode
"""... $ac_c" 1>&6
6388 echo "configure:6389: checking "for unicode
"" >&5
6389 # Check whether --with-unicode or --without-unicode was given.
6390 if test "${with_unicode+set}" = set; then
6391 withval
="$with_unicode"
6392 if test "x$with_unicode" = xyes
; then
6393 ac_cv_use_unicode
='wxUSE_UNICODE="1"'
6395 ac_cv_use_unicode
='wxUSE_UNICODE="0"'
6399 LINE
=`grep "wxUSE_UNICODE" ${OSTYPE}.system.cache`
6400 if test "x$LINE" != x
; then
6401 eval "DEFAULT_$LINE"
6403 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6407 eval "$ac_cv_use_unicode"
6408 echo $ac_cv_use_unicode >> ${OSTYPE}.system.cache.tmp
6409 if test "$wxUSE_UNICODE" = 1; then
6410 echo "$ac_t""yes" 1>&6
6412 echo "$ac_t""no" 1>&6
6417 echo $ac_n "checking "for wcsrtombs
"""... $ac_c" 1>&6
6418 echo "configure:6419: checking "for wcsrtombs
"" >&5
6419 # Check whether --with-wcsrtombs or --without-wcsrtombs was given.
6420 if test "${with_wcsrtombs+set}" = set; then
6421 withval
="$with_wcsrtombs"
6422 if test "x$with_wcsrtombs" = xyes
; then
6423 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="1"'
6425 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="0"'
6429 LINE
=`grep "wxUSE_WCSRTOMBS" ${OSTYPE}.system.cache`
6430 if test "x$LINE" != x
; then
6431 eval "DEFAULT_$LINE"
6433 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
6437 eval "$ac_cv_use_wcsrtombs"
6438 echo $ac_cv_use_wcsrtombs >> ${OSTYPE}.system.cache.tmp
6439 if test "$wxUSE_WCSRTOMBS" = 1; then
6440 echo "$ac_t""yes" 1>&6
6442 echo "$ac_t""no" 1>&6
6448 echo $ac_n "checking "for wxresources
"""... $ac_c" 1>&6
6449 echo "configure:6450: checking "for wxresources
"" >&5
6450 # Check whether --with-wxresources or --without-wxresources was given.
6451 if test "${with_wxresources+set}" = set; then
6452 withval
="$with_wxresources"
6453 if test "x$with_wxresources" = xyes
; then
6454 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="1"'
6456 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="0"'
6460 LINE
=`grep "wxUSE_WX_RESOURCES" ${OSTYPE}.system.cache`
6461 if test "x$LINE" != x
; then
6462 eval "DEFAULT_$LINE"
6464 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES='$DEFAULT_wxUSE_WX_RESOURCES
6468 eval "$ac_cv_use_wxresources"
6469 echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
6470 if test "$wxUSE_WX_RESOURCES" = 1; then
6471 echo "$ac_t""yes" 1>&6
6473 echo "$ac_t""no" 1>&6
6478 echo $ac_n "checking "for prologio
"""... $ac_c" 1>&6
6479 echo "configure:6480: checking "for prologio
"" >&5
6480 # Check whether --with-prologio or --without-prologio was given.
6481 if test "${with_prologio+set}" = set; then
6482 withval
="$with_prologio"
6483 if test "x$with_prologio" = xyes
; then
6484 ac_cv_use_prologio
='wxUSE_PROLOGIO="1"'
6486 ac_cv_use_prologio
='wxUSE_PROLOGIO="0"'
6490 LINE
=`grep "wxUSE_PROLOGIO" ${OSTYPE}.system.cache`
6491 if test "x$LINE" != x
; then
6492 eval "DEFAULT_$LINE"
6494 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6498 eval "$ac_cv_use_prologio"
6499 echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
6500 if test "$wxUSE_PROLOGIO" = 1; then
6501 echo "$ac_t""yes" 1>&6
6503 echo "$ac_t""no" 1>&6
6508 echo $ac_n "checking "for RPC
"""... $ac_c" 1>&6
6509 echo "configure:6510: checking "for RPC
"" >&5
6510 # Check whether --with-rpc or --without-rpc was given.
6511 if test "${with_rpc+set}" = set; then
6513 if test "x$with_rpc" = xyes
; then
6514 ac_cv_use_rpc
='wxUSE_RPC="1"'
6516 ac_cv_use_rpc
='wxUSE_RPC="0"'
6520 LINE
=`grep "wxUSE_RPC" ${OSTYPE}.system.cache`
6521 if test "x$LINE" != x
; then
6522 eval "DEFAULT_$LINE"
6524 ac_cv_use_rpc
='wxUSE_RPC='$DEFAULT_wxUSE_RPC
6528 eval "$ac_cv_use_rpc"
6529 echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
6530 if test "$wxUSE_RPC" = 1; then
6531 echo "$ac_t""yes" 1>&6
6533 echo "$ac_t""no" 1>&6
6539 echo $ac_n "checking "for IPC
"""... $ac_c" 1>&6
6540 echo "configure:6541: checking "for IPC
"" >&5
6541 # Check whether --with-ipc or --without-ipc was given.
6542 if test "${with_ipc+set}" = set; then
6544 if test "x$with_ipc" = xyes
; then
6545 ac_cv_use_ipc
='wxUSE_IPC="1"'
6547 ac_cv_use_ipc
='wxUSE_IPC="0"'
6551 LINE
=`grep "wxUSE_IPC" ${OSTYPE}.system.cache`
6552 if test "x$LINE" != x
; then
6553 eval "DEFAULT_$LINE"
6555 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
6559 eval "$ac_cv_use_ipc"
6560 echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
6561 if test "$wxUSE_IPC" = 1; then
6562 echo "$ac_t""yes" 1>&6
6564 echo "$ac_t""no" 1>&6
6569 echo $ac_n "checking "for resources
"""... $ac_c" 1>&6
6570 echo "configure:6571: checking "for resources
"" >&5
6571 # Check whether --with-resources or --without-resources was given.
6572 if test "${with_resources+set}" = set; then
6573 withval
="$with_resources"
6574 if test "x$with_resources" = xyes
; then
6575 ac_cv_use_resources
='wxUSE_RESOURCES="1"'
6577 ac_cv_use_resources
='wxUSE_RESOURCES="0"'
6581 LINE
=`grep "wxUSE_RESOURCES" ${OSTYPE}.system.cache`
6582 if test "x$LINE" != x
; then
6583 eval "DEFAULT_$LINE"
6585 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6589 eval "$ac_cv_use_resources"
6590 echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
6591 if test "$wxUSE_RESOURCES" = 1; then
6592 echo "$ac_t""yes" 1>&6
6594 echo "$ac_t""no" 1>&6
6599 echo $ac_n "checking "for clipboard
"""... $ac_c" 1>&6
6600 echo "configure:6601: checking "for clipboard
"" >&5
6601 # Check whether --with-clipboard or --without-clipboard was given.
6602 if test "${with_clipboard+set}" = set; then
6603 withval
="$with_clipboard"
6604 if test "x$with_clipboard" = xyes
; then
6605 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="1"'
6607 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="0"'
6611 LINE
=`grep "wxUSE_CLIPBOARD" ${OSTYPE}.system.cache`
6612 if test "x$LINE" != x
; then
6613 eval "DEFAULT_$LINE"
6615 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6619 eval "$ac_cv_use_clipboard"
6620 echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
6621 if test "$wxUSE_CLIPBOARD" = 1; then
6622 echo "$ac_t""yes" 1>&6
6624 echo "$ac_t""no" 1>&6
6629 echo $ac_n "checking "for tooltips
"""... $ac_c" 1>&6
6630 echo "configure:6631: checking "for tooltips
"" >&5
6631 # Check whether --with-tooltips or --without-tooltips was given.
6632 if test "${with_tooltips+set}" = set; then
6633 withval
="$with_tooltips"
6634 if test "x$with_tooltips" = xyes
; then
6635 ac_cv_use_tooltips
='wxUSE_TOOLTIPS="1"'
6637 ac_cv_use_tooltips
='wxUSE_TOOLTIPS="0"'
6641 LINE
=`grep "wxUSE_TOOLTIPS" ${OSTYPE}.system.cache`
6642 if test "x$LINE" != x
; then
6643 eval "DEFAULT_$LINE"
6645 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
6649 eval "$ac_cv_use_tooltips"
6650 echo $ac_cv_use_tooltips >> ${OSTYPE}.system.cache.tmp
6651 if test "$wxUSE_TOOLTIPS" = 1; then
6652 echo "$ac_t""yes" 1>&6
6654 echo "$ac_t""no" 1>&6
6659 echo $ac_n "checking "for dnd
"""... $ac_c" 1>&6
6660 echo "configure:6661: checking "for dnd
"" >&5
6661 # Check whether --with-dnd or --without-dnd was given.
6662 if test "${with_dnd+set}" = set; then
6664 if test "x$with_dnd" = xyes
; then
6665 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP="1"'
6667 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP="0"'
6671 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${OSTYPE}.system.cache`
6672 if test "x$LINE" != x
; then
6673 eval "DEFAULT_$LINE"
6675 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6679 eval "$ac_cv_use_dnd"
6680 echo $ac_cv_use_dnd >> ${OSTYPE}.system.cache.tmp
6681 if test "$wxUSE_DRAG_AND_DROP" = 1; then
6682 echo "$ac_t""yes" 1>&6
6684 echo "$ac_t""no" 1>&6
6690 echo $ac_n "checking "for mdi
"""... $ac_c" 1>&6
6691 echo "configure:6692: checking "for mdi
"" >&5
6692 # Check whether --with-mdi or --without-mdi was given.
6693 if test "${with_mdi+set}" = set; then
6695 if test "x$with_mdi" = xyes
; then
6696 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="1"'
6698 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="0"'
6702 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${OSTYPE}.system.cache`
6703 if test "x$LINE" != x
; then
6704 eval "DEFAULT_$LINE"
6706 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6710 eval "$ac_cv_use_mdi"
6711 echo $ac_cv_use_mdi >> ${OSTYPE}.system.cache.tmp
6712 if test "$wxUSE_MDI_ARCHITECTURE" = 1; then
6713 echo "$ac_t""yes" 1>&6
6715 echo "$ac_t""no" 1>&6
6720 echo $ac_n "checking "for docview
"""... $ac_c" 1>&6
6721 echo "configure:6722: checking "for docview
"" >&5
6722 # Check whether --with-docview or --without-docview was given.
6723 if test "${with_docview+set}" = set; then
6724 withval
="$with_docview"
6725 if test "x$with_docview" = xyes
; then
6726 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="1"'
6728 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="0"'
6732 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache`
6733 if test "x$LINE" != x
; then
6734 eval "DEFAULT_$LINE"
6736 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6740 eval "$ac_cv_use_docview"
6741 echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp
6742 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1; then
6743 echo "$ac_t""yes" 1>&6
6745 echo "$ac_t""no" 1>&6
6750 echo $ac_n "checking "for printarch
"""... $ac_c" 1>&6
6751 echo "configure:6752: checking "for printarch
"" >&5
6752 # Check whether --with-printarch or --without-printarch was given.
6753 if test "${with_printarch+set}" = set; then
6754 withval
="$with_printarch"
6755 if test "x$with_printarch" = xyes
; then
6756 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="1"'
6758 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="0"'
6762 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache`
6763 if test "x$LINE" != x
; then
6764 eval "DEFAULT_$LINE"
6766 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6770 eval "$ac_cv_use_printarch"
6771 echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp
6772 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1; then
6773 echo "$ac_t""yes" 1>&6
6775 echo "$ac_t""no" 1>&6
6780 echo $ac_n "checking "for help"""... $ac_c" 1>&6
6781 echo "configure:6782: checking "for help"" >&5
6782 # Check whether --with-help or --without-help was given.
6783 if test "${with_help+set}" = set; then
6784 withval
="$with_help"
6785 if test "x$with_help" = xyes
; then
6786 ac_cv_use_help
='wxUSE_HELP="1"'
6788 ac_cv_use_help
='wxUSE_HELP="0"'
6792 LINE
=`grep "wxUSE_HELP" ${OSTYPE}.system.cache`
6793 if test "x$LINE" != x
; then
6794 eval "DEFAULT_$LINE"
6796 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6800 eval "$ac_cv_use_help"
6801 echo $ac_cv_use_help >> ${OSTYPE}.system.cache.tmp
6802 if test "$wxUSE_HELP" = 1; then
6803 echo "$ac_t""yes" 1>&6
6805 echo "$ac_t""no" 1>&6
6810 if test "$wxUSE_UNIX" = 1 ; then
6811 cat >> confdefs.h
<<\EOF
6817 if test "$USE_LINUX" = 1; then
6818 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
6819 echo "configure:6820: checking for gettext in -lc" >&5
6820 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
6821 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6822 echo $ac_n "(cached) $ac_c" 1>&6
6824 ac_save_LIBS
="$LIBS"
6826 cat > conftest.
$ac_ext <<EOF
6827 #line 6828 "configure"
6828 #include "confdefs.h"
6829 /* Override any gcc2 internal prototype to avoid an error. */
6830 /* We use char because int might match the return type of a gcc2
6831 builtin and then its argument prototype would still apply. */
6838 if { (eval echo configure
:6839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6840 eval "ac_cv_lib_$ac_lib_var=yes"
6842 echo "configure: failed program was:" >&5
6843 cat conftest.
$ac_ext >&5
6845 eval "ac_cv_lib_$ac_lib_var=no"
6848 LIBS
="$ac_save_LIBS"
6851 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6852 echo "$ac_t""yes" 1>&6
6853 cat >> confdefs.h
<<\EOF
6854 #define wxHAVE_GLIBC2 1
6858 echo "$ac_t""no" 1>&6
6877 if test "$wxUSE_GTK" = 1; then
6878 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
6879 if test "${with_gtk_prefix+set}" = set; then
6880 withval
="$with_gtk_prefix"
6881 gtk_config_prefix
="$withval"
6883 gtk_config_prefix
=""
6886 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
6887 if test "${with_gtk_exec_prefix+set}" = set; then
6888 withval
="$with_gtk_exec_prefix"
6889 gtk_config_exec_prefix
="$withval"
6891 gtk_config_exec_prefix
=""
6895 if test x
$gtk_config_exec_prefix != x
; then
6896 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6897 if test x
${GTK_CONFIG+set} != xset
; then
6898 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6901 if test x
$gtk_config_prefix != x
; then
6902 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6903 if test x
${GTK_CONFIG+set} != xset
; then
6904 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6908 # Extract the first word of "gtk-config", so it can be a program name with args.
6909 set dummy gtk
-config; ac_word
=$2
6910 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6911 echo "configure:6912: checking for $ac_word" >&5
6912 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6913 echo $ac_n "(cached) $ac_c" 1>&6
6915 case "$GTK_CONFIG" in
6917 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6920 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6921 for ac_dir
in $PATH; do
6922 test -z "$ac_dir" && ac_dir
=.
6923 if test -f $ac_dir/$ac_word; then
6924 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6929 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6933 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6934 if test -n "$GTK_CONFIG"; then
6935 echo "$ac_t""$GTK_CONFIG" 1>&6
6937 echo "$ac_t""no" 1>&6
6940 min_gtk_version
=1.0.0
6941 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6942 echo "configure:6943: checking for GTK - version >= $min_gtk_version" >&5
6944 if test "$GTK_CONFIG" != "no" ; then
6945 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6946 GTK_LIBS
=`$GTK_CONFIG --libs`
6947 ac_save_CFLAGS
="$CFLAGS"
6948 ac_save_LIBS
="$LIBS"
6949 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6950 LIBS
="$LIBS $GTK_LIBS"
6951 if test "$cross_compiling" = yes; then
6952 echo $ac_n "cross compiling; assumed OK... $ac_c"
6954 cat > conftest.
$ac_ext <<EOF
6955 #line 6956 "configure"
6956 #include "confdefs.h"
6958 #include <gtk/gtk.h>
6964 int major, minor, micro;
6966 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6967 printf("%s, bad version string\n", "$min_gtk_version");
6971 if (gtk_minor_version == 1) return FALSE;
6973 return !((gtk_major_version > major) ||
6974 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6975 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6979 if { (eval echo configure
:6980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
6983 echo "configure: failed program was:" >&5
6984 cat conftest.
$ac_ext >&5
6991 CFLAGS
="$ac_save_CFLAGS"
6992 LIBS
="$ac_save_LIBS"
6996 if test "x$no_gtk" = x
; then
6997 echo "$ac_t""yes" 1>&6
6999 GUI_TK_INCLUDE
="$GTK_CFLAGS"
7000 GUI_TK_LIBRARY
="$GTK_LIBS"
7003 echo "$ac_t""no" 1>&6
7006 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.X or 1.0.X?" 1>&2; exit 1; }
7012 TOOLKIT_DEF
=__WXGTK__
7014 MAKEINCLUDE
=..
/gtk.inc
7015 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
7016 if test "${with_gtk_prefix+set}" = set; then
7017 withval
="$with_gtk_prefix"
7018 gtk_config_prefix
="$withval"
7020 gtk_config_prefix
=""
7023 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
7024 if test "${with_gtk_exec_prefix+set}" = set; then
7025 withval
="$with_gtk_exec_prefix"
7026 gtk_config_exec_prefix
="$withval"
7028 gtk_config_exec_prefix
=""
7032 if test x
$gtk_config_exec_prefix != x
; then
7033 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7034 if test x
${GTK_CONFIG+set} != xset
; then
7035 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7038 if test x
$gtk_config_prefix != x
; then
7039 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7040 if test x
${GTK_CONFIG+set} != xset
; then
7041 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7045 # Extract the first word of "gtk-config", so it can be a program name with args.
7046 set dummy gtk
-config; ac_word
=$2
7047 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7048 echo "configure:7049: checking for $ac_word" >&5
7049 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7050 echo $ac_n "(cached) $ac_c" 1>&6
7052 case "$GTK_CONFIG" in
7054 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7057 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7058 for ac_dir
in $PATH; do
7059 test -z "$ac_dir" && ac_dir
=.
7060 if test -f $ac_dir/$ac_word; then
7061 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7066 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7070 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7071 if test -n "$GTK_CONFIG"; then
7072 echo "$ac_t""$GTK_CONFIG" 1>&6
7074 echo "$ac_t""no" 1>&6
7077 min_gtk_version
=1.2.0
7078 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7079 echo "configure:7080: checking for GTK - version >= $min_gtk_version" >&5
7081 if test "$GTK_CONFIG" != "no" ; then
7082 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7083 GTK_LIBS
=`$GTK_CONFIG --libs`
7084 ac_save_CFLAGS
="$CFLAGS"
7085 ac_save_LIBS
="$LIBS"
7086 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7087 LIBS
="$LIBS $GTK_LIBS"
7088 if test "$cross_compiling" = yes; then
7089 echo $ac_n "cross compiling; assumed OK... $ac_c"
7091 cat > conftest.
$ac_ext <<EOF
7092 #line 7093 "configure"
7093 #include "confdefs.h"
7095 #include <gtk/gtk.h>
7101 int major, minor, micro;
7103 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7104 printf("%s, bad version string\n", "$min_gtk_version");
7108 if (gtk_minor_version == 1) return FALSE;
7110 return !((gtk_major_version > major) ||
7111 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7112 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7116 if { (eval echo configure
:7117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
7120 echo "configure: failed program was:" >&5
7121 cat conftest.
$ac_ext >&5
7128 CFLAGS
="$ac_save_CFLAGS"
7129 LIBS
="$ac_save_LIBS"
7133 if test "x$no_gtk" = x
; then
7134 echo "$ac_t""yes" 1>&6
7139 echo "$ac_t""no" 1>&6
7142 echo "$ac_t""no" 1>&6
7149 if test "$wxUSE_QT" = 1; then
7150 echo $ac_n "checking for Qt includes""... $ac_c" 1>&6
7151 echo "configure:7152: checking for Qt includes" >&5
7154 for ac_dir
in $SEARCH_INCLUDE;
7156 if test -f "$ac_dir/qapp.h"; then
7157 ac_find_includes
=$ac_dir
7162 if test "$ac_find_includes" != "" ; then
7163 echo "$ac_t""found $ac_find_includes" 1>&6
7164 echo $ac_n "checking for Qt library""... $ac_c" 1>&6
7165 echo "configure:7166: checking for Qt library" >&5
7168 for ac_dir
in $SEARCH_LIB;
7170 for ac_extension
in a so sl
; do
7171 if test -f "$ac_dir/libqt.$ac_extension"; then
7172 ac_find_libraries
=$ac_dir
7178 if test "$ac_find_libraries" != "" ; then
7180 ac_path_to_include
=$ac_find_includes
7181 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7183 if test $result = 0; then
7184 ac_path_to_include
=""
7186 ac_path_to_include
="-I$ac_find_includes"
7190 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
7192 if test $result = 0; then
7195 ac_path_to_link
="-L$ac_find_libraries"
7198 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
7199 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
7200 echo "$ac_t""found Qt at $ac_find_libraries" 1>&6
7202 { echo "configure: error: no" 1>&2; exit 1; }
7205 { echo "configure: error: no" 1>&2; exit 1; }
7207 GUI_TK_LINK
="-lX11 -lqt -lm"
7209 TOOLKIT_DEF
=__WXQT__
7211 MAKEINCLUDE
=..
/qt.inc
7214 if test "$wxUSE_MOTIF" = 1; then
7215 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
7216 echo "configure:7217: checking for Motif/Lesstif includes" >&5
7219 for ac_dir
in $SEARCH_INCLUDE;
7221 if test -f "$ac_dir/Xm/Xm.h"; then
7222 ac_find_includes
=$ac_dir
7227 if test "$ac_find_includes" != "" ; then
7228 echo "$ac_t""found $ac_find_includes" 1>&6
7230 echo "$ac_t""no" 1>&6
7231 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7234 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7235 echo "configure:7236: checking for Motif/Lesstif library" >&5
7238 for ac_dir
in $SEARCH_LIB;
7240 for ac_extension
in a so sl
; do
7241 if test -f "$ac_dir/libXm.$ac_extension"; then
7242 ac_find_libraries
=$ac_dir
7248 if test "$ac_find_libraries" != "" ; then
7250 ac_path_to_include
=$ac_find_includes
7251 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7253 if test $result = 0; then
7254 ac_path_to_include
=""
7256 ac_path_to_include
="-I$ac_find_includes"
7260 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
7262 if test $result = 0; then
7265 ac_path_to_link
="-L$ac_find_libraries"
7269 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
7270 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
7271 echo "$ac_t""found at $ac_find_libraries" 1>&6
7273 echo "$ac_t""no" 1>&6
7274 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7277 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7278 echo "configure:7279: checking for Xt library" >&5
7281 for ac_dir
in $SEARCH_LIB;
7283 for ac_extension
in a so sl
; do
7284 if test -f "$ac_dir/libXt.$ac_extension"; then
7285 ac_find_libraries
=$ac_dir
7291 if test "$ac_find_libraries" != "" ; then
7293 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
7295 if test $result = 0; then
7298 ac_path_to_link
="-L$ac_find_libraries"
7301 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
7302 echo "$ac_t""found at $ac_find_libraries" 1>&6
7304 echo "$ac_t""no" 1>&6
7305 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7309 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7310 echo "configure:7311: checking for Xpm library" >&5
7313 for ac_dir
in $SEARCH_LIB;
7315 for ac_extension
in a so sl
; do
7316 if test -f "$ac_dir/libXpm.$ac_extension"; then
7317 ac_find_libraries
=$ac_dir
7323 if test "$ac_find_libraries" != "" ; then
7325 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
7327 if test $result = 0; then
7330 ac_path_to_link
="-L$ac_find_libraries"
7333 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
7335 cat >> confdefs.h
<<\EOF
7336 #define wxHAVE_LIB_XPM 1
7339 echo "$ac_t""found at $ac_find_libraries" 1>&6
7341 echo "$ac_t""no" 1>&6
7342 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7345 GUI_TK_LINK
="-lXm $(XPM_LINK)-lXmu -lXt -lX11 -lm"
7346 GUI_TK_LIBRARY
="$CHECK_LIB $GUI_TK_LINK"
7348 TOOLKIT_DEF
=__WXMOTIF__
7350 MAKEINCLUDE
=..
/motif.inc
7353 if test "$TOOLKIT" = ""; then
7354 { echo "configure: error: You must specify a toolkit: --with-gtk --with-qt --with-motif" 1>&2; exit 1; }
7369 if test "$WXGTK12" = 1 ; then
7370 cat >> confdefs.h
<<EOF
7371 #define __WXGTK12__ $WXGTK12
7379 if test "$wxUSE_DEBUG_GDB" = 1 ; then
7384 if test "$wxUSE_DEBUG_INFO" = 1 ; then
7391 if test "$wxUSE_DEBUG_FLAG" = 1 ; then
7392 cat >> confdefs.h
<<EOF
7393 #define WXDEBUG $wxUSE_DEBUG_FLAG
7396 WXDEBUG_DEFINE
="-D__WXDEBUG__"
7399 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
7403 if test "$wxUSE_MEM_TRACING" = 1 ; then
7404 cat >> confdefs.h
<<EOF
7405 #define wxUSE_MEMORY_TRACING $wxUSE_MEM_TRACING
7408 cat >> confdefs.h
<<EOF
7409 #define wxUSE_GLOBAL_MEMORY_OPERATORS $wxUSE_MEM_TRACING
7414 if test "$wxUSE_DMALLOC" = 1 ; then
7415 EXTRA_LINK
="$EXTRA_LINK -ldmalloc"
7420 if test "$wxUSE_PROFILE" = 1 ; then
7425 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
7426 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
7427 if test "$wxUSE_OPTIMISE" = 0 ; then
7430 if test "$GCC" = yes ; then
7432 case "${canonical}" in
7434 OPTIMISE
="${OPTIMISE} "
7444 if test "$wxUSE_APPLE_IEEE" = 1 ; then
7445 APPLE_IEEE
="APPLE_IEEE"
7446 cat >> confdefs.h
<<EOF
7447 #define wxUSE_APPLE_IEEE $wxUSE_APPLE_IEEE
7452 wxUSE_IOSTREAMH
=$DEFAULT_wxUSE_IOSTREAMH
7453 cat >> confdefs.h
<<EOF
7454 #define wxUSE_IOSTREAMH $wxUSE_IOSTREAMH
7459 if test "$wxUSE_ZLIB" = 1 ; then
7460 cat >> confdefs.h
<<EOF
7461 #define wxUSE_ZLIB $wxUSE_ZLIB
7464 Z_C_SRC
="\$(Z_C_SRC)"
7468 if test "$wxUSE_LIBPNG" = 1 ; then
7469 cat >> confdefs.h
<<EOF
7470 #define wxUSE_LIBPNG $wxUSE_LIBPNG
7473 PNG_C_SRC
="\$(PNG_C_SRC)"
7477 if test "$wxUSE_LIBJPEG" = 1 ; then
7478 cat >> confdefs.h
<<EOF
7479 #define wxUSE_LIBJPEG $wxUSE_LIBJPEG
7482 JPEG_C_SRC
="\$(JPEG_C_SRC)"
7490 if test "$wxUSE_ODBC" = 1 ; then
7491 cat >> confdefs.h
<<EOF
7492 #define wxUSE_ODBC $wxUSE_ODBC
7495 IODBC_C_SRC
="\$(IODBC_C_SRC)"
7504 if test "$wxUSE_THREADS" = "1"; then
7506 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
7507 echo "configure:7508: checking for pthread_create in -lpthread" >&5
7508 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
7509 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7510 echo $ac_n "(cached) $ac_c" 1>&6
7512 ac_save_LIBS
="$LIBS"
7513 LIBS
="-lpthread $LIBS"
7514 cat > conftest.
$ac_ext <<EOF
7515 #line 7516 "configure"
7516 #include "confdefs.h"
7517 /* Override any gcc2 internal prototype to avoid an error. */
7518 /* We use char because int might match the return type of a gcc2
7519 builtin and then its argument prototype would still apply. */
7520 char pthread_create();
7526 if { (eval echo configure
:7527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7528 eval "ac_cv_lib_$ac_lib_var=yes"
7530 echo "configure: failed program was:" >&5
7531 cat conftest.
$ac_ext >&5
7533 eval "ac_cv_lib_$ac_lib_var=no"
7536 LIBS
="$ac_save_LIBS"
7539 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7540 echo "$ac_t""yes" 1>&6
7542 UNIX_THREAD
="unix/threadpsx.cpp"
7543 THREADS_LINK
="pthread"
7546 echo "$ac_t""no" 1>&6
7548 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
7549 echo "configure:7550: checking for pthread_create in -lc_r" >&5
7550 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
7551 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7552 echo $ac_n "(cached) $ac_c" 1>&6
7554 ac_save_LIBS
="$LIBS"
7556 cat > conftest.
$ac_ext <<EOF
7557 #line 7558 "configure"
7558 #include "confdefs.h"
7559 /* Override any gcc2 internal prototype to avoid an error. */
7560 /* We use char because int might match the return type of a gcc2
7561 builtin and then its argument prototype would still apply. */
7562 char pthread_create();
7568 if { (eval echo configure
:7569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7570 eval "ac_cv_lib_$ac_lib_var=yes"
7572 echo "configure: failed program was:" >&5
7573 cat conftest.
$ac_ext >&5
7575 eval "ac_cv_lib_$ac_lib_var=no"
7578 LIBS
="$ac_save_LIBS"
7581 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7582 echo "$ac_t""yes" 1>&6
7584 UNIX_THREAD
="unix/threadpsx.cpp"
7588 echo "$ac_t""no" 1>&6
7590 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
7591 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
7592 echo "configure:7593: checking for sys/prctl.h" >&5
7593 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7594 echo $ac_n "(cached) $ac_c" 1>&6
7596 cat > conftest.
$ac_ext <<EOF
7597 #line 7598 "configure"
7598 #include "confdefs.h"
7599 #include <sys/prctl.h>
7601 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7602 { (eval echo configure
:7603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7603 ac_err
=`grep -v '^ *+' conftest.out`
7604 if test -z "$ac_err"; then
7606 eval "ac_cv_header_$ac_safe=yes"
7609 echo "configure: failed program was:" >&5
7610 cat conftest.
$ac_ext >&5
7612 eval "ac_cv_header_$ac_safe=no"
7616 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7617 echo "$ac_t""yes" 1>&6
7619 UNIX_THREAD
="gtk/threadsgi.cpp"
7622 echo "$ac_t""no" 1>&6
7631 if test "$THREADS_LINK" != ""; then
7632 cat >> confdefs.h
<<\EOF
7633 #define wxUSE_THREADS 1
7637 echo "configure: warning: No thread support on this system" 1>&2
7641 if test -z "$UNIX_THREAD"; then
7645 if test "$wxUSE_THREADS" = "1"; then
7648 for ac_hdr
in sched.h
7650 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7651 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7652 echo "configure:7653: checking for $ac_hdr" >&5
7653 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7654 echo $ac_n "(cached) $ac_c" 1>&6
7656 cat > conftest.
$ac_ext <<EOF
7657 #line 7658 "configure"
7658 #include "confdefs.h"
7661 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7662 { (eval echo configure
:7663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7663 ac_err
=`grep -v '^ *+' conftest.out`
7664 if test -z "$ac_err"; then
7666 eval "ac_cv_header_$ac_safe=yes"
7669 echo "configure: failed program was:" >&5
7670 cat conftest.
$ac_ext >&5
7672 eval "ac_cv_header_$ac_safe=no"
7676 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7677 echo "$ac_t""yes" 1>&6
7678 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7679 cat >> confdefs.h
<<EOF
7680 #define $ac_tr_hdr 1
7684 echo "$ac_t""no" 1>&6
7689 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
7690 echo "configure:7691: checking for sched_yield in -l$THREADS_LINK" >&5
7691 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
7692 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7693 echo $ac_n "(cached) $ac_c" 1>&6
7695 ac_save_LIBS
="$LIBS"
7696 LIBS
="-l$THREADS_LINK $LIBS"
7697 cat > conftest.
$ac_ext <<EOF
7698 #line 7699 "configure"
7699 #include "confdefs.h"
7700 /* Override any gcc2 internal prototype to avoid an error. */
7701 /* We use char because int might match the return type of a gcc2
7702 builtin and then its argument prototype would still apply. */
7709 if { (eval echo configure
:7710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7711 eval "ac_cv_lib_$ac_lib_var=yes"
7713 echo "configure: failed program was:" >&5
7714 cat conftest.
$ac_ext >&5
7716 eval "ac_cv_lib_$ac_lib_var=no"
7719 LIBS
="$ac_save_LIBS"
7722 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7723 echo "$ac_t""yes" 1>&6
7724 cat >> confdefs.h
<<\EOF
7725 #define HAVE_SCHED_YIELD 1
7729 echo "$ac_t""no" 1>&6
7730 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
7731 echo "configure:7732: checking for sched_yield in -l"posix4
"" >&5
7732 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
7733 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7734 echo $ac_n "(cached) $ac_c" 1>&6
7736 ac_save_LIBS
="$LIBS"
7737 LIBS
="-l"posix4
" $LIBS"
7738 cat > conftest.
$ac_ext <<EOF
7739 #line 7740 "configure"
7740 #include "confdefs.h"
7741 /* Override any gcc2 internal prototype to avoid an error. */
7742 /* We use char because int might match the return type of a gcc2
7743 builtin and then its argument prototype would still apply. */
7750 if { (eval echo configure
:7751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7752 eval "ac_cv_lib_$ac_lib_var=yes"
7754 echo "configure: failed program was:" >&5
7755 cat conftest.
$ac_ext >&5
7757 eval "ac_cv_lib_$ac_lib_var=no"
7760 LIBS
="$ac_save_LIBS"
7763 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7764 echo "$ac_t""yes" 1>&6
7765 cat >> confdefs.h
<<\EOF
7766 #define HAVE_SCHED_YIELD 1
7768 POSIX4_LINK
="-lposix4"
7770 echo "$ac_t""no" 1>&6
7771 echo "configure: warning: wxThread::Yield() will not work properly" 1>&2
7779 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
7780 echo "configure:7781: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
7781 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
7782 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7783 echo $ac_n "(cached) $ac_c" 1>&6
7785 ac_save_LIBS
="$LIBS"
7786 LIBS
="-l$THREADS_LINK $LIBS"
7787 cat > conftest.
$ac_ext <<EOF
7788 #line 7789 "configure"
7789 #include "confdefs.h"
7790 /* Override any gcc2 internal prototype to avoid an error. */
7791 /* We use char because int might match the return type of a gcc2
7792 builtin and then its argument prototype would still apply. */
7793 char pthread_attr_getschedpolicy();
7796 pthread_attr_getschedpolicy()
7799 if { (eval echo configure
:7800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7801 eval "ac_cv_lib_$ac_lib_var=yes"
7803 echo "configure: failed program was:" >&5
7804 cat conftest.
$ac_ext >&5
7806 eval "ac_cv_lib_$ac_lib_var=no"
7809 LIBS
="$ac_save_LIBS"
7812 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7813 echo "$ac_t""yes" 1>&6
7814 cat >> confdefs.h
<<\EOF
7815 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
7819 echo "$ac_t""no" 1>&6
7820 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
7821 echo "configure:7822: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
7822 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
7823 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7824 echo $ac_n "(cached) $ac_c" 1>&6
7826 ac_save_LIBS
="$LIBS"
7827 LIBS
="-l"posix4
" $LIBS"
7828 cat > conftest.
$ac_ext <<EOF
7829 #line 7830 "configure"
7830 #include "confdefs.h"
7831 /* Override any gcc2 internal prototype to avoid an error. */
7832 /* We use char because int might match the return type of a gcc2
7833 builtin and then its argument prototype would still apply. */
7834 char pthread_attr_getschedpolicy();
7837 pthread_attr_getschedpolicy()
7840 if { (eval echo configure
:7841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7842 eval "ac_cv_lib_$ac_lib_var=yes"
7844 echo "configure: failed program was:" >&5
7845 cat conftest.
$ac_ext >&5
7847 eval "ac_cv_lib_$ac_lib_var=no"
7850 LIBS
="$ac_save_LIBS"
7853 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7854 echo "$ac_t""yes" 1>&6
7855 cat >> confdefs.h
<<\EOF
7856 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
7858 POSIX4_LINK
="-lposix4"
7860 echo "$ac_t""no" 1>&6
7861 echo "configure: warning: Setting thread priority will not work" 1>&2
7869 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
7870 echo "configure:7871: checking for pthread_cancel in -l$THREADS_LINK" >&5
7871 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
7872 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7873 echo $ac_n "(cached) $ac_c" 1>&6
7875 ac_save_LIBS
="$LIBS"
7876 LIBS
="-l$THREADS_LINK $LIBS"
7877 cat > conftest.
$ac_ext <<EOF
7878 #line 7879 "configure"
7879 #include "confdefs.h"
7880 /* Override any gcc2 internal prototype to avoid an error. */
7881 /* We use char because int might match the return type of a gcc2
7882 builtin and then its argument prototype would still apply. */
7883 char pthread_cancel();
7889 if { (eval echo configure
:7890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7891 eval "ac_cv_lib_$ac_lib_var=yes"
7893 echo "configure: failed program was:" >&5
7894 cat conftest.
$ac_ext >&5
7896 eval "ac_cv_lib_$ac_lib_var=no"
7899 LIBS
="$ac_save_LIBS"
7902 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7903 echo "$ac_t""yes" 1>&6
7904 cat >> confdefs.h
<<\EOF
7905 #define HAVE_PTHREAD_CANCEL 1
7909 echo "$ac_t""no" 1>&6
7910 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
7914 THREADS_LINK
="-l$THREADS_LINK"
7922 if test "$wxUSE_CONFIG" = 1 ; then
7923 cat >> confdefs.h
<<EOF
7924 #define wxUSE_CONFIG $wxUSE_CONFIG
7929 if test "$wxUSE_TIMEDATE" = 1 ; then
7930 cat >> confdefs.h
<<EOF
7931 #define wxUSE_TIMEDATE $wxUSE_TIMEDATE
7936 if test "$wxUSE_INTL" = 1 ; then
7937 cat >> confdefs.h
<<EOF
7938 #define wxUSE_INTL $wxUSE_INTL
7943 if test "$wxUSE_STREAMS" = 1 ; then
7944 cat >> confdefs.h
<<EOF
7945 #define wxUSE_STREAMS $wxUSE_STREAMS
7950 if test "$wxUSE_SOCKETS" = 1 ; then
7951 if test "$wxUSE_THREADS" = 1 ; then
7952 cat >> confdefs.h
<<EOF
7953 #define wxUSE_SOCKETS $wxUSE_SOCKETS
7957 echo "configure: warning: sockets or only supported with threads" 1>&2
7962 if test "$wxUSE_SERIAL" = 1 ; then
7963 cat >> confdefs.h
<<EOF
7964 #define wxUSE_SERIAL $wxUSE_SERIAL
7970 if test "$wxUSE_SOCKETS" = "1"; then
7973 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7974 ac_cpp
='$CXXCPP $CPPFLAGS'
7975 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7976 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7977 cross_compiling
=$ac_cv_prog_cxx_cross
7979 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
7980 echo "configure:7981: checking the type of the third argument of getsockname" >&5
7981 cat > conftest.
$ac_ext <<EOF
7982 #line 7983 "configure"
7983 #include "confdefs.h"
7984 #include <sys/socket.h>
7986 socklen_t len; getsockname(0, NULL, &len);
7989 if { (eval echo configure
:7990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7991 cat >> confdefs.h
<<\EOF
7992 #define SOCKLEN_T socklen_t
7994 echo "$ac_t""socklen_t" 1>&6
7996 echo "configure: failed program was:" >&5
7997 cat conftest.
$ac_ext >&5
7999 cat > conftest.
$ac_ext <<EOF
8000 #line 8001 "configure"
8001 #include "confdefs.h"
8002 #include <sys/socket.h>
8004 size_t len; getsockname(0, NULL, &len);
8007 if { (eval echo configure
:8008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8009 cat >> confdefs.h
<<\EOF
8010 #define SOCKLEN_T size_t
8012 echo "$ac_t""size_t" 1>&6
8014 echo "configure: failed program was:" >&5
8015 cat conftest.
$ac_ext >&5
8017 cat > conftest.
$ac_ext <<EOF
8018 #line 8019 "configure"
8019 #include "confdefs.h"
8020 #include <sys/socket.h>
8022 int len; getsockname(0, NULL, &len);
8025 if { (eval echo configure
:8026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8027 cat >> confdefs.h
<<\EOF
8028 #define SOCKLEN_T int
8030 echo "$ac_t""int" 1>&6
8032 echo "configure: failed program was:" >&5
8033 cat conftest.
$ac_ext >&5
8035 echo "$ac_t""unknown" 1>&6
8046 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8047 ac_cpp
='$CPP $CPPFLAGS'
8048 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8049 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8050 cross_compiling
=$ac_cv_prog_cc_cross
8056 if test "$wxUSE_DYNLIB_CLASS" = "1"; then
8057 for ac_func
in dlopen
8059 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8060 echo "configure:8061: checking for $ac_func" >&5
8061 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8062 echo $ac_n "(cached) $ac_c" 1>&6
8064 cat > conftest.
$ac_ext <<EOF
8065 #line 8066 "configure"
8066 #include "confdefs.h"
8067 /* System header to define __stub macros and hopefully few prototypes,
8068 which can conflict with char $ac_func(); below. */
8070 /* Override any gcc2 internal prototype to avoid an error. */
8071 /* We use char because int might match the return type of a gcc2
8072 builtin and then its argument prototype would still apply. */
8077 /* The GNU C library defines this for functions which it implements
8078 to always fail with ENOSYS. Some functions are actually named
8079 something starting with __ and the normal name is an alias. */
8080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8088 if { (eval echo configure
:8089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
8090 eval "ac_cv_func_$ac_func=yes"
8092 echo "configure: failed program was:" >&5
8093 cat conftest.
$ac_ext >&5
8095 eval "ac_cv_func_$ac_func=no"
8100 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8101 echo "$ac_t""yes" 1>&6
8102 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8103 cat >> confdefs.h
<<EOF
8104 #define $ac_tr_func 1
8106 cat >> confdefs.h
<<\EOF
8107 #define HAVE_DLOPEN 1
8111 echo "$ac_t""no" 1>&6
8112 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
8113 echo "configure:8114: checking for dlopen in -ldl" >&5
8114 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
8115 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8116 echo $ac_n "(cached) $ac_c" 1>&6
8118 ac_save_LIBS
="$LIBS"
8120 cat > conftest.
$ac_ext <<EOF
8121 #line 8122 "configure"
8122 #include "confdefs.h"
8123 /* Override any gcc2 internal prototype to avoid an error. */
8124 /* We use char because int might match the return type of a gcc2
8125 builtin and then its argument prototype would still apply. */
8132 if { (eval echo configure
:8133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
8134 eval "ac_cv_lib_$ac_lib_var=yes"
8136 echo "configure: failed program was:" >&5
8137 cat conftest.
$ac_ext >&5
8139 eval "ac_cv_lib_$ac_lib_var=no"
8142 LIBS
="$ac_save_LIBS"
8145 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8146 echo "$ac_t""yes" 1>&6
8147 cat >> confdefs.h
<<\EOF
8148 #define HAVE_DLOPEN 1
8152 echo "$ac_t""no" 1>&6
8158 for ac_func
in shl_load
8160 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8161 echo "configure:8162: checking for $ac_func" >&5
8162 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8163 echo $ac_n "(cached) $ac_c" 1>&6
8165 cat > conftest.
$ac_ext <<EOF
8166 #line 8167 "configure"
8167 #include "confdefs.h"
8168 /* System header to define __stub macros and hopefully few prototypes,
8169 which can conflict with char $ac_func(); below. */
8171 /* Override any gcc2 internal prototype to avoid an error. */
8172 /* We use char because int might match the return type of a gcc2
8173 builtin and then its argument prototype would still apply. */
8178 /* The GNU C library defines this for functions which it implements
8179 to always fail with ENOSYS. Some functions are actually named
8180 something starting with __ and the normal name is an alias. */
8181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8189 if { (eval echo configure
:8190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
8191 eval "ac_cv_func_$ac_func=yes"
8193 echo "configure: failed program was:" >&5
8194 cat conftest.
$ac_ext >&5
8196 eval "ac_cv_func_$ac_func=no"
8201 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8202 echo "$ac_t""yes" 1>&6
8203 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8204 cat >> confdefs.h
<<EOF
8205 #define $ac_tr_func 1
8207 cat >> confdefs.h
<<\EOF
8208 #define HAVE_SHL_LOAD 1
8212 echo "$ac_t""no" 1>&6
8217 if test "$HAVE_DL_FUNCS" = 0; then
8218 echo "configure: warning: "--with-dynlib will be disabled because no
function was found to load a shared library on this platform
"" 1>&2
8220 wxUSE_DYNLIB_CLASS
=0
8224 if test "$wxUSE_DYNLIB_CLASS" = 1 ; then
8225 cat >> confdefs.h
<<EOF
8226 #define wxUSE_DYNLIB_CLASS $wxUSE_DYNLIB_CLASS
8232 if test "$wxUSE_RPC" = 1 ; then
8233 cat >> confdefs.h
<<EOF
8234 #define wxUSE_RPC $wxUSE_RPC
8239 if test "$wxUSE_WX_RESOURCES" = 1 ; then
8240 cat >> confdefs.h
<<EOF
8241 #define wxUSE_WX_RESOURCES $wxUSE_WX_RESOURCES
8246 if test "$wxUSE_PROLOGIO" = 1 ; then
8247 cat >> confdefs.h
<<EOF
8248 #define wxUSE_PROLOGIO 1
8254 if test "$wxUSE_POSTSCRIPT" = 1 ; then
8255 cat >> confdefs.h
<<EOF
8256 #define wxUSE_POSTSCRIPT 1
8261 cat >> confdefs.h
<<EOF
8262 #define wxUSE_AFM_FOR_POSTSCRIPT $wxUSE_AFM_FOR_POSTSCRIPT
8266 cat >> confdefs.h
<<EOF
8267 #define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS
8272 if test "$wxUSE_MDI_ARCHITECTURE" = 1 ; then
8273 cat >> confdefs.h
<<EOF
8274 #define wxUSE_MDI_ARCHITECTURE $wxUSE_MDI_ARCHITECTURE
8279 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1 ; then
8280 cat >> confdefs.h
<<EOF
8281 #define wxUSE_DOC_VIEW_ARCHITECTURE $wxUSE_DOC_VIEW_ARCHITECTURE
8286 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1 ; then
8287 cat >> confdefs.h
<<EOF
8288 #define wxUSE_PRINTING_ARCHITECTURE $wxUSE_PRINTING_ARCHITECTURE
8294 if test "$wxUSE_UNICODE" = 1 ; then
8295 cat >> confdefs.h
<<EOF
8296 #define wxUSE_UNICODE 1
8301 if test "$wxUSE_WCSRTOMBS" = 1 ; then
8302 cat >> confdefs.h
<<EOF
8303 #define wxUSE_WCSRTOMBS 1
8309 if test "$wxUSE_IPC" = 1 ; then
8310 cat >> confdefs.h
<<EOF
8316 if test "$wxUSE_RESOURCES" = 1 ; then
8317 cat >> confdefs.h
<<EOF
8318 #define wxUSE_RESOURCES $wxUSE_RESOURCES
8323 if test "$wxUSE_CLIPBOARD" = 1 ; then
8324 cat >> confdefs.h
<<EOF
8325 #define wxUSE_CLIPBOARD $wxUSE_CLIPBOARD
8330 if test "$wxUSE_TOOLTIPS" = 1 ; then
8331 if test "$wxUSE_MOTIF" = 1; then
8332 echo "configure: warning: tooltips are not supported yet under Motif" 1>&2
8335 cat >> confdefs.h
<<EOF
8336 #define wxUSE_TOOLTIPS $wxUSE_TOOLTIPS
8341 if test "$wxUSE_DRAG_AND_DROP" = 1 ; then
8342 if test "$WXGTK12" = 1 ; then
8343 cat >> confdefs.h
<<EOF
8344 #define wxUSE_DRAG_AND_DROP $wxUSE_DRAG_AND_DROP
8348 echo "configure: warning: drag and drop is only supported under GTK 1.2" 1>&2
8349 wxUSE_DRAG_AND_DROP
=0
8355 if test "$wxUSE_HELP" = 1 ; then
8357 cat >> confdefs.h
<<EOF
8358 #define wxUSE_HELP $wxUSE_HELP
8367 case "${canonical}" in
8369 if test "$GCC" != "yes" ; then
8370 CXXFLAGS
="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
8371 CFLAGS
="${CFLAGS} -z -D_HPUX_SOURCE"
8377 CREATE_SHARED
=sharedHpux
8382 CREATE_SHARED
=sharedLinux
8385 *-*-irix5* | *-*-irix6* )
8386 # PICFLAGS can remain empty, as pic is the default
8388 CREATE_SHARED
=sharedIrix
8389 cat >> confdefs.h
<<\EOF
8396 if test "$GCC" != "yes" ; then
8401 CREATE_SHARED
=sharedSolaris2
8402 cat >> confdefs.h
<<\EOF
8409 if test "$GCC" != "yes" ; then
8415 CREATE_SHARED
=sharedSunos4
8416 cat >> confdefs.h
<<\EOF
8422 *-*-freebsd* | *-*-netbsd*)
8424 CREATE_SHARED
=sharedBsd
8425 cat >> confdefs.h
<<\EOF
8433 CREATE_SHARED
=sharedOSF
8437 if test "$GCC" != "yes" ; then
8442 CREATE_SHARED
=sharedDgux
8443 cat >> confdefs.h
<<\EOF
8450 if test "$GCC" != "yes" ; then
8455 CREATE_SHARED
=sharedSysV
8456 cat >> confdefs.h
<<\EOF
8463 if test "$GCC" != "yes" ; then
8466 PICFLAGS
="-fPIC -D__SYSV__"
8468 CREATE_SHARED
=sharedAIX
8469 cat >> confdefs.h
<<\EOF
8480 if test "x$GCC" = xyes
; then
8481 CFLAGS
="${CFLAGS} -Wall -Wno-unused -Wno-uninitialized -D_REENTRANT -DLEX_SCANNER -DHAVE_LIBDL"
8484 if test "x$GXX" = xyes
; then
8485 if test "$wxUSE_MOTIF" = 1; then
8486 CXXFLAGS
="${CXXFLAGS} -Wall -Wno-unused -D_REENTRANT"
8488 CXXFLAGS
="${CXXFLAGS} -Wall -D_REENTRANT"
8492 if test "$wxUSE_SHARED" != 1; then
8502 echo $OS >> system.list
8504 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
8508 cat > confcache
<<\EOF
8509 # This file is a shell script that caches the results of configure
8510 # tests run on this system so they can be shared between configure
8511 # scripts and configure runs. It is not useful on other systems.
8512 # If it contains results you don't want to keep, you may remove or edit it.
8514 # By default, configure uses ./config.cache as the cache file,
8515 # creating it if it does not exist already. You can give configure
8516 # the --cache-file=FILE option to use a different cache file; that is
8517 # what configure does when it calls configure scripts in
8518 # subdirectories, so they share the cache.
8519 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8520 # config.status only pays attention to the cache file if you give it the
8521 # --recheck option to rerun configure.
8524 # The following way of writing the cache mishandles newlines in values,
8525 # but we know of no workaround that is simple, portable, and efficient.
8526 # So, don't put newlines in cache variables' values.
8527 # Ultrix sh set writes to stderr and can't be redirected directly,
8528 # and sets the high bit in the cache file unless we assign to the vars.
8530 case `(ac_space=' '; set) 2>&1` in
8532 # `set' does not quote correctly, so add quotes (double-quote substitution
8533 # turns \\\\ into \\, and sed turns \\ into \).
8535 -e "s/'/'\\\\''/g" \
8536 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8539 # `set' quotes correctly as required by POSIX, so do not add quotes.
8540 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8543 if cmp -s $cache_file confcache
; then
8546 if test -w $cache_file; then
8547 echo "updating cache $cache_file"
8548 cat confcache
> $cache_file
8550 echo "not updating unwritable cache $cache_file"
8555 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
8557 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8558 # Let make expand exec_prefix.
8559 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8561 # Any assignment to VPATH causes Sun make to only execute
8562 # the first set of double-colon rules, so remove it if not needed.
8563 # If there is a colon in the path, we need to keep it.
8564 if test "x$srcdir" = x.
; then
8565 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
8568 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
8570 DEFS
=-DHAVE_CONFIG_H
8572 # Without the "./", some shells look in PATH for config.status.
8573 : ${CONFIG_STATUS=./config.status}
8575 echo creating
$CONFIG_STATUS
8576 rm -f $CONFIG_STATUS
8577 cat > $CONFIG_STATUS <<EOF
8579 # Generated automatically by configure.
8580 # Run this file to recreate the current configuration.
8581 # This directory was configured as follows,
8582 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8584 # $0 $ac_configure_args
8586 # Compiler output produced by configure, useful for debugging
8587 # configure, is in ./config.log if it exists.
8589 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
8592 case "\$ac_option" in
8593 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8594 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
8595 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
8596 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
8597 echo "$CONFIG_STATUS generated by autoconf version 2.12"
8599 -help | --help | --hel | --he | --h)
8600 echo "\$ac_cs_usage"; exit 0 ;;
8601 *) echo "\$ac_cs_usage"; exit 1 ;;
8605 ac_given_srcdir=$srcdir
8606 ac_given_INSTALL="$INSTALL"
8608 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
8610 cat >> $CONFIG_STATUS <<EOF
8612 # Protect against being on the right side of a sed subst in config.status.
8613 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
8614 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
8617 s%@CFLAGS@%$CFLAGS%g
8618 s%@CPPFLAGS@%$CPPFLAGS%g
8619 s%@CXXFLAGS@%$CXXFLAGS%g
8621 s%@LDFLAGS@%$LDFLAGS%g
8623 s%@exec_prefix@%$exec_prefix%g
8624 s%@prefix@%$prefix%g
8625 s%@program_transform_name@%$program_transform_name%g
8626 s%@bindir@%$bindir%g
8627 s%@sbindir@%$sbindir%g
8628 s%@libexecdir@%$libexecdir%g
8629 s%@datadir@%$datadir%g
8630 s%@sysconfdir@%$sysconfdir%g
8631 s%@sharedstatedir@%$sharedstatedir%g
8632 s%@localstatedir@%$localstatedir%g
8633 s%@libdir@%$libdir%g
8634 s%@includedir@%$includedir%g
8635 s%@oldincludedir@%$oldincludedir%g
8636 s%@infodir@%$infodir%g
8637 s%@mandir@%$mandir%g
8638 s%@WXBASEDIR@%$WXBASEDIR%g
8642 s%@CXXCPP@%$CXXCPP%g
8643 s%@RANLIB@%$RANLIB%g
8645 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
8646 s%@INSTALL_DATA@%$INSTALL_DATA%g
8650 s%@X_CFLAGS@%$X_CFLAGS%g
8651 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
8652 s%@X_LIBS@%$X_LIBS%g
8653 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
8654 s%@GTK_JOYSTICK@%$GTK_JOYSTICK%g
8655 s%@WCHAR_LINK@%$WCHAR_LINK%g
8656 s%@LIBOBJS@%$LIBOBJS%g
8659 s%@LEXLIB@%$LEXLIB%g
8660 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
8661 s%@DL_LIBRARY@%$DL_LIBRARY%g
8663 s%@host_alias@%$host_alias%g
8664 s%@host_cpu@%$host_cpu%g
8665 s%@host_vendor@%$host_vendor%g
8666 s%@host_os@%$host_os%g
8667 s%@GTK_CONFIG@%$GTK_CONFIG%g
8668 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
8669 s%@GTK_LIBS@%$GTK_LIBS%g
8670 s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g
8671 s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g
8672 s%@GUI_TK_LINK@%$GUI_TK_LINK%g
8673 s%@WX_LINK@%$WX_LINK%g
8674 s%@TOOLKIT@%$TOOLKIT%g
8675 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
8676 s%@MAKEINCLUDE@%$MAKEINCLUDE%g
8677 s%@WXDEBUG@%$WXDEBUG%g
8678 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
8679 s%@EXTRA_LINK@%$EXTRA_LINK%g
8680 s%@PROFILE@%$PROFILE%g
8681 s%@OPTIMISE@%$OPTIMISE%g
8682 s%@Z_C_SRC@%$Z_C_SRC%g
8683 s%@PNG_C_SRC@%$PNG_C_SRC%g
8684 s%@JPEG_C_SRC@%$JPEG_C_SRC%g
8685 s%@JPEG_LINK@%$JPEG_LINK%g
8686 s%@IODBC_C_SRC@%$IODBC_C_SRC%g
8687 s%@UNIX_THREAD@%$UNIX_THREAD%g
8688 s%@THREADS_LINK@%$THREADS_LINK%g
8689 s%@POSIX4_LINK@%$POSIX4_LINK%g
8692 s%@PICFLAGS@%$PICFLAGS%g
8693 s%@CREATE_SHARED@%$CREATE_SHARED%g
8698 cat >> $CONFIG_STATUS <<\EOF
8700 # Split the substitutions into bite-sized pieces for seds with
8701 # small command number limits, like on Digital OSF/1 and HP-UX.
8702 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
8703 ac_file
=1 # Number of current file.
8704 ac_beg
=1 # First line for current file.
8705 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
8708 while $ac_more_lines; do
8709 if test $ac_beg -gt 1; then
8710 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
8712 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
8714 if test ! -s conftest.s
$ac_file; then
8716 rm -f conftest.s
$ac_file
8718 if test -z "$ac_sed_cmds"; then
8719 ac_sed_cmds
="sed -f conftest.s$ac_file"
8721 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
8723 ac_file
=`expr $ac_file + 1`
8725 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
8728 if test -z "$ac_sed_cmds"; then
8733 cat >> $CONFIG_STATUS <<EOF
8735 CONFIG_FILES=\${CONFIG_FILES-"./setup/substit ./wx-config:./wx-config.in"}
8737 cat >> $CONFIG_STATUS <<\EOF
8738 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
8739 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8741 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
8742 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
8743 *) ac_file_in
="${ac_file}.in" ;;
8746 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
8748 # Remove last slash and all that follows it. Not all systems have dirname.
8749 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
8750 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
8751 # The file is in a subdirectory.
8752 test ! -d "$ac_dir" && mkdir "$ac_dir"
8753 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
8754 # A "../" for each directory in $ac_dir_suffix.
8755 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
8757 ac_dir_suffix
= ac_dots
=
8760 case "$ac_given_srcdir" in
8762 if test -z "$ac_dots"; then top_srcdir
=.
8763 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
8764 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
8766 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
8767 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
8770 case "$ac_given_INSTALL" in
8771 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
8772 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
8775 echo creating
"$ac_file"
8777 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
8779 *Makefile
*) ac_comsub
="1i\\
8780 # $configure_input" ;;
8784 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
8786 s%@configure_input@%$configure_input%g
8787 s%@srcdir@%$srcdir%g
8788 s%@top_srcdir@%$top_srcdir%g
8789 s%@INSTALL@%$INSTALL%g
8790 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
8794 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8795 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8797 # ac_d sets the value in "#define NAME VALUE" lines.
8798 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8799 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
8802 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
8803 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8804 ac_uB
='\([ ]\)%\1#\2define\3'
8807 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8808 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8809 ac_eB
='$%\1#\2define\3'
8813 if test "${CONFIG_HEADERS+set}" != set; then
8815 cat >> $CONFIG_STATUS <<EOF
8816 CONFIG_HEADERS="./include/wx/${TOOLKIT_DIR}/setup.h:./setup/setup.hin"
8818 cat >> $CONFIG_STATUS <<\EOF
8820 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
8821 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8823 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
8824 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
8825 *) ac_file_in
="${ac_file}.in" ;;
8828 echo creating
$ac_file
8830 rm -f conftest.frag conftest.
in conftest.out
8831 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
8832 cat $ac_file_inputs > conftest.
in
8836 # Transform confdefs.h into a sed script conftest.vals that substitutes
8837 # the proper values into config.h.in to produce config.h. And first:
8838 # Protect against being on the right side of a sed subst in config.status.
8839 # Protect against being in an unquoted here document in config.status.
8841 cat > conftest.hdr
<<\EOF
8844 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
8848 sed -n -f conftest.hdr confdefs.h > conftest.vals
8851 # This sed command replaces #undef with comments. This is necessary, for
8852 # example, in the case of _POSIX_SOURCE, which is predefined and required
8853 # on some systems where configure will not decide to define it.
8854 cat >> conftest.vals <<\EOF
8855 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
8858 # Break up conftest.vals because some shells have a limit on
8859 # the size of here documents, and old seds have small limits too.
8864 ac_lines=`grep -c . conftest.vals
`
8865 # grep -c gives empty output for an empty file on some AIX systems.
8866 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
8867 # Write a limited-size here document to conftest.frag.
8868 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
8869 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
8871 sed -f conftest.frag conftest.in > conftest.out
8873 mv conftest.out conftest.in
8875 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
8877 mv conftest.tail conftest.vals
8881 cat >> $CONFIG_STATUS <<\EOF
8882 rm -f conftest.frag conftest.h
8883 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
8884 cat conftest.in >> conftest.h
8886 if cmp -s $ac_file conftest.h 2>/dev/null; then
8887 echo "$ac_file is unchanged"
8890 # Remove last slash and all that follows it. Not all systems have dirname.
8891 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
8892 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
8893 # The file is in a subdirectory.
8894 test ! -d "$ac_dir" && mkdir "$ac_dir"
8897 mv conftest.h $ac_file
8902 cat >> $CONFIG_STATUS <<EOF
8905 cat >> $CONFIG_STATUS <<\EOF
8906 ./setup/general/createall
8909 chmod +x $CONFIG_STATUS
8910 rm -fr confdefs* $ac_clean_files
8911 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
8915 mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache