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-zlib use zlib for LZW comression"
45 **--with-libpng use libpng (PNG image format)"
47 **--with-libjpeg use libjpeg (JPEG image format)"
49 **--with-odbc use iODBC and wxODBC classes"
51 **--with-timedate use wxTime and wxDate classes"
53 **--with-intl use internationalization system"
55 **--with-config use wxConfig class"
57 **--with-streams use wxStream etc classes"
59 **--with-serial use class serialization"
61 **--with-afmfonts use Adobe Font Metric Font table"
63 **--with-PS-normalized use normalized PS fonts"
65 **--with-postscript use wxPostscriptDC device context"
67 **--with-unicode compile wxString with Unicode support"
69 **--with-wcsrtombs use wcsrtombs instead of (buggy in GNU libc5) wcstombs"
71 **--with-wxresources use wxWindows's resources"
73 **--with-prologio use Prolog IO library"
75 **--with-rpc use Prolog's remote procedure calls"
77 **--with-ipc use interprocess communication (wxSocket etc.)"
79 **--with-resources use X resources for saving information"
81 **--with-clipboard use wxClipboard classes"
83 **--with-tooltips use tooltips"
85 **--with-dnd use Drag'n'Drop classes"
87 **--with-mdi use multiple document interface architecture"
89 **--with-docview use document view architecture"
91 **--with-printarch use printing architecture"
93 **--with-help use help (using external browser at present)"
95 **--with-gtk-prefix=PFX Prefix where GTK is installed"
97 **--with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
99 # Initialize some variables set by options.
100 # The variables have the same names as the options, with
101 # dashes changed to underlines.
103 cache_file
=.
/config.cache
112 program_transform_name
=s
,x
,x
,
120 bindir
='${exec_prefix}/bin'
121 sbindir
='${exec_prefix}/sbin'
122 libexecdir
='${exec_prefix}/libexec'
123 datadir
='${prefix}/share'
124 sysconfdir
='${prefix}/etc'
125 sharedstatedir
='${prefix}/com'
126 localstatedir
='${prefix}/var'
127 libdir
='${exec_prefix}/lib'
128 includedir
='${prefix}/include'
129 oldincludedir
='/usr/include'
130 infodir
='${prefix}/info'
131 mandir
='${prefix}/man'
133 # Initialize some other variables.
136 # Maximum number of lines to put in a shell here document.
143 # If the previous option needs an argument, assign it.
144 if test -n "$ac_prev"; then
145 eval "$ac_prev=\$ac_option"
151 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
155 # Accept the important Cygnus configure options, so we can diagnose typos.
159 -bindir | --bindir | --bindi | --bind | --bin | --bi)
161 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
162 bindir
="$ac_optarg" ;;
164 -build | --build | --buil | --bui | --bu)
166 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
167 build
="$ac_optarg" ;;
169 -cache-file | --cache-file | --cache-fil | --cache-fi \
170 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
171 ac_prev
=cache_file
;;
172 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
173 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
174 cache_file
="$ac_optarg" ;;
176 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
178 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
180 datadir
="$ac_optarg" ;;
182 -disable-* | --disable-*)
183 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
184 # Reject names that are not valid shell variable names.
185 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
186 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
188 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
189 eval "enable_${ac_feature}=no" ;;
191 -enable-* | --enable-*)
192 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
193 # Reject names that are not valid shell variable names.
194 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
195 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
197 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
202 eval "enable_${ac_feature}='$ac_optarg'" ;;
204 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
205 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
206 | --exec | --exe | --ex)
207 ac_prev
=exec_prefix
;;
208 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
209 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
210 | --exec=* | --exe=* | --ex=*)
211 exec_prefix
="$ac_optarg" ;;
213 -gas | --gas | --ga | --g)
214 # Obsolete; use --with-gas.
217 -help | --help | --hel | --he)
218 # Omit some internal or obsolete options to make the list less imposing.
219 # This message is too long to be a string in the A/UX 3.1 sh.
221 Usage: configure [options] [host]
222 Options: [defaults in brackets after descriptions]
224 --cache-file=FILE cache test results in FILE
225 --help print this message
226 --no-create do not create output files
227 --quiet, --silent do not print \`checking...' messages
228 --version print the version of autoconf that created configure
229 Directory and file names:
230 --prefix=PREFIX install architecture-independent files in PREFIX
232 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
234 --bindir=DIR user executables in DIR [EPREFIX/bin]
235 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
236 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
237 --datadir=DIR read-only architecture-independent data in DIR
239 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
240 --sharedstatedir=DIR modifiable architecture-independent data in DIR
242 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
243 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
244 --includedir=DIR C header files in DIR [PREFIX/include]
245 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
246 --infodir=DIR info documentation in DIR [PREFIX/info]
247 --mandir=DIR man documentation in DIR [PREFIX/man]
248 --srcdir=DIR find the sources in DIR [configure dir or ..]
249 --program-prefix=PREFIX prepend PREFIX to installed program names
250 --program-suffix=SUFFIX append SUFFIX to installed program names
251 --program-transform-name=PROGRAM
252 run sed PROGRAM on installed program names
256 --build=BUILD configure for building on BUILD [BUILD=HOST]
257 --host=HOST configure for HOST [guessed]
258 --target=TARGET configure for TARGET [TARGET=HOST]
259 Features and packages:
260 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
261 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
262 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
263 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
264 --x-includes=DIR X include files are in DIR
265 --x-libraries=DIR X library files are in DIR
267 if test -n "$ac_help"; then
268 echo "--enable and --with options recognized:$ac_help"
272 -host | --host | --hos | --ho)
274 -host=* | --host=* | --hos=* | --ho=*)
277 -includedir | --includedir | --includedi | --included | --include \
278 | --includ | --inclu | --incl | --inc)
279 ac_prev
=includedir
;;
280 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
281 | --includ=* | --inclu=* | --incl=* | --inc=*)
282 includedir
="$ac_optarg" ;;
284 -infodir | --infodir | --infodi | --infod | --info | --inf)
286 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
287 infodir
="$ac_optarg" ;;
289 -libdir | --libdir | --libdi | --libd)
291 -libdir=* | --libdir=* | --libdi=* | --libd=*)
292 libdir
="$ac_optarg" ;;
294 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
295 | --libexe | --libex | --libe)
296 ac_prev
=libexecdir
;;
297 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
298 | --libexe=* | --libex=* | --libe=*)
299 libexecdir
="$ac_optarg" ;;
301 -localstatedir | --localstatedir | --localstatedi | --localstated \
302 | --localstate | --localstat | --localsta | --localst \
303 | --locals | --local | --loca | --loc | --lo)
304 ac_prev
=localstatedir
;;
305 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
306 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
307 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
308 localstatedir
="$ac_optarg" ;;
310 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
312 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
313 mandir
="$ac_optarg" ;;
316 # Obsolete; use --without-fp.
319 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
323 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
324 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
327 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
328 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
329 | --oldin | --oldi | --old | --ol | --o)
330 ac_prev
=oldincludedir
;;
331 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
332 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
333 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
334 oldincludedir
="$ac_optarg" ;;
336 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
338 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
339 prefix
="$ac_optarg" ;;
341 -program-prefix | --program-prefix | --program-prefi | --program-pref \
342 | --program-pre | --program-pr | --program-p)
343 ac_prev
=program_prefix
;;
344 -program-prefix=* | --program-prefix=* | --program-prefi=* \
345 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
346 program_prefix
="$ac_optarg" ;;
348 -program-suffix | --program-suffix | --program-suffi | --program-suff \
349 | --program-suf | --program-su | --program-s)
350 ac_prev
=program_suffix
;;
351 -program-suffix=* | --program-suffix=* | --program-suffi=* \
352 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
353 program_suffix
="$ac_optarg" ;;
355 -program-transform-name | --program-transform-name \
356 | --program-transform-nam | --program-transform-na \
357 | --program-transform-n | --program-transform- \
358 | --program-transform | --program-transfor \
359 | --program-transfo | --program-transf \
360 | --program-trans | --program-tran \
361 | --progr-tra | --program-tr | --program-t)
362 ac_prev
=program_transform_name
;;
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 program_transform_name
="$ac_optarg" ;;
372 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
373 | -silent | --silent | --silen | --sile | --sil)
376 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
378 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
380 sbindir
="$ac_optarg" ;;
382 -sharedstatedir | --sharedstatedir | --sharedstatedi \
383 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
384 | --sharedst | --shareds | --shared | --share | --shar \
386 ac_prev
=sharedstatedir
;;
387 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
388 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
389 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
391 sharedstatedir
="$ac_optarg" ;;
393 -site | --site | --sit)
395 -site=* | --site=* | --sit=*)
398 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
400 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
401 srcdir
="$ac_optarg" ;;
403 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
404 | --syscon | --sysco | --sysc | --sys | --sy)
405 ac_prev
=sysconfdir
;;
406 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
407 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
408 sysconfdir
="$ac_optarg" ;;
410 -target | --target | --targe | --targ | --tar | --ta | --t)
412 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
413 target
="$ac_optarg" ;;
415 -v | -verbose | --verbose | --verbos | --verbo | --verb)
418 -version | --version | --versio | --versi | --vers)
419 echo "configure generated by autoconf version 2.12"
423 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
424 # Reject names that are not valid shell variable names.
425 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
426 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
428 ac_package
=`echo $ac_package| sed 's/-/_/g'`
433 eval "with_${ac_package}='$ac_optarg'" ;;
435 -without-* | --without-*)
436 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
437 # Reject names that are not valid shell variable names.
438 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
439 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
441 ac_package
=`echo $ac_package| sed 's/-/_/g'`
442 eval "with_${ac_package}=no" ;;
445 # Obsolete; use --with-x.
448 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
449 | --x-incl | --x-inc | --x-in | --x-i)
450 ac_prev
=x_includes
;;
451 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
452 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
453 x_includes
="$ac_optarg" ;;
455 -x-libraries | --x-libraries | --x-librarie | --x-librari \
456 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
457 ac_prev
=x_libraries
;;
458 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
459 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
460 x_libraries
="$ac_optarg" ;;
462 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
466 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
467 echo "configure: warning: $ac_option: invalid host type" 1>&2
469 if test "x$nonopt" != xNONE
; then
470 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
478 if test -n "$ac_prev"; then
479 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
482 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
484 # File descriptor usage:
487 # 2 errors and warnings
488 # 3 some systems may open it to /dev/tty
489 # 4 used on the Kubota Titan
490 # 6 checking for... messages and results
491 # 5 compiler messages saved in config.log
492 if test "$silent" = yes; then
500 This file contains any messages produced by compilers while
501 running configure, to aid debugging if configure makes a mistake.
504 # Strip out --no-create and --no-recursion so they do not pile up.
505 # Also quote any args containing shell metacharacters.
510 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
511 | --no-cr | --no-c) ;;
512 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
513 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
514 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
515 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
516 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
521 # Only set these to C if already set. These must not be set unconditionally
522 # because not all systems understand e.g. LANG=C (notably SCO).
523 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
524 # Non-C LC_CTYPE values break the ctype check.
525 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
526 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
527 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
528 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
530 # confdefs.h avoids OS command line length limits that DEFS can exceed.
531 rm -rf conftest
* confdefs.h
532 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
535 # A filename unique to this package, relative to the directory that
536 # configure is in, which we can look for to find out if srcdir is correct.
537 ac_unique_file
=configure.
in
539 # Find the source files, if location was not specified.
540 if test -z "$srcdir"; then
541 ac_srcdir_defaulted
=yes
542 # Try the directory containing this script, then its parent.
544 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
545 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
547 if test ! -r $srcdir/$ac_unique_file; then
551 ac_srcdir_defaulted
=no
553 if test ! -r $srcdir/$ac_unique_file; then
554 if test "$ac_srcdir_defaulted" = yes; then
555 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
557 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
560 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
562 # Prefer explicitly selected file to automatically selected ones.
563 if test -z "$CONFIG_SITE"; then
564 if test "x$prefix" != xNONE
; then
565 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
567 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
570 for ac_site_file
in $CONFIG_SITE; do
571 if test -r "$ac_site_file"; then
572 echo "loading site script $ac_site_file"
577 if test -r "$cache_file"; then
578 echo "loading cache $cache_file"
581 echo "creating cache $cache_file"
586 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
587 ac_cpp
='$CPP $CPPFLAGS'
588 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
589 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
590 cross_compiling
=$ac_cv_prog_cc_cross
592 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
593 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
594 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
601 ac_n
= ac_c
='\c' ac_t
=
609 if test "x$OS" = "x"; then
611 { echo "configure: error: "The system variable OS has not been
set"
612 "please
set is everytime befor compiling on this system
"
613 "A good example
for this system would be
:"
614 "setenv OSTYPE
$UNAME for csh as a SHELL
"
615 "EXPORT OSTYPE
=$UNAME for sh as SHELL
"
616 "please
set this and restart again.
"
626 /usr/Motif1.2/include \
641 /usr/local/X11R6/include \
642 /usr/local/X11R5/include \
643 /usr/local/X11R4/include \
645 /usr/local/include/X11R6 \
646 /usr/local/include/X11R5 \
647 /usr/local/include/X11R4 \
651 /usr/local/X11/include \
652 /usr/local/include/X11 \
656 /usr/XFree86/include/X11 \
663 /usr/unsupported/include \
664 /usr/athena/include \
665 /usr/local/x11r5/include \
666 /usr/lpp/Xamples/include \
668 /usr/local/include/gtk \
669 /usr/local/include/Xm \
670 /usr/local/include/qt \
671 /usr/X11R6/include/Xm \
672 /usr/X11/include/Xm \
675 /usr/openwin/include \
676 /usr/openwin/share/include \
679 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` \
685 # Extract the first word of "gcc", so it can be a program name with args.
686 set dummy gcc
; ac_word
=$2
687 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
688 echo "configure:689: checking for $ac_word" >&5
689 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
690 echo $ac_n "(cached) $ac_c" 1>&6
692 if test -n "$CC"; then
693 ac_cv_prog_CC
="$CC" # Let the user override the test.
695 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
696 for ac_dir
in $PATH; do
697 test -z "$ac_dir" && ac_dir
=.
698 if test -f $ac_dir/$ac_word; then
707 if test -n "$CC"; then
708 echo "$ac_t""$CC" 1>&6
710 echo "$ac_t""no" 1>&6
713 if test -z "$CC"; then
714 # Extract the first word of "cc", so it can be a program name with args.
715 set dummy cc
; ac_word
=$2
716 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
717 echo "configure:718: checking for $ac_word" >&5
718 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
719 echo $ac_n "(cached) $ac_c" 1>&6
721 if test -n "$CC"; then
722 ac_cv_prog_CC
="$CC" # Let the user override the test.
724 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
726 for ac_dir
in $PATH; do
727 test -z "$ac_dir" && ac_dir
=.
728 if test -f $ac_dir/$ac_word; then
729 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
738 if test $ac_prog_rejected = yes; then
739 # We found a bogon in the path, so make sure we never use it.
740 set dummy
$ac_cv_prog_CC
742 if test $# -gt 0; then
743 # We chose a different compiler from the bogus one.
744 # However, it has the same basename, so the bogon will be chosen
745 # first if we set CC to just the basename; use the full file name.
747 set dummy
"$ac_dir/$ac_word" "$@"
755 if test -n "$CC"; then
756 echo "$ac_t""$CC" 1>&6
758 echo "$ac_t""no" 1>&6
761 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
764 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
765 echo "configure:766: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
769 ac_cpp
='$CPP $CPPFLAGS'
770 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
771 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
772 cross_compiling
=$ac_cv_prog_cc_cross
774 cat > conftest.
$ac_ext <<EOF
775 #line 776 "configure"
776 #include "confdefs.h"
779 if { (eval echo configure
:780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
780 ac_cv_prog_cc_works
=yes
781 # If we can't run a trivial program, we are probably using a cross compiler.
782 if (.
/conftest
; exit) 2>/dev
/null
; then
783 ac_cv_prog_cc_cross
=no
785 ac_cv_prog_cc_cross
=yes
788 echo "configure: failed program was:" >&5
789 cat conftest.
$ac_ext >&5
790 ac_cv_prog_cc_works
=no
794 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
795 if test $ac_cv_prog_cc_works = no
; then
796 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
798 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
799 echo "configure:800: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
800 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
801 cross_compiling
=$ac_cv_prog_cc_cross
803 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
804 echo "configure:805: checking whether we are using GNU C" >&5
805 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
806 echo $ac_n "(cached) $ac_c" 1>&6
808 cat > conftest.c
<<EOF
813 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
820 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
822 if test $ac_cv_prog_gcc = yes; then
824 ac_test_CFLAGS
="${CFLAGS+set}"
825 ac_save_CFLAGS
="$CFLAGS"
827 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
828 echo "configure:829: checking whether ${CC-cc} accepts -g" >&5
829 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
830 echo $ac_n "(cached) $ac_c" 1>&6
832 echo 'void f(){}' > conftest.c
833 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
842 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
843 if test "$ac_test_CFLAGS" = set; then
844 CFLAGS
="$ac_save_CFLAGS"
845 elif test $ac_cv_prog_cc_g = yes; then
852 test "${CFLAGS+set}" = set || CFLAGS
="-g"
856 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
858 if test "x$CC" != xcc
; then
859 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
860 echo "configure:861: checking whether $CC and cc understand -c and -o together" >&5
862 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
863 echo "configure:864: checking whether cc understands -c and -o together" >&5
865 set dummy
$CC; ac_cc
="`echo $2 |
866 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
867 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
868 echo $ac_n "(cached) $ac_c" 1>&6
870 echo 'foo(){}' > conftest.c
871 # Make sure it works both with $CC and with simple cc.
872 # We do the test twice because some compilers refuse to overwrite an
873 # existing .o file with -o, though they will create one.
874 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5'
875 if { (eval echo configure
:876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
876 test -f conftest.o
&& { (eval echo configure
:877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
878 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
879 if test "x$CC" != xcc
; then
880 # Test first that cc exists at all.
881 if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
882 ac_try
='cc -c conftest.c -o conftest.o 1>&5'
883 if { (eval echo configure
:884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
884 test -f conftest.o
&& { (eval echo configure
:885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
889 # cc exists but doesn't like -o.
890 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
895 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
900 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
901 echo "$ac_t""yes" 1>&6
903 echo "$ac_t""no" 1>&6
904 cat >> confdefs.h
<<\EOF
905 #define NO_MINUS_C_MINUS_O 1
910 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
911 echo "configure:912: checking how to run the C preprocessor" >&5
912 # On Suns, sometimes $CPP names a directory.
913 if test -n "$CPP" && test -d "$CPP"; then
916 if test -z "$CPP"; then
917 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
918 echo $ac_n "(cached) $ac_c" 1>&6
920 # This must be in double quotes, not single quotes, because CPP may get
921 # substituted into the Makefile and "${CC-cc}" will confuse make.
923 # On the NeXT, cc -E runs the code through the compiler's parser,
924 # not just through cpp.
925 cat > conftest.
$ac_ext <<EOF
926 #line 927 "configure"
927 #include "confdefs.h"
931 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
932 { (eval echo configure
:933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
933 ac_err
=`grep -v '^ *+' conftest.out`
934 if test -z "$ac_err"; then
938 echo "configure: failed program was:" >&5
939 cat conftest.
$ac_ext >&5
941 CPP
="${CC-cc} -E -traditional-cpp"
942 cat > conftest.
$ac_ext <<EOF
943 #line 944 "configure"
944 #include "confdefs.h"
948 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
949 { (eval echo configure
:950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
950 ac_err
=`grep -v '^ *+' conftest.out`
951 if test -z "$ac_err"; then
955 echo "configure: failed program was:" >&5
956 cat conftest.
$ac_ext >&5
963 ac_cv_prog_CPP
="$CPP"
965 CPP
="$ac_cv_prog_CPP"
967 ac_cv_prog_CPP
="$CPP"
969 echo "$ac_t""$CPP" 1>&6
971 if test $ac_cv_prog_gcc = yes; then
972 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
973 echo "configure:974: checking whether ${CC-cc} needs -traditional" >&5
974 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
975 echo $ac_n "(cached) $ac_c" 1>&6
977 ac_pattern
="Autoconf.*'x'"
978 cat > conftest.
$ac_ext <<EOF
979 #line 980 "configure"
980 #include "confdefs.h"
984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
985 egrep "$ac_pattern" >/dev
/null
2>&1; then
987 ac_cv_prog_gcc_traditional
=yes
990 ac_cv_prog_gcc_traditional
=no
995 if test $ac_cv_prog_gcc_traditional = no
; then
996 cat > conftest.
$ac_ext <<EOF
997 #line 998 "configure"
998 #include "confdefs.h"
1002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1003 egrep "$ac_pattern" >/dev
/null
2>&1; then
1005 ac_cv_prog_gcc_traditional
=yes
1012 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
1013 if test $ac_cv_prog_gcc_traditional = yes; then
1014 CC
="$CC -traditional"
1021 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1023 # Extract the first word of "$ac_prog", so it can be a program name with args.
1024 set dummy
$ac_prog; ac_word
=$2
1025 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1026 echo "configure:1027: checking for $ac_word" >&5
1027 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1028 echo $ac_n "(cached) $ac_c" 1>&6
1030 if test -n "$CXX"; then
1031 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1033 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1034 for ac_dir
in $PATH; do
1035 test -z "$ac_dir" && ac_dir
=.
1036 if test -f $ac_dir/$ac_word; then
1037 ac_cv_prog_CXX
="$ac_prog"
1044 CXX
="$ac_cv_prog_CXX"
1045 if test -n "$CXX"; then
1046 echo "$ac_t""$CXX" 1>&6
1048 echo "$ac_t""no" 1>&6
1051 test -n "$CXX" && break
1053 test -n "$CXX" || CXX
="gcc"
1056 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1057 echo "configure:1058: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1060 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1061 ac_cpp
='$CXXCPP $CPPFLAGS'
1062 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1063 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1064 cross_compiling
=$ac_cv_prog_cxx_cross
1066 cat > conftest.
$ac_ext <<EOF
1067 #line 1068 "configure"
1068 #include "confdefs.h"
1071 if { (eval echo configure
:1072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1072 ac_cv_prog_cxx_works
=yes
1073 # If we can't run a trivial program, we are probably using a cross compiler.
1074 if (.
/conftest
; exit) 2>/dev
/null
; then
1075 ac_cv_prog_cxx_cross
=no
1077 ac_cv_prog_cxx_cross
=yes
1080 echo "configure: failed program was:" >&5
1081 cat conftest.
$ac_ext >&5
1082 ac_cv_prog_cxx_works
=no
1086 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1087 ac_cpp
='$CPP $CPPFLAGS'
1088 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1089 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1090 cross_compiling
=$ac_cv_prog_cc_cross
1092 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1093 if test $ac_cv_prog_cxx_works = no
; then
1094 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1096 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1097 echo "configure:1098: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1098 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1099 cross_compiling
=$ac_cv_prog_cxx_cross
1101 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1102 echo "configure:1103: checking whether we are using GNU C++" >&5
1103 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1104 echo $ac_n "(cached) $ac_c" 1>&6
1106 cat > conftest.C
<<EOF
1111 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
1118 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1120 if test $ac_cv_prog_gxx = yes; then
1122 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1123 ac_save_CXXFLAGS
="$CXXFLAGS"
1125 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1126 echo "configure:1127: checking whether ${CXX-g++} accepts -g" >&5
1127 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1128 echo $ac_n "(cached) $ac_c" 1>&6
1130 echo 'void f(){}' > conftest.cc
1131 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1132 ac_cv_prog_cxx_g
=yes
1140 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1141 if test "$ac_test_CXXFLAGS" = set; then
1142 CXXFLAGS
="$ac_save_CXXFLAGS"
1143 elif test $ac_cv_prog_cxx_g = yes; then
1150 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1153 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1154 echo "configure:1155: checking how to run the C++ preprocessor" >&5
1155 if test -z "$CXXCPP"; then
1156 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1157 echo $ac_n "(cached) $ac_c" 1>&6
1160 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1161 ac_cpp
='$CXXCPP $CPPFLAGS'
1162 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1163 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1164 cross_compiling
=$ac_cv_prog_cxx_cross
1165 CXXCPP
="${CXX-g++} -E"
1166 cat > conftest.
$ac_ext <<EOF
1167 #line 1168 "configure"
1168 #include "confdefs.h"
1171 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1172 { (eval echo configure
:1173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1173 ac_err
=`grep -v '^ *+' conftest.out`
1174 if test -z "$ac_err"; then
1178 echo "configure: failed program was:" >&5
1179 cat conftest.
$ac_ext >&5
1184 ac_cv_prog_CXXCPP
="$CXXCPP"
1186 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1187 ac_cpp
='$CPP $CPPFLAGS'
1188 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1189 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1190 cross_compiling
=$ac_cv_prog_cc_cross
1193 CXXCPP
="$ac_cv_prog_CXXCPP"
1194 echo "$ac_t""$CXXCPP" 1>&6
1197 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
1201 # Extract the first word of "ranlib", so it can be a program name with args.
1202 set dummy ranlib
; ac_word
=$2
1203 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1204 echo "configure:1205: checking for $ac_word" >&5
1205 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1206 echo $ac_n "(cached) $ac_c" 1>&6
1208 if test -n "$RANLIB"; then
1209 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1211 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1212 for ac_dir
in $PATH; do
1213 test -z "$ac_dir" && ac_dir
=.
1214 if test -f $ac_dir/$ac_word; then
1215 ac_cv_prog_RANLIB
="ranlib"
1220 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1223 RANLIB
="$ac_cv_prog_RANLIB"
1224 if test -n "$RANLIB"; then
1225 echo "$ac_t""$RANLIB" 1>&6
1227 echo "$ac_t""no" 1>&6
1231 # Extract the first word of "ar", so it can be a program name with args.
1232 set dummy
ar; ac_word
=$2
1233 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1234 echo "configure:1235: checking for $ac_word" >&5
1235 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1236 echo $ac_n "(cached) $ac_c" 1>&6
1238 if test -n "$AR"; then
1239 ac_cv_prog_AR
="$AR" # Let the user override the test.
1241 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1242 for ac_dir
in $PATH; do
1243 test -z "$ac_dir" && ac_dir
=.
1244 if test -f $ac_dir/$ac_word; then
1250 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1254 if test -n "$AR"; then
1255 echo "$ac_t""$AR" 1>&6
1257 echo "$ac_t""no" 1>&6
1262 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1263 if test -f $ac_dir/install-sh; then
1265 ac_install_sh
="$ac_aux_dir/install-sh -c"
1267 elif test -f $ac_dir/install.sh
; then
1269 ac_install_sh
="$ac_aux_dir/install.sh -c"
1273 if test -z "$ac_aux_dir"; then
1274 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1276 ac_config_guess
=$ac_aux_dir/config.guess
1277 ac_config_sub
=$ac_aux_dir/config.sub
1278 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1280 # Find a good install program. We prefer a C program (faster),
1281 # so one script is as good as another. But avoid the broken or
1282 # incompatible versions:
1283 # SysV /etc/install, /usr/sbin/install
1284 # SunOS /usr/etc/install
1285 # IRIX /sbin/install
1287 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1288 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1289 # ./install, which can be erroneously created by make from ./install.sh.
1290 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1291 echo "configure:1292: checking for a BSD compatible install" >&5
1292 if test -z "$INSTALL"; then
1293 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1294 echo $ac_n "(cached) $ac_c" 1>&6
1296 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1297 for ac_dir
in $PATH; do
1298 # Account for people who put trailing slashes in PATH elements.
1300 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
1302 # OSF1 and SCO ODT 3.0 have their own names for install.
1303 for ac_prog
in ginstall installbsd scoinst
install; do
1304 if test -f $ac_dir/$ac_prog; then
1305 if test $ac_prog = install &&
1306 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1307 # AIX install. It has an incompatible calling convention.
1308 # OSF/1 installbsd also uses dspmsg, but is usable.
1311 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1322 if test "${ac_cv_path_install+set}" = set; then
1323 INSTALL
="$ac_cv_path_install"
1325 # As a last resort, use the slow shell script. We don't cache a
1326 # path for INSTALL within a source directory, because that will
1327 # break other packages using the cache if that directory is
1328 # removed, or if the path is relative.
1329 INSTALL
="$ac_install_sh"
1332 echo "$ac_t""$INSTALL" 1>&6
1334 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1335 # It thinks the first close brace ends the variable substitution.
1336 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1338 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1341 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1342 echo "configure:1343: checking whether ln -s works" >&5
1343 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1344 echo $ac_n "(cached) $ac_c" 1>&6
1347 if ln -s X conftestdata
2>/dev
/null
1350 ac_cv_prog_LN_S
="ln -s"
1355 LN_S
="$ac_cv_prog_LN_S"
1356 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1357 echo "$ac_t""yes" 1>&6
1359 echo "$ac_t""no" 1>&6
1363 for ac_prog
in mawk gawk nawk
awk
1365 # Extract the first word of "$ac_prog", so it can be a program name with args.
1366 set dummy
$ac_prog; ac_word
=$2
1367 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1368 echo "configure:1369: checking for $ac_word" >&5
1369 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1370 echo $ac_n "(cached) $ac_c" 1>&6
1372 if test -n "$AWK"; then
1373 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1375 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1376 for ac_dir
in $PATH; do
1377 test -z "$ac_dir" && ac_dir
=.
1378 if test -f $ac_dir/$ac_word; then
1379 ac_cv_prog_AWK
="$ac_prog"
1386 AWK
="$ac_cv_prog_AWK"
1387 if test -n "$AWK"; then
1388 echo "$ac_t""$AWK" 1>&6
1390 echo "$ac_t""no" 1>&6
1393 test -n "$AWK" && break
1397 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
1398 echo "configure:1399: checking "make for VPATH support
"" >&5
1399 cat - << EOF > confMake
1405 if test ! -d sub
; then
1408 echo dummy
> sub
/file
1409 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
1411 rm -f sub
/file check final_file confMake
1413 if test "$RESULT" = 0; then
1414 echo "$ac_t""yes" 1>&6
1416 echo "$ac_t""no" 1>&6
1417 { echo "configure: error: You need a make-utility that is able to use the variable
1419 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
1423 # If we find X, set shell vars x_includes and x_libraries to the
1424 # paths, otherwise set no_x=yes.
1425 # Uses ac_ vars as temps to allow command line to override cache and checks.
1426 # --without-x overrides everything else, but does not touch the cache.
1427 echo $ac_n "checking for X""... $ac_c" 1>&6
1428 echo "configure:1429: checking for X" >&5
1430 # Check whether --with-x or --without-x was given.
1431 if test "${with_x+set}" = set; then
1436 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
1437 if test "x$with_x" = xno
; then
1438 # The user explicitly disabled X.
1441 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
1442 # Both variables are already set.
1445 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
1446 echo $ac_n "(cached) $ac_c" 1>&6
1448 # One or both of the vars are not set, and there is no cached value.
1449 ac_x_includes
=NO ac_x_libraries
=NO
1451 if mkdir conftestdir
; then
1453 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1454 cat > Imakefile
<<'EOF'
1456 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1458 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
1459 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1460 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
1461 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1462 for ac_extension
in a so sl
; do
1463 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
1464 test -f $ac_im_libdir/libX11.
$ac_extension; then
1465 ac_im_usrlibdir
=$ac_im_libdir; break
1468 # Screen out bogus values from the imake configuration. They are
1469 # bogus both because they are the default anyway, and because
1470 # using them would break gcc on systems where it needs fixed includes.
1471 case "$ac_im_incroot" in
1473 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
1475 case "$ac_im_usrlibdir" in
1477 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
1484 if test "$ac_x_includes" = NO
; then
1485 # Guess where to find include files, by looking for this one X11 .h file.
1486 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
1488 # First, try using that file with no special directory specified.
1489 cat > conftest.
$ac_ext <<EOF
1490 #line 1491 "configure"
1491 #include "confdefs.h"
1492 #include <$x_direct_test_include>
1494 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1495 { (eval echo configure
:1496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1496 ac_err
=`grep -v '^ *+' conftest.out`
1497 if test -z "$ac_err"; then
1499 # We can compile using X headers with no special include directory.
1503 echo "configure: failed program was:" >&5
1504 cat conftest.
$ac_ext >&5
1506 # Look for the header file in a standard set of common directories.
1507 # Check X11 before X11Rn because it is often a symlink to the current release.
1510 /usr
/X
11R
6/include \
1511 /usr
/X
11R
5/include \
1512 /usr
/X
11R
4/include \
1515 /usr
/include
/X11R6 \
1516 /usr
/include
/X11R5 \
1517 /usr
/include
/X11R4 \
1519 /usr
/local
/X
11/include \
1520 /usr
/local
/X
11R
6/include \
1521 /usr
/local
/X
11R
5/include \
1522 /usr
/local
/X
11R
4/include \
1524 /usr
/local
/include
/X11 \
1525 /usr
/local
/include
/X11R6 \
1526 /usr
/local
/include
/X11R5 \
1527 /usr
/local
/include
/X11R4 \
1531 /usr
/XFree
86/include
/X11 \
1534 /usr
/local
/include \
1535 /usr
/unsupported
/include \
1536 /usr
/athena
/include \
1537 /usr
/local
/x
11r
5/include \
1538 /usr
/lpp
/Xamples
/include \
1540 /usr
/openwin
/include \
1541 /usr
/openwin
/share
/include \
1544 if test -r "$ac_dir/$x_direct_test_include"; then
1545 ac_x_includes
=$ac_dir
1551 fi # $ac_x_includes = NO
1553 if test "$ac_x_libraries" = NO
; then
1554 # Check for the libraries.
1556 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
1557 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
1559 # See if we find them without any special options.
1560 # Don't add to $LIBS permanently.
1561 ac_save_LIBS
="$LIBS"
1562 LIBS
="-l$x_direct_test_library $LIBS"
1563 cat > conftest.
$ac_ext <<EOF
1564 #line 1565 "configure"
1565 #include "confdefs.h"
1568 ${x_direct_test_function}()
1571 if { (eval echo configure
:1572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1573 LIBS
="$ac_save_LIBS"
1574 # We can link X programs with no special library path.
1577 echo "configure: failed program was:" >&5
1578 cat conftest.
$ac_ext >&5
1580 LIBS
="$ac_save_LIBS"
1581 # First see if replacing the include by lib works.
1582 # Check X11 before X11Rn because it is often a symlink to the current release.
1583 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
1594 /usr
/local
/X
11/lib \
1595 /usr
/local
/X
11R
6/lib \
1596 /usr
/local
/X
11R
5/lib \
1597 /usr
/local
/X
11R
4/lib \
1599 /usr
/local
/lib
/X11 \
1600 /usr
/local
/lib
/X11R6 \
1601 /usr
/local
/lib
/X11R5 \
1602 /usr
/local
/lib
/X11R4 \
1606 /usr
/XFree
86/lib
/X11 \
1610 /usr
/unsupported
/lib \
1612 /usr
/local
/x
11r
5/lib \
1613 /usr
/lpp
/Xamples
/lib \
1617 /usr
/openwin
/share
/lib \
1620 for ac_extension
in a so sl
; do
1621 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
1622 ac_x_libraries
=$ac_dir
1629 fi # $ac_x_libraries = NO
1631 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
1632 # Didn't find X anywhere. Cache the known absence of X.
1633 ac_cv_have_x
="have_x=no"
1635 # Record where we found X for the cache.
1636 ac_cv_have_x
="have_x=yes \
1637 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1641 eval "$ac_cv_have_x"
1644 if test "$have_x" != yes; then
1645 echo "$ac_t""$have_x" 1>&6
1648 # If each of the values was on the command line, it overrides each guess.
1649 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
1650 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
1651 # Update the cache value to reflect the command line values.
1652 ac_cv_have_x
="have_x=yes \
1653 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1654 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
1657 if test "$no_x" = yes; then
1658 # Not all programs may use this symbol, but it does not hurt to define it.
1659 cat >> confdefs.h
<<\EOF
1660 #define X_DISPLAY_MISSING 1
1663 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
1665 if test -n "$x_includes"; then
1666 X_CFLAGS
="$X_CFLAGS -I$x_includes"
1669 # It would also be nice to do this for all -L options, not just this one.
1670 if test -n "$x_libraries"; then
1671 X_LIBS
="$X_LIBS -L$x_libraries"
1672 # For Solaris; some versions of Sun CC require a space after -R and
1673 # others require no space. Words are not sufficient . . . .
1674 case "`(uname -sr) 2>/dev/null`" in
1676 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
1677 echo "configure:1678: checking whether -R must be followed by a space" >&5
1678 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
1679 cat > conftest.
$ac_ext <<EOF
1680 #line 1681 "configure"
1681 #include "confdefs.h"
1687 if { (eval echo configure
:1688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1691 echo "configure: failed program was:" >&5
1692 cat conftest.
$ac_ext >&5
1697 if test $ac_R_nospace = yes; then
1698 echo "$ac_t""no" 1>&6
1699 X_LIBS
="$X_LIBS -R$x_libraries"
1701 LIBS
="$ac_xsave_LIBS -R $x_libraries"
1702 cat > conftest.
$ac_ext <<EOF
1703 #line 1704 "configure"
1704 #include "confdefs.h"
1710 if { (eval echo configure
:1711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1714 echo "configure: failed program was:" >&5
1715 cat conftest.
$ac_ext >&5
1720 if test $ac_R_space = yes; then
1721 echo "$ac_t""yes" 1>&6
1722 X_LIBS
="$X_LIBS -R $x_libraries"
1724 echo "$ac_t""neither works" 1>&6
1727 LIBS
="$ac_xsave_LIBS"
1731 # Check for system-dependent libraries X programs must link with.
1732 # Do this before checking for the system-independent R6 libraries
1733 # (-lICE), since we may need -lsocket or whatever for X linking.
1735 if test "$ISC" = yes; then
1736 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
1738 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
1739 # libraries were built with DECnet support. And karl@cs.umb.edu says
1740 # the Alpha needs dnet_stub (dnet does not exist).
1741 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
1742 echo "configure:1743: checking for dnet_ntoa in -ldnet" >&5
1743 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1744 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1745 echo $ac_n "(cached) $ac_c" 1>&6
1747 ac_save_LIBS
="$LIBS"
1749 cat > conftest.
$ac_ext <<EOF
1750 #line 1751 "configure"
1751 #include "confdefs.h"
1752 /* Override any gcc2 internal prototype to avoid an error. */
1753 /* We use char because int might match the return type of a gcc2
1754 builtin and then its argument prototype would still apply. */
1761 if { (eval echo configure
:1762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1763 eval "ac_cv_lib_$ac_lib_var=yes"
1765 echo "configure: failed program was:" >&5
1766 cat conftest.
$ac_ext >&5
1768 eval "ac_cv_lib_$ac_lib_var=no"
1771 LIBS
="$ac_save_LIBS"
1774 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1775 echo "$ac_t""yes" 1>&6
1776 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
1778 echo "$ac_t""no" 1>&6
1781 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
1782 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
1783 echo "configure:1784: checking for dnet_ntoa in -ldnet_stub" >&5
1784 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1785 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1786 echo $ac_n "(cached) $ac_c" 1>&6
1788 ac_save_LIBS
="$LIBS"
1789 LIBS
="-ldnet_stub $LIBS"
1790 cat > conftest.
$ac_ext <<EOF
1791 #line 1792 "configure"
1792 #include "confdefs.h"
1793 /* Override any gcc2 internal prototype to avoid an error. */
1794 /* We use char because int might match the return type of a gcc2
1795 builtin and then its argument prototype would still apply. */
1802 if { (eval echo configure
:1803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1804 eval "ac_cv_lib_$ac_lib_var=yes"
1806 echo "configure: failed program was:" >&5
1807 cat conftest.
$ac_ext >&5
1809 eval "ac_cv_lib_$ac_lib_var=no"
1812 LIBS
="$ac_save_LIBS"
1815 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1816 echo "$ac_t""yes" 1>&6
1817 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
1819 echo "$ac_t""no" 1>&6
1824 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
1825 # to get the SysV transport functions.
1826 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
1828 # The nsl library prevents programs from opening the X display
1829 # on Irix 5.2, according to dickey@clark.net.
1830 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1831 echo "configure:1832: checking for gethostbyname" >&5
1832 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1833 echo $ac_n "(cached) $ac_c" 1>&6
1835 cat > conftest.
$ac_ext <<EOF
1836 #line 1837 "configure"
1837 #include "confdefs.h"
1838 /* System header to define __stub macros and hopefully few prototypes,
1839 which can conflict with char gethostbyname(); below. */
1841 /* Override any gcc2 internal prototype to avoid an error. */
1842 /* We use char because int might match the return type of a gcc2
1843 builtin and then its argument prototype would still apply. */
1844 char gethostbyname();
1848 /* The GNU C library defines this for functions which it implements
1849 to always fail with ENOSYS. Some functions are actually named
1850 something starting with __ and the normal name is an alias. */
1851 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
1859 if { (eval echo configure
:1860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1861 eval "ac_cv_func_gethostbyname=yes"
1863 echo "configure: failed program was:" >&5
1864 cat conftest.
$ac_ext >&5
1866 eval "ac_cv_func_gethostbyname=no"
1871 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1872 echo "$ac_t""yes" 1>&6
1875 echo "$ac_t""no" 1>&6
1878 if test $ac_cv_func_gethostbyname = no
; then
1879 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1880 echo "configure:1881: checking for gethostbyname in -lnsl" >&5
1881 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1882 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1883 echo $ac_n "(cached) $ac_c" 1>&6
1885 ac_save_LIBS
="$LIBS"
1887 cat > conftest.
$ac_ext <<EOF
1888 #line 1889 "configure"
1889 #include "confdefs.h"
1890 /* Override any gcc2 internal prototype to avoid an error. */
1891 /* We use char because int might match the return type of a gcc2
1892 builtin and then its argument prototype would still apply. */
1893 char gethostbyname();
1899 if { (eval echo configure
:1900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1901 eval "ac_cv_lib_$ac_lib_var=yes"
1903 echo "configure: failed program was:" >&5
1904 cat conftest.
$ac_ext >&5
1906 eval "ac_cv_lib_$ac_lib_var=no"
1909 LIBS
="$ac_save_LIBS"
1912 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1913 echo "$ac_t""yes" 1>&6
1914 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
1916 echo "$ac_t""no" 1>&6
1921 # lieder@skyler.mavd.honeywell.com says without -lsocket,
1922 # socket/setsockopt and other routines are undefined under SCO ODT
1923 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
1924 # on later versions), says simon@lia.di.epfl.ch: it contains
1925 # gethostby* variants that don't use the nameserver (or something).
1926 # -lsocket must be given before -lnsl if both are needed.
1927 # We assume that if connect needs -lnsl, so does gethostbyname.
1928 echo $ac_n "checking for connect""... $ac_c" 1>&6
1929 echo "configure:1930: checking for connect" >&5
1930 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1931 echo $ac_n "(cached) $ac_c" 1>&6
1933 cat > conftest.
$ac_ext <<EOF
1934 #line 1935 "configure"
1935 #include "confdefs.h"
1936 /* System header to define __stub macros and hopefully few prototypes,
1937 which can conflict with char connect(); below. */
1939 /* Override any gcc2 internal prototype to avoid an error. */
1940 /* We use char because int might match the return type of a gcc2
1941 builtin and then its argument prototype would still apply. */
1946 /* The GNU C library defines this for functions which it implements
1947 to always fail with ENOSYS. Some functions are actually named
1948 something starting with __ and the normal name is an alias. */
1949 #if defined (__stub_connect) || defined (__stub___connect)
1957 if { (eval echo configure
:1958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1959 eval "ac_cv_func_connect=yes"
1961 echo "configure: failed program was:" >&5
1962 cat conftest.
$ac_ext >&5
1964 eval "ac_cv_func_connect=no"
1969 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
1970 echo "$ac_t""yes" 1>&6
1973 echo "$ac_t""no" 1>&6
1976 if test $ac_cv_func_connect = no
; then
1977 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
1978 echo "configure:1979: checking for connect in -lsocket" >&5
1979 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
1980 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1981 echo $ac_n "(cached) $ac_c" 1>&6
1983 ac_save_LIBS
="$LIBS"
1984 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
1985 cat > conftest.
$ac_ext <<EOF
1986 #line 1987 "configure"
1987 #include "confdefs.h"
1988 /* Override any gcc2 internal prototype to avoid an error. */
1989 /* We use char because int might match the return type of a gcc2
1990 builtin and then its argument prototype would still apply. */
1997 if { (eval echo configure
:1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1999 eval "ac_cv_lib_$ac_lib_var=yes"
2001 echo "configure: failed program was:" >&5
2002 cat conftest.
$ac_ext >&5
2004 eval "ac_cv_lib_$ac_lib_var=no"
2007 LIBS
="$ac_save_LIBS"
2010 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2011 echo "$ac_t""yes" 1>&6
2012 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
2014 echo "$ac_t""no" 1>&6
2019 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2020 echo $ac_n "checking for remove""... $ac_c" 1>&6
2021 echo "configure:2022: checking for remove" >&5
2022 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2023 echo $ac_n "(cached) $ac_c" 1>&6
2025 cat > conftest.
$ac_ext <<EOF
2026 #line 2027 "configure"
2027 #include "confdefs.h"
2028 /* System header to define __stub macros and hopefully few prototypes,
2029 which can conflict with char remove(); below. */
2031 /* Override any gcc2 internal prototype to avoid an error. */
2032 /* We use char because int might match the return type of a gcc2
2033 builtin and then its argument prototype would still apply. */
2038 /* The GNU C library defines this for functions which it implements
2039 to always fail with ENOSYS. Some functions are actually named
2040 something starting with __ and the normal name is an alias. */
2041 #if defined (__stub_remove) || defined (__stub___remove)
2049 if { (eval echo configure
:2050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2051 eval "ac_cv_func_remove=yes"
2053 echo "configure: failed program was:" >&5
2054 cat conftest.
$ac_ext >&5
2056 eval "ac_cv_func_remove=no"
2061 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
2062 echo "$ac_t""yes" 1>&6
2065 echo "$ac_t""no" 1>&6
2068 if test $ac_cv_func_remove = no
; then
2069 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2070 echo "configure:2071: checking for remove in -lposix" >&5
2071 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2072 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2073 echo $ac_n "(cached) $ac_c" 1>&6
2075 ac_save_LIBS
="$LIBS"
2076 LIBS
="-lposix $LIBS"
2077 cat > conftest.
$ac_ext <<EOF
2078 #line 2079 "configure"
2079 #include "confdefs.h"
2080 /* Override any gcc2 internal prototype to avoid an error. */
2081 /* We use char because int might match the return type of a gcc2
2082 builtin and then its argument prototype would still apply. */
2089 if { (eval echo configure
:2090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2091 eval "ac_cv_lib_$ac_lib_var=yes"
2093 echo "configure: failed program was:" >&5
2094 cat conftest.
$ac_ext >&5
2096 eval "ac_cv_lib_$ac_lib_var=no"
2099 LIBS
="$ac_save_LIBS"
2102 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2103 echo "$ac_t""yes" 1>&6
2104 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
2106 echo "$ac_t""no" 1>&6
2111 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2112 echo $ac_n "checking for shmat""... $ac_c" 1>&6
2113 echo "configure:2114: checking for shmat" >&5
2114 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2115 echo $ac_n "(cached) $ac_c" 1>&6
2117 cat > conftest.
$ac_ext <<EOF
2118 #line 2119 "configure"
2119 #include "confdefs.h"
2120 /* System header to define __stub macros and hopefully few prototypes,
2121 which can conflict with char shmat(); below. */
2123 /* Override any gcc2 internal prototype to avoid an error. */
2124 /* We use char because int might match the return type of a gcc2
2125 builtin and then its argument prototype would still apply. */
2130 /* The GNU C library defines this for functions which it implements
2131 to always fail with ENOSYS. Some functions are actually named
2132 something starting with __ and the normal name is an alias. */
2133 #if defined (__stub_shmat) || defined (__stub___shmat)
2141 if { (eval echo configure
:2142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2143 eval "ac_cv_func_shmat=yes"
2145 echo "configure: failed program was:" >&5
2146 cat conftest.
$ac_ext >&5
2148 eval "ac_cv_func_shmat=no"
2153 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
2154 echo "$ac_t""yes" 1>&6
2157 echo "$ac_t""no" 1>&6
2160 if test $ac_cv_func_shmat = no
; then
2161 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2162 echo "configure:2163: checking for shmat in -lipc" >&5
2163 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2164 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2165 echo $ac_n "(cached) $ac_c" 1>&6
2167 ac_save_LIBS
="$LIBS"
2169 cat > conftest.
$ac_ext <<EOF
2170 #line 2171 "configure"
2171 #include "confdefs.h"
2172 /* Override any gcc2 internal prototype to avoid an error. */
2173 /* We use char because int might match the return type of a gcc2
2174 builtin and then its argument prototype would still apply. */
2181 if { (eval echo configure
:2182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2183 eval "ac_cv_lib_$ac_lib_var=yes"
2185 echo "configure: failed program was:" >&5
2186 cat conftest.
$ac_ext >&5
2188 eval "ac_cv_lib_$ac_lib_var=no"
2191 LIBS
="$ac_save_LIBS"
2194 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2195 echo "$ac_t""yes" 1>&6
2196 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
2198 echo "$ac_t""no" 1>&6
2204 # Check for libraries that X11R6 Xt/Xaw programs need.
2205 ac_save_LDFLAGS
="$LDFLAGS"
2206 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
2207 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
2208 # check for ICE first), but we must link in the order -lSM -lICE or
2209 # we get undefined symbols. So assume we have SM if we have ICE.
2210 # These have to be linked with before -lX11, unlike the other
2211 # libraries we check for below, so use a different variable.
2212 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2213 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2214 echo "configure:2215: checking for IceConnectionNumber in -lICE" >&5
2215 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2216 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2217 echo $ac_n "(cached) $ac_c" 1>&6
2219 ac_save_LIBS
="$LIBS"
2221 cat > conftest.
$ac_ext <<EOF
2222 #line 2223 "configure"
2223 #include "confdefs.h"
2224 /* Override any gcc2 internal prototype to avoid an error. */
2225 /* We use char because int might match the return type of a gcc2
2226 builtin and then its argument prototype would still apply. */
2227 char IceConnectionNumber();
2230 IceConnectionNumber()
2233 if { (eval echo configure
:2234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2235 eval "ac_cv_lib_$ac_lib_var=yes"
2237 echo "configure: failed program was:" >&5
2238 cat conftest.
$ac_ext >&5
2240 eval "ac_cv_lib_$ac_lib_var=no"
2243 LIBS
="$ac_save_LIBS"
2246 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2247 echo "$ac_t""yes" 1>&6
2248 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
2250 echo "$ac_t""no" 1>&6
2253 LDFLAGS
="$ac_save_LDFLAGS"
2259 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
2261 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2262 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2263 echo "configure:2264: checking for $ac_hdr that defines DIR" >&5
2264 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2265 echo $ac_n "(cached) $ac_c" 1>&6
2267 cat > conftest.
$ac_ext <<EOF
2268 #line 2269 "configure"
2269 #include "confdefs.h"
2270 #include <sys/types.h>
2276 if { (eval echo configure
:2277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2278 eval "ac_cv_header_dirent_$ac_safe=yes"
2280 echo "configure: failed program was:" >&5
2281 cat conftest.
$ac_ext >&5
2283 eval "ac_cv_header_dirent_$ac_safe=no"
2287 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
2288 echo "$ac_t""yes" 1>&6
2289 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2290 cat >> confdefs.h
<<EOF
2291 #define $ac_tr_hdr 1
2293 ac_header_dirent
=$ac_hdr; break
2295 echo "$ac_t""no" 1>&6
2298 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2299 if test $ac_header_dirent = dirent.h
; then
2300 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2301 echo "configure:2302: checking for opendir in -ldir" >&5
2302 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2304 echo $ac_n "(cached) $ac_c" 1>&6
2306 ac_save_LIBS
="$LIBS"
2308 cat > conftest.
$ac_ext <<EOF
2309 #line 2310 "configure"
2310 #include "confdefs.h"
2311 /* Override any gcc2 internal prototype to avoid an error. */
2312 /* We use char because int might match the return type of a gcc2
2313 builtin and then its argument prototype would still apply. */
2320 if { (eval echo configure
:2321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2322 eval "ac_cv_lib_$ac_lib_var=yes"
2324 echo "configure: failed program was:" >&5
2325 cat conftest.
$ac_ext >&5
2327 eval "ac_cv_lib_$ac_lib_var=no"
2330 LIBS
="$ac_save_LIBS"
2333 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2334 echo "$ac_t""yes" 1>&6
2337 echo "$ac_t""no" 1>&6
2341 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2342 echo "configure:2343: checking for opendir in -lx" >&5
2343 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2344 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2345 echo $ac_n "(cached) $ac_c" 1>&6
2347 ac_save_LIBS
="$LIBS"
2349 cat > conftest.
$ac_ext <<EOF
2350 #line 2351 "configure"
2351 #include "confdefs.h"
2352 /* Override any gcc2 internal prototype to avoid an error. */
2353 /* We use char because int might match the return type of a gcc2
2354 builtin and then its argument prototype would still apply. */
2361 if { (eval echo configure
:2362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2363 eval "ac_cv_lib_$ac_lib_var=yes"
2365 echo "configure: failed program was:" >&5
2366 cat conftest.
$ac_ext >&5
2368 eval "ac_cv_lib_$ac_lib_var=no"
2371 LIBS
="$ac_save_LIBS"
2374 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2375 echo "$ac_t""yes" 1>&6
2378 echo "$ac_t""no" 1>&6
2383 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2384 echo "configure:2385: checking for ANSI C header files" >&5
2385 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2386 echo $ac_n "(cached) $ac_c" 1>&6
2388 cat > conftest.
$ac_ext <<EOF
2389 #line 2390 "configure"
2390 #include "confdefs.h"
2396 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2397 { (eval echo configure
:2398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2398 ac_err
=`grep -v '^ *+' conftest.out`
2399 if test -z "$ac_err"; then
2401 ac_cv_header_stdc
=yes
2404 echo "configure: failed program was:" >&5
2405 cat conftest.
$ac_ext >&5
2407 ac_cv_header_stdc
=no
2411 if test $ac_cv_header_stdc = yes; then
2412 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2413 cat > conftest.
$ac_ext <<EOF
2414 #line 2415 "configure"
2415 #include "confdefs.h"
2418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2419 egrep "memchr" >/dev
/null
2>&1; then
2423 ac_cv_header_stdc
=no
2429 if test $ac_cv_header_stdc = yes; then
2430 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2431 cat > conftest.
$ac_ext <<EOF
2432 #line 2433 "configure"
2433 #include "confdefs.h"
2436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2437 egrep "free" >/dev
/null
2>&1; then
2441 ac_cv_header_stdc
=no
2447 if test $ac_cv_header_stdc = yes; then
2448 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2449 if test "$cross_compiling" = yes; then
2452 cat > conftest.
$ac_ext <<EOF
2453 #line 2454 "configure"
2454 #include "confdefs.h"
2456 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2457 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2458 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2459 int main () { int i; for (i = 0; i < 256; i++)
2460 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2464 if { (eval echo configure
:2465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2468 echo "configure: failed program was:" >&5
2469 cat conftest.
$ac_ext >&5
2471 ac_cv_header_stdc
=no
2479 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2480 if test $ac_cv_header_stdc = yes; then
2481 cat >> confdefs.h
<<\EOF
2482 #define STDC_HEADERS 1
2487 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2488 echo "configure:2489: checking for sys/wait.h that is POSIX.1 compatible" >&5
2489 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2490 echo $ac_n "(cached) $ac_c" 1>&6
2492 cat > conftest.
$ac_ext <<EOF
2493 #line 2494 "configure"
2494 #include "confdefs.h"
2495 #include <sys/types.h>
2496 #include <sys/wait.h>
2498 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2501 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2506 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2509 if { (eval echo configure
:2510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2511 ac_cv_header_sys_wait_h
=yes
2513 echo "configure: failed program was:" >&5
2514 cat conftest.
$ac_ext >&5
2516 ac_cv_header_sys_wait_h
=no
2521 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2522 if test $ac_cv_header_sys_wait_h = yes; then
2523 cat >> confdefs.h
<<\EOF
2524 #define HAVE_SYS_WAIT_H 1
2529 for ac_hdr
in fcntl.h
2531 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2532 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2533 echo "configure:2534: checking for $ac_hdr" >&5
2534 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2535 echo $ac_n "(cached) $ac_c" 1>&6
2537 cat > conftest.
$ac_ext <<EOF
2538 #line 2539 "configure"
2539 #include "confdefs.h"
2542 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2543 { (eval echo configure
:2544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2544 ac_err
=`grep -v '^ *+' conftest.out`
2545 if test -z "$ac_err"; then
2547 eval "ac_cv_header_$ac_safe=yes"
2550 echo "configure: failed program was:" >&5
2551 cat conftest.
$ac_ext >&5
2553 eval "ac_cv_header_$ac_safe=no"
2557 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2558 echo "$ac_t""yes" 1>&6
2559 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2560 cat >> confdefs.h
<<EOF
2561 #define $ac_tr_hdr 1
2565 echo "$ac_t""no" 1>&6
2569 for ac_hdr
in limits.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 sys
/file.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
/time.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 unistd.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 fnmatch.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 linux
/joystick.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
2810 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
2811 GTK_JOYSTICK
="gtk/joystick.cpp"
2815 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
2816 echo "configure:2817: checking for vprintf" >&5
2817 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
2818 echo $ac_n "(cached) $ac_c" 1>&6
2820 cat > conftest.
$ac_ext <<EOF
2821 #line 2822 "configure"
2822 #include "confdefs.h"
2823 /* System header to define __stub macros and hopefully few prototypes,
2824 which can conflict with char vprintf(); below. */
2826 /* Override any gcc2 internal prototype to avoid an error. */
2827 /* We use char because int might match the return type of a gcc2
2828 builtin and then its argument prototype would still apply. */
2833 /* The GNU C library defines this for functions which it implements
2834 to always fail with ENOSYS. Some functions are actually named
2835 something starting with __ and the normal name is an alias. */
2836 #if defined (__stub_vprintf) || defined (__stub___vprintf)
2844 if { (eval echo configure
:2845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2846 eval "ac_cv_func_vprintf=yes"
2848 echo "configure: failed program was:" >&5
2849 cat conftest.
$ac_ext >&5
2851 eval "ac_cv_func_vprintf=no"
2856 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
2857 echo "$ac_t""yes" 1>&6
2858 cat >> confdefs.h
<<\EOF
2859 #define HAVE_VPRINTF 1
2863 echo "$ac_t""no" 1>&6
2866 if test "$ac_cv_func_vprintf" != yes; then
2867 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
2868 echo "configure:2869: checking for _doprnt" >&5
2869 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
2870 echo $ac_n "(cached) $ac_c" 1>&6
2872 cat > conftest.
$ac_ext <<EOF
2873 #line 2874 "configure"
2874 #include "confdefs.h"
2875 /* System header to define __stub macros and hopefully few prototypes,
2876 which can conflict with char _doprnt(); below. */
2878 /* Override any gcc2 internal prototype to avoid an error. */
2879 /* We use char because int might match the return type of a gcc2
2880 builtin and then its argument prototype would still apply. */
2885 /* The GNU C library defines this for functions which it implements
2886 to always fail with ENOSYS. Some functions are actually named
2887 something starting with __ and the normal name is an alias. */
2888 #if defined (__stub__doprnt) || defined (__stub____doprnt)
2896 if { (eval echo configure
:2897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2898 eval "ac_cv_func__doprnt=yes"
2900 echo "configure: failed program was:" >&5
2901 cat conftest.
$ac_ext >&5
2903 eval "ac_cv_func__doprnt=no"
2908 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
2909 echo "$ac_t""yes" 1>&6
2910 cat >> confdefs.h
<<\EOF
2911 #define HAVE_DOPRNT 1
2915 echo "$ac_t""no" 1>&6
2920 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
2921 echo "configure:2922: checking for vsnprintf" >&5
2922 if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
2923 echo $ac_n "(cached) $ac_c" 1>&6
2925 cat > conftest.
$ac_ext <<EOF
2926 #line 2927 "configure"
2927 #include "confdefs.h"
2928 /* System header to define __stub macros and hopefully few prototypes,
2929 which can conflict with char vsnprintf(); below. */
2931 /* Override any gcc2 internal prototype to avoid an error. */
2932 /* We use char because int might match the return type of a gcc2
2933 builtin and then its argument prototype would still apply. */
2938 /* The GNU C library defines this for functions which it implements
2939 to always fail with ENOSYS. Some functions are actually named
2940 something starting with __ and the normal name is an alias. */
2941 #if defined (__stub_vsnprintf) || defined (__stub___vsnprintf)
2949 if { (eval echo configure
:2950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2951 eval "ac_cv_func_vsnprintf=yes"
2953 echo "configure: failed program was:" >&5
2954 cat conftest.
$ac_ext >&5
2956 eval "ac_cv_func_vsnprintf=no"
2961 if eval "test \"`echo '$ac_cv_func_'vsnprintf`\" = yes"; then
2962 echo "$ac_t""yes" 1>&6
2965 echo "$ac_t""no" 1>&6
2971 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2972 ac_cpp
='$CXXCPP $CPPFLAGS'
2973 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2974 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2975 cross_compiling
=$ac_cv_prog_cxx_cross
2977 for ac_hdr
in iostream
2979 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2980 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2981 echo "configure:2982: checking for $ac_hdr" >&5
2982 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2983 echo $ac_n "(cached) $ac_c" 1>&6
2985 cat > conftest.
$ac_ext <<EOF
2986 #line 2987 "configure"
2987 #include "confdefs.h"
2990 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2991 { (eval echo configure
:2992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2992 ac_err
=`grep -v '^ *+' conftest.out`
2993 if test -z "$ac_err"; then
2995 eval "ac_cv_header_$ac_safe=yes"
2998 echo "configure: failed program was:" >&5
2999 cat conftest.
$ac_ext >&5
3001 eval "ac_cv_header_$ac_safe=no"
3005 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3006 echo "$ac_t""yes" 1>&6
3007 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3008 cat >> confdefs.h
<<EOF
3009 #define $ac_tr_hdr 1
3013 echo "$ac_t""no" 1>&6
3017 if test "x$HAVE_IOSTREAM" = "x" ; then
3018 cat >> confdefs.h
<<\EOF
3019 #define wxUSE_IOSTREAMH 1
3024 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3025 ac_cpp
='$CPP $CPPFLAGS'
3026 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3027 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3028 cross_compiling
=$ac_cv_prog_cc_cross
3031 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3032 echo "configure:3033: checking for uid_t in sys/types.h" >&5
3033 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3034 echo $ac_n "(cached) $ac_c" 1>&6
3036 cat > conftest.
$ac_ext <<EOF
3037 #line 3038 "configure"
3038 #include "confdefs.h"
3039 #include <sys/types.h>
3041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3042 egrep "uid_t" >/dev
/null
2>&1; then
3044 ac_cv_type_uid_t
=yes
3053 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3054 if test $ac_cv_type_uid_t = no
; then
3055 cat >> confdefs.h
<<\EOF
3059 cat >> confdefs.h
<<\EOF
3065 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
3066 echo "configure:3067: checking type of array argument to getgroups" >&5
3067 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
3068 echo $ac_n "(cached) $ac_c" 1>&6
3070 if test "$cross_compiling" = yes; then
3071 ac_cv_type_getgroups
=cross
3073 cat > conftest.
$ac_ext <<EOF
3074 #line 3075 "configure"
3075 #include "confdefs.h"
3077 /* Thanks to Mike Rendell for this test. */
3078 #include <sys/types.h>
3081 #define MAX(x, y) ((x) > (y) ? (x) : (y))
3086 union { gid_t gval; long lval; } val;
3089 for (i = 0; i < NGID; i++)
3090 gidset[i] = val.gval;
3091 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
3093 /* Exit non-zero if getgroups seems to require an array of ints. This
3094 happens when gid_t is short but getgroups modifies an array of ints. */
3095 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
3099 if { (eval echo configure
:3100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3101 ac_cv_type_getgroups
=gid_t
3103 echo "configure: failed program was:" >&5
3104 cat conftest.
$ac_ext >&5
3106 ac_cv_type_getgroups
=int
3111 if test $ac_cv_type_getgroups = cross
; then
3112 cat > conftest.
$ac_ext <<EOF
3113 #line 3114 "configure"
3114 #include "confdefs.h"
3117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3118 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
3120 ac_cv_type_getgroups
=gid_t
3123 ac_cv_type_getgroups
=int
3130 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
3131 cat >> confdefs.h
<<EOF
3132 #define GETGROUPS_T $ac_cv_type_getgroups
3136 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
3137 echo "configure:3138: checking for mode_t" >&5
3138 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
3139 echo $ac_n "(cached) $ac_c" 1>&6
3141 cat > conftest.
$ac_ext <<EOF
3142 #line 3143 "configure"
3143 #include "confdefs.h"
3144 #include <sys/types.h>
3150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3151 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3153 ac_cv_type_mode_t
=yes
3156 ac_cv_type_mode_t
=no
3161 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
3162 if test $ac_cv_type_mode_t = no
; then
3163 cat >> confdefs.h
<<\EOF
3169 echo $ac_n "checking for off_t""... $ac_c" 1>&6
3170 echo "configure:3171: checking for off_t" >&5
3171 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
3172 echo $ac_n "(cached) $ac_c" 1>&6
3174 cat > conftest.
$ac_ext <<EOF
3175 #line 3176 "configure"
3176 #include "confdefs.h"
3177 #include <sys/types.h>
3183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3184 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3186 ac_cv_type_off_t
=yes
3194 echo "$ac_t""$ac_cv_type_off_t" 1>&6
3195 if test $ac_cv_type_off_t = no
; then
3196 cat >> confdefs.h
<<\EOF
3202 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
3203 echo "configure:3204: checking for pid_t" >&5
3204 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
3205 echo $ac_n "(cached) $ac_c" 1>&6
3207 cat > conftest.
$ac_ext <<EOF
3208 #line 3209 "configure"
3209 #include "confdefs.h"
3210 #include <sys/types.h>
3216 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3217 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3219 ac_cv_type_pid_t
=yes
3227 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
3228 if test $ac_cv_type_pid_t = no
; then
3229 cat >> confdefs.h
<<\EOF
3235 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3236 echo "configure:3237: checking return type of signal handlers" >&5
3237 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
3238 echo $ac_n "(cached) $ac_c" 1>&6
3240 cat > conftest.
$ac_ext <<EOF
3241 #line 3242 "configure"
3242 #include "confdefs.h"
3243 #include <sys/types.h>
3249 extern "C" void (*signal (int, void (*)(int)))(int);
3251 void (*signal ()) ();
3258 if { (eval echo configure
:3259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3260 ac_cv_type_signal
=void
3262 echo "configure: failed program was:" >&5
3263 cat conftest.
$ac_ext >&5
3265 ac_cv_type_signal
=int
3270 echo "$ac_t""$ac_cv_type_signal" 1>&6
3271 cat >> confdefs.h
<<EOF
3272 #define RETSIGTYPE $ac_cv_type_signal
3276 echo $ac_n "checking for size_t""... $ac_c" 1>&6
3277 echo "configure:3278: checking for size_t" >&5
3278 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
3279 echo $ac_n "(cached) $ac_c" 1>&6
3281 cat > conftest.
$ac_ext <<EOF
3282 #line 3283 "configure"
3283 #include "confdefs.h"
3284 #include <sys/types.h>
3290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3291 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3293 ac_cv_type_size_t
=yes
3296 ac_cv_type_size_t
=no
3301 echo "$ac_t""$ac_cv_type_size_t" 1>&6
3302 if test $ac_cv_type_size_t = no
; then
3303 cat >> confdefs.h
<<\EOF
3304 #define size_t unsigned
3309 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3310 echo "configure:3311: checking for uid_t in sys/types.h" >&5
3311 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3312 echo $ac_n "(cached) $ac_c" 1>&6
3314 cat > conftest.
$ac_ext <<EOF
3315 #line 3316 "configure"
3316 #include "confdefs.h"
3317 #include <sys/types.h>
3319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3320 egrep "uid_t" >/dev
/null
2>&1; then
3322 ac_cv_type_uid_t
=yes
3331 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3332 if test $ac_cv_type_uid_t = no
; then
3333 cat >> confdefs.h
<<\EOF
3337 cat >> confdefs.h
<<\EOF
3345 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
3346 echo "configure:3347: checking whether stat file-mode macros are broken" >&5
3347 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
3348 echo $ac_n "(cached) $ac_c" 1>&6
3350 cat > conftest.
$ac_ext <<EOF
3351 #line 3352 "configure"
3352 #include "confdefs.h"
3353 #include <sys/types.h>
3354 #include <sys/stat.h>
3356 #if defined(S_ISBLK) && defined(S_IFDIR)
3357 # if S_ISBLK (S_IFDIR)
3362 #if defined(S_ISBLK) && defined(S_IFCHR)
3363 # if S_ISBLK (S_IFCHR)
3368 #if defined(S_ISLNK) && defined(S_IFREG)
3369 # if S_ISLNK (S_IFREG)
3374 #if defined(S_ISSOCK) && defined(S_IFREG)
3375 # if S_ISSOCK (S_IFREG)
3381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3382 egrep "You lose" >/dev
/null
2>&1; then
3384 ac_cv_header_stat_broken
=yes
3387 ac_cv_header_stat_broken
=no
3393 echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
3394 if test $ac_cv_header_stat_broken = yes; then
3395 cat >> confdefs.h
<<\EOF
3396 #define STAT_MACROS_BROKEN 1
3401 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3402 echo "configure:3403: checking whether time.h and sys/time.h may both be included" >&5
3403 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3404 echo $ac_n "(cached) $ac_c" 1>&6
3406 cat > conftest.
$ac_ext <<EOF
3407 #line 3408 "configure"
3408 #include "confdefs.h"
3409 #include <sys/types.h>
3410 #include <sys/time.h>
3416 if { (eval echo configure
:3417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3418 ac_cv_header_time
=yes
3420 echo "configure: failed program was:" >&5
3421 cat conftest.
$ac_ext >&5
3423 ac_cv_header_time
=no
3428 echo "$ac_t""$ac_cv_header_time" 1>&6
3429 if test $ac_cv_header_time = yes; then
3430 cat >> confdefs.h
<<\EOF
3431 #define TIME_WITH_SYS_TIME 1
3436 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
3437 echo "configure:3438: checking for st_blksize in struct stat" >&5
3438 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
3439 echo $ac_n "(cached) $ac_c" 1>&6
3441 cat > conftest.
$ac_ext <<EOF
3442 #line 3443 "configure"
3443 #include "confdefs.h"
3444 #include <sys/types.h>
3445 #include <sys/stat.h>
3447 struct stat s; s.st_blksize;
3450 if { (eval echo configure
:3451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3452 ac_cv_struct_st_blksize
=yes
3454 echo "configure: failed program was:" >&5
3455 cat conftest.
$ac_ext >&5
3457 ac_cv_struct_st_blksize
=no
3462 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
3463 if test $ac_cv_struct_st_blksize = yes; then
3464 cat >> confdefs.h
<<\EOF
3465 #define HAVE_ST_BLKSIZE 1
3470 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
3471 echo "configure:3472: checking for st_blocks in struct stat" >&5
3472 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
3473 echo $ac_n "(cached) $ac_c" 1>&6
3475 cat > conftest.
$ac_ext <<EOF
3476 #line 3477 "configure"
3477 #include "confdefs.h"
3478 #include <sys/types.h>
3479 #include <sys/stat.h>
3481 struct stat s; s.st_blocks;
3484 if { (eval echo configure
:3485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3486 ac_cv_struct_st_blocks
=yes
3488 echo "configure: failed program was:" >&5
3489 cat conftest.
$ac_ext >&5
3491 ac_cv_struct_st_blocks
=no
3496 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6
3497 if test $ac_cv_struct_st_blocks = yes; then
3498 cat >> confdefs.h
<<\EOF
3499 #define HAVE_ST_BLOCKS 1
3503 LIBOBJS
="$LIBOBJS fileblocks.o"
3506 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
3507 echo "configure:3508: checking for st_rdev in struct stat" >&5
3508 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
3509 echo $ac_n "(cached) $ac_c" 1>&6
3511 cat > conftest.
$ac_ext <<EOF
3512 #line 3513 "configure"
3513 #include "confdefs.h"
3514 #include <sys/types.h>
3515 #include <sys/stat.h>
3517 struct stat s; s.st_rdev;
3520 if { (eval echo configure
:3521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3522 ac_cv_struct_st_rdev
=yes
3524 echo "configure: failed program was:" >&5
3525 cat conftest.
$ac_ext >&5
3527 ac_cv_struct_st_rdev
=no
3532 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6
3533 if test $ac_cv_struct_st_rdev = yes; then
3534 cat >> confdefs.h
<<\EOF
3535 #define HAVE_ST_RDEV 1
3540 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3541 echo "configure:3542: checking whether struct tm is in sys/time.h or time.h" >&5
3542 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
3543 echo $ac_n "(cached) $ac_c" 1>&6
3545 cat > conftest.
$ac_ext <<EOF
3546 #line 3547 "configure"
3547 #include "confdefs.h"
3548 #include <sys/types.h>
3551 struct tm *tp; tp->tm_sec;
3554 if { (eval echo configure
:3555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3556 ac_cv_struct_tm
=time.h
3558 echo "configure: failed program was:" >&5
3559 cat conftest.
$ac_ext >&5
3561 ac_cv_struct_tm
=sys
/time.h
3566 echo "$ac_t""$ac_cv_struct_tm" 1>&6
3567 if test $ac_cv_struct_tm = sys
/time.h
; then
3568 cat >> confdefs.h
<<\EOF
3569 #define TM_IN_SYS_TIME 1
3574 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3575 echo "configure:3576: checking for tm_zone in struct tm" >&5
3576 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
3577 echo $ac_n "(cached) $ac_c" 1>&6
3579 cat > conftest.
$ac_ext <<EOF
3580 #line 3581 "configure"
3581 #include "confdefs.h"
3582 #include <sys/types.h>
3583 #include <$ac_cv_struct_tm>
3585 struct tm tm; tm.tm_zone;
3588 if { (eval echo configure
:3589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3590 ac_cv_struct_tm_zone
=yes
3592 echo "configure: failed program was:" >&5
3593 cat conftest.
$ac_ext >&5
3595 ac_cv_struct_tm_zone
=no
3600 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
3601 if test "$ac_cv_struct_tm_zone" = yes; then
3602 cat >> confdefs.h
<<\EOF
3603 #define HAVE_TM_ZONE 1
3607 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3608 echo "configure:3609: checking for tzname" >&5
3609 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
3610 echo $ac_n "(cached) $ac_c" 1>&6
3612 cat > conftest.
$ac_ext <<EOF
3613 #line 3614 "configure"
3614 #include "confdefs.h"
3616 #ifndef tzname /* For SGI. */
3617 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3623 if { (eval echo configure
:3624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3625 ac_cv_var_tzname
=yes
3627 echo "configure: failed program was:" >&5
3628 cat conftest.
$ac_ext >&5
3635 echo "$ac_t""$ac_cv_var_tzname" 1>&6
3636 if test $ac_cv_var_tzname = yes; then
3637 cat >> confdefs.h
<<\EOF
3638 #define HAVE_TZNAME 1
3646 echo $ac_n "checking for working const""... $ac_c" 1>&6
3647 echo "configure:3648: checking for working const" >&5
3648 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3649 echo $ac_n "(cached) $ac_c" 1>&6
3651 cat > conftest.
$ac_ext <<EOF
3652 #line 3653 "configure"
3653 #include "confdefs.h"
3657 /* Ultrix mips cc rejects this. */
3658 typedef int charset[2]; const charset x;
3659 /* SunOS 4.1.1 cc rejects this. */
3660 char const *const *ccp;
3662 /* NEC SVR4.0.2 mips cc rejects this. */
3663 struct point {int x, y;};
3664 static struct point const zero = {0,0};
3665 /* AIX XL C 1.02.0.0 rejects this.
3666 It does not let you subtract one const X* pointer from another in an arm
3667 of an if-expression whose if-part is not a constant expression */
3668 const char *g = "string";
3669 ccp = &g + (g ? g-g : 0);
3670 /* HPUX 7.0 cc rejects these. */
3673 ccp = (char const *const *) p;
3674 { /* SCO 3.2v4 cc rejects this. */
3676 char const *s = 0 ? (char *) 0 : (char const *) 0;
3680 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3682 const int *foo = &x[0];
3685 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3686 typedef const int *iptr;
3690 { /* AIX XL C 1.02.0.0 rejects this saying
3691 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3692 struct s { int j; const int *ap[3]; };
3693 struct s *b; b->j = 5;
3695 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3701 if { (eval echo configure
:3702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3705 echo "configure: failed program was:" >&5
3706 cat conftest.
$ac_ext >&5
3713 echo "$ac_t""$ac_cv_c_const" 1>&6
3714 if test $ac_cv_c_const = no
; then
3715 cat >> confdefs.h
<<\EOF
3721 echo $ac_n "checking for inline""... $ac_c" 1>&6
3722 echo "configure:3723: checking for inline" >&5
3723 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3724 echo $ac_n "(cached) $ac_c" 1>&6
3727 for ac_kw
in inline __inline__ __inline
; do
3728 cat > conftest.
$ac_ext <<EOF
3729 #line 3730 "configure"
3730 #include "confdefs.h"
3736 if { (eval echo configure
:3737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3738 ac_cv_c_inline
=$ac_kw; break
3740 echo "configure: failed program was:" >&5
3741 cat conftest.
$ac_ext >&5
3748 echo "$ac_t""$ac_cv_c_inline" 1>&6
3749 case "$ac_cv_c_inline" in
3751 no
) cat >> confdefs.h
<<\EOF
3755 *) cat >> confdefs.h
<<EOF
3756 #define inline $ac_cv_c_inline
3761 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
3762 echo "configure:3763: checking whether char is unsigned" >&5
3763 if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
3764 echo $ac_n "(cached) $ac_c" 1>&6
3766 if test "$GCC" = yes; then
3767 # GCC predefines this symbol on systems where it applies.
3768 cat > conftest.
$ac_ext <<EOF
3769 #line 3770 "configure"
3770 #include "confdefs.h"
3771 #ifdef __CHAR_UNSIGNED__
3776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3777 egrep "yes" >/dev
/null
2>&1; then
3779 ac_cv_c_char_unsigned
=yes
3782 ac_cv_c_char_unsigned
=no
3787 if test "$cross_compiling" = yes; then
3788 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3790 cat > conftest.
$ac_ext <<EOF
3791 #line 3792 "configure"
3792 #include "confdefs.h"
3793 /* volatile prevents gcc2 from optimizing the test away on sparcs. */
3794 #if !defined(__STDC__) || __STDC__ != 1
3798 volatile char c = 255; exit(c < 0);
3801 if { (eval echo configure
:3802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3803 ac_cv_c_char_unsigned
=yes
3805 echo "configure: failed program was:" >&5
3806 cat conftest.
$ac_ext >&5
3808 ac_cv_c_char_unsigned
=no
3816 echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
3817 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
3818 cat >> confdefs.h
<<\EOF
3819 #define __CHAR_UNSIGNED__ 1
3824 echo $ac_n "checking for long double""... $ac_c" 1>&6
3825 echo "configure:3826: checking for long double" >&5
3826 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
3827 echo $ac_n "(cached) $ac_c" 1>&6
3829 if test "$GCC" = yes; then
3830 ac_cv_c_long_double
=yes
3832 if test "$cross_compiling" = yes; then
3833 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3835 cat > conftest.
$ac_ext <<EOF
3836 #line 3837 "configure"
3837 #include "confdefs.h"
3839 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
3840 long double foo = 0.0;
3841 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
3842 exit(sizeof(long double) < sizeof(double)); }
3844 if { (eval echo configure
:3845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3846 ac_cv_c_long_double
=yes
3848 echo "configure: failed program was:" >&5
3849 cat conftest.
$ac_ext >&5
3851 ac_cv_c_long_double
=no
3859 echo "$ac_t""$ac_cv_c_long_double" 1>&6
3860 if test $ac_cv_c_long_double = yes; then
3861 cat >> confdefs.h
<<\EOF
3862 #define HAVE_LONG_DOUBLE 1
3868 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3869 echo "configure:3870: checking whether byte ordering is bigendian" >&5
3870 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
3871 echo $ac_n "(cached) $ac_c" 1>&6
3873 ac_cv_c_bigendian
=unknown
3874 # See if sys/param.h defines the BYTE_ORDER macro.
3875 cat > conftest.
$ac_ext <<EOF
3876 #line 3877 "configure"
3877 #include "confdefs.h"
3878 #include <sys/types.h>
3879 #include <sys/param.h>
3882 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3887 if { (eval echo configure
:3888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3889 # It does; now see whether it defined to BIG_ENDIAN or not.
3890 cat > conftest.
$ac_ext <<EOF
3891 #line 3892 "configure"
3892 #include "confdefs.h"
3893 #include <sys/types.h>
3894 #include <sys/param.h>
3897 #if BYTE_ORDER != BIG_ENDIAN
3902 if { (eval echo configure
:3903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3904 ac_cv_c_bigendian
=yes
3906 echo "configure: failed program was:" >&5
3907 cat conftest.
$ac_ext >&5
3909 ac_cv_c_bigendian
=no
3913 echo "configure: failed program was:" >&5
3914 cat conftest.
$ac_ext >&5
3917 if test $ac_cv_c_bigendian = unknown
; then
3918 if test "$cross_compiling" = yes; then
3919 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3921 cat > conftest.
$ac_ext <<EOF
3922 #line 3923 "configure"
3923 #include "confdefs.h"
3925 /* Are we little or big endian? From Harbison&Steele. */
3929 char c[sizeof (long)];
3932 exit (u.c[sizeof (long) - 1] == 1);
3935 if { (eval echo configure
:3936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3937 ac_cv_c_bigendian
=no
3939 echo "configure: failed program was:" >&5
3940 cat conftest.
$ac_ext >&5
3942 ac_cv_c_bigendian
=yes
3950 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
3951 if test $ac_cv_c_bigendian = yes; then
3952 cat >> confdefs.h
<<\EOF
3953 #define WORDS_BIGENDIAN 1
3959 echo $ac_n "checking size of int *""... $ac_c" 1>&6
3960 echo "configure:3961: checking size of int *" >&5
3961 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
3962 echo $ac_n "(cached) $ac_c" 1>&6
3964 if test "$cross_compiling" = yes; then
3965 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3967 cat > conftest.
$ac_ext <<EOF
3968 #line 3969 "configure"
3969 #include "confdefs.h"
3973 FILE *f=fopen("conftestval", "w");
3975 fprintf(f, "%d\n", sizeof(int *));
3979 if { (eval echo configure
:3980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3981 ac_cv_sizeof_int_p
=`cat conftestval`
3983 echo "configure: failed program was:" >&5
3984 cat conftest.
$ac_ext >&5
3986 ac_cv_sizeof_int_p
=0
3992 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
3993 cat >> confdefs.h
<<EOF
3994 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
3998 echo $ac_n "checking size of int""... $ac_c" 1>&6
3999 echo "configure:4000: checking size of int" >&5
4000 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
4001 echo $ac_n "(cached) $ac_c" 1>&6
4003 if test "$cross_compiling" = yes; then
4004 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4006 cat > conftest.
$ac_ext <<EOF
4007 #line 4008 "configure"
4008 #include "confdefs.h"
4012 FILE *f=fopen("conftestval", "w");
4014 fprintf(f, "%d\n", sizeof(int));
4018 if { (eval echo configure
:4019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4020 ac_cv_sizeof_int
=`cat conftestval`
4022 echo "configure: failed program was:" >&5
4023 cat conftest.
$ac_ext >&5
4031 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
4032 cat >> confdefs.h
<<EOF
4033 #define SIZEOF_INT $ac_cv_sizeof_int
4037 echo $ac_n "checking size of long""... $ac_c" 1>&6
4038 echo "configure:4039: checking size of long" >&5
4039 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
4040 echo $ac_n "(cached) $ac_c" 1>&6
4042 if test "$cross_compiling" = yes; then
4043 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4045 cat > conftest.
$ac_ext <<EOF
4046 #line 4047 "configure"
4047 #include "confdefs.h"
4051 FILE *f=fopen("conftestval", "w");
4053 fprintf(f, "%d\n", sizeof(long));
4057 if { (eval echo configure
:4058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4059 ac_cv_sizeof_long
=`cat conftestval`
4061 echo "configure: failed program was:" >&5
4062 cat conftest.
$ac_ext >&5
4070 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
4071 cat >> confdefs.h
<<EOF
4072 #define SIZEOF_LONG $ac_cv_sizeof_long
4080 echo $ac_n "checking for long file names""... $ac_c" 1>&6
4081 echo "configure:4082: checking for long file names" >&5
4082 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
4083 echo $ac_n "(cached) $ac_c" 1>&6
4085 ac_cv_sys_long_file_names
=yes
4086 # Test for long file names in all the places we know might matter:
4087 # . the current directory, where building will happen
4088 # $prefix/lib where we will be installing things
4089 # $exec_prefix/lib likewise
4090 # eval it to expand exec_prefix.
4091 # $TMPDIR if set, where it might want to write temporary files
4092 # if $TMPDIR is not set:
4093 # /tmp where it might want to write temporary files
4096 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
4097 ac_tmpdirs
="$TMPDIR"
4099 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
4101 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
4102 test -d $ac_dir || continue
4103 test -w $ac_dir || continue # It is less confusing to not echo anything here.
4104 (echo 1 > $ac_dir/conftest9012345
) 2>/dev
/null
4105 (echo 2 > $ac_dir/conftest9012346
) 2>/dev
/null
4106 val
=`cat $ac_dir/conftest9012345 2>/dev/null`
4107 if test ! -f $ac_dir/conftest9012345
|| test "$val" != 1; then
4108 ac_cv_sys_long_file_names
=no
4109 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4112 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4116 echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6
4117 if test $ac_cv_sys_long_file_names = yes; then
4118 cat >> confdefs.h
<<\EOF
4119 #define HAVE_LONG_FILE_NAMES 1
4127 for ac_prog
in 'bison -y' byacc
4129 # Extract the first word of "$ac_prog", so it can be a program name with args.
4130 set dummy
$ac_prog; ac_word
=$2
4131 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4132 echo "configure:4133: checking for $ac_word" >&5
4133 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
4134 echo $ac_n "(cached) $ac_c" 1>&6
4136 if test -n "$YACC"; then
4137 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4139 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4140 for ac_dir
in $PATH; do
4141 test -z "$ac_dir" && ac_dir
=.
4142 if test -f $ac_dir/$ac_word; then
4143 ac_cv_prog_YACC
="$ac_prog"
4150 YACC
="$ac_cv_prog_YACC"
4151 if test -n "$YACC"; then
4152 echo "$ac_t""$YACC" 1>&6
4154 echo "$ac_t""no" 1>&6
4157 test -n "$YACC" && break
4159 test -n "$YACC" || YACC
="yacc"
4162 # Extract the first word of "flex", so it can be a program name with args.
4163 set dummy flex
; ac_word
=$2
4164 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4165 echo "configure:4166: checking for $ac_word" >&5
4166 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
4167 echo $ac_n "(cached) $ac_c" 1>&6
4169 if test -n "$LEX"; then
4170 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4172 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4173 for ac_dir
in $PATH; do
4174 test -z "$ac_dir" && ac_dir
=.
4175 if test -f $ac_dir/$ac_word; then
4176 ac_cv_prog_LEX
="flex"
4181 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
4184 LEX
="$ac_cv_prog_LEX"
4185 if test -n "$LEX"; then
4186 echo "$ac_t""$LEX" 1>&6
4188 echo "$ac_t""no" 1>&6
4191 if test -z "$LEXLIB"
4197 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
4198 echo "configure:4199: checking for yywrap in -l$ac_lib" >&5
4199 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
4200 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4201 echo $ac_n "(cached) $ac_c" 1>&6
4203 ac_save_LIBS
="$LIBS"
4204 LIBS
="-l$ac_lib $LIBS"
4205 cat > conftest.
$ac_ext <<EOF
4206 #line 4207 "configure"
4207 #include "confdefs.h"
4208 /* Override any gcc2 internal prototype to avoid an error. */
4209 /* We use char because int might match the return type of a gcc2
4210 builtin and then its argument prototype would still apply. */
4217 if { (eval echo configure
:4218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4219 eval "ac_cv_lib_$ac_lib_var=yes"
4221 echo "configure: failed program was:" >&5
4222 cat conftest.
$ac_ext >&5
4224 eval "ac_cv_lib_$ac_lib_var=no"
4227 LIBS
="$ac_save_LIBS"
4230 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4231 echo "$ac_t""yes" 1>&6
4234 echo "$ac_t""no" 1>&6
4239 echo $ac_n "checking lex output file root""... $ac_c" 1>&6
4240 echo "configure:4241: checking lex output file root" >&5
4241 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
4242 echo $ac_n "(cached) $ac_c" 1>&6
4244 # The minimal lex program is just a single line: %%. But some broken lexes
4245 # (Solaris, I think it was) want two %% lines, so accommodate them.
4248 if test -f lex.yy.c
; then
4249 ac_cv_prog_lex_root
=lex.yy
4250 elif test -f lexyy.c
; then
4251 ac_cv_prog_lex_root
=lexyy
4253 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
4257 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
4258 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4260 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
4261 echo "configure:4262: checking whether yytext is a pointer" >&5
4262 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
4263 echo $ac_n "(cached) $ac_c" 1>&6
4265 # POSIX says lex can declare yytext either as a pointer or an array; the
4266 # default is implementation-dependent. Figure out which it is, since
4267 # not all implementations provide the %pointer and %array declarations.
4268 ac_cv_prog_lex_yytext_pointer
=no
4269 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4270 ac_save_LIBS
="$LIBS"
4271 LIBS
="$LIBS $LEXLIB"
4272 cat > conftest.
$ac_ext <<EOF
4273 #line 4274 "configure"
4274 #include "confdefs.h"
4275 `cat $LEX_OUTPUT_ROOT.c`
4280 if { (eval echo configure
:4281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4282 ac_cv_prog_lex_yytext_pointer
=yes
4284 echo "configure: failed program was:" >&5
4285 cat conftest.
$ac_ext >&5
4288 LIBS
="$ac_save_LIBS"
4289 rm -f "${LEX_OUTPUT_ROOT}.c"
4293 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
4294 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4295 cat >> confdefs.h
<<\EOF
4296 #define YYTEXT_POINTER 1
4304 for ac_func
in dlopen
4306 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4307 echo "configure:4308: checking for $ac_func" >&5
4308 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4309 echo $ac_n "(cached) $ac_c" 1>&6
4311 cat > conftest.
$ac_ext <<EOF
4312 #line 4313 "configure"
4313 #include "confdefs.h"
4314 /* System header to define __stub macros and hopefully few prototypes,
4315 which can conflict with char $ac_func(); below. */
4317 /* Override any gcc2 internal prototype to avoid an error. */
4318 /* We use char because int might match the return type of a gcc2
4319 builtin and then its argument prototype would still apply. */
4324 /* The GNU C library defines this for functions which it implements
4325 to always fail with ENOSYS. Some functions are actually named
4326 something starting with __ and the normal name is an alias. */
4327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4335 if { (eval echo configure
:4336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4337 eval "ac_cv_func_$ac_func=yes"
4339 echo "configure: failed program was:" >&5
4340 cat conftest.
$ac_ext >&5
4342 eval "ac_cv_func_$ac_func=no"
4347 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4348 echo "$ac_t""yes" 1>&6
4349 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4350 cat >> confdefs.h
<<EOF
4351 #define $ac_tr_func 1
4353 cat >> confdefs.h
<<\EOF
4354 #define HAVE_LIBDL 1
4358 echo "$ac_t""no" 1>&6
4359 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
4360 echo "configure:4361: checking for dlopen in -ldl" >&5
4361 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
4362 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4363 echo $ac_n "(cached) $ac_c" 1>&6
4365 ac_save_LIBS
="$LIBS"
4367 cat > conftest.
$ac_ext <<EOF
4368 #line 4369 "configure"
4369 #include "confdefs.h"
4370 /* Override any gcc2 internal prototype to avoid an error. */
4371 /* We use char because int might match the return type of a gcc2
4372 builtin and then its argument prototype would still apply. */
4379 if { (eval echo configure
:4380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4381 eval "ac_cv_lib_$ac_lib_var=yes"
4383 echo "configure: failed program was:" >&5
4384 cat conftest.
$ac_ext >&5
4386 eval "ac_cv_lib_$ac_lib_var=no"
4389 LIBS
="$ac_save_LIBS"
4392 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4393 echo "$ac_t""yes" 1>&6
4394 cat >> confdefs.h
<<\EOF
4395 #define HAVE_LIBDL 1
4399 echo "$ac_t""no" 1>&6
4400 echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6
4401 echo "configure:4402: checking for dld_link in -ldld" >&5
4402 ac_lib_var
=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`
4403 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4404 echo $ac_n "(cached) $ac_c" 1>&6
4406 ac_save_LIBS
="$LIBS"
4408 cat > conftest.
$ac_ext <<EOF
4409 #line 4410 "configure"
4410 #include "confdefs.h"
4411 /* Override any gcc2 internal prototype to avoid an error. */
4412 /* We use char because int might match the return type of a gcc2
4413 builtin and then its argument prototype would still apply. */
4420 if { (eval echo configure
:4421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4422 eval "ac_cv_lib_$ac_lib_var=yes"
4424 echo "configure: failed program was:" >&5
4425 cat conftest.
$ac_ext >&5
4427 eval "ac_cv_lib_$ac_lib_var=no"
4430 LIBS
="$ac_save_LIBS"
4433 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4434 echo "$ac_t""yes" 1>&6
4435 cat >> confdefs.h
<<\EOF
4440 echo "$ac_t""no" 1>&6
4441 for ac_func
in shl_load
4443 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4444 echo "configure:4445: checking for $ac_func" >&5
4445 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4446 echo $ac_n "(cached) $ac_c" 1>&6
4448 cat > conftest.
$ac_ext <<EOF
4449 #line 4450 "configure"
4450 #include "confdefs.h"
4451 /* System header to define __stub macros and hopefully few prototypes,
4452 which can conflict with char $ac_func(); below. */
4454 /* Override any gcc2 internal prototype to avoid an error. */
4455 /* We use char because int might match the return type of a gcc2
4456 builtin and then its argument prototype would still apply. */
4461 /* The GNU C library defines this for functions which it implements
4462 to always fail with ENOSYS. Some functions are actually named
4463 something starting with __ and the normal name is an alias. */
4464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4472 if { (eval echo configure
:4473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4474 eval "ac_cv_func_$ac_func=yes"
4476 echo "configure: failed program was:" >&5
4477 cat conftest.
$ac_ext >&5
4479 eval "ac_cv_func_$ac_func=no"
4484 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4485 echo "$ac_t""yes" 1>&6
4486 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4487 cat >> confdefs.h
<<EOF
4488 #define $ac_tr_func 1
4490 cat >> confdefs.h
<<\EOF
4491 #define HAVE_SHL_LOAD 1
4495 echo "$ac_t""no" 1>&6
4511 echo $ac_n "checking for underscore before symbols""... $ac_c" 1>&6
4512 echo "configure:4513: checking for underscore before symbols" >&5
4513 if eval "test \"`echo '$''{'libltdl_cv_uscore'+set}'`\" = set"; then
4514 echo $ac_n "(cached) $ac_c" 1>&6
4517 echo "main(){int i=1;} fnord(){int i=23; int ltuae=42;}" > conftest.c
4518 ${CC} -c conftest.c
> /dev
/null
4519 if (nm conftest.o
| grep _fnord
) > /dev
/null
; then
4520 libltdl_cv_uscore
=yes
4522 libltdl_cv_uscore
=no
4528 echo "$ac_t""$libltdl_cv_uscore" 1>&6
4530 if test x
"$libltdl_cv_uscore" = xyes
; then
4531 if test x
"$ac_cv_func_dlopen" = xyes
||
4532 test x
"$ac_cv_lib_dl_dlopen" = xyes
; then
4533 echo $ac_n "checking whether we have to add an underscore for dlsym""... $ac_c" 1>&6
4534 echo "configure:4535: checking whether we have to add an underscore for dlsym" >&5
4535 if eval "test \"`echo '$''{'libltdl_cv_need_uscore'+set}'`\" = set"; then
4536 echo $ac_n "(cached) $ac_c" 1>&6
4538 if test "$cross_compiling" = yes; then
4539 libltdl_cv_need_uscore
=no
4542 cat > conftest.
$ac_ext <<EOF
4543 #line 4544 "configure"
4544 #include "confdefs.h"
4548 fnord() { int i=42;}
4549 main() { void *self, *ptr1, *ptr2; self=dlopen(NULL,RTLD_LAZY);
4550 if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
4551 if(ptr1 && !ptr2) exit(0); } exit(1); }
4554 if { (eval echo configure
:4555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4556 libltdl_cv_need_uscore
=no
4558 echo "configure: failed program was:" >&5
4559 cat conftest.
$ac_ext >&5
4561 libltdl_cv_need_uscore
=yes
4568 echo "$ac_t""$libltdl_cv_need_uscore" 1>&6
4572 if test x
"$libltdl_cv_need_uscore" = xyes
; then
4573 cat >> confdefs.h
<<\EOF
4574 #define NEED_USCORE 1
4580 for ac_func
in strerror
4582 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4583 echo "configure:4584: checking for $ac_func" >&5
4584 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4585 echo $ac_n "(cached) $ac_c" 1>&6
4587 cat > conftest.
$ac_ext <<EOF
4588 #line 4589 "configure"
4589 #include "confdefs.h"
4590 /* System header to define __stub macros and hopefully few prototypes,
4591 which can conflict with char $ac_func(); below. */
4593 /* Override any gcc2 internal prototype to avoid an error. */
4594 /* We use char because int might match the return type of a gcc2
4595 builtin and then its argument prototype would still apply. */
4600 /* The GNU C library defines this for functions which it implements
4601 to always fail with ENOSYS. Some functions are actually named
4602 something starting with __ and the normal name is an alias. */
4603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4611 if { (eval echo configure
:4612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4613 eval "ac_cv_func_$ac_func=yes"
4615 echo "configure: failed program was:" >&5
4616 cat conftest.
$ac_ext >&5
4618 eval "ac_cv_func_$ac_func=no"
4623 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4624 echo "$ac_t""yes" 1>&6
4625 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4626 cat >> confdefs.h
<<EOF
4627 #define $ac_tr_func 1
4631 echo "$ac_t""no" 1>&6
4637 CHECK_INCLUDE
="-I/usr/include $X_CFLAGS"
4638 CHECK_LIB
="-L/lib -L/usr/lib $X_LIBS"
4642 # Make sure we can run config.sub.
4643 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
4644 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
4647 echo $ac_n "checking host system type""... $ac_c" 1>&6
4648 echo "configure:4649: checking host system type" >&5
4651 case "$host_alias" in
4655 if host_alias
=`$ac_config_guess`; then :
4656 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
4658 *) host_alias
=$nonopt ;;
4662 host=`$ac_config_sub $host_alias`
4663 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4664 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4665 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4666 echo "$ac_t""$host" 1>&6
4669 configuration
=$host_alias
4691 cat >> confdefs.h
<<\EOF
4695 case "${canonical}" in
4698 cat >> confdefs.h
<<\EOF
4705 cat >> confdefs.h
<<\EOF
4710 if test "x$TMP" = "xalpha"
4713 cat >> confdefs.h
<<\EOF
4719 *-*-irix5* | *-*-irix6* )
4722 cat >> confdefs.h
<<\EOF
4726 cat >> confdefs.h
<<\EOF
4735 cat >> confdefs.h
<<\EOF
4739 cat >> confdefs.h
<<\EOF
4740 #define __SOLARIS__ 1
4743 cat >> confdefs.h
<<\EOF
4752 cat >> confdefs.h
<<\EOF
4756 cat >> confdefs.h
<<\EOF
4760 cat >> confdefs.h
<<\EOF
4765 *-*-freebsd* | *-*-netbsd*)
4768 cat >> confdefs.h
<<\EOF
4769 #define __FREEBSD__ 1
4772 cat >> confdefs.h
<<\EOF
4780 cat >> confdefs.h
<<\EOF
4784 cat >> confdefs.h
<<\EOF
4792 cat >> confdefs.h
<<\EOF
4796 cat >> confdefs.h
<<\EOF
4804 cat >> confdefs.h
<<\EOF
4808 cat >> confdefs.h
<<\EOF
4817 cat >> confdefs.h
<<\EOF
4821 cat >> confdefs.h
<<\EOF
4825 cat >> confdefs.h
<<\EOF
4831 { echo "configure: error: I don't know your system type." 1>&2; exit 1; }
4836 rm -f ${OSTYPE}.system.cache.tmp
4837 touch ${OSTYPE}.system.cache.tmp
4838 touch ${OSTYPE}.system.cache
4843 DEFAULT_wxUSE_MOTIF
=0
4845 DEFAULT_wxUSE_THREADS
=0
4847 DEFAULT_wxUSE_SHARED
=1
4848 DEFAULT_wxUSE_OPTIMISE
=1
4849 DEFAULT_wxUSE_PROFILE
=0
4850 DEFAULT_wxUSE_DEBUG_FLAG
=0
4851 DEFAULT_wxUSE_DEBUG_INFO
=0
4852 DEFAULT_wxUSE_MEM_TRACING
=0
4853 DEFAULT_wxUSE_DMALLOC
=0
4854 DEFAULT_wxUSE_APPLE_IEEE
=1
4855 DEFAULT_wxUSE_IOSTREAMH
=1
4857 DEFAULT_wxUSE_ZLIB
=1
4858 DEFAULT_wxUSE_LIBPNG
=1
4859 DEFAULT_wxUSE_LIBJPEG
=0
4860 DEFAULT_wxUSE_ODBC
=1
4862 DEFAULT_wxUSE_TIMEDATE
=1
4863 DEFAULT_wxUSE_INTL
=1
4864 DEFAULT_wxUSE_CONFIG
=1
4865 DEFAULT_wxUSE_STREAMS
=1
4866 DEFAULT_wxUSE_SERIAL
=1
4868 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=1
4869 DEFAULT_WX_NORMALIZED_PS_FONTS
=1
4870 DEFAULT_wxUSE_POSTSCRIPT
=1
4873 DEFAULT_wxUSE_RESOURCES
=1
4874 DEFAULT_wxUSE_CLIPBOARD
=1
4875 DEFAULT_wxUSE_TOOLTIPS
=1
4876 DEFAULT_wxUSE_DRAG_AND_DROP
=1
4878 DEFAULT_wxUSE_MDI_ARCHITECTURE
=1
4879 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=1
4880 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=1
4882 DEFAULT_wxUSE_PROLOGIO
=1
4883 DEFAULT_wxUSE_WX_RESOURCES
=1
4885 DEFAULT_wxUSE_HELP
=1
4887 DEFAULT_wxUSE_UNICODE
=1
4888 DEFAULT_wxUSE_WCSRTOMBS
=0
4892 echo $ac_n "checking "for gtk
"""... $ac_c" 1>&6
4893 echo "configure:4894: checking "for gtk
"" >&5
4894 # Check whether --with-gtk or --without-gtk was given.
4895 if test "${with_gtk+set}" = set; then
4897 if test "x$with_gtk" = xyes
; then
4898 ac_cv_use_gtk
='wxUSE_GTK="1"'
4900 ac_cv_use_gtk
='wxUSE_GTK="0"'
4904 LINE
=`grep "wxUSE_GTK" ${OSTYPE}.system.cache`
4905 if test "x$LINE" != x
; then
4906 eval "DEFAULT_$LINE"
4908 ac_cv_use_gtk
='wxUSE_GTK='$DEFAULT_wxUSE_GTK
4912 eval "$ac_cv_use_gtk"
4913 echo $ac_cv_use_gtk >> ${OSTYPE}.system.cache.tmp
4914 if test "$wxUSE_GTK" = 1; then
4915 echo "$ac_t""yes" 1>&6
4917 echo "$ac_t""no" 1>&6
4922 echo $ac_n "checking "for qt
"""... $ac_c" 1>&6
4923 echo "configure:4924: checking "for qt
"" >&5
4924 # Check whether --with-qt or --without-qt was given.
4925 if test "${with_qt+set}" = set; then
4927 if test "x$with_qt" = xyes
; then
4928 ac_cv_use_qt
='wxUSE_QT="1"'
4930 ac_cv_use_qt
='wxUSE_QT="0"'
4934 LINE
=`grep "wxUSE_QT" ${OSTYPE}.system.cache`
4935 if test "x$LINE" != x
; then
4936 eval "DEFAULT_$LINE"
4938 ac_cv_use_qt
='wxUSE_QT='$DEFAULT_wxUSE_QT
4942 eval "$ac_cv_use_qt"
4943 echo $ac_cv_use_qt >> ${OSTYPE}.system.cache.tmp
4944 if test "$wxUSE_QT" = 1; then
4945 echo "$ac_t""yes" 1>&6
4947 echo "$ac_t""no" 1>&6
4952 echo $ac_n "checking "for motif
"""... $ac_c" 1>&6
4953 echo "configure:4954: checking "for motif
"" >&5
4954 # Check whether --with-motif or --without-motif was given.
4955 if test "${with_motif+set}" = set; then
4956 withval
="$with_motif"
4957 if test "x$with_motif" = xyes
; then
4958 ac_cv_use_motif
='wxUSE_MOTIF="1"'
4960 ac_cv_use_motif
='wxUSE_MOTIF="0"'
4964 LINE
=`grep "wxUSE_MOTIF" ${OSTYPE}.system.cache`
4965 if test "x$LINE" != x
; then
4966 eval "DEFAULT_$LINE"
4968 ac_cv_use_motif
='wxUSE_MOTIF='$DEFAULT_wxUSE_MOTIF
4972 eval "$ac_cv_use_motif"
4973 echo $ac_cv_use_motif >> ${OSTYPE}.system.cache.tmp
4974 if test "$wxUSE_MOTIF" = 1; then
4975 echo "$ac_t""yes" 1>&6
4977 echo "$ac_t""no" 1>&6
4983 echo $ac_n "checking "for shared
"""... $ac_c" 1>&6
4984 echo "configure:4985: checking "for shared
"" >&5
4985 # Check whether --with-shared or --without-shared was given.
4986 if test "${with_shared+set}" = set; then
4987 withval
="$with_shared"
4988 if test "x$with_shared" = xyes
; then
4989 ac_cv_use_shared
='wxUSE_SHARED="1"'
4991 ac_cv_use_shared
='wxUSE_SHARED="0"'
4995 LINE
=`grep "wxUSE_SHARED" ${OSTYPE}.system.cache`
4996 if test "x$LINE" != x
; then
4997 eval "DEFAULT_$LINE"
4999 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
5003 eval "$ac_cv_use_shared"
5004 echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp
5005 if test "$wxUSE_SHARED" = 1; then
5006 echo "$ac_t""yes" 1>&6
5008 echo "$ac_t""no" 1>&6
5013 echo $ac_n "checking "for optimise
"""... $ac_c" 1>&6
5014 echo "configure:5015: checking "for optimise
"" >&5
5015 # Check whether --with-optimise or --without-optimise was given.
5016 if test "${with_optimise+set}" = set; then
5017 withval
="$with_optimise"
5018 if test "x$with_optimise" = xyes
; then
5019 ac_cv_use_optimise
='wxUSE_OPTIMISE="1"'
5021 ac_cv_use_optimise
='wxUSE_OPTIMISE="0"'
5025 LINE
=`grep "wxUSE_OPTIMISE" ${OSTYPE}.system.cache`
5026 if test "x$LINE" != x
; then
5027 eval "DEFAULT_$LINE"
5029 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
5033 eval "$ac_cv_use_optimise"
5034 echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp
5035 if test "$wxUSE_OPTIMISE" = 1; then
5036 echo "$ac_t""yes" 1>&6
5038 echo "$ac_t""no" 1>&6
5043 echo $ac_n "checking "for debug_flag
"""... $ac_c" 1>&6
5044 echo "configure:5045: checking "for debug_flag
"" >&5
5045 # Check whether --with-debug_flag or --without-debug_flag was given.
5046 if test "${with_debug_flag+set}" = set; then
5047 withval
="$with_debug_flag"
5048 if test "x$with_debug_flag" = xyes
; then
5049 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="1"'
5051 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="0"'
5055 LINE
=`grep "wxUSE_DEBUG_FLAG" ${OSTYPE}.system.cache`
5056 if test "x$LINE" != x
; then
5057 eval "DEFAULT_$LINE"
5059 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
5063 eval "$ac_cv_use_debug_flag"
5064 echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp
5065 if test "$wxUSE_DEBUG_FLAG" = 1; then
5066 echo "$ac_t""yes" 1>&6
5068 echo "$ac_t""no" 1>&6
5073 echo $ac_n "checking "for debug_info
"""... $ac_c" 1>&6
5074 echo "configure:5075: checking "for debug_info
"" >&5
5075 # Check whether --with-debug_info or --without-debug_info was given.
5076 if test "${with_debug_info+set}" = set; then
5077 withval
="$with_debug_info"
5078 if test "x$with_debug_info" = xyes
; then
5079 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="1"'
5081 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="0"'
5085 LINE
=`grep "wxUSE_DEBUG_INFO" ${OSTYPE}.system.cache`
5086 if test "x$LINE" != x
; then
5087 eval "DEFAULT_$LINE"
5089 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
5093 eval "$ac_cv_use_debug_info"
5094 echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp
5095 if test "$wxUSE_DEBUG_INFO" = 1; then
5096 echo "$ac_t""yes" 1>&6
5098 echo "$ac_t""no" 1>&6
5103 echo $ac_n "checking "for debug_gdb
"""... $ac_c" 1>&6
5104 echo "configure:5105: checking "for debug_gdb
"" >&5
5105 # Check whether --with-debug_gdb or --without-debug_gdb was given.
5106 if test "${with_debug_gdb+set}" = set; then
5107 withval
="$with_debug_gdb"
5108 if test "x$with_debug_gdb" = xyes
; then
5109 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB="1"'
5111 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB="0"'
5115 LINE
=`grep "wxUSE_DEBUG_GDB" ${OSTYPE}.system.cache`
5116 if test "x$LINE" != x
; then
5117 eval "DEFAULT_$LINE"
5119 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
5123 eval "$ac_cv_use_debug_gdb"
5124 echo $ac_cv_use_debug_gdb >> ${OSTYPE}.system.cache.tmp
5125 if test "$wxUSE_DEBUG_GDB" = 1; then
5126 echo "$ac_t""yes" 1>&6
5128 echo "$ac_t""no" 1>&6
5133 echo $ac_n "checking "for mem_tracing
"""... $ac_c" 1>&6
5134 echo "configure:5135: checking "for mem_tracing
"" >&5
5135 # Check whether --with-mem_tracing or --without-mem_tracing was given.
5136 if test "${with_mem_tracing+set}" = set; then
5137 withval
="$with_mem_tracing"
5138 if test "x$with_mem_tracing" = xyes
; then
5139 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="1"'
5141 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="0"'
5145 LINE
=`grep "wxUSE_MEM_TRACING" ${OSTYPE}.system.cache`
5146 if test "x$LINE" != x
; then
5147 eval "DEFAULT_$LINE"
5149 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
5153 eval "$ac_cv_use_mem_tracing"
5154 echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
5155 if test "$wxUSE_MEM_TRACING" = 1; then
5156 echo "$ac_t""yes" 1>&6
5158 echo "$ac_t""no" 1>&6
5163 echo $ac_n "checking "for dmalloc
"""... $ac_c" 1>&6
5164 echo "configure:5165: checking "for dmalloc
"" >&5
5165 # Check whether --with-dmalloc or --without-dmalloc was given.
5166 if test "${with_dmalloc+set}" = set; then
5167 withval
="$with_dmalloc"
5168 if test "x$with_dmalloc" = xyes
; then
5169 ac_cv_use_dmalloc
='wxUSE_DMALLOC="1"'
5171 ac_cv_use_dmalloc
='wxUSE_DMALLOC="0"'
5175 LINE
=`grep "wxUSE_DMALLOC" ${OSTYPE}.system.cache`
5176 if test "x$LINE" != x
; then
5177 eval "DEFAULT_$LINE"
5179 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
5183 eval "$ac_cv_use_dmalloc"
5184 echo $ac_cv_use_dmalloc >> ${OSTYPE}.system.cache.tmp
5185 if test "$wxUSE_DMALLOC" = 1; then
5186 echo "$ac_t""yes" 1>&6
5188 echo "$ac_t""no" 1>&6
5193 echo $ac_n "checking "for profile
"""... $ac_c" 1>&6
5194 echo "configure:5195: checking "for profile
"" >&5
5195 # Check whether --with-profile or --without-profile was given.
5196 if test "${with_profile+set}" = set; then
5197 withval
="$with_profile"
5198 if test "x$with_profile" = xyes
; then
5199 ac_cv_use_profile
='wxUSE_PROFILE="1"'
5201 ac_cv_use_profile
='wxUSE_PROFILE="0"'
5205 LINE
=`grep "wxUSE_PROFILE" ${OSTYPE}.system.cache`
5206 if test "x$LINE" != x
; then
5207 eval "DEFAULT_$LINE"
5209 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5213 eval "$ac_cv_use_profile"
5214 echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
5215 if test "$wxUSE_PROFILE" = 1; then
5216 echo "$ac_t""yes" 1>&6
5218 echo "$ac_t""no" 1>&6
5223 echo $ac_n "checking "for apple_ieee
"""... $ac_c" 1>&6
5224 echo "configure:5225: checking "for apple_ieee
"" >&5
5225 # Check whether --with-apple_ieee or --without-apple_ieee was given.
5226 if test "${with_apple_ieee+set}" = set; then
5227 withval
="$with_apple_ieee"
5228 if test "x$with_apple_ieee" = xyes
; then
5229 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="1"'
5231 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="0"'
5235 LINE
=`grep "wxUSE_APPLE_IEEE" ${OSTYPE}.system.cache`
5236 if test "x$LINE" != x
; then
5237 eval "DEFAULT_$LINE"
5239 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5243 eval "$ac_cv_use_apple_ieee"
5244 echo $ac_cv_use_apple_ieee >> ${OSTYPE}.system.cache.tmp
5245 if test "$wxUSE_APPLE_IEEE" = 1; then
5246 echo "$ac_t""yes" 1>&6
5248 echo "$ac_t""no" 1>&6
5253 echo $ac_n "checking "for threads
"""... $ac_c" 1>&6
5254 echo "configure:5255: checking "for threads
"" >&5
5255 # Check whether --with-threads or --without-threads was given.
5256 if test "${with_threads+set}" = set; then
5257 withval
="$with_threads"
5258 if test "x$with_threads" = xyes
; then
5259 ac_cv_use_threads
='wxUSE_THREADS="1"'
5261 ac_cv_use_threads
='wxUSE_THREADS="0"'
5265 LINE
=`grep "wxUSE_THREADS" ${OSTYPE}.system.cache`
5266 if test "x$LINE" != x
; then
5267 eval "DEFAULT_$LINE"
5269 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5273 eval "$ac_cv_use_threads"
5274 echo $ac_cv_use_threads >> ${OSTYPE}.system.cache.tmp
5275 if test "$wxUSE_THREADS" = 1; then
5276 echo "$ac_t""yes" 1>&6
5278 echo "$ac_t""no" 1>&6
5284 echo $ac_n "checking "for zlib
"""... $ac_c" 1>&6
5285 echo "configure:5286: checking "for zlib
"" >&5
5286 # Check whether --with-zlib or --without-zlib was given.
5287 if test "${with_zlib+set}" = set; then
5288 withval
="$with_zlib"
5289 if test "x$with_zlib" = xyes
; then
5290 ac_cv_use_zlib
='wxUSE_ZLIB="1"'
5292 ac_cv_use_zlib
='wxUSE_ZLIB="0"'
5296 LINE
=`grep "wxUSE_ZLIB" ${OSTYPE}.system.cache`
5297 if test "x$LINE" != x
; then
5298 eval "DEFAULT_$LINE"
5300 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
5304 eval "$ac_cv_use_zlib"
5305 echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
5306 if test "$wxUSE_ZLIB" = 1; then
5307 echo "$ac_t""yes" 1>&6
5309 echo "$ac_t""no" 1>&6
5314 echo $ac_n "checking "for libpng
"""... $ac_c" 1>&6
5315 echo "configure:5316: checking "for libpng
"" >&5
5316 # Check whether --with-libpng or --without-libpng was given.
5317 if test "${with_libpng+set}" = set; then
5318 withval
="$with_libpng"
5319 if test "x$with_libpng" = xyes
; then
5320 ac_cv_use_libpng
='wxUSE_LIBPNG="1"'
5322 ac_cv_use_libpng
='wxUSE_LIBPNG="0"'
5326 LINE
=`grep "wxUSE_LIBPNG" ${OSTYPE}.system.cache`
5327 if test "x$LINE" != x
; then
5328 eval "DEFAULT_$LINE"
5330 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
5334 eval "$ac_cv_use_libpng"
5335 echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
5336 if test "$wxUSE_LIBPNG" = 1; then
5337 echo "$ac_t""yes" 1>&6
5339 echo "$ac_t""no" 1>&6
5344 echo $ac_n "checking "for libjpeg
"""... $ac_c" 1>&6
5345 echo "configure:5346: checking "for libjpeg
"" >&5
5346 # Check whether --with-libjpeg or --without-libjpeg was given.
5347 if test "${with_libjpeg+set}" = set; then
5348 withval
="$with_libjpeg"
5349 if test "x$with_libjpeg" = xyes
; then
5350 ac_cv_use_libjpeg
='wxUSE_LIBJPEG="1"'
5352 ac_cv_use_libjpeg
='wxUSE_LIBJPEG="0"'
5356 LINE
=`grep "wxUSE_LIBJPEG" ${OSTYPE}.system.cache`
5357 if test "x$LINE" != x
; then
5358 eval "DEFAULT_$LINE"
5360 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
5364 eval "$ac_cv_use_libjpeg"
5365 echo $ac_cv_use_libjpeg >> ${OSTYPE}.system.cache.tmp
5366 if test "$wxUSE_LIBJPEG" = 1; then
5367 echo "$ac_t""yes" 1>&6
5369 echo "$ac_t""no" 1>&6
5374 echo $ac_n "checking "for odbc
"""... $ac_c" 1>&6
5375 echo "configure:5376: checking "for odbc
"" >&5
5376 # Check whether --with-odbc or --without-odbc was given.
5377 if test "${with_odbc+set}" = set; then
5378 withval
="$with_odbc"
5379 if test "x$with_odbc" = xyes
; then
5380 ac_cv_use_odbc
='wxUSE_ODBC="1"'
5382 ac_cv_use_odbc
='wxUSE_ODBC="0"'
5386 LINE
=`grep "wxUSE_ODBC" ${OSTYPE}.system.cache`
5387 if test "x$LINE" != x
; then
5388 eval "DEFAULT_$LINE"
5390 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
5394 eval "$ac_cv_use_odbc"
5395 echo $ac_cv_use_odbc >> ${OSTYPE}.system.cache.tmp
5396 if test "$wxUSE_ODBC" = 1; then
5397 echo "$ac_t""yes" 1>&6
5399 echo "$ac_t""no" 1>&6
5405 echo $ac_n "checking "for timedate
"""... $ac_c" 1>&6
5406 echo "configure:5407: checking "for timedate
"" >&5
5407 # Check whether --with-timedate or --without-timedate was given.
5408 if test "${with_timedate+set}" = set; then
5409 withval
="$with_timedate"
5410 if test "x$with_timedate" = xyes
; then
5411 ac_cv_use_timedate
='wxUSE_TIMEDATE="1"'
5413 ac_cv_use_timedate
='wxUSE_TIMEDATE="0"'
5417 LINE
=`grep "wxUSE_TIMEDATE" ${OSTYPE}.system.cache`
5418 if test "x$LINE" != x
; then
5419 eval "DEFAULT_$LINE"
5421 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
5425 eval "$ac_cv_use_timedate"
5426 echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
5427 if test "$wxUSE_TIMEDATE" = 1; then
5428 echo "$ac_t""yes" 1>&6
5430 echo "$ac_t""no" 1>&6
5435 echo $ac_n "checking "for intl
"""... $ac_c" 1>&6
5436 echo "configure:5437: checking "for intl
"" >&5
5437 # Check whether --with-intl or --without-intl was given.
5438 if test "${with_intl+set}" = set; then
5439 withval
="$with_intl"
5440 if test "x$with_intl" = xyes
; then
5441 ac_cv_use_intl
='wxUSE_INTL="1"'
5443 ac_cv_use_intl
='wxUSE_INTL="0"'
5447 LINE
=`grep "wxUSE_INTL" ${OSTYPE}.system.cache`
5448 if test "x$LINE" != x
; then
5449 eval "DEFAULT_$LINE"
5451 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5455 eval "$ac_cv_use_intl"
5456 echo $ac_cv_use_intl >> ${OSTYPE}.system.cache.tmp
5457 if test "$wxUSE_INTL" = 1; then
5458 echo "$ac_t""yes" 1>&6
5460 echo "$ac_t""no" 1>&6
5465 echo $ac_n "checking "for config
"""... $ac_c" 1>&6
5466 echo "configure:5467: checking "for config
"" >&5
5467 # Check whether --with-config or --without-config was given.
5468 if test "${with_config+set}" = set; then
5469 withval
="$with_config"
5470 if test "x$with_config" = xyes
; then
5471 ac_cv_use_config
='wxUSE_CONFIG="1"'
5473 ac_cv_use_config
='wxUSE_CONFIG="0"'
5477 LINE
=`grep "wxUSE_CONFIG" ${OSTYPE}.system.cache`
5478 if test "x$LINE" != x
; then
5479 eval "DEFAULT_$LINE"
5481 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5485 eval "$ac_cv_use_config"
5486 echo $ac_cv_use_config >> ${OSTYPE}.system.cache.tmp
5487 if test "$wxUSE_CONFIG" = 1; then
5488 echo "$ac_t""yes" 1>&6
5490 echo "$ac_t""no" 1>&6
5495 echo $ac_n "checking "for streams
"""... $ac_c" 1>&6
5496 echo "configure:5497: checking "for streams
"" >&5
5497 # Check whether --with-streams or --without-streams was given.
5498 if test "${with_streams+set}" = set; then
5499 withval
="$with_streams"
5500 if test "x$with_streams" = xyes
; then
5501 ac_cv_use_streams
='wxUSE_STREAMS="1"'
5503 ac_cv_use_streams
='wxUSE_STREAMS="0"'
5507 LINE
=`grep "wxUSE_STREAMS" ${OSTYPE}.system.cache`
5508 if test "x$LINE" != x
; then
5509 eval "DEFAULT_$LINE"
5511 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5515 eval "$ac_cv_use_streams"
5516 echo $ac_cv_use_streams >> ${OSTYPE}.system.cache.tmp
5517 if test "$wxUSE_STREAMS" = 1; then
5518 echo "$ac_t""yes" 1>&6
5520 echo "$ac_t""no" 1>&6
5525 echo $ac_n "checking "for serial
"""... $ac_c" 1>&6
5526 echo "configure:5527: checking "for serial
"" >&5
5527 # Check whether --with-serial or --without-serial was given.
5528 if test "${with_serial+set}" = set; then
5529 withval
="$with_serial"
5530 if test "x$with_serial" = xyes
; then
5531 ac_cv_use_serial
='wxUSE_SERIAL="1"'
5533 ac_cv_use_serial
='wxUSE_SERIAL="0"'
5537 LINE
=`grep "wxUSE_SERIAL" ${OSTYPE}.system.cache`
5538 if test "x$LINE" != x
; then
5539 eval "DEFAULT_$LINE"
5541 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
5545 eval "$ac_cv_use_serial"
5546 echo $ac_cv_use_serial >> ${OSTYPE}.system.cache.tmp
5547 if test "$wxUSE_SERIAL" = 1; then
5548 echo "$ac_t""yes" 1>&6
5550 echo "$ac_t""no" 1>&6
5556 echo $ac_n "checking "for afmfonts
"""... $ac_c" 1>&6
5557 echo "configure:5558: checking "for afmfonts
"" >&5
5558 # Check whether --with-afmfonts or --without-afmfonts was given.
5559 if test "${with_afmfonts+set}" = set; then
5560 withval
="$with_afmfonts"
5561 if test "x$with_afmfonts" = xyes
; then
5562 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="1"'
5564 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="0"'
5568 LINE
=`grep "wxUSE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache`
5569 if test "x$LINE" != x
; then
5570 eval "DEFAULT_$LINE"
5572 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT='$DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
5576 eval "$ac_cv_use_afmfonts"
5577 echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
5578 if test "$wxUSE_AFM_FOR_POSTSCRIPT" = 1; then
5579 echo "$ac_t""yes" 1>&6
5581 echo "$ac_t""no" 1>&6
5586 echo $ac_n "checking "for normalized
"""... $ac_c" 1>&6
5587 echo "configure:5588: checking "for normalized
"" >&5
5588 # Check whether --with-normalized or --without-normalized was given.
5589 if test "${with_normalized+set}" = set; then
5590 withval
="$with_normalized"
5591 if test "x$with_normalized" = xyes
; then
5592 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="1"'
5594 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="0"'
5598 LINE
=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache`
5599 if test "x$LINE" != x
; then
5600 eval "DEFAULT_$LINE"
5602 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS
5606 eval "$ac_cv_use_normalized"
5607 echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
5608 if test "$WX_NORMALIZED_PS_FONTS" = 1; then
5609 echo "$ac_t""yes" 1>&6
5611 echo "$ac_t""no" 1>&6
5616 echo $ac_n "checking "for postscript
"""... $ac_c" 1>&6
5617 echo "configure:5618: checking "for postscript
"" >&5
5618 # Check whether --with-postscript or --without-postscript was given.
5619 if test "${with_postscript+set}" = set; then
5620 withval
="$with_postscript"
5621 if test "x$with_postscript" = xyes
; then
5622 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="1"'
5624 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="0"'
5628 LINE
=`grep "wxUSE_POSTSCRIPT" ${OSTYPE}.system.cache`
5629 if test "x$LINE" != x
; then
5630 eval "DEFAULT_$LINE"
5632 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5636 eval "$ac_cv_use_postscript"
5637 echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
5638 if test "$wxUSE_POSTSCRIPT" = 1; then
5639 echo "$ac_t""yes" 1>&6
5641 echo "$ac_t""no" 1>&6
5647 echo $ac_n "checking "for unicode
"""... $ac_c" 1>&6
5648 echo "configure:5649: checking "for unicode
"" >&5
5649 # Check whether --with-unicode or --without-unicode was given.
5650 if test "${with_unicode+set}" = set; then
5651 withval
="$with_unicode"
5652 if test "x$with_unicode" = xyes
; then
5653 ac_cv_use_unicode
='wxUSE_UNICODE="1"'
5655 ac_cv_use_unicode
='wxUSE_UNICODE="0"'
5659 LINE
=`grep "wxUSE_UNICODE" ${OSTYPE}.system.cache`
5660 if test "x$LINE" != x
; then
5661 eval "DEFAULT_$LINE"
5663 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5667 eval "$ac_cv_use_unicode"
5668 echo $ac_cv_use_unicode >> ${OSTYPE}.system.cache.tmp
5669 if test "$wxUSE_UNICODE" = 1; then
5670 echo "$ac_t""yes" 1>&6
5672 echo "$ac_t""no" 1>&6
5677 echo $ac_n "checking "for wcsrtombs
"""... $ac_c" 1>&6
5678 echo "configure:5679: checking "for wcsrtombs
"" >&5
5679 # Check whether --with-wcsrtombs or --without-wcsrtombs was given.
5680 if test "${with_wcsrtombs+set}" = set; then
5681 withval
="$with_wcsrtombs"
5682 if test "x$with_wcsrtombs" = xyes
; then
5683 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="1"'
5685 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="0"'
5689 LINE
=`grep "wxUSE_WCSRTOMBS" ${OSTYPE}.system.cache`
5690 if test "x$LINE" != x
; then
5691 eval "DEFAULT_$LINE"
5693 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
5697 eval "$ac_cv_use_wcsrtombs"
5698 echo $ac_cv_use_wcsrtombs >> ${OSTYPE}.system.cache.tmp
5699 if test "$wxUSE_WCSRTOMBS" = 1; then
5700 echo "$ac_t""yes" 1>&6
5702 echo "$ac_t""no" 1>&6
5708 echo $ac_n "checking "for wxresources
"""... $ac_c" 1>&6
5709 echo "configure:5710: checking "for wxresources
"" >&5
5710 # Check whether --with-wxresources or --without-wxresources was given.
5711 if test "${with_wxresources+set}" = set; then
5712 withval
="$with_wxresources"
5713 if test "x$with_wxresources" = xyes
; then
5714 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="1"'
5716 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="0"'
5720 LINE
=`grep "wxUSE_WX_RESOURCES" ${OSTYPE}.system.cache`
5721 if test "x$LINE" != x
; then
5722 eval "DEFAULT_$LINE"
5724 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES='$DEFAULT_wxUSE_WX_RESOURCES
5728 eval "$ac_cv_use_wxresources"
5729 echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
5730 if test "$wxUSE_WX_RESOURCES" = 1; then
5731 echo "$ac_t""yes" 1>&6
5733 echo "$ac_t""no" 1>&6
5738 echo $ac_n "checking "for prologio
"""... $ac_c" 1>&6
5739 echo "configure:5740: checking "for prologio
"" >&5
5740 # Check whether --with-prologio or --without-prologio was given.
5741 if test "${with_prologio+set}" = set; then
5742 withval
="$with_prologio"
5743 if test "x$with_prologio" = xyes
; then
5744 ac_cv_use_prologio
='wxUSE_PROLOGIO="1"'
5746 ac_cv_use_prologio
='wxUSE_PROLOGIO="0"'
5750 LINE
=`grep "wxUSE_PROLOGIO" ${OSTYPE}.system.cache`
5751 if test "x$LINE" != x
; then
5752 eval "DEFAULT_$LINE"
5754 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5758 eval "$ac_cv_use_prologio"
5759 echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
5760 if test "$wxUSE_PROLOGIO" = 1; then
5761 echo "$ac_t""yes" 1>&6
5763 echo "$ac_t""no" 1>&6
5768 echo $ac_n "checking "for RPC
"""... $ac_c" 1>&6
5769 echo "configure:5770: checking "for RPC
"" >&5
5770 # Check whether --with-rpc or --without-rpc was given.
5771 if test "${with_rpc+set}" = set; then
5773 if test "x$with_rpc" = xyes
; then
5774 ac_cv_use_rpc
='wxUSE_RPC="1"'
5776 ac_cv_use_rpc
='wxUSE_RPC="0"'
5780 LINE
=`grep "wxUSE_RPC" ${OSTYPE}.system.cache`
5781 if test "x$LINE" != x
; then
5782 eval "DEFAULT_$LINE"
5784 ac_cv_use_rpc
='wxUSE_RPC='$DEFAULT_wxUSE_RPC
5788 eval "$ac_cv_use_rpc"
5789 echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
5790 if test "$wxUSE_RPC" = 1; then
5791 echo "$ac_t""yes" 1>&6
5793 echo "$ac_t""no" 1>&6
5799 echo $ac_n "checking "for IPC
"""... $ac_c" 1>&6
5800 echo "configure:5801: checking "for IPC
"" >&5
5801 # Check whether --with-ipc or --without-ipc was given.
5802 if test "${with_ipc+set}" = set; then
5804 if test "x$with_ipc" = xyes
; then
5805 ac_cv_use_ipc
='wxUSE_IPC="1"'
5807 ac_cv_use_ipc
='wxUSE_IPC="0"'
5811 LINE
=`grep "wxUSE_IPC" ${OSTYPE}.system.cache`
5812 if test "x$LINE" != x
; then
5813 eval "DEFAULT_$LINE"
5815 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5819 eval "$ac_cv_use_ipc"
5820 echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
5821 if test "$wxUSE_IPC" = 1; then
5822 echo "$ac_t""yes" 1>&6
5824 echo "$ac_t""no" 1>&6
5829 echo $ac_n "checking "for resources
"""... $ac_c" 1>&6
5830 echo "configure:5831: checking "for resources
"" >&5
5831 # Check whether --with-resources or --without-resources was given.
5832 if test "${with_resources+set}" = set; then
5833 withval
="$with_resources"
5834 if test "x$with_resources" = xyes
; then
5835 ac_cv_use_resources
='wxUSE_RESOURCES="1"'
5837 ac_cv_use_resources
='wxUSE_RESOURCES="0"'
5841 LINE
=`grep "wxUSE_RESOURCES" ${OSTYPE}.system.cache`
5842 if test "x$LINE" != x
; then
5843 eval "DEFAULT_$LINE"
5845 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5849 eval "$ac_cv_use_resources"
5850 echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
5851 if test "$wxUSE_RESOURCES" = 1; then
5852 echo "$ac_t""yes" 1>&6
5854 echo "$ac_t""no" 1>&6
5859 echo $ac_n "checking "for clipboard
"""... $ac_c" 1>&6
5860 echo "configure:5861: checking "for clipboard
"" >&5
5861 # Check whether --with-clipboard or --without-clipboard was given.
5862 if test "${with_clipboard+set}" = set; then
5863 withval
="$with_clipboard"
5864 if test "x$with_clipboard" = xyes
; then
5865 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="1"'
5867 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="0"'
5871 LINE
=`grep "wxUSE_CLIPBOARD" ${OSTYPE}.system.cache`
5872 if test "x$LINE" != x
; then
5873 eval "DEFAULT_$LINE"
5875 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5879 eval "$ac_cv_use_clipboard"
5880 echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
5881 if test "$wxUSE_CLIPBOARD" = 1; then
5882 echo "$ac_t""yes" 1>&6
5884 echo "$ac_t""no" 1>&6
5889 echo $ac_n "checking "for tooltips
"""... $ac_c" 1>&6
5890 echo "configure:5891: checking "for tooltips
"" >&5
5891 # Check whether --with-tooltips or --without-tooltips was given.
5892 if test "${with_tooltips+set}" = set; then
5893 withval
="$with_tooltips"
5894 if test "x$with_tooltips" = xyes
; then
5895 ac_cv_use_tooltips
='wxUSE_TOOLTIPS="1"'
5897 ac_cv_use_tooltips
='wxUSE_TOOLTIPS="0"'
5901 LINE
=`grep "wxUSE_TOOLTIPS" ${OSTYPE}.system.cache`
5902 if test "x$LINE" != x
; then
5903 eval "DEFAULT_$LINE"
5905 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5909 eval "$ac_cv_use_tooltips"
5910 echo $ac_cv_use_tooltips >> ${OSTYPE}.system.cache.tmp
5911 if test "$wxUSE_TOOLTIPS" = 1; then
5912 echo "$ac_t""yes" 1>&6
5914 echo "$ac_t""no" 1>&6
5919 echo $ac_n "checking "for dnd
"""... $ac_c" 1>&6
5920 echo "configure:5921: checking "for dnd
"" >&5
5921 # Check whether --with-dnd or --without-dnd was given.
5922 if test "${with_dnd+set}" = set; then
5924 if test "x$with_dnd" = xyes
; then
5925 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP="1"'
5927 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP="0"'
5931 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${OSTYPE}.system.cache`
5932 if test "x$LINE" != x
; then
5933 eval "DEFAULT_$LINE"
5935 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5939 eval "$ac_cv_use_dnd"
5940 echo $ac_cv_use_dnd >> ${OSTYPE}.system.cache.tmp
5941 if test "$wxUSE_DRAG_AND_DROP" = 1; then
5942 echo "$ac_t""yes" 1>&6
5944 echo "$ac_t""no" 1>&6
5950 echo $ac_n "checking "for mdi
"""... $ac_c" 1>&6
5951 echo "configure:5952: checking "for mdi
"" >&5
5952 # Check whether --with-mdi or --without-mdi was given.
5953 if test "${with_mdi+set}" = set; then
5955 if test "x$with_mdi" = xyes
; then
5956 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="1"'
5958 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="0"'
5962 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${OSTYPE}.system.cache`
5963 if test "x$LINE" != x
; then
5964 eval "DEFAULT_$LINE"
5966 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5970 eval "$ac_cv_use_mdi"
5971 echo $ac_cv_use_mdi >> ${OSTYPE}.system.cache.tmp
5972 if test "$wxUSE_MDI_ARCHITECTURE" = 1; then
5973 echo "$ac_t""yes" 1>&6
5975 echo "$ac_t""no" 1>&6
5980 echo $ac_n "checking "for docview
"""... $ac_c" 1>&6
5981 echo "configure:5982: checking "for docview
"" >&5
5982 # Check whether --with-docview or --without-docview was given.
5983 if test "${with_docview+set}" = set; then
5984 withval
="$with_docview"
5985 if test "x$with_docview" = xyes
; then
5986 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="1"'
5988 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="0"'
5992 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache`
5993 if test "x$LINE" != x
; then
5994 eval "DEFAULT_$LINE"
5996 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6000 eval "$ac_cv_use_docview"
6001 echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp
6002 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1; then
6003 echo "$ac_t""yes" 1>&6
6005 echo "$ac_t""no" 1>&6
6010 echo $ac_n "checking "for printarch
"""... $ac_c" 1>&6
6011 echo "configure:6012: checking "for printarch
"" >&5
6012 # Check whether --with-printarch or --without-printarch was given.
6013 if test "${with_printarch+set}" = set; then
6014 withval
="$with_printarch"
6015 if test "x$with_printarch" = xyes
; then
6016 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="1"'
6018 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="0"'
6022 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache`
6023 if test "x$LINE" != x
; then
6024 eval "DEFAULT_$LINE"
6026 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6030 eval "$ac_cv_use_printarch"
6031 echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp
6032 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1; then
6033 echo "$ac_t""yes" 1>&6
6035 echo "$ac_t""no" 1>&6
6040 echo $ac_n "checking "for help"""... $ac_c" 1>&6
6041 echo "configure:6042: checking "for help"" >&5
6042 # Check whether --with-help or --without-help was given.
6043 if test "${with_help+set}" = set; then
6044 withval
="$with_help"
6045 if test "x$with_help" = xyes
; then
6046 ac_cv_use_help
='wxUSE_HELP="1"'
6048 ac_cv_use_help
='wxUSE_HELP="0"'
6052 LINE
=`grep "wxUSE_HELP" ${OSTYPE}.system.cache`
6053 if test "x$LINE" != x
; then
6054 eval "DEFAULT_$LINE"
6056 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6060 eval "$ac_cv_use_help"
6061 echo $ac_cv_use_help >> ${OSTYPE}.system.cache.tmp
6062 if test "$wxUSE_HELP" = 1; then
6063 echo "$ac_t""yes" 1>&6
6065 echo "$ac_t""no" 1>&6
6070 if test "$wxUSE_UNIX" = 1 ; then
6071 cat >> confdefs.h
<<\EOF
6077 if test "$USE_LINUX" = 1; then
6078 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
6079 echo "configure:6080: checking for gettext in -lc" >&5
6080 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
6081 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6082 echo $ac_n "(cached) $ac_c" 1>&6
6084 ac_save_LIBS
="$LIBS"
6086 cat > conftest.
$ac_ext <<EOF
6087 #line 6088 "configure"
6088 #include "confdefs.h"
6089 /* Override any gcc2 internal prototype to avoid an error. */
6090 /* We use char because int might match the return type of a gcc2
6091 builtin and then its argument prototype would still apply. */
6098 if { (eval echo configure
:6099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6100 eval "ac_cv_lib_$ac_lib_var=yes"
6102 echo "configure: failed program was:" >&5
6103 cat conftest.
$ac_ext >&5
6105 eval "ac_cv_lib_$ac_lib_var=no"
6108 LIBS
="$ac_save_LIBS"
6111 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6112 echo "$ac_t""yes" 1>&6
6113 cat >> confdefs.h
<<\EOF
6114 #define wxHAVE_GLIBC2 1
6118 echo "$ac_t""no" 1>&6
6135 if test "$wxUSE_GTK" = 1; then
6136 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
6137 if test "${with_gtk_prefix+set}" = set; then
6138 withval
="$with_gtk_prefix"
6139 gtk_config_prefix
="$withval"
6141 gtk_config_prefix
=""
6144 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
6145 if test "${with_gtk_exec_prefix+set}" = set; then
6146 withval
="$with_gtk_exec_prefix"
6147 gtk_config_exec_prefix
="$withval"
6149 gtk_config_exec_prefix
=""
6153 if test x
$gtk_config_exec_prefix != x
; then
6154 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6155 if test x
${GTK_CONFIG+set} != xset
; then
6156 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6159 if test x
$gtk_config_prefix != x
; then
6160 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6161 if test x
${GTK_CONFIG+set} != xset
; then
6162 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6166 # Extract the first word of "gtk-config", so it can be a program name with args.
6167 set dummy gtk
-config; ac_word
=$2
6168 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6169 echo "configure:6170: checking for $ac_word" >&5
6170 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6171 echo $ac_n "(cached) $ac_c" 1>&6
6173 case "$GTK_CONFIG" in
6175 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6178 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6179 for ac_dir
in $PATH; do
6180 test -z "$ac_dir" && ac_dir
=.
6181 if test -f $ac_dir/$ac_word; then
6182 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6187 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6191 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6192 if test -n "$GTK_CONFIG"; then
6193 echo "$ac_t""$GTK_CONFIG" 1>&6
6195 echo "$ac_t""no" 1>&6
6198 min_gtk_version
=1.0.4
6199 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6200 echo "configure:6201: checking for GTK - version >= $min_gtk_version" >&5
6202 if test "$GTK_CONFIG" != "no" ; then
6203 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6204 GTK_LIBS
=`$GTK_CONFIG --libs`
6205 ac_save_CFLAGS
="$CFLAGS"
6206 ac_save_LIBS
="$LIBS"
6207 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6208 LIBS
="$LIBS $GTK_LIBS"
6209 if test "$cross_compiling" = yes; then
6210 echo $ac_n "cross compiling; assumed OK... $ac_c"
6212 cat > conftest.
$ac_ext <<EOF
6213 #line 6214 "configure"
6214 #include "confdefs.h"
6216 #include <gtk/gtk.h>
6222 int major, minor, micro;
6224 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6225 printf("%s, bad version string\n", "$min_gtk_version");
6229 if (gtk_minor_version > 0) return FALSE;
6231 return !((gtk_major_version > major) ||
6232 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6233 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6237 if { (eval echo configure
:6238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
6241 echo "configure: failed program was:" >&5
6242 cat conftest.
$ac_ext >&5
6249 CFLAGS
="$ac_save_CFLAGS"
6250 LIBS
="$ac_save_LIBS"
6254 if test "x$no_gtk" = x
; then
6255 echo "$ac_t""yes" 1>&6
6257 GUI_TK_INCLUDE
="$GTK_CFLAGS"
6258 GUI_TK_LIBRARY
="$GTK_LIBS"
6261 echo "$ac_t""no" 1>&6
6264 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.0.4 up-to 1.0.6?" 1>&2; exit 1; }
6270 TOOLKIT_DEF
=__WXGTK__
6272 MAKEINCLUDE
=..
/gtk.inc
6275 if test "$wxUSE_QT" = 1; then
6276 echo $ac_n "checking for Qt includes""... $ac_c" 1>&6
6277 echo "configure:6278: checking for Qt includes" >&5
6280 for ac_dir
in $SEARCH_INCLUDE;
6282 if test -f "$ac_dir/qapp.h"; then
6283 ac_find_includes
=$ac_dir
6288 if test "$ac_find_includes" != "" ; then
6289 echo "$ac_t""found $ac_find_includes" 1>&6
6290 echo $ac_n "checking for Qt library""... $ac_c" 1>&6
6291 echo "configure:6292: checking for Qt library" >&5
6294 for ac_dir
in $SEARCH_LIB;
6296 for ac_extension
in a so sl
; do
6297 if test -f "$ac_dir/libqt.$ac_extension"; then
6298 ac_find_libraries
=$ac_dir
6304 if test "$ac_find_libraries" != "" ; then
6306 ac_path_to_include
=$ac_find_includes
6307 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6309 if test $result = 0; then
6310 ac_path_to_include
=""
6312 ac_path_to_include
="-I$ac_find_includes"
6316 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6318 if test $result = 0; then
6321 ac_path_to_link
="-L$ac_find_libraries"
6324 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6325 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6326 echo "$ac_t""found Qt at $ac_find_libraries" 1>&6
6328 { echo "configure: error: no" 1>&2; exit 1; }
6331 { echo "configure: error: no" 1>&2; exit 1; }
6333 GUI_TK_LINK
="-lX11 -lqt -lm"
6335 TOOLKIT_DEF
=__WXQT__
6337 MAKEINCLUDE
=..
/qt.inc
6340 if test "$wxUSE_MOTIF" = 1; then
6341 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
6342 echo "configure:6343: checking for Motif/Lesstif includes" >&5
6345 for ac_dir
in $SEARCH_INCLUDE;
6347 if test -f "$ac_dir/Xm.h"; then
6348 ac_find_includes
=$ac_dir
6353 if test "$ac_find_includes" != "" ; then
6354 echo "$ac_t""found $ac_find_includes" 1>&6
6355 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
6356 echo "configure:6357: checking for Motif/Lesstif library" >&5
6359 for ac_dir
in $SEARCH_LIB;
6361 for ac_extension
in a so sl
; do
6362 if test -f "$ac_dir/libXm.$ac_extension"; then
6363 ac_find_libraries
=$ac_dir
6369 if test "$ac_find_libraries" != "" ; then
6371 ac_path_to_include
=$ac_find_includes
6372 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6374 if test $result = 0; then
6375 ac_path_to_include
=""
6377 ac_path_to_include
="-I$ac_find_includes"
6381 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6383 if test $result = 0; then
6386 ac_path_to_link
="-L$ac_find_libraries"
6389 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6390 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6391 echo "$ac_t""found at $ac_find_libraries" 1>&6
6392 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
6393 echo "configure:6394: checking for Xt library" >&5
6396 for ac_dir
in $SEARCH_LIB;
6398 for ac_extension
in a so sl
; do
6399 if test -f "$ac_dir/libXt.$ac_extension"; then
6400 ac_find_libraries
=$ac_dir
6406 if test "$ac_find_libraries" != "" ; then
6408 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6410 if test $result = 0; then
6413 ac_path_to_link
="-L$ac_find_libraries"
6416 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6417 echo "$ac_t""found at $ac_find_libraries" 1>&6
6418 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6419 echo "configure:6420: checking for Xpm library" >&5
6422 for ac_dir
in $SEARCH_LIB;
6424 for ac_extension
in a so sl
; do
6425 if test -f "$ac_dir/libXpm.$ac_extension"; then
6426 ac_find_libraries
=$ac_dir
6432 if test "$ac_find_libraries" != "" ; then
6434 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6436 if test $result = 0; then
6439 ac_path_to_link
="-L$ac_find_libraries"
6442 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6443 echo "$ac_t""found at $ac_find_libraries" 1>&6
6445 { echo "configure: error: no" 1>&2; exit 1; }
6448 { echo "configure: error: no" 1>&2; exit 1; }
6451 { echo "configure: error: no" 1>&2; exit 1; }
6454 { echo "configure: error: no" 1>&2; exit 1; }
6457 GUI_TK_LINK
="-lXm -lXpm -lXmu -lXt -lX11 -lm"
6458 GUI_TK_LIBRARY
="$CHECK_LIB $GUI_TK_LINK"
6460 TOOLKIT_DEF
="__WXMOTIF__ -D__LINUX__ -D__UNIX__"
6462 MAKEINCLUDE
=..
/motif.inc
6465 if test "$TOOLKIT" = ""; then
6466 { echo "configure: error: You must specify a toolkit: --with-gtk --with-qt --with-motif" 1>&2; exit 1; }
6484 if test "$wxUSE_DEBUG_GDB" = 1 ; then
6489 if test "$wxUSE_DEBUG_INFO" = 1 ; then
6493 EXTRA_LINK
="-s $EXTRA_LINK"
6498 if test "$wxUSE_DEBUG_FLAG" = 1 ; then
6499 cat >> confdefs.h
<<EOF
6500 #define WXDEBUG $wxUSE_DEBUG_FLAG
6503 WXDEBUG_DEFINE
="-D__WXDEBUG__"
6506 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
6510 if test "$wxUSE_MEM_TRACING" = 1 ; then
6511 cat >> confdefs.h
<<EOF
6512 #define wxUSE_MEMORY_TRACING $wxUSE_MEM_TRACING
6515 cat >> confdefs.h
<<EOF
6516 #define wxUSE_GLOBAL_MEMORY_OPERATORS $wxUSE_MEM_TRACING
6521 if test "$wxUSE_DMALLOC" = 1 ; then
6522 EXTRA_LINK
="$EXTRA_LINK -ldmalloc"
6527 if test "$wxUSE_PROFILE" = 1 ; then
6532 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
6533 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
6534 if test "$wxUSE_OPTIMISE" = 0 ; then
6537 if test "$GCC" = yes ; then
6539 case "${canonical}" in
6541 OPTIMISE
="${OPTIMISE} "
6551 if test "$wxUSE_APPLE_IEEE" = 1 ; then
6552 APPLE_IEEE
="APPLE_IEEE"
6553 cat >> confdefs.h
<<EOF
6554 #define wxUSE_APPLE_IEEE $wxUSE_APPLE_IEEE
6559 wxUSE_IOSTREAMH
=$DEFAULT_wxUSE_IOSTREAMH
6560 cat >> confdefs.h
<<EOF
6561 #define wxUSE_IOSTREAMH $wxUSE_IOSTREAMH
6566 if test "$wxUSE_ZLIB" = 1 ; then
6567 cat >> confdefs.h
<<EOF
6568 #define wxUSE_ZLIB $wxUSE_ZLIB
6571 Z_C_SRC
="\$(Z_C_SRC)"
6575 if test "$wxUSE_LIBPNG" = 1 ; then
6576 cat >> confdefs.h
<<EOF
6577 #define wxUSE_LIBPNG $wxUSE_LIBPNG
6580 PNG_C_SRC
="\$(PNG_C_SRC)"
6585 if test "$wxUSE_LIBJPEG" = 1 ; then
6586 cat >> confdefs.h
<<EOF
6587 #define wxUSE_LIBJPEG $wxUSE_LIBJPEG
6590 echo $ac_n "checking for -ljpeg""... $ac_c" 1>&6
6591 echo "configure:6592: checking for -ljpeg" >&5
6592 if eval "test \"`echo '$''{'ac_cv_lib_jpeg'+set}'`\" = set"; then
6593 echo $ac_n "(cached) $ac_c" 1>&6
6595 ac_save_LIBS
="$LIBS"
6597 cat > conftest.
$ac_ext <<EOF
6598 #line 6599 "configure"
6599 #include "confdefs.h"
6605 if { (eval echo configure
:6606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6609 echo "configure: failed program was:" >&5
6610 cat conftest.
$ac_ext >&5
6615 LIBS
="$ac_save_LIBS"
6618 echo "$ac_t""$ac_cv_lib_jpeg" 1>&6
6619 if test "$ac_cv_lib_jpeg" = yes; then
6620 cat >> confdefs.h
<<\EOF
6621 #define HAVE_LIBJPEG 1
6633 if test "$wxUSE_ODBC" = 1 ; then
6634 cat >> confdefs.h
<<EOF
6635 #define wxUSE_ODBC $wxUSE_ODBC
6638 IODBC_C_SRC
="\$(IODBC_C_SRC)"
6643 if test "$wxUSE_CONFIG" = 1 ; then
6644 cat >> confdefs.h
<<EOF
6645 #define wxUSE_CONFIG $wxUSE_CONFIG
6650 if test "$wxUSE_TIMEDATE" = 1 ; then
6651 cat >> confdefs.h
<<EOF
6652 #define wxUSE_TIMEDATE $wxUSE_TIMEDATE
6657 if test "$wxUSE_INTL" = 1 ; then
6658 cat >> confdefs.h
<<EOF
6659 #define wxUSE_INTL $wxUSE_INTL
6664 if test "$wxUSE_STREAMS" = 1 ; then
6665 cat >> confdefs.h
<<EOF
6666 #define wxUSE_STREAMS $wxUSE_STREAMS
6671 if test "$wxUSE_SERIAL" = 1 ; then
6672 cat >> confdefs.h
<<EOF
6673 #define wxUSE_SERIAL $wxUSE_SERIAL
6679 if test "$wxUSE_RPC" = 1 ; then
6680 cat >> confdefs.h
<<EOF
6681 #define wxUSE_RPC $wxUSE_RPC
6686 if test "$wxUSE_WX_RESOURCES" = 1 ; then
6687 cat >> confdefs.h
<<EOF
6688 #define wxUSE_WX_RESOURCES $wxUSE_WX_RESOURCES
6693 if test "$wxUSE_PROLOGIO" = 1 ; then
6694 cat >> confdefs.h
<<EOF
6695 #define wxUSE_PROLOGIO 1
6701 if test "$wxUSE_POSTSCRIPT" = 1 ; then
6702 cat >> confdefs.h
<<EOF
6703 #define wxUSE_POSTSCRIPT 1
6708 cat >> confdefs.h
<<EOF
6709 #define wxUSE_AFM_FOR_POSTSCRIPT $wxUSE_AFM_FOR_POSTSCRIPT
6713 cat >> confdefs.h
<<EOF
6714 #define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS
6719 if test "$wxUSE_MDI_ARCHITECTURE" = 1 ; then
6720 cat >> confdefs.h
<<EOF
6721 #define wxUSE_MDI_ARCHITECTURE $wxUSE_MDI_ARCHITECTURE
6726 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1 ; then
6727 cat >> confdefs.h
<<EOF
6728 #define wxUSE_DOC_VIEW_ARCHITECTURE $wxUSE_DOC_VIEW_ARCHITECTURE
6733 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1 ; then
6734 cat >> confdefs.h
<<EOF
6735 #define wxUSE_PRINTING_ARCHITECTURE $wxUSE_PRINTING_ARCHITECTURE
6741 if test "$wxUSE_UNICODE" = 1 ; then
6742 cat >> confdefs.h
<<EOF
6743 #define wxUSE_UNICODE 1
6748 if test "$wxUSE_WCSRTOMBS" = 1 ; then
6749 cat >> confdefs.h
<<EOF
6750 #define wxUSE_WCSRTOMBS 1
6756 if test "$wxUSE_IPC" = 1 ; then
6757 cat >> confdefs.h
<<EOF
6763 if test "$wxUSE_RESOURCES" = 1 ; then
6764 cat >> confdefs.h
<<EOF
6765 #define wxUSE_RESOURCES $wxUSE_RESOURCES
6770 if test "$wxUSE_CLIPBOARD" = 1 ; then
6771 cat >> confdefs.h
<<EOF
6772 #define wxUSE_CLIPBOARD $wxUSE_CLIPBOARD
6777 if test "$wxUSE_TOOLTIPS" = 1 ; then
6778 cat >> confdefs.h
<<EOF
6779 #define wxUSE_TOOLTIPS $wxUSE_TOOLTIPS
6784 if test "$wxUSE_DRAG_AND_DROP" = 1 ; then
6785 cat >> confdefs.h
<<EOF
6786 #define wxUSE_DRAG_AND_DROP $wxUSE_DRAG_AND_DROP
6793 if test "$wxUSE_HELP" = 1 ; then
6795 cat >> confdefs.h
<<EOF
6796 #define wxUSE_HELP $wxUSE_HELP
6806 if test "$wxUSE_THREADS" = "1"; then
6809 echo $ac_n "checking for pthread_create in -lpthread-0.7""... $ac_c" 1>&6
6810 echo "configure:6811: checking for pthread_create in -lpthread-0.7" >&5
6811 ac_lib_var
=`echo pthread-0.7'_'pthread_create | sed 'y%./+-%__p_%'`
6812 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6813 echo $ac_n "(cached) $ac_c" 1>&6
6815 ac_save_LIBS
="$LIBS"
6816 LIBS
="-lpthread-0.7 $LIBS"
6817 cat > conftest.
$ac_ext <<EOF
6818 #line 6819 "configure"
6819 #include "confdefs.h"
6820 /* Override any gcc2 internal prototype to avoid an error. */
6821 /* We use char because int might match the return type of a gcc2
6822 builtin and then its argument prototype would still apply. */
6823 char pthread_create();
6829 if { (eval echo configure
:6830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6831 eval "ac_cv_lib_$ac_lib_var=yes"
6833 echo "configure: failed program was:" >&5
6834 cat conftest.
$ac_ext >&5
6836 eval "ac_cv_lib_$ac_lib_var=no"
6839 LIBS
="$ac_save_LIBS"
6842 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6843 echo "$ac_t""yes" 1>&6
6845 UNIX_THREAD
="gtk/threadpsx.cpp"
6846 THREADS_LINK
="-lpthread-0.7"
6849 echo "$ac_t""no" 1>&6
6851 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
6852 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
6853 echo "configure:6854: checking for sys/prctl.h" >&5
6854 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6855 echo $ac_n "(cached) $ac_c" 1>&6
6857 cat > conftest.
$ac_ext <<EOF
6858 #line 6859 "configure"
6859 #include "confdefs.h"
6860 #include <sys/prctl.h>
6862 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6863 { (eval echo configure
:6864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6864 ac_err
=`grep -v '^ *+' conftest.out`
6865 if test -z "$ac_err"; then
6867 eval "ac_cv_header_$ac_safe=yes"
6870 echo "configure: failed program was:" >&5
6871 cat conftest.
$ac_ext >&5
6873 eval "ac_cv_header_$ac_safe=no"
6877 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6878 echo "$ac_t""yes" 1>&6
6880 UNIX_THREAD
="gtk/threadsgi.cpp"
6883 echo "$ac_t""no" 1>&6
6888 echo $ac_n "checking for pthread_setcanceltype in -lpthread""... $ac_c" 1>&6
6889 echo "configure:6890: checking for pthread_setcanceltype in -lpthread" >&5
6890 ac_lib_var
=`echo pthread'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
6891 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6892 echo $ac_n "(cached) $ac_c" 1>&6
6894 ac_save_LIBS
="$LIBS"
6895 LIBS
="-lpthread $LIBS"
6896 cat > conftest.
$ac_ext <<EOF
6897 #line 6898 "configure"
6898 #include "confdefs.h"
6899 /* Override any gcc2 internal prototype to avoid an error. */
6900 /* We use char because int might match the return type of a gcc2
6901 builtin and then its argument prototype would still apply. */
6902 char pthread_setcanceltype();
6905 pthread_setcanceltype()
6908 if { (eval echo configure
:6909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6910 eval "ac_cv_lib_$ac_lib_var=yes"
6912 echo "configure: failed program was:" >&5
6913 cat conftest.
$ac_ext >&5
6915 eval "ac_cv_lib_$ac_lib_var=no"
6918 LIBS
="$ac_save_LIBS"
6921 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6922 echo "$ac_t""yes" 1>&6
6924 UNIX_THREAD
="gtk/threadpsx.cpp"
6925 THREADS_LINK
="-lpthread"
6928 echo "$ac_t""no" 1>&6
6935 if test "$THREADS_LINK" != ""; then
6936 cat >> confdefs.h
<<\EOF
6937 #define wxUSE_THREADS 1
6943 echo $ac_n "checking for printf in -lposix4""... $ac_c" 1>&6
6944 echo "configure:6945: checking for printf in -lposix4" >&5
6945 ac_lib_var
=`echo posix4'_'printf | sed 'y%./+-%__p_%'`
6946 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6947 echo $ac_n "(cached) $ac_c" 1>&6
6949 ac_save_LIBS
="$LIBS"
6950 LIBS
="-lposix4 $LIBS"
6951 cat > conftest.
$ac_ext <<EOF
6952 #line 6953 "configure"
6953 #include "confdefs.h"
6954 /* Override any gcc2 internal prototype to avoid an error. */
6955 /* We use char because int might match the return type of a gcc2
6956 builtin and then its argument prototype would still apply. */
6963 if { (eval echo configure
:6964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6965 eval "ac_cv_lib_$ac_lib_var=yes"
6967 echo "configure: failed program was:" >&5
6968 cat conftest.
$ac_ext >&5
6970 eval "ac_cv_lib_$ac_lib_var=no"
6973 LIBS
="$ac_save_LIBS"
6976 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6977 echo "$ac_t""yes" 1>&6
6979 THREADS_LINK
="$THREADS_LINK -lposix4"
6982 echo "$ac_t""no" 1>&6
6988 if test "$wxUSE_MOTIF" = "1"; then
6989 UNIX_THREAD
="motif/thread.cpp"
6992 if test -z "$UNIX_THREAD"; then
7003 case "${canonical}" in
7006 if test "$GCC" != "yes" ; then
7007 CXXFLAGS
="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
7008 CFLAGS
="${CFLAGS} -z -D_HPUX_SOURCE"
7014 CREATE_SHARED
=sharedHpux
7019 CREATE_SHARED
=sharedLinux
7022 *-*-irix5* | *-*-irix6* )
7023 # PICFLAGS can remain empty, as pic is the default
7025 CREATE_SHARED
=sharedIrix
7026 cat >> confdefs.h
<<\EOF
7033 if test "$GCC" != "yes" ; then
7038 CREATE_SHARED
=sharedSolaris2
7039 cat >> confdefs.h
<<\EOF
7046 if test "$GCC" != "yes" ; then
7052 CREATE_SHARED
=sharedSunos4
7053 cat >> confdefs.h
<<\EOF
7059 *-*-freebsd* | *-*-netbsd*)
7061 CREATE_SHARED
=sharedBsd
7062 cat >> confdefs.h
<<\EOF
7070 CREATE_SHARED
=sharedOSF
7074 if test "$GCC" != "yes" ; then
7079 CREATE_SHARED
=sharedDgux
7080 cat >> confdefs.h
<<\EOF
7087 if test "$GCC" != "yes" ; then
7092 CREATE_SHARED
=sharedSysV
7093 cat >> confdefs.h
<<\EOF
7100 if test "$GCC" != "yes" ; then
7105 CREATE_SHARED
=sharedAIX
7106 cat >> confdefs.h
<<\EOF
7117 if test "x$GCC" = xyes
; then
7118 CFLAGS
="${CFLAGS} -Wall -Wno-unused -Wno-uninitialized -D_REENTRANT -DLEX_SCANNER -DHAVE_LIBDL"
7121 if test "x$GXX" = xyes
; then
7122 if test "$wxUSE_MOTIF" = 1; then
7123 CXXFLAGS
="${CXXFLAGS} -Wall -Wno-unused -D_REENTRANT"
7125 CXXFLAGS
="${CXXFLAGS} -Wall -D_REENTRANT"
7129 if test "$wxUSE_SHARED" != 1; then
7139 echo $OS >> system.list
7143 cat > confcache
<<\EOF
7144 # This file is a shell script that caches the results of configure
7145 # tests run on this system so they can be shared between configure
7146 # scripts and configure runs. It is not useful on other systems.
7147 # If it contains results you don't want to keep, you may remove or edit it.
7149 # By default, configure uses ./config.cache as the cache file,
7150 # creating it if it does not exist already. You can give configure
7151 # the --cache-file=FILE option to use a different cache file; that is
7152 # what configure does when it calls configure scripts in
7153 # subdirectories, so they share the cache.
7154 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7155 # config.status only pays attention to the cache file if you give it the
7156 # --recheck option to rerun configure.
7159 # The following way of writing the cache mishandles newlines in values,
7160 # but we know of no workaround that is simple, portable, and efficient.
7161 # So, don't put newlines in cache variables' values.
7162 # Ultrix sh set writes to stderr and can't be redirected directly,
7163 # and sets the high bit in the cache file unless we assign to the vars.
7165 case `(ac_space=' '; set) 2>&1` in
7167 # `set' does not quote correctly, so add quotes (double-quote substitution
7168 # turns \\\\ into \\, and sed turns \\ into \).
7170 -e "s/'/'\\\\''/g" \
7171 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7174 # `set' quotes correctly as required by POSIX, so do not add quotes.
7175 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7178 if cmp -s $cache_file confcache
; then
7181 if test -w $cache_file; then
7182 echo "updating cache $cache_file"
7183 cat confcache
> $cache_file
7185 echo "not updating unwritable cache $cache_file"
7190 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
7192 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7193 # Let make expand exec_prefix.
7194 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7196 # Any assignment to VPATH causes Sun make to only execute
7197 # the first set of double-colon rules, so remove it if not needed.
7198 # If there is a colon in the path, we need to keep it.
7199 if test "x$srcdir" = x.
; then
7200 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
7203 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
7205 DEFS
=-DHAVE_CONFIG_H
7207 # Without the "./", some shells look in PATH for config.status.
7208 : ${CONFIG_STATUS=./config.status}
7210 echo creating
$CONFIG_STATUS
7211 rm -f $CONFIG_STATUS
7212 cat > $CONFIG_STATUS <<EOF
7214 # Generated automatically by configure.
7215 # Run this file to recreate the current configuration.
7216 # This directory was configured as follows,
7217 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7219 # $0 $ac_configure_args
7221 # Compiler output produced by configure, useful for debugging
7222 # configure, is in ./config.log if it exists.
7224 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
7227 case "\$ac_option" in
7228 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7229 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
7230 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
7231 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
7232 echo "$CONFIG_STATUS generated by autoconf version 2.12"
7234 -help | --help | --hel | --he | --h)
7235 echo "\$ac_cs_usage"; exit 0 ;;
7236 *) echo "\$ac_cs_usage"; exit 1 ;;
7240 ac_given_srcdir=$srcdir
7241 ac_given_INSTALL="$INSTALL"
7243 trap 'rm -fr `echo "./setup/substit ./wx-config:./wx-config.in ./include/wx/gtk/setup.h:./setup/setup.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
7245 cat >> $CONFIG_STATUS <<EOF
7247 # Protect against being on the right side of a sed subst in config.status.
7248 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
7249 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
7252 s%@CFLAGS@%$CFLAGS%g
7253 s%@CPPFLAGS@%$CPPFLAGS%g
7254 s%@CXXFLAGS@%$CXXFLAGS%g
7256 s%@LDFLAGS@%$LDFLAGS%g
7258 s%@exec_prefix@%$exec_prefix%g
7259 s%@prefix@%$prefix%g
7260 s%@program_transform_name@%$program_transform_name%g
7261 s%@bindir@%$bindir%g
7262 s%@sbindir@%$sbindir%g
7263 s%@libexecdir@%$libexecdir%g
7264 s%@datadir@%$datadir%g
7265 s%@sysconfdir@%$sysconfdir%g
7266 s%@sharedstatedir@%$sharedstatedir%g
7267 s%@localstatedir@%$localstatedir%g
7268 s%@libdir@%$libdir%g
7269 s%@includedir@%$includedir%g
7270 s%@oldincludedir@%$oldincludedir%g
7271 s%@infodir@%$infodir%g
7272 s%@mandir@%$mandir%g
7273 s%@WXBASEDIR@%$WXBASEDIR%g
7277 s%@CXXCPP@%$CXXCPP%g
7278 s%@RANLIB@%$RANLIB%g
7280 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
7281 s%@INSTALL_DATA@%$INSTALL_DATA%g
7284 s%@X_CFLAGS@%$X_CFLAGS%g
7285 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
7286 s%@X_LIBS@%$X_LIBS%g
7287 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
7288 s%@GTK_JOYSTICK@%$GTK_JOYSTICK%g
7289 s%@LIBOBJS@%$LIBOBJS%g
7292 s%@LEXLIB@%$LEXLIB%g
7293 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
7294 s%@DL_LIBRARY@%$DL_LIBRARY%g
7296 s%@host_alias@%$host_alias%g
7297 s%@host_cpu@%$host_cpu%g
7298 s%@host_vendor@%$host_vendor%g
7299 s%@host_os@%$host_os%g
7300 s%@GTK_CONFIG@%$GTK_CONFIG%g
7301 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
7302 s%@GTK_LIBS@%$GTK_LIBS%g
7303 s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g
7304 s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g
7305 s%@GUI_TK_LINK@%$GUI_TK_LINK%g
7306 s%@WX_LINK@%$WX_LINK%g
7307 s%@TOOLKIT@%$TOOLKIT%g
7308 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
7309 s%@MAKEINCLUDE@%$MAKEINCLUDE%g
7310 s%@WXDEBUG@%$WXDEBUG%g
7311 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
7312 s%@EXTRA_LINK@%$EXTRA_LINK%g
7313 s%@PROFILE@%$PROFILE%g
7314 s%@OPTIMISE@%$OPTIMISE%g
7315 s%@Z_C_SRC@%$Z_C_SRC%g
7316 s%@PNG_C_SRC@%$PNG_C_SRC%g
7317 s%@JPEG_LINK@%$JPEG_LINK%g
7318 s%@IODBC_C_SRC@%$IODBC_C_SRC%g
7320 s%@UNIX_THREAD@%$UNIX_THREAD%g
7321 s%@THREADS_LINK@%$THREADS_LINK%g
7323 s%@PICFLAGS@%$PICFLAGS%g
7324 s%@CREATE_SHARED@%$CREATE_SHARED%g
7329 cat >> $CONFIG_STATUS <<\EOF
7331 # Split the substitutions into bite-sized pieces for seds with
7332 # small command number limits, like on Digital OSF/1 and HP-UX.
7333 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
7334 ac_file
=1 # Number of current file.
7335 ac_beg
=1 # First line for current file.
7336 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
7339 while $ac_more_lines; do
7340 if test $ac_beg -gt 1; then
7341 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
7343 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
7345 if test ! -s conftest.s
$ac_file; then
7347 rm -f conftest.s
$ac_file
7349 if test -z "$ac_sed_cmds"; then
7350 ac_sed_cmds
="sed -f conftest.s$ac_file"
7352 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
7354 ac_file
=`expr $ac_file + 1`
7356 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
7359 if test -z "$ac_sed_cmds"; then
7364 cat >> $CONFIG_STATUS <<EOF
7366 CONFIG_FILES=\${CONFIG_FILES-"./setup/substit ./wx-config:./wx-config.in"}
7368 cat >> $CONFIG_STATUS <<\EOF
7369 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
7370 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7372 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7373 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7374 *) ac_file_in
="${ac_file}.in" ;;
7377 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
7379 # Remove last slash and all that follows it. Not all systems have dirname.
7380 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7381 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
7382 # The file is in a subdirectory.
7383 test ! -d "$ac_dir" && mkdir "$ac_dir"
7384 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
7385 # A "../" for each directory in $ac_dir_suffix.
7386 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
7388 ac_dir_suffix
= ac_dots
=
7391 case "$ac_given_srcdir" in
7393 if test -z "$ac_dots"; then top_srcdir
=.
7394 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
7395 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
7397 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
7398 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
7401 case "$ac_given_INSTALL" in
7402 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
7403 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
7406 echo creating
"$ac_file"
7408 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
7410 *Makefile
*) ac_comsub
="1i\\
7411 # $configure_input" ;;
7415 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7417 s%@configure_input@%$configure_input%g
7418 s%@srcdir@%$srcdir%g
7419 s%@top_srcdir@%$top_srcdir%g
7420 s%@INSTALL@%$INSTALL%g
7421 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
7425 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7426 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7428 # ac_d sets the value in "#define NAME VALUE" lines.
7429 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7430 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
7433 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
7434 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7435 ac_uB
='\([ ]\)%\1#\2define\3'
7438 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7439 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7440 ac_eB
='$%\1#\2define\3'
7444 if test "${CONFIG_HEADERS+set}" != set; then
7446 cat >> $CONFIG_STATUS <<EOF
7447 CONFIG_HEADERS="./include/wx/gtk/setup.h:./setup/setup.hin"
7449 cat >> $CONFIG_STATUS <<\EOF
7451 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
7452 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7454 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7455 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7456 *) ac_file_in
="${ac_file}.in" ;;
7459 echo creating
$ac_file
7461 rm -f conftest.frag conftest.
in conftest.out
7462 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7463 cat $ac_file_inputs > conftest.
in
7467 # Transform confdefs.h into a sed script conftest.vals that substitutes
7468 # the proper values into config.h.in to produce config.h. And first:
7469 # Protect against being on the right side of a sed subst in config.status.
7470 # Protect against being in an unquoted here document in config.status.
7472 cat > conftest.hdr
<<\EOF
7475 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
7479 sed -n -f conftest.hdr confdefs.h > conftest.vals
7482 # This sed command replaces #undef with comments. This is necessary, for
7483 # example, in the case of _POSIX_SOURCE, which is predefined and required
7484 # on some systems where configure will not decide to define it.
7485 cat >> conftest.vals <<\EOF
7486 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
7489 # Break up conftest.vals because some shells have a limit on
7490 # the size of here documents, and old seds have small limits too.
7495 ac_lines=`grep -c . conftest.vals
`
7496 # grep -c gives empty output for an empty file on some AIX systems.
7497 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
7498 # Write a limited-size here document to conftest.frag.
7499 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
7500 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
7502 sed -f conftest.frag conftest.in > conftest.out
7504 mv conftest.out conftest.in
7506 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
7508 mv conftest.tail conftest.vals
7512 cat >> $CONFIG_STATUS <<\EOF
7513 rm -f conftest.frag conftest.h
7514 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
7515 cat conftest.in >> conftest.h
7517 if cmp -s $ac_file conftest.h 2>/dev/null; then
7518 echo "$ac_file is unchanged"
7521 # Remove last slash and all that follows it. Not all systems have dirname.
7522 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7523 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7524 # The file is in a subdirectory.
7525 test ! -d "$ac_dir" && mkdir "$ac_dir"
7528 mv conftest.h $ac_file
7533 cat >> $CONFIG_STATUS <<EOF
7536 cat >> $CONFIG_STATUS <<\EOF
7537 ./setup/general/createall
7540 chmod +x $CONFIG_STATUS
7541 rm -fr confdefs* $ac_clean_files
7542 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
7546 mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache