2 # From configure.in Revision: 1.45 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by Autoconf 2.52.20121002.
6 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7 # Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
11 # Avoid depending upon Character Ranges.
12 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15 as_cr_digits='0123456789'
16 as_cr_alnum=$as_cr_Letters$as_cr_digits
18 # Sed expression to map a string onto a valid variable name.
19 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
21 # Sed expression to map a string onto a valid CPP name.
22 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
24 # Be Bourne compatible
25 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
32 # Name of the executable.
33 as_me=`echo "$0" |sed 's,.*[\\/],,'`
35 if expr a : '\(a\)' >/dev/null 2>&1; then
41 rm -f conf$$ conf$$.exe conf$$.file
43 if ln -s conf$$.file conf$$ 2>/dev/null; then
44 # We could just check for DJGPP; but this test a) works b) is more generic
45 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
46 if test -f conf$$.exe; then
47 # Don't use ln at all; we don't have any links
52 elif ln conf$$.file conf$$ 2>/dev/null; then
57 rm -f conf$$ conf$$.exe conf$$.file
59 as_executable_p="test -f"
61 # Support unset when possible.
62 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
69 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
70 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
71 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
72 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
73 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
74 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
75 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
76 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
79 # We need space, tab and new line, in precisely that order.
85 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
88 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
89 # so uname gets run too.
90 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
97 ac_default_prefix=/usr/local
101 SHELL=${CONFIG_SHELL-/bin/sh}
103 # Maximum number of lines to put in a shell here document.
104 # This variable seems obsolete. It should probably be removed, and
105 # only ac_max_sed_lines should be used.
106 : ${ac_max_here_lines=38}
108 ac_unique_file="gen/gen.c"
110 # Initialize some variables set by options.
112 ac_init_version=false
113 # The variables have the same names as the options, with
114 # dashes changed to underlines.
122 program_transform_name=s,x,x,
130 # Installation directory options.
131 # These are left unexpanded so users can "make install exec_prefix=/foo"
132 # and all the variables that are supposed to be based on exec_prefix
133 # by default will actually change.
134 # Use braces instead of parens because sh, perl, etc. also accept them.
135 bindir='${exec_prefix}/bin'
136 sbindir='${exec_prefix}/sbin'
137 libexecdir='${exec_prefix}/libexec'
138 datarootdir='${prefix}/share'
139 datadir='${datarootdir}'
140 sysconfdir='${prefix}/etc'
141 sharedstatedir='${prefix}/com'
142 localstatedir='${prefix}/var'
143 libdir='${exec_prefix}/lib'
144 includedir='${prefix}/include'
145 oldincludedir='/usr/include'
146 infodir='${datarootdir}/info'
147 mandir='${datarootdir}/man'
149 # Identity of this package.
159 # If the previous option needs an argument, assign it.
160 if test -n "$ac_prev"; then
161 eval "$ac_prev=\$ac_option"
166 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
168 # Accept the important Cygnus configure options, so we can diagnose typos.
172 -bindir | --bindir | --bindi | --bind | --bin | --bi)
174 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
177 -build | --build | --buil | --bui | --bu)
178 ac_prev=build_alias ;;
179 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
180 build_alias=$ac_optarg ;;
182 -cache-file | --cache-file | --cache-fil | --cache-fi \
183 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
184 ac_prev=cache_file ;;
185 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
186 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
187 cache_file=$ac_optarg ;;
190 cache_file=config.cache ;;
192 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
194 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
196 datadir=$ac_optarg ;;
198 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
199 | --dataroo | --dataro | --datar)
200 ac_prev=datarootdir ;;
201 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
202 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
203 datarootdir=$ac_optarg ;;
205 -disable-* | --disable-*)
206 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
207 # Reject names that are not valid shell variable names.
208 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
209 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
210 { (exit 1); exit 1; }; }
211 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
212 eval "enable_$ac_feature=no" ;;
214 -enable-* | --enable-*)
215 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
216 # Reject names that are not valid shell variable names.
217 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
218 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
219 { (exit 1); exit 1; }; }
220 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
222 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
225 eval "enable_$ac_feature='$ac_optarg'" ;;
227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
229 | --exec | --exe | --ex)
230 ac_prev=exec_prefix ;;
231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
233 | --exec=* | --exe=* | --ex=*)
234 exec_prefix=$ac_optarg ;;
236 -gas | --gas | --ga | --g)
237 # Obsolete; use --with-gas.
240 -help | --help | --hel | --he | -h)
242 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
243 ac_init_help=recursive ;;
244 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
245 ac_init_help=short ;;
247 -host | --host | --hos | --ho)
248 ac_prev=host_alias ;;
249 -host=* | --host=* | --hos=* | --ho=*)
250 host_alias=$ac_optarg ;;
252 -includedir | --includedir | --includedi | --included | --include \
253 | --includ | --inclu | --incl | --inc)
254 ac_prev=includedir ;;
255 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
256 | --includ=* | --inclu=* | --incl=* | --inc=*)
257 includedir=$ac_optarg ;;
259 -infodir | --infodir | --infodi | --infod | --info | --inf)
261 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
262 infodir=$ac_optarg ;;
264 -libdir | --libdir | --libdi | --libd)
266 -libdir=* | --libdir=* | --libdi=* | --libd=*)
269 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
270 | --libexe | --libex | --libe)
271 ac_prev=libexecdir ;;
272 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
273 | --libexe=* | --libex=* | --libe=*)
274 libexecdir=$ac_optarg ;;
276 -localstatedir | --localstatedir | --localstatedi | --localstated \
277 | --localstate | --localstat | --localsta | --localst \
278 | --locals | --local | --loca | --loc | --lo)
279 ac_prev=localstatedir ;;
280 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
281 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
282 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
283 localstatedir=$ac_optarg ;;
285 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
287 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
291 # Obsolete; use --without-fp.
294 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
298 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
299 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
302 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
303 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
304 | --oldin | --oldi | --old | --ol | --o)
305 ac_prev=oldincludedir ;;
306 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
307 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
308 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
309 oldincludedir=$ac_optarg ;;
311 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
313 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
316 -program-prefix | --program-prefix | --program-prefi | --program-pref \
317 | --program-pre | --program-pr | --program-p)
318 ac_prev=program_prefix ;;
319 -program-prefix=* | --program-prefix=* | --program-prefi=* \
320 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
321 program_prefix=$ac_optarg ;;
323 -program-suffix | --program-suffix | --program-suffi | --program-suff \
324 | --program-suf | --program-su | --program-s)
325 ac_prev=program_suffix ;;
326 -program-suffix=* | --program-suffix=* | --program-suffi=* \
327 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
328 program_suffix=$ac_optarg ;;
330 -program-transform-name | --program-transform-name \
331 | --program-transform-nam | --program-transform-na \
332 | --program-transform-n | --program-transform- \
333 | --program-transform | --program-transfor \
334 | --program-transfo | --program-transf \
335 | --program-trans | --program-tran \
336 | --progr-tra | --program-tr | --program-t)
337 ac_prev=program_transform_name ;;
338 -program-transform-name=* | --program-transform-name=* \
339 | --program-transform-nam=* | --program-transform-na=* \
340 | --program-transform-n=* | --program-transform-=* \
341 | --program-transform=* | --program-transfor=* \
342 | --program-transfo=* | --program-transf=* \
343 | --program-trans=* | --program-tran=* \
344 | --progr-tra=* | --program-tr=* | --program-t=*)
345 program_transform_name=$ac_optarg ;;
347 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
348 | -silent | --silent | --silen | --sile | --sil)
351 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
353 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
355 sbindir=$ac_optarg ;;
357 -sharedstatedir | --sharedstatedir | --sharedstatedi \
358 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
359 | --sharedst | --shareds | --shared | --share | --shar \
361 ac_prev=sharedstatedir ;;
362 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
363 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
364 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
366 sharedstatedir=$ac_optarg ;;
368 -site | --site | --sit)
370 -site=* | --site=* | --sit=*)
373 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
375 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
378 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
379 | --syscon | --sysco | --sysc | --sys | --sy)
380 ac_prev=sysconfdir ;;
381 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
382 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
383 sysconfdir=$ac_optarg ;;
385 -target | --target | --targe | --targ | --tar | --ta | --t)
386 ac_prev=target_alias ;;
387 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
388 target_alias=$ac_optarg ;;
390 -v | -verbose | --verbose | --verbos | --verbo | --verb)
393 -version | --version | --versio | --versi | --vers | -V)
397 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400 { echo "$as_me: error: invalid package name: $ac_package" >&2
401 { (exit 1); exit 1; }; }
402 ac_package=`echo $ac_package| sed 's/-/_/g'`
404 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
407 eval "with_$ac_package='$ac_optarg'" ;;
409 -without-* | --without-*)
410 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
411 # Reject names that are not valid shell variable names.
412 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
413 { echo "$as_me: error: invalid package name: $ac_package" >&2
414 { (exit 1); exit 1; }; }
415 ac_package=`echo $ac_package | sed 's/-/_/g'`
416 eval "with_$ac_package=no" ;;
419 # Obsolete; use --with-x.
422 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
423 | --x-incl | --x-inc | --x-in | --x-i)
424 ac_prev=x_includes ;;
425 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
426 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
427 x_includes=$ac_optarg ;;
429 -x-libraries | --x-libraries | --x-librarie | --x-librari \
430 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
431 ac_prev=x_libraries ;;
432 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
433 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
434 x_libraries=$ac_optarg ;;
436 -*) { echo "$as_me: error: unrecognized option: $ac_option
437 Try \`$0 --help' for more information." >&2
438 { (exit 1); exit 1; }; }
442 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
443 # Reject names that are not valid shell variable names.
444 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
445 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
446 { (exit 1); exit 1; }; }
447 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
448 eval "$ac_envvar='$ac_optarg'"
452 # FIXME: should be removed in autoconf 3.0.
453 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
454 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
455 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
456 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
462 if test -n "$ac_prev"; then
463 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
464 { echo "$as_me: error: missing argument to $ac_option" >&2
465 { (exit 1); exit 1; }; }
468 # Be sure to have absolute paths.
469 for ac_var in exec_prefix prefix
471 eval ac_val=$`echo $ac_var`
473 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
474 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
475 { (exit 1); exit 1; }; };;
479 # Be sure to have absolute paths.
480 for ac_var in bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir \
481 localstatedir libdir includedir oldincludedir infodir mandir
483 eval ac_val=$`echo $ac_var`
485 [\\/$]* | ?:[\\/]* ) ;;
486 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
487 { (exit 1); exit 1; }; };;
491 # There might be people who depend on the old broken behavior: `$host'
492 # used to hold the argument of --host etc.
497 # FIXME: should be removed in autoconf 3.0.
498 if test "x$host_alias" != x; then
499 if test "x$build_alias" = x; then
500 cross_compiling=maybe
501 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
502 If a cross compiler is detected then cross compile mode will be used." >&2
503 elif test "x$build_alias" != "x$host_alias"; then
509 test -n "$host_alias" && ac_tool_prefix=$host_alias-
511 test "$silent" = yes && exec 6>/dev/null
513 # Find the source files, if location was not specified.
514 if test -z "$srcdir"; then
515 ac_srcdir_defaulted=yes
516 # Try the directory containing this script, then its parent.
518 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
519 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
521 if test ! -r $srcdir/$ac_unique_file; then
525 ac_srcdir_defaulted=no
527 if test ! -r $srcdir/$ac_unique_file; then
528 if test "$ac_srcdir_defaulted" = yes; then
529 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
530 { (exit 1); exit 1; }; }
532 { echo "$as_me: error: cannot find sources in $srcdir" >&2
533 { (exit 1); exit 1; }; }
536 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
537 ac_env_build_alias_set=${build_alias+set}
538 ac_env_build_alias_value=$build_alias
539 ac_cv_env_build_alias_set=${build_alias+set}
540 ac_cv_env_build_alias_value=$build_alias
541 ac_env_host_alias_set=${host_alias+set}
542 ac_env_host_alias_value=$host_alias
543 ac_cv_env_host_alias_set=${host_alias+set}
544 ac_cv_env_host_alias_value=$host_alias
545 ac_env_target_alias_set=${target_alias+set}
546 ac_env_target_alias_value=$target_alias
547 ac_cv_env_target_alias_set=${target_alias+set}
548 ac_cv_env_target_alias_value=$target_alias
549 ac_env_CC_set=${CC+set}
551 ac_cv_env_CC_set=${CC+set}
552 ac_cv_env_CC_value=$CC
553 ac_env_CFLAGS_set=${CFLAGS+set}
554 ac_env_CFLAGS_value=$CFLAGS
555 ac_cv_env_CFLAGS_set=${CFLAGS+set}
556 ac_cv_env_CFLAGS_value=$CFLAGS
557 ac_env_LDFLAGS_set=${LDFLAGS+set}
558 ac_env_LDFLAGS_value=$LDFLAGS
559 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
560 ac_cv_env_LDFLAGS_value=$LDFLAGS
561 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
562 ac_env_CPPFLAGS_value=$CPPFLAGS
563 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
564 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
565 ac_env_CPP_set=${CPP+set}
566 ac_env_CPP_value=$CPP
567 ac_cv_env_CPP_set=${CPP+set}
568 ac_cv_env_CPP_value=$CPP
571 # Report the --help message.
573 if test "$ac_init_help" = "long"; then
574 # Omit some internal or obsolete options to make the list less imposing.
575 # This message is too long to be a string in the A/UX 3.1 sh.
577 \`configure' configures this package to adapt to many kinds of systems.
579 Usage: $0 [OPTION]... [VAR=VALUE]...
581 To assign environment variables (e.g., CC, CFLAGS...), specify them as
582 VAR=VALUE. See below for descriptions of some of the useful variables.
584 Defaults for the options are specified in brackets.
587 -h, --help display this help and exit
588 --help=short display options specific to this package
589 --help=recursive display the short help of all the included packages
590 -V, --version display version information and exit
591 -q, --quiet, --silent do not print \`checking...' messages
592 --cache-file=FILE cache test results in FILE [disabled]
593 -C, --config-cache alias for \`--cache-file=config.cache'
594 -n, --no-create do not create output files
595 --srcdir=DIR find the sources in DIR [configure dir or \`..']
600 Installation directories:
601 --prefix=PREFIX install architecture-independent files in PREFIX
603 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
606 By default, \`make install' will install all the files in
607 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
608 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
609 for instance \`--prefix=\$HOME'.
611 For better control, use the options below.
613 Fine tuning of the installation directories:
614 --bindir=DIR user executables [EPREFIX/bin]
615 --sbindir=DIR system admin executables [EPREFIX/sbin]
616 --libexecdir=DIR program executables [EPREFIX/libexec]
617 --datarootdir=DIR read-only architecture-independent data [PREFIX/share]
618 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
619 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
620 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
621 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
622 --libdir=DIR object code libraries [EPREFIX/lib]
623 --includedir=DIR C header files [PREFIX/include]
624 --oldincludedir=DIR C header files for non-gcc [/usr/include]
625 --infodir=DIR info documentation [DATAROOTDIR/info]
626 --mandir=DIR man documentation [DATAROOTDIR/man]
632 --program-prefix=PREFIX prepend PREFIX to installed program names
633 --program-suffix=SUFFIX append SUFFIX to installed program names
634 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
637 --build=BUILD configure for building on BUILD [guessed]
638 --host=HOST build programs to run on HOST [BUILD]
639 --target=TARGET configure for building compilers for TARGET [HOST]
643 if test -n "$ac_init_help"; then
648 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
649 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
652 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
653 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
655 --with-system-type=XXX test: override derived host system-type
656 --with-pkg-config{=path} enable/disable use of pkg-config
657 --with-pkg-config-libdir=XXX use given directory for installing pc-files
658 --enable-pc-files generate and install .pc files for pkg-config
659 --without-tests suppress build with test-programs
660 --enable-mixed-case tic should assume mixed-case filenames
661 --with-install-prefix prefixes actual install-location ($DESTDIR)
662 Build-Tools Needed to Compile Temporary Applications for Cross-compiling:
663 --with-build-cc=XXX the build C compiler ($BUILD_CC)
664 --with-build-cpp=XXX the build C preprocessor ($BUILD_CPP)
665 --with-build-cflags=XXX the build C compiler-flags ($BUILD_CFLAGS)
666 --with-build-cppflags=XXX the build C preprocessor-flags ($BUILD_CPPFLAGS)
667 --with-build-ldflags=XXX the build linker-flags ($BUILD_LDFLAGS)
668 --with-build-libs=XXX the build libraries (${BUILD_LIBS})
669 Options to Specify the Libraries Built/Used:
670 --with-shared generate shared C-objects (needed for --with-ada-sharedlib)
671 --enable-widec compile with wide-char/UTF-8 code
672 --with-curses-dir=DIR directory in which (n)curses is installed
673 --with-lib-prefix override library-prefix
674 --with-shlib-version=X Specify rel or abi version for shared libs
675 --enable-rpath-link link sample programs with rpath option
676 Fine-Tuning Your Configuration:
677 --enable-broken_linker compile with broken-linker support code
678 --disable-largefile omit support for large files
679 --with-rcs-ids compile-in RCS identifiers
681 --disable-ext-funcs disable function-extensions
682 --enable-const compile with extra/non-standard const
684 --without-develop disable development options
686 --with-pthread use POSIX thread library
687 --enable-weak-symbols enable weak-symbols for pthreads
688 --enable-reentrant compile with experimental reentrant code
689 --with-wrap-prefix=XXX override prefix used for public variables
690 Testing/development Options:
691 --disable-echo do not display "compiling" commands
692 --enable-warnings build: turn on GCC compiler warnings
693 --enable-assertions test: turn on generation of assertion code
694 --enable-expanded test: generate functions for certain macros
695 --disable-macros test: use functions rather than macros
696 --with-trace test: add trace() function to all models of ncurses
697 Ada95 Binding Options:
698 --with-ada-compiler=CMD specify Ada95 compiler command (default gnatmake)
699 --with-ada-include=DIR Ada includes are in DIR (default: PREFIX/share/ada/adainclude)
700 --with-ada-objects=DIR Ada objects are in DIR (default: PREFIX/lib/ada/adalib)
701 --with-ada-sharedlib=XX build Ada95 shared-library
703 Some influential environment variables:
704 CC C compiler command
705 CFLAGS C compiler flags
706 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
707 nonstandard directory <lib dir>
708 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
709 headers in a nonstandard directory <include dir>
712 Use these variables to override the choices made by `configure' or to help
713 it to find libraries and programs with nonstandard names/locations.
718 if test "$ac_init_help" = "recursive"; then
719 # If there are subdirs, report their specific --help.
721 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
723 # A "../" for each directory in /$ac_subdir.
724 ac_dots=`echo $ac_subdir |
725 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
728 .) # No --srcdir option. We are building in place.
729 ac_sub_srcdir=$srcdir ;;
730 [\\/]* | ?:[\\/]* ) # Absolute path.
731 ac_sub_srcdir=$srcdir/$ac_subdir ;;
733 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
736 # Check for guested configure; otherwise get Cygnus style configure.
737 if test -f $ac_sub_srcdir/configure.gnu; then
739 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
740 elif test -f $ac_sub_srcdir/configure; then
742 $SHELL $ac_sub_srcdir/configure --help=recursive
743 elif test -f $ac_sub_srcdir/configure.ac ||
744 test -f $ac_sub_srcdir/configure.in; then
748 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
754 test -n "$ac_init_help" && exit 0
755 if $ac_init_version; then
758 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
759 Free Software Foundation, Inc.
760 This configure script is free software; the Free Software Foundation
761 gives unlimited permission to copy, distribute and modify it.
767 This file contains any messages produced by compilers while
768 running configure, to aid debugging if configure makes a mistake.
770 It was created by $as_me, which was
771 generated by GNU Autoconf 2.52.20121002. Invocation command line was
782 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
783 uname -m = `(uname -m) 2>/dev/null || echo unknown`
784 uname -r = `(uname -r) 2>/dev/null || echo unknown`
785 uname -s = `(uname -s) 2>/dev/null || echo unknown`
786 uname -v = `(uname -v) 2>/dev/null || echo unknown`
788 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
789 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
791 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
792 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
793 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
794 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
795 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
796 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
797 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
811 # Keep a trace of the command line.
812 # Strip out --no-create and --no-recursion so they do not pile up.
813 # Also quote any args containing shell meta-characters.
819 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
820 | --no-cr | --no-c) ;;
821 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
822 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
823 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
824 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
825 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
827 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
830 # Get rid of the leading space.
833 # When interrupted or exit'd, cleanup temporary files, and complete
834 # config.log. We remove comments because anyway the quotes in there
835 # would cause problems or look ugly.
837 # Save into config.log some information that might help in debugging.
839 echo "## ----------------- ##" >&5
840 echo "## Cache variables. ##" >&5
841 echo "## ----------------- ##" >&5
843 # The following way of writing the cache mishandles newlines in values,
846 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
849 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
850 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
854 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
858 sed "/^$/d" confdefs.h >conftest.log
859 if test -s conftest.log; then
861 echo "## ------------ ##" >&5
862 echo "## confdefs.h. ##" >&5
863 echo "## ------------ ##" >&5
868 test "$ac_signal" != 0 &&
869 echo "$as_me: caught signal $ac_signal" >&5
870 echo "$as_me: exit $exit_status" >&5
871 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
874 for ac_signal in 1 2 13 15; do
875 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
879 # confdefs.h avoids OS command line length limits that DEFS can exceed.
880 rm -rf conftest* confdefs.h
881 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
884 # Let the site file select an alternate cache file if it wants to.
885 # Prefer explicitly selected file to automatically selected ones.
886 if test -z "$CONFIG_SITE"; then
887 if test "x$prefix" != xNONE; then
888 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
890 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
893 for ac_site_file in $CONFIG_SITE; do
894 if test -r "$ac_site_file"; then
895 { echo "$as_me:895: loading site script $ac_site_file" >&5
896 echo "$as_me: loading site script $ac_site_file" >&6;}
897 cat "$ac_site_file" >&5
902 if test -r "$cache_file"; then
903 # Some versions of bash will fail to source /dev/null (special
904 # files actually), so we avoid doing that.
905 if test -f "$cache_file"; then
906 { echo "$as_me:906: loading cache $cache_file" >&5
907 echo "$as_me: loading cache $cache_file" >&6;}
909 [\\/]* | ?:[\\/]* ) . $cache_file;;
914 { echo "$as_me:914: creating cache $cache_file" >&5
915 echo "$as_me: creating cache $cache_file" >&6;}
919 # Check that the precious variables saved in the cache have kept the same
921 ac_cache_corrupted=false
922 for ac_var in `(set) 2>&1 |
923 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
924 eval ac_old_set=\$ac_cv_env_${ac_var}_set
925 eval ac_new_set=\$ac_env_${ac_var}_set
926 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
927 eval ac_new_val="\$ac_env_${ac_var}_value"
928 case $ac_old_set,$ac_new_set in
930 { echo "$as_me:930: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
931 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
932 ac_cache_corrupted=: ;;
934 { echo "$as_me:934: error: \`$ac_var' was not set in the previous run" >&5
935 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
936 ac_cache_corrupted=: ;;
939 if test "x$ac_old_val" != "x$ac_new_val"; then
940 { echo "$as_me:940: error: \`$ac_var' has changed since the previous run:" >&5
941 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
942 { echo "$as_me:942: former value: $ac_old_val" >&5
943 echo "$as_me: former value: $ac_old_val" >&2;}
944 { echo "$as_me:944: current value: $ac_new_val" >&5
945 echo "$as_me: current value: $ac_new_val" >&2;}
949 # Pass precious variables to config.status. It doesn't matter if
950 # we pass some twice (in addition to the command line arguments).
951 if test "$ac_new_set" = set; then
953 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
954 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
955 ac_configure_args="$ac_configure_args '$ac_arg'"
957 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
962 if $ac_cache_corrupted; then
963 { echo "$as_me:963: error: changes in the environment can compromise the build" >&5
964 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
965 { { echo "$as_me:965: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
966 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
967 { (exit 1); exit 1; }; }
971 ac_cpp='$CPP $CPPFLAGS'
972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
975 ac_main_return=return
977 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
978 *c*,-n*) ECHO_N= ECHO_C='
980 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
981 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
983 echo "#! $SHELL" >conftest.sh
984 echo "exit 0" >>conftest.sh
986 if { (echo "$as_me:986: PATH=\".;.\"; conftest.sh") >&5
987 (PATH=".;."; conftest.sh) 2>&5
989 echo "$as_me:989: \$? = $ac_status" >&5
990 (exit $ac_status); }; then
991 ac_path_separator=';'
995 PATH_SEPARATOR="$ac_path_separator"
998 ac_config_headers="$ac_config_headers include/ncurses_cfg.h:include/ncurses_cfg.hin"
1003 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1004 if test -f $ac_dir/install-sh; then
1006 ac_install_sh="$ac_aux_dir/install-sh -c"
1008 elif test -f $ac_dir/install.sh; then
1010 ac_install_sh="$ac_aux_dir/install.sh -c"
1012 elif test -f $ac_dir/shtool; then
1014 ac_install_sh="$ac_aux_dir/shtool install -c"
1018 if test -z "$ac_aux_dir"; then
1019 { { echo "$as_me:1019: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1020 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1021 { (exit 1); exit 1; }; }
1023 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1024 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1025 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1027 # Make sure we can run config.sub.
1028 $ac_config_sub sun4 >/dev/null 2>&1 ||
1029 { { echo "$as_me:1029: error: cannot run $ac_config_sub" >&5
1030 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1031 { (exit 1); exit 1; }; }
1033 echo "$as_me:1033: checking build system type" >&5
1034 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1035 if test "${ac_cv_build+set}" = set; then
1036 echo $ECHO_N "(cached) $ECHO_C" >&6
1038 ac_cv_build_alias=$build_alias
1039 test -z "$ac_cv_build_alias" &&
1040 ac_cv_build_alias=`$ac_config_guess`
1041 test -z "$ac_cv_build_alias" &&
1042 { { echo "$as_me:1042: error: cannot guess build type; you must specify one" >&5
1043 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1044 { (exit 1); exit 1; }; }
1045 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1046 { { echo "$as_me:1046: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1047 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1048 { (exit 1); exit 1; }; }
1051 echo "$as_me:1051: result: $ac_cv_build" >&5
1052 echo "${ECHO_T}$ac_cv_build" >&6
1054 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1055 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1056 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1058 echo "$as_me:1058: checking host system type" >&5
1059 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1060 if test "${ac_cv_host+set}" = set; then
1061 echo $ECHO_N "(cached) $ECHO_C" >&6
1063 ac_cv_host_alias=$host_alias
1064 test -z "$ac_cv_host_alias" &&
1065 ac_cv_host_alias=$ac_cv_build_alias
1066 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1067 { { echo "$as_me:1067: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1068 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1069 { (exit 1); exit 1; }; }
1072 echo "$as_me:1072: result: $ac_cv_host" >&5
1073 echo "${ECHO_T}$ac_cv_host" >&6
1075 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1076 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1077 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1079 if test -f $srcdir/config.guess || test -f $ac_aux_dir/config.guess ; then
1080 echo "$as_me:1080: checking target system type" >&5
1081 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1082 if test "${ac_cv_target+set}" = set; then
1083 echo $ECHO_N "(cached) $ECHO_C" >&6
1085 ac_cv_target_alias=$target_alias
1086 test "x$ac_cv_target_alias" = "x" &&
1087 ac_cv_target_alias=$ac_cv_host_alias
1088 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1089 { { echo "$as_me:1089: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1090 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1091 { (exit 1); exit 1; }; }
1094 echo "$as_me:1094: result: $ac_cv_target" >&5
1095 echo "${ECHO_T}$ac_cv_target" >&6
1096 target=$ac_cv_target
1097 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1098 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1099 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1101 # The aliases save the names the user supplied, while $host etc.
1102 # will get canonicalized.
1103 test -n "$target_alias" &&
1104 test "$program_prefix$program_suffix$program_transform_name" = \
1106 program_prefix=${target_alias}-
1107 system_name="$host_os"
1109 system_name="`(uname -s -r) 2>/dev/null`"
1110 if test -z "$system_name" ; then
1111 system_name="`(hostname) 2>/dev/null`"
1114 test -n "$system_name" &&
1115 cat >>confdefs.h <<EOF
1116 #define SYSTEM_NAME "$system_name"
1119 if test "${cf_cv_system_name+set}" = set; then
1120 echo $ECHO_N "(cached) $ECHO_C" >&6
1122 cf_cv_system_name="$system_name"
1125 test -z "$system_name" && system_name="$cf_cv_system_name"
1126 test -n "$cf_cv_system_name" && echo "$as_me:1126: result: Configuring for $cf_cv_system_name" >&5
1127 echo "${ECHO_T}Configuring for $cf_cv_system_name" >&6
1129 if test ".$system_name" != ".$cf_cv_system_name" ; then
1130 echo "$as_me:1130: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5
1131 echo "${ECHO_T}Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&6
1132 { { echo "$as_me:1132: error: \"Please remove config.cache and try again.\"" >&5
1133 echo "$as_me: error: \"Please remove config.cache and try again.\"" >&2;}
1134 { (exit 1); exit 1; }; }
1137 # Check whether --with-system-type or --without-system-type was given.
1138 if test "${with_system_type+set}" = set; then
1139 withval="$with_system_type"
1140 { echo "$as_me:1140: WARNING: overriding system type to $withval" >&5
1141 echo "$as_me: WARNING: overriding system type to $withval" >&2;}
1142 cf_cv_system_name=$withval
1145 ### Save the given $CFLAGS to allow user-override.
1146 cf_user_CFLAGS="$CFLAGS"
1148 ### Default install-location
1150 echo "$as_me:1150: checking for prefix" >&5
1151 echo $ECHO_N "checking for prefix... $ECHO_C" >&6
1152 if test "x$prefix" = "xNONE" ; then
1153 case "$cf_cv_system_name" in
1154 # non-vendor systems don't have a conflict
1155 openbsd*|freebsd*|mirbsd*|linux*|cygwin*|k*bsd*-gnu)
1158 *) prefix=$ac_default_prefix
1162 echo "$as_me:1162: result: $prefix" >&5
1163 echo "${ECHO_T}$prefix" >&6
1165 if test "x$prefix" = "xNONE" ; then
1166 echo "$as_me:1166: checking for default include-directory" >&5
1167 echo $ECHO_N "checking for default include-directory... $ECHO_C" >&6
1168 test -n "$verbose" && echo 1>&6
1171 $includedir/ncurses \
1173 $prefix/include/ncurses \
1174 /usr/local/include \
1175 /usr/local/include/ncurses \
1177 /usr/include/ncurses
1179 cf_dir=`eval echo $cf_symbol`
1180 if test -f $cf_dir/curses.h ; then
1181 if ( fgrep NCURSES_VERSION $cf_dir/curses.h 2>&1 >/dev/null ) ; then
1182 includedir="$cf_symbol"
1183 test -n "$verbose" && echo $ac_n " found " 1>&6
1187 test -n "$verbose" && echo " tested $cf_dir" 1>&6
1189 echo "$as_me:1189: result: $includedir" >&5
1190 echo "${ECHO_T}$includedir" >&6
1193 ### Checks for programs.
1196 ac_cpp='$CPP $CPPFLAGS'
1197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1200 ac_main_return=return
1201 if test -n "$ac_tool_prefix"; then
1202 for ac_prog in gnatgcc gcc cc
1204 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1205 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1206 echo "$as_me:1206: checking for $ac_word" >&5
1207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1208 if test "${ac_cv_prog_CC+set}" = set; then
1209 echo $ECHO_N "(cached) $ECHO_C" >&6
1211 if test -n "$CC"; then
1212 ac_cv_prog_CC="$CC" # Let the user override the test.
1214 ac_save_IFS=$IFS; IFS=$ac_path_separator
1216 for ac_dir in $ac_dummy; do
1218 test -z "$ac_dir" && ac_dir=.
1219 $as_executable_p "$ac_dir/$ac_word" || continue
1220 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1221 echo "$as_me:1221: found $ac_dir/$ac_word" >&5
1228 if test -n "$CC"; then
1229 echo "$as_me:1229: result: $CC" >&5
1230 echo "${ECHO_T}$CC" >&6
1232 echo "$as_me:1232: result: no" >&5
1233 echo "${ECHO_T}no" >&6
1236 test -n "$CC" && break
1239 if test -z "$CC"; then
1241 for ac_prog in gnatgcc gcc cc
1243 # Extract the first word of "$ac_prog", so it can be a program name with args.
1244 set dummy $ac_prog; ac_word=$2
1245 echo "$as_me:1245: checking for $ac_word" >&5
1246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1247 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1248 echo $ECHO_N "(cached) $ECHO_C" >&6
1250 if test -n "$ac_ct_CC"; then
1251 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1253 ac_save_IFS=$IFS; IFS=$ac_path_separator
1255 for ac_dir in $ac_dummy; do
1257 test -z "$ac_dir" && ac_dir=.
1258 $as_executable_p "$ac_dir/$ac_word" || continue
1259 ac_cv_prog_ac_ct_CC="$ac_prog"
1260 echo "$as_me:1260: found $ac_dir/$ac_word" >&5
1266 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1267 if test -n "$ac_ct_CC"; then
1268 echo "$as_me:1268: result: $ac_ct_CC" >&5
1269 echo "${ECHO_T}$ac_ct_CC" >&6
1271 echo "$as_me:1271: result: no" >&5
1272 echo "${ECHO_T}no" >&6
1275 test -n "$ac_ct_CC" && break
1281 test -z "$CC" && { { echo "$as_me:1281: error: no acceptable cc found in \$PATH" >&5
1282 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1283 { (exit 1); exit 1; }; }
1285 # Provide some information about the compiler.
1286 echo "$as_me:1286:" \
1287 "checking for C compiler version" >&5
1288 ac_compiler=`set X $ac_compile; echo $2`
1289 { (eval echo "$as_me:1289: \"$ac_compiler --version </dev/null >&5\"") >&5
1290 (eval $ac_compiler --version </dev/null >&5) 2>&5
1292 echo "$as_me:1292: \$? = $ac_status" >&5
1293 (exit $ac_status); }
1294 { (eval echo "$as_me:1294: \"$ac_compiler -v </dev/null >&5\"") >&5
1295 (eval $ac_compiler -v </dev/null >&5) 2>&5
1297 echo "$as_me:1297: \$? = $ac_status" >&5
1298 (exit $ac_status); }
1299 { (eval echo "$as_me:1299: \"$ac_compiler -V </dev/null >&5\"") >&5
1300 (eval $ac_compiler -V </dev/null >&5) 2>&5
1302 echo "$as_me:1302: \$? = $ac_status" >&5
1303 (exit $ac_status); }
1305 cat >conftest.$ac_ext <<_ACEOF
1306 #line 1306 "configure"
1307 #include "confdefs.h"
1317 ac_clean_files_save=$ac_clean_files
1318 ac_clean_files="$ac_clean_files a.out a.exe"
1319 # Try to create an executable without -o first, disregard a.out.
1320 # It will help us diagnose broken compilers, and finding out an intuition
1322 echo "$as_me:1322: checking for C compiler default output" >&5
1323 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1324 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1325 if { (eval echo "$as_me:1325: \"$ac_link_default\"") >&5
1326 (eval $ac_link_default) 2>&5
1328 echo "$as_me:1328: \$? = $ac_status" >&5
1329 (exit $ac_status); }; then
1330 # Find the output, starting from the most likely. This scheme is
1331 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1333 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1334 ls a.out conftest 2>/dev/null;
1335 ls a.* conftest.* 2>/dev/null`; do
1337 *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
1338 a.out ) # We found the default executable, but exeext='' is most
1341 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1342 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1349 echo "$as_me: failed program was:" >&5
1350 cat conftest.$ac_ext >&5
1351 { { echo "$as_me:1351: error: C compiler cannot create executables" >&5
1352 echo "$as_me: error: C compiler cannot create executables" >&2;}
1353 { (exit 77); exit 77; }; }
1356 ac_exeext=$ac_cv_exeext
1357 echo "$as_me:1357: result: $ac_file" >&5
1358 echo "${ECHO_T}$ac_file" >&6
1360 # Check the compiler produces executables we can run. If not, either
1361 # the compiler is broken, or we cross compile.
1362 echo "$as_me:1362: checking whether the C compiler works" >&5
1363 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1364 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1365 # If not cross compiling, check that we can run a simple program.
1366 if test "$cross_compiling" != yes; then
1367 if { ac_try='./$ac_file'
1368 { (eval echo "$as_me:1368: \"$ac_try\"") >&5
1371 echo "$as_me:1371: \$? = $ac_status" >&5
1372 (exit $ac_status); }; }; then
1375 if test "$cross_compiling" = maybe; then
1378 { { echo "$as_me:1378: error: cannot run C compiled programs.
1379 If you meant to cross compile, use \`--host'." >&5
1380 echo "$as_me: error: cannot run C compiled programs.
1381 If you meant to cross compile, use \`--host'." >&2;}
1382 { (exit 1); exit 1; }; }
1386 echo "$as_me:1386: result: yes" >&5
1387 echo "${ECHO_T}yes" >&6
1389 rm -f a.out a.exe conftest$ac_cv_exeext
1390 ac_clean_files=$ac_clean_files_save
1391 # Check the compiler produces executables we can run. If not, either
1392 # the compiler is broken, or we cross compile.
1393 echo "$as_me:1393: checking whether we are cross compiling" >&5
1394 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1395 echo "$as_me:1395: result: $cross_compiling" >&5
1396 echo "${ECHO_T}$cross_compiling" >&6
1398 echo "$as_me:1398: checking for executable suffix" >&5
1399 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1400 if { (eval echo "$as_me:1400: \"$ac_link\"") >&5
1401 (eval $ac_link) 2>&5
1403 echo "$as_me:1403: \$? = $ac_status" >&5
1404 (exit $ac_status); }; then
1405 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1406 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1407 # work properly (i.e., refer to `conftest.exe'), while it won't with
1409 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1411 *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
1412 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1419 { { echo "$as_me:1419: error: cannot compute EXEEXT: cannot compile and link" >&5
1420 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1421 { (exit 1); exit 1; }; }
1424 rm -f conftest$ac_cv_exeext
1425 echo "$as_me:1425: result: $ac_cv_exeext" >&5
1426 echo "${ECHO_T}$ac_cv_exeext" >&6
1428 rm -f conftest.$ac_ext
1429 EXEEXT=$ac_cv_exeext
1431 echo "$as_me:1431: checking for object suffix" >&5
1432 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1433 if test "${ac_cv_objext+set}" = set; then
1434 echo $ECHO_N "(cached) $ECHO_C" >&6
1436 cat >conftest.$ac_ext <<_ACEOF
1437 #line 1437 "configure"
1438 #include "confdefs.h"
1448 rm -f conftest.o conftest.obj
1449 if { (eval echo "$as_me:1449: \"$ac_compile\"") >&5
1450 (eval $ac_compile) 2>&5
1452 echo "$as_me:1452: \$? = $ac_status" >&5
1453 (exit $ac_status); }; then
1454 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1456 *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.map | *.inf ) ;;
1457 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1462 echo "$as_me: failed program was:" >&5
1463 cat conftest.$ac_ext >&5
1464 { { echo "$as_me:1464: error: cannot compute OBJEXT: cannot compile" >&5
1465 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1466 { (exit 1); exit 1; }; }
1469 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1471 echo "$as_me:1471: result: $ac_cv_objext" >&5
1472 echo "${ECHO_T}$ac_cv_objext" >&6
1473 OBJEXT=$ac_cv_objext
1475 echo "$as_me:1475: checking whether we are using the GNU C compiler" >&5
1476 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1477 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1478 echo $ECHO_N "(cached) $ECHO_C" >&6
1480 cat >conftest.$ac_ext <<_ACEOF
1481 #line 1481 "configure"
1482 #include "confdefs.h"
1495 rm -f conftest.$ac_objext
1496 if { (eval echo "$as_me:1496: \"$ac_compile\"") >&5
1497 (eval $ac_compile) 2>&5
1499 echo "$as_me:1499: \$? = $ac_status" >&5
1500 (exit $ac_status); } &&
1501 { ac_try='test -s conftest.$ac_objext'
1502 { (eval echo "$as_me:1502: \"$ac_try\"") >&5
1505 echo "$as_me:1505: \$? = $ac_status" >&5
1506 (exit $ac_status); }; }; then
1509 echo "$as_me: failed program was:" >&5
1510 cat conftest.$ac_ext >&5
1513 rm -f conftest.$ac_objext conftest.$ac_ext
1514 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1517 echo "$as_me:1517: result: $ac_cv_c_compiler_gnu" >&5
1518 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1519 GCC=`test $ac_compiler_gnu = yes && echo yes`
1520 ac_test_CFLAGS=${CFLAGS+set}
1521 ac_save_CFLAGS=$CFLAGS
1523 echo "$as_me:1523: checking whether $CC accepts -g" >&5
1524 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1525 if test "${ac_cv_prog_cc_g+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 cat >conftest.$ac_ext <<_ACEOF
1529 #line 1529 "configure"
1530 #include "confdefs.h"
1540 rm -f conftest.$ac_objext
1541 if { (eval echo "$as_me:1541: \"$ac_compile\"") >&5
1542 (eval $ac_compile) 2>&5
1544 echo "$as_me:1544: \$? = $ac_status" >&5
1545 (exit $ac_status); } &&
1546 { ac_try='test -s conftest.$ac_objext'
1547 { (eval echo "$as_me:1547: \"$ac_try\"") >&5
1550 echo "$as_me:1550: \$? = $ac_status" >&5
1551 (exit $ac_status); }; }; then
1554 echo "$as_me: failed program was:" >&5
1555 cat conftest.$ac_ext >&5
1558 rm -f conftest.$ac_objext conftest.$ac_ext
1560 echo "$as_me:1560: result: $ac_cv_prog_cc_g" >&5
1561 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1562 if test "$ac_test_CFLAGS" = set; then
1563 CFLAGS=$ac_save_CFLAGS
1564 elif test $ac_cv_prog_cc_g = yes; then
1565 if test "$GCC" = yes; then
1571 if test "$GCC" = yes; then
1577 # Some people use a C++ compiler to compile C. Since we use `exit',
1578 # in C++ we need to declare it. In case someone uses the same compiler
1579 # for both compiling C and C++ we need to have the C++ compiler decide
1580 # the declaration of exit, since it's the most demanding environment.
1581 cat >conftest.$ac_ext <<_ACEOF
1586 rm -f conftest.$ac_objext
1587 if { (eval echo "$as_me:1587: \"$ac_compile\"") >&5
1588 (eval $ac_compile) 2>&5
1590 echo "$as_me:1590: \$? = $ac_status" >&5
1591 (exit $ac_status); } &&
1592 { ac_try='test -s conftest.$ac_objext'
1593 { (eval echo "$as_me:1593: \"$ac_try\"") >&5
1596 echo "$as_me:1596: \$? = $ac_status" >&5
1597 (exit $ac_status); }; }; then
1598 for ac_declaration in \
1600 '#include <stdlib.h>' \
1601 'extern "C" void std::exit (int) throw (); using std::exit;' \
1602 'extern "C" void std::exit (int); using std::exit;' \
1603 'extern "C" void exit (int) throw ();' \
1604 'extern "C" void exit (int);' \
1607 cat >conftest.$ac_ext <<_ACEOF
1608 #line 1608 "configure"
1609 #include "confdefs.h"
1620 rm -f conftest.$ac_objext
1621 if { (eval echo "$as_me:1621: \"$ac_compile\"") >&5
1622 (eval $ac_compile) 2>&5
1624 echo "$as_me:1624: \$? = $ac_status" >&5
1625 (exit $ac_status); } &&
1626 { ac_try='test -s conftest.$ac_objext'
1627 { (eval echo "$as_me:1627: \"$ac_try\"") >&5
1630 echo "$as_me:1630: \$? = $ac_status" >&5
1631 (exit $ac_status); }; }; then
1634 echo "$as_me: failed program was:" >&5
1635 cat conftest.$ac_ext >&5
1638 rm -f conftest.$ac_objext conftest.$ac_ext
1639 cat >conftest.$ac_ext <<_ACEOF
1640 #line 1640 "configure"
1641 #include "confdefs.h"
1651 rm -f conftest.$ac_objext
1652 if { (eval echo "$as_me:1652: \"$ac_compile\"") >&5
1653 (eval $ac_compile) 2>&5
1655 echo "$as_me:1655: \$? = $ac_status" >&5
1656 (exit $ac_status); } &&
1657 { ac_try='test -s conftest.$ac_objext'
1658 { (eval echo "$as_me:1658: \"$ac_try\"") >&5
1661 echo "$as_me:1661: \$? = $ac_status" >&5
1662 (exit $ac_status); }; }; then
1665 echo "$as_me: failed program was:" >&5
1666 cat conftest.$ac_ext >&5
1668 rm -f conftest.$ac_objext conftest.$ac_ext
1671 if test -n "$ac_declaration"; then
1672 echo '#ifdef __cplusplus' >>confdefs.h
1673 echo $ac_declaration >>confdefs.h
1674 echo '#endif' >>confdefs.h
1678 echo "$as_me: failed program was:" >&5
1679 cat conftest.$ac_ext >&5
1681 rm -f conftest.$ac_objext conftest.$ac_ext
1683 ac_cpp='$CPP $CPPFLAGS'
1684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1687 ac_main_return=return
1690 if test "$GCC" = yes ; then
1691 echo "$as_me:1691: checking version of $CC" >&5
1692 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
1693 GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(GCC[^)]*) //' -e 's/^.*(Debian[^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
1694 test -z "$GCC_VERSION" && GCC_VERSION=unknown
1695 echo "$as_me:1695: result: $GCC_VERSION" >&5
1696 echo "${ECHO_T}$GCC_VERSION" >&6
1699 echo "$as_me:1699: checking for $CC option to accept ANSI C" >&5
1700 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1701 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1702 echo $ECHO_N "(cached) $ECHO_C" >&6
1704 ac_cv_prog_cc_stdc=no
1706 cat >conftest.$ac_ext <<_ACEOF
1707 #line 1707 "configure"
1708 #include "confdefs.h"
1711 #include <sys/types.h>
1712 #include <sys/stat.h>
1713 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1714 struct buf { int x; };
1715 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1716 static char *e (p, i)
1722 static char *f (char * (*g) (char **, int), char **p, ...)
1727 s = g (p, va_arg (v,int));
1731 int test (int i, double x);
1732 struct s1 {int (*f) (int a);};
1733 struct s2 {int (*f) (double a);};
1734 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1740 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1745 # Don't try gcc -ansi; that turns off useful extensions and
1746 # breaks some systems' header files.
1747 # AIX -qlanglvl=ansi
1748 # Ultrix and OSF/1 -std1
1749 # HP-UX 10.20 and later -Ae
1750 # HP-UX older versions -Aa -D_HPUX_SOURCE
1751 # SVR4 -Xc -D__EXTENSIONS__
1752 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1754 CC="$ac_save_CC $ac_arg"
1755 rm -f conftest.$ac_objext
1756 if { (eval echo "$as_me:1756: \"$ac_compile\"") >&5
1757 (eval $ac_compile) 2>&5
1759 echo "$as_me:1759: \$? = $ac_status" >&5
1760 (exit $ac_status); } &&
1761 { ac_try='test -s conftest.$ac_objext'
1762 { (eval echo "$as_me:1762: \"$ac_try\"") >&5
1765 echo "$as_me:1765: \$? = $ac_status" >&5
1766 (exit $ac_status); }; }; then
1767 ac_cv_prog_cc_stdc=$ac_arg
1770 echo "$as_me: failed program was:" >&5
1771 cat conftest.$ac_ext >&5
1773 rm -f conftest.$ac_objext
1775 rm -f conftest.$ac_ext conftest.$ac_objext
1780 case "x$ac_cv_prog_cc_stdc" in
1782 echo "$as_me:1782: result: none needed" >&5
1783 echo "${ECHO_T}none needed" >&6 ;;
1785 echo "$as_me:1785: result: $ac_cv_prog_cc_stdc" >&5
1786 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
1787 CC="$CC $ac_cv_prog_cc_stdc" ;;
1790 # This should have been defined by AC_PROG_CC
1793 echo "$as_me:1793: checking \$CC variable" >&5
1794 echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6
1797 echo "$as_me:1797: result: broken" >&5
1798 echo "${ECHO_T}broken" >&6
1799 { echo "$as_me:1799: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&5
1800 echo "$as_me: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;}
1802 cf_flags=`echo "$CC" | sed -e 's/^[^ ]*[ ]//'`
1803 CC=`echo "$CC" | sed -e 's/[ ].*//'`
1808 cf_new_extra_cppflags=
1810 for cf_add_cflags in $cf_flags
1812 case $cf_fix_cppflags in
1814 case $cf_add_cflags in #(vi
1815 -undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
1816 case $cf_add_cflags in
1818 cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
1820 test "${cf_add_cflags}" != "${cf_tst_cflags}" \
1821 && test -z "${cf_tst_cflags}" \
1822 && cf_fix_cppflags=yes
1824 if test $cf_fix_cppflags = yes ; then
1825 cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
1827 elif test "${cf_tst_cflags}" = "\"'" ; then
1828 cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
1834 *$cf_add_cflags) #(vi
1837 case $cf_add_cflags in #(vi
1839 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
1841 CPPFLAGS=`echo "$CPPFLAGS" | \
1842 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
1843 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
1847 cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
1852 cf_new_cflags="$cf_new_cflags $cf_add_cflags"
1857 cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"
1859 cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
1861 test "${cf_add_cflags}" != "${cf_tst_cflags}" \
1862 && test -z "${cf_tst_cflags}" \
1863 && cf_fix_cppflags=no
1868 if test -n "$cf_new_cflags" ; then
1870 CFLAGS="$CFLAGS $cf_new_cflags"
1873 if test -n "$cf_new_cppflags" ; then
1875 CPPFLAGS="$CPPFLAGS $cf_new_cppflags"
1878 if test -n "$cf_new_extra_cppflags" ; then
1880 EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS"
1885 echo "$as_me:1885: result: ok" >&5
1886 echo "${ECHO_T}ok" >&6
1891 ac_cpp='$CPP $CPPFLAGS'
1892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1895 ac_main_return=return
1896 echo "$as_me:1896: checking how to run the C preprocessor" >&5
1897 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1898 # On Suns, sometimes $CPP names a directory.
1899 if test -n "$CPP" && test -d "$CPP"; then
1902 if test -z "$CPP"; then
1903 if test "${ac_cv_prog_CPP+set}" = set; then
1904 echo $ECHO_N "(cached) $ECHO_C" >&6
1906 # Double quotes because CPP needs to be expanded
1907 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1910 for ac_c_preproc_warn_flag in '' yes
1912 # Use a header file that comes with gcc, so configuring glibc
1913 # with a fresh cross-compiler works.
1914 # On the NeXT, cc -E runs the code through the compiler's parser,
1915 # not just through cpp. "Syntax error" is here to catch this case.
1916 cat >conftest.$ac_ext <<_ACEOF
1917 #line 1917 "configure"
1918 #include "confdefs.h"
1922 if { (eval echo "$as_me:1922: \"$ac_cpp conftest.$ac_ext\"") >&5
1923 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1925 egrep -v '^ *\+' conftest.er1 >conftest.err
1927 cat conftest.err >&5
1928 echo "$as_me:1928: \$? = $ac_status" >&5
1929 (exit $ac_status); } >/dev/null; then
1930 if test -s conftest.err; then
1931 ac_cpp_err=$ac_c_preproc_warn_flag
1938 if test -z "$ac_cpp_err"; then
1941 echo "$as_me: failed program was:" >&5
1942 cat conftest.$ac_ext >&5
1943 # Broken: fails on valid input.
1946 rm -f conftest.err conftest.$ac_ext
1948 # OK, works on sane cases. Now check whether non-existent headers
1949 # can be detected and how.
1950 cat >conftest.$ac_ext <<_ACEOF
1951 #line 1951 "configure"
1952 #include "confdefs.h"
1953 #include <ac_nonexistent.h>
1955 if { (eval echo "$as_me:1955: \"$ac_cpp conftest.$ac_ext\"") >&5
1956 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1958 egrep -v '^ *\+' conftest.er1 >conftest.err
1960 cat conftest.err >&5
1961 echo "$as_me:1961: \$? = $ac_status" >&5
1962 (exit $ac_status); } >/dev/null; then
1963 if test -s conftest.err; then
1964 ac_cpp_err=$ac_c_preproc_warn_flag
1971 if test -z "$ac_cpp_err"; then
1972 # Broken: success on invalid input.
1975 echo "$as_me: failed program was:" >&5
1976 cat conftest.$ac_ext >&5
1977 # Passes both tests.
1981 rm -f conftest.err conftest.$ac_ext
1984 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1985 rm -f conftest.err conftest.$ac_ext
1986 if $ac_preproc_ok; then
1998 echo "$as_me:1998: result: $CPP" >&5
1999 echo "${ECHO_T}$CPP" >&6
2001 for ac_c_preproc_warn_flag in '' yes
2003 # Use a header file that comes with gcc, so configuring glibc
2004 # with a fresh cross-compiler works.
2005 # On the NeXT, cc -E runs the code through the compiler's parser,
2006 # not just through cpp. "Syntax error" is here to catch this case.
2007 cat >conftest.$ac_ext <<_ACEOF
2008 #line 2008 "configure"
2009 #include "confdefs.h"
2013 if { (eval echo "$as_me:2013: \"$ac_cpp conftest.$ac_ext\"") >&5
2014 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2016 egrep -v '^ *\+' conftest.er1 >conftest.err
2018 cat conftest.err >&5
2019 echo "$as_me:2019: \$? = $ac_status" >&5
2020 (exit $ac_status); } >/dev/null; then
2021 if test -s conftest.err; then
2022 ac_cpp_err=$ac_c_preproc_warn_flag
2029 if test -z "$ac_cpp_err"; then
2032 echo "$as_me: failed program was:" >&5
2033 cat conftest.$ac_ext >&5
2034 # Broken: fails on valid input.
2037 rm -f conftest.err conftest.$ac_ext
2039 # OK, works on sane cases. Now check whether non-existent headers
2040 # can be detected and how.
2041 cat >conftest.$ac_ext <<_ACEOF
2042 #line 2042 "configure"
2043 #include "confdefs.h"
2044 #include <ac_nonexistent.h>
2046 if { (eval echo "$as_me:2046: \"$ac_cpp conftest.$ac_ext\"") >&5
2047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2049 egrep -v '^ *\+' conftest.er1 >conftest.err
2051 cat conftest.err >&5
2052 echo "$as_me:2052: \$? = $ac_status" >&5
2053 (exit $ac_status); } >/dev/null; then
2054 if test -s conftest.err; then
2055 ac_cpp_err=$ac_c_preproc_warn_flag
2062 if test -z "$ac_cpp_err"; then
2063 # Broken: success on invalid input.
2066 echo "$as_me: failed program was:" >&5
2067 cat conftest.$ac_ext >&5
2068 # Passes both tests.
2072 rm -f conftest.err conftest.$ac_ext
2075 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2076 rm -f conftest.err conftest.$ac_ext
2077 if $ac_preproc_ok; then
2080 { { echo "$as_me:2080: error: C preprocessor \"$CPP\" fails sanity check" >&5
2081 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2082 { (exit 1); exit 1; }; }
2086 ac_cpp='$CPP $CPPFLAGS'
2087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2090 ac_main_return=return
2092 if test $ac_cv_c_compiler_gnu = yes; then
2093 echo "$as_me:2093: checking whether $CC needs -traditional" >&5
2094 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
2095 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 ac_pattern="Autoconf.*'x'"
2099 cat >conftest.$ac_ext <<_ACEOF
2100 #line 2100 "configure"
2101 #include "confdefs.h"
2103 int Autoconf = TIOCGETP;
2105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2106 egrep "$ac_pattern" >/dev/null 2>&1; then
2107 ac_cv_prog_gcc_traditional=yes
2109 ac_cv_prog_gcc_traditional=no
2113 if test $ac_cv_prog_gcc_traditional = no; then
2114 cat >conftest.$ac_ext <<_ACEOF
2115 #line 2115 "configure"
2116 #include "confdefs.h"
2118 int Autoconf = TCGETA;
2120 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2121 egrep "$ac_pattern" >/dev/null 2>&1; then
2122 ac_cv_prog_gcc_traditional=yes
2128 echo "$as_me:2128: result: $ac_cv_prog_gcc_traditional" >&5
2129 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
2130 if test $ac_cv_prog_gcc_traditional = yes; then
2131 CC="$CC -traditional"
2135 echo "$as_me:2135: checking whether $CC understands -c and -o together" >&5
2136 echo $ECHO_N "checking whether $CC understands -c and -o together... $ECHO_C" >&6
2137 if test "${cf_cv_prog_CC_c_o+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 cat > conftest.$ac_ext <<CF_EOF
2145 ${cf_cv_main_return:-return}(0);
2148 # We do the test twice because some compilers refuse to overwrite an
2149 # existing .o file with -o, though they will create one.
2150 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
2151 if { (eval echo "$as_me:2151: \"$ac_try\"") >&5
2154 echo "$as_me:2154: \$? = $ac_status" >&5
2155 (exit $ac_status); } &&
2156 test -f conftest2.$ac_objext && { (eval echo "$as_me:2156: \"$ac_try\"") >&5
2159 echo "$as_me:2159: \$? = $ac_status" >&5
2160 (exit $ac_status); };
2162 eval cf_cv_prog_CC_c_o=yes
2164 eval cf_cv_prog_CC_c_o=no
2169 if test $cf_cv_prog_CC_c_o = yes; then
2170 echo "$as_me:2170: result: yes" >&5
2171 echo "${ECHO_T}yes" >&6
2173 echo "$as_me:2173: result: no" >&5
2174 echo "${ECHO_T}no" >&6
2177 test "$program_prefix" != NONE &&
2178 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2179 # Use a double $ so make ignores it.
2180 test "$program_suffix" != NONE &&
2181 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2182 # Double any \ or $. echo might interpret backslashes.
2183 # By default was `s,x,x', remove it if useless.
2184 cat <<\_ACEOF >conftest.sed
2185 s/[\\$]/&&/g;s/;s,x,x,$//
2187 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2190 for ac_prog in mawk gawk nawk awk
2192 # Extract the first word of "$ac_prog", so it can be a program name with args.
2193 set dummy $ac_prog; ac_word=$2
2194 echo "$as_me:2194: checking for $ac_word" >&5
2195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2196 if test "${ac_cv_prog_AWK+set}" = set; then
2197 echo $ECHO_N "(cached) $ECHO_C" >&6
2199 if test -n "$AWK"; then
2200 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2202 ac_save_IFS=$IFS; IFS=$ac_path_separator
2204 for ac_dir in $ac_dummy; do
2206 test -z "$ac_dir" && ac_dir=.
2207 $as_executable_p "$ac_dir/$ac_word" || continue
2208 ac_cv_prog_AWK="$ac_prog"
2209 echo "$as_me:2209: found $ac_dir/$ac_word" >&5
2216 if test -n "$AWK"; then
2217 echo "$as_me:2217: result: $AWK" >&5
2218 echo "${ECHO_T}$AWK" >&6
2220 echo "$as_me:2220: result: no" >&5
2221 echo "${ECHO_T}no" >&6
2224 test -n "$AWK" && break
2227 test -z "$AWK" && { { echo "$as_me:2227: error: No awk program found" >&5
2228 echo "$as_me: error: No awk program found" >&2;}
2229 { (exit 1); exit 1; }; }
2231 echo "$as_me:2231: checking for egrep" >&5
2232 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2233 if test "${ac_cv_prog_egrep+set}" = set; then
2234 echo $ECHO_N "(cached) $ECHO_C" >&6
2236 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2237 then ac_cv_prog_egrep='grep -E'
2238 else ac_cv_prog_egrep='egrep'
2241 echo "$as_me:2241: result: $ac_cv_prog_egrep" >&5
2242 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2243 EGREP=$ac_cv_prog_egrep
2245 test -z "$EGREP" && { { echo "$as_me:2245: error: No egrep program found" >&5
2246 echo "$as_me: error: No egrep program found" >&2;}
2247 { (exit 1); exit 1; }; }
2249 # Find a good install program. We prefer a C program (faster),
2250 # so one script is as good as another. But avoid the broken or
2251 # incompatible versions:
2252 # SysV /etc/install, /usr/sbin/install
2253 # SunOS /usr/etc/install
2254 # IRIX /sbin/install
2256 # AmigaOS /C/install, which installs bootblocks on floppy discs
2257 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2258 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2259 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2260 # ./install, which can be erroneously created by make from ./install.sh.
2261 echo "$as_me:2261: checking for a BSD compatible install" >&5
2262 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
2263 if test -z "$INSTALL"; then
2264 if test "${ac_cv_path_install+set}" = set; then
2265 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 ac_save_IFS=$IFS; IFS=$ac_path_separator
2268 for ac_dir in $PATH; do
2270 # Account for people who put trailing slashes in PATH elements.
2272 / | ./ | .// | /cC/* \
2273 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
2276 # OSF1 and SCO ODT 3.0 have their own names for install.
2277 # Don't use installbsd from OSF since it installs stuff as root
2279 for ac_prog in ginstall scoinst install; do
2280 if $as_executable_p "$ac_dir/$ac_prog"; then
2281 if test $ac_prog = install &&
2282 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2283 # AIX install. It has an incompatible calling convention.
2285 elif test $ac_prog = install &&
2286 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2287 # program-specific install script used by HP pwplus--don't use.
2290 ac_cv_path_install="$ac_dir/$ac_prog -c"
2300 if test "${ac_cv_path_install+set}" = set; then
2301 INSTALL=$ac_cv_path_install
2303 # As a last resort, use the slow shell script. We don't cache a
2304 # path for INSTALL within a source directory, because that will
2305 # break other packages using the cache if that directory is
2306 # removed, or if the path is relative.
2307 INSTALL=$ac_install_sh
2310 echo "$as_me:2310: result: $INSTALL" >&5
2311 echo "${ECHO_T}$INSTALL" >&6
2313 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2314 # It thinks the first close brace ends the variable substitution.
2315 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2317 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2319 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2321 echo "$as_me:2321: checking whether ln -s works" >&5
2322 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2324 if test "$LN_S" = "ln -s"; then
2325 echo "$as_me:2325: result: yes" >&5
2326 echo "${ECHO_T}yes" >&6
2328 echo "$as_me:2328: result: no, using $LN_S" >&5
2329 echo "${ECHO_T}no, using $LN_S" >&6
2332 echo "$as_me:2332: checking if $LN_S -f options work" >&5
2333 echo $ECHO_N "checking if $LN_S -f options work... $ECHO_C" >&6
2335 rm -f conf$$.src conf$$dst
2337 echo first >conf$$.src
2338 if $LN_S -f conf$$.src conf$$.dst 2>/dev/null; then
2343 rm -f conf$$.dst conf$$src
2344 echo "$as_me:2344: result: $cf_prog_ln_sf" >&5
2345 echo "${ECHO_T}$cf_prog_ln_sf" >&6
2347 test "$cf_prog_ln_sf" = yes && LN_S="$LN_S -f"
2349 echo "$as_me:2349: checking for long file names" >&5
2350 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
2351 if test "${ac_cv_sys_long_file_names+set}" = set; then
2352 echo $ECHO_N "(cached) $ECHO_C" >&6
2354 ac_cv_sys_long_file_names=yes
2355 # Test for long file names in all the places we know might matter:
2356 # . the current directory, where building will happen
2357 # $prefix/lib where we will be installing things
2358 # $exec_prefix/lib likewise
2359 # eval it to expand exec_prefix.
2360 # $TMPDIR if set, where it might want to write temporary files
2361 # if $TMPDIR is not set:
2362 # /tmp where it might want to write temporary files
2365 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
2368 ac_tmpdirs='/tmp /var/tmp /usr/tmp'
2370 for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
2371 test -d $ac_dir || continue
2372 test -w $ac_dir || continue # It is less confusing to not echo anything here.
2373 ac_xdir=$ac_dir/cf$$
2374 (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue
2375 ac_tf1=$ac_xdir/conftest9012345
2376 ac_tf2=$ac_xdir/conftest9012346
2377 (echo 1 >$ac_tf1) 2>/dev/null
2378 (echo 2 >$ac_tf2) 2>/dev/null
2379 ac_val=`cat $ac_tf1 2>/dev/null`
2380 if test ! -f $ac_tf1 || test "$ac_val" != 1; then
2381 ac_cv_sys_long_file_names=no
2382 rm -rf $ac_xdir 2>/dev/null
2385 rm -rf $ac_xdir 2>/dev/null
2388 echo "$as_me:2388: result: $ac_cv_sys_long_file_names" >&5
2389 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
2390 if test $ac_cv_sys_long_file_names = yes; then
2392 cat >>confdefs.h <<\EOF
2393 #define HAVE_LONG_FILE_NAMES 1
2398 # if we find pkg-config, check if we should install the ".pc" files.
2400 echo "$as_me:2400: checking if you want to use pkg-config" >&5
2401 echo $ECHO_N "checking if you want to use pkg-config... $ECHO_C" >&6
2403 # Check whether --with-pkg-config or --without-pkg-config was given.
2404 if test "${with_pkg_config+set}" = set; then
2405 withval="$with_pkg_config"
2406 cf_pkg_config=$withval
2410 echo "$as_me:2410: result: $cf_pkg_config" >&5
2411 echo "${ECHO_T}$cf_pkg_config" >&6
2413 case $cf_pkg_config in #(vi
2419 if test -n "$ac_tool_prefix"; then
2420 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2421 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2422 echo "$as_me:2422: checking for $ac_word" >&5
2423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2424 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2432 ac_save_IFS=$IFS; IFS=$ac_path_separator
2434 for ac_dir in $ac_dummy; do
2436 test -z "$ac_dir" && ac_dir=.
2437 if $as_executable_p "$ac_dir/$ac_word"; then
2438 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
2439 echo "$as_me:2439: found $ac_dir/$ac_word" >&5
2447 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2449 if test -n "$PKG_CONFIG"; then
2450 echo "$as_me:2450: result: $PKG_CONFIG" >&5
2451 echo "${ECHO_T}$PKG_CONFIG" >&6
2453 echo "$as_me:2453: result: no" >&5
2454 echo "${ECHO_T}no" >&6
2458 if test -z "$ac_cv_path_PKG_CONFIG"; then
2459 ac_pt_PKG_CONFIG=$PKG_CONFIG
2460 # Extract the first word of "pkg-config", so it can be a program name with args.
2461 set dummy pkg-config; ac_word=$2
2462 echo "$as_me:2462: checking for $ac_word" >&5
2463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2464 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 case $ac_pt_PKG_CONFIG in
2469 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2472 ac_save_IFS=$IFS; IFS=$ac_path_separator
2474 for ac_dir in $ac_dummy; do
2476 test -z "$ac_dir" && ac_dir=.
2477 if $as_executable_p "$ac_dir/$ac_word"; then
2478 ac_cv_path_ac_pt_PKG_CONFIG="$ac_dir/$ac_word"
2479 echo "$as_me:2479: found $ac_dir/$ac_word" >&5
2484 test -z "$ac_cv_path_ac_pt_PKG_CONFIG" && ac_cv_path_ac_pt_PKG_CONFIG="none"
2488 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2490 if test -n "$ac_pt_PKG_CONFIG"; then
2491 echo "$as_me:2491: result: $ac_pt_PKG_CONFIG" >&5
2492 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
2494 echo "$as_me:2494: result: no" >&5
2495 echo "${ECHO_T}no" >&6
2498 PKG_CONFIG=$ac_pt_PKG_CONFIG
2500 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2509 test -z "$PKG_CONFIG" && PKG_CONFIG=none
2510 if test "$PKG_CONFIG" != none ; then
2512 if test "x$prefix" != xNONE; then
2513 cf_path_syntax="$prefix"
2515 cf_path_syntax="$ac_default_prefix"
2518 case ".$PKG_CONFIG" in #(vi
2519 .\$\(*\)*|.\'*\'*) #(vi
2523 .[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
2525 .\${*prefix}*|.\${*dir}*) #(vi
2526 eval PKG_CONFIG="$PKG_CONFIG"
2527 case ".$PKG_CONFIG" in #(vi
2529 PKG_CONFIG=`echo $PKG_CONFIG | sed -e s%NONE%$cf_path_syntax%`
2534 PKG_CONFIG=`echo $PKG_CONFIG | sed -e s%NONE%$cf_path_syntax%`
2537 { { echo "$as_me:2537: error: expected a pathname, not \"$PKG_CONFIG\"" >&5
2538 echo "$as_me: error: expected a pathname, not \"$PKG_CONFIG\"" >&2;}
2539 { (exit 1); exit 1; }; }
2545 if test "$PKG_CONFIG" != none ; then
2546 echo "$as_me:2546: checking for $PKG_CONFIG library directory" >&5
2547 echo $ECHO_N "checking for $PKG_CONFIG library directory... $ECHO_C" >&6
2549 # Check whether --with-pkg-config-libdir or --without-pkg-config-libdir was given.
2550 if test "${with_pkg_config_libdir+set}" = set; then
2551 withval="$with_pkg_config_libdir"
2552 PKG_CONFIG_LIBDIR=$withval
2554 PKG_CONFIG_LIBDIR=yes
2557 case x$PKG_CONFIG_LIBDIR in #(vi
2561 # look for the library directory using the same prefix as the executable
2562 cf_path=`echo "$PKG_CONFIG" | sed -e 's,/[^/]*/[^/]*$,,'`
2563 case x`(arch) 2>/dev/null` in #(vi
2565 for cf_config in $cf_path/share $cf_path/lib64 $cf_path/lib32 $cf_path/lib
2567 if test -d $cf_config/pkgconfig
2569 PKG_CONFIG_LIBDIR=$cf_config/pkgconfig
2575 PKG_CONFIG_LIBDIR=$cf_path/lib/pkgconfig
2583 echo "$as_me:2583: result: $PKG_CONFIG_LIBDIR" >&5
2584 echo "${ECHO_T}$PKG_CONFIG_LIBDIR" >&6
2587 if test "$PKG_CONFIG" != none ; then
2588 echo "$as_me:2588: checking if we should install .pc files for $PKG_CONFIG" >&5
2589 echo $ECHO_N "checking if we should install .pc files for $PKG_CONFIG... $ECHO_C" >&6
2591 # Check whether --enable-pc-files or --disable-pc-files was given.
2592 if test "${enable_pc_files+set}" = set; then
2593 enableval="$enable_pc_files"
2594 enable_pc_files=$enableval
2598 echo "$as_me:2598: result: $enable_pc_files" >&5
2599 echo "${ECHO_T}$enable_pc_files" >&6
2600 if test "$enable_pc_files" != no
2603 if test "x$prefix" != xNONE; then
2604 cf_path_syntax="$prefix"
2606 cf_path_syntax="$ac_default_prefix"
2609 case ".$PKG_CONFIG_LIBDIR" in #(vi
2610 .\$\(*\)*|.\'*\'*) #(vi
2614 .[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
2616 .\${*prefix}*|.\${*dir}*) #(vi
2617 eval PKG_CONFIG_LIBDIR="$PKG_CONFIG_LIBDIR"
2618 case ".$PKG_CONFIG_LIBDIR" in #(vi
2620 PKG_CONFIG_LIBDIR=`echo $PKG_CONFIG_LIBDIR | sed -e s%NONE%$cf_path_syntax%`
2625 PKG_CONFIG_LIBDIR=`echo $PKG_CONFIG_LIBDIR | sed -e s%NONE%$cf_path_syntax%`
2628 { { echo "$as_me:2628: error: expected a pathname, not \"$PKG_CONFIG_LIBDIR\"" >&5
2629 echo "$as_me: error: expected a pathname, not \"$PKG_CONFIG_LIBDIR\"" >&2;}
2630 { (exit 1); exit 1; }; }
2639 echo "$as_me:2639: checking if you want to build test-programs" >&5
2640 echo $ECHO_N "checking if you want to build test-programs... $ECHO_C" >&6
2642 # Check whether --with-tests or --without-tests was given.
2643 if test "${with_tests+set}" = set; then
2644 withval="$with_tests"
2645 cf_with_tests=$withval
2649 echo "$as_me:2649: result: $cf_with_tests" >&5
2650 echo "${ECHO_T}$cf_with_tests" >&6
2652 echo "$as_me:2652: checking if we should assume mixed-case filenames" >&5
2653 echo $ECHO_N "checking if we should assume mixed-case filenames... $ECHO_C" >&6
2655 # Check whether --enable-mixed-case or --disable-mixed-case was given.
2656 if test "${enable_mixed_case+set}" = set; then
2657 enableval="$enable_mixed_case"
2658 enable_mixedcase=$enableval
2660 enable_mixedcase=auto
2662 echo "$as_me:2662: result: $enable_mixedcase" >&5
2663 echo "${ECHO_T}$enable_mixedcase" >&6
2664 if test "$enable_mixedcase" = "auto" ; then
2666 echo "$as_me:2666: checking if filesystem supports mixed-case filenames" >&5
2667 echo $ECHO_N "checking if filesystem supports mixed-case filenames... $ECHO_C" >&6
2668 if test "${cf_cv_mixedcase+set}" = set; then
2669 echo $ECHO_N "(cached) $ECHO_C" >&6
2672 if test "$cross_compiling" = yes ; then
2673 case $target_alias in #(vi
2674 *-os2-emx*|*-msdosdjgpp*|*-cygwin*|*-mingw32*|*-uwin*) #(vi
2682 rm -f conftest CONFTEST
2684 if test -f CONFTEST ; then
2689 rm -f conftest CONFTEST
2693 echo "$as_me:2693: result: $cf_cv_mixedcase" >&5
2694 echo "${ECHO_T}$cf_cv_mixedcase" >&6
2695 test "$cf_cv_mixedcase" = yes &&
2696 cat >>confdefs.h <<\EOF
2697 #define MIXEDCASE_FILENAMES 1
2701 cf_cv_mixedcase=$enable_mixedcase
2702 if test "$enable_mixedcase" = "yes" ; then
2703 cat >>confdefs.h <<\EOF
2704 #define MIXEDCASE_FILENAMES 1
2710 # do this after mixed-case option (tags/TAGS is not as important as tic).
2711 echo "$as_me:2711: checking whether ${MAKE-make} sets \${MAKE}" >&5
2712 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
2713 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
2714 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2715 echo $ECHO_N "(cached) $ECHO_C" >&6
2717 cat >conftest.make <<\EOF
2719 @echo 'ac_maketemp="${MAKE}"'
2721 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2722 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2723 if test -n "$ac_maketemp"; then
2724 eval ac_cv_prog_make_${ac_make}_set=yes
2726 eval ac_cv_prog_make_${ac_make}_set=no
2730 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2731 echo "$as_me:2731: result: yes" >&5
2732 echo "${ECHO_T}yes" >&6
2735 echo "$as_me:2735: result: no" >&5
2736 echo "${ECHO_T}no" >&6
2737 SET_MAKE="MAKE=${MAKE-make}"
2740 for ac_prog in exctags ctags
2742 # Extract the first word of "$ac_prog", so it can be a program name with args.
2743 set dummy $ac_prog; ac_word=$2
2744 echo "$as_me:2744: checking for $ac_word" >&5
2745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2746 if test "${ac_cv_prog_CTAGS+set}" = set; then
2747 echo $ECHO_N "(cached) $ECHO_C" >&6
2749 if test -n "$CTAGS"; then
2750 ac_cv_prog_CTAGS="$CTAGS" # Let the user override the test.
2752 ac_save_IFS=$IFS; IFS=$ac_path_separator
2754 for ac_dir in $ac_dummy; do
2756 test -z "$ac_dir" && ac_dir=.
2757 $as_executable_p "$ac_dir/$ac_word" || continue
2758 ac_cv_prog_CTAGS="$ac_prog"
2759 echo "$as_me:2759: found $ac_dir/$ac_word" >&5
2765 CTAGS=$ac_cv_prog_CTAGS
2766 if test -n "$CTAGS"; then
2767 echo "$as_me:2767: result: $CTAGS" >&5
2768 echo "${ECHO_T}$CTAGS" >&6
2770 echo "$as_me:2770: result: no" >&5
2771 echo "${ECHO_T}no" >&6
2774 test -n "$CTAGS" && break
2777 for ac_prog in exetags etags
2779 # Extract the first word of "$ac_prog", so it can be a program name with args.
2780 set dummy $ac_prog; ac_word=$2
2781 echo "$as_me:2781: checking for $ac_word" >&5
2782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2783 if test "${ac_cv_prog_ETAGS+set}" = set; then
2784 echo $ECHO_N "(cached) $ECHO_C" >&6
2786 if test -n "$ETAGS"; then
2787 ac_cv_prog_ETAGS="$ETAGS" # Let the user override the test.
2789 ac_save_IFS=$IFS; IFS=$ac_path_separator
2791 for ac_dir in $ac_dummy; do
2793 test -z "$ac_dir" && ac_dir=.
2794 $as_executable_p "$ac_dir/$ac_word" || continue
2795 ac_cv_prog_ETAGS="$ac_prog"
2796 echo "$as_me:2796: found $ac_dir/$ac_word" >&5
2802 ETAGS=$ac_cv_prog_ETAGS
2803 if test -n "$ETAGS"; then
2804 echo "$as_me:2804: result: $ETAGS" >&5
2805 echo "${ECHO_T}$ETAGS" >&6
2807 echo "$as_me:2807: result: no" >&5
2808 echo "${ECHO_T}no" >&6
2811 test -n "$ETAGS" && break
2814 # Extract the first word of "${CTAGS:-ctags}", so it can be a program name with args.
2815 set dummy ${CTAGS:-ctags}; ac_word=$2
2816 echo "$as_me:2816: checking for $ac_word" >&5
2817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2818 if test "${ac_cv_prog_MAKE_LOWER_TAGS+set}" = set; then
2819 echo $ECHO_N "(cached) $ECHO_C" >&6
2821 if test -n "$MAKE_LOWER_TAGS"; then
2822 ac_cv_prog_MAKE_LOWER_TAGS="$MAKE_LOWER_TAGS" # Let the user override the test.
2824 ac_save_IFS=$IFS; IFS=$ac_path_separator
2826 for ac_dir in $ac_dummy; do
2828 test -z "$ac_dir" && ac_dir=.
2829 $as_executable_p "$ac_dir/$ac_word" || continue
2830 ac_cv_prog_MAKE_LOWER_TAGS="yes"
2831 echo "$as_me:2831: found $ac_dir/$ac_word" >&5
2835 test -z "$ac_cv_prog_MAKE_LOWER_TAGS" && ac_cv_prog_MAKE_LOWER_TAGS="no"
2838 MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS
2839 if test -n "$MAKE_LOWER_TAGS"; then
2840 echo "$as_me:2840: result: $MAKE_LOWER_TAGS" >&5
2841 echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6
2843 echo "$as_me:2843: result: no" >&5
2844 echo "${ECHO_T}no" >&6
2847 if test "$cf_cv_mixedcase" = yes ; then
2848 # Extract the first word of "${ETAGS:-etags}", so it can be a program name with args.
2849 set dummy ${ETAGS:-etags}; ac_word=$2
2850 echo "$as_me:2850: checking for $ac_word" >&5
2851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2852 if test "${ac_cv_prog_MAKE_UPPER_TAGS+set}" = set; then
2853 echo $ECHO_N "(cached) $ECHO_C" >&6
2855 if test -n "$MAKE_UPPER_TAGS"; then
2856 ac_cv_prog_MAKE_UPPER_TAGS="$MAKE_UPPER_TAGS" # Let the user override the test.
2858 ac_save_IFS=$IFS; IFS=$ac_path_separator
2860 for ac_dir in $ac_dummy; do
2862 test -z "$ac_dir" && ac_dir=.
2863 $as_executable_p "$ac_dir/$ac_word" || continue
2864 ac_cv_prog_MAKE_UPPER_TAGS="yes"
2865 echo "$as_me:2865: found $ac_dir/$ac_word" >&5
2869 test -z "$ac_cv_prog_MAKE_UPPER_TAGS" && ac_cv_prog_MAKE_UPPER_TAGS="no"
2872 MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS
2873 if test -n "$MAKE_UPPER_TAGS"; then
2874 echo "$as_me:2874: result: $MAKE_UPPER_TAGS" >&5
2875 echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6
2877 echo "$as_me:2877: result: no" >&5
2878 echo "${ECHO_T}no" >&6
2885 if test "$MAKE_UPPER_TAGS" = yes ; then
2891 if test "$MAKE_LOWER_TAGS" = yes ; then
2897 echo "$as_me:2897: checking for makeflags variable" >&5
2898 echo $ECHO_N "checking for makeflags variable... $ECHO_C" >&6
2899 if test "${cf_cv_makeflags+set}" = set; then
2900 echo $ECHO_N "(cached) $ECHO_C" >&6
2904 for cf_option in '-${MAKEFLAGS}' '${MFLAGS}'
2906 cat >cf_makeflags.tmp <<CF_EOF
2909 @ echo '.$cf_option'
2911 cf_result=`${MAKE:-make} -k -f cf_makeflags.tmp 2>/dev/null | fgrep -v "ing directory" | sed -e 's,[ ]*$,,'`
2912 case "$cf_result" in
2914 cf_result=`${MAKE:-make} -k -f cf_makeflags.tmp CC=cc 2>/dev/null`
2915 case "$cf_result" in
2916 .*CC=*) cf_cv_makeflags=
2918 *) cf_cv_makeflags=$cf_option
2924 *) echo "given option \"$cf_option\", no match \"$cf_result\""
2928 rm -f cf_makeflags.tmp
2931 echo "$as_me:2931: result: $cf_cv_makeflags" >&5
2932 echo "${ECHO_T}$cf_cv_makeflags" >&6
2934 if test -n "$ac_tool_prefix"; then
2935 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2936 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2937 echo "$as_me:2937: checking for $ac_word" >&5
2938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2939 if test "${ac_cv_prog_RANLIB+set}" = set; then
2940 echo $ECHO_N "(cached) $ECHO_C" >&6
2942 if test -n "$RANLIB"; then
2943 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2945 ac_save_IFS=$IFS; IFS=$ac_path_separator
2947 for ac_dir in $ac_dummy; do
2949 test -z "$ac_dir" && ac_dir=.
2950 $as_executable_p "$ac_dir/$ac_word" || continue
2951 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2952 echo "$as_me:2952: found $ac_dir/$ac_word" >&5
2958 RANLIB=$ac_cv_prog_RANLIB
2959 if test -n "$RANLIB"; then
2960 echo "$as_me:2960: result: $RANLIB" >&5
2961 echo "${ECHO_T}$RANLIB" >&6
2963 echo "$as_me:2963: result: no" >&5
2964 echo "${ECHO_T}no" >&6
2968 if test -z "$ac_cv_prog_RANLIB"; then
2969 ac_ct_RANLIB=$RANLIB
2970 # Extract the first word of "ranlib", so it can be a program name with args.
2971 set dummy ranlib; ac_word=$2
2972 echo "$as_me:2972: checking for $ac_word" >&5
2973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2974 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 if test -n "$ac_ct_RANLIB"; then
2978 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2980 ac_save_IFS=$IFS; IFS=$ac_path_separator
2982 for ac_dir in $ac_dummy; do
2984 test -z "$ac_dir" && ac_dir=.
2985 $as_executable_p "$ac_dir/$ac_word" || continue
2986 ac_cv_prog_ac_ct_RANLIB="ranlib"
2987 echo "$as_me:2987: found $ac_dir/$ac_word" >&5
2991 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="':'"
2994 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2995 if test -n "$ac_ct_RANLIB"; then
2996 echo "$as_me:2996: result: $ac_ct_RANLIB" >&5
2997 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2999 echo "$as_me:2999: result: no" >&5
3000 echo "${ECHO_T}no" >&6
3003 RANLIB=$ac_ct_RANLIB
3005 RANLIB="$ac_cv_prog_RANLIB"
3008 if test -n "$ac_tool_prefix"; then
3009 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3010 set dummy ${ac_tool_prefix}ld; ac_word=$2
3011 echo "$as_me:3011: checking for $ac_word" >&5
3012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3013 if test "${ac_cv_prog_LD+set}" = set; then
3014 echo $ECHO_N "(cached) $ECHO_C" >&6
3016 if test -n "$LD"; then
3017 ac_cv_prog_LD="$LD" # Let the user override the test.
3019 ac_save_IFS=$IFS; IFS=$ac_path_separator
3021 for ac_dir in $ac_dummy; do
3023 test -z "$ac_dir" && ac_dir=.
3024 $as_executable_p "$ac_dir/$ac_word" || continue
3025 ac_cv_prog_LD="${ac_tool_prefix}ld"
3026 echo "$as_me:3026: found $ac_dir/$ac_word" >&5
3033 if test -n "$LD"; then
3034 echo "$as_me:3034: result: $LD" >&5
3035 echo "${ECHO_T}$LD" >&6
3037 echo "$as_me:3037: result: no" >&5
3038 echo "${ECHO_T}no" >&6
3042 if test -z "$ac_cv_prog_LD"; then
3044 # Extract the first word of "ld", so it can be a program name with args.
3045 set dummy ld; ac_word=$2
3046 echo "$as_me:3046: checking for $ac_word" >&5
3047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3048 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
3049 echo $ECHO_N "(cached) $ECHO_C" >&6
3051 if test -n "$ac_ct_LD"; then
3052 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
3054 ac_save_IFS=$IFS; IFS=$ac_path_separator
3056 for ac_dir in $ac_dummy; do
3058 test -z "$ac_dir" && ac_dir=.
3059 $as_executable_p "$ac_dir/$ac_word" || continue
3060 ac_cv_prog_ac_ct_LD="ld"
3061 echo "$as_me:3061: found $ac_dir/$ac_word" >&5
3065 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
3068 ac_ct_LD=$ac_cv_prog_ac_ct_LD
3069 if test -n "$ac_ct_LD"; then
3070 echo "$as_me:3070: result: $ac_ct_LD" >&5
3071 echo "${ECHO_T}$ac_ct_LD" >&6
3073 echo "$as_me:3073: result: no" >&5
3074 echo "${ECHO_T}no" >&6
3082 if test -n "$ac_tool_prefix"; then
3083 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3084 set dummy ${ac_tool_prefix}ar; ac_word=$2
3085 echo "$as_me:3085: checking for $ac_word" >&5
3086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3087 if test "${ac_cv_prog_AR+set}" = set; then
3088 echo $ECHO_N "(cached) $ECHO_C" >&6
3090 if test -n "$AR"; then
3091 ac_cv_prog_AR="$AR" # Let the user override the test.
3093 ac_save_IFS=$IFS; IFS=$ac_path_separator
3095 for ac_dir in $ac_dummy; do
3097 test -z "$ac_dir" && ac_dir=.
3098 $as_executable_p "$ac_dir/$ac_word" || continue
3099 ac_cv_prog_AR="${ac_tool_prefix}ar"
3100 echo "$as_me:3100: found $ac_dir/$ac_word" >&5
3107 if test -n "$AR"; then
3108 echo "$as_me:3108: result: $AR" >&5
3109 echo "${ECHO_T}$AR" >&6
3111 echo "$as_me:3111: result: no" >&5
3112 echo "${ECHO_T}no" >&6
3116 if test -z "$ac_cv_prog_AR"; then
3118 # Extract the first word of "ar", so it can be a program name with args.
3119 set dummy ar; ac_word=$2
3120 echo "$as_me:3120: checking for $ac_word" >&5
3121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3122 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3123 echo $ECHO_N "(cached) $ECHO_C" >&6
3125 if test -n "$ac_ct_AR"; then
3126 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3128 ac_save_IFS=$IFS; IFS=$ac_path_separator
3130 for ac_dir in $ac_dummy; do
3132 test -z "$ac_dir" && ac_dir=.
3133 $as_executable_p "$ac_dir/$ac_word" || continue
3134 ac_cv_prog_ac_ct_AR="ar"
3135 echo "$as_me:3135: found $ac_dir/$ac_word" >&5
3139 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
3142 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3143 if test -n "$ac_ct_AR"; then
3144 echo "$as_me:3144: result: $ac_ct_AR" >&5
3145 echo "${ECHO_T}$ac_ct_AR" >&6
3147 echo "$as_me:3147: result: no" >&5
3148 echo "${ECHO_T}no" >&6
3156 if test -n "$ac_tool_prefix"; then
3157 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3158 set dummy ${ac_tool_prefix}ar; ac_word=$2
3159 echo "$as_me:3159: checking for $ac_word" >&5
3160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3161 if test "${ac_cv_prog_AR+set}" = set; then
3162 echo $ECHO_N "(cached) $ECHO_C" >&6
3164 if test -n "$AR"; then
3165 ac_cv_prog_AR="$AR" # Let the user override the test.
3167 ac_save_IFS=$IFS; IFS=$ac_path_separator
3169 for ac_dir in $ac_dummy; do
3171 test -z "$ac_dir" && ac_dir=.
3172 $as_executable_p "$ac_dir/$ac_word" || continue
3173 ac_cv_prog_AR="${ac_tool_prefix}ar"
3174 echo "$as_me:3174: found $ac_dir/$ac_word" >&5
3181 if test -n "$AR"; then
3182 echo "$as_me:3182: result: $AR" >&5
3183 echo "${ECHO_T}$AR" >&6
3185 echo "$as_me:3185: result: no" >&5
3186 echo "${ECHO_T}no" >&6
3190 if test -z "$ac_cv_prog_AR"; then
3192 # Extract the first word of "ar", so it can be a program name with args.
3193 set dummy ar; ac_word=$2
3194 echo "$as_me:3194: checking for $ac_word" >&5
3195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3196 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3197 echo $ECHO_N "(cached) $ECHO_C" >&6
3199 if test -n "$ac_ct_AR"; then
3200 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3202 ac_save_IFS=$IFS; IFS=$ac_path_separator
3204 for ac_dir in $ac_dummy; do
3206 test -z "$ac_dir" && ac_dir=.
3207 $as_executable_p "$ac_dir/$ac_word" || continue
3208 ac_cv_prog_ac_ct_AR="ar"
3209 echo "$as_me:3209: found $ac_dir/$ac_word" >&5
3213 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
3216 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3217 if test -n "$ac_ct_AR"; then
3218 echo "$as_me:3218: result: $ac_ct_AR" >&5
3219 echo "${ECHO_T}$ac_ct_AR" >&6
3221 echo "$as_me:3221: result: no" >&5
3222 echo "${ECHO_T}no" >&6
3230 echo "$as_me:3230: checking for options to update archives" >&5
3231 echo $ECHO_N "checking for options to update archives... $ECHO_C" >&6
3232 if test "${cf_cv_ar_flags+set}" = set; then
3233 echo $ECHO_N "(cached) $ECHO_C" >&6
3236 cf_cv_ar_flags=unknown
3237 for cf_ar_flags in -curv curv -crv crv -cqv cqv -rv rv
3240 # check if $ARFLAGS already contains this choice
3241 if test "x$ARFLAGS" != "x" ; then
3242 cf_check_ar_flags=`echo "x$ARFLAGS" | sed -e "s/$cf_ar_flags\$//" -e "s/$cf_ar_flags / /"`
3243 if test "x$ARFLAGS" != "$cf_check_ar_flags" ; then
3249 rm -f conftest.$ac_cv_objext
3252 cat >conftest.$ac_ext <<EOF
3253 #line 3253 "configure"
3254 int testdata[3] = { 123, 456, 789 };
3256 if { (eval echo "$as_me:3256: \"$ac_compile\"") >&5
3257 (eval $ac_compile) 2>&5
3259 echo "$as_me:3259: \$? = $ac_status" >&5
3260 (exit $ac_status); } ; then
3261 echo "$AR $ARFLAGS $cf_ar_flags conftest.a conftest.$ac_cv_objext" >&5
3262 $AR $ARFLAGS $cf_ar_flags conftest.a conftest.$ac_cv_objext 2>&5 1>/dev/null
3263 if test -f conftest.a ; then
3264 cf_cv_ar_flags=$cf_ar_flags
3268 test -n "$verbose" && echo " cannot compile test-program" 1>&6
3270 echo "${as_me:-configure}:3270: testing cannot compile test-program ..." 1>&5
3275 rm -f conftest.a conftest.$ac_ext conftest.$ac_cv_objext
3278 echo "$as_me:3278: result: $cf_cv_ar_flags" >&5
3279 echo "${ECHO_T}$cf_cv_ar_flags" >&6
3281 if test -n "$ARFLAGS" ; then
3282 if test -n "$cf_cv_ar_flags" ; then
3283 ARFLAGS="$ARFLAGS $cf_cv_ar_flags"
3286 ARFLAGS=$cf_cv_ar_flags
3289 echo "$as_me:3289: checking for PATH separator" >&5
3290 echo $ECHO_N "checking for PATH separator... $ECHO_C" >&6
3291 case $cf_cv_system_name in
3292 os2*) PATH_SEPARATOR=';' ;;
3293 *) ${PATH_SEPARATOR:=':'} ;;
3296 echo "$as_me:3296: result: $PATH_SEPARATOR" >&5
3297 echo "${ECHO_T}$PATH_SEPARATOR" >&6
3299 echo "$as_me:3299: checking if you have specified an install-prefix" >&5
3300 echo $ECHO_N "checking if you have specified an install-prefix... $ECHO_C" >&6
3302 # Check whether --with-install-prefix or --without-install-prefix was given.
3303 if test "${with_install_prefix+set}" = set; then
3304 withval="$with_install_prefix"
3305 case "$withval" in #(vi
3308 *) DESTDIR="$withval"
3312 echo "$as_me:3312: result: $DESTDIR" >&5
3313 echo "${ECHO_T}$DESTDIR" >&6
3315 ###############################################################################
3317 # If we're cross-compiling, allow the user to override the tools and their
3318 # options. The configure script is oriented toward identifying the host
3319 # compiler, etc., but we need a build compiler to generate parts of the source.
3321 if test "$cross_compiling" = yes ; then
3323 # defaults that we might want to override
3324 : ${BUILD_CFLAGS:=''}
3325 : ${BUILD_CPPFLAGS:=''}
3326 : ${BUILD_LDFLAGS:=''}
3328 : ${BUILD_EXEEXT:='$x'}
3329 : ${BUILD_OBJEXT:='o'}
3331 # Check whether --with-build-cc or --without-build-cc was given.
3332 if test "${with_build_cc+set}" = set; then
3333 withval="$with_build_cc"
3336 for ac_prog in gcc cc cl
3338 # Extract the first word of "$ac_prog", so it can be a program name with args.
3339 set dummy $ac_prog; ac_word=$2
3340 echo "$as_me:3340: checking for $ac_word" >&5
3341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3342 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
3343 echo $ECHO_N "(cached) $ECHO_C" >&6
3345 if test -n "$BUILD_CC"; then
3346 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
3348 ac_save_IFS=$IFS; IFS=$ac_path_separator
3350 for ac_dir in $ac_dummy; do
3352 test -z "$ac_dir" && ac_dir=.
3353 $as_executable_p "$ac_dir/$ac_word" || continue
3354 ac_cv_prog_BUILD_CC="$ac_prog"
3355 echo "$as_me:3355: found $ac_dir/$ac_word" >&5
3361 BUILD_CC=$ac_cv_prog_BUILD_CC
3362 if test -n "$BUILD_CC"; then
3363 echo "$as_me:3363: result: $BUILD_CC" >&5
3364 echo "${ECHO_T}$BUILD_CC" >&6
3366 echo "$as_me:3366: result: no" >&5
3367 echo "${ECHO_T}no" >&6
3370 test -n "$BUILD_CC" && break
3374 echo "$as_me:3374: checking for native build C compiler" >&5
3375 echo $ECHO_N "checking for native build C compiler... $ECHO_C" >&6
3376 echo "$as_me:3376: result: $BUILD_CC" >&5
3377 echo "${ECHO_T}$BUILD_CC" >&6
3379 echo "$as_me:3379: checking for native build C preprocessor" >&5
3380 echo $ECHO_N "checking for native build C preprocessor... $ECHO_C" >&6
3382 # Check whether --with-build-cpp or --without-build-cpp was given.
3383 if test "${with_build_cpp+set}" = set; then
3384 withval="$with_build_cpp"
3385 BUILD_CPP="$withval"
3387 BUILD_CPP='${BUILD_CC} -E'
3389 echo "$as_me:3389: result: $BUILD_CPP" >&5
3390 echo "${ECHO_T}$BUILD_CPP" >&6
3392 echo "$as_me:3392: checking for native build C flags" >&5
3393 echo $ECHO_N "checking for native build C flags... $ECHO_C" >&6
3395 # Check whether --with-build-cflags or --without-build-cflags was given.
3396 if test "${with_build_cflags+set}" = set; then
3397 withval="$with_build_cflags"
3398 BUILD_CFLAGS="$withval"
3400 echo "$as_me:3400: result: $BUILD_CFLAGS" >&5
3401 echo "${ECHO_T}$BUILD_CFLAGS" >&6
3403 echo "$as_me:3403: checking for native build C preprocessor-flags" >&5
3404 echo $ECHO_N "checking for native build C preprocessor-flags... $ECHO_C" >&6
3406 # Check whether --with-build-cppflags or --without-build-cppflags was given.
3407 if test "${with_build_cppflags+set}" = set; then
3408 withval="$with_build_cppflags"
3409 BUILD_CPPFLAGS="$withval"
3411 echo "$as_me:3411: result: $BUILD_CPPFLAGS" >&5
3412 echo "${ECHO_T}$BUILD_CPPFLAGS" >&6
3414 echo "$as_me:3414: checking for native build linker-flags" >&5
3415 echo $ECHO_N "checking for native build linker-flags... $ECHO_C" >&6
3417 # Check whether --with-build-ldflags or --without-build-ldflags was given.
3418 if test "${with_build_ldflags+set}" = set; then
3419 withval="$with_build_ldflags"
3420 BUILD_LDFLAGS="$withval"
3422 echo "$as_me:3422: result: $BUILD_LDFLAGS" >&5
3423 echo "${ECHO_T}$BUILD_LDFLAGS" >&6
3425 echo "$as_me:3425: checking for native build linker-libraries" >&5
3426 echo $ECHO_N "checking for native build linker-libraries... $ECHO_C" >&6
3428 # Check whether --with-build-libs or --without-build-libs was given.
3429 if test "${with_build_libs+set}" = set; then
3430 withval="$with_build_libs"
3431 BUILD_LIBS="$withval"
3433 echo "$as_me:3433: result: $BUILD_LIBS" >&5
3434 echo "${ECHO_T}$BUILD_LIBS" >&6
3436 # this assumes we're on Unix.
3440 : ${BUILD_CC:='${CC}'}
3442 if ( test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}' ) ; then
3443 { { echo "$as_me:3443: error: Cross-build requires two compilers.
3444 Use --with-build-cc to specify the native compiler." >&5
3445 echo "$as_me: error: Cross-build requires two compilers.
3446 Use --with-build-cc to specify the native compiler." >&2;}
3447 { (exit 1); exit 1; }; }
3451 : ${BUILD_CC:='${CC}'}
3452 : ${BUILD_CPP:='${CPP}'}
3453 : ${BUILD_CFLAGS:='${CFLAGS}'}
3454 : ${BUILD_CPPFLAGS:='${CPPFLAGS}'}
3455 : ${BUILD_LDFLAGS:='${LDFLAGS}'}
3456 : ${BUILD_LIBS:='${LIBS}'}
3457 : ${BUILD_EXEEXT:='$x'}
3458 : ${BUILD_OBJEXT:='o'}
3461 ###############################################################################
3463 ### Options to allow the user to specify the set of libraries which are used.
3464 ### Use "--without-normal --with-shared" to allow the default model to be
3465 ### shared, for example.
3468 echo "$as_me:3468: checking if you want to build shared C-objects" >&5
3469 echo $ECHO_N "checking if you want to build shared C-objects... $ECHO_C" >&6
3471 # Check whether --with-shared or --without-shared was given.
3472 if test "${with_shared+set}" = set; then
3473 withval="$with_shared"
3474 with_shared=$withval
3478 echo "$as_me:3478: result: $with_shared" >&5
3479 echo "${ECHO_T}$with_shared" >&6
3480 test "$with_shared" = "yes" && cf_list_models="$cf_list_models shared"
3482 echo "$as_me:3482: checking for specified models" >&5
3483 echo $ECHO_N "checking for specified models... $ECHO_C" >&6
3484 test -z "$cf_list_models" && cf_list_models=normal
3485 echo "$as_me:3485: result: $cf_list_models" >&5
3486 echo "${ECHO_T}$cf_list_models" >&6
3488 ### Use the first model as the default, and save its suffix for use in building
3489 ### up test-applications.
3490 echo "$as_me:3490: checking for default model" >&5
3491 echo $ECHO_N "checking for default model... $ECHO_C" >&6
3492 DFT_LWR_MODEL=`echo "$cf_list_models" | $AWK '{print $1}'`
3493 echo "$as_me:3493: result: $DFT_LWR_MODEL" >&5
3494 echo "${ECHO_T}$DFT_LWR_MODEL" >&6
3496 DFT_UPR_MODEL=`echo "$DFT_LWR_MODEL" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
3498 echo "$as_me:3498: checking for specific curses-directory" >&5
3499 echo $ECHO_N "checking for specific curses-directory... $ECHO_C" >&6
3501 # Check whether --with-curses-dir or --without-curses-dir was given.
3502 if test "${with_curses_dir+set}" = set; then
3503 withval="$with_curses_dir"
3504 cf_cv_curses_dir=$withval
3508 echo "$as_me:3508: result: $cf_cv_curses_dir" >&5
3509 echo "${ECHO_T}$cf_cv_curses_dir" >&6
3511 if ( test -n "$cf_cv_curses_dir" && test "$cf_cv_curses_dir" != "no" )
3514 if test "x$prefix" != xNONE; then
3515 cf_path_syntax="$prefix"
3517 cf_path_syntax="$ac_default_prefix"
3520 case ".$withval" in #(vi
3521 .\$\(*\)*|.\'*\'*) #(vi
3525 .[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
3527 .\${*prefix}*|.\${*dir}*) #(vi
3528 eval withval="$withval"
3529 case ".$withval" in #(vi
3531 withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
3536 withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%`
3539 { { echo "$as_me:3539: error: expected a pathname, not \"$withval\"" >&5
3540 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
3541 { (exit 1); exit 1; }; }
3545 if test -d "$cf_cv_curses_dir"
3548 if test -n "$cf_cv_curses_dir/include" ; then
3549 for cf_add_incdir in $cf_cv_curses_dir/include
3551 while test $cf_add_incdir != /usr/include
3553 if test -d $cf_add_incdir
3556 if test -n "$CFLAGS$CPPFLAGS" ; then
3557 # a loop is needed to ensure we can add subdirs of existing dirs
3558 for cf_test_incdir in $CFLAGS $CPPFLAGS ; do
3559 if test ".$cf_test_incdir" = ".-I$cf_add_incdir" ; then
3560 cf_have_incdir=yes; break
3565 if test "$cf_have_incdir" = no ; then
3566 if test "$cf_add_incdir" = /usr/local/include ; then
3567 if test "$GCC" = yes
3569 cf_save_CPPFLAGS=$CPPFLAGS
3570 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
3571 cat >conftest.$ac_ext <<_ACEOF
3572 #line 3572 "configure"
3573 #include "confdefs.h"
3583 rm -f conftest.$ac_objext
3584 if { (eval echo "$as_me:3584: \"$ac_compile\"") >&5
3585 (eval $ac_compile) 2>&5
3587 echo "$as_me:3587: \$? = $ac_status" >&5
3588 (exit $ac_status); } &&
3589 { ac_try='test -s conftest.$ac_objext'
3590 { (eval echo "$as_me:3590: \"$ac_try\"") >&5
3593 echo "$as_me:3593: \$? = $ac_status" >&5
3594 (exit $ac_status); }; }; then
3597 echo "$as_me: failed program was:" >&5
3598 cat conftest.$ac_ext >&5
3601 rm -f conftest.$ac_objext conftest.$ac_ext
3602 CPPFLAGS=$cf_save_CPPFLAGS
3607 if test "$cf_have_incdir" = no ; then
3608 test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6
3610 echo "${as_me:-configure}:3610: testing adding $cf_add_incdir to include-path ..." 1>&5
3612 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
3614 cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'`
3615 test "$cf_top_incdir" = "$cf_add_incdir" && break
3616 cf_add_incdir="$cf_top_incdir"
3625 if test -n "$cf_cv_curses_dir/lib" ; then
3626 for cf_add_libdir in $cf_cv_curses_dir/lib
3628 if test $cf_add_libdir = /usr/lib ; then
3630 elif test -d $cf_add_libdir
3633 if test -n "$LDFLAGS$LIBS" ; then
3634 # a loop is needed to ensure we can add subdirs of existing dirs
3635 for cf_test_libdir in $LDFLAGS $LIBS ; do
3636 if test ".$cf_test_libdir" = ".-L$cf_add_libdir" ; then
3637 cf_have_libdir=yes; break
3641 if test "$cf_have_libdir" = no ; then
3642 test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6
3644 echo "${as_me:-configure}:3644: testing adding $cf_add_libdir to library-path ..." 1>&5
3646 LDFLAGS="-L$cf_add_libdir $LDFLAGS"
3655 echo "$as_me:3655: checking if you want wide-character code" >&5
3656 echo $ECHO_N "checking if you want wide-character code... $ECHO_C" >&6
3658 # Check whether --enable-widec or --disable-widec was given.
3659 if test "${enable_widec+set}" = set; then
3660 enableval="$enable_widec"
3661 with_widec=$enableval
3665 echo "$as_me:3665: result: $with_widec" >&5
3666 echo "${ECHO_T}$with_widec" >&6
3667 if test "$with_widec" = yes ; then
3669 echo "$as_me:3669: checking for multibyte character support" >&5
3670 echo $ECHO_N "checking for multibyte character support... $ECHO_C" >&6
3671 if test "${cf_cv_utf8_lib+set}" = set; then
3672 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 cf_save_LIBS="$LIBS"
3676 cat >conftest.$ac_ext <<_ACEOF
3677 #line 3677 "configure"
3678 #include "confdefs.h"
3689 rm -f conftest.$ac_objext conftest$ac_exeext
3690 if { (eval echo "$as_me:3690: \"$ac_link\"") >&5
3691 (eval $ac_link) 2>&5
3693 echo "$as_me:3693: \$? = $ac_status" >&5
3694 (exit $ac_status); } &&
3695 { ac_try='test -s conftest$ac_exeext'
3696 { (eval echo "$as_me:3696: \"$ac_try\"") >&5
3699 echo "$as_me:3699: \$? = $ac_status" >&5
3700 (exit $ac_status); }; }; then
3703 echo "$as_me: failed program was:" >&5
3704 cat conftest.$ac_ext >&5
3706 # If the linkage is not already in the $CPPFLAGS/$LDFLAGS configuration, these
3707 # will be set on completion of the AC_TRY_LINK below.
3708 cf_cv_header_path_utf8=
3709 cf_cv_library_path_utf8=
3711 echo "${as_me:-configure}:3711: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5
3713 cf_save_LIBS="$LIBS"
3715 cat >conftest.$ac_ext <<_ACEOF
3716 #line 3716 "configure"
3717 #include "confdefs.h"
3719 #include <libutf8.h>
3728 rm -f conftest.$ac_objext conftest$ac_exeext
3729 if { (eval echo "$as_me:3729: \"$ac_link\"") >&5
3730 (eval $ac_link) 2>&5
3732 echo "$as_me:3732: \$? = $ac_status" >&5
3733 (exit $ac_status); } &&
3734 { ac_try='test -s conftest$ac_exeext'
3735 { (eval echo "$as_me:3735: \"$ac_try\"") >&5
3738 echo "$as_me:3738: \$? = $ac_status" >&5
3739 (exit $ac_status); }; }; then
3741 cf_cv_find_linkage_utf8=yes
3742 cf_cv_header_path_utf8=/usr/include
3743 cf_cv_library_path_utf8=/usr/lib
3746 echo "$as_me: failed program was:" >&5
3747 cat conftest.$ac_ext >&5
3749 LIBS="-lutf8 $cf_save_LIBS"
3751 cat >conftest.$ac_ext <<_ACEOF
3752 #line 3752 "configure"
3753 #include "confdefs.h"
3755 #include <libutf8.h>
3764 rm -f conftest.$ac_objext conftest$ac_exeext
3765 if { (eval echo "$as_me:3765: \"$ac_link\"") >&5
3766 (eval $ac_link) 2>&5
3768 echo "$as_me:3768: \$? = $ac_status" >&5
3769 (exit $ac_status); } &&
3770 { ac_try='test -s conftest$ac_exeext'
3771 { (eval echo "$as_me:3771: \"$ac_try\"") >&5
3774 echo "$as_me:3774: \$? = $ac_status" >&5
3775 (exit $ac_status); }; }; then
3777 cf_cv_find_linkage_utf8=yes
3778 cf_cv_header_path_utf8=/usr/include
3779 cf_cv_library_path_utf8=/usr/lib
3780 cf_cv_library_file_utf8="-lutf8"
3783 echo "$as_me: failed program was:" >&5
3784 cat conftest.$ac_ext >&5
3786 cf_cv_find_linkage_utf8=no
3787 LIBS="$cf_save_LIBS"
3789 test -n "$verbose" && echo " find linkage for utf8 library" 1>&6
3791 echo "${as_me:-configure}:3791: testing find linkage for utf8 library ..." 1>&5
3793 echo "${as_me:-configure}:3793: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5
3795 cf_save_CPPFLAGS="$CPPFLAGS"
3796 cf_test_CPPFLAGS="$CPPFLAGS"
3800 # collect the current set of include-directories from compiler flags
3801 cf_header_path_list=""
3802 if test -n "${CFLAGS}${CPPFLAGS}" ; then
3803 for cf_header_path in $CPPFLAGS $CFLAGS
3805 case $cf_header_path in #(vi
3807 cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'`
3809 test "$cf_header_path" != "NONE" && \
3810 test -d "$cf_header_path" && \
3812 test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path"
3813 test -d $cf_header_path/include && cf_search="$cf_search $cf_header_path/include"
3814 test -d $cf_header_path/include/utf8 && cf_search="$cf_search $cf_header_path/include/utf8"
3815 test -d $cf_header_path/include/utf8/include && cf_search="$cf_search $cf_header_path/include/utf8/include"
3816 test -d $cf_header_path/utf8/include && cf_search="$cf_search $cf_header_path/utf8/include"
3817 test -d $cf_header_path/utf8/include/utf8 && cf_search="$cf_search $cf_header_path/utf8/include/utf8"
3820 cf_header_path_list="$cf_header_path_list $cf_search"
3826 # add the variations for the package we are looking for
3830 test "/usr" != "$prefix" && \
3832 (test $prefix = NONE || test "/usr" != "$prefix") && {
3833 test -n "$verbose" && echo " ... testing for include-directories under /usr"
3834 test -d /usr/include && cf_search="$cf_search /usr/include"
3835 test -d /usr/include/utf8 && cf_search="$cf_search /usr/include/utf8"
3836 test -d /usr/include/utf8/include && cf_search="$cf_search /usr/include/utf8/include"
3837 test -d /usr/utf8/include && cf_search="$cf_search /usr/utf8/include"
3838 test -d /usr/utf8/include/utf8 && cf_search="$cf_search /usr/utf8/include/utf8"
3841 test "$prefix" != "NONE" && \
3842 test -d "$prefix" && \
3844 test -n "$verbose" && echo " ... testing for include-directories under $prefix"
3845 test -d $prefix/include && cf_search="$cf_search $prefix/include"
3846 test -d $prefix/include/utf8 && cf_search="$cf_search $prefix/include/utf8"
3847 test -d $prefix/include/utf8/include && cf_search="$cf_search $prefix/include/utf8/include"
3848 test -d $prefix/utf8/include && cf_search="$cf_search $prefix/utf8/include"
3849 test -d $prefix/utf8/include/utf8 && cf_search="$cf_search $prefix/utf8/include/utf8"
3852 test "/usr/local" != "$prefix" && \
3853 test -d "/usr/local" && \
3854 (test $prefix = NONE || test "/usr/local" != "$prefix") && {
3855 test -n "$verbose" && echo " ... testing for include-directories under /usr/local"
3856 test -d /usr/local/include && cf_search="$cf_search /usr/local/include"
3857 test -d /usr/local/include/utf8 && cf_search="$cf_search /usr/local/include/utf8"
3858 test -d /usr/local/include/utf8/include && cf_search="$cf_search /usr/local/include/utf8/include"
3859 test -d /usr/local/utf8/include && cf_search="$cf_search /usr/local/utf8/include"
3860 test -d /usr/local/utf8/include/utf8 && cf_search="$cf_search /usr/local/utf8/include/utf8"
3863 test "/opt" != "$prefix" && \
3865 (test $prefix = NONE || test "/opt" != "$prefix") && {
3866 test -n "$verbose" && echo " ... testing for include-directories under /opt"
3867 test -d /opt/include && cf_search="$cf_search /opt/include"
3868 test -d /opt/include/utf8 && cf_search="$cf_search /opt/include/utf8"
3869 test -d /opt/include/utf8/include && cf_search="$cf_search /opt/include/utf8/include"
3870 test -d /opt/utf8/include && cf_search="$cf_search /opt/utf8/include"
3871 test -d /opt/utf8/include/utf8 && cf_search="$cf_search /opt/utf8/include/utf8"
3874 test "$HOME" != "$prefix" && \
3875 test -d "$HOME" && \
3876 (test $prefix = NONE || test "$HOME" != "$prefix") && {
3877 test -n "$verbose" && echo " ... testing for include-directories under $HOME"
3878 test -d $HOME/include && cf_search="$cf_search $HOME/include"
3879 test -d $HOME/include/utf8 && cf_search="$cf_search $HOME/include/utf8"
3880 test -d $HOME/include/utf8/include && cf_search="$cf_search $HOME/include/utf8/include"
3881 test -d $HOME/utf8/include && cf_search="$cf_search $HOME/utf8/include"
3882 test -d $HOME/utf8/include/utf8 && cf_search="$cf_search $HOME/utf8/include/utf8"
3885 test "$includedir" != NONE && \
3886 test "$includedir" != "/usr/include" && \
3887 test -d "$includedir" && {
3888 test -d $includedir && cf_search="$cf_search $includedir"
3889 test -d $includedir/utf8 && cf_search="$cf_search $includedir/utf8"
3892 test "$oldincludedir" != NONE && \
3893 test "$oldincludedir" != "/usr/include" && \
3894 test -d "$oldincludedir" && {
3895 test -d $oldincludedir && cf_search="$cf_search $oldincludedir"
3896 test -d $oldincludedir/utf8 && cf_search="$cf_search $oldincludedir/utf8"
3899 cf_search="$cf_search $cf_header_path_list"
3901 for cf_cv_header_path_utf8 in $cf_search
3903 if test -d $cf_cv_header_path_utf8 ; then
3904 test -n "$verbose" && echo " ... testing $cf_cv_header_path_utf8" 1>&6
3906 echo "${as_me:-configure}:3906: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5
3908 CPPFLAGS="$cf_save_CPPFLAGS -I$cf_cv_header_path_utf8"
3909 cat >conftest.$ac_ext <<_ACEOF
3910 #line 3910 "configure"
3911 #include "confdefs.h"
3913 #include <libutf8.h>
3922 rm -f conftest.$ac_objext
3923 if { (eval echo "$as_me:3923: \"$ac_compile\"") >&5
3924 (eval $ac_compile) 2>&5
3926 echo "$as_me:3926: \$? = $ac_status" >&5
3927 (exit $ac_status); } &&
3928 { ac_try='test -s conftest.$ac_objext'
3929 { (eval echo "$as_me:3929: \"$ac_try\"") >&5
3932 echo "$as_me:3932: \$? = $ac_status" >&5
3933 (exit $ac_status); }; }; then
3935 test -n "$verbose" && echo " ... found utf8 headers in $cf_cv_header_path_utf8" 1>&6
3937 echo "${as_me:-configure}:3937: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5
3939 cf_cv_find_linkage_utf8=maybe