2 # From configure.in Revision: 1.82 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by Autoconf 2.52.20210105.
6 # Copyright 2003-2020,2021 Thomas E. Dickey
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
12 # Avoid depending upon Character Ranges.
13 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16 as_cr_digits='0123456789'
17 as_cr_alnum=$as_cr_Letters$as_cr_digits
19 # Sed expression to map a string onto a valid variable name.
20 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
22 # Sed expression to map a string onto a valid CPP name.
23 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
25 # Be Bourne compatible
26 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33 # Name of the executable.
34 as_me=`echo "$0" |sed 's,.*[\\/],,'`
36 if expr a : '\(a\)' >/dev/null 2>&1; then
42 rm -f conf$$ conf$$.exe conf$$.file
44 if ln -s conf$$.file conf$$ 2>/dev/null; then
45 # We could just check for DJGPP; but this test a) works b) is more generic
46 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
47 if test -f conf$$.exe; then
48 # Don't use ln at all; we don't have any links
53 elif ln conf$$.file conf$$ 2>/dev/null; then
58 rm -f conf$$ conf$$.exe conf$$.file
60 as_executable_p="test -f"
62 # Support unset when possible.
63 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
70 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
71 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
72 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
73 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
74 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
75 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
76 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
77 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
80 # We need space, tab and new line, in precisely that order.
86 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
89 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
90 # so uname gets run too.
91 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
98 ac_default_prefix=/usr/local
103 SHELL=${CONFIG_SHELL-/bin/sh}
105 # Maximum number of lines to put in a shell here document.
106 # This variable seems obsolete. It should probably be removed, and
107 # only ac_max_sed_lines should be used.
108 : "${ac_max_here_lines=38}"
110 ac_unique_file="gen/gen.c"
111 # Factoring default headers for most tests.
112 ac_includes_default="\
115 # include <sys/types.h>
118 # include <sys/stat.h>
129 # if !STDC_HEADERS && HAVE_MEMORY_H
135 # include <strings.h>
138 # include <inttypes.h>
148 # Initialize some variables set by options.
150 ac_init_version=false
151 # The variables have the same names as the options, with
152 # dashes changed to underlines.
160 program_transform_name=s,x,x,
168 # Installation directory options.
169 # These are left unexpanded so users can "make install exec_prefix=/foo"
170 # and all the variables that are supposed to be based on exec_prefix
171 # by default will actually change.
172 # Use braces instead of parens because sh, perl, etc. also accept them.
173 bindir='${exec_prefix}/bin'
174 sbindir='${exec_prefix}/sbin'
175 libexecdir='${exec_prefix}/libexec'
176 datarootdir='${prefix}/share'
177 datadir='${datarootdir}'
178 sysconfdir='${prefix}/etc'
179 sharedstatedir='${prefix}/com'
180 localstatedir='${prefix}/var'
181 runstatedir='${localstatedir}/run'
182 libdir='${exec_prefix}/lib'
183 includedir='${prefix}/include'
184 oldincludedir='/usr/include'
185 infodir='${datarootdir}/info'
186 mandir='${datarootdir}/man'
188 # Identity of this package.
198 # If the previous option needs an argument, assign it.
199 if test -n "$ac_prev"; then
200 eval "$ac_prev=\$ac_option"
205 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
207 # Accept the important Cygnus configure options, so we can diagnose typos.
211 -bindir | --bindir | --bindi | --bind | --bin | --bi)
213 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
216 -build | --build | --buil | --bui | --bu)
217 ac_prev=build_alias ;;
218 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
219 build_alias=$ac_optarg ;;
221 -cache-file | --cache-file | --cache-fil | --cache-fi \
222 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
223 ac_prev=cache_file ;;
224 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
225 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
226 cache_file=$ac_optarg ;;
229 cache_file=config.cache ;;
231 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
233 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
235 datadir=$ac_optarg ;;
237 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
238 | --dataroo | --dataro | --datar)
239 ac_prev=datarootdir ;;
240 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
241 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
242 datarootdir=$ac_optarg ;;
244 -disable-* | --disable-*)
245 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
246 # Reject names that are not valid shell variable names.
247 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
248 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
249 { (exit 1); exit 1; }; }
250 ac_feature=`echo "$ac_feature" | sed 's/-/_/g'`
251 eval "enable_$ac_feature=no" ;;
253 -enable-* | --enable-*)
254 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
255 # Reject names that are not valid shell variable names.
256 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
257 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
258 { (exit 1); exit 1; }; }
259 ac_feature=`echo "$ac_feature" | sed 's/-/_/g'`
261 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
264 eval "enable_$ac_feature='$ac_optarg'" ;;
266 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
267 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
268 | --exec | --exe | --ex)
269 ac_prev=exec_prefix ;;
270 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
271 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
272 | --exec=* | --exe=* | --ex=*)
273 exec_prefix=$ac_optarg ;;
275 -gas | --gas | --ga | --g)
276 # Obsolete; use --with-gas.
279 -help | --help | --hel | --he | -h)
281 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
282 ac_init_help=recursive ;;
283 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
284 ac_init_help=short ;;
286 -host | --host | --hos | --ho)
287 ac_prev=host_alias ;;
288 -host=* | --host=* | --hos=* | --ho=*)
289 host_alias=$ac_optarg ;;
291 -includedir | --includedir | --includedi | --included | --include \
292 | --includ | --inclu | --incl | --inc)
293 ac_prev=includedir ;;
294 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
295 | --includ=* | --inclu=* | --incl=* | --inc=*)
296 includedir=$ac_optarg ;;
298 -infodir | --infodir | --infodi | --infod | --info | --inf)
300 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
301 infodir=$ac_optarg ;;
303 -libdir | --libdir | --libdi | --libd)
305 -libdir=* | --libdir=* | --libdi=* | --libd=*)
308 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
309 | --libexe | --libex | --libe)
310 ac_prev=libexecdir ;;
311 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
312 | --libexe=* | --libex=* | --libe=*)
313 libexecdir=$ac_optarg ;;
315 -localstatedir | --localstatedir | --localstatedi | --localstated \
316 | --localstate | --localstat | --localsta | --localst \
317 | --locals | --local | --loca | --loc | --lo)
318 ac_prev=localstatedir ;;
319 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
320 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
321 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
322 localstatedir=$ac_optarg ;;
324 -runstatedir | --runstatedir | --runstatedi | --runstated \
325 | --runstate | --runstat | --runsta | --runst \
326 | --runs | --run | --ru)
327 ac_prev=runstatedir ;;
328 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
329 | --runstate=* | --runstat=* | --runsta=* | --runst=* \
330 | --runs=* | --run=* | --ru=*)
331 runstatedir=$ac_optarg ;;
333 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
335 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
339 # Obsolete; use --without-fp.
342 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
346 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
347 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
350 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
351 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
352 | --oldin | --oldi | --old | --ol | --o)
353 ac_prev=oldincludedir ;;
354 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
355 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
356 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
357 oldincludedir=$ac_optarg ;;
359 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
361 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
364 -program-prefix | --program-prefix | --program-prefi | --program-pref \
365 | --program-pre | --program-pr | --program-p)
366 ac_prev=program_prefix ;;
367 -program-prefix=* | --program-prefix=* | --program-prefi=* \
368 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
369 program_prefix=$ac_optarg ;;
371 -program-suffix | --program-suffix | --program-suffi | --program-suff \
372 | --program-suf | --program-su | --program-s)
373 ac_prev=program_suffix ;;
374 -program-suffix=* | --program-suffix=* | --program-suffi=* \
375 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
376 program_suffix=$ac_optarg ;;
378 -program-transform-name | --program-transform-name \
379 | --program-transform-nam | --program-transform-na \
380 | --program-transform-n | --program-transform- \
381 | --program-transform | --program-transfor \
382 | --program-transfo | --program-transf \
383 | --program-trans | --program-tran \
384 | --progr-tra | --program-tr | --program-t)
385 ac_prev=program_transform_name ;;
386 -program-transform-name=* | --program-transform-name=* \
387 | --program-transform-nam=* | --program-transform-na=* \
388 | --program-transform-n=* | --program-transform-=* \
389 | --program-transform=* | --program-transfor=* \
390 | --program-transfo=* | --program-transf=* \
391 | --program-trans=* | --program-tran=* \
392 | --progr-tra=* | --program-tr=* | --program-t=*)
393 program_transform_name=$ac_optarg ;;
395 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
396 | -silent | --silent | --silen | --sile | --sil)
399 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
401 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
403 sbindir=$ac_optarg ;;
405 -sharedstatedir | --sharedstatedir | --sharedstatedi \
406 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
407 | --sharedst | --shareds | --shared | --share | --shar \
409 ac_prev=sharedstatedir ;;
410 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
411 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
412 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
414 sharedstatedir=$ac_optarg ;;
416 -site | --site | --sit)
418 -site=* | --site=* | --sit=*)
421 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
423 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
426 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
427 | --syscon | --sysco | --sysc | --sys | --sy)
428 ac_prev=sysconfdir ;;
429 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
430 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
431 sysconfdir=$ac_optarg ;;
433 -target | --target | --targe | --targ | --tar | --ta | --t)
434 ac_prev=target_alias ;;
435 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
436 target_alias=$ac_optarg ;;
438 -v | -verbose | --verbose | --verbos | --verbo | --verb)
441 -version | --version | --versio | --versi | --vers | -V)
445 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
446 # Reject names that are not valid shell variable names.
447 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
448 { echo "$as_me: error: invalid package name: $ac_package" >&2
449 { (exit 1); exit 1; }; }
450 ac_package=`echo "$ac_package" | sed 's/-/_/g'`
452 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
455 eval "with_$ac_package='$ac_optarg'" ;;
457 -without-* | --without-*)
458 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
459 # Reject names that are not valid shell variable names.
460 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
461 { echo "$as_me: error: invalid package name: $ac_package" >&2
462 { (exit 1); exit 1; }; }
463 ac_package=`echo "$ac_package" | sed 's/-/_/g'`
464 eval "with_$ac_package=no" ;;
467 # Obsolete; use --with-x.
470 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
471 | --x-incl | --x-inc | --x-in | --x-i)
472 ac_prev=x_includes ;;
473 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
474 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
475 x_includes=$ac_optarg ;;
477 -x-libraries | --x-libraries | --x-librarie | --x-librari \
478 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
479 ac_prev=x_libraries ;;
480 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
481 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
482 x_libraries=$ac_optarg ;;
484 -*) { echo "$as_me: error: unrecognized option: $ac_option
485 Try \`$0 --help' for more information." >&2
486 { (exit 1); exit 1; }; }
490 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
491 # Reject names that are not valid shell variable names.
492 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
493 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
494 { (exit 1); exit 1; }; }
495 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
496 eval "$ac_envvar='$ac_optarg'"
497 export "$ac_envvar" ;;
500 # FIXME: should be removed in autoconf 3.0.
501 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
502 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
503 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
504 : "${build_alias=$ac_option}" "${host_alias=$ac_option}" "${target_alias=$ac_option}"
510 if test -n "$ac_prev"; then
511 ac_option=--`echo "$ac_prev" | sed 's/_/-/g'`
512 { echo "$as_me: error: missing argument to $ac_option" >&2
513 { (exit 1); exit 1; }; }
516 # Be sure to have absolute paths.
517 for ac_var in exec_prefix prefix
519 eval ac_val=$`echo "$ac_var"`
521 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
522 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
523 { (exit 1); exit 1; }; };;
527 # Be sure to have absolute paths.
528 for ac_var in bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir \
529 localstatedir libdir includedir oldincludedir infodir mandir
531 eval ac_val=$`echo "$ac_var"`
533 [\\/$]* | ?:[\\/]* ) ;;
534 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
535 { (exit 1); exit 1; }; };;
539 # There might be people who depend on the old broken behavior: `$host'
540 # used to hold the argument of --host etc.
545 # FIXME: should be removed in autoconf 3.0.
546 if test "x$host_alias" != x; then
547 if test "x$build_alias" = x; then
548 cross_compiling=maybe
549 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
550 If a cross compiler is detected then cross compile mode will be used." >&2
551 elif test "x$build_alias" != "x$host_alias"; then
557 test -n "$host_alias" && ac_tool_prefix=$host_alias-
559 test "$silent" = yes && exec 6>/dev/null
561 # Find the source files, if location was not specified.
562 if test -z "$srcdir"; then
563 ac_srcdir_defaulted=yes
564 # Try the directory containing this script, then its parent.
566 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
567 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
569 if test ! -r "$srcdir/$ac_unique_file"; then
573 ac_srcdir_defaulted=no
575 if test ! -r "$srcdir/$ac_unique_file"; then
576 if test "$ac_srcdir_defaulted" = yes; then
577 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
578 { (exit 1); exit 1; }; }
580 { echo "$as_me: error: cannot find sources in $srcdir" >&2
581 { (exit 1); exit 1; }; }
584 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
585 ac_env_build_alias_set=${build_alias+set}
586 ac_env_build_alias_value=$build_alias
587 ac_cv_env_build_alias_set=${build_alias+set}
588 ac_cv_env_build_alias_value=$build_alias
589 ac_env_host_alias_set=${host_alias+set}
590 ac_env_host_alias_value=$host_alias
591 ac_cv_env_host_alias_set=${host_alias+set}
592 ac_cv_env_host_alias_value=$host_alias
593 ac_env_target_alias_set=${target_alias+set}
594 ac_env_target_alias_value=$target_alias
595 ac_cv_env_target_alias_set=${target_alias+set}
596 ac_cv_env_target_alias_value=$target_alias
597 ac_env_CC_set=${CC+set}
599 ac_cv_env_CC_set=${CC+set}
600 ac_cv_env_CC_value=$CC
601 ac_env_CFLAGS_set=${CFLAGS+set}
602 ac_env_CFLAGS_value=$CFLAGS
603 ac_cv_env_CFLAGS_set=${CFLAGS+set}
604 ac_cv_env_CFLAGS_value=$CFLAGS
605 ac_env_LDFLAGS_set=${LDFLAGS+set}
606 ac_env_LDFLAGS_value=$LDFLAGS
607 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
608 ac_cv_env_LDFLAGS_value=$LDFLAGS
609 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
610 ac_env_CPPFLAGS_value=$CPPFLAGS
611 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
612 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
613 ac_env_CPP_set=${CPP+set}
614 ac_env_CPP_value=$CPP
615 ac_cv_env_CPP_set=${CPP+set}
616 ac_cv_env_CPP_value=$CPP
619 # Report the --help message.
621 if test "$ac_init_help" = "long"; then
622 # Omit some internal or obsolete options to make the list less imposing.
623 # This message is too long to be a string in the A/UX 3.1 sh.
625 \`configure' configures this package to adapt to many kinds of systems.
627 Usage: $0 [OPTION]... [VAR=VALUE]...
629 To assign environment variables (e.g., CC, CFLAGS...), specify them as
630 VAR=VALUE. See below for descriptions of some of the useful variables.
632 Defaults for the options are specified in brackets.
635 -h, --help display this help and exit
636 --help=short display options specific to this package
637 --help=recursive display the short help of all the included packages
638 -V, --version display version information and exit
639 -q, --quiet, --silent do not print \`checking...' messages
640 --cache-file=FILE cache test results in FILE [disabled]
641 -C, --config-cache alias for \`--cache-file=config.cache'
642 -n, --no-create do not create output files
643 --srcdir=DIR find the sources in DIR [configure dir or \`..']
648 Installation directories:
649 --prefix=PREFIX install architecture-independent files in PREFIX
651 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
654 By default, \`make install' will install all the files in
655 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
656 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
657 for instance \`--prefix=\$HOME'.
659 For better control, use the options below.
661 Fine tuning of the installation directories:
662 --bindir=DIR user executables [EPREFIX/bin]
663 --sbindir=DIR system admin executables [EPREFIX/sbin]
664 --libexecdir=DIR program executables [EPREFIX/libexec]
665 --datarootdir=DIR read-only architecture-independent data [PREFIX/share]
666 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
667 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
668 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
669 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
670 --runstatedir=DIR extra definition of runtime data [LOCALSTATEDIR/run]
671 --libdir=DIR object code libraries [EPREFIX/lib]
672 --includedir=DIR C header files [PREFIX/include]
673 --oldincludedir=DIR C header files for non-gcc [/usr/include]
674 --infodir=DIR info documentation [DATAROOTDIR/info]
675 --mandir=DIR man documentation [DATAROOTDIR/man]
681 --program-prefix=PREFIX prepend PREFIX to installed program names
682 --program-suffix=SUFFIX append SUFFIX to installed program names
683 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
686 --build=BUILD configure for building on BUILD [guessed]
687 --host=HOST build programs to run on HOST [BUILD]
688 --target=TARGET configure for building compilers for TARGET [HOST]
692 if test -n "$ac_init_help"; then
697 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
698 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
701 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
702 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
705 --with-system-type=XXX test: override derived host system-type
706 --disable-stripping do not strip (debug info) installed executables
707 --with-pkg-config{=path} enable/disable use of pkg-config
708 --with-pkg-config-libdir=XXX use given directory for installing pc-files
709 --without-tests suppress build with test-programs
710 --enable-mixed-case tic should assume mixed-case filenames
711 --with-install-prefix prefixes actual install-location ($DESTDIR)
712 Build-Tools Needed to Compile Temporary Applications for Cross-compiling:
713 --with-build-cc=XXX the build C compiler ($BUILD_CC)
714 --with-build-cpp=XXX the build C preprocessor ($BUILD_CPP)
715 --with-build-cflags=XXX the build C compiler-flags ($BUILD_CFLAGS)
716 --with-build-cppflags=XXX the build C preprocessor-flags ($BUILD_CPPFLAGS)
717 --with-build-ldflags=XXX the build linker-flags ($BUILD_LDFLAGS)
718 --with-build-libs=XXX the build libraries (${BUILD_LIBS})
719 Options to Specify the Libraries Built/Used:
720 --with-shared generate shared C-objects (needed for --with-ada-sharedlib)
721 --with-curses-dir=DIR directory in which (n)curses is installed
722 --enable-widec compile with wide-char/UTF-8 code
723 --with-lib-prefix override library-prefix
724 --with-shlib-version=X Specify rel or abi version for shared libs
725 --enable-rpath-link link sample programs with rpath option
726 Fine-Tuning Your Configuration:
727 --enable-broken_linker compile with broken-linker support code
728 --disable-largefile omit support for large files
729 --with-rcs-ids compile-in RCS identifiers
731 --disable-ext-funcs disable function-extensions
732 --enable-const compile with extra/non-standard const
734 --without-develop disable development options
736 --with-pthread use POSIX thread library
737 --enable-weak-symbols enable weak-symbols for pthreads
738 --enable-reentrant compile with experimental reentrant code
739 --with-wrap-prefix=XXX override prefix used for public variables
740 Testing/development Options:
741 --disable-echo do not display "compiling" commands
742 --enable-warnings test: turn on gcc compiler warnings
743 --enable-assertions test: turn on generation of assertion code
744 --enable-expanded test: generate functions for certain macros
745 --disable-macros test: use functions rather than macros
746 --with-trace test: add trace() function to all models of ncurses
747 --disable-gnat-projects test: disable GNAT projects even if usable
748 Ada95 Binding Options:
749 --with-ada-compiler=CMD specify Ada95 compiler command (default gnatmake)
750 --with-ada-include=DIR Ada includes are in DIR (default: PREFIX/share/ada/adainclude)
751 --with-ada-objects=DIR Ada objects are in DIR (default: PREFIX/lib/ada/adalib)
752 --with-ada-sharedlib=soname build shared-library (requires GNAT projects)
753 --with-ada-libname=XXX override default Ada library-name
755 Some influential environment variables:
756 CC C compiler command
757 CFLAGS C compiler flags
758 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
759 nonstandard directory <lib dir>
760 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
761 headers in a nonstandard directory <include dir>
764 Use these variables to override the choices made by `configure' or to help
765 it to find libraries and programs with nonstandard names/locations.
770 if test "$ac_init_help" = "recursive"; then
771 # If there are subdirs, report their specific --help.
773 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
775 # A "../" for each directory in /$ac_subdir.
776 ac_dots=`echo "$ac_subdir" |
777 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
780 .) # No --srcdir option. We are building in place.
781 ac_sub_srcdir="$srcdir" ;;
782 [\\/]* | ?:[\\/]* ) # Absolute path.
783 ac_sub_srcdir="$srcdir/$ac_subdir" ;;
785 ac_sub_srcdir="$ac_dots$srcdir/$ac_subdir" ;;
788 # Check for guested configure; otherwise get Cygnus style configure.
789 if test -f "$ac_sub_srcdir/configure.gnu"; then
791 $SHELL "$ac_sub_srcdir/configure.gnu" --help=recursive
792 elif test -f "$ac_sub_srcdir/configure"; then
794 $SHELL "$ac_sub_srcdir/configure" --help=recursive
795 elif test -f "$ac_sub_srcdir/configure.ac" ||
796 test -f "$ac_sub_srcdir/configure.in"; then
798 "$ac_configure" --help
800 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
806 test -n "$ac_init_help" && exit 0
807 if "$ac_init_version"; then
810 Copyright 2003-2020,2021 Thomas E. Dickey
811 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
812 Free Software Foundation, Inc.
813 This configure script is free software; the Free Software Foundation
814 gives unlimited permission to copy, distribute and modify it.
820 This file contains any messages produced by compilers while
821 running configure, to aid debugging if configure makes a mistake.
823 It was created by $as_me, which was
824 generated by GNU Autoconf 2.52.20210105. Invocation command line was
835 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
836 uname -m = `(uname -m) 2>/dev/null || echo unknown`
837 uname -r = `(uname -r) 2>/dev/null || echo unknown`
838 uname -s = `(uname -s) 2>/dev/null || echo unknown`
839 uname -v = `(uname -v) 2>/dev/null || echo unknown`
841 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
842 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
844 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
845 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
846 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
847 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
848 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
849 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
850 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
864 # Keep a trace of the command line.
865 # Strip out --no-create and --no-recursion so they do not pile up.
866 # Also quote any args containing shell meta-characters.
872 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
873 | --no-cr | --no-c) ;;
874 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
875 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
876 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
877 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
878 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
880 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
883 # Get rid of the leading space.
886 # When interrupted or exit'd, cleanup temporary files, and complete
887 # config.log. We remove comments because anyway the quotes in there
888 # would cause problems or look ugly.
890 # Save into config.log some information that might help in debugging.
892 echo "## ----------------- ##" >&5
893 echo "## Cache variables. ##" >&5
894 echo "## ----------------- ##" >&5
896 # The following way of writing the cache mishandles newlines in values,
899 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
902 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
903 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
907 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
911 sed "/^$/d" confdefs.h >conftest.log
912 if test -s conftest.log; then
914 echo "## ------------ ##" >&5
915 echo "## confdefs.h. ##" >&5
916 echo "## ------------ ##" >&5
921 test "$ac_signal" != 0 &&
922 echo "$as_me: caught signal $ac_signal" >&5
923 echo "$as_me: exit $exit_status" >&5
924 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
927 for ac_signal in 1 2 13 15; do
928 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' "$ac_signal"
932 # confdefs.h avoids OS command line length limits that DEFS can exceed.
933 rm -rf conftest* confdefs.h
934 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
937 # Let the site file select an alternate cache file if it wants to.
938 # Prefer explicitly selected file to automatically selected ones.
939 if test -z "$CONFIG_SITE"; then
940 if test "x$prefix" != xNONE; then
941 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
943 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
946 for ac_site_file in $CONFIG_SITE; do
947 if test -r "$ac_site_file"; then
948 { echo "$as_me:948: loading site script $ac_site_file" >&5
949 echo "$as_me: loading site script $ac_site_file" >&6;}
950 cat "$ac_site_file" >&5
955 if test -r "$cache_file"; then
956 # Some versions of bash will fail to source /dev/null (special
957 # files actually), so we avoid doing that.
958 if test -f "$cache_file"; then
959 { echo "$as_me:959: loading cache $cache_file" >&5
960 echo "$as_me: loading cache $cache_file" >&6;}
962 [\\/]* | ?:[\\/]* ) . $cache_file;;
967 { echo "$as_me:967: creating cache $cache_file" >&5
968 echo "$as_me: creating cache $cache_file" >&6;}
972 # Check that the precious variables saved in the cache have kept the same
974 ac_cache_corrupted=false
975 for ac_var in `(set) 2>&1 |
976 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
977 eval ac_old_set=\$ac_cv_env_${ac_var}_set
978 eval ac_new_set=\$ac_env_${ac_var}_set
979 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
980 eval ac_new_val="\$ac_env_${ac_var}_value"
981 case "$ac_old_set,$ac_new_set" in
983 { echo "$as_me:983: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
984 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
985 ac_cache_corrupted=: ;;
987 { echo "$as_me:987: error: \`$ac_var' was not set in the previous run" >&5
988 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
989 ac_cache_corrupted=: ;;
992 if test "x$ac_old_val" != "x$ac_new_val"; then
993 { echo "$as_me:993: error: \`$ac_var' has changed since the previous run:" >&5
994 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
995 { echo "$as_me:995: former value: $ac_old_val" >&5
996 echo "$as_me: former value: $ac_old_val" >&2;}
997 { echo "$as_me:997: current value: $ac_new_val" >&5
998 echo "$as_me: current value: $ac_new_val" >&2;}
1002 # Pass precious variables to config.status. It doesn't matter if
1003 # we pass some twice (in addition to the command line arguments).
1004 if test "$ac_new_set" = set; then
1005 case "$ac_new_val" in
1006 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1007 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
1008 ac_configure_args="$ac_configure_args '$ac_arg'"
1010 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
1015 if "$ac_cache_corrupted"; then
1016 { echo "$as_me:1016: error: changes in the environment can compromise the build" >&5
1017 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1018 { { echo "$as_me:1018: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1019 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1020 { (exit 1); exit 1; }; }
1024 ac_cpp='$CPP $CPPFLAGS'
1025 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
1026 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
1027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1028 ac_main_return="return"
1030 case `echo "testing\c" 2>/dev/null; echo 1,2,3`,`echo -n testing 2>/dev/null; echo 1,2,3` in
1032 ECHO_C= # newlines do not sed ;-) only broken shells would use this case anyway
1044 echo "#! $SHELL" >conftest.sh
1045 echo "exit 0" >>conftest.sh
1046 chmod +x conftest.sh
1047 if { (echo "$as_me:1047: PATH=\".;.\"; conftest.sh") >&5
1048 (PATH=".;."; conftest.sh) 2>&5
1050 echo "$as_me:1050: \$? = $ac_status" >&5
1051 (exit "$ac_status"); }; then
1052 ac_path_separator=';'
1056 PATH_SEPARATOR="$ac_path_separator"
1059 ac_config_headers="$ac_config_headers include/ncurses_cfg.h:include/ncurses_cfg.hin"
1064 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1065 if test -f "$ac_dir/install-sh"; then
1067 ac_install_sh="$ac_aux_dir/install-sh -c"
1069 elif test -f "$ac_dir/install.sh"; then
1071 ac_install_sh="$ac_aux_dir/install.sh -c"
1073 elif test -f "$ac_dir/shtool"; then
1075 ac_install_sh="$ac_aux_dir/shtool install -c"
1079 if test -z "$ac_aux_dir"; then
1080 { { echo "$as_me:1080: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1081 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1082 { (exit 1); exit 1; }; }
1084 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1085 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1086 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1088 # Make sure we can run config.sub.
1089 $ac_config_sub sun4 >/dev/null 2>&1 ||
1090 { { echo "$as_me:1090: error: cannot run $ac_config_sub" >&5
1091 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1092 { (exit 1); exit 1; }; }
1094 echo "$as_me:1094: checking build system type" >&5
1095 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1096 if test "${ac_cv_build+set}" = set; then
1097 echo $ECHO_N "(cached) $ECHO_C" >&6
1099 ac_cv_build_alias=$build_alias
1100 test -z "$ac_cv_build_alias" &&
1101 ac_cv_build_alias=`$ac_config_guess`
1102 test -z "$ac_cv_build_alias" &&
1103 { { echo "$as_me:1103: error: cannot guess build type; you must specify one" >&5
1104 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1105 { (exit 1); exit 1; }; }
1106 ac_cv_build=`$ac_config_sub "$ac_cv_build_alias"` ||
1107 { { echo "$as_me:1107: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1108 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1109 { (exit 1); exit 1; }; }
1112 echo "$as_me:1112: result: $ac_cv_build" >&5
1113 echo "${ECHO_T}$ac_cv_build" >&6
1115 build_cpu=`echo "$ac_cv_build" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1116 build_vendor=`echo "$ac_cv_build" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1117 build_os=`echo "$ac_cv_build" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1119 echo "$as_me:1119: checking host system type" >&5
1120 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1121 if test "${ac_cv_host+set}" = set; then
1122 echo $ECHO_N "(cached) $ECHO_C" >&6
1124 ac_cv_host_alias=$host_alias
1125 test -z "$ac_cv_host_alias" &&
1126 ac_cv_host_alias=$ac_cv_build_alias
1127 ac_cv_host=`$ac_config_sub "$ac_cv_host_alias"` ||
1128 { { echo "$as_me:1128: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1129 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1130 { (exit 1); exit 1; }; }
1133 echo "$as_me:1133: result: $ac_cv_host" >&5
1134 echo "${ECHO_T}$ac_cv_host" >&6
1136 host_cpu=`echo "$ac_cv_host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1137 host_vendor=`echo "$ac_cv_host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1138 host_os=`echo "$ac_cv_host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1140 if test -f "$srcdir/config.guess" || test -f "$ac_aux_dir/config.guess" ; then
1141 echo "$as_me:1141: checking target system type" >&5
1142 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1143 if test "${ac_cv_target+set}" = set; then
1144 echo $ECHO_N "(cached) $ECHO_C" >&6
1146 ac_cv_target_alias=$target_alias
1147 test "x$ac_cv_target_alias" = "x" &&
1148 ac_cv_target_alias=$ac_cv_host_alias
1149 ac_cv_target=`$ac_config_sub "$ac_cv_target_alias"` ||
1150 { { echo "$as_me:1150: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1151 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1152 { (exit 1); exit 1; }; }
1155 echo "$as_me:1155: result: $ac_cv_target" >&5
1156 echo "${ECHO_T}$ac_cv_target" >&6
1157 target=$ac_cv_target
1158 target_cpu=`echo "$ac_cv_target" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1159 target_vendor=`echo "$ac_cv_target" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1160 target_os=`echo "$ac_cv_target" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1162 # The aliases save the names the user supplied, while $host etc.
1163 # will get canonicalized.
1164 test -n "$target_alias" &&
1165 test "$program_prefix$program_suffix$program_transform_name" = \
1167 program_prefix=${target_alias}-
1168 system_name="$host_os"
1170 system_name="`(uname -s -r) 2>/dev/null`"
1171 if test -z "$system_name" ; then
1172 system_name="`(hostname) 2>/dev/null`"
1175 test -n "$system_name" &&
1176 cat >>confdefs.h <<EOF
1177 #define SYSTEM_NAME "$system_name"
1180 if test "${cf_cv_system_name+set}" = set; then
1181 echo $ECHO_N "(cached) $ECHO_C" >&6
1183 cf_cv_system_name="$system_name"
1186 test -z "$system_name" && system_name="$cf_cv_system_name"
1187 test -n "$cf_cv_system_name" && echo "$as_me:1187: result: Configuring for $cf_cv_system_name" >&5
1188 echo "${ECHO_T}Configuring for $cf_cv_system_name" >&6
1190 if test ".$system_name" != ".$cf_cv_system_name" ; then
1191 echo "$as_me:1191: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5
1192 echo "${ECHO_T}Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&6
1193 { { echo "$as_me:1193: error: \"Please remove config.cache and try again.\"" >&5
1194 echo "$as_me: error: \"Please remove config.cache and try again.\"" >&2;}
1195 { (exit 1); exit 1; }; }
1198 # Check whether --with-system-type or --without-system-type was given.
1199 if test "${with_system_type+set}" = set; then
1200 withval="$with_system_type"
1201 { echo "$as_me:1201: WARNING: overriding system type to $withval" >&5
1202 echo "$as_me: WARNING: overriding system type to $withval" >&2;}
1203 cf_cv_system_name=$withval
1208 ### Save the given $CFLAGS to allow user-override.
1209 cf_user_CFLAGS="$CFLAGS"
1211 ### Default install-location
1212 for ac_prog in ggrep grep
1214 # Extract the first word of "$ac_prog", so it can be a program name with args.
1215 set dummy $ac_prog; ac_word=$2
1216 echo "$as_me:1216: checking for $ac_word" >&5
1217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1218 if test "${ac_cv_prog_GREP+set}" = set; then
1219 echo $ECHO_N "(cached) $ECHO_C" >&6
1221 if test -n "$GREP"; then
1222 ac_cv_prog_GREP="$GREP" # Let the user override the test.
1224 ac_save_IFS=$IFS; IFS=$ac_path_separator
1226 for ac_dir in $ac_dummy; do
1228 test -z "$ac_dir" && ac_dir=.
1229 $as_executable_p "$ac_dir/$ac_word" || continue
1230 ac_cv_prog_GREP="$ac_prog"
1231 echo "$as_me:1231: found $ac_dir/$ac_word" >&5
1237 GREP=$ac_cv_prog_GREP
1238 if test -n "$GREP"; then
1239 echo "$as_me:1239: result: $GREP" >&5
1240 echo "${ECHO_T}$GREP" >&6
1242 echo "$as_me:1242: result: no" >&5
1243 echo "${ECHO_T}no" >&6
1246 test -n "$GREP" && break
1248 test -n "$GREP" || GREP=": "
1250 echo "$as_me:1250: checking for fgrep" >&5
1251 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
1252 if test "${ac_cv_path_FGREP+set}" = set; then
1253 echo $ECHO_N "(cached) $ECHO_C" >&6
1255 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
1256 then ac_cv_path_FGREP="$GREP -F"
1258 for ac_prog in gfgrep fgrep
1260 # Extract the first word of "$ac_prog", so it can be a program name with args.
1261 set dummy $ac_prog; ac_word=$2
1262 echo "$as_me:1262: checking for $ac_word" >&5
1263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1264 if test "${ac_cv_path_FGREP+set}" = set; then
1265 echo $ECHO_N "(cached) $ECHO_C" >&6
1269 ac_cv_path_FGREP="$FGREP" # Let the user override the test with a path.
1272 ac_save_IFS=$IFS; IFS=$ac_path_separator
1274 for ac_dir in $ac_dummy; do
1276 test -z "$ac_dir" && ac_dir=.
1277 if $as_executable_p "$ac_dir/$ac_word"; then
1278 ac_cv_path_FGREP="$ac_dir/$ac_word"
1279 echo "$as_me:1279: found $ac_dir/$ac_word" >&5
1287 FGREP=$ac_cv_path_FGREP
1289 if test -n "$FGREP"; then
1290 echo "$as_me:1290: result: $FGREP" >&5
1291 echo "${ECHO_T}$FGREP" >&6
1293 echo "$as_me:1293: result: no" >&5
1294 echo "${ECHO_T}no" >&6
1297 test -n "$FGREP" && break
1299 test -n "$FGREP" || FGREP=": "
1301 test "x$ac_cv_path_FGREP" = "x:" && { { echo "$as_me:1301: error: cannot find workable fgrep" >&5
1302 echo "$as_me: error: cannot find workable fgrep" >&2;}
1303 { (exit 1); exit 1; }; }
1306 echo "$as_me:1306: result: $ac_cv_path_FGREP" >&5
1307 echo "${ECHO_T}$ac_cv_path_FGREP" >&6
1308 FGREP="$ac_cv_path_FGREP"
1310 echo "$as_me:1310: checking for prefix" >&5
1311 echo $ECHO_N "checking for prefix... $ECHO_C" >&6
1312 if test "x$prefix" = "xNONE" ; then
1313 case "$cf_cv_system_name" in
1314 # non-vendor systems don't have a conflict
1315 (openbsd*|freebsd*|mirbsd*|linux*|cygwin*|msys*|k*bsd*-gnu|mingw*)
1318 (*) prefix=$ac_default_prefix
1322 echo "$as_me:1322: result: $prefix" >&5
1323 echo "${ECHO_T}$prefix" >&6
1325 if test "x$prefix" = "xNONE" ; then
1326 echo "$as_me:1326: checking for default include-directory" >&5
1327 echo $ECHO_N "checking for default include-directory... $ECHO_C" >&6
1328 test -n "$verbose" && echo 1>&6
1331 "$includedir/ncurses" \
1333 "$prefix/include/ncurses" \
1334 /usr/local/include \
1335 /usr/local/include/ncurses \
1337 /usr/include/ncurses
1339 cf_dir=`eval echo "$cf_symbol"`
1340 if test -f "$cf_dir/curses.h" ; then
1341 if ( ${FGREP-fgrep} NCURSES_VERSION "$cf_dir/curses.h" >/dev/null 2>&1 ) ; then
1342 includedir="$cf_symbol"
1343 test -n "$verbose" && echo $ECHO_N " found " 1>&6
1347 test -n "$verbose" && echo " tested $cf_dir" 1>&6
1349 echo "$as_me:1349: result: $includedir" >&5
1350 echo "${ECHO_T}$includedir" >&6
1353 ### Checks for programs.
1356 ac_cpp='$CPP $CPPFLAGS'
1357 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
1358 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
1359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1360 ac_main_return="return"
1361 if test -n "$ac_tool_prefix"; then
1362 for ac_prog in gnatgcc gcc cc
1364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1365 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1366 echo "$as_me:1366: checking for $ac_word" >&5
1367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1368 if test "${ac_cv_prog_CC+set}" = set; then
1369 echo $ECHO_N "(cached) $ECHO_C" >&6
1371 if test -n "$CC"; then
1372 ac_cv_prog_CC="$CC" # Let the user override the test.
1374 ac_save_IFS=$IFS; IFS=$ac_path_separator
1376 for ac_dir in $ac_dummy; do
1378 test -z "$ac_dir" && ac_dir=.
1379 $as_executable_p "$ac_dir/$ac_word" || continue
1380 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1381 echo "$as_me:1381: found $ac_dir/$ac_word" >&5
1388 if test -n "$CC"; then
1389 echo "$as_me:1389: result: $CC" >&5
1390 echo "${ECHO_T}$CC" >&6
1392 echo "$as_me:1392: result: no" >&5
1393 echo "${ECHO_T}no" >&6
1396 test -n "$CC" && break
1399 if test -z "$CC"; then
1401 for ac_prog in gnatgcc gcc cc
1403 # Extract the first word of "$ac_prog", so it can be a program name with args.
1404 set dummy $ac_prog; ac_word=$2
1405 echo "$as_me:1405: checking for $ac_word" >&5
1406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1407 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1408 echo $ECHO_N "(cached) $ECHO_C" >&6
1410 if test -n "$ac_ct_CC"; then
1411 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1413 ac_save_IFS=$IFS; IFS=$ac_path_separator
1415 for ac_dir in $ac_dummy; do
1417 test -z "$ac_dir" && ac_dir=.
1418 $as_executable_p "$ac_dir/$ac_word" || continue
1419 ac_cv_prog_ac_ct_CC="$ac_prog"
1420 echo "$as_me:1420: found $ac_dir/$ac_word" >&5
1426 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1427 if test -n "$ac_ct_CC"; then
1428 echo "$as_me:1428: result: $ac_ct_CC" >&5
1429 echo "${ECHO_T}$ac_ct_CC" >&6
1431 echo "$as_me:1431: result: no" >&5
1432 echo "${ECHO_T}no" >&6
1435 test -n "$ac_ct_CC" && break
1441 test -z "$CC" && { { echo "$as_me:1441: error: no acceptable cc found in \$PATH" >&5
1442 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1443 { (exit 1); exit 1; }; }
1445 # Provide some information about the compiler.
1446 echo "$as_me:1446:" \
1447 "checking for C compiler version" >&5
1448 ac_compiler=`set X $ac_compile; echo "$2"`
1449 { (eval echo "$as_me:1449: \"$ac_compiler --version </dev/null >&5\"") >&5
1450 (eval $ac_compiler --version </dev/null >&5) 2>&5
1452 echo "$as_me:1452: \$? = $ac_status" >&5
1453 (exit "$ac_status"); }
1454 { (eval echo "$as_me:1454: \"$ac_compiler -v </dev/null >&5\"") >&5
1455 (eval $ac_compiler -v </dev/null >&5) 2>&5
1457 echo "$as_me:1457: \$? = $ac_status" >&5
1458 (exit "$ac_status"); }
1459 { (eval echo "$as_me:1459: \"$ac_compiler -V </dev/null >&5\"") >&5
1460 (eval $ac_compiler -V </dev/null >&5) 2>&5
1462 echo "$as_me:1462: \$? = $ac_status" >&5
1463 (exit "$ac_status"); }
1465 cat >"conftest.$ac_ext" <<_ACEOF
1466 #line 1466 "configure"
1467 #include "confdefs.h"
1477 ac_clean_files_save=$ac_clean_files
1478 ac_clean_files="$ac_clean_files a.out a.exe"
1479 # Try to create an executable without -o first, disregard a.out.
1480 # It will help us diagnose broken compilers, and finding out an intuition
1482 echo "$as_me:1482: checking for C compiler default output" >&5
1483 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1484 ac_link_default=`echo "$ac_link" | sed 's/ -o *"conftest[^"]*"//'`
1485 if { (eval echo "$as_me:1485: \"$ac_link_default\"") >&5
1486 (eval $ac_link_default) 2>&5
1488 echo "$as_me:1488: \$? = $ac_status" >&5
1489 (exit "$ac_status"); }; then
1490 # Find the output, starting from the most likely. This scheme is
1491 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1493 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1494 ls a.out conftest 2>/dev/null;
1495 ls a.* conftest.* 2>/dev/null`; do
1497 *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
1498 a.out ) # We found the default executable, but exeext='' is most
1501 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1502 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1509 echo "$as_me: failed program was:" >&5
1510 cat "conftest.$ac_ext" >&5
1511 { { echo "$as_me:1511: error: C compiler cannot create executables" >&5
1512 echo "$as_me: error: C compiler cannot create executables" >&2;}
1513 { (exit 77); exit 77; }; }
1516 ac_exeext=$ac_cv_exeext
1517 echo "$as_me:1517: result: $ac_file" >&5
1518 echo "${ECHO_T}$ac_file" >&6
1520 # Check the compiler produces executables we can run. If not, either
1521 # the compiler is broken, or we cross compile.
1522 echo "$as_me:1522: checking whether the C compiler works" >&5
1523 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1524 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1525 # If not cross compiling, check that we can run a simple program.
1526 if test "$cross_compiling" != yes; then
1527 if { ac_try='./$ac_file'
1528 { (eval echo "$as_me:1528: \"$ac_try\"") >&5
1531 echo "$as_me:1531: \$? = $ac_status" >&5
1532 (exit "$ac_status"); }; }; then
1535 if test "$cross_compiling" = maybe; then
1538 { { echo "$as_me:1538: error: cannot run C compiled programs.
1539 If you meant to cross compile, use \`--host'." >&5
1540 echo "$as_me: error: cannot run C compiled programs.
1541 If you meant to cross compile, use \`--host'." >&2;}
1542 { (exit 1); exit 1; }; }
1546 echo "$as_me:1546: result: yes" >&5
1547 echo "${ECHO_T}yes" >&6
1549 rm -f a.out a.exe "conftest$ac_cv_exeext"
1550 ac_clean_files=$ac_clean_files_save
1551 # Check the compiler produces executables we can run. If not, either
1552 # the compiler is broken, or we cross compile.
1553 echo "$as_me:1553: checking whether we are cross compiling" >&5
1554 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1555 echo "$as_me:1555: result: $cross_compiling" >&5
1556 echo "${ECHO_T}$cross_compiling" >&6
1558 echo "$as_me:1558: checking for executable suffix" >&5
1559 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1560 if { (eval echo "$as_me:1560: \"$ac_link\"") >&5
1561 (eval $ac_link) 2>&5
1563 echo "$as_me:1563: \$? = $ac_status" >&5
1564 (exit "$ac_status"); }; then
1565 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1566 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1567 # work properly (i.e., refer to `conftest.exe'), while it won't with
1569 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1571 *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
1572 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1579 { { echo "$as_me:1579: error: cannot compute EXEEXT: cannot compile and link" >&5
1580 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1581 { (exit 1); exit 1; }; }
1584 rm -f "conftest$ac_cv_exeext"
1585 echo "$as_me:1585: result: $ac_cv_exeext" >&5
1586 echo "${ECHO_T}$ac_cv_exeext" >&6
1588 rm -f "conftest.$ac_ext"
1589 EXEEXT=$ac_cv_exeext
1591 echo "$as_me:1591: checking for object suffix" >&5
1592 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1593 if test "${ac_cv_objext+set}" = set; then
1594 echo $ECHO_N "(cached) $ECHO_C" >&6
1596 cat >"conftest.$ac_ext" <<_ACEOF
1597 #line 1597 "configure"
1598 #include "confdefs.h"
1608 rm -f conftest.o conftest.obj
1609 if { (eval echo "$as_me:1609: \"$ac_compile\"") >&5
1610 (eval $ac_compile) 2>&5
1612 echo "$as_me:1612: \$? = $ac_status" >&5
1613 (exit "$ac_status"); }; then
1614 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1616 *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.map | *.inf ) ;;
1617 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1622 echo "$as_me: failed program was:" >&5
1623 cat "conftest.$ac_ext" >&5
1624 { { echo "$as_me:1624: error: cannot compute OBJEXT: cannot compile" >&5
1625 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1626 { (exit 1); exit 1; }; }
1629 rm -f "conftest.$ac_cv_objext" "conftest.$ac_ext"
1631 echo "$as_me:1631: result: $ac_cv_objext" >&5
1632 echo "${ECHO_T}$ac_cv_objext" >&6
1633 OBJEXT=$ac_cv_objext
1635 echo "$as_me:1635: checking whether we are using the GNU C compiler" >&5
1636 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1637 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1638 echo $ECHO_N "(cached) $ECHO_C" >&6
1640 cat >"conftest.$ac_ext" <<_ACEOF
1641 #line 1641 "configure"
1642 #include "confdefs.h"
1655 rm -f "conftest.$ac_objext"
1656 if { (eval echo "$as_me:1656: \"$ac_compile\"") >&5
1657 (eval $ac_compile) 2>&5
1659 echo "$as_me:1659: \$? = $ac_status" >&5
1660 (exit "$ac_status"); } &&
1661 { ac_try='test -s "conftest.$ac_objext"'
1662 { (eval echo "$as_me:1662: \"$ac_try\"") >&5
1665 echo "$as_me:1665: \$? = $ac_status" >&5
1666 (exit "$ac_status"); }; }; then
1669 echo "$as_me: failed program was:" >&5
1670 cat "conftest.$ac_ext" >&5
1673 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
1674 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1677 echo "$as_me:1677: result: $ac_cv_c_compiler_gnu" >&5
1678 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1679 GCC=`test $ac_compiler_gnu = yes && echo yes`
1680 ac_test_CFLAGS=${CFLAGS+set}
1681 ac_save_CFLAGS=$CFLAGS
1683 echo "$as_me:1683: checking whether $CC accepts -g" >&5
1684 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1685 if test "${ac_cv_prog_cc_g+set}" = set; then
1686 echo $ECHO_N "(cached) $ECHO_C" >&6
1688 cat >"conftest.$ac_ext" <<_ACEOF
1689 #line 1689 "configure"
1690 #include "confdefs.h"
1700 rm -f "conftest.$ac_objext"
1701 if { (eval echo "$as_me:1701: \"$ac_compile\"") >&5
1702 (eval $ac_compile) 2>&5
1704 echo "$as_me:1704: \$? = $ac_status" >&5
1705 (exit "$ac_status"); } &&
1706 { ac_try='test -s "conftest.$ac_objext"'
1707 { (eval echo "$as_me:1707: \"$ac_try\"") >&5
1710 echo "$as_me:1710: \$? = $ac_status" >&5
1711 (exit "$ac_status"); }; }; then
1714 echo "$as_me: failed program was:" >&5
1715 cat "conftest.$ac_ext" >&5
1718 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
1720 echo "$as_me:1720: result: $ac_cv_prog_cc_g" >&5
1721 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1722 if test "$ac_test_CFLAGS" = set; then
1723 CFLAGS=$ac_save_CFLAGS
1724 elif test $ac_cv_prog_cc_g = yes; then
1725 if test "$GCC" = yes; then
1731 if test "$GCC" = yes; then
1737 # Some people use a C++ compiler to compile C. Since we use `exit',
1738 # in C++ we need to declare it. In case someone uses the same compiler
1739 # for both compiling C and C++ we need to have the C++ compiler decide
1740 # the declaration of exit, since it's the most demanding environment.
1741 cat >"conftest.$ac_ext" <<_ACEOF
1746 rm -f "conftest.$ac_objext"
1747 if { (eval echo "$as_me:1747: \"$ac_compile\"") >&5
1748 (eval $ac_compile) 2>&5
1750 echo "$as_me:1750: \$? = $ac_status" >&5
1751 (exit "$ac_status"); } &&
1752 { ac_try='test -s "conftest.$ac_objext"'
1753 { (eval echo "$as_me:1753: \"$ac_try\"") >&5
1756 echo "$as_me:1756: \$? = $ac_status" >&5
1757 (exit "$ac_status"); }; }; then
1758 for ac_declaration in \
1760 '#include <stdlib.h>' \
1761 'extern "C" void std::exit (int) throw (); using std::exit;' \
1762 'extern "C" void std::exit (int); using std::exit;' \
1763 'extern "C" void exit (int) throw ();' \
1764 'extern "C" void exit (int);' \
1767 cat >"conftest.$ac_ext" <<_ACEOF
1768 #line 1768 "configure"
1769 #include "confdefs.h"
1780 rm -f "conftest.$ac_objext"
1781 if { (eval echo "$as_me:1781: \"$ac_compile\"") >&5
1782 (eval $ac_compile) 2>&5
1784 echo "$as_me:1784: \$? = $ac_status" >&5
1785 (exit "$ac_status"); } &&
1786 { ac_try='test -s "conftest.$ac_objext"'
1787 { (eval echo "$as_me:1787: \"$ac_try\"") >&5
1790 echo "$as_me:1790: \$? = $ac_status" >&5
1791 (exit "$ac_status"); }; }; then
1794 echo "$as_me: failed program was:" >&5
1795 cat "conftest.$ac_ext" >&5
1798 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
1799 cat >"conftest.$ac_ext" <<_ACEOF
1800 #line 1800 "configure"
1801 #include "confdefs.h"
1811 rm -f "conftest.$ac_objext"
1812 if { (eval echo "$as_me:1812: \"$ac_compile\"") >&5
1813 (eval $ac_compile) 2>&5
1815 echo "$as_me:1815: \$? = $ac_status" >&5
1816 (exit "$ac_status"); } &&
1817 { ac_try='test -s "conftest.$ac_objext"'
1818 { (eval echo "$as_me:1818: \"$ac_try\"") >&5
1821 echo "$as_me:1821: \$? = $ac_status" >&5
1822 (exit "$ac_status"); }; }; then
1825 echo "$as_me: failed program was:" >&5
1826 cat "conftest.$ac_ext" >&5
1828 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
1831 if test -n "$ac_declaration"; then
1832 echo '#ifdef __cplusplus' >>confdefs.h
1833 echo "$ac_declaration" >>confdefs.h
1834 echo '#endif' >>confdefs.h
1838 echo "$as_me: failed program was:" >&5
1839 cat "conftest.$ac_ext" >&5
1841 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
1843 ac_cpp='$CPP $CPPFLAGS'
1844 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
1845 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
1846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1847 ac_main_return="return"
1850 if test "$GCC" = yes ; then
1851 echo "$as_me:1851: checking version of $CC" >&5
1852 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
1853 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.].*//'`"
1854 test -z "$GCC_VERSION" && GCC_VERSION=unknown
1855 echo "$as_me:1855: result: $GCC_VERSION" >&5
1856 echo "${ECHO_T}$GCC_VERSION" >&6
1861 if test "$GCC" = yes ; then
1864 echo "$as_me:1864: checking if this is really Intel C compiler" >&5
1865 echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6
1866 cf_save_CFLAGS="$CFLAGS"
1867 CFLAGS="$CFLAGS -no-gcc"
1868 cat >"conftest.$ac_ext" <<_ACEOF
1869 #line 1869 "configure"
1870 #include "confdefs.h"
1876 #ifdef __INTEL_COMPILER
1885 rm -f "conftest.$ac_objext"
1886 if { (eval echo "$as_me:1886: \"$ac_compile\"") >&5
1887 (eval $ac_compile) 2>&5
1889 echo "$as_me:1889: \$? = $ac_status" >&5
1890 (exit "$ac_status"); } &&
1891 { ac_try='test -s "conftest.$ac_objext"'
1892 { (eval echo "$as_me:1892: \"$ac_try\"") >&5
1895 echo "$as_me:1895: \$? = $ac_status" >&5
1896 (exit "$ac_status"); }; }; then
1898 cf_save_CFLAGS="$cf_save_CFLAGS -we147"
1901 echo "$as_me: failed program was:" >&5
1902 cat "conftest.$ac_ext" >&5
1904 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
1905 CFLAGS="$cf_save_CFLAGS"
1906 echo "$as_me:1906: result: $INTEL_COMPILER" >&5
1907 echo "${ECHO_T}$INTEL_COMPILER" >&6
1914 if test "$GCC" = yes ; then
1915 echo "$as_me:1915: checking if this is really Clang C compiler" >&5
1916 echo $ECHO_N "checking if this is really Clang C compiler... $ECHO_C" >&6
1917 cf_save_CFLAGS="$CFLAGS"
1918 cat >"conftest.$ac_ext" <<_ACEOF
1919 #line 1919 "configure"
1920 #include "confdefs.h"
1935 rm -f "conftest.$ac_objext"
1936 if { (eval echo "$as_me:1936: \"$ac_compile\"") >&5
1937 (eval $ac_compile) 2>&5
1939 echo "$as_me:1939: \$? = $ac_status" >&5
1940 (exit "$ac_status"); } &&
1941 { ac_try='test -s "conftest.$ac_objext"'
1942 { (eval echo "$as_me:1942: \"$ac_try\"") >&5
1945 echo "$as_me:1945: \$? = $ac_status" >&5
1946 (exit "$ac_status"); }; }; then
1950 echo "$as_me: failed program was:" >&5
1951 cat "conftest.$ac_ext" >&5
1953 rm -f "conftest.$ac_objext" "conftest.$ac_ext"
1954 CFLAGS="$cf_save_CFLAGS"
1955 echo "$as_me:1955: result: $CLANG_COMPILER" >&5
1956 echo "${ECHO_T}$CLANG_COMPILER" >&6
1961 if test "x$CLANG_COMPILER" = "xyes" ; then
1963 (c[1-9][0-9]|*/c[1-9][0-9])
1964 { echo "$as_me:1964: WARNING: replacing broken compiler alias $CC" >&5
1965 echo "$as_me: WARNING: replacing broken compiler alias $CC" >&2;}
1966 CFLAGS="$CFLAGS -std=`echo "$CC" | sed -e 's%.*/%%'`"
1971 echo "$as_me:1971: checking version of $CC" >&5
1972 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
1973 CLANG_VERSION="`$CC --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(CLANG[^)]*) //' -e 's/^.*(Debian[^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
1974 test -z "$CLANG_VERSION" && CLANG_VERSION=unknown
1975 echo "$as_me:1975: result: $CLANG_VERSION" >&5
1976 echo "${ECHO_T}$CLANG_VERSION" >&6
1978 for cf_clang_opt in \
1979 -Qunused-arguments \
1980 -Wno-error=implicit-function-declaration
1982 echo "$as_me:1982: checking if option $cf_clang_opt works" >&5
1983 echo $ECHO_N "checking if option $cf_clang_opt works... $ECHO_C" >&6
1984 cf_save_CFLAGS="$CFLAGS"
1985 CFLAGS="$CFLAGS $cf_clang_opt"
1986 cat >"conftest.$ac_ext" <<_ACEOF
1987 #line 1987 "configure"
1988 #include "confdefs.h"
1995 printf("hello!\\n");
2000 rm -f "conftest.$ac_objext" "conftest$ac_exeext"
2001 if { (eval echo "$as_me:2001: \"$ac_link\"") >&5
2002 (eval $ac_link) 2>&5
2004 echo "$as_me:2004: \$? = $ac_status" >&5
2005 (exit "$ac_status"); } &&
2006 { ac_try='test -s "conftest$ac_exeext"'
2007 { (eval echo "$as_me:2007: \"$ac_try\"") >&5
2010 echo "$as_me:2010: \$? = $ac_status" >&5
2011 (exit "$ac_status"); }; }; then
2015 echo "$as_me: failed program was:" >&5
2016 cat "conftest.$ac_ext" >&5
2020 rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
2021 echo "$as_me:2021: result: $cf_clang_optok" >&5
2022 echo "${ECHO_T}$cf_clang_optok" >&6
2023 CFLAGS="$cf_save_CFLAGS"
2024 if test "$cf_clang_optok" = yes; then
2025 test -n "$verbose" && echo " adding option $cf_clang_opt" 1>&6
2027 echo "${as_me:-configure}:2027: testing adding option $cf_clang_opt ..." 1>&5
2029 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
2030 CFLAGS="${CFLAGS}$cf_clang_opt"
2036 echo "$as_me:2036: checking for $CC option to accept ANSI C" >&5
2037 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2038 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 ac_cv_prog_cc_stdc=no
2043 cat >"conftest.$ac_ext" <<_ACEOF
2044 #line 2044 "configure"
2045 #include "confdefs.h"
2048 #include <sys/types.h>
2049 #include <sys/stat.h>
2050 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2051 struct buf { int x; };
2052 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2053 static char *e (p, i)
2059 static char *f (char * (*g) (char **, int), char **p, ...)
2064 s = g (p, va_arg (v,int));
2068 int test (int i, double x);
2069 struct s1 {int (*f) (int a);};
2070 struct s2 {int (*f) (double a);};
2071 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2077 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2082 # Don't try gcc -ansi; that turns off useful extensions and
2083 # breaks some systems' header files.
2084 # AIX -qlanglvl=ansi
2085 # Ultrix and OSF/1 -std1
2086 # HP-UX 10.20 and later -Ae
2087 # HP-UX older versions -Aa -D_HPUX_SOURCE
2088 # SVR4 -Xc -D__EXTENSIONS__
2089 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2091 CC="$ac_save_CC $ac_arg"
2092 rm -f "conftest.$ac_objext"
2093 if { (eval echo "$as_me:2093: \"$ac_compile\"") >&5
2094 (eval $ac_compile) 2>&5
2096 echo "$as_me:2096: \$? = $ac_status" >&5
2097 (exit "$ac_status"); } &&
2098 { ac_try='test -s "conftest.$ac_objext"'
2099 { (eval echo "$as_me:2099: \"$ac_try\"") >&5
2102 echo "$as_me:2102: \$? = $ac_status" >&5
2103 (exit "$ac_status"); }; }; then
2104 ac_cv_prog_cc_stdc=$ac_arg
2107 echo "$as_me: failed program was:" >&5
2108 cat "conftest.$ac_ext" >&5
2110 rm -f "conftest.$ac_objext"
2112 rm -f "conftest.$ac_ext" "conftest.$ac_objext"
2117 case "x$ac_cv_prog_cc_stdc" in
2119 echo "$as_me:2119: result: none needed" >&5
2120 echo "${ECHO_T}none needed" >&6 ;;
2122 echo "$as_me:2122: result: $ac_cv_prog_cc_stdc" >&5
2123 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2124 CC="$CC $ac_cv_prog_cc_stdc" ;;
2127 # This should have been defined by AC_PROG_CC
2130 echo "$as_me:2130: checking \$CFLAGS variable" >&5
2131 echo $ECHO_N "checking \$CFLAGS variable... $ECHO_C" >&6
2134 echo "$as_me:2134: result: broken" >&5
2135 echo "${ECHO_T}broken" >&6
2136 { echo "$as_me:2136: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&5
2137 echo "$as_me: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&2;}
2140 for cf_arg in $cf_flags
2146 cf_new_extra_cppflags=
2148 for cf_add_cflags in $cf_arg
2150 case "$cf_fix_cppflags" in
2152 case "$cf_add_cflags" in
2153 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
2154 case "$cf_add_cflags" in
2156 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
2158 test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
2159 && test -z "${cf_tst_cflags}" \
2160 && cf_fix_cppflags=yes
2162 if test "$cf_fix_cppflags" = yes ; then
2164 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
2165 cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
2168 elif test "${cf_tst_cflags}" = "\"'" ; then
2170 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
2171 cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
2181 case "$cf_add_cflags" in
2183 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
2185 CPPFLAGS=`echo "$CPPFLAGS" | \
2186 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
2187 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
2192 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
2193 cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
2200 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
2201 cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
2208 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
2209 cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
2211 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
2213 test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
2214 && test -z "${cf_tst_cflags}" \
2215 && cf_fix_cppflags=no
2220 if test -n "$cf_new_cflags" ; then
2222 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
2223 CFLAGS="${CFLAGS}$cf_new_cflags"
2227 if test -n "$cf_new_cppflags" ; then
2229 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
2230 CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
2234 if test -n "$cf_new_extra_cppflags" ; then
2236 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
2237 EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
2244 echo "$as_me:2244: result: ok" >&5
2245 echo "${ECHO_T}ok" >&6
2249 echo "$as_me:2249: checking \$CC variable" >&5
2250 echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6
2253 echo "$as_me:2253: result: broken" >&5
2254 echo "${ECHO_T}broken" >&6
2255 { echo "$as_me:2255: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&5
2256 echo "$as_me: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;}
2258 cf_prog=`echo "$CC" | sed -e 's/ / /g' -e 's/[ ]* / /g' -e 's/[ ]*[ ]-[^ ].*//'`
2259 cf_flags=`echo "$CC" | ${AWK:-awk} -v prog="$cf_prog" '{ printf("%s", substr($0,1+length(prog))); }'`
2261 for cf_arg in $cf_flags
2269 cf_new_extra_cppflags=
2271 for cf_add_cflags in $cf_arg
2273 case "$cf_fix_cppflags" in
2275 case "$cf_add_cflags" in
2276 (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C)
2277 case "$cf_add_cflags" in
2279 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'`
2281 test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
2282 && test -z "${cf_tst_cflags}" \
2283 && cf_fix_cppflags=yes
2285 if test "$cf_fix_cppflags" = yes ; then
2287 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
2288 cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
2291 elif test "${cf_tst_cflags}" = "\"'" ; then
2293 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
2294 cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
2304 case "$cf_add_cflags" in
2306 cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'`
2308 CPPFLAGS=`echo "$CPPFLAGS" | \
2309 sed -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?[ ]/ /g' \
2310 -e 's/-[UD]'"$cf_tst_cppflags"'\(=[^ ]*\)\?$//g'`
2315 test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
2316 cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
2323 test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
2324 cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
2331 test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
2332 cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
2334 cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'`
2336 test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \
2337 && test -z "${cf_tst_cflags}" \
2338 && cf_fix_cppflags=no
2343 if test -n "$cf_new_cflags" ; then
2345 test -n "$CFLAGS" && CFLAGS="$CFLAGS "
2346 CFLAGS="${CFLAGS}$cf_new_cflags"
2350 if test -n "$cf_new_cppflags" ; then
2352 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
2353 CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
2357 if test -n "$cf_new_extra_cppflags" ; then
2359 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
2360 EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
2370 test -n "$verbose" && echo " resulting CC: '$CC'" 1>&6
2372 echo "${as_me:-configure}:2372: testing resulting CC: '$CC' ..." 1>&5
2374 test -n "$verbose" && echo " resulting CFLAGS: '$CFLAGS'" 1>&6
2376 echo "${as_me:-configure}:2376: testing resulting CFLAGS: '$CFLAGS' ..." 1>&5
2378 test -n "$verbose" && echo " resulting CPPFLAGS: '$CPPFLAGS'" 1>&6
2380 echo "${as_me:-configure}:2380: testing resulting CPPFLAGS: '$CPPFLAGS' ..." 1>&5
2384 echo "$as_me:2384: result: ok" >&5
2385 echo "${ECHO_T}ok" >&6
2389 echo "$as_me:2389: checking for egrep" >&5
2390 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2391 if test "${ac_cv_path_EGREP+set}" = set; then
2392 echo $ECHO_N "(cached) $ECHO_C" >&6
2394 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2395 then ac_cv_path_EGREP="$GREP -E"
2397 for ac_prog in gegrep egrep
2399 # Extract the first word of "$ac_prog", so it can be a program name with args.
2400 set dummy $ac_prog; ac_word=$2
2401 echo "$as_me:2401: checking for $ac_word" >&5
2402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2403 if test "${ac_cv_path_EGREP+set}" = set; then
2404 echo $ECHO_N "(cached) $ECHO_C" >&6
2408 ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path.
2411 ac_save_IFS=$IFS; IFS=$ac_path_separator
2413 for ac_dir in $ac_dummy; do
2415 test -z "$ac_dir" && ac_dir=.
2416 if $as_executable_p "$ac_dir/$ac_word"; then
2417 ac_cv_path_EGREP="$ac_dir/$ac_word"
2418 echo "$as_me:2418: found $ac_dir/$ac_word" >&5
2426 EGREP=$ac_cv_path_EGREP
2428 if test -n "$EGREP"; then
2429 echo "$as_me:2429: result: $EGREP" >&5
2430 echo "${ECHO_T}$EGREP" >&6
2432 echo "$as_me:2432: result: no" >&5
2433 echo "${ECHO_T}no" >&6
2436 test -n "$EGREP" && break
2438 test -n "$EGREP" || EGREP=": "
2440 test "x$ac_cv_path_EGREP" = "x:" && { { echo "$as_me:2440: error: cannot find workable egrep" >&5
2441 echo "$as_me: error: cannot find workable egrep" >&2;}
2442 { (exit 1); exit 1; }; }
2445 echo "$as_me:2445: result: $ac_cv_path_EGREP" >&5
2446 echo "${ECHO_T}$ac_cv_path_EGREP" >&6
2447 EGREP="$ac_cv_path_EGREP"
2450 ac_cpp='$CPP $CPPFLAGS'
2451 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
2452 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
2453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2454 ac_main_return="return"
2455 echo "$as_me:2455: checking how to run the C preprocessor" >&5
2456 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2457 # On Suns, sometimes $CPP names a directory.
2458 if test -n "$CPP" && test -d "$CPP"; then
2461 if test -z "$CPP"; then
2462 if test "${ac_cv_prog_CPP+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2465 # Double quotes because CPP needs to be expanded
2466 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2469 for ac_c_preproc_warn_flag in '' yes
2471 # Use a header file that comes with gcc, so configuring glibc
2472 # with a fresh cross-compiler works.
2473 # On the NeXT, cc -E runs the code through the compiler's parser,
2474 # not just through cpp. "Syntax error" is here to catch this case.
2475 cat >"conftest.$ac_ext" <<_ACEOF
2476 #line 2476 "configure"
2477 #include "confdefs.h"
2481 if { (eval echo "$as_me:2481: \"$ac_cpp "conftest.$ac_ext"\"") >&5
2482 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1
2484 $EGREP -v '^ *\+' conftest.er1 >conftest.err
2486 cat conftest.err >&5
2487 echo "$as_me:2487: \$? = $ac_status" >&5
2488 (exit "$ac_status"); } >/dev/null; then
2489 if test -s conftest.err; then
2490 ac_cpp_err=$ac_c_preproc_warn_flag
2497 if test -z "$ac_cpp_err"; then
2500 echo "$as_me: failed program was:" >&5
2501 cat "conftest.$ac_ext" >&5
2502 # Broken: fails on valid input.
2505 rm -f conftest.err "conftest.$ac_ext"
2507 # OK, works on sane cases. Now check whether non-existent headers
2508 # can be detected and how.
2509 cat >"conftest.$ac_ext" <<_ACEOF
2510 #line 2510 "configure"
2511 #include "confdefs.h"
2512 #include <ac_nonexistent.h>
2514 if { (eval echo "$as_me:2514: \"$ac_cpp "conftest.$ac_ext"\"") >&5
2515 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1
2517 $EGREP -v '^ *\+' conftest.er1 >conftest.err
2519 cat conftest.err >&5
2520 echo "$as_me:2520: \$? = $ac_status" >&5
2521 (exit "$ac_status"); } >/dev/null; then
2522 if test -s conftest.err; then
2523 ac_cpp_err=$ac_c_preproc_warn_flag
2530 if test -z "$ac_cpp_err"; then
2531 # Broken: success on invalid input.
2534 echo "$as_me: failed program was:" >&5
2535 cat "conftest.$ac_ext" >&5
2536 # Passes both tests.
2540 rm -f conftest.err "conftest.$ac_ext"
2543 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2544 rm -f conftest.err "conftest.$ac_ext"
2545 if $ac_preproc_ok; then
2557 echo "$as_me:2557: result: $CPP" >&5
2558 echo "${ECHO_T}$CPP" >&6
2560 for ac_c_preproc_warn_flag in '' yes
2562 # Use a header file that comes with gcc, so configuring glibc
2563 # with a fresh cross-compiler works.
2564 # On the NeXT, cc -E runs the code through the compiler's parser,
2565 # not just through cpp. "Syntax error" is here to catch this case.
2566 cat >"conftest.$ac_ext" <<_ACEOF
2567 #line 2567 "configure"
2568 #include "confdefs.h"
2572 if { (eval echo "$as_me:2572: \"$ac_cpp "conftest.$ac_ext"\"") >&5
2573 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1
2575 $EGREP -v '^ *\+' conftest.er1 >conftest.err
2577 cat conftest.err >&5
2578 echo "$as_me:2578: \$? = $ac_status" >&5
2579 (exit "$ac_status"); } >/dev/null; then
2580 if test -s conftest.err; then
2581 ac_cpp_err=$ac_c_preproc_warn_flag
2588 if test -z "$ac_cpp_err"; then
2591 echo "$as_me: failed program was:" >&5
2592 cat "conftest.$ac_ext" >&5
2593 # Broken: fails on valid input.
2596 rm -f conftest.err "conftest.$ac_ext"
2598 # OK, works on sane cases. Now check whether non-existent headers
2599 # can be detected and how.
2600 cat >"conftest.$ac_ext" <<_ACEOF
2601 #line 2601 "configure"
2602 #include "confdefs.h"
2603 #include <ac_nonexistent.h>
2605 if { (eval echo "$as_me:2605: \"$ac_cpp "conftest.$ac_ext"\"") >&5
2606 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1
2608 $EGREP -v '^ *\+' conftest.er1 >conftest.err
2610 cat conftest.err >&5
2611 echo "$as_me:2611: \$? = $ac_status" >&5
2612 (exit "$ac_status"); } >/dev/null; then
2613 if test -s conftest.err; then
2614 ac_cpp_err=$ac_c_preproc_warn_flag
2621 if test -z "$ac_cpp_err"; then
2622 # Broken: success on invalid input.
2625 echo "$as_me: failed program was:" >&5
2626 cat "conftest.$ac_ext" >&5
2627 # Passes both tests.
2631 rm -f conftest.err "conftest.$ac_ext"
2634 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2635 rm -f conftest.err "conftest.$ac_ext"
2636 if $ac_preproc_ok; then
2639 { { echo "$as_me:2639: error: C preprocessor \"$CPP\" fails sanity check" >&5
2640 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2641 { (exit 1); exit 1; }; }
2645 ac_cpp='$CPP $CPPFLAGS'
2646 ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5'
2647 ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5'
2648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2649 ac_main_return="return"
2651 if test $ac_cv_c_compiler_gnu = yes; then
2652 echo "$as_me:2652: checking whether $CC needs -traditional" >&5
2653 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
2654 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
2655 echo $ECHO_N "(cached) $ECHO_C" >&6
2657 ac_pattern="Autoconf.*'x'"
2658 cat >"conftest.$ac_ext" <<_ACEOF
2659 #line 2659 "configure"
2660 #include "confdefs.h"
2662 int Autoconf = TIOCGETP;
2664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2665 $EGREP "$ac_pattern" >/dev/null 2>&1; then
2666 ac_cv_prog_gcc_traditional=yes
2668 ac_cv_prog_gcc_traditional=no
2672 if test $ac_cv_prog_gcc_traditional = no; then
2673 cat >"conftest.$ac_ext" <<_ACEOF
2674 #line 2674 "configure"
2675 #include "confdefs.h"
2677 int Autoconf = TCGETA;
2679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2680 $EGREP "$ac_pattern" >/dev/null 2>&1; then
2681 ac_cv_prog_gcc_traditional=yes
2687 echo "$as_me:2687: result: $ac_cv_prog_gcc_traditional" >&5
2688 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
2689 if test $ac_cv_prog_gcc_traditional = yes; then
2690 CC="$CC -traditional"
2694 echo "$as_me:2694: checking whether $CC understands -c and -o together" >&5
2695 echo $ECHO_N "checking whether $CC understands -c and -o together... $ECHO_C" >&6
2696 if test "${cf_cv_prog_CC_c_o+set}" = set; then
2697 echo $ECHO_N "(cached) $ECHO_C" >&6
2700 cat > conftest.$ac_ext <<CF_EOF
2703 ${cf_cv_main_return:-return}(0);
2706 # We do the test twice because some compilers refuse to overwrite an
2707 # existing .o file with -o, though they will create one.
2708 ac_try='$CC $CFLAGS $CPPFLAGS -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
2709 if { (eval echo "$as_me:2709: \"$ac_try\"") >&5
2712 echo "$as_me:2712: \$? = $ac_status" >&5
2713 (exit "$ac_status"); } &&
2714 test -f conftest2.$ac_objext && { (eval echo "$as_me:2714: \"$ac_try\"") >&5
2717 echo "$as_me:2717: \$? = $ac_status" >&5
2718 (exit "$ac_status"); };
2720 eval cf_cv_prog_CC_c_o=yes
2722 eval cf_cv_prog_CC_c_o=no
2727 if test "$cf_cv_prog_CC_c_o" = yes; then
2728 echo "$as_me:2728: result: yes" >&5
2729 echo "${ECHO_T}yes" >&6
2731 echo "$as_me:2731: result: no" >&5
2732 echo "${ECHO_T}no" >&6
2735 test "$program_prefix" != NONE &&
2736 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2737 # Use a double $ so make ignores it.
2738 test "$program_suffix" != NONE &&
2739 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2740 # Double any \ or $. echo might interpret backslashes.
2741 # By default was `s,x,x', remove it if useless.
2742 cat <<\_ACEOF >conftest.sed
2743 s/[\\$]/&&/g;s/;s,x,x,$//
2745 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2748 for ac_prog in mawk gawk nawk awk
2750 # Extract the first word of "$ac_prog", so it can be a program name with args.
2751 set dummy $ac_prog; ac_word=$2
2752 echo "$as_me:2752: checking for $ac_word" >&5
2753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2754 if test "${ac_cv_prog_AWK+set}" = set; then
2755 echo $ECHO_N "(cached) $ECHO_C" >&6
2757 if test -n "$AWK"; then
2758 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2760 ac_save_IFS=$IFS; IFS=$ac_path_separator
2762 for ac_dir in $ac_dummy; do
2764 test -z "$ac_dir" && ac_dir=.
2765 $as_executable_p "$ac_dir/$ac_word" || continue
2766 ac_cv_prog_AWK="$ac_prog"
2767 echo "$as_me:2767: found $ac_dir/$ac_word" >&5
2774 if test -n "$AWK"; then
2775 echo "$as_me:2775: result: $AWK" >&5
2776 echo "${ECHO_T}$AWK" >&6
2778 echo "$as_me:2778: result: no" >&5
2779 echo "${ECHO_T}no" >&6
2782 test -n "$AWK" && break
2785 test -z "$AWK" && { { echo "$as_me:2785: error: No awk program found" >&5
2786 echo "$as_me: error: No awk program found" >&2;}
2787 { (exit 1); exit 1; }; }
2789 echo "$as_me:2789: checking for egrep" >&5
2790 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2791 if test "${ac_cv_prog_egrep+set}" = set; then
2792 echo $ECHO_N "(cached) $ECHO_C" >&6
2794 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2795 then ac_cv_prog_egrep='grep -E'
2796 else ac_cv_prog_egrep='egrep'
2799 echo "$as_me:2799: result: $ac_cv_prog_egrep" >&5
2800 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2801 EGREP=$ac_cv_prog_egrep
2803 test -z "$EGREP" && { { echo "$as_me:2803: error: No egrep program found" >&5
2804 echo "$as_me: error: No egrep program found" >&2;}
2805 { (exit 1); exit 1; }; }
2807 # Find a good install program. We prefer a C program (faster),
2808 # so one script is as good as another. But avoid the broken or
2809 # incompatible versions:
2810 # SysV /etc/install, /usr/sbin/install
2811 # SunOS /usr/etc/install
2812 # IRIX /sbin/install
2814 # AmigaOS /C/install, which installs bootblocks on floppy discs
2815 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2816 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2817 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2818 # ./install, which can be erroneously created by make from ./install.sh.
2819 echo "$as_me:2819: checking for a BSD compatible install" >&5
2820 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
2821 if test -z "$INSTALL"; then
2822 if test "${ac_cv_path_install+set}" = set; then
2823 echo $ECHO_N "(cached) $ECHO_C" >&6
2825 ac_save_IFS=$IFS; IFS=$ac_path_separator
2826 for ac_dir in $PATH; do
2828 # Account for people who put trailing slashes in PATH elements.
2830 / | ./ | .// | /cC/* \
2831 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
2834 # OSF1 and SCO ODT 3.0 have their own names for install.
2835 # Don't use installbsd from OSF since it installs stuff as root
2837 for ac_prog in ginstall scoinst install; do
2838 if $as_executable_p "$ac_dir/$ac_prog"; then
2839 if test $ac_prog = install &&
2840 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2841 # AIX install. It has an incompatible calling convention.
2843 elif test $ac_prog = install &&
2844 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2845 # program-specific install script used by HP pwplus--don't use.
2848 ac_cv_path_install="$ac_dir/$ac_prog -c"
2858 if test "${ac_cv_path_install+set}" = set; then
2859 INSTALL=$ac_cv_path_install
2861 # As a last resort, use the slow shell script. We don't cache a
2862 # path for INSTALL within a source directory, because that will
2863 # break other packages using the cache if that directory is
2864 # removed, or if the path is relative.
2865 INSTALL=$ac_install_sh
2868 echo "$as_me:2868: result: $INSTALL" >&5
2869 echo "${ECHO_T}$INSTALL" >&6
2871 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2872 # It thinks the first close brace ends the variable substitution.
2873 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2875 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2877 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2879 echo "$as_me:2879: checking whether ln -s works" >&5
2880 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2882 if test "$LN_S" = "ln -s"; then
2883 echo "$as_me:2883: result: yes" >&5
2884 echo "${ECHO_T}yes" >&6
2886 echo "$as_me:2886: result: no, using $LN_S" >&5
2887 echo "${ECHO_T}no, using $LN_S" >&6
2890 echo "$as_me:2890: checking if $LN_S -f options work" >&5
2891 echo $ECHO_N "checking if $LN_S -f options work... $ECHO_C" >&6
2893 rm -f conf$$.src conf$$dst
2895 echo first >conf$$.src
2896 if $LN_S -f conf$$.src conf$$.dst 2>/dev/null; then
2901 rm -f conf$$.dst conf$$src
2902 echo "$as_me:2902: result: $cf_prog_ln_sf" >&5
2903 echo "${ECHO_T}$cf_prog_ln_sf" >&6
2905 test "$cf_prog_ln_sf" = yes && LN_S="$LN_S -f"
2907 # Find a good install program. We prefer a C program (faster),
2908 # so one script is as good as another. But avoid the broken or
2909 # incompatible versions:
2910 # SysV /etc/install, /usr/sbin/install
2911 # SunOS /usr/etc/install
2912 # IRIX /sbin/install
2914 # AmigaOS /C/install, which installs bootblocks on floppy discs
2915 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2916 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2917 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2918 # ./install, which can be erroneously created by make from ./install.sh.
2919 echo "$as_me:2919: checking for a BSD compatible install" >&5
2920 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
2921 if test -z "$INSTALL"; then
2922 if test "${ac_cv_path_install+set}" = set; then
2923 echo $ECHO_N "(cached) $ECHO_C" >&6
2925 ac_save_IFS=$IFS; IFS=$ac_path_separator
2926 for ac_dir in $PATH; do
2928 # Account for people who put trailing slashes in PATH elements.
2930 / | ./ | .// | /cC/* \
2931 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
2934 # OSF1 and SCO ODT 3.0 have their own names for install.
2935 # Don't use installbsd from OSF since it installs stuff as root
2937 for ac_prog in ginstall scoinst install; do
2938 if $as_executable_p "$ac_dir/$ac_prog"; then
2939 if test $ac_prog = install &&
2940 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2941 # AIX install. It has an incompatible calling convention.
2943 elif test $ac_prog = install &&
2944 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2945 # program-specific install script used by HP pwplus--don't use.
2948 ac_cv_path_install="$ac_dir/$ac_prog -c"
2958 if test "${ac_cv_path_install+set}" = set; then
2959 INSTALL=$ac_cv_path_install
2961 # As a last resort, use the slow shell script. We don't cache a
2962 # path for INSTALL within a source directory, because that will
2963 # break other packages using the cache if that directory is
2964 # removed, or if the path is relative.
2965 INSTALL=$ac_install_sh
2968 echo "$as_me:2968: result: $INSTALL" >&5
2969 echo "${ECHO_T}$INSTALL" >&6
2971 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2972 # It thinks the first close brace ends the variable substitution.
2973 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2975 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2977 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2983 cf_dir=`echo "$INSTALL" | sed -e 's%/[^/]*$%%'`
2984 test -z "$cf_dir" && cf_dir=.
2985 INSTALL="`cd \"$cf_dir\" && pwd`"/"`echo "$INSTALL" | sed -e 's%^.*/%%'`"
2989 echo "$as_me:2989: checking if you want to install stripped executables" >&5
2990 echo $ECHO_N "checking if you want to install stripped executables... $ECHO_C" >&6
2992 # Check whether --enable-stripping or --disable-stripping was given.
2993 if test "${enable_stripping+set}" = set; then
2994 enableval="$enable_stripping"
2995 test "$enableval" != no && enableval=yes
2996 if test "$enableval" != "yes" ; then
2999 enable_stripping=yes
3003 enable_stripping=yes
3006 echo "$as_me:3006: result: $enable_stripping" >&5
3007 echo "${ECHO_T}$enable_stripping" >&6
3009 if test "$enable_stripping" = yes
3016 : "${INSTALL:=install}"
3017 echo "$as_me:3017: checking if install accepts -p option" >&5
3018 echo $ECHO_N "checking if install accepts -p option... $ECHO_C" >&6
3019 if test "${cf_cv_install_p+set}" = set; then
3020 echo $ECHO_N "(cached) $ECHO_C" >&6
3027 if $INSTALL -p conftest.in conftest.out 2>/dev/null
3029 if test -f conftest.out/conftest.in
3031 test conftest.in -nt conftest.out/conftest.in 2>conftest.err && \
3032 test conftest.out/conftest.in -nt conftest.in 2>conftest.err
3033 if test -s conftest.err
3048 echo "$as_me:3048: result: $cf_cv_install_p" >&5
3049 echo "${ECHO_T}$cf_cv_install_p" >&6
3051 echo "$as_me:3051: checking if install needs to be told about ownership" >&5
3052 echo $ECHO_N "checking if install needs to be told about ownership... $ECHO_C" >&6
3053 case `$ac_config_guess` in
3062 echo "$as_me:3062: result: $with_install_o" >&5
3063 echo "${ECHO_T}$with_install_o" >&6
3064 if test "x$with_install_o" = xyes
3066 INSTALL_OPT_O="`id root|sed -e 's/uid=[0-9]*(/ -o /' -e 's/gid=[0-9]*(/ -g /' -e 's/ [^=[:space:]][^=[:space:]]*=.*/ /' -e 's/)//g'`"
3071 echo "$as_me:3071: checking for long file names" >&5
3072 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
3073 if test "${ac_cv_sys_long_file_names+set}" = set; then
3074 echo $ECHO_N "(cached) $ECHO_C" >&6
3076 ac_cv_sys_long_file_names=yes
3077 # Test for long file names in all the places we know might matter:
3078 # . the current directory, where building will happen
3079 # $prefix/lib where we will be installing things
3080 # $exec_prefix/lib likewise
3081 # eval it to expand exec_prefix.
3082 # $TMPDIR if set, where it might want to write temporary files
3083 # if $TMPDIR is not set:
3084 # /tmp where it might want to write temporary files
3087 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
3090 ac_tmpdirs='/tmp /var/tmp /usr/tmp'
3092 for ac_dir in . $ac_tmpdirs `eval echo "$prefix/lib" "$exec_prefix/lib"` ; do
3093 test -d "$ac_dir" || continue
3094 test -w "$ac_dir" || continue # It is less confusing to not echo anything here.
3095 ac_xdir=$ac_dir/cf$$
3096 (umask 077 && mkdir "$ac_xdir" 2>/dev/null) || continue
3097 ac_tf1=$ac_xdir/conftest9012345
3098 ac_tf2=$ac_xdir/conftest9012346
3099 (echo 1 >"$ac_tf1") 2>/dev/null
3100 (echo 2 >"$ac_tf2") 2>/dev/null
3101 ac_val=`cat "$ac_tf1" 2>/dev/null`
3102 if test ! -f "$ac_tf1" || test "$ac_val" != 1; then
3103 ac_cv_sys_long_file_names=no
3104 rm -rf "$ac_xdir" 2>/dev/null
3107 rm -rf "$ac_xdir" 2>/dev/null
3110 echo "$as_me:3110: result: $ac_cv_sys_long_file_names" >&5
3111 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
3112 if test "$ac_cv_sys_long_file_names" = yes; then
3114 cat >>confdefs.h <<\EOF
3115 #define HAVE_LONG_FILE_NAMES 1
3120 # if we find pkg-config, check if we should install the ".pc" files.
3122 echo "$as_me:3122: checking if you want to use pkg-config" >&5
3123 echo $ECHO_N "checking if you want to use pkg-config... $ECHO_C" >&6
3125 # Check whether --with-pkg-config or --without-pkg-config was given.
3126 if test "${with_pkg_config+set}" = set; then
3127 withval="$with_pkg_config"
3128 cf_pkg_config=$withval
3132 echo "$as_me:3132: result: $cf_pkg_config" >&5
3133 echo "${ECHO_T}$cf_pkg_config" >&6
3135 case "$cf_pkg_config" in
3141 if test -n "$ac_tool_prefix"; then
3142 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3143 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3144 echo "$as_me:3144: checking for $ac_word" >&5
3145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3146 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3147 echo $ECHO_N "(cached) $ECHO_C" >&6
3151 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3154 ac_save_IFS=$IFS; IFS=$ac_path_separator
3156 for ac_dir in $ac_dummy; do
3158 test -z "$ac_dir" && ac_dir=.
3159 if $as_executable_p "$ac_dir/$ac_word"; then
3160 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
3161 echo "$as_me:3161: found $ac_dir/$ac_word" >&5
3169 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3171 if test -n "$PKG_CONFIG"; then
3172 echo "$as_me:3172: result: $PKG_CONFIG" >&5
3173 echo "${ECHO_T}$PKG_CONFIG" >&6
3175 echo "$as_me:3175: result: no" >&5
3176 echo "${ECHO_T}no" >&6
3180 if test -z "$ac_cv_path_PKG_CONFIG"; then
3181 ac_pt_PKG_CONFIG=$PKG_CONFIG
3182 # Extract the first word of "pkg-config", so it can be a program name with args.
3183 set dummy pkg-config; ac_word=$2
3184 echo "$as_me:3184: checking for $ac_word" >&5
3185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3186 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3187 echo $ECHO_N "(cached) $ECHO_C" >&6
3189 case $ac_pt_PKG_CONFIG in
3191 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3194 ac_save_IFS=$IFS; IFS=$ac_path_separator
3196 for ac_dir in $ac_dummy; do
3198 test -z "$ac_dir" && ac_dir=.
3199 if $as_executable_p "$ac_dir/$ac_word"; then
3200 ac_cv_path_ac_pt_PKG_CONFIG="$ac_dir/$ac_word"
3201 echo "$as_me:3201: found $ac_dir/$ac_word" >&5
3206 test -z "$ac_cv_path_ac_pt_PKG_CONFIG" && ac_cv_path_ac_pt_PKG_CONFIG="none"
3210 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3212 if test -n "$ac_pt_PKG_CONFIG"; then
3213 echo "$as_me:3213: result: $ac_pt_PKG_CONFIG" >&5
3214 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
3216 echo "$as_me:3216: result: no" >&5
3217 echo "${ECHO_T}no" >&6
3220 PKG_CONFIG=$ac_pt_PKG_CONFIG
3222 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3231 test -z "$PKG_CONFIG" && PKG_CONFIG=none
3232 if test "$PKG_CONFIG" != none ; then
3234 if test "x$prefix" != xNONE; then
3235 cf_path_syntax="$prefix"
3237 cf_path_syntax="$ac_default_prefix"
3240 case ".$PKG_CONFIG" in
3245 (.[a-zA-Z]:[\\/]*) # OS/2 EMX
3247 (.\$\{*prefix\}*|.\$\{*dir\}*)
3248 eval PKG_CONFIG="$PKG_CONFIG"
3249 case ".$PKG_CONFIG" in
3251 PKG_CONFIG=`echo "$PKG_CONFIG" | sed -e s%NONE%$cf_path_syntax%`
3256 PKG_CONFIG=`echo "$PKG_CONFIG" | sed -e s%NONE%$cf_path_syntax%`
3259 { { echo "$as_me:3259: error: expected a pathname, not \"$PKG_CONFIG\"" >&5
3260 echo "$as_me: error: expected a pathname, not \"$PKG_CONFIG\"" >&2;}
3261 { (exit 1); exit 1; }; }
3265 elif test "x$cf_pkg_config" != xno ; then
3266 { echo "$as_me:3266: WARNING: pkg-config is not installed" >&5
3267 echo "$as_me: WARNING: pkg-config is not installed" >&2;}
3270 case "$PKG_CONFIG" in
3272 echo "$as_me:3272: checking for pkg-config library directory" >&5
3273 echo $ECHO_N "checking for pkg-config library directory... $ECHO_C" >&6
3276 echo "$as_me:3276: checking for $PKG_CONFIG library directory" >&5
3277 echo $ECHO_N "checking for $PKG_CONFIG library directory... $ECHO_C" >&6
3281 PKG_CONFIG_LIBDIR=no
3283 # Check whether --with-pkg-config-libdir or --without-pkg-config-libdir was given.
3284 if test "${with_pkg_config_libdir+set}" = set; then
3285 withval="$with_pkg_config_libdir"
3286 PKG_CONFIG_LIBDIR=$withval
3288 test "x$PKG_CONFIG" != xnone && PKG_CONFIG_LIBDIR=yes
3291 case x$PKG_CONFIG_LIBDIR in
3295 # Look for the library directory using the same prefix as the executable
3296 if test "x$PKG_CONFIG" = xnone
3300 cf_path=`echo "$PKG_CONFIG" | sed -e 's,/[^/]*/[^/]*$,,'`
3303 # If you don't like using the default architecture, you have to specify the
3304 # intended library directory and corresponding compiler/linker options.
3306 # This case allows for Debian's 2014-flavor of multiarch, along with the
3307 # most common variations before that point. Some other variants spell the
3308 # directory differently, e.g., "pkg-config", and put it in unusual places.
3309 # pkg-config has always been poorly standardized, which is ironic...
3310 case x`(arch) 2>/dev/null` in
3313 $cf_path/lib/*64-linux-gnu \
3321 $cf_path/lib/*-linux-gnu \
3329 test -n "$verbose" && echo " list..." 1>&6
3331 echo "${as_me:-configure}:3331: testing list... ..." 1>&5
3333 for cf_config in $cf_search_path
3335 test -n "$verbose" && echo " checking $cf_config/pkgconfig" 1>&6
3337 echo "${as_me:-configure}:3337: testing checking $cf_config/pkgconfig ..." 1>&5
3339 if test -d "$cf_config/pkgconfig"
3341 PKG_CONFIG_LIBDIR=$cf_config/pkgconfig
3342 echo "$as_me:3342: checking done" >&5
3343 echo $ECHO_N "checking done... $ECHO_C" >&6
3352 if test "x$PKG_CONFIG_LIBDIR" != xno ; then
3353 echo "$as_me:3353: result: $PKG_CONFIG_LIBDIR" >&5
3354 echo "${ECHO_T}$PKG_CONFIG_LIBDIR" >&6
3357 echo "$as_me:3357: checking if you want to build test-programs" >&5
3358 echo $ECHO_N "checking if you want to build test-programs... $ECHO_C" >&6
3360 # Check whether --with-tests or --without-tests was given.
3361 if test "${with_tests+set}" = set; then
3362 withval="$with_tests"
3363 cf_with_tests=$withval
3367 echo "$as_me:3367: result: $cf_with_tests" >&5
3368 echo "${ECHO_T}$cf_with_tests" >&6
3370 echo "$as_me:3370: checking if we should assume mixed-case filenames" >&5
3371 echo $ECHO_N "checking if we should assume mixed-case filenames... $ECHO_C" >&6
3373 # Check whether --enable-mixed-case or --disable-mixed-case was given.
3374 if test "${enable_mixed_case+set}" = set; then
3375 enableval="$enable_mixed_case"
3376 enable_mixedcase=$enableval
3378 enable_mixedcase=auto
3380 echo "$as_me:3380: result: $enable_mixedcase" >&5
3381 echo "${ECHO_T}$enable_mixedcase" >&6
3382 if test "$enable_mixedcase" = "auto" ; then
3384 echo "$as_me:3384: checking if filesystem supports mixed-case filenames" >&5
3385 echo $ECHO_N "checking if filesystem supports mixed-case filenames... $ECHO_C" >&6
3386 if test "${cf_cv_mixedcase+set}" = set; then
3387 echo $ECHO_N "(cached) $ECHO_C" >&6
3390 if test "$cross_compiling" = yes ; then
3391 case "$target_alias" in
3392 (*-os2-emx*|*-msdosdjgpp*|*-cygwin*|*-msys*|*-mingw*|*-uwin*|darwin*)
3400 rm -f conftest CONFTEST
3402 if test -f CONFTEST ; then
3407 rm -f conftest CONFTEST
3411 echo "$as_me:3411: result: $cf_cv_mixedcase" >&5
3412 echo "${ECHO_T}$cf_cv_mixedcase" >&6
3413 test "$cf_cv_mixedcase" = yes &&
3414 cat >>confdefs.h <<\EOF
3415 #define MIXEDCASE_FILENAMES 1
3419 cf_cv_mixedcase=$enable_mixedcase
3420 if test "$enable_mixedcase" = "yes" ; then
3421 cat >>confdefs.h <<\EOF
3422 #define MIXEDCASE_FILENAMES 1
3428 # do this after mixed-case option (tags/TAGS is not as important as tic).
3429 echo "$as_me:3429: checking whether ${MAKE-make} sets \${MAKE}" >&5
3430 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
3431 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
3432 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3433 echo $ECHO_N "(cached) $ECHO_C" >&6
3435 cat >conftest.make <<\EOF
3437 @echo 'ac_maketemp="${MAKE}"'
3439 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3440 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3441 if test -n "$ac_maketemp"; then
3442 eval ac_cv_prog_make_${ac_make}_set=yes
3444 eval ac_cv_prog_make_${ac_make}_set=no
3448 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3449 echo "$as_me:3449: result: yes" >&5
3450 echo "${ECHO_T}yes" >&6
3453 echo "$as_me:3453: result: no" >&5
3454 echo "${ECHO_T}no" >&6
3455 SET_MAKE="MAKE=${MAKE-make}"
3458 for ac_prog in exctags ctags
3460 # Extract the first word of "$ac_prog", so it can be a program name with args.
3461 set dummy $ac_prog; ac_word=$2
3462 echo "$as_me:3462: checking for $ac_word" >&5
3463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3464 if test "${ac_cv_prog_CTAGS+set}" = set; then
3465 echo $ECHO_N "(cached) $ECHO_C" >&6
3467 if test -n "$CTAGS"; then
3468 ac_cv_prog_CTAGS="$CTAGS" # Let the user override the test.
3470 ac_save_IFS=$IFS; IFS=$ac_path_separator
3472 for ac_dir in $ac_dummy; do
3474 test -z "$ac_dir" && ac_dir=.
3475 $as_executable_p "$ac_dir/$ac_word" || continue
3476 ac_cv_prog_CTAGS="$ac_prog"
3477 echo "$as_me:3477: found $ac_dir/$ac_word" >&5
3483 CTAGS=$ac_cv_prog_CTAGS
3484 if test -n "$CTAGS"; then
3485 echo "$as_me:3485: result: $CTAGS" >&5
3486 echo "${ECHO_T}$CTAGS" >&6
3488 echo "$as_me:3488: result: no" >&5
3489 echo "${ECHO_T}no" >&6
3492 test -n "$CTAGS" && break
3495 for ac_prog in exetags etags
3497 # Extract the first word of "$ac_prog", so it can be a program name with args.
3498 set dummy $ac_prog; ac_word=$2
3499 echo "$as_me:3499: checking for $ac_word" >&5
3500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3501 if test "${ac_cv_prog_ETAGS+set}" = set; then
3502 echo $ECHO_N "(cached) $ECHO_C" >&6
3504 if test -n "$ETAGS"; then
3505 ac_cv_prog_ETAGS="$ETAGS" # Let the user override the test.
3507 ac_save_IFS=$IFS; IFS=$ac_path_separator
3509 for ac_dir in $ac_dummy; do
3511 test -z "$ac_dir" && ac_dir=.
3512 $as_executable_p "$ac_dir/$ac_word" || continue
3513 ac_cv_prog_ETAGS="$ac_prog"
3514 echo "$as_me:3514: found $ac_dir/$ac_word" >&5
3520 ETAGS=$ac_cv_prog_ETAGS
3521 if test -n "$ETAGS"; then
3522 echo "$as_me:3522: result: $ETAGS" >&5
3523 echo "${ECHO_T}$ETAGS" >&6
3525 echo "$as_me:3525: result: no" >&5
3526 echo "${ECHO_T}no" >&6
3529 test -n "$ETAGS" && break
3532 # Extract the first word of "${CTAGS:-ctags}", so it can be a program name with args.
3533 set dummy ${CTAGS:-ctags}; ac_word=$2
3534 echo "$as_me:3534: checking for $ac_word" >&5
3535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3536 if test "${ac_cv_prog_MAKE_LOWER_TAGS+set}" = set; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3539 if test -n "$MAKE_LOWER_TAGS"; then
3540 ac_cv_prog_MAKE_LOWER_TAGS="$MAKE_LOWER_TAGS" # Let the user override the test.
3542 ac_save_IFS=$IFS; IFS=$ac_path_separator
3544 for ac_dir in $ac_dummy; do
3546 test -z "$ac_dir" && ac_dir=.
3547 $as_executable_p "$ac_dir/$ac_word" || continue
3548 ac_cv_prog_MAKE_LOWER_TAGS="yes"
3549 echo "$as_me:3549: found $ac_dir/$ac_word" >&5
3553 test -z "$ac_cv_prog_MAKE_LOWER_TAGS" && ac_cv_prog_MAKE_LOWER_TAGS="no"
3556 MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS
3557 if test -n "$MAKE_LOWER_TAGS"; then
3558 echo "$as_me:3558: result: $MAKE_LOWER_TAGS" >&5
3559 echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6
3561 echo "$as_me:3561: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3565 if test "$cf_cv_mixedcase" = yes ; then
3566 # Extract the first word of "${ETAGS:-etags}", so it can be a program name with args.
3567 set dummy ${ETAGS:-etags}; ac_word=$2
3568 echo "$as_me:3568: checking for $ac_word" >&5
3569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3570 if test "${ac_cv_prog_MAKE_UPPER_TAGS+set}" = set; then
3571 echo $ECHO_N "(cached) $ECHO_C" >&6
3573 if test -n "$MAKE_UPPER_TAGS"; then
3574 ac_cv_prog_MAKE_UPPER_TAGS="$MAKE_UPPER_TAGS" # Let the user override the test.
3576 ac_save_IFS=$IFS; IFS=$ac_path_separator
3578 for ac_dir in $ac_dummy; do
3580 test -z "$ac_dir" && ac_dir=.
3581 $as_executable_p "$ac_dir/$ac_word" || continue
3582 ac_cv_prog_MAKE_UPPER_TAGS="yes"
3583 echo "$as_me:3583: found $ac_dir/$ac_word" >&5
3587 test -z "$ac_cv_prog_MAKE_UPPER_TAGS" && ac_cv_prog_MAKE_UPPER_TAGS="no"
3590 MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS
3591 if test -n "$MAKE_UPPER_TAGS"; then
3592 echo "$as_me:3592: result: $MAKE_UPPER_TAGS" >&5
3593 echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6
3595 echo "$as_me:3595: result: no" >&5
3596 echo "${ECHO_T}no" >&6
3603 if test "$MAKE_UPPER_TAGS" = yes ; then
3609 if test "$MAKE_LOWER_TAGS" = yes ; then
3615 echo "$as_me:3615: checking for makeflags variable" >&5
3616 echo $ECHO_N "checking for makeflags variable... $ECHO_C" >&6
3617 if test "${cf_cv_makeflags+set}" = set; then
3618 echo $ECHO_N "(cached) $ECHO_C" >&6
3622 for cf_option in '-${MAKEFLAGS}' '${MFLAGS}'
3624 cat >cf_makeflags.tmp <<CF_EOF
3627 @ echo '.$cf_option'
3629 cf_result=`${MAKE:-make} -k -f cf_makeflags.tmp 2>/dev/null | ${FGREP-fgrep} -v "ing directory" | sed -e 's,[ ]*$,,'`
3630 case "$cf_result" in
3632 cf_result="`${MAKE:-make} -k -f cf_makeflags.tmp CC=cc 2>/dev/null`"
3633 case "$cf_result" in
3634 (.*CC=*) cf_cv_makeflags=
3636 (*) cf_cv_makeflags=$cf_option
3645 echo "${as_me:-configure}:3645: testing given option \"$cf_option\",no match \"$cf_result\" ..." 1>&5
3650 rm -f cf_makeflags.tmp
3653 echo "$as_me:3653: result: $cf_cv_makeflags" >&5
3654 echo "${ECHO_T}$cf_cv_makeflags" >&6
3656 if test -n "$ac_tool_prefix"; then
3657 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3658 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3659 echo "$as_me:3659: checking for $ac_word" >&5
3660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3661 if test "${ac_cv_prog_RANLIB+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3664 if test -n "$RANLIB"; then
3665 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3667 ac_save_IFS=$IFS; IFS=$ac_path_separator
3669 for ac_dir in $ac_dummy; do
3671 test -z "$ac_dir" && ac_dir=.
3672 $as_executable_p "$ac_dir/$ac_word" || continue
3673 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3674 echo "$as_me:3674: found $ac_dir/$ac_word" >&5
3680 RANLIB=$ac_cv_prog_RANLIB
3681 if test -n "$RANLIB"; then
3682 echo "$as_me:3682: result: $RANLIB" >&5
3683 echo "${ECHO_T}$RANLIB" >&6
3685 echo "$as_me:3685: result: no" >&5
3686 echo "${ECHO_T}no" >&6
3690 if test -z "$ac_cv_prog_RANLIB"; then
3691 ac_ct_RANLIB=$RANLIB
3692 # Extract the first word of "ranlib", so it can be a program name with args.
3693 set dummy ranlib; ac_word=$2
3694 echo "$as_me:3694: checking for $ac_word" >&5
3695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3696 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 if test -n "$ac_ct_RANLIB"; then
3700 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3702 ac_save_IFS=$IFS; IFS=$ac_path_separator
3704 for ac_dir in $ac_dummy; do
3706 test -z "$ac_dir" && ac_dir=.
3707 $as_executable_p "$ac_dir/$ac_word" || continue
3708 ac_cv_prog_ac_ct_RANLIB="ranlib"
3709 echo "$as_me:3709: found $ac_dir/$ac_word" >&5
3713 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="':'"
3716 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3717 if test -n "$ac_ct_RANLIB"; then
3718 echo "$as_me:3718: result: $ac_ct_RANLIB" >&5
3719 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3721 echo "$as_me:3721: result: no" >&5
3722 echo "${ECHO_T}no" >&6
3725 RANLIB=$ac_ct_RANLIB
3727 RANLIB="$ac_cv_prog_RANLIB"
3730 if test -n "$ac_tool_prefix"; then
3731 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3732 set dummy ${ac_tool_prefix}ld; ac_word=$2
3733 echo "$as_me:3733: checking for $ac_word" >&5
3734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3735 if test "${ac_cv_prog_LD+set}" = set; then
3736 echo $ECHO_N "(cached) $ECHO_C" >&6
3738 if test -n "$LD"; then
3739 ac_cv_prog_LD="$LD" # Let the user override the test.
3741 ac_save_IFS=$IFS; IFS=$ac_path_separator
3743 for ac_dir in $ac_dummy; do
3745 test -z "$ac_dir" && ac_dir=.
3746 $as_executable_p "$ac_dir/$ac_word" || continue
3747 ac_cv_prog_LD="${ac_tool_prefix}ld"
3748 echo "$as_me:3748: found $ac_dir/$ac_word" >&5
3755 if test -n "$LD"; then
3756 echo "$as_me:3756: result: $LD" >&5
3757 echo "${ECHO_T}$LD" >&6
3759 echo "$as_me:3759: result: no" >&5
3760 echo "${ECHO_T}no" >&6
3764 if test -z "$ac_cv_prog_LD"; then
3766 # Extract the first word of "ld", so it can be a program name with args.
3767 set dummy ld; ac_word=$2
3768 echo "$as_me:3768: checking for $ac_word" >&5
3769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3770 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
3771 echo $ECHO_N "(cached) $ECHO_C" >&6
3773 if test -n "$ac_ct_LD"; then
3774 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
3776 ac_save_IFS=$IFS; IFS=$ac_path_separator
3778 for ac_dir in $ac_dummy; do
3780 test -z "$ac_dir" && ac_dir=.
3781 $as_executable_p "$ac_dir/$ac_word" || continue
3782 ac_cv_prog_ac_ct_LD="ld"
3783 echo "$as_me:3783: found $ac_dir/$ac_word" >&5
3787 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
3790 ac_ct_LD=$ac_cv_prog_ac_ct_LD
3791 if test -n "$ac_ct_LD"; then
3792 echo "$as_me:3792: result: $ac_ct_LD" >&5
3793 echo "${ECHO_T}$ac_ct_LD" >&6
3795 echo "$as_me:3795: result: no" >&5
3796 echo "${ECHO_T}no" >&6
3804 if test -n "$ac_tool_prefix"; then
3805 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3806 set dummy ${ac_tool_prefix}ar; ac_word=$2
3807 echo "$as_me:3807: checking for $ac_word" >&5
3808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3809 if test "${ac_cv_prog_AR+set}" = set; then
3810 echo $ECHO_N "(cached) $ECHO_C" >&6
3812 if test -n "$AR"; then
3813 ac_cv_prog_AR="$AR" # Let the user override the test.
3815 ac_save_IFS=$IFS; IFS=$ac_path_separator
3817 for ac_dir in $ac_dummy; do
3819 test -z "$ac_dir" && ac_dir=.
3820 $as_executable_p "$ac_dir/$ac_word" || continue
3821 ac_cv_prog_AR="${ac_tool_prefix}ar"
3822 echo "$as_me:3822: found $ac_dir/$ac_word" >&5
3829 if test -n "$AR"; then
3830 echo "$as_me:3830: result: $AR" >&5
3831 echo "${ECHO_T}$AR" >&6
3833 echo "$as_me:3833: result: no" >&5
3834 echo "${ECHO_T}no" >&6
3838 if test -z "$ac_cv_prog_AR"; then
3840 # Extract the first word of "ar", so it can be a program name with args.
3841 set dummy ar; ac_word=$2
3842 echo "$as_me:3842: checking for $ac_word" >&5
3843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3844 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3845 echo $ECHO_N "(cached) $ECHO_C" >&6
3847 if test -n "$ac_ct_AR"; then
3848 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3850 ac_save_IFS=$IFS; IFS=$ac_path_separator
3852 for ac_dir in $ac_dummy; do
3854 test -z "$ac_dir" && ac_dir=.
3855 $as_executable_p "$ac_dir/$ac_word" || continue
3856 ac_cv_prog_ac_ct_AR="ar"
3857 echo "$as_me:3857: found $ac_dir/$ac_word" >&5
3861 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
3864 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3865 if test -n "$ac_ct_AR"; then
3866 echo "$as_me:3866: result: $ac_ct_AR" >&5
3867 echo "${ECHO_T}$ac_ct_AR" >&6
3869 echo "$as_me:3869: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3878 if test -n "$ac_tool_prefix"; then
3879 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3880 set dummy ${ac_tool_prefix}ar; ac_word=$2
3881 echo "$as_me:3881: checking for $ac_word" >&5
3882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3883 if test "${ac_cv_prog_AR+set}" = set; then
3884 echo $ECHO_N "(cached) $ECHO_C" >&6
3886 if test -n "$AR"; then
3887 ac_cv_prog_AR="$AR" # Let the user override the test.
3889 ac_save_IFS=$IFS; IFS=$ac_path_separator
3891 for ac_dir in $ac_dummy; do
3893 test -z "$ac_dir" && ac_dir=.
3894 $as_executable_p "$ac_dir/$ac_word" || continue
3895 ac_cv_prog_AR="${ac_tool_prefix}ar"
3896 echo "$as_me:3896: found $ac_dir/$ac_word" >&5
3903 if test -n "$AR"; then
3904 echo "$as_me:3904: result: $AR" >&5
3905 echo "${ECHO_T}$AR" >&6
3907 echo "$as_me:3907: result: no" >&5
3908 echo "${ECHO_T}no" >&6
3912 if test -z "$ac_cv_prog_AR"; then
3914 # Extract the first word of "ar", so it can be a program name with args.
3915 set dummy ar; ac_word=$2
3916 echo "$as_me:3916: checking for $ac_word" >&5
3917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3918 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3919 echo $ECHO_N "(cached) $ECHO_C" >&6
3921 if test -n "$ac_ct_AR"; then
3922 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3924 ac_save_IFS=$IFS; IFS=$ac_path_separator
3926 for ac_dir in $ac_dummy; do
3928 test -z "$ac_dir" && ac_dir=.
3929 $as_executable_p "$ac_dir/$ac_word" || continue
3930 ac_cv_prog_ac_ct_AR="ar"
3931 echo "$as_me:3931: found $ac_dir/$ac_word" >&5
3935 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
3938 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3939 if test -n "$ac_ct_AR"; then
3940 echo "$as_me:3940: result: