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-odbc use iODBC and wxODBC classes"
49 **--with-timedate use wxTime and wxDate classes"
51 **--with-intl use internationalization system"
53 **--with-config use wxConfig class"
55 **--with-streams use wxStream etc classes"
57 **--with-serial use class serialization"
59 **--with-afmfonts use Adobe Font Metric Font table"
61 **--with-PS-normalized use normalized PS fonts"
63 **--with-postscript use wxPostscriptDC device context"
65 **--with-unicode compile wxString with Unicode support"
67 **--with-wcsrtombs use wcsrtombs instead of (buggy in GNU libc5) wcstombs"
69 **--with-wxresources use wxWindows's resources"
71 **--with-prologio use Prolog IO library"
73 **--with-rpc use Prolog's remote procedure calls"
75 **--with-ipc use interprocess communication (wxSocket etc.)"
77 **--with-resources use X resources for saving information"
79 **--with-clipboard use wxClipboard classes"
81 **--with-tooltips use tooltips"
83 **--with-dnd use Drag'n'Drop classes"
85 **--with-mdi use multiple document interface architecture"
87 **--with-docview use document view architecture"
89 **--with-printarch use printing architecture"
91 **--with-help use help (using external browser at present)"
93 **--with-gtk-prefix=PFX Prefix where GTK is installed"
95 **--with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
97 # Initialize some variables set by options.
98 # The variables have the same names as the options, with
99 # dashes changed to underlines.
101 cache_file
=.
/config.cache
110 program_transform_name
=s
,x
,x
,
118 bindir
='${exec_prefix}/bin'
119 sbindir
='${exec_prefix}/sbin'
120 libexecdir
='${exec_prefix}/libexec'
121 datadir
='${prefix}/share'
122 sysconfdir
='${prefix}/etc'
123 sharedstatedir
='${prefix}/com'
124 localstatedir
='${prefix}/var'
125 libdir
='${exec_prefix}/lib'
126 includedir
='${prefix}/include'
127 oldincludedir
='/usr/include'
128 infodir
='${prefix}/info'
129 mandir
='${prefix}/man'
131 # Initialize some other variables.
134 # Maximum number of lines to put in a shell here document.
141 # If the previous option needs an argument, assign it.
142 if test -n "$ac_prev"; then
143 eval "$ac_prev=\$ac_option"
149 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
153 # Accept the important Cygnus configure options, so we can diagnose typos.
157 -bindir | --bindir | --bindi | --bind | --bin | --bi)
159 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
160 bindir
="$ac_optarg" ;;
162 -build | --build | --buil | --bui | --bu)
164 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
165 build
="$ac_optarg" ;;
167 -cache-file | --cache-file | --cache-fil | --cache-fi \
168 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
169 ac_prev
=cache_file
;;
170 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
171 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
172 cache_file
="$ac_optarg" ;;
174 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
176 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
178 datadir
="$ac_optarg" ;;
180 -disable-* | --disable-*)
181 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
182 # Reject names that are not valid shell variable names.
183 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
184 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
186 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
187 eval "enable_${ac_feature}=no" ;;
189 -enable-* | --enable-*)
190 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
191 # Reject names that are not valid shell variable names.
192 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
193 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
195 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
200 eval "enable_${ac_feature}='$ac_optarg'" ;;
202 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
203 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
204 | --exec | --exe | --ex)
205 ac_prev
=exec_prefix
;;
206 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
207 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
208 | --exec=* | --exe=* | --ex=*)
209 exec_prefix
="$ac_optarg" ;;
211 -gas | --gas | --ga | --g)
212 # Obsolete; use --with-gas.
215 -help | --help | --hel | --he)
216 # Omit some internal or obsolete options to make the list less imposing.
217 # This message is too long to be a string in the A/UX 3.1 sh.
219 Usage: configure [options] [host]
220 Options: [defaults in brackets after descriptions]
222 --cache-file=FILE cache test results in FILE
223 --help print this message
224 --no-create do not create output files
225 --quiet, --silent do not print \`checking...' messages
226 --version print the version of autoconf that created configure
227 Directory and file names:
228 --prefix=PREFIX install architecture-independent files in PREFIX
230 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
232 --bindir=DIR user executables in DIR [EPREFIX/bin]
233 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
234 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
235 --datadir=DIR read-only architecture-independent data in DIR
237 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
238 --sharedstatedir=DIR modifiable architecture-independent data in DIR
240 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
241 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
242 --includedir=DIR C header files in DIR [PREFIX/include]
243 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
244 --infodir=DIR info documentation in DIR [PREFIX/info]
245 --mandir=DIR man documentation in DIR [PREFIX/man]
246 --srcdir=DIR find the sources in DIR [configure dir or ..]
247 --program-prefix=PREFIX prepend PREFIX to installed program names
248 --program-suffix=SUFFIX append SUFFIX to installed program names
249 --program-transform-name=PROGRAM
250 run sed PROGRAM on installed program names
254 --build=BUILD configure for building on BUILD [BUILD=HOST]
255 --host=HOST configure for HOST [guessed]
256 --target=TARGET configure for TARGET [TARGET=HOST]
257 Features and packages:
258 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
259 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
260 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
261 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
262 --x-includes=DIR X include files are in DIR
263 --x-libraries=DIR X library files are in DIR
265 if test -n "$ac_help"; then
266 echo "--enable and --with options recognized:$ac_help"
270 -host | --host | --hos | --ho)
272 -host=* | --host=* | --hos=* | --ho=*)
275 -includedir | --includedir | --includedi | --included | --include \
276 | --includ | --inclu | --incl | --inc)
277 ac_prev
=includedir
;;
278 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
279 | --includ=* | --inclu=* | --incl=* | --inc=*)
280 includedir
="$ac_optarg" ;;
282 -infodir | --infodir | --infodi | --infod | --info | --inf)
284 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
285 infodir
="$ac_optarg" ;;
287 -libdir | --libdir | --libdi | --libd)
289 -libdir=* | --libdir=* | --libdi=* | --libd=*)
290 libdir
="$ac_optarg" ;;
292 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
293 | --libexe | --libex | --libe)
294 ac_prev
=libexecdir
;;
295 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
296 | --libexe=* | --libex=* | --libe=*)
297 libexecdir
="$ac_optarg" ;;
299 -localstatedir | --localstatedir | --localstatedi | --localstated \
300 | --localstate | --localstat | --localsta | --localst \
301 | --locals | --local | --loca | --loc | --lo)
302 ac_prev
=localstatedir
;;
303 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
304 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
305 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
306 localstatedir
="$ac_optarg" ;;
308 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
310 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
311 mandir
="$ac_optarg" ;;
314 # Obsolete; use --without-fp.
317 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
321 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
322 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
325 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
326 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
327 | --oldin | --oldi | --old | --ol | --o)
328 ac_prev
=oldincludedir
;;
329 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
330 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
331 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
332 oldincludedir
="$ac_optarg" ;;
334 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
336 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
337 prefix
="$ac_optarg" ;;
339 -program-prefix | --program-prefix | --program-prefi | --program-pref \
340 | --program-pre | --program-pr | --program-p)
341 ac_prev
=program_prefix
;;
342 -program-prefix=* | --program-prefix=* | --program-prefi=* \
343 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
344 program_prefix
="$ac_optarg" ;;
346 -program-suffix | --program-suffix | --program-suffi | --program-suff \
347 | --program-suf | --program-su | --program-s)
348 ac_prev
=program_suffix
;;
349 -program-suffix=* | --program-suffix=* | --program-suffi=* \
350 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
351 program_suffix
="$ac_optarg" ;;
353 -program-transform-name | --program-transform-name \
354 | --program-transform-nam | --program-transform-na \
355 | --program-transform-n | --program-transform- \
356 | --program-transform | --program-transfor \
357 | --program-transfo | --program-transf \
358 | --program-trans | --program-tran \
359 | --progr-tra | --program-tr | --program-t)
360 ac_prev
=program_transform_name
;;
361 -program-transform-name=* | --program-transform-name=* \
362 | --program-transform-nam=* | --program-transform-na=* \
363 | --program-transform-n=* | --program-transform-=* \
364 | --program-transform=* | --program-transfor=* \
365 | --program-transfo=* | --program-transf=* \
366 | --program-trans=* | --program-tran=* \
367 | --progr-tra=* | --program-tr=* | --program-t=*)
368 program_transform_name
="$ac_optarg" ;;
370 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
371 | -silent | --silent | --silen | --sile | --sil)
374 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
376 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
378 sbindir
="$ac_optarg" ;;
380 -sharedstatedir | --sharedstatedir | --sharedstatedi \
381 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
382 | --sharedst | --shareds | --shared | --share | --shar \
384 ac_prev
=sharedstatedir
;;
385 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
386 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
387 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
389 sharedstatedir
="$ac_optarg" ;;
391 -site | --site | --sit)
393 -site=* | --site=* | --sit=*)
396 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
398 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
399 srcdir
="$ac_optarg" ;;
401 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
402 | --syscon | --sysco | --sysc | --sys | --sy)
403 ac_prev
=sysconfdir
;;
404 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
405 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
406 sysconfdir
="$ac_optarg" ;;
408 -target | --target | --targe | --targ | --tar | --ta | --t)
410 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
411 target
="$ac_optarg" ;;
413 -v | -verbose | --verbose | --verbos | --verbo | --verb)
416 -version | --version | --versio | --versi | --vers)
417 echo "configure generated by autoconf version 2.12"
421 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
422 # Reject names that are not valid shell variable names.
423 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
424 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
426 ac_package
=`echo $ac_package| sed 's/-/_/g'`
431 eval "with_${ac_package}='$ac_optarg'" ;;
433 -without-* | --without-*)
434 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
435 # Reject names that are not valid shell variable names.
436 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
437 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
439 ac_package
=`echo $ac_package| sed 's/-/_/g'`
440 eval "with_${ac_package}=no" ;;
443 # Obsolete; use --with-x.
446 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
447 | --x-incl | --x-inc | --x-in | --x-i)
448 ac_prev
=x_includes
;;
449 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
450 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
451 x_includes
="$ac_optarg" ;;
453 -x-libraries | --x-libraries | --x-librarie | --x-librari \
454 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
455 ac_prev
=x_libraries
;;
456 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
457 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
458 x_libraries
="$ac_optarg" ;;
460 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
464 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
465 echo "configure: warning: $ac_option: invalid host type" 1>&2
467 if test "x$nonopt" != xNONE
; then
468 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
476 if test -n "$ac_prev"; then
477 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
480 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
482 # File descriptor usage:
485 # 2 errors and warnings
486 # 3 some systems may open it to /dev/tty
487 # 4 used on the Kubota Titan
488 # 6 checking for... messages and results
489 # 5 compiler messages saved in config.log
490 if test "$silent" = yes; then
498 This file contains any messages produced by compilers while
499 running configure, to aid debugging if configure makes a mistake.
502 # Strip out --no-create and --no-recursion so they do not pile up.
503 # Also quote any args containing shell metacharacters.
508 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
509 | --no-cr | --no-c) ;;
510 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
511 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
512 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
513 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
514 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
519 # Only set these to C if already set. These must not be set unconditionally
520 # because not all systems understand e.g. LANG=C (notably SCO).
521 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
522 # Non-C LC_CTYPE values break the ctype check.
523 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
524 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
525 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
526 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
528 # confdefs.h avoids OS command line length limits that DEFS can exceed.
529 rm -rf conftest
* confdefs.h
530 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
533 # A filename unique to this package, relative to the directory that
534 # configure is in, which we can look for to find out if srcdir is correct.
535 ac_unique_file
=configure.
in
537 # Find the source files, if location was not specified.
538 if test -z "$srcdir"; then
539 ac_srcdir_defaulted
=yes
540 # Try the directory containing this script, then its parent.
542 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
543 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
545 if test ! -r $srcdir/$ac_unique_file; then
549 ac_srcdir_defaulted
=no
551 if test ! -r $srcdir/$ac_unique_file; then
552 if test "$ac_srcdir_defaulted" = yes; then
553 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
555 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
558 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
560 # Prefer explicitly selected file to automatically selected ones.
561 if test -z "$CONFIG_SITE"; then
562 if test "x$prefix" != xNONE
; then
563 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
565 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
568 for ac_site_file
in $CONFIG_SITE; do
569 if test -r "$ac_site_file"; then
570 echo "loading site script $ac_site_file"
575 if test -r "$cache_file"; then
576 echo "loading cache $cache_file"
579 echo "creating cache $cache_file"
584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
585 ac_cpp
='$CPP $CPPFLAGS'
586 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
587 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
588 cross_compiling
=$ac_cv_prog_cc_cross
590 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
591 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
592 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
599 ac_n
= ac_c
='\c' ac_t
=
607 if test "x$OS" = "x"; then
609 { echo "configure: error: "The system variable OS has not been
set"
610 "please
set is everytime befor compiling on this system
"
611 "A good example
for this system would be
:"
612 "setenv OSTYPE
$UNAME for csh as a SHELL
"
613 "EXPORT OSTYPE
=$UNAME for sh as SHELL
"
614 "please
set this and restart again.
"
624 /usr/Motif1.2/include \
639 /usr/local/X11R6/include \
640 /usr/local/X11R5/include \
641 /usr/local/X11R4/include \
643 /usr/local/include/X11R6 \
644 /usr/local/include/X11R5 \
645 /usr/local/include/X11R4 \
649 /usr/local/X11/include \
650 /usr/local/include/X11 \
654 /usr/XFree86/include/X11 \
661 /usr/unsupported/include \
662 /usr/athena/include \
663 /usr/local/x11r5/include \
664 /usr/lpp/Xamples/include \
666 /usr/local/include/gtk \
667 /usr/local/include/Xm \
668 /usr/local/include/qt \
669 /usr/X11R6/include/Xm \
670 /usr/X11/include/Xm \
673 /usr/openwin/include \
674 /usr/openwin/share/include \
677 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` \
683 # Extract the first word of "gcc", so it can be a program name with args.
684 set dummy gcc
; ac_word
=$2
685 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
686 echo "configure:687: checking for $ac_word" >&5
687 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
688 echo $ac_n "(cached) $ac_c" 1>&6
690 if test -n "$CC"; then
691 ac_cv_prog_CC
="$CC" # Let the user override the test.
693 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
694 for ac_dir
in $PATH; do
695 test -z "$ac_dir" && ac_dir
=.
696 if test -f $ac_dir/$ac_word; then
705 if test -n "$CC"; then
706 echo "$ac_t""$CC" 1>&6
708 echo "$ac_t""no" 1>&6
711 if test -z "$CC"; then
712 # Extract the first word of "cc", so it can be a program name with args.
713 set dummy cc
; ac_word
=$2
714 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
715 echo "configure:716: checking for $ac_word" >&5
716 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
717 echo $ac_n "(cached) $ac_c" 1>&6
719 if test -n "$CC"; then
720 ac_cv_prog_CC
="$CC" # Let the user override the test.
722 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
724 for ac_dir
in $PATH; do
725 test -z "$ac_dir" && ac_dir
=.
726 if test -f $ac_dir/$ac_word; then
727 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
736 if test $ac_prog_rejected = yes; then
737 # We found a bogon in the path, so make sure we never use it.
738 set dummy
$ac_cv_prog_CC
740 if test $# -gt 0; then
741 # We chose a different compiler from the bogus one.
742 # However, it has the same basename, so the bogon will be chosen
743 # first if we set CC to just the basename; use the full file name.
745 set dummy
"$ac_dir/$ac_word" "$@"
753 if test -n "$CC"; then
754 echo "$ac_t""$CC" 1>&6
756 echo "$ac_t""no" 1>&6
759 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
762 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
763 echo "configure:764: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
766 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
767 ac_cpp
='$CPP $CPPFLAGS'
768 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
769 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
770 cross_compiling
=$ac_cv_prog_cc_cross
772 cat > conftest.
$ac_ext <<EOF
773 #line 774 "configure"
774 #include "confdefs.h"
777 if { (eval echo configure
:778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
778 ac_cv_prog_cc_works
=yes
779 # If we can't run a trivial program, we are probably using a cross compiler.
780 if (.
/conftest
; exit) 2>/dev
/null
; then
781 ac_cv_prog_cc_cross
=no
783 ac_cv_prog_cc_cross
=yes
786 echo "configure: failed program was:" >&5
787 cat conftest.
$ac_ext >&5
788 ac_cv_prog_cc_works
=no
792 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
793 if test $ac_cv_prog_cc_works = no
; then
794 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
796 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
797 echo "configure:798: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
798 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
799 cross_compiling
=$ac_cv_prog_cc_cross
801 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
802 echo "configure:803: checking whether we are using GNU C" >&5
803 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
804 echo $ac_n "(cached) $ac_c" 1>&6
806 cat > conftest.c
<<EOF
811 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
818 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
820 if test $ac_cv_prog_gcc = yes; then
822 ac_test_CFLAGS
="${CFLAGS+set}"
823 ac_save_CFLAGS
="$CFLAGS"
825 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
826 echo "configure:827: checking whether ${CC-cc} accepts -g" >&5
827 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
828 echo $ac_n "(cached) $ac_c" 1>&6
830 echo 'void f(){}' > conftest.c
831 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
840 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
841 if test "$ac_test_CFLAGS" = set; then
842 CFLAGS
="$ac_save_CFLAGS"
843 elif test $ac_cv_prog_cc_g = yes; then
850 test "${CFLAGS+set}" = set || CFLAGS
="-g"
854 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
856 if test "x$CC" != xcc
; then
857 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
858 echo "configure:859: checking whether $CC and cc understand -c and -o together" >&5
860 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
861 echo "configure:862: checking whether cc understands -c and -o together" >&5
863 set dummy
$CC; ac_cc
="`echo $2 |
864 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
865 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
866 echo $ac_n "(cached) $ac_c" 1>&6
868 echo 'foo(){}' > conftest.c
869 # Make sure it works both with $CC and with simple cc.
870 # We do the test twice because some compilers refuse to overwrite an
871 # existing .o file with -o, though they will create one.
872 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5'
873 if { (eval echo configure
:874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
874 test -f conftest.o
&& { (eval echo configure
:875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
876 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
877 if test "x$CC" != xcc
; then
878 # Test first that cc exists at all.
879 if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
880 ac_try
='cc -c conftest.c -o conftest.o 1>&5'
881 if { (eval echo configure
:882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
882 test -f conftest.o
&& { (eval echo configure
:883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
887 # cc exists but doesn't like -o.
888 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
893 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
898 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
899 echo "$ac_t""yes" 1>&6
901 echo "$ac_t""no" 1>&6
902 cat >> confdefs.h
<<\EOF
903 #define NO_MINUS_C_MINUS_O 1
908 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
909 echo "configure:910: checking how to run the C preprocessor" >&5
910 # On Suns, sometimes $CPP names a directory.
911 if test -n "$CPP" && test -d "$CPP"; then
914 if test -z "$CPP"; then
915 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
916 echo $ac_n "(cached) $ac_c" 1>&6
918 # This must be in double quotes, not single quotes, because CPP may get
919 # substituted into the Makefile and "${CC-cc}" will confuse make.
921 # On the NeXT, cc -E runs the code through the compiler's parser,
922 # not just through cpp.
923 cat > conftest.
$ac_ext <<EOF
924 #line 925 "configure"
925 #include "confdefs.h"
929 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
930 { (eval echo configure
:931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
931 ac_err
=`grep -v '^ *+' conftest.out`
932 if test -z "$ac_err"; then
936 echo "configure: failed program was:" >&5
937 cat conftest.
$ac_ext >&5
939 CPP
="${CC-cc} -E -traditional-cpp"
940 cat > conftest.
$ac_ext <<EOF
941 #line 942 "configure"
942 #include "confdefs.h"
946 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
947 { (eval echo configure
:948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
948 ac_err
=`grep -v '^ *+' conftest.out`
949 if test -z "$ac_err"; then
953 echo "configure: failed program was:" >&5
954 cat conftest.
$ac_ext >&5
961 ac_cv_prog_CPP
="$CPP"
963 CPP
="$ac_cv_prog_CPP"
965 ac_cv_prog_CPP
="$CPP"
967 echo "$ac_t""$CPP" 1>&6
969 if test $ac_cv_prog_gcc = yes; then
970 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
971 echo "configure:972: checking whether ${CC-cc} needs -traditional" >&5
972 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
973 echo $ac_n "(cached) $ac_c" 1>&6
975 ac_pattern
="Autoconf.*'x'"
976 cat > conftest.
$ac_ext <<EOF
977 #line 978 "configure"
978 #include "confdefs.h"
982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
983 egrep "$ac_pattern" >/dev
/null
2>&1; then
985 ac_cv_prog_gcc_traditional
=yes
988 ac_cv_prog_gcc_traditional
=no
993 if test $ac_cv_prog_gcc_traditional = no
; then
994 cat > conftest.
$ac_ext <<EOF
995 #line 996 "configure"
996 #include "confdefs.h"
1000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1001 egrep "$ac_pattern" >/dev
/null
2>&1; then
1003 ac_cv_prog_gcc_traditional
=yes
1010 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
1011 if test $ac_cv_prog_gcc_traditional = yes; then
1012 CC
="$CC -traditional"
1019 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1021 # Extract the first word of "$ac_prog", so it can be a program name with args.
1022 set dummy
$ac_prog; ac_word
=$2
1023 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1024 echo "configure:1025: checking for $ac_word" >&5
1025 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1026 echo $ac_n "(cached) $ac_c" 1>&6
1028 if test -n "$CXX"; then
1029 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1031 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1032 for ac_dir
in $PATH; do
1033 test -z "$ac_dir" && ac_dir
=.
1034 if test -f $ac_dir/$ac_word; then
1035 ac_cv_prog_CXX
="$ac_prog"
1042 CXX
="$ac_cv_prog_CXX"
1043 if test -n "$CXX"; then
1044 echo "$ac_t""$CXX" 1>&6
1046 echo "$ac_t""no" 1>&6
1049 test -n "$CXX" && break
1051 test -n "$CXX" || CXX
="gcc"
1054 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1055 echo "configure:1056: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1058 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1059 ac_cpp
='$CXXCPP $CPPFLAGS'
1060 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1061 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1062 cross_compiling
=$ac_cv_prog_cxx_cross
1064 cat > conftest.
$ac_ext <<EOF
1065 #line 1066 "configure"
1066 #include "confdefs.h"
1069 if { (eval echo configure
:1070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1070 ac_cv_prog_cxx_works
=yes
1071 # If we can't run a trivial program, we are probably using a cross compiler.
1072 if (.
/conftest
; exit) 2>/dev
/null
; then
1073 ac_cv_prog_cxx_cross
=no
1075 ac_cv_prog_cxx_cross
=yes
1078 echo "configure: failed program was:" >&5
1079 cat conftest.
$ac_ext >&5
1080 ac_cv_prog_cxx_works
=no
1084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1085 ac_cpp
='$CPP $CPPFLAGS'
1086 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1087 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1088 cross_compiling
=$ac_cv_prog_cc_cross
1090 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1091 if test $ac_cv_prog_cxx_works = no
; then
1092 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1094 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1095 echo "configure:1096: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1096 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1097 cross_compiling
=$ac_cv_prog_cxx_cross
1099 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1100 echo "configure:1101: checking whether we are using GNU C++" >&5
1101 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1102 echo $ac_n "(cached) $ac_c" 1>&6
1104 cat > conftest.C
<<EOF
1109 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
1116 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1118 if test $ac_cv_prog_gxx = yes; then
1120 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1121 ac_save_CXXFLAGS
="$CXXFLAGS"
1123 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1124 echo "configure:1125: checking whether ${CXX-g++} accepts -g" >&5
1125 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1126 echo $ac_n "(cached) $ac_c" 1>&6
1128 echo 'void f(){}' > conftest.cc
1129 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1130 ac_cv_prog_cxx_g
=yes
1138 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1139 if test "$ac_test_CXXFLAGS" = set; then
1140 CXXFLAGS
="$ac_save_CXXFLAGS"
1141 elif test $ac_cv_prog_cxx_g = yes; then
1148 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1151 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1152 echo "configure:1153: checking how to run the C++ preprocessor" >&5
1153 if test -z "$CXXCPP"; then
1154 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1155 echo $ac_n "(cached) $ac_c" 1>&6
1158 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1159 ac_cpp
='$CXXCPP $CPPFLAGS'
1160 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1161 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1162 cross_compiling
=$ac_cv_prog_cxx_cross
1163 CXXCPP
="${CXX-g++} -E"
1164 cat > conftest.
$ac_ext <<EOF
1165 #line 1166 "configure"
1166 #include "confdefs.h"
1169 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1170 { (eval echo configure
:1171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1171 ac_err
=`grep -v '^ *+' conftest.out`
1172 if test -z "$ac_err"; then
1176 echo "configure: failed program was:" >&5
1177 cat conftest.
$ac_ext >&5
1182 ac_cv_prog_CXXCPP
="$CXXCPP"
1184 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1185 ac_cpp
='$CPP $CPPFLAGS'
1186 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1187 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1188 cross_compiling
=$ac_cv_prog_cc_cross
1191 CXXCPP
="$ac_cv_prog_CXXCPP"
1192 echo "$ac_t""$CXXCPP" 1>&6
1195 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
1199 # Extract the first word of "ranlib", so it can be a program name with args.
1200 set dummy ranlib
; ac_word
=$2
1201 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1202 echo "configure:1203: checking for $ac_word" >&5
1203 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1204 echo $ac_n "(cached) $ac_c" 1>&6
1206 if test -n "$RANLIB"; then
1207 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1209 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1210 for ac_dir
in $PATH; do
1211 test -z "$ac_dir" && ac_dir
=.
1212 if test -f $ac_dir/$ac_word; then
1213 ac_cv_prog_RANLIB
="ranlib"
1218 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1221 RANLIB
="$ac_cv_prog_RANLIB"
1222 if test -n "$RANLIB"; then
1223 echo "$ac_t""$RANLIB" 1>&6
1225 echo "$ac_t""no" 1>&6
1229 # Extract the first word of "ar", so it can be a program name with args.
1230 set dummy
ar; ac_word
=$2
1231 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1232 echo "configure:1233: checking for $ac_word" >&5
1233 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1234 echo $ac_n "(cached) $ac_c" 1>&6
1236 if test -n "$AR"; then
1237 ac_cv_prog_AR
="$AR" # Let the user override the test.
1239 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1240 for ac_dir
in $PATH; do
1241 test -z "$ac_dir" && ac_dir
=.
1242 if test -f $ac_dir/$ac_word; then
1248 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1252 if test -n "$AR"; then
1253 echo "$ac_t""$AR" 1>&6
1255 echo "$ac_t""no" 1>&6
1260 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1261 if test -f $ac_dir/install-sh; then
1263 ac_install_sh
="$ac_aux_dir/install-sh -c"
1265 elif test -f $ac_dir/install.sh
; then
1267 ac_install_sh
="$ac_aux_dir/install.sh -c"
1271 if test -z "$ac_aux_dir"; then
1272 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1274 ac_config_guess
=$ac_aux_dir/config.guess
1275 ac_config_sub
=$ac_aux_dir/config.sub
1276 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1278 # Find a good install program. We prefer a C program (faster),
1279 # so one script is as good as another. But avoid the broken or
1280 # incompatible versions:
1281 # SysV /etc/install, /usr/sbin/install
1282 # SunOS /usr/etc/install
1283 # IRIX /sbin/install
1285 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1286 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1287 # ./install, which can be erroneously created by make from ./install.sh.
1288 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1289 echo "configure:1290: checking for a BSD compatible install" >&5
1290 if test -z "$INSTALL"; then
1291 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1292 echo $ac_n "(cached) $ac_c" 1>&6
1294 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1295 for ac_dir
in $PATH; do
1296 # Account for people who put trailing slashes in PATH elements.
1298 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
1300 # OSF1 and SCO ODT 3.0 have their own names for install.
1301 for ac_prog
in ginstall installbsd scoinst
install; do
1302 if test -f $ac_dir/$ac_prog; then
1303 if test $ac_prog = install &&
1304 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1305 # AIX install. It has an incompatible calling convention.
1306 # OSF/1 installbsd also uses dspmsg, but is usable.
1309 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1320 if test "${ac_cv_path_install+set}" = set; then
1321 INSTALL
="$ac_cv_path_install"
1323 # As a last resort, use the slow shell script. We don't cache a
1324 # path for INSTALL within a source directory, because that will
1325 # break other packages using the cache if that directory is
1326 # removed, or if the path is relative.
1327 INSTALL
="$ac_install_sh"
1330 echo "$ac_t""$INSTALL" 1>&6
1332 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1333 # It thinks the first close brace ends the variable substitution.
1334 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1336 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1339 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1340 echo "configure:1341: checking whether ln -s works" >&5
1341 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1342 echo $ac_n "(cached) $ac_c" 1>&6
1345 if ln -s X conftestdata
2>/dev
/null
1348 ac_cv_prog_LN_S
="ln -s"
1353 LN_S
="$ac_cv_prog_LN_S"
1354 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1355 echo "$ac_t""yes" 1>&6
1357 echo "$ac_t""no" 1>&6
1361 for ac_prog
in mawk gawk nawk
awk
1363 # Extract the first word of "$ac_prog", so it can be a program name with args.
1364 set dummy
$ac_prog; ac_word
=$2
1365 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1366 echo "configure:1367: checking for $ac_word" >&5
1367 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1368 echo $ac_n "(cached) $ac_c" 1>&6
1370 if test -n "$AWK"; then
1371 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1373 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1374 for ac_dir
in $PATH; do
1375 test -z "$ac_dir" && ac_dir
=.
1376 if test -f $ac_dir/$ac_word; then
1377 ac_cv_prog_AWK
="$ac_prog"
1384 AWK
="$ac_cv_prog_AWK"
1385 if test -n "$AWK"; then
1386 echo "$ac_t""$AWK" 1>&6
1388 echo "$ac_t""no" 1>&6
1391 test -n "$AWK" && break
1395 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
1396 echo "configure:1397: checking "make for VPATH support
"" >&5
1397 cat - << EOF > confMake
1403 if test ! -d sub
; then
1406 echo dummy
> sub
/file
1407 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
1409 rm -f sub
/file check final_file confMake
1411 if test "$RESULT" = 0; then
1412 echo "$ac_t""yes" 1>&6
1414 echo "$ac_t""no" 1>&6
1415 { echo "configure: error: You need a make-utility that is able to use the variable
1417 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
1421 # If we find X, set shell vars x_includes and x_libraries to the
1422 # paths, otherwise set no_x=yes.
1423 # Uses ac_ vars as temps to allow command line to override cache and checks.
1424 # --without-x overrides everything else, but does not touch the cache.
1425 echo $ac_n "checking for X""... $ac_c" 1>&6
1426 echo "configure:1427: checking for X" >&5
1428 # Check whether --with-x or --without-x was given.
1429 if test "${with_x+set}" = set; then
1434 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
1435 if test "x$with_x" = xno
; then
1436 # The user explicitly disabled X.
1439 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
1440 # Both variables are already set.
1443 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
1444 echo $ac_n "(cached) $ac_c" 1>&6
1446 # One or both of the vars are not set, and there is no cached value.
1447 ac_x_includes
=NO ac_x_libraries
=NO
1449 if mkdir conftestdir
; then
1451 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1452 cat > Imakefile
<<'EOF'
1454 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1456 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
1457 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1458 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
1459 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1460 for ac_extension
in a so sl
; do
1461 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
1462 test -f $ac_im_libdir/libX11.
$ac_extension; then
1463 ac_im_usrlibdir
=$ac_im_libdir; break
1466 # Screen out bogus values from the imake configuration. They are
1467 # bogus both because they are the default anyway, and because
1468 # using them would break gcc on systems where it needs fixed includes.
1469 case "$ac_im_incroot" in
1471 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
1473 case "$ac_im_usrlibdir" in
1475 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
1482 if test "$ac_x_includes" = NO
; then
1483 # Guess where to find include files, by looking for this one X11 .h file.
1484 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
1486 # First, try using that file with no special directory specified.
1487 cat > conftest.
$ac_ext <<EOF
1488 #line 1489 "configure"
1489 #include "confdefs.h"
1490 #include <$x_direct_test_include>
1492 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1493 { (eval echo configure
:1494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1494 ac_err
=`grep -v '^ *+' conftest.out`
1495 if test -z "$ac_err"; then
1497 # We can compile using X headers with no special include directory.
1501 echo "configure: failed program was:" >&5
1502 cat conftest.
$ac_ext >&5
1504 # Look for the header file in a standard set of common directories.
1505 # Check X11 before X11Rn because it is often a symlink to the current release.
1508 /usr
/X
11R
6/include \
1509 /usr
/X
11R
5/include \
1510 /usr
/X
11R
4/include \
1513 /usr
/include
/X11R6 \
1514 /usr
/include
/X11R5 \
1515 /usr
/include
/X11R4 \
1517 /usr
/local
/X
11/include \
1518 /usr
/local
/X
11R
6/include \
1519 /usr
/local
/X
11R
5/include \
1520 /usr
/local
/X
11R
4/include \
1522 /usr
/local
/include
/X11 \
1523 /usr
/local
/include
/X11R6 \
1524 /usr
/local
/include
/X11R5 \
1525 /usr
/local
/include
/X11R4 \
1529 /usr
/XFree
86/include
/X11 \
1532 /usr
/local
/include \
1533 /usr
/unsupported
/include \
1534 /usr
/athena
/include \
1535 /usr
/local
/x
11r
5/include \
1536 /usr
/lpp
/Xamples
/include \
1538 /usr
/openwin
/include \
1539 /usr
/openwin
/share
/include \
1542 if test -r "$ac_dir/$x_direct_test_include"; then
1543 ac_x_includes
=$ac_dir
1549 fi # $ac_x_includes = NO
1551 if test "$ac_x_libraries" = NO
; then
1552 # Check for the libraries.
1554 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
1555 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
1557 # See if we find them without any special options.
1558 # Don't add to $LIBS permanently.
1559 ac_save_LIBS
="$LIBS"
1560 LIBS
="-l$x_direct_test_library $LIBS"
1561 cat > conftest.
$ac_ext <<EOF
1562 #line 1563 "configure"
1563 #include "confdefs.h"
1566 ${x_direct_test_function}()
1569 if { (eval echo configure
:1570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1571 LIBS
="$ac_save_LIBS"
1572 # We can link X programs with no special library path.
1575 echo "configure: failed program was:" >&5
1576 cat conftest.
$ac_ext >&5
1578 LIBS
="$ac_save_LIBS"
1579 # First see if replacing the include by lib works.
1580 # Check X11 before X11Rn because it is often a symlink to the current release.
1581 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
1592 /usr
/local
/X
11/lib \
1593 /usr
/local
/X
11R
6/lib \
1594 /usr
/local
/X
11R
5/lib \
1595 /usr
/local
/X
11R
4/lib \
1597 /usr
/local
/lib
/X11 \
1598 /usr
/local
/lib
/X11R6 \
1599 /usr
/local
/lib
/X11R5 \
1600 /usr
/local
/lib
/X11R4 \
1604 /usr
/XFree
86/lib
/X11 \
1608 /usr
/unsupported
/lib \
1610 /usr
/local
/x
11r
5/lib \
1611 /usr
/lpp
/Xamples
/lib \
1615 /usr
/openwin
/share
/lib \
1618 for ac_extension
in a so sl
; do
1619 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
1620 ac_x_libraries
=$ac_dir
1627 fi # $ac_x_libraries = NO
1629 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
1630 # Didn't find X anywhere. Cache the known absence of X.
1631 ac_cv_have_x
="have_x=no"
1633 # Record where we found X for the cache.
1634 ac_cv_have_x
="have_x=yes \
1635 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1639 eval "$ac_cv_have_x"
1642 if test "$have_x" != yes; then
1643 echo "$ac_t""$have_x" 1>&6
1646 # If each of the values was on the command line, it overrides each guess.
1647 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
1648 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
1649 # Update the cache value to reflect the command line values.
1650 ac_cv_have_x
="have_x=yes \
1651 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1652 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
1655 if test "$no_x" = yes; then
1656 # Not all programs may use this symbol, but it does not hurt to define it.
1657 cat >> confdefs.h
<<\EOF
1658 #define X_DISPLAY_MISSING 1
1661 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
1663 if test -n "$x_includes"; then
1664 X_CFLAGS
="$X_CFLAGS -I$x_includes"
1667 # It would also be nice to do this for all -L options, not just this one.
1668 if test -n "$x_libraries"; then
1669 X_LIBS
="$X_LIBS -L$x_libraries"
1670 # For Solaris; some versions of Sun CC require a space after -R and
1671 # others require no space. Words are not sufficient . . . .
1672 case "`(uname -sr) 2>/dev/null`" in
1674 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
1675 echo "configure:1676: checking whether -R must be followed by a space" >&5
1676 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
1677 cat > conftest.
$ac_ext <<EOF
1678 #line 1679 "configure"
1679 #include "confdefs.h"
1685 if { (eval echo configure
:1686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1689 echo "configure: failed program was:" >&5
1690 cat conftest.
$ac_ext >&5
1695 if test $ac_R_nospace = yes; then
1696 echo "$ac_t""no" 1>&6
1697 X_LIBS
="$X_LIBS -R$x_libraries"
1699 LIBS
="$ac_xsave_LIBS -R $x_libraries"
1700 cat > conftest.
$ac_ext <<EOF
1701 #line 1702 "configure"
1702 #include "confdefs.h"
1708 if { (eval echo configure
:1709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1712 echo "configure: failed program was:" >&5
1713 cat conftest.
$ac_ext >&5
1718 if test $ac_R_space = yes; then
1719 echo "$ac_t""yes" 1>&6
1720 X_LIBS
="$X_LIBS -R $x_libraries"
1722 echo "$ac_t""neither works" 1>&6
1725 LIBS
="$ac_xsave_LIBS"
1729 # Check for system-dependent libraries X programs must link with.
1730 # Do this before checking for the system-independent R6 libraries
1731 # (-lICE), since we may need -lsocket or whatever for X linking.
1733 if test "$ISC" = yes; then
1734 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
1736 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
1737 # libraries were built with DECnet support. And karl@cs.umb.edu says
1738 # the Alpha needs dnet_stub (dnet does not exist).
1739 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
1740 echo "configure:1741: checking for dnet_ntoa in -ldnet" >&5
1741 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1742 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1743 echo $ac_n "(cached) $ac_c" 1>&6
1745 ac_save_LIBS
="$LIBS"
1747 cat > conftest.
$ac_ext <<EOF
1748 #line 1749 "configure"
1749 #include "confdefs.h"
1750 /* Override any gcc2 internal prototype to avoid an error. */
1751 /* We use char because int might match the return type of a gcc2
1752 builtin and then its argument prototype would still apply. */
1759 if { (eval echo configure
:1760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1761 eval "ac_cv_lib_$ac_lib_var=yes"
1763 echo "configure: failed program was:" >&5
1764 cat conftest.
$ac_ext >&5
1766 eval "ac_cv_lib_$ac_lib_var=no"
1769 LIBS
="$ac_save_LIBS"
1772 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1773 echo "$ac_t""yes" 1>&6
1774 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
1776 echo "$ac_t""no" 1>&6
1779 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
1780 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
1781 echo "configure:1782: checking for dnet_ntoa in -ldnet_stub" >&5
1782 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1783 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1784 echo $ac_n "(cached) $ac_c" 1>&6
1786 ac_save_LIBS
="$LIBS"
1787 LIBS
="-ldnet_stub $LIBS"
1788 cat > conftest.
$ac_ext <<EOF
1789 #line 1790 "configure"
1790 #include "confdefs.h"
1791 /* Override any gcc2 internal prototype to avoid an error. */
1792 /* We use char because int might match the return type of a gcc2
1793 builtin and then its argument prototype would still apply. */
1800 if { (eval echo configure
:1801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1802 eval "ac_cv_lib_$ac_lib_var=yes"
1804 echo "configure: failed program was:" >&5
1805 cat conftest.
$ac_ext >&5
1807 eval "ac_cv_lib_$ac_lib_var=no"
1810 LIBS
="$ac_save_LIBS"
1813 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1814 echo "$ac_t""yes" 1>&6
1815 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
1817 echo "$ac_t""no" 1>&6
1822 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
1823 # to get the SysV transport functions.
1824 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
1826 # The nsl library prevents programs from opening the X display
1827 # on Irix 5.2, according to dickey@clark.net.
1828 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1829 echo "configure:1830: checking for gethostbyname" >&5
1830 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1831 echo $ac_n "(cached) $ac_c" 1>&6
1833 cat > conftest.
$ac_ext <<EOF
1834 #line 1835 "configure"
1835 #include "confdefs.h"
1836 /* System header to define __stub macros and hopefully few prototypes,
1837 which can conflict with char gethostbyname(); below. */
1839 /* Override any gcc2 internal prototype to avoid an error. */
1840 /* We use char because int might match the return type of a gcc2
1841 builtin and then its argument prototype would still apply. */
1842 char gethostbyname();
1846 /* The GNU C library defines this for functions which it implements
1847 to always fail with ENOSYS. Some functions are actually named
1848 something starting with __ and the normal name is an alias. */
1849 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
1857 if { (eval echo configure
:1858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1859 eval "ac_cv_func_gethostbyname=yes"
1861 echo "configure: failed program was:" >&5
1862 cat conftest.
$ac_ext >&5
1864 eval "ac_cv_func_gethostbyname=no"
1869 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1870 echo "$ac_t""yes" 1>&6
1873 echo "$ac_t""no" 1>&6
1876 if test $ac_cv_func_gethostbyname = no
; then
1877 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1878 echo "configure:1879: checking for gethostbyname in -lnsl" >&5
1879 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1880 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1881 echo $ac_n "(cached) $ac_c" 1>&6
1883 ac_save_LIBS
="$LIBS"
1885 cat > conftest.
$ac_ext <<EOF
1886 #line 1887 "configure"
1887 #include "confdefs.h"
1888 /* Override any gcc2 internal prototype to avoid an error. */
1889 /* We use char because int might match the return type of a gcc2
1890 builtin and then its argument prototype would still apply. */
1891 char gethostbyname();
1897 if { (eval echo configure
:1898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1899 eval "ac_cv_lib_$ac_lib_var=yes"
1901 echo "configure: failed program was:" >&5
1902 cat conftest.
$ac_ext >&5
1904 eval "ac_cv_lib_$ac_lib_var=no"
1907 LIBS
="$ac_save_LIBS"
1910 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1911 echo "$ac_t""yes" 1>&6
1912 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
1914 echo "$ac_t""no" 1>&6
1919 # lieder@skyler.mavd.honeywell.com says without -lsocket,
1920 # socket/setsockopt and other routines are undefined under SCO ODT
1921 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
1922 # on later versions), says simon@lia.di.epfl.ch: it contains
1923 # gethostby* variants that don't use the nameserver (or something).
1924 # -lsocket must be given before -lnsl if both are needed.
1925 # We assume that if connect needs -lnsl, so does gethostbyname.
1926 echo $ac_n "checking for connect""... $ac_c" 1>&6
1927 echo "configure:1928: checking for connect" >&5
1928 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1929 echo $ac_n "(cached) $ac_c" 1>&6
1931 cat > conftest.
$ac_ext <<EOF
1932 #line 1933 "configure"
1933 #include "confdefs.h"
1934 /* System header to define __stub macros and hopefully few prototypes,
1935 which can conflict with char connect(); below. */
1937 /* Override any gcc2 internal prototype to avoid an error. */
1938 /* We use char because int might match the return type of a gcc2
1939 builtin and then its argument prototype would still apply. */
1944 /* The GNU C library defines this for functions which it implements
1945 to always fail with ENOSYS. Some functions are actually named
1946 something starting with __ and the normal name is an alias. */
1947 #if defined (__stub_connect) || defined (__stub___connect)
1955 if { (eval echo configure
:1956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1957 eval "ac_cv_func_connect=yes"
1959 echo "configure: failed program was:" >&5
1960 cat conftest.
$ac_ext >&5
1962 eval "ac_cv_func_connect=no"
1967 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
1968 echo "$ac_t""yes" 1>&6
1971 echo "$ac_t""no" 1>&6
1974 if test $ac_cv_func_connect = no
; then
1975 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
1976 echo "configure:1977: checking for connect in -lsocket" >&5
1977 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
1978 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1979 echo $ac_n "(cached) $ac_c" 1>&6
1981 ac_save_LIBS
="$LIBS"
1982 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
1983 cat > conftest.
$ac_ext <<EOF
1984 #line 1985 "configure"
1985 #include "confdefs.h"
1986 /* Override any gcc2 internal prototype to avoid an error. */
1987 /* We use char because int might match the return type of a gcc2
1988 builtin and then its argument prototype would still apply. */
1995 if { (eval echo configure
:1996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1997 eval "ac_cv_lib_$ac_lib_var=yes"
1999 echo "configure: failed program was:" >&5
2000 cat conftest.
$ac_ext >&5
2002 eval "ac_cv_lib_$ac_lib_var=no"
2005 LIBS
="$ac_save_LIBS"
2008 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2009 echo "$ac_t""yes" 1>&6
2010 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
2012 echo "$ac_t""no" 1>&6
2017 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2018 echo $ac_n "checking for remove""... $ac_c" 1>&6
2019 echo "configure:2020: checking for remove" >&5
2020 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2021 echo $ac_n "(cached) $ac_c" 1>&6
2023 cat > conftest.
$ac_ext <<EOF
2024 #line 2025 "configure"
2025 #include "confdefs.h"
2026 /* System header to define __stub macros and hopefully few prototypes,
2027 which can conflict with char remove(); below. */
2029 /* Override any gcc2 internal prototype to avoid an error. */
2030 /* We use char because int might match the return type of a gcc2
2031 builtin and then its argument prototype would still apply. */
2036 /* The GNU C library defines this for functions which it implements
2037 to always fail with ENOSYS. Some functions are actually named
2038 something starting with __ and the normal name is an alias. */
2039 #if defined (__stub_remove) || defined (__stub___remove)
2047 if { (eval echo configure
:2048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2049 eval "ac_cv_func_remove=yes"
2051 echo "configure: failed program was:" >&5
2052 cat conftest.
$ac_ext >&5
2054 eval "ac_cv_func_remove=no"
2059 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
2060 echo "$ac_t""yes" 1>&6
2063 echo "$ac_t""no" 1>&6
2066 if test $ac_cv_func_remove = no
; then
2067 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2068 echo "configure:2069: checking for remove in -lposix" >&5
2069 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2070 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2071 echo $ac_n "(cached) $ac_c" 1>&6
2073 ac_save_LIBS
="$LIBS"
2074 LIBS
="-lposix $LIBS"
2075 cat > conftest.
$ac_ext <<EOF
2076 #line 2077 "configure"
2077 #include "confdefs.h"
2078 /* Override any gcc2 internal prototype to avoid an error. */
2079 /* We use char because int might match the return type of a gcc2
2080 builtin and then its argument prototype would still apply. */
2087 if { (eval echo configure
:2088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2089 eval "ac_cv_lib_$ac_lib_var=yes"
2091 echo "configure: failed program was:" >&5
2092 cat conftest.
$ac_ext >&5
2094 eval "ac_cv_lib_$ac_lib_var=no"
2097 LIBS
="$ac_save_LIBS"
2100 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2101 echo "$ac_t""yes" 1>&6
2102 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
2104 echo "$ac_t""no" 1>&6
2109 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2110 echo $ac_n "checking for shmat""... $ac_c" 1>&6
2111 echo "configure:2112: checking for shmat" >&5
2112 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2113 echo $ac_n "(cached) $ac_c" 1>&6
2115 cat > conftest.
$ac_ext <<EOF
2116 #line 2117 "configure"
2117 #include "confdefs.h"
2118 /* System header to define __stub macros and hopefully few prototypes,
2119 which can conflict with char shmat(); below. */
2121 /* Override any gcc2 internal prototype to avoid an error. */
2122 /* We use char because int might match the return type of a gcc2
2123 builtin and then its argument prototype would still apply. */
2128 /* The GNU C library defines this for functions which it implements
2129 to always fail with ENOSYS. Some functions are actually named
2130 something starting with __ and the normal name is an alias. */
2131 #if defined (__stub_shmat) || defined (__stub___shmat)
2139 if { (eval echo configure
:2140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2141 eval "ac_cv_func_shmat=yes"
2143 echo "configure: failed program was:" >&5
2144 cat conftest.
$ac_ext >&5
2146 eval "ac_cv_func_shmat=no"
2151 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
2152 echo "$ac_t""yes" 1>&6
2155 echo "$ac_t""no" 1>&6
2158 if test $ac_cv_func_shmat = no
; then
2159 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2160 echo "configure:2161: checking for shmat in -lipc" >&5
2161 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2162 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2163 echo $ac_n "(cached) $ac_c" 1>&6
2165 ac_save_LIBS
="$LIBS"
2167 cat > conftest.
$ac_ext <<EOF
2168 #line 2169 "configure"
2169 #include "confdefs.h"
2170 /* Override any gcc2 internal prototype to avoid an error. */
2171 /* We use char because int might match the return type of a gcc2
2172 builtin and then its argument prototype would still apply. */
2179 if { (eval echo configure
:2180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2181 eval "ac_cv_lib_$ac_lib_var=yes"
2183 echo "configure: failed program was:" >&5
2184 cat conftest.
$ac_ext >&5
2186 eval "ac_cv_lib_$ac_lib_var=no"
2189 LIBS
="$ac_save_LIBS"
2192 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2193 echo "$ac_t""yes" 1>&6
2194 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
2196 echo "$ac_t""no" 1>&6
2202 # Check for libraries that X11R6 Xt/Xaw programs need.
2203 ac_save_LDFLAGS
="$LDFLAGS"
2204 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
2205 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
2206 # check for ICE first), but we must link in the order -lSM -lICE or
2207 # we get undefined symbols. So assume we have SM if we have ICE.
2208 # These have to be linked with before -lX11, unlike the other
2209 # libraries we check for below, so use a different variable.
2210 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2211 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2212 echo "configure:2213: checking for IceConnectionNumber in -lICE" >&5
2213 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2214 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2215 echo $ac_n "(cached) $ac_c" 1>&6
2217 ac_save_LIBS
="$LIBS"
2219 cat > conftest.
$ac_ext <<EOF
2220 #line 2221 "configure"
2221 #include "confdefs.h"
2222 /* Override any gcc2 internal prototype to avoid an error. */
2223 /* We use char because int might match the return type of a gcc2
2224 builtin and then its argument prototype would still apply. */
2225 char IceConnectionNumber();
2228 IceConnectionNumber()
2231 if { (eval echo configure
:2232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2233 eval "ac_cv_lib_$ac_lib_var=yes"
2235 echo "configure: failed program was:" >&5
2236 cat conftest.
$ac_ext >&5
2238 eval "ac_cv_lib_$ac_lib_var=no"
2241 LIBS
="$ac_save_LIBS"
2244 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2245 echo "$ac_t""yes" 1>&6
2246 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
2248 echo "$ac_t""no" 1>&6
2251 LDFLAGS
="$ac_save_LDFLAGS"
2257 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
2259 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2260 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2261 echo "configure:2262: checking for $ac_hdr that defines DIR" >&5
2262 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2263 echo $ac_n "(cached) $ac_c" 1>&6
2265 cat > conftest.
$ac_ext <<EOF
2266 #line 2267 "configure"
2267 #include "confdefs.h"
2268 #include <sys/types.h>
2274 if { (eval echo configure
:2275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2276 eval "ac_cv_header_dirent_$ac_safe=yes"
2278 echo "configure: failed program was:" >&5
2279 cat conftest.
$ac_ext >&5
2281 eval "ac_cv_header_dirent_$ac_safe=no"
2285 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
2286 echo "$ac_t""yes" 1>&6
2287 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2288 cat >> confdefs.h
<<EOF
2289 #define $ac_tr_hdr 1
2291 ac_header_dirent
=$ac_hdr; break
2293 echo "$ac_t""no" 1>&6
2296 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2297 if test $ac_header_dirent = dirent.h
; then
2298 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2299 echo "configure:2300: checking for opendir in -ldir" >&5
2300 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2301 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2302 echo $ac_n "(cached) $ac_c" 1>&6
2304 ac_save_LIBS
="$LIBS"
2306 cat > conftest.
$ac_ext <<EOF
2307 #line 2308 "configure"
2308 #include "confdefs.h"
2309 /* Override any gcc2 internal prototype to avoid an error. */
2310 /* We use char because int might match the return type of a gcc2
2311 builtin and then its argument prototype would still apply. */
2318 if { (eval echo configure
:2319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2320 eval "ac_cv_lib_$ac_lib_var=yes"
2322 echo "configure: failed program was:" >&5
2323 cat conftest.
$ac_ext >&5
2325 eval "ac_cv_lib_$ac_lib_var=no"
2328 LIBS
="$ac_save_LIBS"
2331 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2332 echo "$ac_t""yes" 1>&6
2335 echo "$ac_t""no" 1>&6
2339 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2340 echo "configure:2341: checking for opendir in -lx" >&5
2341 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2342 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2343 echo $ac_n "(cached) $ac_c" 1>&6
2345 ac_save_LIBS
="$LIBS"
2347 cat > conftest.
$ac_ext <<EOF
2348 #line 2349 "configure"
2349 #include "confdefs.h"
2350 /* Override any gcc2 internal prototype to avoid an error. */
2351 /* We use char because int might match the return type of a gcc2
2352 builtin and then its argument prototype would still apply. */
2359 if { (eval echo configure
:2360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2361 eval "ac_cv_lib_$ac_lib_var=yes"
2363 echo "configure: failed program was:" >&5
2364 cat conftest.
$ac_ext >&5
2366 eval "ac_cv_lib_$ac_lib_var=no"
2369 LIBS
="$ac_save_LIBS"
2372 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2373 echo "$ac_t""yes" 1>&6
2376 echo "$ac_t""no" 1>&6
2381 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2382 echo "configure:2383: checking for ANSI C header files" >&5
2383 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2384 echo $ac_n "(cached) $ac_c" 1>&6
2386 cat > conftest.
$ac_ext <<EOF
2387 #line 2388 "configure"
2388 #include "confdefs.h"
2394 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2395 { (eval echo configure
:2396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2396 ac_err
=`grep -v '^ *+' conftest.out`
2397 if test -z "$ac_err"; then
2399 ac_cv_header_stdc
=yes
2402 echo "configure: failed program was:" >&5
2403 cat conftest.
$ac_ext >&5
2405 ac_cv_header_stdc
=no
2409 if test $ac_cv_header_stdc = yes; then
2410 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2411 cat > conftest.
$ac_ext <<EOF
2412 #line 2413 "configure"
2413 #include "confdefs.h"
2416 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2417 egrep "memchr" >/dev
/null
2>&1; then
2421 ac_cv_header_stdc
=no
2427 if test $ac_cv_header_stdc = yes; then
2428 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2429 cat > conftest.
$ac_ext <<EOF
2430 #line 2431 "configure"
2431 #include "confdefs.h"
2434 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2435 egrep "free" >/dev
/null
2>&1; then
2439 ac_cv_header_stdc
=no
2445 if test $ac_cv_header_stdc = yes; then
2446 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2447 if test "$cross_compiling" = yes; then
2450 cat > conftest.
$ac_ext <<EOF
2451 #line 2452 "configure"
2452 #include "confdefs.h"
2454 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2455 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2456 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2457 int main () { int i; for (i = 0; i < 256; i++)
2458 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2462 if { (eval echo configure
:2463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2466 echo "configure: failed program was:" >&5
2467 cat conftest.
$ac_ext >&5
2469 ac_cv_header_stdc
=no
2477 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2478 if test $ac_cv_header_stdc = yes; then
2479 cat >> confdefs.h
<<\EOF
2480 #define STDC_HEADERS 1
2485 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2486 echo "configure:2487: checking for sys/wait.h that is POSIX.1 compatible" >&5
2487 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2488 echo $ac_n "(cached) $ac_c" 1>&6
2490 cat > conftest.
$ac_ext <<EOF
2491 #line 2492 "configure"
2492 #include "confdefs.h"
2493 #include <sys/types.h>
2494 #include <sys/wait.h>
2496 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2499 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2504 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2507 if { (eval echo configure
:2508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2509 ac_cv_header_sys_wait_h
=yes
2511 echo "configure: failed program was:" >&5
2512 cat conftest.
$ac_ext >&5
2514 ac_cv_header_sys_wait_h
=no
2519 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2520 if test $ac_cv_header_sys_wait_h = yes; then
2521 cat >> confdefs.h
<<\EOF
2522 #define HAVE_SYS_WAIT_H 1
2527 for ac_hdr
in fcntl.h
2529 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2530 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2531 echo "configure:2532: checking for $ac_hdr" >&5
2532 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2533 echo $ac_n "(cached) $ac_c" 1>&6
2535 cat > conftest.
$ac_ext <<EOF
2536 #line 2537 "configure"
2537 #include "confdefs.h"
2540 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2541 { (eval echo configure
:2542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2542 ac_err
=`grep -v '^ *+' conftest.out`
2543 if test -z "$ac_err"; then
2545 eval "ac_cv_header_$ac_safe=yes"
2548 echo "configure: failed program was:" >&5
2549 cat conftest.
$ac_ext >&5
2551 eval "ac_cv_header_$ac_safe=no"
2555 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2556 echo "$ac_t""yes" 1>&6
2557 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2558 cat >> confdefs.h
<<EOF
2559 #define $ac_tr_hdr 1
2563 echo "$ac_t""no" 1>&6
2567 for ac_hdr
in limits.h
2569 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2570 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2571 echo "configure:2572: checking for $ac_hdr" >&5
2572 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2573 echo $ac_n "(cached) $ac_c" 1>&6
2575 cat > conftest.
$ac_ext <<EOF
2576 #line 2577 "configure"
2577 #include "confdefs.h"
2580 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2581 { (eval echo configure
:2582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2582 ac_err
=`grep -v '^ *+' conftest.out`
2583 if test -z "$ac_err"; then
2585 eval "ac_cv_header_$ac_safe=yes"
2588 echo "configure: failed program was:" >&5
2589 cat conftest.
$ac_ext >&5
2591 eval "ac_cv_header_$ac_safe=no"
2595 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2596 echo "$ac_t""yes" 1>&6
2597 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2598 cat >> confdefs.h
<<EOF
2599 #define $ac_tr_hdr 1
2603 echo "$ac_t""no" 1>&6
2607 for ac_hdr
in sys
/file.h
2609 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2610 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2611 echo "configure:2612: checking for $ac_hdr" >&5
2612 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2613 echo $ac_n "(cached) $ac_c" 1>&6
2615 cat > conftest.
$ac_ext <<EOF
2616 #line 2617 "configure"
2617 #include "confdefs.h"
2620 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2621 { (eval echo configure
:2622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2622 ac_err
=`grep -v '^ *+' conftest.out`
2623 if test -z "$ac_err"; then
2625 eval "ac_cv_header_$ac_safe=yes"
2628 echo "configure: failed program was:" >&5
2629 cat conftest.
$ac_ext >&5
2631 eval "ac_cv_header_$ac_safe=no"
2635 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2636 echo "$ac_t""yes" 1>&6
2637 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2638 cat >> confdefs.h
<<EOF
2639 #define $ac_tr_hdr 1
2643 echo "$ac_t""no" 1>&6
2647 for ac_hdr
in sys
/time.h
2649 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2650 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2651 echo "configure:2652: checking for $ac_hdr" >&5
2652 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2653 echo $ac_n "(cached) $ac_c" 1>&6
2655 cat > conftest.
$ac_ext <<EOF
2656 #line 2657 "configure"
2657 #include "confdefs.h"
2660 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2661 { (eval echo configure
:2662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2662 ac_err
=`grep -v '^ *+' conftest.out`
2663 if test -z "$ac_err"; then
2665 eval "ac_cv_header_$ac_safe=yes"
2668 echo "configure: failed program was:" >&5
2669 cat conftest.
$ac_ext >&5
2671 eval "ac_cv_header_$ac_safe=no"
2675 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2676 echo "$ac_t""yes" 1>&6
2677 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2678 cat >> confdefs.h
<<EOF
2679 #define $ac_tr_hdr 1
2683 echo "$ac_t""no" 1>&6
2687 for ac_hdr
in unistd.h
2689 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2690 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2691 echo "configure:2692: checking for $ac_hdr" >&5
2692 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2693 echo $ac_n "(cached) $ac_c" 1>&6
2695 cat > conftest.
$ac_ext <<EOF
2696 #line 2697 "configure"
2697 #include "confdefs.h"
2700 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2701 { (eval echo configure
:2702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2702 ac_err
=`grep -v '^ *+' conftest.out`
2703 if test -z "$ac_err"; then
2705 eval "ac_cv_header_$ac_safe=yes"
2708 echo "configure: failed program was:" >&5
2709 cat conftest.
$ac_ext >&5
2711 eval "ac_cv_header_$ac_safe=no"
2715 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2716 echo "$ac_t""yes" 1>&6
2717 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2718 cat >> confdefs.h
<<EOF
2719 #define $ac_tr_hdr 1
2723 echo "$ac_t""no" 1>&6
2727 for ac_hdr
in fnmatch.h
2729 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2730 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2731 echo "configure:2732: checking for $ac_hdr" >&5
2732 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2733 echo $ac_n "(cached) $ac_c" 1>&6
2735 cat > conftest.
$ac_ext <<EOF
2736 #line 2737 "configure"
2737 #include "confdefs.h"
2740 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2741 { (eval echo configure
:2742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2742 ac_err
=`grep -v '^ *+' conftest.out`
2743 if test -z "$ac_err"; then
2745 eval "ac_cv_header_$ac_safe=yes"
2748 echo "configure: failed program was:" >&5
2749 cat conftest.
$ac_ext >&5
2751 eval "ac_cv_header_$ac_safe=no"
2755 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2756 echo "$ac_t""yes" 1>&6
2757 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2758 cat >> confdefs.h
<<EOF
2759 #define $ac_tr_hdr 1
2763 echo "$ac_t""no" 1>&6
2767 for ac_hdr
in linux
/joystick.h
2769 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2770 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2771 echo "configure:2772: checking for $ac_hdr" >&5
2772 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2773 echo $ac_n "(cached) $ac_c" 1>&6
2775 cat > conftest.
$ac_ext <<EOF
2776 #line 2777 "configure"
2777 #include "confdefs.h"
2780 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2781 { (eval echo configure
:2782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2782 ac_err
=`grep -v '^ *+' conftest.out`
2783 if test -z "$ac_err"; then
2785 eval "ac_cv_header_$ac_safe=yes"
2788 echo "configure: failed program was:" >&5
2789 cat conftest.
$ac_ext >&5
2791 eval "ac_cv_header_$ac_safe=no"
2795 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2796 echo "$ac_t""yes" 1>&6
2797 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2798 cat >> confdefs.h
<<EOF
2799 #define $ac_tr_hdr 1
2803 echo "$ac_t""no" 1>&6
2808 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
2809 GTK_JOYSTICK
="gtk/joystick.cpp"
2813 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
2814 echo "configure:2815: checking for vprintf" >&5
2815 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
2816 echo $ac_n "(cached) $ac_c" 1>&6
2818 cat > conftest.
$ac_ext <<EOF
2819 #line 2820 "configure"
2820 #include "confdefs.h"
2821 /* System header to define __stub macros and hopefully few prototypes,
2822 which can conflict with char vprintf(); below. */
2824 /* Override any gcc2 internal prototype to avoid an error. */
2825 /* We use char because int might match the return type of a gcc2
2826 builtin and then its argument prototype would still apply. */
2831 /* The GNU C library defines this for functions which it implements
2832 to always fail with ENOSYS. Some functions are actually named
2833 something starting with __ and the normal name is an alias. */
2834 #if defined (__stub_vprintf) || defined (__stub___vprintf)
2842 if { (eval echo configure
:2843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2844 eval "ac_cv_func_vprintf=yes"
2846 echo "configure: failed program was:" >&5
2847 cat conftest.
$ac_ext >&5
2849 eval "ac_cv_func_vprintf=no"
2854 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
2855 echo "$ac_t""yes" 1>&6
2856 cat >> confdefs.h
<<\EOF
2857 #define HAVE_VPRINTF 1
2861 echo "$ac_t""no" 1>&6
2864 if test "$ac_cv_func_vprintf" != yes; then
2865 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
2866 echo "configure:2867: checking for _doprnt" >&5
2867 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
2868 echo $ac_n "(cached) $ac_c" 1>&6
2870 cat > conftest.
$ac_ext <<EOF
2871 #line 2872 "configure"
2872 #include "confdefs.h"
2873 /* System header to define __stub macros and hopefully few prototypes,
2874 which can conflict with char _doprnt(); below. */
2876 /* Override any gcc2 internal prototype to avoid an error. */
2877 /* We use char because int might match the return type of a gcc2
2878 builtin and then its argument prototype would still apply. */
2883 /* The GNU C library defines this for functions which it implements
2884 to always fail with ENOSYS. Some functions are actually named
2885 something starting with __ and the normal name is an alias. */
2886 #if defined (__stub__doprnt) || defined (__stub____doprnt)
2894 if { (eval echo configure
:2895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2896 eval "ac_cv_func__doprnt=yes"
2898 echo "configure: failed program was:" >&5
2899 cat conftest.
$ac_ext >&5
2901 eval "ac_cv_func__doprnt=no"
2906 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
2907 echo "$ac_t""yes" 1>&6
2908 cat >> confdefs.h
<<\EOF
2909 #define HAVE_DOPRNT 1
2913 echo "$ac_t""no" 1>&6
2918 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
2919 echo "configure:2920: checking for vsnprintf" >&5
2920 if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
2921 echo $ac_n "(cached) $ac_c" 1>&6
2923 cat > conftest.
$ac_ext <<EOF
2924 #line 2925 "configure"
2925 #include "confdefs.h"
2926 /* System header to define __stub macros and hopefully few prototypes,
2927 which can conflict with char vsnprintf(); below. */
2929 /* Override any gcc2 internal prototype to avoid an error. */
2930 /* We use char because int might match the return type of a gcc2
2931 builtin and then its argument prototype would still apply. */
2936 /* The GNU C library defines this for functions which it implements
2937 to always fail with ENOSYS. Some functions are actually named
2938 something starting with __ and the normal name is an alias. */
2939 #if defined (__stub_vsnprintf) || defined (__stub___vsnprintf)
2947 if { (eval echo configure
:2948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2949 eval "ac_cv_func_vsnprintf=yes"
2951 echo "configure: failed program was:" >&5
2952 cat conftest.
$ac_ext >&5
2954 eval "ac_cv_func_vsnprintf=no"
2959 if eval "test \"`echo '$ac_cv_func_'vsnprintf`\" = yes"; then
2960 echo "$ac_t""yes" 1>&6
2963 echo "$ac_t""no" 1>&6
2969 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2970 ac_cpp
='$CXXCPP $CPPFLAGS'
2971 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2972 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2973 cross_compiling
=$ac_cv_prog_cxx_cross
2975 for ac_hdr
in iostream
2977 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2978 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2979 echo "configure:2980: checking for $ac_hdr" >&5
2980 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2981 echo $ac_n "(cached) $ac_c" 1>&6
2983 cat > conftest.
$ac_ext <<EOF
2984 #line 2985 "configure"
2985 #include "confdefs.h"
2988 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2989 { (eval echo configure
:2990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2990 ac_err
=`grep -v '^ *+' conftest.out`
2991 if test -z "$ac_err"; then
2993 eval "ac_cv_header_$ac_safe=yes"
2996 echo "configure: failed program was:" >&5
2997 cat conftest.
$ac_ext >&5
2999 eval "ac_cv_header_$ac_safe=no"
3003 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3004 echo "$ac_t""yes" 1>&6
3005 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3006 cat >> confdefs.h
<<EOF
3007 #define $ac_tr_hdr 1
3011 echo "$ac_t""no" 1>&6
3015 if test "x$HAVE_IOSTREAM" = "x" ; then
3016 cat >> confdefs.h
<<\EOF
3017 #define wxUSE_IOSTREAMH 1
3022 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3023 ac_cpp
='$CPP $CPPFLAGS'
3024 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3025 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3026 cross_compiling
=$ac_cv_prog_cc_cross
3029 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3030 echo "configure:3031: checking for uid_t in sys/types.h" >&5
3031 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3032 echo $ac_n "(cached) $ac_c" 1>&6
3034 cat > conftest.
$ac_ext <<EOF
3035 #line 3036 "configure"
3036 #include "confdefs.h"
3037 #include <sys/types.h>
3039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3040 egrep "uid_t" >/dev
/null
2>&1; then
3042 ac_cv_type_uid_t
=yes
3051 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3052 if test $ac_cv_type_uid_t = no
; then
3053 cat >> confdefs.h
<<\EOF
3057 cat >> confdefs.h
<<\EOF
3063 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
3064 echo "configure:3065: checking type of array argument to getgroups" >&5
3065 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
3066 echo $ac_n "(cached) $ac_c" 1>&6
3068 if test "$cross_compiling" = yes; then
3069 ac_cv_type_getgroups
=cross
3071 cat > conftest.
$ac_ext <<EOF
3072 #line 3073 "configure"
3073 #include "confdefs.h"
3075 /* Thanks to Mike Rendell for this test. */
3076 #include <sys/types.h>
3079 #define MAX(x, y) ((x) > (y) ? (x) : (y))
3084 union { gid_t gval; long lval; } val;
3087 for (i = 0; i < NGID; i++)
3088 gidset[i] = val.gval;
3089 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
3091 /* Exit non-zero if getgroups seems to require an array of ints. This
3092 happens when gid_t is short but getgroups modifies an array of ints. */
3093 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
3097 if { (eval echo configure
:3098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3099 ac_cv_type_getgroups
=gid_t
3101 echo "configure: failed program was:" >&5
3102 cat conftest.
$ac_ext >&5
3104 ac_cv_type_getgroups
=int
3109 if test $ac_cv_type_getgroups = cross
; then
3110 cat > conftest.
$ac_ext <<EOF
3111 #line 3112 "configure"
3112 #include "confdefs.h"
3115 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3116 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
3118 ac_cv_type_getgroups
=gid_t
3121 ac_cv_type_getgroups
=int
3128 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
3129 cat >> confdefs.h
<<EOF
3130 #define GETGROUPS_T $ac_cv_type_getgroups
3134 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
3135 echo "configure:3136: checking for mode_t" >&5
3136 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
3137 echo $ac_n "(cached) $ac_c" 1>&6
3139 cat > conftest.
$ac_ext <<EOF
3140 #line 3141 "configure"
3141 #include "confdefs.h"
3142 #include <sys/types.h>
3148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3149 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3151 ac_cv_type_mode_t
=yes
3154 ac_cv_type_mode_t
=no
3159 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
3160 if test $ac_cv_type_mode_t = no
; then
3161 cat >> confdefs.h
<<\EOF
3167 echo $ac_n "checking for off_t""... $ac_c" 1>&6
3168 echo "configure:3169: checking for off_t" >&5
3169 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
3170 echo $ac_n "(cached) $ac_c" 1>&6
3172 cat > conftest.
$ac_ext <<EOF
3173 #line 3174 "configure"
3174 #include "confdefs.h"
3175 #include <sys/types.h>
3181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3182 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3184 ac_cv_type_off_t
=yes
3192 echo "$ac_t""$ac_cv_type_off_t" 1>&6
3193 if test $ac_cv_type_off_t = no
; then
3194 cat >> confdefs.h
<<\EOF
3200 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
3201 echo "configure:3202: checking for pid_t" >&5
3202 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
3203 echo $ac_n "(cached) $ac_c" 1>&6
3205 cat > conftest.
$ac_ext <<EOF
3206 #line 3207 "configure"
3207 #include "confdefs.h"
3208 #include <sys/types.h>
3214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3215 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3217 ac_cv_type_pid_t
=yes
3225 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
3226 if test $ac_cv_type_pid_t = no
; then
3227 cat >> confdefs.h
<<\EOF
3233 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3234 echo "configure:3235: checking return type of signal handlers" >&5
3235 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
3236 echo $ac_n "(cached) $ac_c" 1>&6
3238 cat > conftest.
$ac_ext <<EOF
3239 #line 3240 "configure"
3240 #include "confdefs.h"
3241 #include <sys/types.h>
3247 extern "C" void (*signal (int, void (*)(int)))(int);
3249 void (*signal ()) ();
3256 if { (eval echo configure
:3257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3258 ac_cv_type_signal
=void
3260 echo "configure: failed program was:" >&5
3261 cat conftest.
$ac_ext >&5
3263 ac_cv_type_signal
=int
3268 echo "$ac_t""$ac_cv_type_signal" 1>&6
3269 cat >> confdefs.h
<<EOF
3270 #define RETSIGTYPE $ac_cv_type_signal
3274 echo $ac_n "checking for size_t""... $ac_c" 1>&6
3275 echo "configure:3276: checking for size_t" >&5
3276 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
3277 echo $ac_n "(cached) $ac_c" 1>&6
3279 cat > conftest.
$ac_ext <<EOF
3280 #line 3281 "configure"
3281 #include "confdefs.h"
3282 #include <sys/types.h>
3288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3289 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3291 ac_cv_type_size_t
=yes
3294 ac_cv_type_size_t
=no
3299 echo "$ac_t""$ac_cv_type_size_t" 1>&6
3300 if test $ac_cv_type_size_t = no
; then
3301 cat >> confdefs.h
<<\EOF
3302 #define size_t unsigned
3307 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3308 echo "configure:3309: checking for uid_t in sys/types.h" >&5
3309 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3310 echo $ac_n "(cached) $ac_c" 1>&6
3312 cat > conftest.
$ac_ext <<EOF
3313 #line 3314 "configure"
3314 #include "confdefs.h"
3315 #include <sys/types.h>
3317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3318 egrep "uid_t" >/dev
/null
2>&1; then
3320 ac_cv_type_uid_t
=yes
3329 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3330 if test $ac_cv_type_uid_t = no
; then
3331 cat >> confdefs.h
<<\EOF
3335 cat >> confdefs.h
<<\EOF
3343 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
3344 echo "configure:3345: checking whether stat file-mode macros are broken" >&5
3345 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
3346 echo $ac_n "(cached) $ac_c" 1>&6
3348 cat > conftest.
$ac_ext <<EOF
3349 #line 3350 "configure"
3350 #include "confdefs.h"
3351 #include <sys/types.h>
3352 #include <sys/stat.h>
3354 #if defined(S_ISBLK) && defined(S_IFDIR)
3355 # if S_ISBLK (S_IFDIR)
3360 #if defined(S_ISBLK) && defined(S_IFCHR)
3361 # if S_ISBLK (S_IFCHR)
3366 #if defined(S_ISLNK) && defined(S_IFREG)
3367 # if S_ISLNK (S_IFREG)
3372 #if defined(S_ISSOCK) && defined(S_IFREG)
3373 # if S_ISSOCK (S_IFREG)
3379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3380 egrep "You lose" >/dev
/null
2>&1; then
3382 ac_cv_header_stat_broken
=yes
3385 ac_cv_header_stat_broken
=no
3391 echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
3392 if test $ac_cv_header_stat_broken = yes; then
3393 cat >> confdefs.h
<<\EOF
3394 #define STAT_MACROS_BROKEN 1
3399 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3400 echo "configure:3401: checking whether time.h and sys/time.h may both be included" >&5
3401 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3402 echo $ac_n "(cached) $ac_c" 1>&6
3404 cat > conftest.
$ac_ext <<EOF
3405 #line 3406 "configure"
3406 #include "confdefs.h"
3407 #include <sys/types.h>
3408 #include <sys/time.h>
3414 if { (eval echo configure
:3415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3416 ac_cv_header_time
=yes
3418 echo "configure: failed program was:" >&5
3419 cat conftest.
$ac_ext >&5
3421 ac_cv_header_time
=no
3426 echo "$ac_t""$ac_cv_header_time" 1>&6
3427 if test $ac_cv_header_time = yes; then
3428 cat >> confdefs.h
<<\EOF
3429 #define TIME_WITH_SYS_TIME 1
3434 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
3435 echo "configure:3436: checking for st_blksize in struct stat" >&5
3436 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
3437 echo $ac_n "(cached) $ac_c" 1>&6
3439 cat > conftest.
$ac_ext <<EOF
3440 #line 3441 "configure"
3441 #include "confdefs.h"
3442 #include <sys/types.h>
3443 #include <sys/stat.h>
3445 struct stat s; s.st_blksize;
3448 if { (eval echo configure
:3449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3450 ac_cv_struct_st_blksize
=yes
3452 echo "configure: failed program was:" >&5
3453 cat conftest.
$ac_ext >&5
3455 ac_cv_struct_st_blksize
=no
3460 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
3461 if test $ac_cv_struct_st_blksize = yes; then
3462 cat >> confdefs.h
<<\EOF
3463 #define HAVE_ST_BLKSIZE 1
3468 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
3469 echo "configure:3470: checking for st_blocks in struct stat" >&5
3470 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
3471 echo $ac_n "(cached) $ac_c" 1>&6
3473 cat > conftest.
$ac_ext <<EOF
3474 #line 3475 "configure"
3475 #include "confdefs.h"
3476 #include <sys/types.h>
3477 #include <sys/stat.h>
3479 struct stat s; s.st_blocks;
3482 if { (eval echo configure
:3483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3484 ac_cv_struct_st_blocks
=yes
3486 echo "configure: failed program was:" >&5
3487 cat conftest.
$ac_ext >&5
3489 ac_cv_struct_st_blocks
=no
3494 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6
3495 if test $ac_cv_struct_st_blocks = yes; then
3496 cat >> confdefs.h
<<\EOF
3497 #define HAVE_ST_BLOCKS 1
3501 LIBOBJS
="$LIBOBJS fileblocks.o"
3504 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
3505 echo "configure:3506: checking for st_rdev in struct stat" >&5
3506 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
3507 echo $ac_n "(cached) $ac_c" 1>&6
3509 cat > conftest.
$ac_ext <<EOF
3510 #line 3511 "configure"
3511 #include "confdefs.h"
3512 #include <sys/types.h>
3513 #include <sys/stat.h>
3515 struct stat s; s.st_rdev;
3518 if { (eval echo configure
:3519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3520 ac_cv_struct_st_rdev
=yes
3522 echo "configure: failed program was:" >&5
3523 cat conftest.
$ac_ext >&5
3525 ac_cv_struct_st_rdev
=no
3530 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6
3531 if test $ac_cv_struct_st_rdev = yes; then
3532 cat >> confdefs.h
<<\EOF
3533 #define HAVE_ST_RDEV 1
3538 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3539 echo "configure:3540: checking whether struct tm is in sys/time.h or time.h" >&5
3540 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
3541 echo $ac_n "(cached) $ac_c" 1>&6
3543 cat > conftest.
$ac_ext <<EOF
3544 #line 3545 "configure"
3545 #include "confdefs.h"
3546 #include <sys/types.h>
3549 struct tm *tp; tp->tm_sec;
3552 if { (eval echo configure
:3553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3554 ac_cv_struct_tm
=time.h
3556 echo "configure: failed program was:" >&5
3557 cat conftest.
$ac_ext >&5
3559 ac_cv_struct_tm
=sys
/time.h
3564 echo "$ac_t""$ac_cv_struct_tm" 1>&6
3565 if test $ac_cv_struct_tm = sys
/time.h
; then
3566 cat >> confdefs.h
<<\EOF
3567 #define TM_IN_SYS_TIME 1
3572 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3573 echo "configure:3574: checking for tm_zone in struct tm" >&5
3574 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
3575 echo $ac_n "(cached) $ac_c" 1>&6
3577 cat > conftest.
$ac_ext <<EOF
3578 #line 3579 "configure"
3579 #include "confdefs.h"
3580 #include <sys/types.h>
3581 #include <$ac_cv_struct_tm>
3583 struct tm tm; tm.tm_zone;
3586 if { (eval echo configure
:3587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3588 ac_cv_struct_tm_zone
=yes
3590 echo "configure: failed program was:" >&5
3591 cat conftest.
$ac_ext >&5
3593 ac_cv_struct_tm_zone
=no
3598 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
3599 if test "$ac_cv_struct_tm_zone" = yes; then
3600 cat >> confdefs.h
<<\EOF
3601 #define HAVE_TM_ZONE 1
3605 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3606 echo "configure:3607: checking for tzname" >&5
3607 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
3608 echo $ac_n "(cached) $ac_c" 1>&6
3610 cat > conftest.
$ac_ext <<EOF
3611 #line 3612 "configure"
3612 #include "confdefs.h"
3614 #ifndef tzname /* For SGI. */
3615 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3621 if { (eval echo configure
:3622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3623 ac_cv_var_tzname
=yes
3625 echo "configure: failed program was:" >&5
3626 cat conftest.
$ac_ext >&5
3633 echo "$ac_t""$ac_cv_var_tzname" 1>&6
3634 if test $ac_cv_var_tzname = yes; then
3635 cat >> confdefs.h
<<\EOF
3636 #define HAVE_TZNAME 1
3644 echo $ac_n "checking for working const""... $ac_c" 1>&6
3645 echo "configure:3646: checking for working const" >&5
3646 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3647 echo $ac_n "(cached) $ac_c" 1>&6
3649 cat > conftest.
$ac_ext <<EOF
3650 #line 3651 "configure"
3651 #include "confdefs.h"
3655 /* Ultrix mips cc rejects this. */
3656 typedef int charset[2]; const charset x;
3657 /* SunOS 4.1.1 cc rejects this. */
3658 char const *const *ccp;
3660 /* NEC SVR4.0.2 mips cc rejects this. */
3661 struct point {int x, y;};
3662 static struct point const zero = {0,0};
3663 /* AIX XL C 1.02.0.0 rejects this.
3664 It does not let you subtract one const X* pointer from another in an arm
3665 of an if-expression whose if-part is not a constant expression */
3666 const char *g = "string";
3667 ccp = &g + (g ? g-g : 0);
3668 /* HPUX 7.0 cc rejects these. */
3671 ccp = (char const *const *) p;
3672 { /* SCO 3.2v4 cc rejects this. */
3674 char const *s = 0 ? (char *) 0 : (char const *) 0;
3678 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3680 const int *foo = &x[0];
3683 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3684 typedef const int *iptr;
3688 { /* AIX XL C 1.02.0.0 rejects this saying
3689 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3690 struct s { int j; const int *ap[3]; };
3691 struct s *b; b->j = 5;
3693 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3699 if { (eval echo configure
:3700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3703 echo "configure: failed program was:" >&5
3704 cat conftest.
$ac_ext >&5
3711 echo "$ac_t""$ac_cv_c_const" 1>&6
3712 if test $ac_cv_c_const = no
; then
3713 cat >> confdefs.h
<<\EOF
3719 echo $ac_n "checking for inline""... $ac_c" 1>&6
3720 echo "configure:3721: checking for inline" >&5
3721 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3722 echo $ac_n "(cached) $ac_c" 1>&6
3725 for ac_kw
in inline __inline__ __inline
; do
3726 cat > conftest.
$ac_ext <<EOF
3727 #line 3728 "configure"
3728 #include "confdefs.h"
3734 if { (eval echo configure
:3735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3736 ac_cv_c_inline
=$ac_kw; break
3738 echo "configure: failed program was:" >&5
3739 cat conftest.
$ac_ext >&5
3746 echo "$ac_t""$ac_cv_c_inline" 1>&6
3747 case "$ac_cv_c_inline" in
3749 no
) cat >> confdefs.h
<<\EOF
3753 *) cat >> confdefs.h
<<EOF
3754 #define inline $ac_cv_c_inline
3759 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
3760 echo "configure:3761: checking whether char is unsigned" >&5
3761 if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
3762 echo $ac_n "(cached) $ac_c" 1>&6
3764 if test "$GCC" = yes; then
3765 # GCC predefines this symbol on systems where it applies.
3766 cat > conftest.
$ac_ext <<EOF
3767 #line 3768 "configure"
3768 #include "confdefs.h"
3769 #ifdef __CHAR_UNSIGNED__
3774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3775 egrep "yes" >/dev
/null
2>&1; then
3777 ac_cv_c_char_unsigned
=yes
3780 ac_cv_c_char_unsigned
=no
3785 if test "$cross_compiling" = yes; then
3786 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3788 cat > conftest.
$ac_ext <<EOF
3789 #line 3790 "configure"
3790 #include "confdefs.h"
3791 /* volatile prevents gcc2 from optimizing the test away on sparcs. */
3792 #if !defined(__STDC__) || __STDC__ != 1
3796 volatile char c = 255; exit(c < 0);
3799 if { (eval echo configure
:3800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3801 ac_cv_c_char_unsigned
=yes
3803 echo "configure: failed program was:" >&5
3804 cat conftest.
$ac_ext >&5
3806 ac_cv_c_char_unsigned
=no
3814 echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
3815 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
3816 cat >> confdefs.h
<<\EOF
3817 #define __CHAR_UNSIGNED__ 1
3822 echo $ac_n "checking for long double""... $ac_c" 1>&6
3823 echo "configure:3824: checking for long double" >&5
3824 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
3825 echo $ac_n "(cached) $ac_c" 1>&6
3827 if test "$GCC" = yes; then
3828 ac_cv_c_long_double
=yes
3830 if test "$cross_compiling" = yes; then
3831 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3833 cat > conftest.
$ac_ext <<EOF
3834 #line 3835 "configure"
3835 #include "confdefs.h"
3837 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
3838 long double foo = 0.0;
3839 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
3840 exit(sizeof(long double) < sizeof(double)); }
3842 if { (eval echo configure
:3843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3844 ac_cv_c_long_double
=yes
3846 echo "configure: failed program was:" >&5
3847 cat conftest.
$ac_ext >&5
3849 ac_cv_c_long_double
=no
3857 echo "$ac_t""$ac_cv_c_long_double" 1>&6
3858 if test $ac_cv_c_long_double = yes; then
3859 cat >> confdefs.h
<<\EOF
3860 #define HAVE_LONG_DOUBLE 1
3866 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3867 echo "configure:3868: checking whether byte ordering is bigendian" >&5
3868 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
3869 echo $ac_n "(cached) $ac_c" 1>&6
3871 ac_cv_c_bigendian
=unknown
3872 # See if sys/param.h defines the BYTE_ORDER macro.
3873 cat > conftest.
$ac_ext <<EOF
3874 #line 3875 "configure"
3875 #include "confdefs.h"
3876 #include <sys/types.h>
3877 #include <sys/param.h>
3880 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3885 if { (eval echo configure
:3886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3887 # It does; now see whether it defined to BIG_ENDIAN or not.
3888 cat > conftest.
$ac_ext <<EOF
3889 #line 3890 "configure"
3890 #include "confdefs.h"
3891 #include <sys/types.h>
3892 #include <sys/param.h>
3895 #if BYTE_ORDER != BIG_ENDIAN
3900 if { (eval echo configure
:3901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3902 ac_cv_c_bigendian
=yes
3904 echo "configure: failed program was:" >&5
3905 cat conftest.
$ac_ext >&5
3907 ac_cv_c_bigendian
=no
3911 echo "configure: failed program was:" >&5
3912 cat conftest.
$ac_ext >&5
3915 if test $ac_cv_c_bigendian = unknown
; then
3916 if test "$cross_compiling" = yes; then
3917 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3919 cat > conftest.
$ac_ext <<EOF
3920 #line 3921 "configure"
3921 #include "confdefs.h"
3923 /* Are we little or big endian? From Harbison&Steele. */
3927 char c[sizeof (long)];
3930 exit (u.c[sizeof (long) - 1] == 1);
3933 if { (eval echo configure
:3934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3935 ac_cv_c_bigendian
=no
3937 echo "configure: failed program was:" >&5
3938 cat conftest.
$ac_ext >&5
3940 ac_cv_c_bigendian
=yes
3948 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
3949 if test $ac_cv_c_bigendian = yes; then
3950 cat >> confdefs.h
<<\EOF
3951 #define WORDS_BIGENDIAN 1
3957 echo $ac_n "checking size of int *""... $ac_c" 1>&6
3958 echo "configure:3959: checking size of int *" >&5
3959 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
3960 echo $ac_n "(cached) $ac_c" 1>&6
3962 if test "$cross_compiling" = yes; then
3963 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3965 cat > conftest.
$ac_ext <<EOF
3966 #line 3967 "configure"
3967 #include "confdefs.h"
3971 FILE *f=fopen("conftestval", "w");
3973 fprintf(f, "%d\n", sizeof(int *));
3977 if { (eval echo configure
:3978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3979 ac_cv_sizeof_int_p
=`cat conftestval`
3981 echo "configure: failed program was:" >&5
3982 cat conftest.
$ac_ext >&5
3984 ac_cv_sizeof_int_p
=0
3990 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
3991 cat >> confdefs.h
<<EOF
3992 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
3996 echo $ac_n "checking size of int""... $ac_c" 1>&6
3997 echo "configure:3998: checking size of int" >&5
3998 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
3999 echo $ac_n "(cached) $ac_c" 1>&6
4001 if test "$cross_compiling" = yes; then
4002 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4004 cat > conftest.
$ac_ext <<EOF
4005 #line 4006 "configure"
4006 #include "confdefs.h"
4010 FILE *f=fopen("conftestval", "w");
4012 fprintf(f, "%d\n", sizeof(int));
4016 if { (eval echo configure
:4017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4018 ac_cv_sizeof_int
=`cat conftestval`
4020 echo "configure: failed program was:" >&5
4021 cat conftest.
$ac_ext >&5
4029 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
4030 cat >> confdefs.h
<<EOF
4031 #define SIZEOF_INT $ac_cv_sizeof_int
4035 echo $ac_n "checking size of long""... $ac_c" 1>&6
4036 echo "configure:4037: checking size of long" >&5
4037 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
4038 echo $ac_n "(cached) $ac_c" 1>&6
4040 if test "$cross_compiling" = yes; then
4041 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4043 cat > conftest.
$ac_ext <<EOF
4044 #line 4045 "configure"
4045 #include "confdefs.h"
4049 FILE *f=fopen("conftestval", "w");
4051 fprintf(f, "%d\n", sizeof(long));
4055 if { (eval echo configure
:4056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4057 ac_cv_sizeof_long
=`cat conftestval`
4059 echo "configure: failed program was:" >&5
4060 cat conftest.
$ac_ext >&5
4068 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
4069 cat >> confdefs.h
<<EOF
4070 #define SIZEOF_LONG $ac_cv_sizeof_long
4078 echo $ac_n "checking for long file names""... $ac_c" 1>&6
4079 echo "configure:4080: checking for long file names" >&5
4080 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
4081 echo $ac_n "(cached) $ac_c" 1>&6
4083 ac_cv_sys_long_file_names
=yes
4084 # Test for long file names in all the places we know might matter:
4085 # . the current directory, where building will happen
4086 # $prefix/lib where we will be installing things
4087 # $exec_prefix/lib likewise
4088 # eval it to expand exec_prefix.
4089 # $TMPDIR if set, where it might want to write temporary files
4090 # if $TMPDIR is not set:
4091 # /tmp where it might want to write temporary files
4094 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
4095 ac_tmpdirs
="$TMPDIR"
4097 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
4099 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
4100 test -d $ac_dir || continue
4101 test -w $ac_dir || continue # It is less confusing to not echo anything here.
4102 (echo 1 > $ac_dir/conftest9012345
) 2>/dev
/null
4103 (echo 2 > $ac_dir/conftest9012346
) 2>/dev
/null
4104 val
=`cat $ac_dir/conftest9012345 2>/dev/null`
4105 if test ! -f $ac_dir/conftest9012345
|| test "$val" != 1; then
4106 ac_cv_sys_long_file_names
=no
4107 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4110 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4114 echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6
4115 if test $ac_cv_sys_long_file_names = yes; then
4116 cat >> confdefs.h
<<\EOF
4117 #define HAVE_LONG_FILE_NAMES 1
4125 for ac_prog
in 'bison -y' byacc
4127 # Extract the first word of "$ac_prog", so it can be a program name with args.
4128 set dummy
$ac_prog; ac_word
=$2
4129 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4130 echo "configure:4131: checking for $ac_word" >&5
4131 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
4132 echo $ac_n "(cached) $ac_c" 1>&6
4134 if test -n "$YACC"; then
4135 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4137 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4138 for ac_dir
in $PATH; do
4139 test -z "$ac_dir" && ac_dir
=.
4140 if test -f $ac_dir/$ac_word; then
4141 ac_cv_prog_YACC
="$ac_prog"
4148 YACC
="$ac_cv_prog_YACC"
4149 if test -n "$YACC"; then
4150 echo "$ac_t""$YACC" 1>&6
4152 echo "$ac_t""no" 1>&6
4155 test -n "$YACC" && break
4157 test -n "$YACC" || YACC
="yacc"
4160 # Extract the first word of "flex", so it can be a program name with args.
4161 set dummy flex
; ac_word
=$2
4162 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4163 echo "configure:4164: checking for $ac_word" >&5
4164 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
4165 echo $ac_n "(cached) $ac_c" 1>&6
4167 if test -n "$LEX"; then
4168 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4170 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4171 for ac_dir
in $PATH; do
4172 test -z "$ac_dir" && ac_dir
=.
4173 if test -f $ac_dir/$ac_word; then
4174 ac_cv_prog_LEX
="flex"
4179 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
4182 LEX
="$ac_cv_prog_LEX"
4183 if test -n "$LEX"; then
4184 echo "$ac_t""$LEX" 1>&6
4186 echo "$ac_t""no" 1>&6
4189 if test -z "$LEXLIB"
4195 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
4196 echo "configure:4197: checking for yywrap in -l$ac_lib" >&5
4197 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
4198 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4199 echo $ac_n "(cached) $ac_c" 1>&6
4201 ac_save_LIBS
="$LIBS"
4202 LIBS
="-l$ac_lib $LIBS"
4203 cat > conftest.
$ac_ext <<EOF
4204 #line 4205 "configure"
4205 #include "confdefs.h"
4206 /* Override any gcc2 internal prototype to avoid an error. */
4207 /* We use char because int might match the return type of a gcc2
4208 builtin and then its argument prototype would still apply. */
4215 if { (eval echo configure
:4216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4217 eval "ac_cv_lib_$ac_lib_var=yes"
4219 echo "configure: failed program was:" >&5
4220 cat conftest.
$ac_ext >&5
4222 eval "ac_cv_lib_$ac_lib_var=no"
4225 LIBS
="$ac_save_LIBS"
4228 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4229 echo "$ac_t""yes" 1>&6
4232 echo "$ac_t""no" 1>&6
4237 echo $ac_n "checking lex output file root""... $ac_c" 1>&6
4238 echo "configure:4239: checking lex output file root" >&5
4239 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
4240 echo $ac_n "(cached) $ac_c" 1>&6
4242 # The minimal lex program is just a single line: %%. But some broken lexes
4243 # (Solaris, I think it was) want two %% lines, so accommodate them.
4246 if test -f lex.yy.c
; then
4247 ac_cv_prog_lex_root
=lex.yy
4248 elif test -f lexyy.c
; then
4249 ac_cv_prog_lex_root
=lexyy
4251 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
4255 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
4256 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4258 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
4259 echo "configure:4260: checking whether yytext is a pointer" >&5
4260 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
4261 echo $ac_n "(cached) $ac_c" 1>&6
4263 # POSIX says lex can declare yytext either as a pointer or an array; the
4264 # default is implementation-dependent. Figure out which it is, since
4265 # not all implementations provide the %pointer and %array declarations.
4266 ac_cv_prog_lex_yytext_pointer
=no
4267 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4268 ac_save_LIBS
="$LIBS"
4269 LIBS
="$LIBS $LEXLIB"
4270 cat > conftest.
$ac_ext <<EOF
4271 #line 4272 "configure"
4272 #include "confdefs.h"
4273 `cat $LEX_OUTPUT_ROOT.c`
4278 if { (eval echo configure
:4279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4280 ac_cv_prog_lex_yytext_pointer
=yes
4282 echo "configure: failed program was:" >&5
4283 cat conftest.
$ac_ext >&5
4286 LIBS
="$ac_save_LIBS"
4287 rm -f "${LEX_OUTPUT_ROOT}.c"
4291 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
4292 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4293 cat >> confdefs.h
<<\EOF
4294 #define YYTEXT_POINTER 1
4302 for ac_func
in dlopen
4304 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4305 echo "configure:4306: checking for $ac_func" >&5
4306 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4307 echo $ac_n "(cached) $ac_c" 1>&6
4309 cat > conftest.
$ac_ext <<EOF
4310 #line 4311 "configure"
4311 #include "confdefs.h"
4312 /* System header to define __stub macros and hopefully few prototypes,
4313 which can conflict with char $ac_func(); below. */
4315 /* Override any gcc2 internal prototype to avoid an error. */
4316 /* We use char because int might match the return type of a gcc2
4317 builtin and then its argument prototype would still apply. */
4322 /* The GNU C library defines this for functions which it implements
4323 to always fail with ENOSYS. Some functions are actually named
4324 something starting with __ and the normal name is an alias. */
4325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4333 if { (eval echo configure
:4334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4335 eval "ac_cv_func_$ac_func=yes"
4337 echo "configure: failed program was:" >&5
4338 cat conftest.
$ac_ext >&5
4340 eval "ac_cv_func_$ac_func=no"
4345 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4346 echo "$ac_t""yes" 1>&6
4347 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4348 cat >> confdefs.h
<<EOF
4349 #define $ac_tr_func 1
4351 cat >> confdefs.h
<<\EOF
4352 #define HAVE_LIBDL 1
4356 echo "$ac_t""no" 1>&6
4357 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
4358 echo "configure:4359: checking for dlopen in -ldl" >&5
4359 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
4360 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4361 echo $ac_n "(cached) $ac_c" 1>&6
4363 ac_save_LIBS
="$LIBS"
4365 cat > conftest.
$ac_ext <<EOF
4366 #line 4367 "configure"
4367 #include "confdefs.h"
4368 /* Override any gcc2 internal prototype to avoid an error. */
4369 /* We use char because int might match the return type of a gcc2
4370 builtin and then its argument prototype would still apply. */
4377 if { (eval echo configure
:4378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4379 eval "ac_cv_lib_$ac_lib_var=yes"
4381 echo "configure: failed program was:" >&5
4382 cat conftest.
$ac_ext >&5
4384 eval "ac_cv_lib_$ac_lib_var=no"
4387 LIBS
="$ac_save_LIBS"
4390 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4391 echo "$ac_t""yes" 1>&6
4392 cat >> confdefs.h
<<\EOF
4393 #define HAVE_LIBDL 1
4397 echo "$ac_t""no" 1>&6
4398 echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6
4399 echo "configure:4400: checking for dld_link in -ldld" >&5
4400 ac_lib_var
=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`
4401 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4402 echo $ac_n "(cached) $ac_c" 1>&6
4404 ac_save_LIBS
="$LIBS"
4406 cat > conftest.
$ac_ext <<EOF
4407 #line 4408 "configure"
4408 #include "confdefs.h"
4409 /* Override any gcc2 internal prototype to avoid an error. */
4410 /* We use char because int might match the return type of a gcc2
4411 builtin and then its argument prototype would still apply. */
4418 if { (eval echo configure
:4419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4420 eval "ac_cv_lib_$ac_lib_var=yes"
4422 echo "configure: failed program was:" >&5
4423 cat conftest.
$ac_ext >&5
4425 eval "ac_cv_lib_$ac_lib_var=no"
4428 LIBS
="$ac_save_LIBS"
4431 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4432 echo "$ac_t""yes" 1>&6
4433 cat >> confdefs.h
<<\EOF
4438 echo "$ac_t""no" 1>&6
4439 for ac_func
in shl_load
4441 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4442 echo "configure:4443: checking for $ac_func" >&5
4443 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4444 echo $ac_n "(cached) $ac_c" 1>&6
4446 cat > conftest.
$ac_ext <<EOF
4447 #line 4448 "configure"
4448 #include "confdefs.h"
4449 /* System header to define __stub macros and hopefully few prototypes,
4450 which can conflict with char $ac_func(); below. */
4452 /* Override any gcc2 internal prototype to avoid an error. */
4453 /* We use char because int might match the return type of a gcc2
4454 builtin and then its argument prototype would still apply. */
4459 /* The GNU C library defines this for functions which it implements
4460 to always fail with ENOSYS. Some functions are actually named
4461 something starting with __ and the normal name is an alias. */
4462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4470 if { (eval echo configure
:4471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4472 eval "ac_cv_func_$ac_func=yes"
4474 echo "configure: failed program was:" >&5
4475 cat conftest.
$ac_ext >&5
4477 eval "ac_cv_func_$ac_func=no"
4482 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4483 echo "$ac_t""yes" 1>&6
4484 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4485 cat >> confdefs.h
<<EOF
4486 #define $ac_tr_func 1
4488 cat >> confdefs.h
<<\EOF
4489 #define HAVE_SHL_LOAD 1
4493 echo "$ac_t""no" 1>&6
4509 echo $ac_n "checking for underscore before symbols""... $ac_c" 1>&6
4510 echo "configure:4511: checking for underscore before symbols" >&5
4511 if eval "test \"`echo '$''{'libltdl_cv_uscore'+set}'`\" = set"; then
4512 echo $ac_n "(cached) $ac_c" 1>&6
4515 echo "main(){int i=1;} fnord(){int i=23; int ltuae=42;}" > conftest.c
4516 ${CC} -c conftest.c
> /dev
/null
4517 if (nm conftest.o
| grep _fnord
) > /dev
/null
; then
4518 libltdl_cv_uscore
=yes
4520 libltdl_cv_uscore
=no
4526 echo "$ac_t""$libltdl_cv_uscore" 1>&6
4528 if test x
"$libltdl_cv_uscore" = xyes
; then
4529 if test x
"$ac_cv_func_dlopen" = xyes
||
4530 test x
"$ac_cv_lib_dl_dlopen" = xyes
; then
4531 echo $ac_n "checking whether we have to add an underscore for dlsym""... $ac_c" 1>&6
4532 echo "configure:4533: checking whether we have to add an underscore for dlsym" >&5
4533 if eval "test \"`echo '$''{'libltdl_cv_need_uscore'+set}'`\" = set"; then
4534 echo $ac_n "(cached) $ac_c" 1>&6
4536 if test "$cross_compiling" = yes; then
4537 libltdl_cv_need_uscore
=no
4540 cat > conftest.
$ac_ext <<EOF
4541 #line 4542 "configure"
4542 #include "confdefs.h"
4546 fnord() { int i=42;}
4547 main() { void *self, *ptr1, *ptr2; self=dlopen(NULL,RTLD_LAZY);
4548 if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
4549 if(ptr1 && !ptr2) exit(0); } exit(1); }
4552 if { (eval echo configure
:4553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4554 libltdl_cv_need_uscore
=no
4556 echo "configure: failed program was:" >&5
4557 cat conftest.
$ac_ext >&5
4559 libltdl_cv_need_uscore
=yes
4566 echo "$ac_t""$libltdl_cv_need_uscore" 1>&6
4570 if test x
"$libltdl_cv_need_uscore" = xyes
; then
4571 cat >> confdefs.h
<<\EOF
4572 #define NEED_USCORE 1
4578 for ac_func
in strerror
4580 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4581 echo "configure:4582: checking for $ac_func" >&5
4582 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4583 echo $ac_n "(cached) $ac_c" 1>&6
4585 cat > conftest.
$ac_ext <<EOF
4586 #line 4587 "configure"
4587 #include "confdefs.h"
4588 /* System header to define __stub macros and hopefully few prototypes,
4589 which can conflict with char $ac_func(); below. */
4591 /* Override any gcc2 internal prototype to avoid an error. */
4592 /* We use char because int might match the return type of a gcc2
4593 builtin and then its argument prototype would still apply. */
4598 /* The GNU C library defines this for functions which it implements
4599 to always fail with ENOSYS. Some functions are actually named
4600 something starting with __ and the normal name is an alias. */
4601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4609 if { (eval echo configure
:4610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4611 eval "ac_cv_func_$ac_func=yes"
4613 echo "configure: failed program was:" >&5
4614 cat conftest.
$ac_ext >&5
4616 eval "ac_cv_func_$ac_func=no"
4621 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4622 echo "$ac_t""yes" 1>&6
4623 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4624 cat >> confdefs.h
<<EOF
4625 #define $ac_tr_func 1
4629 echo "$ac_t""no" 1>&6
4635 CHECK_INCLUDE
="-I/usr/include $X_CFLAGS"
4636 CHECK_LIB
="-L/lib -L/usr/lib $X_LIBS"
4640 # Make sure we can run config.sub.
4641 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
4642 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
4645 echo $ac_n "checking host system type""... $ac_c" 1>&6
4646 echo "configure:4647: checking host system type" >&5
4649 case "$host_alias" in
4653 if host_alias
=`$ac_config_guess`; then :
4654 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
4656 *) host_alias
=$nonopt ;;
4660 host=`$ac_config_sub $host_alias`
4661 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4662 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4663 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4664 echo "$ac_t""$host" 1>&6
4667 configuration
=$host_alias
4689 cat >> confdefs.h
<<\EOF
4693 case "${canonical}" in
4696 cat >> confdefs.h
<<\EOF
4703 cat >> confdefs.h
<<\EOF
4708 if test "x$TMP" = "xalpha"
4711 cat >> confdefs.h
<<\EOF
4717 *-*-irix5* | *-*-irix6* )
4720 cat >> confdefs.h
<<\EOF
4724 cat >> confdefs.h
<<\EOF
4733 cat >> confdefs.h
<<\EOF
4737 cat >> confdefs.h
<<\EOF
4738 #define __SOLARIS__ 1
4741 cat >> confdefs.h
<<\EOF
4750 cat >> confdefs.h
<<\EOF
4754 cat >> confdefs.h
<<\EOF
4758 cat >> confdefs.h
<<\EOF
4763 *-*-freebsd* | *-*-netbsd*)
4766 cat >> confdefs.h
<<\EOF
4767 #define __FREEBSD__ 1
4770 cat >> confdefs.h
<<\EOF
4778 cat >> confdefs.h
<<\EOF
4782 cat >> confdefs.h
<<\EOF
4790 cat >> confdefs.h
<<\EOF
4794 cat >> confdefs.h
<<\EOF
4802 cat >> confdefs.h
<<\EOF
4806 cat >> confdefs.h
<<\EOF
4815 cat >> confdefs.h
<<\EOF
4819 cat >> confdefs.h
<<\EOF
4823 cat >> confdefs.h
<<\EOF
4829 { echo "configure: error: I don't know your system type." 1>&2; exit 1; }
4834 rm -f ${OSTYPE}.system.cache.tmp
4835 touch ${OSTYPE}.system.cache.tmp
4836 touch ${OSTYPE}.system.cache
4841 DEFAULT_wxUSE_MOTIF
=0
4843 DEFAULT_wxUSE_THREADS
=0
4845 DEFAULT_wxUSE_SHARED
=1
4846 DEFAULT_wxUSE_OPTIMISE
=1
4847 DEFAULT_wxUSE_PROFILE
=0
4848 DEFAULT_wxUSE_DEBUG_FLAG
=0
4849 DEFAULT_wxUSE_DEBUG_INFO
=0
4850 DEFAULT_wxUSE_MEM_TRACING
=0
4851 DEFAULT_wxUSE_DMALLOC
=0
4852 DEFAULT_wxUSE_APPLE_IEEE
=1
4853 DEFAULT_wxUSE_IOSTREAMH
=1
4855 DEFAULT_wxUSE_ZLIB
=1
4856 DEFAULT_wxUSE_LIBPNG
=1
4857 DEFAULT_wxUSE_ODBC
=1
4859 DEFAULT_wxUSE_TIMEDATE
=1
4860 DEFAULT_wxUSE_INTL
=1
4861 DEFAULT_wxUSE_CONFIG
=1
4862 DEFAULT_wxUSE_STREAMS
=1
4863 DEFAULT_wxUSE_SERIAL
=1
4865 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=1
4866 DEFAULT_WX_NORMALIZED_PS_FONTS
=1
4867 DEFAULT_wxUSE_POSTSCRIPT
=1
4870 DEFAULT_wxUSE_RESOURCES
=1
4871 DEFAULT_wxUSE_CLIPBOARD
=1
4872 DEFAULT_wxUSE_TOOLTIPS
=1
4873 DEFAULT_wxUSE_DRAG_AND_DROP
=1
4875 DEFAULT_wxUSE_MDI_ARCHITECTURE
=1
4876 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=1
4877 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=1
4879 DEFAULT_wxUSE_PROLOGIO
=1
4880 DEFAULT_wxUSE_WX_RESOURCES
=1
4882 DEFAULT_wxUSE_HELP
=1
4884 DEFAULT_wxUSE_UNICODE
=1
4885 DEFAULT_wxUSE_WCSRTOMBS
=0
4889 echo $ac_n "checking "for gtk
"""... $ac_c" 1>&6
4890 echo "configure:4891: checking "for gtk
"" >&5
4891 # Check whether --with-gtk or --without-gtk was given.
4892 if test "${with_gtk+set}" = set; then
4894 if test "x$with_gtk" = xyes
; then
4895 ac_cv_use_gtk
='wxUSE_GTK="1"'
4897 ac_cv_use_gtk
='wxUSE_GTK="0"'
4901 LINE
=`grep "wxUSE_GTK" ${OSTYPE}.system.cache`
4902 if test "x$LINE" != x
; then
4903 eval "DEFAULT_$LINE"
4905 ac_cv_use_gtk
='wxUSE_GTK='$DEFAULT_wxUSE_GTK
4909 eval "$ac_cv_use_gtk"
4910 echo $ac_cv_use_gtk >> ${OSTYPE}.system.cache.tmp
4911 if test "$wxUSE_GTK" = 1; then
4912 echo "$ac_t""yes" 1>&6
4914 echo "$ac_t""no" 1>&6
4919 echo $ac_n "checking "for qt
"""... $ac_c" 1>&6
4920 echo "configure:4921: checking "for qt
"" >&5
4921 # Check whether --with-qt or --without-qt was given.
4922 if test "${with_qt+set}" = set; then
4924 if test "x$with_qt" = xyes
; then
4925 ac_cv_use_qt
='wxUSE_QT="1"'
4927 ac_cv_use_qt
='wxUSE_QT="0"'
4931 LINE
=`grep "wxUSE_QT" ${OSTYPE}.system.cache`
4932 if test "x$LINE" != x
; then
4933 eval "DEFAULT_$LINE"
4935 ac_cv_use_qt
='wxUSE_QT='$DEFAULT_wxUSE_QT
4939 eval "$ac_cv_use_qt"
4940 echo $ac_cv_use_qt >> ${OSTYPE}.system.cache.tmp
4941 if test "$wxUSE_QT" = 1; then
4942 echo "$ac_t""yes" 1>&6
4944 echo "$ac_t""no" 1>&6
4949 echo $ac_n "checking "for motif
"""... $ac_c" 1>&6
4950 echo "configure:4951: checking "for motif
"" >&5
4951 # Check whether --with-motif or --without-motif was given.
4952 if test "${with_motif+set}" = set; then
4953 withval
="$with_motif"
4954 if test "x$with_motif" = xyes
; then
4955 ac_cv_use_motif
='wxUSE_MOTIF="1"'
4957 ac_cv_use_motif
='wxUSE_MOTIF="0"'
4961 LINE
=`grep "wxUSE_MOTIF" ${OSTYPE}.system.cache`
4962 if test "x$LINE" != x
; then
4963 eval "DEFAULT_$LINE"
4965 ac_cv_use_motif
='wxUSE_MOTIF='$DEFAULT_wxUSE_MOTIF
4969 eval "$ac_cv_use_motif"
4970 echo $ac_cv_use_motif >> ${OSTYPE}.system.cache.tmp
4971 if test "$wxUSE_MOTIF" = 1; then
4972 echo "$ac_t""yes" 1>&6
4974 echo "$ac_t""no" 1>&6
4980 echo $ac_n "checking "for shared
"""... $ac_c" 1>&6
4981 echo "configure:4982: checking "for shared
"" >&5
4982 # Check whether --with-shared or --without-shared was given.
4983 if test "${with_shared+set}" = set; then
4984 withval
="$with_shared"
4985 if test "x$with_shared" = xyes
; then
4986 ac_cv_use_shared
='wxUSE_SHARED="1"'
4988 ac_cv_use_shared
='wxUSE_SHARED="0"'
4992 LINE
=`grep "wxUSE_SHARED" ${OSTYPE}.system.cache`
4993 if test "x$LINE" != x
; then
4994 eval "DEFAULT_$LINE"
4996 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
5000 eval "$ac_cv_use_shared"
5001 echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp
5002 if test "$wxUSE_SHARED" = 1; then
5003 echo "$ac_t""yes" 1>&6
5005 echo "$ac_t""no" 1>&6
5010 echo $ac_n "checking "for optimise
"""... $ac_c" 1>&6
5011 echo "configure:5012: checking "for optimise
"" >&5
5012 # Check whether --with-optimise or --without-optimise was given.
5013 if test "${with_optimise+set}" = set; then
5014 withval
="$with_optimise"
5015 if test "x$with_optimise" = xyes
; then
5016 ac_cv_use_optimise
='wxUSE_OPTIMISE="1"'
5018 ac_cv_use_optimise
='wxUSE_OPTIMISE="0"'
5022 LINE
=`grep "wxUSE_OPTIMISE" ${OSTYPE}.system.cache`
5023 if test "x$LINE" != x
; then
5024 eval "DEFAULT_$LINE"
5026 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
5030 eval "$ac_cv_use_optimise"
5031 echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp
5032 if test "$wxUSE_OPTIMISE" = 1; then
5033 echo "$ac_t""yes" 1>&6
5035 echo "$ac_t""no" 1>&6
5040 echo $ac_n "checking "for debug_flag
"""... $ac_c" 1>&6
5041 echo "configure:5042: checking "for debug_flag
"" >&5
5042 # Check whether --with-debug_flag or --without-debug_flag was given.
5043 if test "${with_debug_flag+set}" = set; then
5044 withval
="$with_debug_flag"
5045 if test "x$with_debug_flag" = xyes
; then
5046 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="1"'
5048 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="0"'
5052 LINE
=`grep "wxUSE_DEBUG_FLAG" ${OSTYPE}.system.cache`
5053 if test "x$LINE" != x
; then
5054 eval "DEFAULT_$LINE"
5056 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
5060 eval "$ac_cv_use_debug_flag"
5061 echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp
5062 if test "$wxUSE_DEBUG_FLAG" = 1; then
5063 echo "$ac_t""yes" 1>&6
5065 echo "$ac_t""no" 1>&6
5070 echo $ac_n "checking "for debug_info
"""... $ac_c" 1>&6
5071 echo "configure:5072: checking "for debug_info
"" >&5
5072 # Check whether --with-debug_info or --without-debug_info was given.
5073 if test "${with_debug_info+set}" = set; then
5074 withval
="$with_debug_info"
5075 if test "x$with_debug_info" = xyes
; then
5076 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="1"'
5078 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="0"'
5082 LINE
=`grep "wxUSE_DEBUG_INFO" ${OSTYPE}.system.cache`
5083 if test "x$LINE" != x
; then
5084 eval "DEFAULT_$LINE"
5086 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
5090 eval "$ac_cv_use_debug_info"
5091 echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp
5092 if test "$wxUSE_DEBUG_INFO" = 1; then
5093 echo "$ac_t""yes" 1>&6
5095 echo "$ac_t""no" 1>&6
5100 echo $ac_n "checking "for debug_gdb
"""... $ac_c" 1>&6
5101 echo "configure:5102: checking "for debug_gdb
"" >&5
5102 # Check whether --with-debug_gdb or --without-debug_gdb was given.
5103 if test "${with_debug_gdb+set}" = set; then
5104 withval
="$with_debug_gdb"
5105 if test "x$with_debug_gdb" = xyes
; then
5106 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB="1"'
5108 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB="0"'
5112 LINE
=`grep "wxUSE_DEBUG_GDB" ${OSTYPE}.system.cache`
5113 if test "x$LINE" != x
; then
5114 eval "DEFAULT_$LINE"
5116 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
5120 eval "$ac_cv_use_debug_gdb"
5121 echo $ac_cv_use_debug_gdb >> ${OSTYPE}.system.cache.tmp
5122 if test "$wxUSE_DEBUG_GDB" = 1; then
5123 echo "$ac_t""yes" 1>&6
5125 echo "$ac_t""no" 1>&6
5130 echo $ac_n "checking "for mem_tracing
"""... $ac_c" 1>&6
5131 echo "configure:5132: checking "for mem_tracing
"" >&5
5132 # Check whether --with-mem_tracing or --without-mem_tracing was given.
5133 if test "${with_mem_tracing+set}" = set; then
5134 withval
="$with_mem_tracing"
5135 if test "x$with_mem_tracing" = xyes
; then
5136 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="1"'
5138 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="0"'
5142 LINE
=`grep "wxUSE_MEM_TRACING" ${OSTYPE}.system.cache`
5143 if test "x$LINE" != x
; then
5144 eval "DEFAULT_$LINE"
5146 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
5150 eval "$ac_cv_use_mem_tracing"
5151 echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
5152 if test "$wxUSE_MEM_TRACING" = 1; then
5153 echo "$ac_t""yes" 1>&6
5155 echo "$ac_t""no" 1>&6
5160 echo $ac_n "checking "for dmalloc
"""... $ac_c" 1>&6
5161 echo "configure:5162: checking "for dmalloc
"" >&5
5162 # Check whether --with-dmalloc or --without-dmalloc was given.
5163 if test "${with_dmalloc+set}" = set; then
5164 withval
="$with_dmalloc"
5165 if test "x$with_dmalloc" = xyes
; then
5166 ac_cv_use_dmalloc
='wxUSE_DMALLOC="1"'
5168 ac_cv_use_dmalloc
='wxUSE_DMALLOC="0"'
5172 LINE
=`grep "wxUSE_DMALLOC" ${OSTYPE}.system.cache`
5173 if test "x$LINE" != x
; then
5174 eval "DEFAULT_$LINE"
5176 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
5180 eval "$ac_cv_use_dmalloc"
5181 echo $ac_cv_use_dmalloc >> ${OSTYPE}.system.cache.tmp
5182 if test "$wxUSE_DMALLOC" = 1; then
5183 echo "$ac_t""yes" 1>&6
5185 echo "$ac_t""no" 1>&6
5190 echo $ac_n "checking "for profile
"""... $ac_c" 1>&6
5191 echo "configure:5192: checking "for profile
"" >&5
5192 # Check whether --with-profile or --without-profile was given.
5193 if test "${with_profile+set}" = set; then
5194 withval
="$with_profile"
5195 if test "x$with_profile" = xyes
; then
5196 ac_cv_use_profile
='wxUSE_PROFILE="1"'
5198 ac_cv_use_profile
='wxUSE_PROFILE="0"'
5202 LINE
=`grep "wxUSE_PROFILE" ${OSTYPE}.system.cache`
5203 if test "x$LINE" != x
; then
5204 eval "DEFAULT_$LINE"
5206 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5210 eval "$ac_cv_use_profile"
5211 echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
5212 if test "$wxUSE_PROFILE" = 1; then
5213 echo "$ac_t""yes" 1>&6
5215 echo "$ac_t""no" 1>&6
5220 echo $ac_n "checking "for apple_ieee
"""... $ac_c" 1>&6
5221 echo "configure:5222: checking "for apple_ieee
"" >&5
5222 # Check whether --with-apple_ieee or --without-apple_ieee was given.
5223 if test "${with_apple_ieee+set}" = set; then
5224 withval
="$with_apple_ieee"
5225 if test "x$with_apple_ieee" = xyes
; then
5226 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="1"'
5228 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="0"'
5232 LINE
=`grep "wxUSE_APPLE_IEEE" ${OSTYPE}.system.cache`
5233 if test "x$LINE" != x
; then
5234 eval "DEFAULT_$LINE"
5236 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5240 eval "$ac_cv_use_apple_ieee"
5241 echo $ac_cv_use_apple_ieee >> ${OSTYPE}.system.cache.tmp
5242 if test "$wxUSE_APPLE_IEEE" = 1; then
5243 echo "$ac_t""yes" 1>&6
5245 echo "$ac_t""no" 1>&6
5250 echo $ac_n "checking "for threads
"""... $ac_c" 1>&6
5251 echo "configure:5252: checking "for threads
"" >&5
5252 # Check whether --with-threads or --without-threads was given.
5253 if test "${with_threads+set}" = set; then
5254 withval
="$with_threads"
5255 if test "x$with_threads" = xyes
; then
5256 ac_cv_use_threads
='wxUSE_THREADS="1"'
5258 ac_cv_use_threads
='wxUSE_THREADS="0"'
5262 LINE
=`grep "wxUSE_THREADS" ${OSTYPE}.system.cache`
5263 if test "x$LINE" != x
; then
5264 eval "DEFAULT_$LINE"
5266 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5270 eval "$ac_cv_use_threads"
5271 echo $ac_cv_use_threads >> ${OSTYPE}.system.cache.tmp
5272 if test "$wxUSE_THREADS" = 1; then
5273 echo "$ac_t""yes" 1>&6
5275 echo "$ac_t""no" 1>&6
5281 echo $ac_n "checking "for zlib
"""... $ac_c" 1>&6
5282 echo "configure:5283: checking "for zlib
"" >&5
5283 # Check whether --with-zlib or --without-zlib was given.
5284 if test "${with_zlib+set}" = set; then
5285 withval
="$with_zlib"
5286 if test "x$with_zlib" = xyes
; then
5287 ac_cv_use_zlib
='wxUSE_ZLIB="1"'
5289 ac_cv_use_zlib
='wxUSE_ZLIB="0"'
5293 LINE
=`grep "wxUSE_ZLIB" ${OSTYPE}.system.cache`
5294 if test "x$LINE" != x
; then
5295 eval "DEFAULT_$LINE"
5297 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
5301 eval "$ac_cv_use_zlib"
5302 echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
5303 if test "$wxUSE_ZLIB" = 1; then
5304 echo "$ac_t""yes" 1>&6
5306 echo "$ac_t""no" 1>&6
5311 echo $ac_n "checking "for libpng
"""... $ac_c" 1>&6
5312 echo "configure:5313: checking "for libpng
"" >&5
5313 # Check whether --with-libpng or --without-libpng was given.
5314 if test "${with_libpng+set}" = set; then
5315 withval
="$with_libpng"
5316 if test "x$with_libpng" = xyes
; then
5317 ac_cv_use_libpng
='wxUSE_LIBPNG="1"'
5319 ac_cv_use_libpng
='wxUSE_LIBPNG="0"'
5323 LINE
=`grep "wxUSE_LIBPNG" ${OSTYPE}.system.cache`
5324 if test "x$LINE" != x
; then
5325 eval "DEFAULT_$LINE"
5327 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
5331 eval "$ac_cv_use_libpng"
5332 echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
5333 if test "$wxUSE_LIBPNG" = 1; then
5334 echo "$ac_t""yes" 1>&6
5336 echo "$ac_t""no" 1>&6
5341 echo $ac_n "checking "for odbc
"""... $ac_c" 1>&6
5342 echo "configure:5343: checking "for odbc
"" >&5
5343 # Check whether --with-odbc or --without-odbc was given.
5344 if test "${with_odbc+set}" = set; then
5345 withval
="$with_odbc"
5346 if test "x$with_odbc" = xyes
; then
5347 ac_cv_use_odbc
='wxUSE_ODBC="1"'
5349 ac_cv_use_odbc
='wxUSE_ODBC="0"'
5353 LINE
=`grep "wxUSE_ODBC" ${OSTYPE}.system.cache`
5354 if test "x$LINE" != x
; then
5355 eval "DEFAULT_$LINE"
5357 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
5361 eval "$ac_cv_use_odbc"
5362 echo $ac_cv_use_odbc >> ${OSTYPE}.system.cache.tmp
5363 if test "$wxUSE_ODBC" = 1; then
5364 echo "$ac_t""yes" 1>&6
5366 echo "$ac_t""no" 1>&6
5372 echo $ac_n "checking "for timedate
"""... $ac_c" 1>&6
5373 echo "configure:5374: checking "for timedate
"" >&5
5374 # Check whether --with-timedate or --without-timedate was given.
5375 if test "${with_timedate+set}" = set; then
5376 withval
="$with_timedate"
5377 if test "x$with_timedate" = xyes
; then
5378 ac_cv_use_timedate
='wxUSE_TIMEDATE="1"'
5380 ac_cv_use_timedate
='wxUSE_TIMEDATE="0"'
5384 LINE
=`grep "wxUSE_TIMEDATE" ${OSTYPE}.system.cache`
5385 if test "x$LINE" != x
; then
5386 eval "DEFAULT_$LINE"
5388 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
5392 eval "$ac_cv_use_timedate"
5393 echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
5394 if test "$wxUSE_TIMEDATE" = 1; then
5395 echo "$ac_t""yes" 1>&6
5397 echo "$ac_t""no" 1>&6
5402 echo $ac_n "checking "for intl
"""... $ac_c" 1>&6
5403 echo "configure:5404: checking "for intl
"" >&5
5404 # Check whether --with-intl or --without-intl was given.
5405 if test "${with_intl+set}" = set; then
5406 withval
="$with_intl"
5407 if test "x$with_intl" = xyes
; then
5408 ac_cv_use_intl
='wxUSE_INTL="1"'
5410 ac_cv_use_intl
='wxUSE_INTL="0"'
5414 LINE
=`grep "wxUSE_INTL" ${OSTYPE}.system.cache`
5415 if test "x$LINE" != x
; then
5416 eval "DEFAULT_$LINE"
5418 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5422 eval "$ac_cv_use_intl"
5423 echo $ac_cv_use_intl >> ${OSTYPE}.system.cache.tmp
5424 if test "$wxUSE_INTL" = 1; then
5425 echo "$ac_t""yes" 1>&6
5427 echo "$ac_t""no" 1>&6
5432 echo $ac_n "checking "for config
"""... $ac_c" 1>&6
5433 echo "configure:5434: checking "for config
"" >&5
5434 # Check whether --with-config or --without-config was given.
5435 if test "${with_config+set}" = set; then
5436 withval
="$with_config"
5437 if test "x$with_config" = xyes
; then
5438 ac_cv_use_config
='wxUSE_CONFIG="1"'
5440 ac_cv_use_config
='wxUSE_CONFIG="0"'
5444 LINE
=`grep "wxUSE_CONFIG" ${OSTYPE}.system.cache`
5445 if test "x$LINE" != x
; then
5446 eval "DEFAULT_$LINE"
5448 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5452 eval "$ac_cv_use_config"
5453 echo $ac_cv_use_config >> ${OSTYPE}.system.cache.tmp
5454 if test "$wxUSE_CONFIG" = 1; then
5455 echo "$ac_t""yes" 1>&6
5457 echo "$ac_t""no" 1>&6
5462 echo $ac_n "checking "for streams
"""... $ac_c" 1>&6
5463 echo "configure:5464: checking "for streams
"" >&5
5464 # Check whether --with-streams or --without-streams was given.
5465 if test "${with_streams+set}" = set; then
5466 withval
="$with_streams"
5467 if test "x$with_streams" = xyes
; then
5468 ac_cv_use_streams
='wxUSE_STREAMS="1"'
5470 ac_cv_use_streams
='wxUSE_STREAMS="0"'
5474 LINE
=`grep "wxUSE_STREAMS" ${OSTYPE}.system.cache`
5475 if test "x$LINE" != x
; then
5476 eval "DEFAULT_$LINE"
5478 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5482 eval "$ac_cv_use_streams"
5483 echo $ac_cv_use_streams >> ${OSTYPE}.system.cache.tmp
5484 if test "$wxUSE_STREAMS" = 1; then
5485 echo "$ac_t""yes" 1>&6
5487 echo "$ac_t""no" 1>&6
5492 echo $ac_n "checking "for serial
"""... $ac_c" 1>&6
5493 echo "configure:5494: checking "for serial
"" >&5
5494 # Check whether --with-serial or --without-serial was given.
5495 if test "${with_serial+set}" = set; then
5496 withval
="$with_serial"
5497 if test "x$with_serial" = xyes
; then
5498 ac_cv_use_serial
='wxUSE_SERIAL="1"'
5500 ac_cv_use_serial
='wxUSE_SERIAL="0"'
5504 LINE
=`grep "wxUSE_SERIAL" ${OSTYPE}.system.cache`
5505 if test "x$LINE" != x
; then
5506 eval "DEFAULT_$LINE"
5508 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
5512 eval "$ac_cv_use_serial"
5513 echo $ac_cv_use_serial >> ${OSTYPE}.system.cache.tmp
5514 if test "$wxUSE_SERIAL" = 1; then
5515 echo "$ac_t""yes" 1>&6
5517 echo "$ac_t""no" 1>&6
5523 echo $ac_n "checking "for afmfonts
"""... $ac_c" 1>&6
5524 echo "configure:5525: checking "for afmfonts
"" >&5
5525 # Check whether --with-afmfonts or --without-afmfonts was given.
5526 if test "${with_afmfonts+set}" = set; then
5527 withval
="$with_afmfonts"
5528 if test "x$with_afmfonts" = xyes
; then
5529 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="1"'
5531 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="0"'
5535 LINE
=`grep "wxUSE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache`
5536 if test "x$LINE" != x
; then
5537 eval "DEFAULT_$LINE"
5539 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT='$DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
5543 eval "$ac_cv_use_afmfonts"
5544 echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
5545 if test "$wxUSE_AFM_FOR_POSTSCRIPT" = 1; then
5546 echo "$ac_t""yes" 1>&6
5548 echo "$ac_t""no" 1>&6
5553 echo $ac_n "checking "for normalized
"""... $ac_c" 1>&6
5554 echo "configure:5555: checking "for normalized
"" >&5
5555 # Check whether --with-normalized or --without-normalized was given.
5556 if test "${with_normalized+set}" = set; then
5557 withval
="$with_normalized"
5558 if test "x$with_normalized" = xyes
; then
5559 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="1"'
5561 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="0"'
5565 LINE
=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache`
5566 if test "x$LINE" != x
; then
5567 eval "DEFAULT_$LINE"
5569 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS
5573 eval "$ac_cv_use_normalized"
5574 echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
5575 if test "$WX_NORMALIZED_PS_FONTS" = 1; then
5576 echo "$ac_t""yes" 1>&6
5578 echo "$ac_t""no" 1>&6
5583 echo $ac_n "checking "for postscript
"""... $ac_c" 1>&6
5584 echo "configure:5585: checking "for postscript
"" >&5
5585 # Check whether --with-postscript or --without-postscript was given.
5586 if test "${with_postscript+set}" = set; then
5587 withval
="$with_postscript"
5588 if test "x$with_postscript" = xyes
; then
5589 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="1"'
5591 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="0"'
5595 LINE
=`grep "wxUSE_POSTSCRIPT" ${OSTYPE}.system.cache`
5596 if test "x$LINE" != x
; then
5597 eval "DEFAULT_$LINE"
5599 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5603 eval "$ac_cv_use_postscript"
5604 echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
5605 if test "$wxUSE_POSTSCRIPT" = 1; then
5606 echo "$ac_t""yes" 1>&6
5608 echo "$ac_t""no" 1>&6
5614 echo $ac_n "checking "for unicode
"""... $ac_c" 1>&6
5615 echo "configure:5616: checking "for unicode
"" >&5
5616 # Check whether --with-unicode or --without-unicode was given.
5617 if test "${with_unicode+set}" = set; then
5618 withval
="$with_unicode"
5619 if test "x$with_unicode" = xyes
; then
5620 ac_cv_use_unicode
='wxUSE_UNICODE="1"'
5622 ac_cv_use_unicode
='wxUSE_UNICODE="0"'
5626 LINE
=`grep "wxUSE_UNICODE" ${OSTYPE}.system.cache`
5627 if test "x$LINE" != x
; then
5628 eval "DEFAULT_$LINE"
5630 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5634 eval "$ac_cv_use_unicode"
5635 echo $ac_cv_use_unicode >> ${OSTYPE}.system.cache.tmp
5636 if test "$wxUSE_UNICODE" = 1; then
5637 echo "$ac_t""yes" 1>&6
5639 echo "$ac_t""no" 1>&6
5644 echo $ac_n "checking "for wcsrtombs
"""... $ac_c" 1>&6
5645 echo "configure:5646: checking "for wcsrtombs
"" >&5
5646 # Check whether --with-wcsrtombs or --without-wcsrtombs was given.
5647 if test "${with_wcsrtombs+set}" = set; then
5648 withval
="$with_wcsrtombs"
5649 if test "x$with_wcsrtombs" = xyes
; then
5650 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="1"'
5652 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="0"'
5656 LINE
=`grep "wxUSE_WCSRTOMBS" ${OSTYPE}.system.cache`
5657 if test "x$LINE" != x
; then
5658 eval "DEFAULT_$LINE"
5660 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
5664 eval "$ac_cv_use_wcsrtombs"
5665 echo $ac_cv_use_wcsrtombs >> ${OSTYPE}.system.cache.tmp
5666 if test "$wxUSE_WCSRTOMBS" = 1; then
5667 echo "$ac_t""yes" 1>&6
5669 echo "$ac_t""no" 1>&6
5675 echo $ac_n "checking "for wxresources
"""... $ac_c" 1>&6
5676 echo "configure:5677: checking "for wxresources
"" >&5
5677 # Check whether --with-wxresources or --without-wxresources was given.
5678 if test "${with_wxresources+set}" = set; then
5679 withval
="$with_wxresources"
5680 if test "x$with_wxresources" = xyes
; then
5681 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="1"'
5683 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="0"'
5687 LINE
=`grep "wxUSE_WX_RESOURCES" ${OSTYPE}.system.cache`
5688 if test "x$LINE" != x
; then
5689 eval "DEFAULT_$LINE"
5691 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES='$DEFAULT_wxUSE_WX_RESOURCES
5695 eval "$ac_cv_use_wxresources"
5696 echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
5697 if test "$wxUSE_WX_RESOURCES" = 1; then
5698 echo "$ac_t""yes" 1>&6
5700 echo "$ac_t""no" 1>&6
5705 echo $ac_n "checking "for prologio
"""... $ac_c" 1>&6
5706 echo "configure:5707: checking "for prologio
"" >&5
5707 # Check whether --with-prologio or --without-prologio was given.
5708 if test "${with_prologio+set}" = set; then
5709 withval
="$with_prologio"
5710 if test "x$with_prologio" = xyes
; then
5711 ac_cv_use_prologio
='wxUSE_PROLOGIO="1"'
5713 ac_cv_use_prologio
='wxUSE_PROLOGIO="0"'
5717 LINE
=`grep "wxUSE_PROLOGIO" ${OSTYPE}.system.cache`
5718 if test "x$LINE" != x
; then
5719 eval "DEFAULT_$LINE"
5721 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5725 eval "$ac_cv_use_prologio"
5726 echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
5727 if test "$wxUSE_PROLOGIO" = 1; then
5728 echo "$ac_t""yes" 1>&6
5730 echo "$ac_t""no" 1>&6
5735 echo $ac_n "checking "for RPC
"""... $ac_c" 1>&6
5736 echo "configure:5737: checking "for RPC
"" >&5
5737 # Check whether --with-rpc or --without-rpc was given.
5738 if test "${with_rpc+set}" = set; then
5740 if test "x$with_rpc" = xyes
; then
5741 ac_cv_use_rpc
='wxUSE_RPC="1"'
5743 ac_cv_use_rpc
='wxUSE_RPC="0"'
5747 LINE
=`grep "wxUSE_RPC" ${OSTYPE}.system.cache`
5748 if test "x$LINE" != x
; then
5749 eval "DEFAULT_$LINE"
5751 ac_cv_use_rpc
='wxUSE_RPC='$DEFAULT_wxUSE_RPC
5755 eval "$ac_cv_use_rpc"
5756 echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
5757 if test "$wxUSE_RPC" = 1; then
5758 echo "$ac_t""yes" 1>&6
5760 echo "$ac_t""no" 1>&6
5766 echo $ac_n "checking "for IPC
"""... $ac_c" 1>&6
5767 echo "configure:5768: checking "for IPC
"" >&5
5768 # Check whether --with-ipc or --without-ipc was given.
5769 if test "${with_ipc+set}" = set; then
5771 if test "x$with_ipc" = xyes
; then
5772 ac_cv_use_ipc
='wxUSE_IPC="1"'
5774 ac_cv_use_ipc
='wxUSE_IPC="0"'
5778 LINE
=`grep "wxUSE_IPC" ${OSTYPE}.system.cache`
5779 if test "x$LINE" != x
; then
5780 eval "DEFAULT_$LINE"
5782 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5786 eval "$ac_cv_use_ipc"
5787 echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
5788 if test "$wxUSE_IPC" = 1; then
5789 echo "$ac_t""yes" 1>&6
5791 echo "$ac_t""no" 1>&6
5796 echo $ac_n "checking "for resources
"""... $ac_c" 1>&6
5797 echo "configure:5798: checking "for resources
"" >&5
5798 # Check whether --with-resources or --without-resources was given.
5799 if test "${with_resources+set}" = set; then
5800 withval
="$with_resources"
5801 if test "x$with_resources" = xyes
; then
5802 ac_cv_use_resources
='wxUSE_RESOURCES="1"'
5804 ac_cv_use_resources
='wxUSE_RESOURCES="0"'
5808 LINE
=`grep "wxUSE_RESOURCES" ${OSTYPE}.system.cache`
5809 if test "x$LINE" != x
; then
5810 eval "DEFAULT_$LINE"
5812 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5816 eval "$ac_cv_use_resources"
5817 echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
5818 if test "$wxUSE_RESOURCES" = 1; then
5819 echo "$ac_t""yes" 1>&6
5821 echo "$ac_t""no" 1>&6
5826 echo $ac_n "checking "for clipboard
"""... $ac_c" 1>&6
5827 echo "configure:5828: checking "for clipboard
"" >&5
5828 # Check whether --with-clipboard or --without-clipboard was given.
5829 if test "${with_clipboard+set}" = set; then
5830 withval
="$with_clipboard"
5831 if test "x$with_clipboard" = xyes
; then
5832 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="1"'
5834 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="0"'
5838 LINE
=`grep "wxUSE_CLIPBOARD" ${OSTYPE}.system.cache`
5839 if test "x$LINE" != x
; then
5840 eval "DEFAULT_$LINE"
5842 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5846 eval "$ac_cv_use_clipboard"
5847 echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
5848 if test "$wxUSE_CLIPBOARD" = 1; then
5849 echo "$ac_t""yes" 1>&6
5851 echo "$ac_t""no" 1>&6
5856 echo $ac_n "checking "for tooltips
"""... $ac_c" 1>&6
5857 echo "configure:5858: checking "for tooltips
"" >&5
5858 # Check whether --with-tooltips or --without-tooltips was given.
5859 if test "${with_tooltips+set}" = set; then
5860 withval
="$with_tooltips"
5861 if test "x$with_tooltips" = xyes
; then
5862 ac_cv_use_tooltips
='wxUSE_TOOLTIPS="1"'
5864 ac_cv_use_tooltips
='wxUSE_TOOLTIPS="0"'
5868 LINE
=`grep "wxUSE_TOOLTIPS" ${OSTYPE}.system.cache`
5869 if test "x$LINE" != x
; then
5870 eval "DEFAULT_$LINE"
5872 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5876 eval "$ac_cv_use_tooltips"
5877 echo $ac_cv_use_tooltips >> ${OSTYPE}.system.cache.tmp
5878 if test "$wxUSE_TOOLTIPS" = 1; then
5879 echo "$ac_t""yes" 1>&6
5881 echo "$ac_t""no" 1>&6
5886 echo $ac_n "checking "for dnd
"""... $ac_c" 1>&6
5887 echo "configure:5888: checking "for dnd
"" >&5
5888 # Check whether --with-dnd or --without-dnd was given.
5889 if test "${with_dnd+set}" = set; then
5891 if test "x$with_dnd" = xyes
; then
5892 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP="1"'
5894 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP="0"'
5898 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${OSTYPE}.system.cache`
5899 if test "x$LINE" != x
; then
5900 eval "DEFAULT_$LINE"
5902 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5906 eval "$ac_cv_use_dnd"
5907 echo $ac_cv_use_dnd >> ${OSTYPE}.system.cache.tmp
5908 if test "$wxUSE_DRAG_AND_DROP" = 1; then
5909 echo "$ac_t""yes" 1>&6
5911 echo "$ac_t""no" 1>&6
5917 echo $ac_n "checking "for mdi
"""... $ac_c" 1>&6
5918 echo "configure:5919: checking "for mdi
"" >&5
5919 # Check whether --with-mdi or --without-mdi was given.
5920 if test "${with_mdi+set}" = set; then
5922 if test "x$with_mdi" = xyes
; then
5923 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="1"'
5925 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="0"'
5929 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${OSTYPE}.system.cache`
5930 if test "x$LINE" != x
; then
5931 eval "DEFAULT_$LINE"
5933 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5937 eval "$ac_cv_use_mdi"
5938 echo $ac_cv_use_mdi >> ${OSTYPE}.system.cache.tmp
5939 if test "$wxUSE_MDI_ARCHITECTURE" = 1; then
5940 echo "$ac_t""yes" 1>&6
5942 echo "$ac_t""no" 1>&6
5947 echo $ac_n "checking "for docview
"""... $ac_c" 1>&6
5948 echo "configure:5949: checking "for docview
"" >&5
5949 # Check whether --with-docview or --without-docview was given.
5950 if test "${with_docview+set}" = set; then
5951 withval
="$with_docview"
5952 if test "x$with_docview" = xyes
; then
5953 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="1"'
5955 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="0"'
5959 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache`
5960 if test "x$LINE" != x
; then
5961 eval "DEFAULT_$LINE"
5963 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5967 eval "$ac_cv_use_docview"
5968 echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp
5969 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1; then
5970 echo "$ac_t""yes" 1>&6
5972 echo "$ac_t""no" 1>&6
5977 echo $ac_n "checking "for printarch
"""... $ac_c" 1>&6
5978 echo "configure:5979: checking "for printarch
"" >&5
5979 # Check whether --with-printarch or --without-printarch was given.
5980 if test "${with_printarch+set}" = set; then
5981 withval
="$with_printarch"
5982 if test "x$with_printarch" = xyes
; then
5983 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="1"'
5985 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="0"'
5989 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache`
5990 if test "x$LINE" != x
; then
5991 eval "DEFAULT_$LINE"
5993 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5997 eval "$ac_cv_use_printarch"
5998 echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp
5999 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1; then
6000 echo "$ac_t""yes" 1>&6
6002 echo "$ac_t""no" 1>&6
6007 echo $ac_n "checking "for help"""... $ac_c" 1>&6
6008 echo "configure:6009: checking "for help"" >&5
6009 # Check whether --with-help or --without-help was given.
6010 if test "${with_help+set}" = set; then
6011 withval
="$with_help"
6012 if test "x$with_help" = xyes
; then
6013 ac_cv_use_help
='wxUSE_HELP="1"'
6015 ac_cv_use_help
='wxUSE_HELP="0"'
6019 LINE
=`grep "wxUSE_HELP" ${OSTYPE}.system.cache`
6020 if test "x$LINE" != x
; then
6021 eval "DEFAULT_$LINE"
6023 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6027 eval "$ac_cv_use_help"
6028 echo $ac_cv_use_help >> ${OSTYPE}.system.cache.tmp
6029 if test "$wxUSE_HELP" = 1; then
6030 echo "$ac_t""yes" 1>&6
6032 echo "$ac_t""no" 1>&6
6037 if test "$wxUSE_UNIX" = 1 ; then
6038 cat >> confdefs.h
<<\EOF
6044 if test "$USE_LINUX" = 1; then
6045 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
6046 echo "configure:6047: checking for gettext in -lc" >&5
6047 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
6048 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6049 echo $ac_n "(cached) $ac_c" 1>&6
6051 ac_save_LIBS
="$LIBS"
6053 cat > conftest.
$ac_ext <<EOF
6054 #line 6055 "configure"
6055 #include "confdefs.h"
6056 /* Override any gcc2 internal prototype to avoid an error. */
6057 /* We use char because int might match the return type of a gcc2
6058 builtin and then its argument prototype would still apply. */
6065 if { (eval echo configure
:6066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6067 eval "ac_cv_lib_$ac_lib_var=yes"
6069 echo "configure: failed program was:" >&5
6070 cat conftest.
$ac_ext >&5
6072 eval "ac_cv_lib_$ac_lib_var=no"
6075 LIBS
="$ac_save_LIBS"
6078 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6079 echo "$ac_t""yes" 1>&6
6080 cat >> confdefs.h
<<\EOF
6081 #define wxHAVE_GLIBC2 1
6085 echo "$ac_t""no" 1>&6
6102 if test "$wxUSE_GTK" = 1; then
6103 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
6104 if test "${with_gtk_prefix+set}" = set; then
6105 withval
="$with_gtk_prefix"
6106 gtk_config_prefix
="$withval"
6108 gtk_config_prefix
=""
6111 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
6112 if test "${with_gtk_exec_prefix+set}" = set; then
6113 withval
="$with_gtk_exec_prefix"
6114 gtk_config_exec_prefix
="$withval"
6116 gtk_config_exec_prefix
=""
6120 if test x
$gtk_config_exec_prefix != x
; then
6121 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6122 if test x
${GTK_CONFIG+set} != xset
; then
6123 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6126 if test x
$gtk_config_prefix != x
; then
6127 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6128 if test x
${GTK_CONFIG+set} != xset
; then
6129 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6133 # Extract the first word of "gtk-config", so it can be a program name with args.
6134 set dummy gtk
-config; ac_word
=$2
6135 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6136 echo "configure:6137: checking for $ac_word" >&5
6137 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6138 echo $ac_n "(cached) $ac_c" 1>&6
6140 case "$GTK_CONFIG" in
6142 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6145 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6146 for ac_dir
in $PATH; do
6147 test -z "$ac_dir" && ac_dir
=.
6148 if test -f $ac_dir/$ac_word; then
6149 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6154 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6158 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6159 if test -n "$GTK_CONFIG"; then
6160 echo "$ac_t""$GTK_CONFIG" 1>&6
6162 echo "$ac_t""no" 1>&6
6165 min_gtk_version
=1.0.4
6166 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6167 echo "configure:6168: checking for GTK - version >= $min_gtk_version" >&5
6169 if test "$GTK_CONFIG" != "no" ; then
6170 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6171 GTK_LIBS
=`$GTK_CONFIG --libs`
6172 ac_save_CFLAGS
="$CFLAGS"
6173 ac_save_LIBS
="$LIBS"
6174 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6175 LIBS
="$LIBS $GTK_LIBS"
6176 if test "$cross_compiling" = yes; then
6177 echo $ac_n "cross compiling; assumed OK... $ac_c"
6179 cat > conftest.
$ac_ext <<EOF
6180 #line 6181 "configure"
6181 #include "confdefs.h"
6183 #include <gtk/gtk.h>
6189 int major, minor, micro;
6191 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6192 printf("%s, bad version string\n", "$min_gtk_version");
6196 if (gtk_minor_version > 0) return FALSE;
6198 return !((gtk_major_version > major) ||
6199 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6200 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6204 if { (eval echo configure
:6205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
6208 echo "configure: failed program was:" >&5
6209 cat conftest.
$ac_ext >&5
6216 CFLAGS
="$ac_save_CFLAGS"
6217 LIBS
="$ac_save_LIBS"
6221 if test "x$no_gtk" = x
; then
6222 echo "$ac_t""yes" 1>&6
6224 GUI_TK_INCLUDE
="$GTK_CFLAGS"
6225 GUI_TK_LIBRARY
="$GTK_LIBS"
6228 echo "$ac_t""no" 1>&6
6231 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.0.4 up-to 1.0.6?" 1>&2; exit 1; }
6237 TOOLKIT_DEF
=__WXGTK__
6239 MAKEINCLUDE
=..
/gtk.inc
6242 if test "$wxUSE_QT" = 1; then
6243 echo $ac_n "checking for Qt includes""... $ac_c" 1>&6
6244 echo "configure:6245: checking for Qt includes" >&5
6247 for ac_dir
in $SEARCH_INCLUDE;
6249 if test -f "$ac_dir/qapp.h"; then
6250 ac_find_includes
=$ac_dir
6255 if test "$ac_find_includes" != "" ; then
6256 echo "$ac_t""found $ac_find_includes" 1>&6
6257 echo $ac_n "checking for Qt library""... $ac_c" 1>&6
6258 echo "configure:6259: checking for Qt library" >&5
6261 for ac_dir
in $SEARCH_LIB;
6263 for ac_extension
in a so sl
; do
6264 if test -f "$ac_dir/libqt.$ac_extension"; then
6265 ac_find_libraries
=$ac_dir
6271 if test "$ac_find_libraries" != "" ; then
6273 ac_path_to_include
=$ac_find_includes
6274 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6276 if test $result = 0; then
6277 ac_path_to_include
=""
6279 ac_path_to_include
="-I$ac_find_includes"
6283 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6285 if test $result = 0; then
6288 ac_path_to_link
="-L$ac_find_libraries"
6291 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6292 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6293 echo "$ac_t""found Qt at $ac_find_libraries" 1>&6
6295 { echo "configure: error: no" 1>&2; exit 1; }
6298 { echo "configure: error: no" 1>&2; exit 1; }
6300 GUI_TK_LINK
="-lX11 -lqt -lm"
6302 TOOLKIT_DEF
=__WXQT__
6304 MAKEINCLUDE
=..
/qt.inc
6307 if test "$wxUSE_MOTIF" = 1; then
6308 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
6309 echo "configure:6310: checking for Motif/Lesstif includes" >&5
6312 for ac_dir
in $SEARCH_INCLUDE;
6314 if test -f "$ac_dir/Xm.h"; then
6315 ac_find_includes
=$ac_dir
6320 if test "$ac_find_includes" != "" ; then
6321 echo "$ac_t""found $ac_find_includes" 1>&6
6322 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
6323 echo "configure:6324: checking for Motif/Lesstif library" >&5
6326 for ac_dir
in $SEARCH_LIB;
6328 for ac_extension
in a so sl
; do
6329 if test -f "$ac_dir/libXm.$ac_extension"; then
6330 ac_find_libraries
=$ac_dir
6336 if test "$ac_find_libraries" != "" ; then
6338 ac_path_to_include
=$ac_find_includes
6339 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6341 if test $result = 0; then
6342 ac_path_to_include
=""
6344 ac_path_to_include
="-I$ac_find_includes"
6348 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6350 if test $result = 0; then
6353 ac_path_to_link
="-L$ac_find_libraries"
6356 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6357 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6358 echo "$ac_t""found at $ac_find_libraries" 1>&6
6359 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
6360 echo "configure:6361: checking for Xt library" >&5
6363 for ac_dir
in $SEARCH_LIB;
6365 for ac_extension
in a so sl
; do
6366 if test -f "$ac_dir/libXt.$ac_extension"; then
6367 ac_find_libraries
=$ac_dir
6373 if test "$ac_find_libraries" != "" ; then
6375 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6377 if test $result = 0; then
6380 ac_path_to_link
="-L$ac_find_libraries"
6383 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6384 echo "$ac_t""found at $ac_find_libraries" 1>&6
6385 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6386 echo "configure:6387: checking for Xpm library" >&5
6389 for ac_dir
in $SEARCH_LIB;
6391 for ac_extension
in a so sl
; do
6392 if test -f "$ac_dir/libXpm.$ac_extension"; then
6393 ac_find_libraries
=$ac_dir
6399 if test "$ac_find_libraries" != "" ; then
6401 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6403 if test $result = 0; then
6406 ac_path_to_link
="-L$ac_find_libraries"
6409 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6410 echo "$ac_t""found at $ac_find_libraries" 1>&6
6412 { echo "configure: error: no" 1>&2; exit 1; }
6415 { echo "configure: error: no" 1>&2; exit 1; }
6418 { echo "configure: error: no" 1>&2; exit 1; }
6421 { echo "configure: error: no" 1>&2; exit 1; }
6424 GUI_TK_LINK
="-lXm -lXpm -lXmu -lXt -lX11 -lm"
6425 GUI_TK_LIBRARY
="$CHECK_LIB $GUI_TK_LINK"
6427 TOOLKIT_DEF
="__WXMOTIF__ -D__LINUX__ -D__UNIX__"
6429 MAKEINCLUDE
=..
/motif.inc
6432 if test "$TOOLKIT" = ""; then
6433 { echo "configure: error: You must specify a toolkit: --with-gtk --with-qt --with-motif" 1>&2; exit 1; }
6451 if test "$wxUSE_DEBUG_GDB" = 1 ; then
6456 if test "$wxUSE_DEBUG_INFO" = 1 ; then
6460 EXTRA_LINK
="-s $EXTRA_LINK"
6465 if test "$wxUSE_DEBUG_FLAG" = 1 ; then
6466 cat >> confdefs.h
<<EOF
6467 #define WXDEBUG $wxUSE_DEBUG_FLAG
6470 WXDEBUG_DEFINE
="-D__WXDEBUG__"
6473 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
6477 if test "$wxUSE_MEM_TRACING" = 1 ; then
6478 cat >> confdefs.h
<<EOF
6479 #define wxUSE_MEMORY_TRACING $wxUSE_MEM_TRACING
6482 cat >> confdefs.h
<<EOF
6483 #define wxUSE_GLOBAL_MEMORY_OPERATORS $wxUSE_MEM_TRACING
6488 if test "$wxUSE_DMALLOC" = 1 ; then
6489 EXTRA_LINK
="$EXTRA_LINK -ldmalloc"
6494 if test "$wxUSE_PROFILE" = 1 ; then
6499 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
6500 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
6501 if test "$wxUSE_OPTIMISE" = 0 ; then
6504 if test "$GCC" = yes ; then
6506 case "${canonical}" in
6508 OPTIMISE
="${OPTIMISE} "
6518 if test "$wxUSE_APPLE_IEEE" = 1 ; then
6519 APPLE_IEEE
="APPLE_IEEE"
6520 cat >> confdefs.h
<<EOF
6521 #define wxUSE_APPLE_IEEE $wxUSE_APPLE_IEEE
6526 wxUSE_IOSTREAMH
=$DEFAULT_wxUSE_IOSTREAMH
6527 cat >> confdefs.h
<<EOF
6528 #define wxUSE_IOSTREAMH $wxUSE_IOSTREAMH
6533 if test "$wxUSE_ZLIB" = 1 ; then
6534 cat >> confdefs.h
<<EOF
6535 #define wxUSE_ZLIB $wxUSE_ZLIB
6538 Z_C_SRC
="\$(Z_C_SRC)"
6542 if test "$wxUSE_LIBPNG" = 1 ; then
6543 cat >> confdefs.h
<<EOF
6544 #define wxUSE_LIBPNG $wxUSE_LIBPNG
6547 PNG_C_SRC
="\$(PNG_C_SRC)"
6552 if test "$wxUSE_ODBC" = 1 ; then
6553 cat >> confdefs.h
<<EOF
6554 #define wxUSE_ODBC $wxUSE_ODBC
6557 IODBC_C_SRC
="\$(IODBC_C_SRC)"
6562 if test "$wxUSE_CONFIG" = 1 ; then
6563 cat >> confdefs.h
<<EOF
6564 #define wxUSE_CONFIG $wxUSE_CONFIG
6569 if test "$wxUSE_TIMEDATE" = 1 ; then
6570 cat >> confdefs.h
<<EOF
6571 #define wxUSE_TIMEDATE $wxUSE_TIMEDATE
6576 if test "$wxUSE_INTL" = 1 ; then
6577 cat >> confdefs.h
<<EOF
6578 #define wxUSE_INTL $wxUSE_INTL
6583 if test "$wxUSE_STREAMS" = 1 ; then
6584 cat >> confdefs.h
<<EOF
6585 #define wxUSE_STREAMS $wxUSE_STREAMS
6590 if test "$wxUSE_SERIAL" = 1 ; then
6591 cat >> confdefs.h
<<EOF
6592 #define wxUSE_SERIAL $wxUSE_SERIAL
6598 if test "$wxUSE_RPC" = 1 ; then
6599 cat >> confdefs.h
<<EOF
6600 #define wxUSE_RPC $wxUSE_RPC
6605 if test "$wxUSE_WX_RESOURCES" = 1 ; then
6606 cat >> confdefs.h
<<EOF
6607 #define wxUSE_WX_RESOURCES $wxUSE_WX_RESOURCES
6612 if test "$wxUSE_PROLOGIO" = 1 ; then
6613 cat >> confdefs.h
<<EOF
6614 #define wxUSE_PROLOGIO 1
6620 if test "$wxUSE_POSTSCRIPT" = 1 ; then
6621 cat >> confdefs.h
<<EOF
6622 #define wxUSE_POSTSCRIPT 1
6627 cat >> confdefs.h
<<EOF
6628 #define wxUSE_AFM_FOR_POSTSCRIPT $wxUSE_AFM_FOR_POSTSCRIPT
6632 cat >> confdefs.h
<<EOF
6633 #define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS
6638 if test "$wxUSE_MDI_ARCHITECTURE" = 1 ; then
6639 cat >> confdefs.h
<<EOF
6640 #define wxUSE_MDI_ARCHITECTURE $wxUSE_MDI_ARCHITECTURE
6645 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1 ; then
6646 cat >> confdefs.h
<<EOF
6647 #define wxUSE_DOC_VIEW_ARCHITECTURE $wxUSE_DOC_VIEW_ARCHITECTURE
6652 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1 ; then
6653 cat >> confdefs.h
<<EOF
6654 #define wxUSE_PRINTING_ARCHITECTURE $wxUSE_PRINTING_ARCHITECTURE
6660 if test "$wxUSE_UNICODE" = 1 ; then
6661 cat >> confdefs.h
<<EOF
6662 #define wxUSE_UNICODE 1
6667 if test "$wxUSE_WCSRTOMBS" = 1 ; then
6668 cat >> confdefs.h
<<EOF
6669 #define wxUSE_WCSRTOMBS 1
6675 if test "$wxUSE_IPC" = 1 ; then
6676 cat >> confdefs.h
<<EOF
6682 if test "$wxUSE_RESOURCES" = 1 ; then
6683 cat >> confdefs.h
<<EOF
6684 #define wxUSE_RESOURCES $wxUSE_RESOURCES
6689 if test "$wxUSE_CLIPBOARD" = 1 ; then
6690 cat >> confdefs.h
<<EOF
6691 #define wxUSE_CLIPBOARD $wxUSE_CLIPBOARD
6696 if test "$wxUSE_TOOLTIPS" = 1 ; then
6697 cat >> confdefs.h
<<EOF
6698 #define wxUSE_TOOLTIPS $wxUSE_TOOLTIPS
6703 if test "$wxUSE_DRAG_AND_DROP" = 1 ; then
6704 cat >> confdefs.h
<<EOF
6705 #define wxUSE_DRAG_AND_DROP $wxUSE_DRAG_AND_DROP
6712 if test "$wxUSE_HELP" = 1 ; then
6714 cat >> confdefs.h
<<EOF
6715 #define wxUSE_HELP $wxUSE_HELP
6725 if test "$wxUSE_THREADS" = "1"; then
6728 echo $ac_n "checking for pthread_create in -lpthread-0.7""... $ac_c" 1>&6
6729 echo "configure:6730: checking for pthread_create in -lpthread-0.7" >&5
6730 ac_lib_var
=`echo pthread-0.7'_'pthread_create | sed 'y%./+-%__p_%'`
6731 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6732 echo $ac_n "(cached) $ac_c" 1>&6
6734 ac_save_LIBS
="$LIBS"
6735 LIBS
="-lpthread-0.7 $LIBS"
6736 cat > conftest.
$ac_ext <<EOF
6737 #line 6738 "configure"
6738 #include "confdefs.h"
6739 /* Override any gcc2 internal prototype to avoid an error. */
6740 /* We use char because int might match the return type of a gcc2
6741 builtin and then its argument prototype would still apply. */
6742 char pthread_create();
6748 if { (eval echo configure
:6749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6750 eval "ac_cv_lib_$ac_lib_var=yes"
6752 echo "configure: failed program was:" >&5
6753 cat conftest.
$ac_ext >&5
6755 eval "ac_cv_lib_$ac_lib_var=no"
6758 LIBS
="$ac_save_LIBS"
6761 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6762 echo "$ac_t""yes" 1>&6
6764 UNIX_THREAD
="gtk/threadpsx.cpp"
6765 THREADS_LINK
="-lpthread-0.7"
6768 echo "$ac_t""no" 1>&6
6770 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
6771 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
6772 echo "configure:6773: checking for sys/prctl.h" >&5
6773 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6774 echo $ac_n "(cached) $ac_c" 1>&6
6776 cat > conftest.
$ac_ext <<EOF
6777 #line 6778 "configure"
6778 #include "confdefs.h"
6779 #include <sys/prctl.h>
6781 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6782 { (eval echo configure
:6783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6783 ac_err
=`grep -v '^ *+' conftest.out`
6784 if test -z "$ac_err"; then
6786 eval "ac_cv_header_$ac_safe=yes"
6789 echo "configure: failed program was:" >&5
6790 cat conftest.
$ac_ext >&5
6792 eval "ac_cv_header_$ac_safe=no"
6796 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6797 echo "$ac_t""yes" 1>&6
6799 UNIX_THREAD
="gtk/threadsgi.cpp"
6802 echo "$ac_t""no" 1>&6
6807 echo $ac_n "checking for pthread_setcanceltype in -lpthread""... $ac_c" 1>&6
6808 echo "configure:6809: checking for pthread_setcanceltype in -lpthread" >&5
6809 ac_lib_var
=`echo pthread'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
6810 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6811 echo $ac_n "(cached) $ac_c" 1>&6
6813 ac_save_LIBS
="$LIBS"
6814 LIBS
="-lpthread $LIBS"
6815 cat > conftest.
$ac_ext <<EOF
6816 #line 6817 "configure"
6817 #include "confdefs.h"
6818 /* Override any gcc2 internal prototype to avoid an error. */
6819 /* We use char because int might match the return type of a gcc2
6820 builtin and then its argument prototype would still apply. */
6821 char pthread_setcanceltype();
6824 pthread_setcanceltype()
6827 if { (eval echo configure
:6828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6829 eval "ac_cv_lib_$ac_lib_var=yes"
6831 echo "configure: failed program was:" >&5
6832 cat conftest.
$ac_ext >&5
6834 eval "ac_cv_lib_$ac_lib_var=no"
6837 LIBS
="$ac_save_LIBS"
6840 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6841 echo "$ac_t""yes" 1>&6
6843 UNIX_THREAD
="gtk/threadpsx.cpp"
6844 THREADS_LINK
="-lpthread"
6847 echo "$ac_t""no" 1>&6
6854 if test "$THREADS_LINK" != ""; then
6855 cat >> confdefs.h
<<\EOF
6856 #define wxUSE_THREADS 1
6862 echo $ac_n "checking for printf in -lposix4""... $ac_c" 1>&6
6863 echo "configure:6864: checking for printf in -lposix4" >&5
6864 ac_lib_var
=`echo posix4'_'printf | sed 'y%./+-%__p_%'`
6865 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6866 echo $ac_n "(cached) $ac_c" 1>&6
6868 ac_save_LIBS
="$LIBS"
6869 LIBS
="-lposix4 $LIBS"
6870 cat > conftest.
$ac_ext <<EOF
6871 #line 6872 "configure"
6872 #include "confdefs.h"
6873 /* Override any gcc2 internal prototype to avoid an error. */
6874 /* We use char because int might match the return type of a gcc2
6875 builtin and then its argument prototype would still apply. */
6882 if { (eval echo configure
:6883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6884 eval "ac_cv_lib_$ac_lib_var=yes"
6886 echo "configure: failed program was:" >&5
6887 cat conftest.
$ac_ext >&5
6889 eval "ac_cv_lib_$ac_lib_var=no"
6892 LIBS
="$ac_save_LIBS"
6895 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6896 echo "$ac_t""yes" 1>&6
6898 THREADS_LINK
="$THREADS_LINK -lposix4"
6901 echo "$ac_t""no" 1>&6
6907 if test "$wxUSE_MOTIF" = "1"; then
6908 UNIX_THREAD
="motif/thread.cpp"
6911 if test -z "$UNIX_THREAD"; then
6922 case "${canonical}" in
6925 if test "$GCC" != "yes" ; then
6926 CXXFLAGS
="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
6927 CFLAGS
="${CFLAGS} -z -D_HPUX_SOURCE"
6933 CREATE_SHARED
=sharedHpux
6938 CREATE_SHARED
=sharedLinux
6941 *-*-irix5* | *-*-irix6* )
6942 # PICFLAGS can remain empty, as pic is the default
6944 CREATE_SHARED
=sharedIrix
6945 cat >> confdefs.h
<<\EOF
6952 if test "$GCC" != "yes" ; then
6957 CREATE_SHARED
=sharedSolaris2
6958 cat >> confdefs.h
<<\EOF
6965 if test "$GCC" != "yes" ; then
6971 CREATE_SHARED
=sharedSunos4
6972 cat >> confdefs.h
<<\EOF
6978 *-*-freebsd* | *-*-netbsd*)
6980 CREATE_SHARED
=sharedBsd
6981 cat >> confdefs.h
<<\EOF
6989 CREATE_SHARED
=sharedOSF
6993 if test "$GCC" != "yes" ; then
6998 CREATE_SHARED
=sharedDgux
6999 cat >> confdefs.h
<<\EOF
7006 if test "$GCC" != "yes" ; then
7011 CREATE_SHARED
=sharedSysV
7012 cat >> confdefs.h
<<\EOF
7019 if test "$GCC" != "yes" ; then
7024 CREATE_SHARED
=sharedAIX
7025 cat >> confdefs.h
<<\EOF
7036 if test "x$GCC" = xyes
; then
7037 CFLAGS
="${CFLAGS} -Wall -Wno-unused -Wno-uninitialized -D_REENTRANT -DLEX_SCANNER -DHAVE_LIBDL"
7040 if test "x$GXX" = xyes
; then
7041 if test "$wxUSE_MOTIF" = 1; then
7042 CXXFLAGS
="${CXXFLAGS} -Wall -Wno-unused -D_REENTRANT"
7044 CXXFLAGS
="${CXXFLAGS} -Wall -D_REENTRANT"
7048 if test "$wxUSE_SHARED" != 1; then
7058 echo $OS >> system.list
7062 cat > confcache
<<\EOF
7063 # This file is a shell script that caches the results of configure
7064 # tests run on this system so they can be shared between configure
7065 # scripts and configure runs. It is not useful on other systems.
7066 # If it contains results you don't want to keep, you may remove or edit it.
7068 # By default, configure uses ./config.cache as the cache file,
7069 # creating it if it does not exist already. You can give configure
7070 # the --cache-file=FILE option to use a different cache file; that is
7071 # what configure does when it calls configure scripts in
7072 # subdirectories, so they share the cache.
7073 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7074 # config.status only pays attention to the cache file if you give it the
7075 # --recheck option to rerun configure.
7078 # The following way of writing the cache mishandles newlines in values,
7079 # but we know of no workaround that is simple, portable, and efficient.
7080 # So, don't put newlines in cache variables' values.
7081 # Ultrix sh set writes to stderr and can't be redirected directly,
7082 # and sets the high bit in the cache file unless we assign to the vars.
7084 case `(ac_space=' '; set) 2>&1` in
7086 # `set' does not quote correctly, so add quotes (double-quote substitution
7087 # turns \\\\ into \\, and sed turns \\ into \).
7089 -e "s/'/'\\\\''/g" \
7090 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7093 # `set' quotes correctly as required by POSIX, so do not add quotes.
7094 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7097 if cmp -s $cache_file confcache
; then
7100 if test -w $cache_file; then
7101 echo "updating cache $cache_file"
7102 cat confcache
> $cache_file
7104 echo "not updating unwritable cache $cache_file"
7109 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
7111 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7112 # Let make expand exec_prefix.
7113 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7115 # Any assignment to VPATH causes Sun make to only execute
7116 # the first set of double-colon rules, so remove it if not needed.
7117 # If there is a colon in the path, we need to keep it.
7118 if test "x$srcdir" = x.
; then
7119 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
7122 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
7124 DEFS
=-DHAVE_CONFIG_H
7126 # Without the "./", some shells look in PATH for config.status.
7127 : ${CONFIG_STATUS=./config.status}
7129 echo creating
$CONFIG_STATUS
7130 rm -f $CONFIG_STATUS
7131 cat > $CONFIG_STATUS <<EOF
7133 # Generated automatically by configure.
7134 # Run this file to recreate the current configuration.
7135 # This directory was configured as follows,
7136 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7138 # $0 $ac_configure_args
7140 # Compiler output produced by configure, useful for debugging
7141 # configure, is in ./config.log if it exists.
7143 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
7146 case "\$ac_option" in
7147 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7148 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
7149 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
7150 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
7151 echo "$CONFIG_STATUS generated by autoconf version 2.12"
7153 -help | --help | --hel | --he | --h)
7154 echo "\$ac_cs_usage"; exit 0 ;;
7155 *) echo "\$ac_cs_usage"; exit 1 ;;
7159 ac_given_srcdir=$srcdir
7160 ac_given_INSTALL="$INSTALL"
7162 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
7164 cat >> $CONFIG_STATUS <<EOF
7166 # Protect against being on the right side of a sed subst in config.status.
7167 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
7168 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
7171 s%@CFLAGS@%$CFLAGS%g
7172 s%@CPPFLAGS@%$CPPFLAGS%g
7173 s%@CXXFLAGS@%$CXXFLAGS%g
7175 s%@LDFLAGS@%$LDFLAGS%g
7177 s%@exec_prefix@%$exec_prefix%g
7178 s%@prefix@%$prefix%g
7179 s%@program_transform_name@%$program_transform_name%g
7180 s%@bindir@%$bindir%g
7181 s%@sbindir@%$sbindir%g
7182 s%@libexecdir@%$libexecdir%g
7183 s%@datadir@%$datadir%g
7184 s%@sysconfdir@%$sysconfdir%g
7185 s%@sharedstatedir@%$sharedstatedir%g
7186 s%@localstatedir@%$localstatedir%g
7187 s%@libdir@%$libdir%g
7188 s%@includedir@%$includedir%g
7189 s%@oldincludedir@%$oldincludedir%g
7190 s%@infodir@%$infodir%g
7191 s%@mandir@%$mandir%g
7192 s%@WXBASEDIR@%$WXBASEDIR%g
7196 s%@CXXCPP@%$CXXCPP%g
7197 s%@RANLIB@%$RANLIB%g
7199 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
7200 s%@INSTALL_DATA@%$INSTALL_DATA%g
7203 s%@X_CFLAGS@%$X_CFLAGS%g
7204 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
7205 s%@X_LIBS@%$X_LIBS%g
7206 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
7207 s%@GTK_JOYSTICK@%$GTK_JOYSTICK%g
7208 s%@LIBOBJS@%$LIBOBJS%g
7211 s%@LEXLIB@%$LEXLIB%g
7212 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
7213 s%@DL_LIBRARY@%$DL_LIBRARY%g
7215 s%@host_alias@%$host_alias%g
7216 s%@host_cpu@%$host_cpu%g
7217 s%@host_vendor@%$host_vendor%g
7218 s%@host_os@%$host_os%g
7219 s%@GTK_CONFIG@%$GTK_CONFIG%g
7220 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
7221 s%@GTK_LIBS@%$GTK_LIBS%g
7222 s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g
7223 s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g
7224 s%@GUI_TK_LINK@%$GUI_TK_LINK%g
7225 s%@WX_LINK@%$WX_LINK%g
7226 s%@TOOLKIT@%$TOOLKIT%g
7227 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
7228 s%@MAKEINCLUDE@%$MAKEINCLUDE%g
7229 s%@WXDEBUG@%$WXDEBUG%g
7230 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
7231 s%@EXTRA_LINK@%$EXTRA_LINK%g
7232 s%@PROFILE@%$PROFILE%g
7233 s%@OPTIMISE@%$OPTIMISE%g
7234 s%@Z_C_SRC@%$Z_C_SRC%g
7235 s%@PNG_C_SRC@%$PNG_C_SRC%g
7236 s%@IODBC_C_SRC@%$IODBC_C_SRC%g
7238 s%@UNIX_THREAD@%$UNIX_THREAD%g
7239 s%@THREADS_LINK@%$THREADS_LINK%g
7241 s%@PICFLAGS@%$PICFLAGS%g
7242 s%@CREATE_SHARED@%$CREATE_SHARED%g
7247 cat >> $CONFIG_STATUS <<\EOF
7249 # Split the substitutions into bite-sized pieces for seds with
7250 # small command number limits, like on Digital OSF/1 and HP-UX.
7251 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
7252 ac_file
=1 # Number of current file.
7253 ac_beg
=1 # First line for current file.
7254 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
7257 while $ac_more_lines; do
7258 if test $ac_beg -gt 1; then
7259 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
7261 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
7263 if test ! -s conftest.s
$ac_file; then
7265 rm -f conftest.s
$ac_file
7267 if test -z "$ac_sed_cmds"; then
7268 ac_sed_cmds
="sed -f conftest.s$ac_file"
7270 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
7272 ac_file
=`expr $ac_file + 1`
7274 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
7277 if test -z "$ac_sed_cmds"; then
7282 cat >> $CONFIG_STATUS <<EOF
7284 CONFIG_FILES=\${CONFIG_FILES-"./setup/substit ./wx-config:./wx-config.in"}
7286 cat >> $CONFIG_STATUS <<\EOF
7287 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
7288 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7290 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7291 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7292 *) ac_file_in
="${ac_file}.in" ;;
7295 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
7297 # Remove last slash and all that follows it. Not all systems have dirname.
7298 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7299 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
7300 # The file is in a subdirectory.
7301 test ! -d "$ac_dir" && mkdir "$ac_dir"
7302 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
7303 # A "../" for each directory in $ac_dir_suffix.
7304 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
7306 ac_dir_suffix
= ac_dots
=
7309 case "$ac_given_srcdir" in
7311 if test -z "$ac_dots"; then top_srcdir
=.
7312 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
7313 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
7315 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
7316 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
7319 case "$ac_given_INSTALL" in
7320 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
7321 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
7324 echo creating
"$ac_file"
7326 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
7328 *Makefile
*) ac_comsub
="1i\\
7329 # $configure_input" ;;
7333 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7335 s%@configure_input@%$configure_input%g
7336 s%@srcdir@%$srcdir%g
7337 s%@top_srcdir@%$top_srcdir%g
7338 s%@INSTALL@%$INSTALL%g
7339 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
7343 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7344 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7346 # ac_d sets the value in "#define NAME VALUE" lines.
7347 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7348 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
7351 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
7352 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7353 ac_uB
='\([ ]\)%\1#\2define\3'
7356 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7357 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7358 ac_eB
='$%\1#\2define\3'
7362 if test "${CONFIG_HEADERS+set}" != set; then
7364 cat >> $CONFIG_STATUS <<EOF
7365 CONFIG_HEADERS="./include/wx/gtk/setup.h:./setup/setup.hin"
7367 cat >> $CONFIG_STATUS <<\EOF
7369 for ac_file
in ..
$CONFIG_HEADERS; 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 echo creating
$ac_file
7379 rm -f conftest.frag conftest.
in conftest.out
7380 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7381 cat $ac_file_inputs > conftest.
in
7385 # Transform confdefs.h into a sed script conftest.vals that substitutes
7386 # the proper values into config.h.in to produce config.h. And first:
7387 # Protect against being on the right side of a sed subst in config.status.
7388 # Protect against being in an unquoted here document in config.status.
7390 cat > conftest.hdr
<<\EOF
7393 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
7397 sed -n -f conftest.hdr confdefs.h > conftest.vals
7400 # This sed command replaces #undef with comments. This is necessary, for
7401 # example, in the case of _POSIX_SOURCE, which is predefined and required
7402 # on some systems where configure will not decide to define it.
7403 cat >> conftest.vals <<\EOF
7404 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
7407 # Break up conftest.vals because some shells have a limit on
7408 # the size of here documents, and old seds have small limits too.
7413 ac_lines=`grep -c . conftest.vals
`
7414 # grep -c gives empty output for an empty file on some AIX systems.
7415 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
7416 # Write a limited-size here document to conftest.frag.
7417 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
7418 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
7420 sed -f conftest.frag conftest.in > conftest.out
7422 mv conftest.out conftest.in
7424 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
7426 mv conftest.tail conftest.vals
7430 cat >> $CONFIG_STATUS <<\EOF
7431 rm -f conftest.frag conftest.h
7432 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
7433 cat conftest.in >> conftest.h
7435 if cmp -s $ac_file conftest.h 2>/dev/null; then
7436 echo "$ac_file is unchanged"
7439 # Remove last slash and all that follows it. Not all systems have dirname.
7440 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7441 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7442 # The file is in a subdirectory.
7443 test ! -d "$ac_dir" && mkdir "$ac_dir"
7446 mv conftest.h $ac_file
7451 cat >> $CONFIG_STATUS <<EOF
7454 cat >> $CONFIG_STATUS <<\EOF
7455 ./setup/general/createall
7458 chmod +x $CONFIG_STATUS
7459 rm -fr confdefs* $ac_clean_files
7460 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
7464 mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache