on a7efa76 help sign in
streamly/configure
4465 lines 132 kB history raw
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for streamly 0.7.2.
4#
5# Report bugs to <streamly@composewell.com>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32esac
33fi
36as_nl='
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72fi
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81fi
84# IFS
85# We need space, tab and new line, in precisely that order. Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" "" $as_nl"
91# Find who we are. Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102IFS=$as_save_IFS
104 ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109 as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114fi
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there. '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137# Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176esac
177fi
179 as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192else
193 exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204else
205 as_have_required=no
206fi
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
218 /*)
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
227fi
228fi
229 done;;
230 esac
231 as_found=false
232done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255
260fi
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270$0: streamly@composewell.com about your system, including
271$0: any error possibly output before this message. Then
272$0: install a modern shell, or manually run the script
273$0: under such a shell if you do have one."
274 fi
275 exit 1
276fi
277fi
278fi
279SHELL=${CONFIG_SHELL-/bin/sh}
280export SHELL
281# Unset more variables known to interfere with behavior of common tools.
282CLICOLOR_FORCE= GREP_OPTIONS=
283unset CLICOLOR_FORCE GREP_OPTIONS
285## --------------------- ##
286## M4sh Shell Functions. ##
287## --------------------- ##
288# as_fn_unset VAR
289# ---------------
290# Portably unset VAR.
291as_fn_unset ()
293 { eval $1=; unset $1;}
295as_unset=as_fn_unset
297# as_fn_set_status STATUS
298# -----------------------
299# Set $? to STATUS, without forking.
300as_fn_set_status ()
302 return $1
303} # as_fn_set_status
305# as_fn_exit STATUS
306# -----------------
307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313} # as_fn_exit
315# as_fn_mkdir_p
316# -------------
317# Create "$as_dir" as a directory, including parents if necessary.
318as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337$as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
344 q
345 }
346 /^X\(\/\/\)$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\).*/{
351 s//\1/
352 q
353 }
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361} # as_fn_mkdir_p
363# as_fn_executable_p FILE
364# -----------------------
365# Test if FILE is an executable regular file.
366as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369} # as_fn_executable_p
370# as_fn_append VAR VALUE
371# ----------------------
372# Append the text in VALUE to the end of the definition contained in VAR. Take
373# advantage of any shell optimizations that allow amortized linear growth over
374# repeated appends, instead of the typical quadratic growth present in naive
375# implementations.
376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
378 {
379 eval $1+=\$2
380 }'
381else
382 as_fn_append ()
383 {
384 eval $1=\$$1\$2
385 }
386fi # as_fn_append
388# as_fn_arith ARG...
389# ------------------
390# Perform arithmetic evaluation on the ARGs, and store the result in the
391# global $as_val. Take advantage of shells that can avoid forks. The arguments
392# must be portable across $(()) and expr.
393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
395 {
396 as_val=$(( $* ))
397 }'
398else
399 as_fn_arith ()
400 {
401 as_val=`expr "$@" || test $? -eq 1`
402 }
403fi # as_fn_arith
406# as_fn_error STATUS ERROR [LINENO LOG_FD]
407# ----------------------------------------
408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410# script with STATUS, using 1 if that was 0.
411as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 fi
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420} # as_fn_error
422if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425else
426 as_expr=false
427fi
429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431else
432 as_basename=false
433fi
435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437else
438 as_dirname=false
439fi
441as_me=`$as_basename -- "$0" ||
442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445$as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\/\)$/{
451 s//\1/
452 q
453 }
454 /^X\/\(\/\).*/{
455 s//\1/
456 q
457 }
458 s/.*/./; q'`
460# Avoid depending upon Character Ranges.
461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464as_cr_digits='0123456789'
465as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
474 p
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
480 b
481 :lineno
482 N
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503ECHO_C= ECHO_N= ECHO_T=
504case `echo -n x` in #(((((
505-n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
512*)
513 ECHO_N='-n';;
514esac
516rm -f conf$$ conf$$.exe conf$$.file
517if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
522fi
523if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
536 fi
537else
538 as_ln_s='cp -pR'
539fi
540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541rmdir conf$$.dir 2>/dev/null
543if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
548fi
550as_test_x='test -x'
551as_executable_p=as_fn_executable_p
553# Sed expression to map a string onto a valid CPP name.
554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556# Sed expression to map a string onto a valid variable name.
557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560test -n "$DJDIR" || exec 7<&0 </dev/null
561exec 6>&1
563# Name of the host.
564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565# so uname gets run too.
566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569# Initializations.
571ac_default_prefix=/usr/local
572ac_clean_files=
573ac_config_libobj_dir=.
574LIBOBJS=
575cross_compiling=no
576subdirs=
577MFLAGS=
578MAKEFLAGS=
580# Identity of this package.
581PACKAGE_NAME='streamly'
582PACKAGE_TARNAME='streamly'
583PACKAGE_VERSION='0.7.2'
584PACKAGE_STRING='streamly 0.7.2'
585PACKAGE_BUGREPORT='streamly@composewell.com'
586PACKAGE_URL=''
588# Factoring default headers for most tests.
589ac_includes_default="\
590#include <stdio.h>
591#ifdef HAVE_SYS_TYPES_H
592# include <sys/types.h>
593#endif
594#ifdef HAVE_SYS_STAT_H
595# include <sys/stat.h>
596#endif
597#ifdef STDC_HEADERS
598# include <stdlib.h>
599# include <stddef.h>
600#else
601# ifdef HAVE_STDLIB_H
602# include <stdlib.h>
603# endif
604#endif
605#ifdef HAVE_STRING_H
606# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607# include <memory.h>
608# endif
609# include <string.h>
610#endif
611#ifdef HAVE_STRINGS_H
612# include <strings.h>
613#endif
614#ifdef HAVE_INTTYPES_H
615# include <inttypes.h>
616#endif
617#ifdef HAVE_STDINT_H
618# include <stdint.h>
619#endif
620#ifdef HAVE_UNISTD_H
621# include <unistd.h>
622#endif"
624ac_subst_vars='LTLIBOBJS
625LIBOBJS
626EGREP
627GREP
628CPP
629OBJEXT
630EXEEXT
631ac_ct_CC
632CPPFLAGS
633LDFLAGS
634CFLAGS
635CC
636target_alias
637host_alias
638build_alias
639LIBS
640ECHO_T
641ECHO_N
642ECHO_C
643DEFS
644mandir
645localedir
646libdir
647psdir
648pdfdir
649dvidir
650htmldir
651infodir
652docdir
653oldincludedir
654includedir
655runstatedir
656localstatedir
657sharedstatedir
658sysconfdir
659datadir
660datarootdir
661libexecdir
662sbindir
663bindir
664program_transform_name
665prefix
666exec_prefix
667PACKAGE_URL
668PACKAGE_BUGREPORT
669PACKAGE_STRING
670PACKAGE_VERSION
671PACKAGE_TARNAME
672PACKAGE_NAME
673PATH_SEPARATOR
674SHELL'
675ac_subst_files=''
676ac_user_opts='
677enable_option_checking
678with_compiler
680 ac_precious_vars='build_alias
681host_alias
682target_alias
683CC
684CFLAGS
685LDFLAGS
686LIBS
687CPPFLAGS
688CPP'
691# Initialize some variables set by options.
692ac_init_help=
693ac_init_version=false
694ac_unrecognized_opts=
695ac_unrecognized_sep=
696# The variables have the same names as the options, with
697# dashes changed to underlines.
698cache_file=/dev/null
699exec_prefix=NONE
700no_create=
701no_recursion=
702prefix=NONE
703program_prefix=NONE
704program_suffix=NONE
705program_transform_name=s,x,x,
706silent=
707site=
708srcdir=
709verbose=
710x_includes=NONE
711x_libraries=NONE
713# Installation directory options.
714# These are left unexpanded so users can "make install exec_prefix=/foo"
715# and all the variables that are supposed to be based on exec_prefix
716# by default will actually change.
717# Use braces instead of parens because sh, perl, etc. also accept them.
718# (The list follows the same order as the GNU Coding Standards.)
719bindir='${exec_prefix}/bin'
720sbindir='${exec_prefix}/sbin'
721libexecdir='${exec_prefix}/libexec'
722datarootdir='${prefix}/share'
723datadir='${datarootdir}'
724sysconfdir='${prefix}/etc'
725sharedstatedir='${prefix}/com'
726localstatedir='${prefix}/var'
727runstatedir='${localstatedir}/run'
728includedir='${prefix}/include'
729oldincludedir='/usr/include'
730docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
731infodir='${datarootdir}/info'
732htmldir='${docdir}'
733dvidir='${docdir}'
734pdfdir='${docdir}'
735psdir='${docdir}'
736libdir='${exec_prefix}/lib'
737localedir='${datarootdir}/locale'
738mandir='${datarootdir}/man'
740ac_prev=
741ac_dashdash=
742for ac_option
743do
744 # If the previous option needs an argument, assign it.
745 if test -n "$ac_prev"; then
746 eval $ac_prev=\$ac_option
747 ac_prev=
748 continue
749 fi
751 case $ac_option in
752 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
753 *=) ac_optarg= ;;
754 *) ac_optarg=yes ;;
755 esac
757 # Accept the important Cygnus configure options, so we can diagnose typos.
759 case $ac_dashdash$ac_option in
760 --)
761 ac_dashdash=yes ;;
763 -bindir | --bindir | --bindi | --bind | --bin | --bi)
764 ac_prev=bindir ;;
765 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
766 bindir=$ac_optarg ;;
768 -build | --build | --buil | --bui | --bu)
769 ac_prev=build_alias ;;
770 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
771 build_alias=$ac_optarg ;;
773 -cache-file | --cache-file | --cache-fil | --cache-fi \
774 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
775 ac_prev=cache_file ;;
776 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
777 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
778 cache_file=$ac_optarg ;;
780 --config-cache | -C)
781 cache_file=config.cache ;;
783 -datadir | --datadir | --datadi | --datad)
784 ac_prev=datadir ;;
785 -datadir=* | --datadir=* | --datadi=* | --datad=*)
786 datadir=$ac_optarg ;;
788 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
789 | --dataroo | --dataro | --datar)
790 ac_prev=datarootdir ;;
791 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
792 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
793 datarootdir=$ac_optarg ;;
795 -disable-* | --disable-*)
796 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
797 # Reject names that are not valid shell variable names.
798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
799 as_fn_error $? "invalid feature name: $ac_useropt"
800 ac_useropt_orig=$ac_useropt
801 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
802 case $ac_user_opts in
803 *"
804"enable_$ac_useropt"
805"*) ;;
806 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
807 ac_unrecognized_sep=', ';;
808 esac
809 eval enable_$ac_useropt=no ;;
811 -docdir | --docdir | --docdi | --doc | --do)
812 ac_prev=docdir ;;
813 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
814 docdir=$ac_optarg ;;
816 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
817 ac_prev=dvidir ;;
818 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
819 dvidir=$ac_optarg ;;
821 -enable-* | --enable-*)
822 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
823 # Reject names that are not valid shell variable names.
824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
825 as_fn_error $? "invalid feature name: $ac_useropt"
826 ac_useropt_orig=$ac_useropt
827 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
828 case $ac_user_opts in
829 *"
830"enable_$ac_useropt"
831"*) ;;
832 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
833 ac_unrecognized_sep=', ';;
834 esac
835 eval enable_$ac_useropt=\$ac_optarg ;;
837 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
838 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
839 | --exec | --exe | --ex)
840 ac_prev=exec_prefix ;;
841 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
842 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
843 | --exec=* | --exe=* | --ex=*)
844 exec_prefix=$ac_optarg ;;
846 -gas | --gas | --ga | --g)
847 # Obsolete; use --with-gas.
848 with_gas=yes ;;
850 -help | --help | --hel | --he | -h)
851 ac_init_help=long ;;
852 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
853 ac_init_help=recursive ;;
854 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
855 ac_init_help=short ;;
857 -host | --host | --hos | --ho)
858 ac_prev=host_alias ;;
859 -host=* | --host=* | --hos=* | --ho=*)
860 host_alias=$ac_optarg ;;
862 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
863 ac_prev=htmldir ;;
864 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
865 | --ht=*)
866 htmldir=$ac_optarg ;;
868 -includedir | --includedir | --includedi | --included | --include \
869 | --includ | --inclu | --incl | --inc)
870 ac_prev=includedir ;;
871 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
872 | --includ=* | --inclu=* | --incl=* | --inc=*)
873 includedir=$ac_optarg ;;
875 -infodir | --infodir | --infodi | --infod | --info | --inf)
876 ac_prev=infodir ;;
877 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
878 infodir=$ac_optarg ;;
880 -libdir | --libdir | --libdi | --libd)
881 ac_prev=libdir ;;
882 -libdir=* | --libdir=* | --libdi=* | --libd=*)
883 libdir=$ac_optarg ;;
885 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
886 | --libexe | --libex | --libe)
887 ac_prev=libexecdir ;;
888 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
889 | --libexe=* | --libex=* | --libe=*)
890 libexecdir=$ac_optarg ;;
892 -localedir | --localedir | --localedi | --localed | --locale)
893 ac_prev=localedir ;;
894 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
895 localedir=$ac_optarg ;;
897 -localstatedir | --localstatedir | --localstatedi | --localstated \
898 | --localstate | --localstat | --localsta | --localst | --locals)
899 ac_prev=localstatedir ;;
900 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
901 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
902 localstatedir=$ac_optarg ;;
904 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
905 ac_prev=mandir ;;
906 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
907 mandir=$ac_optarg ;;
909 -nfp | --nfp | --nf)
910 # Obsolete; use --without-fp.
911 with_fp=no ;;
913 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
914 | --no-cr | --no-c | -n)
915 no_create=yes ;;
917 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
918 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
919 no_recursion=yes ;;
921 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
922 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
923 | --oldin | --oldi | --old | --ol | --o)
924 ac_prev=oldincludedir ;;
925 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
926 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
927 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
928 oldincludedir=$ac_optarg ;;
930 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
931 ac_prev=prefix ;;
932 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
933 prefix=$ac_optarg ;;
935 -program-prefix | --program-prefix | --program-prefi | --program-pref \
936 | --program-pre | --program-pr | --program-p)
937 ac_prev=program_prefix ;;
938 -program-prefix=* | --program-prefix=* | --program-prefi=* \
939 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
940 program_prefix=$ac_optarg ;;
942 -program-suffix | --program-suffix | --program-suffi | --program-suff \
943 | --program-suf | --program-su | --program-s)
944 ac_prev=program_suffix ;;
945 -program-suffix=* | --program-suffix=* | --program-suffi=* \
946 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
947 program_suffix=$ac_optarg ;;
949 -program-transform-name | --program-transform-name \
950 | --program-transform-nam | --program-transform-na \
951 | --program-transform-n | --program-transform- \
952 | --program-transform | --program-transfor \
953 | --program-transfo | --program-transf \
954 | --program-trans | --program-tran \
955 | --progr-tra | --program-tr | --program-t)
956 ac_prev=program_transform_name ;;
957 -program-transform-name=* | --program-transform-name=* \
958 | --program-transform-nam=* | --program-transform-na=* \
959 | --program-transform-n=* | --program-transform-=* \
960 | --program-transform=* | --program-transfor=* \
961 | --program-transfo=* | --program-transf=* \
962 | --program-trans=* | --program-tran=* \
963 | --progr-tra=* | --program-tr=* | --program-t=*)
964 program_transform_name=$ac_optarg ;;
966 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
967 ac_prev=pdfdir ;;
968 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
969 pdfdir=$ac_optarg ;;
971 -psdir | --psdir | --psdi | --psd | --ps)
972 ac_prev=psdir ;;
973 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
974 psdir=$ac_optarg ;;
976 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
977 | -silent | --silent | --silen | --sile | --sil)
978 silent=yes ;;
980 -runstatedir | --runstatedir | --runstatedi | --runstated \
981 | --runstate | --runstat | --runsta | --runst | --runs \
982 | --run | --ru | --r)
983 ac_prev=runstatedir ;;
984 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
985 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
986 | --run=* | --ru=* | --r=*)
987 runstatedir=$ac_optarg ;;
989 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
990 ac_prev=sbindir ;;
991 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
992 | --sbi=* | --sb=*)
993 sbindir=$ac_optarg ;;
995 -sharedstatedir | --sharedstatedir | --sharedstatedi \
996 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
997 | --sharedst | --shareds | --shared | --share | --shar \
998 | --sha | --sh)
999 ac_prev=sharedstatedir ;;
1000 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1001 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1002 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1003 | --sha=* | --sh=*)
1004 sharedstatedir=$ac_optarg ;;
1006 -site | --site | --sit)
1007 ac_prev=site ;;
1008 -site=* | --site=* | --sit=*)
1009 site=$ac_optarg ;;
1011 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1012 ac_prev=srcdir ;;
1013 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1014 srcdir=$ac_optarg ;;
1016 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1017 | --syscon | --sysco | --sysc | --sys | --sy)
1018 ac_prev=sysconfdir ;;
1019 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1020 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1021 sysconfdir=$ac_optarg ;;
1023 -target | --target | --targe | --targ | --tar | --ta | --t)
1024 ac_prev=target_alias ;;
1025 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1026 target_alias=$ac_optarg ;;
1028 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1029 verbose=yes ;;
1031 -version | --version | --versio | --versi | --vers | -V)
1032 ac_init_version=: ;;
1034 -with-* | --with-*)
1035 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038 as_fn_error $? "invalid package name: $ac_useropt"
1039 ac_useropt_orig=$ac_useropt
1040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1042 *"
1043"with_$ac_useropt"
1044"*) ;;
1045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1046 ac_unrecognized_sep=', ';;
1047 esac
1048 eval with_$ac_useropt=\$ac_optarg ;;
1050 -without-* | --without-*)
1051 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1054 as_fn_error $? "invalid package name: $ac_useropt"
1055 ac_useropt_orig=$ac_useropt
1056 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057 case $ac_user_opts in
1058 *"
1059"with_$ac_useropt"
1060"*) ;;
1061 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1062 ac_unrecognized_sep=', ';;
1063 esac
1064 eval with_$ac_useropt=no ;;
1066 --x)
1067 # Obsolete; use --with-x.
1068 with_x=yes ;;
1070 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1071 | --x-incl | --x-inc | --x-in | --x-i)
1072 ac_prev=x_includes ;;
1073 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1074 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1075 x_includes=$ac_optarg ;;
1077 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1078 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1079 ac_prev=x_libraries ;;
1080 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1081 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1082 x_libraries=$ac_optarg ;;
1084 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1085Try \`$0 --help' for more information"
1086 ;;
1088 *=*)
1089 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1090 # Reject names that are not valid shell variable names.
1091 case $ac_envvar in #(
1092 '' | [0-9]* | *[!_$as_cr_alnum]* )
1093 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1094 esac
1095 eval $ac_envvar=\$ac_optarg
1096 export $ac_envvar ;;
1098 *)
1099 # FIXME: should be removed in autoconf 3.0.
1100 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1101 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1102 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1103 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1104 ;;
1106 esac
1107done
1109if test -n "$ac_prev"; then
1110 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1111 as_fn_error $? "missing argument to $ac_option"
1114if test -n "$ac_unrecognized_opts"; then
1115 case $enable_option_checking in
1116 no) ;;
1117 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1118 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1119 esac
1122# Check all directory arguments for consistency.
1123for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1124 datadir sysconfdir sharedstatedir localstatedir includedir \
1125 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1126 libdir localedir mandir runstatedir
1128 eval ac_val=\$$ac_var
1129 # Remove trailing slashes.
1130 case $ac_val in
1131 */ )
1132 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1133 eval $ac_var=\$ac_val;;
1134 esac
1135 # Be sure to have absolute directory names.
1136 case $ac_val in
1137 [\\/$]* | ?:[\\/]* ) continue;;
1138 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1139 esac
1140 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1141done
1143# There might be people who depend on the old broken behavior: `$host'
1144# used to hold the argument of --host etc.
1145# FIXME: To remove some day.
1146build=$build_alias
1147host=$host_alias
1148target=$target_alias
1150# FIXME: To remove some day.
1151if test "x$host_alias" != x; then
1152 if test "x$build_alias" = x; then
1153 cross_compiling=maybe
1154 elif test "x$build_alias" != "x$host_alias"; then
1155 cross_compiling=yes
1156 fi
1159ac_tool_prefix=
1160test -n "$host_alias" && ac_tool_prefix=$host_alias-
1162test "$silent" = yes && exec 6>/dev/null
1165ac_pwd=`pwd` && test -n "$ac_pwd" &&
1166ac_ls_di=`ls -di .` &&
1167ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1168 as_fn_error $? "working directory cannot be determined"
1169test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1170 as_fn_error $? "pwd does not report name of working directory"
1173# Find the source files, if location was not specified.
1174if test -z "$srcdir"; then
1175 ac_srcdir_defaulted=yes
1176 # Try the directory containing this script, then the parent directory.
1177 ac_confdir=`$as_dirname -- "$as_myself" ||
1178$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1179 X"$as_myself" : 'X\(//\)[^/]' \| \
1180 X"$as_myself" : 'X\(//\)$' \| \
1181 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1182$as_echo X"$as_myself" |
1183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1184 s//\1/
1187 /^X\(\/\/\)[^/].*/{
1188 s//\1/
1191 /^X\(\/\/\)$/{
1192 s//\1/
1195 /^X\(\/\).*/{
1196 s//\1/
1199 s/.*/./; q'`
1200 srcdir=$ac_confdir
1201 if test ! -r "$srcdir/$ac_unique_file"; then
1202 srcdir=..
1203 fi
1204else
1205 ac_srcdir_defaulted=no
1207if test ! -r "$srcdir/$ac_unique_file"; then
1208 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1209 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1211ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1212ac_abs_confdir=`(
1213 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1214 pwd)`
1215# When building in place, set srcdir=.
1216if test "$ac_abs_confdir" = "$ac_pwd"; then
1217 srcdir=.
1219# Remove unnecessary trailing slashes from srcdir.
1220# Double slashes in file names in object file debugging info
1221# mess up M-x gdb in Emacs.
1222case $srcdir in
1223*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1224esac
1225for ac_var in $ac_precious_vars; do
1226 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1227 eval ac_env_${ac_var}_value=\$${ac_var}
1228 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1229 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1230done
1233# Report the --help message.
1235if test "$ac_init_help" = "long"; then
1236 # Omit some internal or obsolete options to make the list less imposing.
1237 # This message is too long to be a string in the A/UX 3.1 sh.
1238 cat <<_ACEOF
1239\`configure' configures streamly 0.7.2 to adapt to many kinds of systems.
1241Usage: $0 [OPTION]... [VAR=VALUE]...
1243To assign environment variables (e.g., CC, CFLAGS...), specify them as
1244VAR=VALUE. See below for descriptions of some of the useful variables.
1246Defaults for the options are specified in brackets.
1248Configuration:
1249 -h, --help display this help and exit
1250 --help=short display options specific to this package
1251 --help=recursive display the short help of all the included packages
1252 -V, --version display version information and exit
1253 -q, --quiet, --silent do not print \`checking ...' messages
1254 --cache-file=FILE cache test results in FILE [disabled]
1255 -C, --config-cache alias for \`--cache-file=config.cache'
1256 -n, --no-create do not create output files
1257 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1259Installation directories:
1260 --prefix=PREFIX install architecture-independent files in PREFIX
1261 [$ac_default_prefix]
1262 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1263 [PREFIX]
1265By default, \`make install' will install all the files in
1266\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1267an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1268for instance \`--prefix=\$HOME'.
1270For better control, use the options below.
1272Fine tuning of the installation directories:
1273 --bindir=DIR user executables [EPREFIX/bin]
1274 --sbindir=DIR system admin executables [EPREFIX/sbin]
1275 --libexecdir=DIR program executables [EPREFIX/libexec]
1276 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1277 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1278 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1279 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1280 --libdir=DIR object code libraries [EPREFIX/lib]
1281 --includedir=DIR C header files [PREFIX/include]
1282 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1283 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1284 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1285 --infodir=DIR info documentation [DATAROOTDIR/info]
1286 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1287 --mandir=DIR man documentation [DATAROOTDIR/man]
1288 --docdir=DIR documentation root [DATAROOTDIR/doc/streamly]
1289 --htmldir=DIR html documentation [DOCDIR]
1290 --dvidir=DIR dvi documentation [DOCDIR]
1291 --pdfdir=DIR pdf documentation [DOCDIR]
1292 --psdir=DIR ps documentation [DOCDIR]
1293_ACEOF
1295 cat <<\_ACEOF
1296_ACEOF
1299if test -n "$ac_init_help"; then
1300 case $ac_init_help in
1301 short | recursive ) echo "Configuration of streamly 0.7.2:";;
1302 esac
1303 cat <<\_ACEOF
1305Optional Packages:
1306 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1307 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1308GHC
1310Some influential environment variables:
1311 CC C compiler command
1312 CFLAGS C compiler flags
1313 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1314 nonstandard directory <lib dir>
1315 LIBS libraries to pass to the linker, e.g. -l<library>
1316 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1317 you have headers in a nonstandard directory <include dir>
1318 CPP C preprocessor
1320Use these variables to override the choices made by `configure' or to help
1321it to find libraries and programs with nonstandard names/locations.
1323Report bugs to <streamly@composewell.com>.
1324_ACEOF
1325ac_status=$?
1328if test "$ac_init_help" = "recursive"; then
1329 # If there are subdirs, report their specific --help.
1330 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1331 test -d "$ac_dir" ||
1332 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1333 continue
1334 ac_builddir=.
1336case "$ac_dir" in
1337.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1339 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1340 # A ".." for each directory in $ac_dir_suffix.
1341 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1342 case $ac_top_builddir_sub in
1343 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1344 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1345 esac ;;
1346esac
1347ac_abs_top_builddir=$ac_pwd
1348ac_abs_builddir=$ac_pwd$ac_dir_suffix
1349# for backward compatibility:
1350ac_top_builddir=$ac_top_build_prefix
1352case $srcdir in
1353 .) # We are building in place.
1354 ac_srcdir=.
1355 ac_top_srcdir=$ac_top_builddir_sub
1356 ac_abs_top_srcdir=$ac_pwd ;;
1357 [\\/]* | ?:[\\/]* ) # Absolute name.
1358 ac_srcdir=$srcdir$ac_dir_suffix;
1359 ac_top_srcdir=$srcdir
1360 ac_abs_top_srcdir=$srcdir ;;
1361 *) # Relative name.
1362 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1363 ac_top_srcdir=$ac_top_build_prefix$srcdir
1364 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1365esac
1366ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1368 cd "$ac_dir" || { ac_status=$?; continue; }
1369 # Check for guested configure.
1370 if test -f "$ac_srcdir/configure.gnu"; then
1371 echo &&
1372 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1373 elif test -f "$ac_srcdir/configure"; then
1374 echo &&
1375 $SHELL "$ac_srcdir/configure" --help=recursive
1376 else
1377 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1378 fi || ac_status=$?
1379 cd "$ac_pwd" || { ac_status=$?; break; }
1380 done
1383test -n "$ac_init_help" && exit $ac_status
1384if $ac_init_version; then
1385 cat <<\_ACEOF
1386streamly configure 0.7.2
1387generated by GNU Autoconf 2.69
1389Copyright (C) 2012 Free Software Foundation, Inc.
1390This configure script is free software; the Free Software Foundation
1391gives unlimited permission to copy, distribute and modify it.
1392_ACEOF
1393 exit
1396## ------------------------ ##
1397## Autoconf initialization. ##
1398## ------------------------ ##
1400# ac_fn_c_try_compile LINENO
1401# --------------------------
1402# Try to compile conftest.$ac_ext, and return whether this succeeded.
1403ac_fn_c_try_compile ()
1405 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1406 rm -f conftest.$ac_objext
1407 if { { ac_try="$ac_compile"
1408case "(($ac_try" in
1409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1410 *) ac_try_echo=$ac_try;;
1411esac
1412eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1413$as_echo "$ac_try_echo"; } >&5
1414 (eval "$ac_compile") 2>conftest.err
1415 ac_status=$?
1416 if test -s conftest.err; then
1417 grep -v '^ *+' conftest.err >conftest.er1
1418 cat conftest.er1 >&5
1419 mv -f conftest.er1 conftest.err
1420 fi
1421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1422 test $ac_status = 0; } && {
1423 test -z "$ac_c_werror_flag" ||
1424 test ! -s conftest.err
1425 } && test -s conftest.$ac_objext; then :
1426 ac_retval=0
1427else
1428 $as_echo "$as_me: failed program was:" >&5
1429sed 's/^/| /' conftest.$ac_ext >&5
1431 ac_retval=1
1433 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1434 as_fn_set_status $ac_retval
1436} # ac_fn_c_try_compile
1438# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1439# ---------------------------------------------
1440# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1441# accordingly.
1442ac_fn_c_check_decl ()
1444 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1445 as_decl_name=`echo $2|sed 's/ *(.*//'`
1446 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1448$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1449if eval \${$3+:} false; then :
1450 $as_echo_n "(cached) " >&6
1451else
1452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1453/* end confdefs.h. */
1455int
1456main ()
1458#ifndef $as_decl_name
1459#ifdef __cplusplus
1460 (void) $as_decl_use;
1461#else
1462 (void) $as_decl_name;
1463#endif
1464#endif
1467 return 0;
1469_ACEOF
1470if ac_fn_c_try_compile "$LINENO"; then :
1471 eval "$3=yes"
1472else
1473 eval "$3=no"
1475rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1477eval ac_res=\$$3
1478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1479$as_echo "$ac_res" >&6; }
1480 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1482} # ac_fn_c_check_decl
1484# ac_fn_c_try_cpp LINENO
1485# ----------------------
1486# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1487ac_fn_c_try_cpp ()
1489 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1490 if { { ac_try="$ac_cpp conftest.$ac_ext"
1491case "(($ac_try" in
1492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1493 *) ac_try_echo=$ac_try;;
1494esac
1495eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1496$as_echo "$ac_try_echo"; } >&5
1497 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1498 ac_status=$?
1499 if test -s conftest.err; then
1500 grep -v '^ *+' conftest.err >conftest.er1
1501 cat conftest.er1 >&5
1502 mv -f conftest.er1 conftest.err
1503 fi
1504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1505 test $ac_status = 0; } > conftest.i && {
1506 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1507 test ! -s conftest.err
1508 }; then :
1509 ac_retval=0
1510else
1511 $as_echo "$as_me: failed program was:" >&5
1512sed 's/^/| /' conftest.$ac_ext >&5
1514 ac_retval=1
1516 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1517 as_fn_set_status $ac_retval
1519} # ac_fn_c_try_cpp
1521# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1522# -------------------------------------------------------
1523# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1524# the include files in INCLUDES and setting the cache variable VAR
1525# accordingly.
1526ac_fn_c_check_header_mongrel ()
1528 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1529 if eval \${$3+:} false; then :
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1531$as_echo_n "checking for $2... " >&6; }
1532if eval \${$3+:} false; then :
1533 $as_echo_n "(cached) " >&6
1535eval ac_res=\$$3
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1537$as_echo "$ac_res" >&6; }
1538else
1539 # Is the header compilable?
1540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1541$as_echo_n "checking $2 usability... " >&6; }
1542cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1543/* end confdefs.h. */
1545#include <$2>
1546_ACEOF
1547if ac_fn_c_try_compile "$LINENO"; then :
1548 ac_header_compiler=yes
1549else
1550 ac_header_compiler=no
1552rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1554$as_echo "$ac_header_compiler" >&6; }
1556# Is the header present?
1557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1558$as_echo_n "checking $2 presence... " >&6; }
1559cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1560/* end confdefs.h. */
1561#include <$2>
1562_ACEOF
1563if ac_fn_c_try_cpp "$LINENO"; then :
1564 ac_header_preproc=yes
1565else
1566 ac_header_preproc=no
1568rm -f conftest.err conftest.i conftest.$ac_ext
1569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1570$as_echo "$ac_header_preproc" >&6; }
1572# So? What about this header?
1573case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1574 yes:no: )
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1576$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1578$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1579 ;;
1580 no:yes:* )
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1582$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1584$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1586$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1588$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1590$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1591( $as_echo "## --------------------------------------- ##
1592## Report this to streamly@composewell.com ##
1593## --------------------------------------- ##"
1594 ) | sed "s/^/$as_me: WARNING: /" >&2
1595 ;;
1596esac
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1598$as_echo_n "checking for $2... " >&6; }
1599if eval \${$3+:} false; then :
1600 $as_echo_n "(cached) " >&6
1601else
1602 eval "$3=\$ac_header_compiler"
1604eval ac_res=\$$3
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1606$as_echo "$ac_res" >&6; }
1608 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1610} # ac_fn_c_check_header_mongrel
1612# ac_fn_c_try_run LINENO
1613# ----------------------
1614# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1615# that executables *can* be run.
1616ac_fn_c_try_run ()
1618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619 if { { ac_try="$ac_link"
1620case "(($ac_try" in
1621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1622 *) ac_try_echo=$ac_try;;
1623esac
1624eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625$as_echo "$ac_try_echo"; } >&5
1626 (eval "$ac_link") 2>&5
1627 ac_status=$?
1628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1629 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1630 { { case "(($ac_try" in
1631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1632 *) ac_try_echo=$ac_try;;
1633esac
1634eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635$as_echo "$ac_try_echo"; } >&5
1636 (eval "$ac_try") 2>&5
1637 ac_status=$?
1638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639 test $ac_status = 0; }; }; then :
1640 ac_retval=0
1641else
1642 $as_echo "$as_me: program exited with status $ac_status" >&5
1643 $as_echo "$as_me: failed program was:" >&5
1644sed 's/^/| /' conftest.$ac_ext >&5
1646 ac_retval=$ac_status
1648 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650 as_fn_set_status $ac_retval
1652} # ac_fn_c_try_run
1654# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1655# -------------------------------------------------------
1656# Tests whether HEADER exists and can be compiled using the include files in
1657# INCLUDES, setting the cache variable VAR accordingly.
1658ac_fn_c_check_header_compile ()
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662$as_echo_n "checking for $2... " >&6; }
1663if eval \${$3+:} false; then :
1664 $as_echo_n "(cached) " >&6
1665else
1666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667/* end confdefs.h. */
1669#include <$2>
1670_ACEOF
1671if ac_fn_c_try_compile "$LINENO"; then :
1672 eval "$3=yes"
1673else
1674 eval "$3=no"
1676rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1678eval ac_res=\$$3
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680$as_echo "$ac_res" >&6; }
1681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683} # ac_fn_c_check_header_compile
1685# ac_fn_c_try_link LINENO
1686# -----------------------
1687# Try to link conftest.$ac_ext, and return whether this succeeded.
1688ac_fn_c_try_link ()
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 rm -f conftest.$ac_objext conftest$ac_exeext
1692 if { { ac_try="$ac_link"
1693case "(($ac_try" in
1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1695 *) ac_try_echo=$ac_try;;
1696esac
1697eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698$as_echo "$ac_try_echo"; } >&5
1699 (eval "$ac_link") 2>conftest.err
1700 ac_status=$?
1701 if test -s conftest.err; then
1702 grep -v '^ *+' conftest.err >conftest.er1
1703 cat conftest.er1 >&5
1704 mv -f conftest.er1 conftest.err
1705 fi
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && {
1708 test -z "$ac_c_werror_flag" ||
1709 test ! -s conftest.err
1710 } && test -s conftest$ac_exeext && {
1711 test "$cross_compiling" = yes ||
1712 test -x conftest$ac_exeext
1713 }; then :
1714 ac_retval=0
1715else
1716 $as_echo "$as_me: failed program was:" >&5
1717sed 's/^/| /' conftest.$ac_ext >&5
1719 ac_retval=1
1721 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1722 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1723 # interfere with the next link command; also delete a directory that is
1724 # left behind by Apple's compiler. We do this before executing the actions.
1725 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727 as_fn_set_status $ac_retval
1729} # ac_fn_c_try_link
1731# ac_fn_c_check_func LINENO FUNC VAR
1732# ----------------------------------
1733# Tests whether FUNC exists, setting the cache variable VAR accordingly
1734ac_fn_c_check_func ()
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738$as_echo_n "checking for $2... " >&6; }
1739if eval \${$3+:} false; then :
1740 $as_echo_n "(cached) " >&6
1741else
1742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1743/* end confdefs.h. */
1744/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1746#define $2 innocuous_$2
1748/* System header to define __stub macros and hopefully few prototypes,
1749 which can conflict with char $2 (); below.
1750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1751 <limits.h> exists even on freestanding compilers. */
1753#ifdef __STDC__
1754# include <limits.h>
1755#else
1756# include <assert.h>
1757#endif
1759#undef $2
1761/* Override any GCC internal prototype to avoid an error.
1762 Use char because int might match the return type of a GCC
1763 builtin and then its argument prototype would still apply. */
1764#ifdef __cplusplus
1765extern "C"
1766#endif
1767char $2 ();
1768/* The GNU C library defines this for functions which it implements
1769 to always fail with ENOSYS. Some functions are actually named
1770 something starting with __ and the normal name is an alias. */
1771#if defined __stub_$2 || defined __stub___$2
1772choke me
1773#endif
1775int
1776main ()
1778return $2 ();
1780 return 0;
1782_ACEOF
1783if ac_fn_c_try_link "$LINENO"; then :
1784 eval "$3=yes"
1785else
1786 eval "$3=no"
1788rm -f core conftest.err conftest.$ac_objext \
1789 conftest$ac_exeext conftest.$ac_ext
1791eval ac_res=\$$3
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793$as_echo "$ac_res" >&6; }
1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796} # ac_fn_c_check_func
1797cat >config.log <<_ACEOF
1798This file contains any messages produced by compilers while
1799running configure, to aid debugging if configure makes a mistake.
1801It was created by streamly $as_me 0.7.2, which was
1802generated by GNU Autoconf 2.69. Invocation command line was
1804 $ $0 $@
1806_ACEOF
1807exec 5>>config.log
1809cat <<_ASUNAME
1810## --------- ##
1811## Platform. ##
1812## --------- ##
1814hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1815uname -m = `(uname -m) 2>/dev/null || echo unknown`
1816uname -r = `(uname -r) 2>/dev/null || echo unknown`
1817uname -s = `(uname -s) 2>/dev/null || echo unknown`
1818uname -v = `(uname -v) 2>/dev/null || echo unknown`
1820/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1821/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1823/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1824/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1825/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1826/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1827/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1828/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1829/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1831_ASUNAME
1833as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834for as_dir in $PATH
1836 IFS=$as_save_IFS
1837 test -z "$as_dir" && as_dir=.
1838 $as_echo "PATH: $as_dir"
1839 done
1840IFS=$as_save_IFS
1842} >&5
1844cat >&5 <<_ACEOF
1847## ----------- ##
1848## Core tests. ##
1849## ----------- ##
1851_ACEOF
1854# Keep a trace of the command line.
1855# Strip out --no-create and --no-recursion so they do not pile up.
1856# Strip out --silent because we don't want to record it for future runs.
1857# Also quote any args containing shell meta-characters.
1858# Make two passes to allow for proper duplicate-argument suppression.
1859ac_configure_args=
1860ac_configure_args0=
1861ac_configure_args1=
1862ac_must_keep_next=false
1863for ac_pass in 1 2
1865 for ac_arg
1866 do
1867 case $ac_arg in
1868 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1869 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1870 | -silent | --silent | --silen | --sile | --sil)
1871 continue ;;
1872 *\'*)
1873 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1874 esac
1875 case $ac_pass in
1876 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1877 2)
1878 as_fn_append ac_configure_args1 " '$ac_arg'"
1879 if test $ac_must_keep_next = true; then
1880 ac_must_keep_next=false # Got value, back to normal.
1881 else
1882 case $ac_arg in
1883 *=* | --config-cache | -C | -disable-* | --disable-* \
1884 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1885 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1886 | -with-* | --with-* | -without-* | --without-* | --x)
1887 case "$ac_configure_args0 " in
1888 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1889 esac
1890 ;;
1891 -* ) ac_must_keep_next=true ;;
1892 esac
1893 fi
1894 as_fn_append ac_configure_args " '$ac_arg'"
1895 ;;
1896 esac
1897 done
1898done
1899{ ac_configure_args0=; unset ac_configure_args0;}
1900{ ac_configure_args1=; unset ac_configure_args1;}
1902# When interrupted or exit'd, cleanup temporary files, and complete
1903# config.log. We remove comments because anyway the quotes in there
1904# would cause problems or look ugly.
1905# WARNING: Use '\'' to represent an apostrophe within the trap.
1906# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1907trap 'exit_status=$?
1908 # Save into config.log some information that might help in debugging.
1910 echo
1912 $as_echo "## ---------------- ##
1913## Cache variables. ##
1914## ---------------- ##"
1915 echo
1916 # The following way of writing the cache mishandles newlines in values,
1918 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1919 eval ac_val=\$$ac_var
1920 case $ac_val in #(
1921 *${as_nl}*)
1922 case $ac_var in #(
1923 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1924$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1925 esac
1926 case $ac_var in #(
1927 _ | IFS | as_nl) ;; #(
1928 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1929 *) { eval $ac_var=; unset $ac_var;} ;;
1930 esac ;;
1931 esac
1932 done
1933 (set) 2>&1 |
1934 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1935 *${as_nl}ac_space=\ *)
1936 sed -n \
1937 "s/'\''/'\''\\\\'\'''\''/g;
1938 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1939 ;; #(
1940 *)
1941 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1942 ;;
1943 esac |
1944 sort
1946 echo
1948 $as_echo "## ----------------- ##
1949## Output variables. ##
1950## ----------------- ##"
1951 echo
1952 for ac_var in $ac_subst_vars
1953 do
1954 eval ac_val=\$$ac_var
1955 case $ac_val in
1956 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1957 esac
1958 $as_echo "$ac_var='\''$ac_val'\''"
1959 done | sort
1960 echo
1962 if test -n "$ac_subst_files"; then
1963 $as_echo "## ------------------- ##
1964## File substitutions. ##
1965## ------------------- ##"
1966 echo
1967 for ac_var in $ac_subst_files
1968 do
1969 eval ac_val=\$$ac_var
1970 case $ac_val in
1971 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1972 esac
1973 $as_echo "$ac_var='\''$ac_val'\''"
1974 done | sort
1975 echo
1976 fi
1978 if test -s confdefs.h; then
1979 $as_echo "## ----------- ##
1980## confdefs.h. ##
1981## ----------- ##"
1982 echo
1983 cat confdefs.h
1984 echo
1985 fi
1986 test "$ac_signal" != 0 &&
1987 $as_echo "$as_me: caught signal $ac_signal"
1988 $as_echo "$as_me: exit $exit_status"
1989 } >&5
1990 rm -f core *.core core.conftest.* &&
1991 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1992 exit $exit_status
1993' 0
1994for ac_signal in 1 2 13 15; do
1995 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1996done
1997ac_signal=0
1999# confdefs.h avoids OS command line length limits that DEFS can exceed.
2000rm -f -r conftest* confdefs.h
2002$as_echo "/* confdefs.h */" > confdefs.h
2004# Predefined preprocessor variables.
2006cat >>confdefs.h <<_ACEOF
2007#define PACKAGE_NAME "$PACKAGE_NAME"
2008_ACEOF
2010cat >>confdefs.h <<_ACEOF
2011#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2012_ACEOF
2014cat >>confdefs.h <<_ACEOF
2015#define PACKAGE_VERSION "$PACKAGE_VERSION"
2016_ACEOF
2018cat >>confdefs.h <<_ACEOF
2019#define PACKAGE_STRING "$PACKAGE_STRING"
2020_ACEOF
2022cat >>confdefs.h <<_ACEOF
2023#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2024_ACEOF
2026cat >>confdefs.h <<_ACEOF
2027#define PACKAGE_URL "$PACKAGE_URL"
2028_ACEOF
2031# Let the site file select an alternate cache file if it wants to.
2032# Prefer an explicitly selected file to automatically selected ones.
2033ac_site_file1=NONE
2034ac_site_file2=NONE
2035if test -n "$CONFIG_SITE"; then
2036 # We do not want a PATH search for config.site.
2037 case $CONFIG_SITE in #((
2038 -*) ac_site_file1=./$CONFIG_SITE;;
2039 */*) ac_site_file1=$CONFIG_SITE;;
2040 *) ac_site_file1=./$CONFIG_SITE;;
2041 esac
2042elif test "x$prefix" != xNONE; then
2043 ac_site_file1=$prefix/share/config.site
2044 ac_site_file2=$prefix/etc/config.site
2045else
2046 ac_site_file1=$ac_default_prefix/share/config.site
2047 ac_site_file2=$ac_default_prefix/etc/config.site
2049for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2051 test "x$ac_site_file" = xNONE && continue
2052 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2054$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2055 sed 's/^/| /' "$ac_site_file" >&5
2056 . "$ac_site_file" \
2057 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2058$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2059as_fn_error $? "failed to load site script $ac_site_file
2060See \`config.log' for more details" "$LINENO" 5; }
2061 fi
2062done
2064if test -r "$cache_file"; then
2065 # Some versions of bash will fail to source /dev/null (special files
2066 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2067 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2069$as_echo "$as_me: loading cache $cache_file" >&6;}
2070 case $cache_file in
2071 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2072 *) . "./$cache_file";;
2073 esac
2074 fi
2075else
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2077$as_echo "$as_me: creating cache $cache_file" >&6;}
2078 >$cache_file
2081# Check that the precious variables saved in the cache have kept the same
2082# value.
2083ac_cache_corrupted=false
2084for ac_var in $ac_precious_vars; do
2085 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2086 eval ac_new_set=\$ac_env_${ac_var}_set
2087 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2088 eval ac_new_val=\$ac_env_${ac_var}_value
2089 case $ac_old_set,$ac_new_set in
2090 set,)
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2092$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2093 ac_cache_corrupted=: ;;
2094 ,set)
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2096$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2097 ac_cache_corrupted=: ;;
2098 ,);;
2099 *)
2100 if test "x$ac_old_val" != "x$ac_new_val"; then
2101 # differences in whitespace do not lead to failure.
2102 ac_old_val_w=`echo x $ac_old_val`
2103 ac_new_val_w=`echo x $ac_new_val`
2104 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2106$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2107 ac_cache_corrupted=:
2108 else
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2110$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2111 eval $ac_var=\$ac_old_val
2112 fi
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2114$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2116$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2117 fi;;
2118 esac
2119 # Pass precious variables to config.status.
2120 if test "$ac_new_set" = set; then
2121 case $ac_new_val in
2122 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2123 *) ac_arg=$ac_var=$ac_new_val ;;
2124 esac
2125 case " $ac_configure_args " in
2126 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2127 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2128 esac
2129 fi
2130done
2131if $ac_cache_corrupted; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2133$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2135$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2136 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2138## -------------------- ##
2139## Main body of script. ##
2140## -------------------- ##
2142ac_ext=c
2143ac_cpp='$CPP $CPPFLAGS'
2144ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2145ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2146ac_compiler_gnu=$ac_cv_c_compiler_gnu
2150# To suppress "WARNING: unrecognized options: --with-compiler"
2152# Check whether --with-compiler was given.
2153if test "${with_compiler+set}" = set; then :
2154 withval=$with_compiler;
2158# XXX Do this only for linux
2159ac_ext=c
2160ac_cpp='$CPP $CPPFLAGS'
2161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2162ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2163ac_compiler_gnu=$ac_cv_c_compiler_gnu
2164if test -n "$ac_tool_prefix"; then
2165 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2166set dummy ${ac_tool_prefix}gcc; ac_word=$2
2167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2168$as_echo_n "checking for $ac_word... " >&6; }
2169if ${ac_cv_prog_CC+:} false; then :
2170 $as_echo_n "(cached) " >&6
2171else
2172 if test -n "$CC"; then
2173 ac_cv_prog_CC="$CC" # Let the user override the test.
2174else
2175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2176for as_dir in $PATH
2178 IFS=$as_save_IFS
2179 test -z "$as_dir" && as_dir=.
2180 for ac_exec_ext in '' $ac_executable_extensions; do
2181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2182 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2184 break 2
2185 fi
2186done
2187 done
2188IFS=$as_save_IFS
2192CC=$ac_cv_prog_CC
2193if test -n "$CC"; then
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2195$as_echo "$CC" >&6; }
2196else
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2198$as_echo "no" >&6; }
2203if test -z "$ac_cv_prog_CC"; then
2204 ac_ct_CC=$CC
2205 # Extract the first word of "gcc", so it can be a program name with args.
2206set dummy gcc; ac_word=$2
2207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2208$as_echo_n "checking for $ac_word... " >&6; }
2209if ${ac_cv_prog_ac_ct_CC+:} false; then :
2210 $as_echo_n "(cached) " >&6
2211else
2212 if test -n "$ac_ct_CC"; then
2213 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2214else
2215as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2216for as_dir in $PATH
2218 IFS=$as_save_IFS
2219 test -z "$as_dir" && as_dir=.
2220 for ac_exec_ext in '' $ac_executable_extensions; do
2221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2222 ac_cv_prog_ac_ct_CC="gcc"
2223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2224 break 2
2225 fi
2226done
2227 done
2228IFS=$as_save_IFS
2232ac_ct_CC=$ac_cv_prog_ac_ct_CC
2233if test -n "$ac_ct_CC"; then
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2235$as_echo "$ac_ct_CC" >&6; }
2236else
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2238$as_echo "no" >&6; }
2241 if test "x$ac_ct_CC" = x; then
2242 CC=""
2243 else
2244 case $cross_compiling:$ac_tool_warned in
2245yes:)
2246{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2247$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2248ac_tool_warned=yes ;;
2249esac
2250 CC=$ac_ct_CC
2251 fi
2252else
2253 CC="$ac_cv_prog_CC"
2256if test -z "$CC"; then
2257 if test -n "$ac_tool_prefix"; then
2258 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2259set dummy ${ac_tool_prefix}cc; ac_word=$2
2260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2261$as_echo_n "checking for $ac_word... " >&6; }
2262if ${ac_cv_prog_CC+:} false; then :
2263 $as_echo_n "(cached) " >&6
2264else
2265 if test -n "$CC"; then
2266 ac_cv_prog_CC="$CC" # Let the user override the test.
2267else
2268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269for as_dir in $PATH
2271 IFS=$as_save_IFS
2272 test -z "$as_dir" && as_dir=.
2273 for ac_exec_ext in '' $ac_executable_extensions; do
2274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2275 ac_cv_prog_CC="${ac_tool_prefix}cc"
2276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2277 break 2
2278 fi
2279done
2280 done
2281IFS=$as_save_IFS
2285CC=$ac_cv_prog_CC
2286if test -n "$CC"; then
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2288$as_echo "$CC" >&6; }
2289else
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2291$as_echo "no" >&6; }
2295 fi
2297if test -z "$CC"; then
2298 # Extract the first word of "cc", so it can be a program name with args.
2299set dummy cc; ac_word=$2
2300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2301$as_echo_n "checking for $ac_word... " >&6; }
2302if ${ac_cv_prog_CC+:} false; then :
2303 $as_echo_n "(cached) " >&6
2304else
2305 if test -n "$CC"; then
2306 ac_cv_prog_CC="$CC" # Let the user override the test.
2307else
2308 ac_prog_rejected=no
2309as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310for as_dir in $PATH
2312 IFS=$as_save_IFS
2313 test -z "$as_dir" && as_dir=.
2314 for ac_exec_ext in '' $ac_executable_extensions; do
2315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2316 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2317 ac_prog_rejected=yes
2318 continue
2319 fi
2320 ac_cv_prog_CC="cc"
2321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2322 break 2
2323 fi
2324done
2325 done
2326IFS=$as_save_IFS
2328if test $ac_prog_rejected = yes; then
2329 # We found a bogon in the path, so make sure we never use it.
2330 set dummy $ac_cv_prog_CC
2331 shift
2332 if test $# != 0; then
2333 # We chose a different compiler from the bogus one.
2334 # However, it has the same basename, so the bogon will be chosen
2335 # first if we set CC to just the basename; use the full file name.
2336 shift
2337 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2338 fi
2342CC=$ac_cv_prog_CC
2343if test -n "$CC"; then
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2345$as_echo "$CC" >&6; }
2346else
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2348$as_echo "no" >&6; }
2353if test -z "$CC"; then
2354 if test -n "$ac_tool_prefix"; then
2355 for ac_prog in cl.exe
2356 do
2357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2358set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2360$as_echo_n "checking for $ac_word... " >&6; }
2361if ${ac_cv_prog_CC+:} false; then :
2362 $as_echo_n "(cached) " >&6
2363else
2364 if test -n "$CC"; then
2365 ac_cv_prog_CC="$CC" # Let the user override the test.
2366else
2367as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368for as_dir in $PATH
2370 IFS=$as_save_IFS
2371 test -z "$as_dir" && as_dir=.
2372 for ac_exec_ext in '' $ac_executable_extensions; do
2373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2374 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 break 2
2377 fi
2378done
2379 done
2380IFS=$as_save_IFS
2384CC=$ac_cv_prog_CC
2385if test -n "$CC"; then
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2387$as_echo "$CC" >&6; }
2388else
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2390$as_echo "no" >&6; }
2394 test -n "$CC" && break
2395 done
2397if test -z "$CC"; then
2398 ac_ct_CC=$CC
2399 for ac_prog in cl.exe
2401 # Extract the first word of "$ac_prog", so it can be a program name with args.
2402set dummy $ac_prog; ac_word=$2
2403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2404$as_echo_n "checking for $ac_word... " >&6; }
2405if ${ac_cv_prog_ac_ct_CC+:} false; then :
2406 $as_echo_n "(cached) " >&6
2407else
2408 if test -n "$ac_ct_CC"; then
2409 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2410else
2411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412for as_dir in $PATH
2414 IFS=$as_save_IFS
2415 test -z "$as_dir" && as_dir=.
2416 for ac_exec_ext in '' $ac_executable_extensions; do
2417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2418 ac_cv_prog_ac_ct_CC="$ac_prog"
2419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2420 break 2
2421 fi
2422done
2423 done
2424IFS=$as_save_IFS
2428ac_ct_CC=$ac_cv_prog_ac_ct_CC
2429if test -n "$ac_ct_CC"; then
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2431$as_echo "$ac_ct_CC" >&6; }
2432else
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2434$as_echo "no" >&6; }
2438 test -n "$ac_ct_CC" && break
2439done
2441 if test "x$ac_ct_CC" = x; then
2442 CC=""
2443 else
2444 case $cross_compiling:$ac_tool_warned in
2445yes:)
2446{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2447$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2448ac_tool_warned=yes ;;
2449esac
2450 CC=$ac_ct_CC
2451 fi
2457test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2458$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2459as_fn_error $? "no acceptable C compiler found in \$PATH
2460See \`config.log' for more details" "$LINENO" 5; }
2462# Provide some information about the compiler.
2463$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2464set X $ac_compile
2465ac_compiler=$2
2466for ac_option in --version -v -V -qversion; do
2467 { { ac_try="$ac_compiler $ac_option >&5"
2468case "(($ac_try" in
2469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2471esac
2472eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2473$as_echo "$ac_try_echo"; } >&5
2474 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2475 ac_status=$?
2476 if test -s conftest.err; then
2477 sed '10a\
2478... rest of stderr output deleted ...
2479 10q' conftest.err >conftest.er1
2480 cat conftest.er1 >&5
2481 fi
2482 rm -f conftest.er1 conftest.err
2483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2484 test $ac_status = 0; }
2485done
2487cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2488/* end confdefs.h. */
2490int
2491main ()
2495 return 0;
2497_ACEOF
2498ac_clean_files_save=$ac_clean_files
2499ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2500# Try to create an executable without -o first, disregard a.out.
2501# It will help us diagnose broken compilers, and finding out an intuition
2502# of exeext.
2503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2504$as_echo_n "checking whether the C compiler works... " >&6; }
2505ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2507# The possible output files:
2508ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2510ac_rmfiles=
2511for ac_file in $ac_files
2513 case $ac_file in
2514 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2515 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2516 esac
2517done
2518rm -f $ac_rmfiles
2520if { { ac_try="$ac_link_default"
2521case "(($ac_try" in
2522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523 *) ac_try_echo=$ac_try;;
2524esac
2525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2526$as_echo "$ac_try_echo"; } >&5
2527 (eval "$ac_link_default") 2>&5
2528 ac_status=$?
2529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2530 test $ac_status = 0; }; then :
2531 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2532# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2533# in a Makefile. We should not override ac_cv_exeext if it was cached,
2534# so that the user can short-circuit this test for compilers unknown to
2535# Autoconf.
2536for ac_file in $ac_files ''
2538 test -f "$ac_file" || continue
2539 case $ac_file in
2540 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2541 ;;
2542 [ab].out )
2543 # We found the default executable, but exeext='' is most
2544 # certainly right.
2545 break;;
2546 *.* )
2547 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2548 then :; else
2549 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2550 fi
2551 # We set ac_cv_exeext here because the later test for it is not
2552 # safe: cross compilers may not add the suffix if given an `-o'
2553 # argument, so we may need to know it at that point already.
2554 # Even if this section looks crufty: it has the advantage of
2555 # actually working.
2556 break;;
2557 * )
2558 break;;
2559 esac
2560done
2561test "$ac_cv_exeext" = no && ac_cv_exeext=
2563else
2564 ac_file=''
2566if test -z "$ac_file"; then :
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2568$as_echo "no" >&6; }
2569$as_echo "$as_me: failed program was:" >&5
2570sed 's/^/| /' conftest.$ac_ext >&5
2572{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2573$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2574as_fn_error 77 "C compiler cannot create executables
2575See \`config.log' for more details" "$LINENO" 5; }
2576else
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2578$as_echo "yes" >&6; }
2580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2581$as_echo_n "checking for C compiler default output file name... " >&6; }
2582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2583$as_echo "$ac_file" >&6; }
2584ac_exeext=$ac_cv_exeext
2586rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2587ac_clean_files=$ac_clean_files_save
2588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2589$as_echo_n "checking for suffix of executables... " >&6; }
2590if { { ac_try="$ac_link"
2591case "(($ac_try" in
2592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2593 *) ac_try_echo=$ac_try;;
2594esac
2595eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2596$as_echo "$ac_try_echo"; } >&5
2597 (eval "$ac_link") 2>&5
2598 ac_status=$?
2599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2600 test $ac_status = 0; }; then :
2601 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2602# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2603# work properly (i.e., refer to `conftest.exe'), while it won't with
2604# `rm'.
2605for ac_file in conftest.exe conftest conftest.*; do
2606 test -f "$ac_file" || continue
2607 case $ac_file in
2608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2609 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2610 break;;
2611 * ) break;;
2612 esac
2613done
2614else
2615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2616$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2617as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2618See \`config.log' for more details" "$LINENO" 5; }
2620rm -f conftest conftest$ac_cv_exeext
2621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2622$as_echo "$ac_cv_exeext" >&6; }
2624rm -f conftest.$ac_ext
2625EXEEXT=$ac_cv_exeext
2626ac_exeext=$EXEEXT
2627cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2628/* end confdefs.h. */
2629#include <stdio.h>
2630int
2631main ()
2633FILE *f = fopen ("conftest.out", "w");
2634 return ferror (f) || fclose (f) != 0;
2637 return 0;
2639_ACEOF
2640ac_clean_files="$ac_clean_files conftest.out"
2641# Check that the compiler produces executables we can run. If not, either
2642# the compiler is broken, or we cross compile.
2643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2644$as_echo_n "checking whether we are cross compiling... " >&6; }
2645if test "$cross_compiling" != yes; then
2646 { { ac_try="$ac_link"
2647case "(($ac_try" in
2648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2649 *) ac_try_echo=$ac_try;;
2650esac
2651eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2652$as_echo "$ac_try_echo"; } >&5
2653 (eval "$ac_link") 2>&5
2654 ac_status=$?
2655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2656 test $ac_status = 0; }
2657 if { ac_try='./conftest$ac_cv_exeext'
2658 { { case "(($ac_try" in
2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660 *) ac_try_echo=$ac_try;;
2661esac
2662eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2663$as_echo "$ac_try_echo"; } >&5
2664 (eval "$ac_try") 2>&5
2665 ac_status=$?
2666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2667 test $ac_status = 0; }; }; then
2668 cross_compiling=no
2669 else
2670 if test "$cross_compiling" = maybe; then
2671 cross_compiling=yes
2672 else
2673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2674$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2675as_fn_error $? "cannot run C compiled programs.
2676If you meant to cross compile, use \`--host'.
2677See \`config.log' for more details" "$LINENO" 5; }
2678 fi
2679 fi
2681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2682$as_echo "$cross_compiling" >&6; }
2684rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2685ac_clean_files=$ac_clean_files_save
2686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2687$as_echo_n "checking for suffix of object files... " >&6; }
2688if ${ac_cv_objext+:} false; then :
2689 $as_echo_n "(cached) " >&6
2690else
2691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2692/* end confdefs.h. */
2694int
2695main ()
2699 return 0;
2701_ACEOF
2702rm -f conftest.o conftest.obj
2703if { { ac_try="$ac_compile"
2704case "(($ac_try" in
2705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2706 *) ac_try_echo=$ac_try;;
2707esac
2708eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2709$as_echo "$ac_try_echo"; } >&5
2710 (eval "$ac_compile") 2>&5
2711 ac_status=$?
2712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2713 test $ac_status = 0; }; then :
2714 for ac_file in conftest.o conftest.obj conftest.*; do
2715 test -f "$ac_file" || continue;
2716 case $ac_file in
2717 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2718 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2719 break;;
2720 esac
2721done
2722else
2723 $as_echo "$as_me: failed program was:" >&5
2724sed 's/^/| /' conftest.$ac_ext >&5
2726{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2727$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2728as_fn_error $? "cannot compute suffix of object files: cannot compile
2729See \`config.log' for more details" "$LINENO" 5; }
2731rm -f conftest.$ac_cv_objext conftest.$ac_ext
2733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2734$as_echo "$ac_cv_objext" >&6; }
2735OBJEXT=$ac_cv_objext
2736ac_objext=$OBJEXT
2737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2738$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2739if ${ac_cv_c_compiler_gnu+:} false; then :
2740 $as_echo_n "(cached) " >&6
2741else
2742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2743/* end confdefs.h. */
2745int
2746main ()
2748#ifndef __GNUC__
2749 choke me
2750#endif
2753 return 0;
2755_ACEOF
2756if ac_fn_c_try_compile "$LINENO"; then :
2757 ac_compiler_gnu=yes
2758else
2759 ac_compiler_gnu=no
2761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2762ac_cv_c_compiler_gnu=$ac_compiler_gnu
2765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2766$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2767if test $ac_compiler_gnu = yes; then
2768 GCC=yes
2769else
2770 GCC=
2772ac_test_CFLAGS=${CFLAGS+set}
2773ac_save_CFLAGS=$CFLAGS
2774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2775$as_echo_n "checking whether $CC accepts -g... " >&6; }
2776if ${ac_cv_prog_cc_g+:} false; then :
2777 $as_echo_n "(cached) " >&6
2778else
2779 ac_save_c_werror_flag=$ac_c_werror_flag
2780 ac_c_werror_flag=yes
2781 ac_cv_prog_cc_g=no
2782 CFLAGS="-g"
2783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2784/* end confdefs.h. */
2786int
2787main ()
2791 return 0;
2793_ACEOF
2794if ac_fn_c_try_compile "$LINENO"; then :
2795 ac_cv_prog_cc_g=yes
2796else
2797 CFLAGS=""
2798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2799/* end confdefs.h. */
2801int
2802main ()
2806 return 0;
2808_ACEOF
2809if ac_fn_c_try_compile "$LINENO"; then :
2811else
2812 ac_c_werror_flag=$ac_save_c_werror_flag
2813 CFLAGS="-g"
2814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2815/* end confdefs.h. */
2817int
2818main ()
2822 return 0;
2824_ACEOF
2825if ac_fn_c_try_compile "$LINENO"; then :
2826 ac_cv_prog_cc_g=yes
2828rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2833 ac_c_werror_flag=$ac_save_c_werror_flag
2835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2836$as_echo "$ac_cv_prog_cc_g" >&6; }
2837if test "$ac_test_CFLAGS" = set; then
2838 CFLAGS=$ac_save_CFLAGS
2839elif test $ac_cv_prog_cc_g = yes; then
2840 if test "$GCC" = yes; then
2841 CFLAGS="-g -O2"
2842 else
2843 CFLAGS="-g"
2844 fi
2845else
2846 if test "$GCC" = yes; then
2847 CFLAGS="-O2"
2848 else
2849 CFLAGS=
2850 fi
2852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2853$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2854if ${ac_cv_prog_cc_c89+:} false; then :
2855 $as_echo_n "(cached) " >&6
2856else
2857 ac_cv_prog_cc_c89=no
2858ac_save_CC=$CC
2859cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2860/* end confdefs.h. */
2861#include <stdarg.h>
2862#include <stdio.h>
2863struct stat;
2864/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2865struct buf { int x; };
2866FILE * (*rcsopen) (struct buf *, struct stat *, int);
2867static char *e (p, i)
2868 char **p;
2869 int i;
2871 return p[i];
2873static char *f (char * (*g) (char **, int), char **p, ...)
2875 char *s;
2876 va_list v;
2877 va_start (v,p);
2878 s = g (p, va_arg (v,int));
2879 va_end (v);
2880 return s;
2883/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2884 function prototypes and stuff, but not '\xHH' hex character constants.
2885 These don't provoke an error unfortunately, instead are silently treated
2886 as 'x'. The following induces an error, until -std is added to get
2887 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2888 array size at least. It's necessary to write '\x00'==0 to get something
2889 that's true only with -std. */
2890int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2892/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2893 inside strings and character constants. */
2894#define FOO(x) 'x'
2895int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2897int test (int i, double x);
2898struct s1 {int (*f) (int a);};
2899struct s2 {int (*f) (double a);};
2900int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2901int argc;
2902char **argv;
2903int
2904main ()
2906return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2908 return 0;
2910_ACEOF
2911for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2912 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2914 CC="$ac_save_CC $ac_arg"
2915 if ac_fn_c_try_compile "$LINENO"; then :
2916 ac_cv_prog_cc_c89=$ac_arg
2918rm -f core conftest.err conftest.$ac_objext
2919 test "x$ac_cv_prog_cc_c89" != "xno" && break
2920done
2921rm -f conftest.$ac_ext
2922CC=$ac_save_CC
2925# AC_CACHE_VAL
2926case "x$ac_cv_prog_cc_c89" in
2927 x)
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2929$as_echo "none needed" >&6; } ;;
2930 xno)
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2932$as_echo "unsupported" >&6; } ;;
2933 *)
2934 CC="$CC $ac_cv_prog_cc_c89"
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2936$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2937esac
2938if test "x$ac_cv_prog_cc_c89" != xno; then :
2942ac_ext=c
2943ac_cpp='$CPP $CPPFLAGS'
2944ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2945ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2946ac_compiler_gnu=$ac_cv_c_compiler_gnu
2949ac_fn_c_check_decl "$LINENO" "IN_MASK_CREATE" "ac_cv_have_decl_IN_MASK_CREATE" "#include <sys/inotify.h>
2951if test "x$ac_cv_have_decl_IN_MASK_CREATE" = xyes; then :
2952 ac_have_decl=1
2953else
2954 ac_have_decl=0
2957cat >>confdefs.h <<_ACEOF
2958#define HAVE_DECL_IN_MASK_CREATE $ac_have_decl
2959_ACEOF
2961ac_fn_c_check_decl "$LINENO" "IN_EXCL_UNLINK" "ac_cv_have_decl_IN_EXCL_UNLINK" "#include <sys/inotify.h>
2963if test "x$ac_cv_have_decl_IN_EXCL_UNLINK" = xyes; then :
2964 ac_have_decl=1
2965else
2966 ac_have_decl=0
2969cat >>confdefs.h <<_ACEOF
2970#define HAVE_DECL_IN_EXCL_UNLINK $ac_have_decl
2971_ACEOF
2974# XXX Do this only for macOS
2975ac_fn_c_check_decl "$LINENO" "kFSEventStreamCreateFlagFileEvents" "ac_cv_have_decl_kFSEventStreamCreateFlagFileEvents" "#include <CoreServices/CoreServices.h>
2977if test "x$ac_cv_have_decl_kFSEventStreamCreateFlagFileEvents" = xyes; then :
2978 ac_have_decl=1
2979else
2980 ac_have_decl=0
2983cat >>confdefs.h <<_ACEOF
2984#define HAVE_DECL_KFSEVENTSTREAMCREATEFLAGFILEEVENTS $ac_have_decl
2985_ACEOF
2987ac_fn_c_check_decl "$LINENO" "kFSEventStreamCreateFlagFullHistory" "ac_cv_have_decl_kFSEventStreamCreateFlagFullHistory" "#include <CoreServices/CoreServices.h>
2989if test "x$ac_cv_have_decl_kFSEventStreamCreateFlagFullHistory" = xyes; then :
2990 ac_have_decl=1
2991else
2992 ac_have_decl=0
2995cat >>confdefs.h <<_ACEOF
2996#define HAVE_DECL_KFSEVENTSTREAMCREATEFLAGFULLHISTORY $ac_have_decl
2997_ACEOF
2999ac_fn_c_check_decl "$LINENO" "kFSEventStreamEventFlagItemCloned" "ac_cv_have_decl_kFSEventStreamEventFlagItemCloned" "#include <CoreServices/CoreServices.h>
3001if test "x$ac_cv_have_decl_kFSEventStreamEventFlagItemCloned" = xyes; then :
3002 ac_have_decl=1
3003else
3004 ac_have_decl=0
3007cat >>confdefs.h <<_ACEOF
3008#define HAVE_DECL_KFSEVENTSTREAMEVENTFLAGITEMCLONED $ac_have_decl
3009_ACEOF
3011ac_fn_c_check_decl "$LINENO" "kFSEventStreamEventFlagItemIsHardlink" "ac_cv_have_decl_kFSEventStreamEventFlagItemIsHardlink" "#include <CoreServices/CoreServices.h>
3013if test "x$ac_cv_have_decl_kFSEventStreamEventFlagItemIsHardlink" = xyes; then :
3014 ac_have_decl=1
3015else
3016 ac_have_decl=0
3019cat >>confdefs.h <<_ACEOF
3020#define HAVE_DECL_KFSEVENTSTREAMEVENTFLAGITEMISHARDLINK $ac_have_decl
3021_ACEOF
3024# Check headers and functions required
3025ac_ext=c
3026ac_cpp='$CPP $CPPFLAGS'
3027ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3028ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3029ac_compiler_gnu=$ac_cv_c_compiler_gnu
3030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3031$as_echo_n "checking how to run the C preprocessor... " >&6; }
3032# On Suns, sometimes $CPP names a directory.
3033if test -n "$CPP" && test -d "$CPP"; then
3034 CPP=
3036if test -z "$CPP"; then
3037 if ${ac_cv_prog_CPP+:} false; then :
3038 $as_echo_n "(cached) " >&6
3039else
3040 # Double quotes because CPP needs to be expanded
3041 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3042 do
3043 ac_preproc_ok=false
3044for ac_c_preproc_warn_flag in '' yes
3046 # Use a header file that comes with gcc, so configuring glibc
3047 # with a fresh cross-compiler works.
3048 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3049 # <limits.h> exists even on freestanding compilers.
3050 # On the NeXT, cc -E runs the code through the compiler's parser,
3051 # not just through cpp. "Syntax error" is here to catch this case.
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053/* end confdefs.h. */
3054#ifdef __STDC__
3055# include <limits.h>
3056#else
3057# include <assert.h>
3058#endif
3059 Syntax error
3060_ACEOF
3061if ac_fn_c_try_cpp "$LINENO"; then :
3063else
3064 # Broken: fails on valid input.
3065continue
3067rm -f conftest.err conftest.i conftest.$ac_ext
3069 # OK, works on sane cases. Now check whether nonexistent headers
3070 # can be detected and how.
3071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3072/* end confdefs.h. */
3073#include <ac_nonexistent.h>
3074_ACEOF
3075if ac_fn_c_try_cpp "$LINENO"; then :
3076 # Broken: success on invalid input.
3077continue
3078else
3079 # Passes both tests.
3080ac_preproc_ok=:
3081break
3083rm -f conftest.err conftest.i conftest.$ac_ext
3085done
3086# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3087rm -f conftest.i conftest.err conftest.$ac_ext
3088if $ac_preproc_ok; then :
3089 break
3092 done
3093 ac_cv_prog_CPP=$CPP
3096 CPP=$ac_cv_prog_CPP
3097else
3098 ac_cv_prog_CPP=$CPP
3100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3101$as_echo "$CPP" >&6; }
3102ac_preproc_ok=false
3103for ac_c_preproc_warn_flag in '' yes
3105 # Use a header file that comes with gcc, so configuring glibc
3106 # with a fresh cross-compiler works.
3107 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3108 # <limits.h> exists even on freestanding compilers.
3109 # On the NeXT, cc -E runs the code through the compiler's parser,
3110 # not just through cpp. "Syntax error" is here to catch this case.
3111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3112/* end confdefs.h. */
3113#ifdef __STDC__
3114# include <limits.h>
3115#else
3116# include <assert.h>
3117#endif
3118 Syntax error
3119_ACEOF
3120if ac_fn_c_try_cpp "$LINENO"; then :
3122else
3123 # Broken: fails on valid input.
3124continue
3126rm -f conftest.err conftest.i conftest.$ac_ext
3128 # OK, works on sane cases. Now check whether nonexistent headers
3129 # can be detected and how.
3130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3131/* end confdefs.h. */
3132#include <ac_nonexistent.h>
3133_ACEOF
3134if ac_fn_c_try_cpp "$LINENO"; then :
3135 # Broken: success on invalid input.
3136continue
3137else
3138 # Passes both tests.
3139ac_preproc_ok=:
3140break
3142rm -f conftest.err conftest.i conftest.$ac_ext
3144done
3145# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3146rm -f conftest.i conftest.err conftest.$ac_ext
3147if $ac_preproc_ok; then :
3149else
3150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3151$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3152as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3153See \`config.log' for more details" "$LINENO" 5; }
3156ac_ext=c
3157ac_cpp='$CPP $CPPFLAGS'
3158ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3159ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3160ac_compiler_gnu=$ac_cv_c_compiler_gnu
3163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3164$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3165if ${ac_cv_path_GREP+:} false; then :
3166 $as_echo_n "(cached) " >&6
3167else
3168 if test -z "$GREP"; then
3169 ac_path_GREP_found=false
3170 # Loop through the user's path and test for each of PROGNAME-LIST
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3174 IFS=$as_save_IFS
3175 test -z "$as_dir" && as_dir=.
3176 for ac_prog in grep ggrep; do
3177 for ac_exec_ext in '' $ac_executable_extensions; do
3178 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3179 as_fn_executable_p "$ac_path_GREP" || continue
3180# Check for GNU ac_path_GREP and select it if it is found.
3181 # Check for GNU $ac_path_GREP
3182case `"$ac_path_GREP" --version 2>&1` in
3183*GNU*)
3184 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3186 ac_count=0
3187 $as_echo_n 0123456789 >"conftest.in"
3188 while :
3189 do
3190 cat "conftest.in" "conftest.in" >"conftest.tmp"
3191 mv "conftest.tmp" "conftest.in"
3192 cp "conftest.in" "conftest.nl"
3193 $as_echo 'GREP' >> "conftest.nl"
3194 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3195 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3196 as_fn_arith $ac_count + 1 && ac_count=$as_val
3197 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3198 # Best one so far, save it but keep looking for a better one
3199 ac_cv_path_GREP="$ac_path_GREP"
3200 ac_path_GREP_max=$ac_count
3201 fi
3202 # 10*(2^10) chars as input seems more than enough
3203 test $ac_count -gt 10 && break
3204 done
3205 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3206esac
3208 $ac_path_GREP_found && break 3
3209 done
3210 done
3211 done
3212IFS=$as_save_IFS
3213 if test -z "$ac_cv_path_GREP"; then
3214 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3215 fi
3216else
3217 ac_cv_path_GREP=$GREP
3221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3222$as_echo "$ac_cv_path_GREP" >&6; }
3223 GREP="$ac_cv_path_GREP"
3226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3227$as_echo_n "checking for egrep... " >&6; }
3228if ${ac_cv_path_EGREP+:} false; then :
3229 $as_echo_n "(cached) " >&6
3230else
3231 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3232 then ac_cv_path_EGREP="$GREP -E"
3233 else
3234 if test -z "$EGREP"; then
3235 ac_path_EGREP_found=false
3236 # Loop through the user's path and test for each of PROGNAME-LIST
3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3240 IFS=$as_save_IFS
3241 test -z "$as_dir" && as_dir=.
3242 for ac_prog in egrep; do
3243 for ac_exec_ext in '' $ac_executable_extensions; do
3244 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3245 as_fn_executable_p "$ac_path_EGREP" || continue
3246# Check for GNU ac_path_EGREP and select it if it is found.
3247 # Check for GNU $ac_path_EGREP
3248case `"$ac_path_EGREP" --version 2>&1` in
3249*GNU*)
3250 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3252 ac_count=0
3253 $as_echo_n 0123456789 >"conftest.in"
3254 while :
3255 do
3256 cat "conftest.in" "conftest.in" >"conftest.tmp"
3257 mv "conftest.tmp" "conftest.in"
3258 cp "conftest.in" "conftest.nl"
3259 $as_echo 'EGREP' >> "conftest.nl"
3260 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3261 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3262 as_fn_arith $ac_count + 1 && ac_count=$as_val
3263 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3264 # Best one so far, save it but keep looking for a better one
3265 ac_cv_path_EGREP="$ac_path_EGREP"
3266 ac_path_EGREP_max=$ac_count
3267 fi
3268 # 10*(2^10) chars as input seems more than enough
3269 test $ac_count -gt 10 && break
3270 done
3271 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3272esac
3274 $ac_path_EGREP_found && break 3
3275 done
3276 done
3277 done
3278IFS=$as_save_IFS
3279 if test -z "$ac_cv_path_EGREP"; then
3280 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3281 fi
3282else
3283 ac_cv_path_EGREP=$EGREP
3286 fi
3288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3289$as_echo "$ac_cv_path_EGREP" >&6; }
3290 EGREP="$ac_cv_path_EGREP"
3293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3294$as_echo_n "checking for ANSI C header files... " >&6; }
3295if ${ac_cv_header_stdc+:} false; then :
3296 $as_echo_n "(cached) " >&6
3297else
3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299/* end confdefs.h. */
3300#include <stdlib.h>
3301#include <stdarg.h>
3302#include <string.h>
3303#include <float.h>
3305int
3306main ()
3310 return 0;
3312_ACEOF
3313if ac_fn_c_try_compile "$LINENO"; then :
3314 ac_cv_header_stdc=yes
3315else
3316 ac_cv_header_stdc=no
3318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3320if test $ac_cv_header_stdc = yes; then
3321 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3323/* end confdefs.h. */
3324#include <string.h>
3326_ACEOF
3327if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3328 $EGREP "memchr" >/dev/null 2>&1; then :
3330else
3331 ac_cv_header_stdc=no
3333rm -f conftest*
3337if test $ac_cv_header_stdc = yes; then
3338 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340/* end confdefs.h. */
3341#include <stdlib.h>
3343_ACEOF
3344if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3345 $EGREP "free" >/dev/null 2>&1; then :
3347else
3348 ac_cv_header_stdc=no
3350rm -f conftest*
3354if test $ac_cv_header_stdc = yes; then
3355 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3356 if test "$cross_compiling" = yes; then :
3358else
3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360/* end confdefs.h. */
3361#include <ctype.h>
3362#include <stdlib.h>
3363#if ((' ' & 0x0FF) == 0x020)
3364# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3365# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3366#else
3367# define ISLOWER(c) \
3368 (('a' <= (c) && (c) <= 'i') \
3369 || ('j' <= (c) && (c) <= 'r') \
3370 || ('s' <= (c) && (c) <= 'z'))
3371# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3372#endif
3374#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3375int
3376main ()
3378 int i;
3379 for (i = 0; i < 256; i++)
3380 if (XOR (islower (i), ISLOWER (i))
3381 || toupper (i) != TOUPPER (i))
3382 return 2;
3383 return 0;
3385_ACEOF
3386if ac_fn_c_try_run "$LINENO"; then :
3388else
3389 ac_cv_header_stdc=no
3391rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3392 conftest.$ac_objext conftest.beam conftest.$ac_ext
3397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3398$as_echo "$ac_cv_header_stdc" >&6; }
3399if test $ac_cv_header_stdc = yes; then
3401$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3405# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3406for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3407 inttypes.h stdint.h unistd.h
3408do :
3409 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3410ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3412if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3413 cat >>confdefs.h <<_ACEOF
3414#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3415_ACEOF
3419done
3422for ac_header in time.h
3423do :
3424 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
3425if test "x$ac_cv_header_time_h" = xyes; then :
3426 cat >>confdefs.h <<_ACEOF
3427#define HAVE_TIME_H 1
3428_ACEOF
3432done
3434for ac_func in clock_gettime
3435do :
3436 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
3437if test "x$ac_cv_func_clock_gettime" = xyes; then :
3438 cat >>confdefs.h <<_ACEOF
3439#define HAVE_CLOCK_GETTIME 1
3440_ACEOF
3443done
3446# Output
3447ac_config_headers="$ac_config_headers src/config.h"
3449cat >confcache <<\_ACEOF
3450# This file is a shell script that caches the results of configure
3451# tests run on this system so they can be shared between configure
3452# scripts and configure runs, see configure's option --config-cache.
3453# It is not useful on other systems. If it contains results you don't
3454# want to keep, you may remove or edit it.
3456# config.status only pays attention to the cache file if you give it
3457# the --recheck option to rerun configure.
3459# `ac_cv_env_foo' variables (set or unset) will be overridden when
3460# loading this file, other *unset* `ac_cv_foo' will be assigned the
3461# following values.
3463_ACEOF
3465# The following way of writing the cache mishandles newlines in values,
3466# but we know of no workaround that is simple, portable, and efficient.
3467# So, we kill variables containing newlines.
3468# Ultrix sh set writes to stderr and can't be redirected directly,
3469# and sets the high bit in the cache file unless we assign to the vars.
3471 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3472 eval ac_val=\$$ac_var
3473 case $ac_val in #(
3474 *${as_nl}*)
3475 case $ac_var in #(
3476 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3477$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3478 esac
3479 case $ac_var in #(
3480 _ | IFS | as_nl) ;; #(
3481 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3482 *) { eval $ac_var=; unset $ac_var;} ;;
3483 esac ;;
3484 esac
3485 done
3487 (set) 2>&1 |
3488 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3489 *${as_nl}ac_space=\ *)
3490 # `set' does not quote correctly, so add quotes: double-quote
3491 # substitution turns \\\\ into \\, and sed turns \\ into \.
3492 sed -n \
3493 "s/'/'\\\\''/g;
3494 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3495 ;; #(
3496 *)
3497 # `set' quotes correctly as required by POSIX, so do not add quotes.
3498 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3499 ;;
3500 esac |
3501 sort
3502) |
3503 sed '
3504 /^ac_cv_env_/b end
3505 t clear
3506 :clear
3507 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3508 t end
3509 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3510 :end' >>confcache
3511if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3512 if test -w "$cache_file"; then
3513 if test "x$cache_file" != "x/dev/null"; then
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3515$as_echo "$as_me: updating cache $cache_file" >&6;}
3516 if test ! -f "$cache_file" || test -h "$cache_file"; then
3517 cat confcache >"$cache_file"
3518 else
3519 case $cache_file in #(
3520 */* | ?:*)
3521 mv -f confcache "$cache_file"$$ &&
3522 mv -f "$cache_file"$$ "$cache_file" ;; #(
3523 *)
3524 mv -f confcache "$cache_file" ;;
3525 esac
3526 fi
3527 fi
3528 else
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3530$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3531 fi
3533rm -f confcache
3535test "x$prefix" = xNONE && prefix=$ac_default_prefix
3536# Let make expand exec_prefix.
3537test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3539DEFS=-DHAVE_CONFIG_H
3541ac_libobjs=
3542ac_ltlibobjs=
3544for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3545 # 1. Remove the extension, and $U if already installed.
3546 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3547 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3548 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3549 # will be set to the directory where LIBOBJS objects are built.
3550 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3551 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3552done
3553LIBOBJS=$ac_libobjs
3555LTLIBOBJS=$ac_ltlibobjs
3559: "${CONFIG_STATUS=./config.status}"
3560ac_write_fail=0
3561ac_clean_files_save=$ac_clean_files
3562ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3563{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3564$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3565as_write_fail=0
3566cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3567#! $SHELL
3568# Generated by $as_me.
3569# Run this file to recreate the current configuration.
3570# Compiler output produced by configure, useful for debugging
3571# configure, is in config.log if it exists.
3573debug=false
3574ac_cs_recheck=false
3575ac_cs_silent=false
3577SHELL=\${CONFIG_SHELL-$SHELL}
3578export SHELL
3579_ASEOF
3580cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3581## -------------------- ##
3582## M4sh Initialization. ##
3583## -------------------- ##
3585# Be more Bourne compatible
3586DUALCASE=1; export DUALCASE # for MKS sh
3587if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3588 emulate sh
3589 NULLCMD=:
3590 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3591 # is contrary to our usage. Disable this feature.
3592 alias -g '${1+"$@"}'='"$@"'
3593 setopt NO_GLOB_SUBST
3594else
3595 case `(set -o) 2>/dev/null` in #(
3596 *posix*) :
3597 set -o posix ;; #(
3598 *) :
3599 ;;
3600esac
3604as_nl='
3606export as_nl
3607# Printing a long string crashes Solaris 7 /usr/bin/printf.
3608as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3609as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3610as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3611# Prefer a ksh shell builtin over an external printf program on Solaris,
3612# but without wasting forks for bash or zsh.
3613if test -z "$BASH_VERSION$ZSH_VERSION" \
3614 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3615 as_echo='print -r --'
3616 as_echo_n='print -rn --'
3617elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3618 as_echo='printf %s\n'
3619 as_echo_n='printf %s'
3620else
3621 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3622 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3623 as_echo_n='/usr/ucb/echo -n'
3624 else
3625 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3626 as_echo_n_body='eval
3627 arg=$1;
3628 case $arg in #(
3629 *"$as_nl"*)
3630 expr "X$arg" : "X\\(.*\\)$as_nl";
3631 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3632 esac;
3633 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3635 export as_echo_n_body
3636 as_echo_n='sh -c $as_echo_n_body as_echo'
3637 fi
3638 export as_echo_body
3639 as_echo='sh -c $as_echo_body as_echo'
3642# The user is always right.
3643if test "${PATH_SEPARATOR+set}" != set; then
3644 PATH_SEPARATOR=:
3645 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3646 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3647 PATH_SEPARATOR=';'
3652# IFS
3653# We need space, tab and new line, in precisely that order. Quoting is
3654# there to prevent editors from complaining about space-tab.
3655# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3656# splitting by setting IFS to empty value.)
3657IFS=" "" $as_nl"
3659# Find who we are. Look in the path if we contain no directory separator.
3660as_myself=
3661case $0 in #((
3662 *[\\/]* ) as_myself=$0 ;;
3663 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3664for as_dir in $PATH
3666 IFS=$as_save_IFS
3667 test -z "$as_dir" && as_dir=.
3668 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3669 done
3670IFS=$as_save_IFS
3672 ;;
3673esac
3674# We did not find ourselves, most probably we were run as `sh COMMAND'
3675# in which case we are not to be found in the path.
3676if test "x$as_myself" = x; then
3677 as_myself=$0
3679if test ! -f "$as_myself"; then
3680 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3681 exit 1
3684# Unset variables that we do not need and which cause bugs (e.g. in
3685# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3686# suppresses any "Segmentation fault" message there. '((' could
3687# trigger a bug in pdksh 5.2.14.
3688for as_var in BASH_ENV ENV MAIL MAILPATH
3689do eval test x\${$as_var+set} = xset \
3690 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3691done
3692PS1='$ '
3693PS2='> '
3694PS4='+ '
3696# NLS nuisances.
3697LC_ALL=C
3698export LC_ALL
3699LANGUAGE=C
3700export LANGUAGE
3702# CDPATH.
3703(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3706# as_fn_error STATUS ERROR [LINENO LOG_FD]
3707# ----------------------------------------
3708# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3709# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3710# script with STATUS, using 1 if that was 0.
3711as_fn_error ()
3713 as_status=$1; test $as_status -eq 0 && as_status=1
3714 if test "$4"; then
3715 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3716 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3717 fi
3718 $as_echo "$as_me: error: $2" >&2
3719 as_fn_exit $as_status
3720} # as_fn_error
3723# as_fn_set_status STATUS
3724# -----------------------
3725# Set $? to STATUS, without forking.
3726as_fn_set_status ()
3728 return $1
3729} # as_fn_set_status
3731# as_fn_exit STATUS
3732# -----------------
3733# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3734as_fn_exit ()
3736 set +e
3737 as_fn_set_status $1
3738 exit $1
3739} # as_fn_exit
3741# as_fn_unset VAR
3742# ---------------
3743# Portably unset VAR.
3744as_fn_unset ()
3746 { eval $1=; unset $1;}
3748as_unset=as_fn_unset
3749# as_fn_append VAR VALUE
3750# ----------------------
3751# Append the text in VALUE to the end of the definition contained in VAR. Take
3752# advantage of any shell optimizations that allow amortized linear growth over
3753# repeated appends, instead of the typical quadratic growth present in naive
3754# implementations.
3755if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3756 eval 'as_fn_append ()
3758 eval $1+=\$2
3759 }'
3760else
3761 as_fn_append ()
3763 eval $1=\$$1\$2
3765fi # as_fn_append
3767# as_fn_arith ARG...
3768# ------------------
3769# Perform arithmetic evaluation on the ARGs, and store the result in the
3770# global $as_val. Take advantage of shells that can avoid forks. The arguments
3771# must be portable across $(()) and expr.
3772if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3773 eval 'as_fn_arith ()
3775 as_val=$(( $* ))
3776 }'
3777else
3778 as_fn_arith ()
3780 as_val=`expr "$@" || test $? -eq 1`
3782fi # as_fn_arith
3785if expr a : '\(a\)' >/dev/null 2>&1 &&
3786 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3787 as_expr=expr
3788else
3789 as_expr=false
3792if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3793 as_basename=basename
3794else
3795 as_basename=false
3798if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3799 as_dirname=dirname
3800else
3801 as_dirname=false
3804as_me=`$as_basename -- "$0" ||
3805$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3806 X"$0" : 'X\(//\)$' \| \
3807 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3808$as_echo X/"$0" |
3809 sed '/^.*\/\([^/][^/]*\)\/*$/{
3810 s//\1/
3813 /^X\/\(\/\/\)$/{
3814 s//\1/
3817 /^X\/\(\/\).*/{
3818 s//\1/
3821 s/.*/./; q'`
3823# Avoid depending upon Character Ranges.
3824as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3825as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3826as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3827as_cr_digits='0123456789'
3828as_cr_alnum=$as_cr_Letters$as_cr_digits
3830ECHO_C= ECHO_N= ECHO_T=
3831case `echo -n x` in #(((((
3832-n*)
3833 case `echo 'xy\c'` in
3834 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3835 xy) ECHO_C='\c';;
3836 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3837 ECHO_T=' ';;
3838 esac;;
3840 ECHO_N='-n';;
3841esac
3843rm -f conf$$ conf$$.exe conf$$.file
3844if test -d conf$$.dir; then
3845 rm -f conf$$.dir/conf$$.file
3846else
3847 rm -f conf$$.dir
3848 mkdir conf$$.dir 2>/dev/null
3850if (echo >conf$$.file) 2>/dev/null; then
3851 if ln -s conf$$.file conf$$ 2>/dev/null; then
3852 as_ln_s='ln -s'
3853 # ... but there are two gotchas:
3854 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3855 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3856 # In both cases, we have to default to `cp -pR'.
3857 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3858 as_ln_s='cp -pR'
3859 elif ln conf$$.file conf$$ 2>/dev/null; then
3860 as_ln_s=ln
3861 else
3862 as_ln_s='cp -pR'
3863 fi
3864else
3865 as_ln_s='cp -pR'
3867rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3868rmdir conf$$.dir 2>/dev/null
3871# as_fn_mkdir_p
3872# -------------
3873# Create "$as_dir" as a directory, including parents if necessary.
3874as_fn_mkdir_p ()
3877 case $as_dir in #(
3878 -*) as_dir=./$as_dir;;
3879 esac
3880 test -d "$as_dir" || eval $as_mkdir_p || {
3881 as_dirs=
3882 while :; do
3883 case $as_dir in #(
3884 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3885 *) as_qdir=$as_dir;;
3886 esac
3887 as_dirs="'$as_qdir' $as_dirs"
3888 as_dir=`$as_dirname -- "$as_dir" ||
3889$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3890 X"$as_dir" : 'X\(//\)[^/]' \| \
3891 X"$as_dir" : 'X\(//\)$' \| \
3892 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3893$as_echo X"$as_dir" |
3894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3895 s//\1/
3898 /^X\(\/\/\)[^/].*/{
3899 s//\1/
3902 /^X\(\/\/\)$/{
3903 s//\1/
3906 /^X\(\/\).*/{
3907 s//\1/
3910 s/.*/./; q'`
3911 test -d "$as_dir" && break
3912 done
3913 test -z "$as_dirs" || eval "mkdir $as_dirs"
3914 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3917} # as_fn_mkdir_p
3918if mkdir -p . 2>/dev/null; then
3919 as_mkdir_p='mkdir -p "$as_dir"'
3920else
3921 test -d ./-p && rmdir ./-p
3922 as_mkdir_p=false
3926# as_fn_executable_p FILE
3927# -----------------------
3928# Test if FILE is an executable regular file.
3929as_fn_executable_p ()
3931 test -f "$1" && test -x "$1"
3932} # as_fn_executable_p
3933as_test_x='test -x'
3934as_executable_p=as_fn_executable_p
3936# Sed expression to map a string onto a valid CPP name.
3937as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3939# Sed expression to map a string onto a valid variable name.
3940as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3943exec 6>&1
3944## ----------------------------------- ##
3945## Main body of $CONFIG_STATUS script. ##
3946## ----------------------------------- ##
3947_ASEOF
3948test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3950cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3951# Save the log message, to keep $0 and so on meaningful, and to
3952# report actual input values of CONFIG_FILES etc. instead of their
3953# values after options handling.
3954ac_log="
3955This file was extended by streamly $as_me 0.7.2, which was
3956generated by GNU Autoconf 2.69. Invocation command line was
3958 CONFIG_FILES = $CONFIG_FILES
3959 CONFIG_HEADERS = $CONFIG_HEADERS
3960 CONFIG_LINKS = $CONFIG_LINKS
3961 CONFIG_COMMANDS = $CONFIG_COMMANDS
3962 $ $0 $@
3964on `(hostname || uname -n) 2>/dev/null | sed 1q`
3967_ACEOF
3970case $ac_config_headers in *"
3971"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3972esac
3975cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3976# Files that config.status was made for.
3977config_headers="$ac_config_headers"
3979_ACEOF
3981cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3982ac_cs_usage="\
3983\`$as_me' instantiates files and other configuration actions
3984from templates according to the current configuration. Unless the files
3985and actions are specified as TAGs, all are instantiated by default.
3987Usage: $0 [OPTION]... [TAG]...
3989 -h, --help print this help, then exit
3990 -V, --version print version number and configuration settings, then exit
3991 --config print configuration, then exit
3992 -q, --quiet, --silent
3993 do not print progress messages
3994 -d, --debug don't remove temporary files
3995 --recheck update $as_me by reconfiguring in the same conditions
3996 --header=FILE[:TEMPLATE]
3997 instantiate the configuration header FILE
3999Configuration headers:
4000$config_headers
4002Report bugs to <streamly@composewell.com>."
4004_ACEOF
4005cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4006ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4007ac_cs_version="\\
4008streamly config.status 0.7.2
4009configured by $0, generated by GNU Autoconf 2.69,
4010 with options \\"\$ac_cs_config\\"
4012Copyright (C) 2012 Free Software Foundation, Inc.
4013This config.status script is free software; the Free Software Foundation
4014gives unlimited permission to copy, distribute and modify it."
4016ac_pwd='$ac_pwd'
4017srcdir='$srcdir'
4018test -n "\$AWK" || AWK=awk
4019_ACEOF
4021cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4022# The default lists apply if the user does not specify any file.
4023ac_need_defaults=:
4024while test $# != 0
4026 case $1 in
4027 --*=?*)
4028 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4029 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4030 ac_shift=:
4031 ;;
4032 --*=)
4033 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4034 ac_optarg=
4035 ac_shift=:
4036 ;;
4037 *)
4038 ac_option=$1
4039 ac_optarg=$2
4040 ac_shift=shift
4041 ;;
4042 esac
4044 case $ac_option in
4045 # Handling of the options.
4046 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4047 ac_cs_recheck=: ;;
4048 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4049 $as_echo "$ac_cs_version"; exit ;;
4050 --config | --confi | --conf | --con | --co | --c )
4051 $as_echo "$ac_cs_config"; exit ;;
4052 --debug | --debu | --deb | --de | --d | -d )
4053 debug=: ;;
4054 --header | --heade | --head | --hea )
4055 $ac_shift
4056 case $ac_optarg in
4057 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4058 esac
4059 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4060 ac_need_defaults=false;;
4061 --he | --h)
4062 # Conflict between --help and --header
4063 as_fn_error $? "ambiguous option: \`$1'
4064Try \`$0 --help' for more information.";;
4065 --help | --hel | -h )
4066 $as_echo "$ac_cs_usage"; exit ;;
4067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4068 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4069 ac_cs_silent=: ;;
4071 # This is an error.
4072 -*) as_fn_error $? "unrecognized option: \`$1'
4073Try \`$0 --help' for more information." ;;
4075 *) as_fn_append ac_config_targets " $1"
4076 ac_need_defaults=false ;;
4078 esac
4079 shift
4080done
4082ac_configure_extra_args=
4084if $ac_cs_silent; then
4085 exec 6>/dev/null
4086 ac_configure_extra_args="$ac_configure_extra_args --silent"
4089_ACEOF
4090cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4091if \$ac_cs_recheck; then
4092 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4093 shift
4094 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4095 CONFIG_SHELL='$SHELL'
4096 export CONFIG_SHELL
4097 exec "\$@"
4100_ACEOF
4101cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4102exec 5>>config.log
4104 echo
4105 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4106## Running $as_me. ##
4107_ASBOX
4108 $as_echo "$ac_log"
4109} >&5
4111_ACEOF
4112cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4113_ACEOF
4115cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4117# Handling of arguments.
4118for ac_config_target in $ac_config_targets
4120 case $ac_config_target in
4121 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
4123 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4124 esac
4125done
4128# If the user did not use the arguments to specify the items to instantiate,
4129# then the envvar interface is used. Set only those that are not.
4130# We use the long form for the default assignment because of an extremely
4131# bizarre bug on SunOS 4.1.3.
4132if $ac_need_defaults; then
4133 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4136# Have a temporary directory for convenience. Make it in the build tree
4137# simply because there is no reason against having it here, and in addition,
4138# creating and moving files from /tmp can sometimes cause problems.
4139# Hook for its removal unless debugging.
4140# Note that there is a small window in which the directory will not be cleaned:
4141# after its creation but before its name has been assigned to `$tmp'.
4142$debug ||
4144 tmp= ac_tmp=
4145 trap 'exit_status=$?
4146 : "${ac_tmp:=$tmp}"
4147 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4148' 0
4149 trap 'as_fn_exit 1' 1 2 13 15
4151# Create a (secure) tmp directory for tmp files.
4154 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4155 test -d "$tmp"
4156} ||
4158 tmp=./conf$$-$RANDOM
4159 (umask 077 && mkdir "$tmp")
4160} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4161ac_tmp=$tmp
4163# Set up the scripts for CONFIG_HEADERS section.
4164# No need to generate them if there are no CONFIG_HEADERS.
4165# This happens for instance with `./config.status Makefile'.
4166if test -n "$CONFIG_HEADERS"; then
4167cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4168BEGIN {
4169_ACEOF
4171# Transform confdefs.h into an awk script `defines.awk', embedded as
4172# here-document in config.status, that substitutes the proper values into
4173# config.h.in to produce config.h.
4175# Create a delimiter string that does not exist in confdefs.h, to ease
4176# handling of long lines.
4177ac_delim='%!_!# '
4178for ac_last_try in false false :; do
4179 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4180 if test -z "$ac_tt"; then
4181 break
4182 elif $ac_last_try; then
4183 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4184 else
4185 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4186 fi
4187done
4189# For the awk script, D is an array of macro values keyed by name,
4190# likewise P contains macro parameters if any. Preserve backslash
4191# newline sequences.
4193ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4194sed -n '
4195s/.\{148\}/&'"$ac_delim"'/g
4196t rset
4197:rset
4198s/^[ ]*#[ ]*define[ ][ ]*/ /
4199t def
4201:def
4202s/\\$//
4203t bsnl
4204s/["\\]/\\&/g
4205s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4206D["\1"]=" \3"/p
4207s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4209:bsnl
4210s/["\\]/\\&/g
4211s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4212D["\1"]=" \3\\\\\\n"\\/p
4213t cont
4214s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4215t cont
4217:cont
4219s/.\{148\}/&'"$ac_delim"'/g
4220t clear
4221:clear
4222s/\\$//
4223t bsnlc
4224s/["\\]/\\&/g; s/^/"/; s/$/"/p
4226:bsnlc
4227s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4228b cont
4229' <confdefs.h | sed '
4230s/'"$ac_delim"'/"\\\
4231"/g' >>$CONFIG_STATUS || ac_write_fail=1
4233cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4234 for (key in D) D_is_set[key] = 1
4235 FS = ""
4237/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4238 line = \$ 0
4239 split(line, arg, " ")
4240 if (arg[1] == "#") {
4241 defundef = arg[2]
4242 mac1 = arg[3]
4243 } else {
4244 defundef = substr(arg[1], 2)
4245 mac1 = arg[2]
4247 split(mac1, mac2, "(") #)
4248 macro = mac2[1]
4249 prefix = substr(line, 1, index(line, defundef) - 1)
4250 if (D_is_set[macro]) {
4251 # Preserve the white space surrounding the "#".
4252 print prefix "define", macro P[macro] D[macro]
4253 next
4254 } else {
4255 # Replace #undef with comments. This is necessary, for example,
4256 # in the case of _POSIX_SOURCE, which is predefined and required
4257 # on some systems where configure will not decide to define it.
4258 if (defundef == "undef") {
4259 print "/*", prefix defundef, macro, "*/"
4260 next
4264{ print }
4265_ACAWK
4266_ACEOF
4267cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4268 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4269fi # test -n "$CONFIG_HEADERS"
4272eval set X " :H $CONFIG_HEADERS "
4273shift
4274for ac_tag
4276 case $ac_tag in
4277 :[FHLC]) ac_mode=$ac_tag; continue;;
4278 esac
4279 case $ac_mode$ac_tag in
4280 :[FHL]*:*);;
4281 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4282 :[FH]-) ac_tag=-:-;;
4283 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4284 esac
4285 ac_save_IFS=$IFS
4286 IFS=:
4287 set x $ac_tag
4288 IFS=$ac_save_IFS
4289 shift
4290 ac_file=$1
4291 shift
4293 case $ac_mode in
4294 :L) ac_source=$1;;
4295 :[FH])
4296 ac_file_inputs=
4297 for ac_f
4298 do
4299 case $ac_f in
4300 -) ac_f="$ac_tmp/stdin";;
4301 *) # Look for the file first in the build tree, then in the source tree
4302 # (if the path is not absolute). The absolute path cannot be DOS-style,
4303 # because $ac_f cannot contain `:'.
4304 test -f "$ac_f" ||
4305 case $ac_f in
4306 [\\/$]*) false;;
4307 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4308 esac ||
4309 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4310 esac
4311 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4312 as_fn_append ac_file_inputs " '$ac_f'"
4313 done
4315 # Let's still pretend it is `configure' which instantiates (i.e., don't
4316 # use $as_me), people would be surprised to read:
4317 # /* config.h. Generated by config.status. */
4318 configure_input='Generated from '`
4319 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4320 `' by configure.'
4321 if test x"$ac_file" != x-; then
4322 configure_input="$ac_file. $configure_input"
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4324$as_echo "$as_me: creating $ac_file" >&6;}
4325 fi
4326 # Neutralize special characters interpreted by sed in replacement strings.
4327 case $configure_input in #(
4328 *\&* | *\|* | *\\* )
4329 ac_sed_conf_input=`$as_echo "$configure_input" |
4330 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4331 *) ac_sed_conf_input=$configure_input;;
4332 esac
4334 case $ac_tag in
4335 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4336 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4337 esac
4338 ;;
4339 esac
4341 ac_dir=`$as_dirname -- "$ac_file" ||
4342$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4343 X"$ac_file" : 'X\(//\)[^/]' \| \
4344 X"$ac_file" : 'X\(//\)$' \| \
4345 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4346$as_echo X"$ac_file" |
4347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4348 s//\1/
4351 /^X\(\/\/\)[^/].*/{
4352 s//\1/
4355 /^X\(\/\/\)$/{
4356 s//\1/
4359 /^X\(\/\).*/{
4360 s//\1/
4363 s/.*/./; q'`
4364 as_dir="$ac_dir"; as_fn_mkdir_p
4365 ac_builddir=.
4367case "$ac_dir" in
4368.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4370 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4371 # A ".." for each directory in $ac_dir_suffix.
4372 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4373 case $ac_top_builddir_sub in
4374 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4375 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4376 esac ;;
4377esac
4378ac_abs_top_builddir=$ac_pwd
4379ac_abs_builddir=$ac_pwd$ac_dir_suffix
4380# for backward compatibility:
4381ac_top_builddir=$ac_top_build_prefix
4383case $srcdir in
4384 .) # We are building in place.
4385 ac_srcdir=.
4386 ac_top_srcdir=$ac_top_builddir_sub
4387 ac_abs_top_srcdir=$ac_pwd ;;
4388 [\\/]* | ?:[\\/]* ) # Absolute name.
4389 ac_srcdir=$srcdir$ac_dir_suffix;
4390 ac_top_srcdir=$srcdir
4391 ac_abs_top_srcdir=$srcdir ;;
4392 *) # Relative name.
4393 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4394 ac_top_srcdir=$ac_top_build_prefix$srcdir
4395 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4396esac
4397ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4400 case $ac_mode in
4402 :H)
4404 # CONFIG_HEADER
4406 if test x"$ac_file" != x-; then
4408 $as_echo "/* $configure_input */" \
4409 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4410 } >"$ac_tmp/config.h" \
4411 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4412 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4414$as_echo "$as_me: $ac_file is unchanged" >&6;}
4415 else
4416 rm -f "$ac_file"
4417 mv "$ac_tmp/config.h" "$ac_file" \
4418 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4419 fi
4420 else
4421 $as_echo "/* $configure_input */" \
4422 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4423 || as_fn_error $? "could not create -" "$LINENO" 5
4424 fi
4425 ;;
4428 esac
4430done # for ac_tag
4433as_fn_exit 0
4434_ACEOF
4435ac_clean_files=$ac_clean_files_save
4437test $ac_write_fail = 0 ||
4438 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4441# configure is writing to config.log, and then calls config.status.
4442# config.status does its own redirection, appending to config.log.
4443# Unfortunately, on DOS this fails, as config.log is still kept open
4444# by configure, so config.status won't be able to write to it; its
4445# output is simply discarded. So we exec the FD to /dev/null,
4446# effectively closing config.log, so it can be properly (re)opened and
4447# appended to by config.status. When coming back to configure, we
4448# need to make the FD available again.
4449if test "$no_create" != yes; then
4450 ac_cs_success=:
4451 ac_config_status_args=
4452 test "$silent" = yes &&
4453 ac_config_status_args="$ac_config_status_args --quiet"
4454 exec 5>/dev/null
4455 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4456 exec 5>>config.log
4457 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4458 # would make configure fail if this is the last instruction.
4459 $ac_cs_success || as_fn_exit 1
4461if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4463$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}