on e9828b3 help sign in
streamly/configure
4343 lines 128 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_try_cpp LINENO
1439# ----------------------
1440# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1441ac_fn_c_try_cpp ()
1443 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1444 if { { ac_try="$ac_cpp conftest.$ac_ext"
1445case "(($ac_try" in
1446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1447 *) ac_try_echo=$ac_try;;
1448esac
1449eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1450$as_echo "$ac_try_echo"; } >&5
1451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1452 ac_status=$?
1453 if test -s conftest.err; then
1454 grep -v '^ *+' conftest.err >conftest.er1
1455 cat conftest.er1 >&5
1456 mv -f conftest.er1 conftest.err
1457 fi
1458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1459 test $ac_status = 0; } > conftest.i && {
1460 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1461 test ! -s conftest.err
1462 }; then :
1463 ac_retval=0
1464else
1465 $as_echo "$as_me: failed program was:" >&5
1466sed 's/^/| /' conftest.$ac_ext >&5
1468 ac_retval=1
1470 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1471 as_fn_set_status $ac_retval
1473} # ac_fn_c_try_cpp
1475# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1476# -------------------------------------------------------
1477# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1478# the include files in INCLUDES and setting the cache variable VAR
1479# accordingly.
1480ac_fn_c_check_header_mongrel ()
1482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1483 if eval \${$3+:} false; then :
1484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1485$as_echo_n "checking for $2... " >&6; }
1486if eval \${$3+:} false; then :
1487 $as_echo_n "(cached) " >&6
1489eval ac_res=\$$3
1490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1491$as_echo "$ac_res" >&6; }
1492else
1493 # Is the header compilable?
1494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1495$as_echo_n "checking $2 usability... " >&6; }
1496cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1497/* end confdefs.h. */
1499#include <$2>
1500_ACEOF
1501if ac_fn_c_try_compile "$LINENO"; then :
1502 ac_header_compiler=yes
1503else
1504 ac_header_compiler=no
1506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1508$as_echo "$ac_header_compiler" >&6; }
1510# Is the header present?
1511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1512$as_echo_n "checking $2 presence... " >&6; }
1513cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1514/* end confdefs.h. */
1515#include <$2>
1516_ACEOF
1517if ac_fn_c_try_cpp "$LINENO"; then :
1518 ac_header_preproc=yes
1519else
1520 ac_header_preproc=no
1522rm -f conftest.err conftest.i conftest.$ac_ext
1523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1524$as_echo "$ac_header_preproc" >&6; }
1526# So? What about this header?
1527case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1528 yes:no: )
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1530$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1532$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1533 ;;
1534 no:yes:* )
1535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1536$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1538$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1540$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1542$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1544$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1545( $as_echo "## --------------------------------------- ##
1546## Report this to streamly@composewell.com ##
1547## --------------------------------------- ##"
1548 ) | sed "s/^/$as_me: WARNING: /" >&2
1549 ;;
1550esac
1551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1552$as_echo_n "checking for $2... " >&6; }
1553if eval \${$3+:} false; then :
1554 $as_echo_n "(cached) " >&6
1555else
1556 eval "$3=\$ac_header_compiler"
1558eval ac_res=\$$3
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1560$as_echo "$ac_res" >&6; }
1562 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1564} # ac_fn_c_check_header_mongrel
1566# ac_fn_c_try_run LINENO
1567# ----------------------
1568# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1569# that executables *can* be run.
1570ac_fn_c_try_run ()
1572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573 if { { ac_try="$ac_link"
1574case "(($ac_try" in
1575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1576 *) ac_try_echo=$ac_try;;
1577esac
1578eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579$as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_link") 2>&5
1581 ac_status=$?
1582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1583 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1584 { { case "(($ac_try" in
1585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1586 *) ac_try_echo=$ac_try;;
1587esac
1588eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589$as_echo "$ac_try_echo"; } >&5
1590 (eval "$ac_try") 2>&5
1591 ac_status=$?
1592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1593 test $ac_status = 0; }; }; then :
1594 ac_retval=0
1595else
1596 $as_echo "$as_me: program exited with status $ac_status" >&5
1597 $as_echo "$as_me: failed program was:" >&5
1598sed 's/^/| /' conftest.$ac_ext >&5
1600 ac_retval=$ac_status
1602 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1604 as_fn_set_status $ac_retval
1606} # ac_fn_c_try_run
1608# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1609# -------------------------------------------------------
1610# Tests whether HEADER exists and can be compiled using the include files in
1611# INCLUDES, setting the cache variable VAR accordingly.
1612ac_fn_c_check_header_compile ()
1614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1616$as_echo_n "checking for $2... " >&6; }
1617if eval \${$3+:} false; then :
1618 $as_echo_n "(cached) " >&6
1619else
1620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1621/* end confdefs.h. */
1623#include <$2>
1624_ACEOF
1625if ac_fn_c_try_compile "$LINENO"; then :
1626 eval "$3=yes"
1627else
1628 eval "$3=no"
1630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1632eval ac_res=\$$3
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1634$as_echo "$ac_res" >&6; }
1635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637} # ac_fn_c_check_header_compile
1639# ac_fn_c_try_link LINENO
1640# -----------------------
1641# Try to link conftest.$ac_ext, and return whether this succeeded.
1642ac_fn_c_try_link ()
1644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1645 rm -f conftest.$ac_objext conftest$ac_exeext
1646 if { { ac_try="$ac_link"
1647case "(($ac_try" in
1648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1649 *) ac_try_echo=$ac_try;;
1650esac
1651eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1652$as_echo "$ac_try_echo"; } >&5
1653 (eval "$ac_link") 2>conftest.err
1654 ac_status=$?
1655 if test -s conftest.err; then
1656 grep -v '^ *+' conftest.err >conftest.er1
1657 cat conftest.er1 >&5
1658 mv -f conftest.er1 conftest.err
1659 fi
1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661 test $ac_status = 0; } && {
1662 test -z "$ac_c_werror_flag" ||
1663 test ! -s conftest.err
1664 } && test -s conftest$ac_exeext && {
1665 test "$cross_compiling" = yes ||
1666 test -x conftest$ac_exeext
1667 }; then :
1668 ac_retval=0
1669else
1670 $as_echo "$as_me: failed program was:" >&5
1671sed 's/^/| /' conftest.$ac_ext >&5
1673 ac_retval=1
1675 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1676 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1677 # interfere with the next link command; also delete a directory that is
1678 # left behind by Apple's compiler. We do this before executing the actions.
1679 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681 as_fn_set_status $ac_retval
1683} # ac_fn_c_try_link
1685# ac_fn_c_check_func LINENO FUNC VAR
1686# ----------------------------------
1687# Tests whether FUNC exists, setting the cache variable VAR accordingly
1688ac_fn_c_check_func ()
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1692$as_echo_n "checking for $2... " >&6; }
1693if eval \${$3+:} false; then :
1694 $as_echo_n "(cached) " >&6
1695else
1696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697/* end confdefs.h. */
1698/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1700#define $2 innocuous_$2
1702/* System header to define __stub macros and hopefully few prototypes,
1703 which can conflict with char $2 (); below.
1704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1705 <limits.h> exists even on freestanding compilers. */
1707#ifdef __STDC__
1708# include <limits.h>
1709#else
1710# include <assert.h>
1711#endif
1713#undef $2
1715/* Override any GCC internal prototype to avoid an error.
1716 Use char because int might match the return type of a GCC
1717 builtin and then its argument prototype would still apply. */
1718#ifdef __cplusplus
1719extern "C"
1720#endif
1721char $2 ();
1722/* The GNU C library defines this for functions which it implements
1723 to always fail with ENOSYS. Some functions are actually named
1724 something starting with __ and the normal name is an alias. */
1725#if defined __stub_$2 || defined __stub___$2
1726choke me
1727#endif
1729int
1730main ()
1732return $2 ();
1734 return 0;
1736_ACEOF
1737if ac_fn_c_try_link "$LINENO"; then :
1738 eval "$3=yes"
1739else
1740 eval "$3=no"
1742rm -f core conftest.err conftest.$ac_objext \
1743 conftest$ac_exeext conftest.$ac_ext
1745eval ac_res=\$$3
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1747$as_echo "$ac_res" >&6; }
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750} # ac_fn_c_check_func
1751cat >config.log <<_ACEOF
1752This file contains any messages produced by compilers while
1753running configure, to aid debugging if configure makes a mistake.
1755It was created by streamly $as_me 0.7.2, which was
1756generated by GNU Autoconf 2.69. Invocation command line was
1758 $ $0 $@
1760_ACEOF
1761exec 5>>config.log
1763cat <<_ASUNAME
1764## --------- ##
1765## Platform. ##
1766## --------- ##
1768hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1769uname -m = `(uname -m) 2>/dev/null || echo unknown`
1770uname -r = `(uname -r) 2>/dev/null || echo unknown`
1771uname -s = `(uname -s) 2>/dev/null || echo unknown`
1772uname -v = `(uname -v) 2>/dev/null || echo unknown`
1774/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1775/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1777/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1778/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1779/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1780/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1781/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1782/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1783/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1785_ASUNAME
1787as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1788for as_dir in $PATH
1790 IFS=$as_save_IFS
1791 test -z "$as_dir" && as_dir=.
1792 $as_echo "PATH: $as_dir"
1793 done
1794IFS=$as_save_IFS
1796} >&5
1798cat >&5 <<_ACEOF
1801## ----------- ##
1802## Core tests. ##
1803## ----------- ##
1805_ACEOF
1808# Keep a trace of the command line.
1809# Strip out --no-create and --no-recursion so they do not pile up.
1810# Strip out --silent because we don't want to record it for future runs.
1811# Also quote any args containing shell meta-characters.
1812# Make two passes to allow for proper duplicate-argument suppression.
1813ac_configure_args=
1814ac_configure_args0=
1815ac_configure_args1=
1816ac_must_keep_next=false
1817for ac_pass in 1 2
1819 for ac_arg
1820 do
1821 case $ac_arg in
1822 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1823 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1824 | -silent | --silent | --silen | --sile | --sil)
1825 continue ;;
1826 *\'*)
1827 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1828 esac
1829 case $ac_pass in
1830 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1831 2)
1832 as_fn_append ac_configure_args1 " '$ac_arg'"
1833 if test $ac_must_keep_next = true; then
1834 ac_must_keep_next=false # Got value, back to normal.
1835 else
1836 case $ac_arg in
1837 *=* | --config-cache | -C | -disable-* | --disable-* \
1838 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1839 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1840 | -with-* | --with-* | -without-* | --without-* | --x)
1841 case "$ac_configure_args0 " in
1842 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1843 esac
1844 ;;
1845 -* ) ac_must_keep_next=true ;;
1846 esac
1847 fi
1848 as_fn_append ac_configure_args " '$ac_arg'"
1849 ;;
1850 esac
1851 done
1852done
1853{ ac_configure_args0=; unset ac_configure_args0;}
1854{ ac_configure_args1=; unset ac_configure_args1;}
1856# When interrupted or exit'd, cleanup temporary files, and complete
1857# config.log. We remove comments because anyway the quotes in there
1858# would cause problems or look ugly.
1859# WARNING: Use '\'' to represent an apostrophe within the trap.
1860# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1861trap 'exit_status=$?
1862 # Save into config.log some information that might help in debugging.
1864 echo
1866 $as_echo "## ---------------- ##
1867## Cache variables. ##
1868## ---------------- ##"
1869 echo
1870 # The following way of writing the cache mishandles newlines in values,
1872 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1873 eval ac_val=\$$ac_var
1874 case $ac_val in #(
1875 *${as_nl}*)
1876 case $ac_var in #(
1877 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1878$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1879 esac
1880 case $ac_var in #(
1881 _ | IFS | as_nl) ;; #(
1882 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1883 *) { eval $ac_var=; unset $ac_var;} ;;
1884 esac ;;
1885 esac
1886 done
1887 (set) 2>&1 |
1888 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1889 *${as_nl}ac_space=\ *)
1890 sed -n \
1891 "s/'\''/'\''\\\\'\'''\''/g;
1892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1893 ;; #(
1894 *)
1895 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1896 ;;
1897 esac |
1898 sort
1900 echo
1902 $as_echo "## ----------------- ##
1903## Output variables. ##
1904## ----------------- ##"
1905 echo
1906 for ac_var in $ac_subst_vars
1907 do
1908 eval ac_val=\$$ac_var
1909 case $ac_val in
1910 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1911 esac
1912 $as_echo "$ac_var='\''$ac_val'\''"
1913 done | sort
1914 echo
1916 if test -n "$ac_subst_files"; then
1917 $as_echo "## ------------------- ##
1918## File substitutions. ##
1919## ------------------- ##"
1920 echo
1921 for ac_var in $ac_subst_files
1922 do
1923 eval ac_val=\$$ac_var
1924 case $ac_val in
1925 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1926 esac
1927 $as_echo "$ac_var='\''$ac_val'\''"
1928 done | sort
1929 echo
1930 fi
1932 if test -s confdefs.h; then
1933 $as_echo "## ----------- ##
1934## confdefs.h. ##
1935## ----------- ##"
1936 echo
1937 cat confdefs.h
1938 echo
1939 fi
1940 test "$ac_signal" != 0 &&
1941 $as_echo "$as_me: caught signal $ac_signal"
1942 $as_echo "$as_me: exit $exit_status"
1943 } >&5
1944 rm -f core *.core core.conftest.* &&
1945 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1946 exit $exit_status
1947' 0
1948for ac_signal in 1 2 13 15; do
1949 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1950done
1951ac_signal=0
1953# confdefs.h avoids OS command line length limits that DEFS can exceed.
1954rm -f -r conftest* confdefs.h
1956$as_echo "/* confdefs.h */" > confdefs.h
1958# Predefined preprocessor variables.
1960cat >>confdefs.h <<_ACEOF
1961#define PACKAGE_NAME "$PACKAGE_NAME"
1962_ACEOF
1964cat >>confdefs.h <<_ACEOF
1965#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1966_ACEOF
1968cat >>confdefs.h <<_ACEOF
1969#define PACKAGE_VERSION "$PACKAGE_VERSION"
1970_ACEOF
1972cat >>confdefs.h <<_ACEOF
1973#define PACKAGE_STRING "$PACKAGE_STRING"
1974_ACEOF
1976cat >>confdefs.h <<_ACEOF
1977#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1978_ACEOF
1980cat >>confdefs.h <<_ACEOF
1981#define PACKAGE_URL "$PACKAGE_URL"
1982_ACEOF
1985# Let the site file select an alternate cache file if it wants to.
1986# Prefer an explicitly selected file to automatically selected ones.
1987ac_site_file1=NONE
1988ac_site_file2=NONE
1989if test -n "$CONFIG_SITE"; then
1990 # We do not want a PATH search for config.site.
1991 case $CONFIG_SITE in #((
1992 -*) ac_site_file1=./$CONFIG_SITE;;
1993 */*) ac_site_file1=$CONFIG_SITE;;
1994 *) ac_site_file1=./$CONFIG_SITE;;
1995 esac
1996elif test "x$prefix" != xNONE; then
1997 ac_site_file1=$prefix/share/config.site
1998 ac_site_file2=$prefix/etc/config.site
1999else
2000 ac_site_file1=$ac_default_prefix/share/config.site
2001 ac_site_file2=$ac_default_prefix/etc/config.site
2003for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2005 test "x$ac_site_file" = xNONE && continue
2006 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2008$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2009 sed 's/^/| /' "$ac_site_file" >&5
2010 . "$ac_site_file" \
2011 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2012$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2013as_fn_error $? "failed to load site script $ac_site_file
2014See \`config.log' for more details" "$LINENO" 5; }
2015 fi
2016done
2018if test -r "$cache_file"; then
2019 # Some versions of bash will fail to source /dev/null (special files
2020 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2021 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2023$as_echo "$as_me: loading cache $cache_file" >&6;}
2024 case $cache_file in
2025 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2026 *) . "./$cache_file";;
2027 esac
2028 fi
2029else
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2031$as_echo "$as_me: creating cache $cache_file" >&6;}
2032 >$cache_file
2035# Check that the precious variables saved in the cache have kept the same
2036# value.
2037ac_cache_corrupted=false
2038for ac_var in $ac_precious_vars; do
2039 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2040 eval ac_new_set=\$ac_env_${ac_var}_set
2041 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2042 eval ac_new_val=\$ac_env_${ac_var}_value
2043 case $ac_old_set,$ac_new_set in
2044 set,)
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2046$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2047 ac_cache_corrupted=: ;;
2048 ,set)
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2050$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2051 ac_cache_corrupted=: ;;
2052 ,);;
2053 *)
2054 if test "x$ac_old_val" != "x$ac_new_val"; then
2055 # differences in whitespace do not lead to failure.
2056 ac_old_val_w=`echo x $ac_old_val`
2057 ac_new_val_w=`echo x $ac_new_val`
2058 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2060$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2061 ac_cache_corrupted=:
2062 else
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2064$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2065 eval $ac_var=\$ac_old_val
2066 fi
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2068$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2070$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2071 fi;;
2072 esac
2073 # Pass precious variables to config.status.
2074 if test "$ac_new_set" = set; then
2075 case $ac_new_val in
2076 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2077 *) ac_arg=$ac_var=$ac_new_val ;;
2078 esac
2079 case " $ac_configure_args " in
2080 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2081 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2082 esac
2083 fi
2084done
2085if $ac_cache_corrupted; then
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2087$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2089$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2090 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2092## -------------------- ##
2093## Main body of script. ##
2094## -------------------- ##
2096ac_ext=c
2097ac_cpp='$CPP $CPPFLAGS'
2098ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2099ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2100ac_compiler_gnu=$ac_cv_c_compiler_gnu
2104# To suppress "WARNING: unrecognized options: --with-compiler"
2106# Check whether --with-compiler was given.
2107if test "${with_compiler+set}" = set; then :
2108 withval=$with_compiler;
2112# Check headers and functions required
2113ac_ext=c
2114ac_cpp='$CPP $CPPFLAGS'
2115ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2116ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2117ac_compiler_gnu=$ac_cv_c_compiler_gnu
2118if test -n "$ac_tool_prefix"; then
2119 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2120set dummy ${ac_tool_prefix}gcc; ac_word=$2
2121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2122$as_echo_n "checking for $ac_word... " >&6; }
2123if ${ac_cv_prog_CC+:} false; then :
2124 $as_echo_n "(cached) " >&6
2125else
2126 if test -n "$CC"; then
2127 ac_cv_prog_CC="$CC" # Let the user override the test.
2128else
2129as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2130for as_dir in $PATH
2132 IFS=$as_save_IFS
2133 test -z "$as_dir" && as_dir=.
2134 for ac_exec_ext in '' $ac_executable_extensions; do
2135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2136 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2138 break 2
2139 fi
2140done
2141 done
2142IFS=$as_save_IFS
2146CC=$ac_cv_prog_CC
2147if test -n "$CC"; then
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2149$as_echo "$CC" >&6; }
2150else
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2152$as_echo "no" >&6; }
2157if test -z "$ac_cv_prog_CC"; then
2158 ac_ct_CC=$CC
2159 # Extract the first word of "gcc", so it can be a program name with args.
2160set dummy gcc; ac_word=$2
2161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2162$as_echo_n "checking for $ac_word... " >&6; }
2163if ${ac_cv_prog_ac_ct_CC+:} false; then :
2164 $as_echo_n "(cached) " >&6
2165else
2166 if test -n "$ac_ct_CC"; then
2167 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2168else
2169as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2170for as_dir in $PATH
2172 IFS=$as_save_IFS
2173 test -z "$as_dir" && as_dir=.
2174 for ac_exec_ext in '' $ac_executable_extensions; do
2175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2176 ac_cv_prog_ac_ct_CC="gcc"
2177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 break 2
2179 fi
2180done
2181 done
2182IFS=$as_save_IFS
2186ac_ct_CC=$ac_cv_prog_ac_ct_CC
2187if test -n "$ac_ct_CC"; then
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2189$as_echo "$ac_ct_CC" >&6; }
2190else
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2192$as_echo "no" >&6; }
2195 if test "x$ac_ct_CC" = x; then
2196 CC=""
2197 else
2198 case $cross_compiling:$ac_tool_warned in
2199yes:)
2200{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2201$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2202ac_tool_warned=yes ;;
2203esac
2204 CC=$ac_ct_CC
2205 fi
2206else
2207 CC="$ac_cv_prog_CC"
2210if test -z "$CC"; then
2211 if test -n "$ac_tool_prefix"; then
2212 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2213set dummy ${ac_tool_prefix}cc; ac_word=$2
2214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2215$as_echo_n "checking for $ac_word... " >&6; }
2216if ${ac_cv_prog_CC+:} false; then :
2217 $as_echo_n "(cached) " >&6
2218else
2219 if test -n "$CC"; then
2220 ac_cv_prog_CC="$CC" # Let the user override the test.
2221else
2222as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2223for as_dir in $PATH
2225 IFS=$as_save_IFS
2226 test -z "$as_dir" && as_dir=.
2227 for ac_exec_ext in '' $ac_executable_extensions; do
2228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2229 ac_cv_prog_CC="${ac_tool_prefix}cc"
2230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2231 break 2
2232 fi
2233done
2234 done
2235IFS=$as_save_IFS
2239CC=$ac_cv_prog_CC
2240if test -n "$CC"; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2242$as_echo "$CC" >&6; }
2243else
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2245$as_echo "no" >&6; }
2249 fi
2251if test -z "$CC"; then
2252 # Extract the first word of "cc", so it can be a program name with args.
2253set dummy cc; ac_word=$2
2254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2255$as_echo_n "checking for $ac_word... " >&6; }
2256if ${ac_cv_prog_CC+:} false; then :
2257 $as_echo_n "(cached) " >&6
2258else
2259 if test -n "$CC"; then
2260 ac_cv_prog_CC="$CC" # Let the user override the test.
2261else
2262 ac_prog_rejected=no
2263as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264for as_dir in $PATH
2266 IFS=$as_save_IFS
2267 test -z "$as_dir" && as_dir=.
2268 for ac_exec_ext in '' $ac_executable_extensions; do
2269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2270 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2271 ac_prog_rejected=yes
2272 continue
2273 fi
2274 ac_cv_prog_CC="cc"
2275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2276 break 2
2277 fi
2278done
2279 done
2280IFS=$as_save_IFS
2282if test $ac_prog_rejected = yes; then
2283 # We found a bogon in the path, so make sure we never use it.
2284 set dummy $ac_cv_prog_CC
2285 shift
2286 if test $# != 0; then
2287 # We chose a different compiler from the bogus one.
2288 # However, it has the same basename, so the bogon will be chosen
2289 # first if we set CC to just the basename; use the full file name.
2290 shift
2291 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2292 fi
2296CC=$ac_cv_prog_CC
2297if test -n "$CC"; then
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2299$as_echo "$CC" >&6; }
2300else
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2302$as_echo "no" >&6; }
2307if test -z "$CC"; then
2308 if test -n "$ac_tool_prefix"; then
2309 for ac_prog in cl.exe
2310 do
2311 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2312set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2314$as_echo_n "checking for $ac_word... " >&6; }
2315if ${ac_cv_prog_CC+:} false; then :
2316 $as_echo_n "(cached) " >&6
2317else
2318 if test -n "$CC"; then
2319 ac_cv_prog_CC="$CC" # Let the user override the test.
2320else
2321as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2322for as_dir in $PATH
2324 IFS=$as_save_IFS
2325 test -z "$as_dir" && as_dir=.
2326 for ac_exec_ext in '' $ac_executable_extensions; do
2327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2328 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2330 break 2
2331 fi
2332done
2333 done
2334IFS=$as_save_IFS
2338CC=$ac_cv_prog_CC
2339if test -n "$CC"; then
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2341$as_echo "$CC" >&6; }
2342else
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2344$as_echo "no" >&6; }
2348 test -n "$CC" && break
2349 done
2351if test -z "$CC"; then
2352 ac_ct_CC=$CC
2353 for ac_prog in cl.exe
2355 # Extract the first word of "$ac_prog", so it can be a program name with args.
2356set dummy $ac_prog; ac_word=$2
2357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2358$as_echo_n "checking for $ac_word... " >&6; }
2359if ${ac_cv_prog_ac_ct_CC+:} false; then :
2360 $as_echo_n "(cached) " >&6
2361else
2362 if test -n "$ac_ct_CC"; then
2363 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2364else
2365as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366for as_dir in $PATH
2368 IFS=$as_save_IFS
2369 test -z "$as_dir" && as_dir=.
2370 for ac_exec_ext in '' $ac_executable_extensions; do
2371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2372 ac_cv_prog_ac_ct_CC="$ac_prog"
2373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2374 break 2
2375 fi
2376done
2377 done
2378IFS=$as_save_IFS
2382ac_ct_CC=$ac_cv_prog_ac_ct_CC
2383if test -n "$ac_ct_CC"; then
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2385$as_echo "$ac_ct_CC" >&6; }
2386else
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2388$as_echo "no" >&6; }
2392 test -n "$ac_ct_CC" && break
2393done
2395 if test "x$ac_ct_CC" = x; then
2396 CC=""
2397 else
2398 case $cross_compiling:$ac_tool_warned in
2399yes:)
2400{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2401$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2402ac_tool_warned=yes ;;
2403esac
2404 CC=$ac_ct_CC
2405 fi
2411test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2412$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2413as_fn_error $? "no acceptable C compiler found in \$PATH
2414See \`config.log' for more details" "$LINENO" 5; }
2416# Provide some information about the compiler.
2417$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2418set X $ac_compile
2419ac_compiler=$2
2420for ac_option in --version -v -V -qversion; do
2421 { { ac_try="$ac_compiler $ac_option >&5"
2422case "(($ac_try" in
2423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2424 *) ac_try_echo=$ac_try;;
2425esac
2426eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2427$as_echo "$ac_try_echo"; } >&5
2428 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2429 ac_status=$?
2430 if test -s conftest.err; then
2431 sed '10a\
2432... rest of stderr output deleted ...
2433 10q' conftest.err >conftest.er1
2434 cat conftest.er1 >&5
2435 fi
2436 rm -f conftest.er1 conftest.err
2437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2438 test $ac_status = 0; }
2439done
2441cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442/* end confdefs.h. */
2444int
2445main ()
2449 return 0;
2451_ACEOF
2452ac_clean_files_save=$ac_clean_files
2453ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2454# Try to create an executable without -o first, disregard a.out.
2455# It will help us diagnose broken compilers, and finding out an intuition
2456# of exeext.
2457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2458$as_echo_n "checking whether the C compiler works... " >&6; }
2459ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2461# The possible output files:
2462ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2464ac_rmfiles=
2465for ac_file in $ac_files
2467 case $ac_file in
2468 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2469 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2470 esac
2471done
2472rm -f $ac_rmfiles
2474if { { ac_try="$ac_link_default"
2475case "(($ac_try" in
2476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2478esac
2479eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2480$as_echo "$ac_try_echo"; } >&5
2481 (eval "$ac_link_default") 2>&5
2482 ac_status=$?
2483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2484 test $ac_status = 0; }; then :
2485 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2486# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2487# in a Makefile. We should not override ac_cv_exeext if it was cached,
2488# so that the user can short-circuit this test for compilers unknown to
2489# Autoconf.
2490for ac_file in $ac_files ''
2492 test -f "$ac_file" || continue
2493 case $ac_file in
2494 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2495 ;;
2496 [ab].out )
2497 # We found the default executable, but exeext='' is most
2498 # certainly right.
2499 break;;
2500 *.* )
2501 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2502 then :; else
2503 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2504 fi
2505 # We set ac_cv_exeext here because the later test for it is not
2506 # safe: cross compilers may not add the suffix if given an `-o'
2507 # argument, so we may need to know it at that point already.
2508 # Even if this section looks crufty: it has the advantage of
2509 # actually working.
2510 break;;
2511 * )
2512 break;;
2513 esac
2514done
2515test "$ac_cv_exeext" = no && ac_cv_exeext=
2517else
2518 ac_file=''
2520if test -z "$ac_file"; then :
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2522$as_echo "no" >&6; }
2523$as_echo "$as_me: failed program was:" >&5
2524sed 's/^/| /' conftest.$ac_ext >&5
2526{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2527$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2528as_fn_error 77 "C compiler cannot create executables
2529See \`config.log' for more details" "$LINENO" 5; }
2530else
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2532$as_echo "yes" >&6; }
2534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2535$as_echo_n "checking for C compiler default output file name... " >&6; }
2536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2537$as_echo "$ac_file" >&6; }
2538ac_exeext=$ac_cv_exeext
2540rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2541ac_clean_files=$ac_clean_files_save
2542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2543$as_echo_n "checking for suffix of executables... " >&6; }
2544if { { ac_try="$ac_link"
2545case "(($ac_try" in
2546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2547 *) ac_try_echo=$ac_try;;
2548esac
2549eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2550$as_echo "$ac_try_echo"; } >&5
2551 (eval "$ac_link") 2>&5
2552 ac_status=$?
2553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2554 test $ac_status = 0; }; then :
2555 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2556# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2557# work properly (i.e., refer to `conftest.exe'), while it won't with
2558# `rm'.
2559for ac_file in conftest.exe conftest conftest.*; do
2560 test -f "$ac_file" || continue
2561 case $ac_file in
2562 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2563 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2564 break;;
2565 * ) break;;
2566 esac
2567done
2568else
2569 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2570$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2571as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2572See \`config.log' for more details" "$LINENO" 5; }
2574rm -f conftest conftest$ac_cv_exeext
2575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2576$as_echo "$ac_cv_exeext" >&6; }
2578rm -f conftest.$ac_ext
2579EXEEXT=$ac_cv_exeext
2580ac_exeext=$EXEEXT
2581cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2582/* end confdefs.h. */
2583#include <stdio.h>
2584int
2585main ()
2587FILE *f = fopen ("conftest.out", "w");
2588 return ferror (f) || fclose (f) != 0;
2591 return 0;
2593_ACEOF
2594ac_clean_files="$ac_clean_files conftest.out"
2595# Check that the compiler produces executables we can run. If not, either
2596# the compiler is broken, or we cross compile.
2597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2598$as_echo_n "checking whether we are cross compiling... " >&6; }
2599if test "$cross_compiling" != yes; then
2600 { { ac_try="$ac_link"
2601case "(($ac_try" in
2602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2603 *) ac_try_echo=$ac_try;;
2604esac
2605eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2606$as_echo "$ac_try_echo"; } >&5
2607 (eval "$ac_link") 2>&5
2608 ac_status=$?
2609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2610 test $ac_status = 0; }
2611 if { ac_try='./conftest$ac_cv_exeext'
2612 { { case "(($ac_try" in
2613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614 *) ac_try_echo=$ac_try;;
2615esac
2616eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2617$as_echo "$ac_try_echo"; } >&5
2618 (eval "$ac_try") 2>&5
2619 ac_status=$?
2620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2621 test $ac_status = 0; }; }; then
2622 cross_compiling=no
2623 else
2624 if test "$cross_compiling" = maybe; then
2625 cross_compiling=yes
2626 else
2627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2628$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2629as_fn_error $? "cannot run C compiled programs.
2630If you meant to cross compile, use \`--host'.
2631See \`config.log' for more details" "$LINENO" 5; }
2632 fi
2633 fi
2635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2636$as_echo "$cross_compiling" >&6; }
2638rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2639ac_clean_files=$ac_clean_files_save
2640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2641$as_echo_n "checking for suffix of object files... " >&6; }
2642if ${ac_cv_objext+:} false; then :
2643 $as_echo_n "(cached) " >&6
2644else
2645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2646/* end confdefs.h. */
2648int
2649main ()
2653 return 0;
2655_ACEOF
2656rm -f conftest.o conftest.obj
2657if { { ac_try="$ac_compile"
2658case "(($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_compile") 2>&5
2665 ac_status=$?
2666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2667 test $ac_status = 0; }; then :
2668 for ac_file in conftest.o conftest.obj conftest.*; do
2669 test -f "$ac_file" || continue;
2670 case $ac_file in
2671 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2672 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2673 break;;
2674 esac
2675done
2676else
2677 $as_echo "$as_me: failed program was:" >&5
2678sed 's/^/| /' conftest.$ac_ext >&5
2680{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2681$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2682as_fn_error $? "cannot compute suffix of object files: cannot compile
2683See \`config.log' for more details" "$LINENO" 5; }
2685rm -f conftest.$ac_cv_objext conftest.$ac_ext
2687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2688$as_echo "$ac_cv_objext" >&6; }
2689OBJEXT=$ac_cv_objext
2690ac_objext=$OBJEXT
2691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2692$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2693if ${ac_cv_c_compiler_gnu+:} false; then :
2694 $as_echo_n "(cached) " >&6
2695else
2696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2697/* end confdefs.h. */
2699int
2700main ()
2702#ifndef __GNUC__
2703 choke me
2704#endif
2707 return 0;
2709_ACEOF
2710if ac_fn_c_try_compile "$LINENO"; then :
2711 ac_compiler_gnu=yes
2712else
2713 ac_compiler_gnu=no
2715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2716ac_cv_c_compiler_gnu=$ac_compiler_gnu
2719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2720$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2721if test $ac_compiler_gnu = yes; then
2722 GCC=yes
2723else
2724 GCC=
2726ac_test_CFLAGS=${CFLAGS+set}
2727ac_save_CFLAGS=$CFLAGS
2728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2729$as_echo_n "checking whether $CC accepts -g... " >&6; }
2730if ${ac_cv_prog_cc_g+:} false; then :
2731 $as_echo_n "(cached) " >&6
2732else
2733 ac_save_c_werror_flag=$ac_c_werror_flag
2734 ac_c_werror_flag=yes
2735 ac_cv_prog_cc_g=no
2736 CFLAGS="-g"
2737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2738/* end confdefs.h. */
2740int
2741main ()
2745 return 0;
2747_ACEOF
2748if ac_fn_c_try_compile "$LINENO"; then :
2749 ac_cv_prog_cc_g=yes
2750else
2751 CFLAGS=""
2752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2753/* end confdefs.h. */
2755int
2756main ()
2760 return 0;
2762_ACEOF
2763if ac_fn_c_try_compile "$LINENO"; then :
2765else
2766 ac_c_werror_flag=$ac_save_c_werror_flag
2767 CFLAGS="-g"
2768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2769/* end confdefs.h. */
2771int
2772main ()
2776 return 0;
2778_ACEOF
2779if ac_fn_c_try_compile "$LINENO"; then :
2780 ac_cv_prog_cc_g=yes
2782rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2786rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2787 ac_c_werror_flag=$ac_save_c_werror_flag
2789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2790$as_echo "$ac_cv_prog_cc_g" >&6; }
2791if test "$ac_test_CFLAGS" = set; then
2792 CFLAGS=$ac_save_CFLAGS
2793elif test $ac_cv_prog_cc_g = yes; then
2794 if test "$GCC" = yes; then
2795 CFLAGS="-g -O2"
2796 else
2797 CFLAGS="-g"
2798 fi
2799else
2800 if test "$GCC" = yes; then
2801 CFLAGS="-O2"
2802 else
2803 CFLAGS=
2804 fi
2806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2807$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2808if ${ac_cv_prog_cc_c89+:} false; then :
2809 $as_echo_n "(cached) " >&6
2810else
2811 ac_cv_prog_cc_c89=no
2812ac_save_CC=$CC
2813cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2814/* end confdefs.h. */
2815#include <stdarg.h>
2816#include <stdio.h>
2817struct stat;
2818/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2819struct buf { int x; };
2820FILE * (*rcsopen) (struct buf *, struct stat *, int);
2821static char *e (p, i)
2822 char **p;
2823 int i;
2825 return p[i];
2827static char *f (char * (*g) (char **, int), char **p, ...)
2829 char *s;
2830 va_list v;
2831 va_start (v,p);
2832 s = g (p, va_arg (v,int));
2833 va_end (v);
2834 return s;
2837/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2838 function prototypes and stuff, but not '\xHH' hex character constants.
2839 These don't provoke an error unfortunately, instead are silently treated
2840 as 'x'. The following induces an error, until -std is added to get
2841 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2842 array size at least. It's necessary to write '\x00'==0 to get something
2843 that's true only with -std. */
2844int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2846/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2847 inside strings and character constants. */
2848#define FOO(x) 'x'
2849int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2851int test (int i, double x);
2852struct s1 {int (*f) (int a);};
2853struct s2 {int (*f) (double a);};
2854int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2855int argc;
2856char **argv;
2857int
2858main ()
2860return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2862 return 0;
2864_ACEOF
2865for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2866 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2868 CC="$ac_save_CC $ac_arg"
2869 if ac_fn_c_try_compile "$LINENO"; then :
2870 ac_cv_prog_cc_c89=$ac_arg
2872rm -f core conftest.err conftest.$ac_objext
2873 test "x$ac_cv_prog_cc_c89" != "xno" && break
2874done
2875rm -f conftest.$ac_ext
2876CC=$ac_save_CC
2879# AC_CACHE_VAL
2880case "x$ac_cv_prog_cc_c89" in
2881 x)
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2883$as_echo "none needed" >&6; } ;;
2884 xno)
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2886$as_echo "unsupported" >&6; } ;;
2887 *)
2888 CC="$CC $ac_cv_prog_cc_c89"
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2890$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2891esac
2892if test "x$ac_cv_prog_cc_c89" != xno; then :
2896ac_ext=c
2897ac_cpp='$CPP $CPPFLAGS'
2898ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2899ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2900ac_compiler_gnu=$ac_cv_c_compiler_gnu
2903ac_ext=c
2904ac_cpp='$CPP $CPPFLAGS'
2905ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2906ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2907ac_compiler_gnu=$ac_cv_c_compiler_gnu
2908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2909$as_echo_n "checking how to run the C preprocessor... " >&6; }
2910# On Suns, sometimes $CPP names a directory.
2911if test -n "$CPP" && test -d "$CPP"; then
2912 CPP=
2914if test -z "$CPP"; then
2915 if ${ac_cv_prog_CPP+:} false; then :
2916 $as_echo_n "(cached) " >&6
2917else
2918 # Double quotes because CPP needs to be expanded
2919 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2920 do
2921 ac_preproc_ok=false
2922for ac_c_preproc_warn_flag in '' yes
2924 # Use a header file that comes with gcc, so configuring glibc
2925 # with a fresh cross-compiler works.
2926 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2927 # <limits.h> exists even on freestanding compilers.
2928 # On the NeXT, cc -E runs the code through the compiler's parser,
2929 # not just through cpp. "Syntax error" is here to catch this case.
2930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2931/* end confdefs.h. */
2932#ifdef __STDC__
2933# include <limits.h>
2934#else
2935# include <assert.h>
2936#endif
2937 Syntax error
2938_ACEOF
2939if ac_fn_c_try_cpp "$LINENO"; then :
2941else
2942 # Broken: fails on valid input.
2943continue
2945rm -f conftest.err conftest.i conftest.$ac_ext
2947 # OK, works on sane cases. Now check whether nonexistent headers
2948 # can be detected and how.
2949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2950/* end confdefs.h. */
2951#include <ac_nonexistent.h>
2952_ACEOF
2953if ac_fn_c_try_cpp "$LINENO"; then :
2954 # Broken: success on invalid input.
2955continue
2956else
2957 # Passes both tests.
2958ac_preproc_ok=:
2959break
2961rm -f conftest.err conftest.i conftest.$ac_ext
2963done
2964# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2965rm -f conftest.i conftest.err conftest.$ac_ext
2966if $ac_preproc_ok; then :
2967 break
2970 done
2971 ac_cv_prog_CPP=$CPP
2974 CPP=$ac_cv_prog_CPP
2975else
2976 ac_cv_prog_CPP=$CPP
2978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2979$as_echo "$CPP" >&6; }
2980ac_preproc_ok=false
2981for ac_c_preproc_warn_flag in '' yes
2983 # Use a header file that comes with gcc, so configuring glibc
2984 # with a fresh cross-compiler works.
2985 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2986 # <limits.h> exists even on freestanding compilers.
2987 # On the NeXT, cc -E runs the code through the compiler's parser,
2988 # not just through cpp. "Syntax error" is here to catch this case.
2989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2990/* end confdefs.h. */
2991#ifdef __STDC__
2992# include <limits.h>
2993#else
2994# include <assert.h>
2995#endif
2996 Syntax error
2997_ACEOF
2998if ac_fn_c_try_cpp "$LINENO"; then :
3000else
3001 # Broken: fails on valid input.
3002continue
3004rm -f conftest.err conftest.i conftest.$ac_ext
3006 # OK, works on sane cases. Now check whether nonexistent headers
3007 # can be detected and how.
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009/* end confdefs.h. */
3010#include <ac_nonexistent.h>
3011_ACEOF
3012if ac_fn_c_try_cpp "$LINENO"; then :
3013 # Broken: success on invalid input.
3014continue
3015else
3016 # Passes both tests.
3017ac_preproc_ok=:
3018break
3020rm -f conftest.err conftest.i conftest.$ac_ext
3022done
3023# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3024rm -f conftest.i conftest.err conftest.$ac_ext
3025if $ac_preproc_ok; then :
3027else
3028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3029$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3030as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3031See \`config.log' for more details" "$LINENO" 5; }
3034ac_ext=c
3035ac_cpp='$CPP $CPPFLAGS'
3036ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3037ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3038ac_compiler_gnu=$ac_cv_c_compiler_gnu
3041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3042$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3043if ${ac_cv_path_GREP+:} false; then :
3044 $as_echo_n "(cached) " >&6
3045else
3046 if test -z "$GREP"; then
3047 ac_path_GREP_found=false
3048 # Loop through the user's path and test for each of PROGNAME-LIST
3049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3050for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3052 IFS=$as_save_IFS
3053 test -z "$as_dir" && as_dir=.
3054 for ac_prog in grep ggrep; do
3055 for ac_exec_ext in '' $ac_executable_extensions; do
3056 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3057 as_fn_executable_p "$ac_path_GREP" || continue
3058# Check for GNU ac_path_GREP and select it if it is found.
3059 # Check for GNU $ac_path_GREP
3060case `"$ac_path_GREP" --version 2>&1` in
3061*GNU*)
3062 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3064 ac_count=0
3065 $as_echo_n 0123456789 >"conftest.in"
3066 while :
3067 do
3068 cat "conftest.in" "conftest.in" >"conftest.tmp"
3069 mv "conftest.tmp" "conftest.in"
3070 cp "conftest.in" "conftest.nl"
3071 $as_echo 'GREP' >> "conftest.nl"
3072 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3073 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3074 as_fn_arith $ac_count + 1 && ac_count=$as_val
3075 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3076 # Best one so far, save it but keep looking for a better one
3077 ac_cv_path_GREP="$ac_path_GREP"
3078 ac_path_GREP_max=$ac_count
3079 fi
3080 # 10*(2^10) chars as input seems more than enough
3081 test $ac_count -gt 10 && break
3082 done
3083 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3084esac
3086 $ac_path_GREP_found && break 3
3087 done
3088 done
3089 done
3090IFS=$as_save_IFS
3091 if test -z "$ac_cv_path_GREP"; then
3092 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3093 fi
3094else
3095 ac_cv_path_GREP=$GREP
3099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3100$as_echo "$ac_cv_path_GREP" >&6; }
3101 GREP="$ac_cv_path_GREP"
3104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3105$as_echo_n "checking for egrep... " >&6; }
3106if ${ac_cv_path_EGREP+:} false; then :
3107 $as_echo_n "(cached) " >&6
3108else
3109 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3110 then ac_cv_path_EGREP="$GREP -E"
3111 else
3112 if test -z "$EGREP"; then
3113 ac_path_EGREP_found=false
3114 # Loop through the user's path and test for each of PROGNAME-LIST
3115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3116for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3118 IFS=$as_save_IFS
3119 test -z "$as_dir" && as_dir=.
3120 for ac_prog in egrep; do
3121 for ac_exec_ext in '' $ac_executable_extensions; do
3122 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3123 as_fn_executable_p "$ac_path_EGREP" || continue
3124# Check for GNU ac_path_EGREP and select it if it is found.
3125 # Check for GNU $ac_path_EGREP
3126case `"$ac_path_EGREP" --version 2>&1` in
3127*GNU*)
3128 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3130 ac_count=0
3131 $as_echo_n 0123456789 >"conftest.in"
3132 while :
3133 do
3134 cat "conftest.in" "conftest.in" >"conftest.tmp"
3135 mv "conftest.tmp" "conftest.in"
3136 cp "conftest.in" "conftest.nl"
3137 $as_echo 'EGREP' >> "conftest.nl"
3138 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3139 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3140 as_fn_arith $ac_count + 1 && ac_count=$as_val
3141 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3142 # Best one so far, save it but keep looking for a better one
3143 ac_cv_path_EGREP="$ac_path_EGREP"
3144 ac_path_EGREP_max=$ac_count
3145 fi
3146 # 10*(2^10) chars as input seems more than enough
3147 test $ac_count -gt 10 && break
3148 done
3149 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3150esac
3152 $ac_path_EGREP_found && break 3
3153 done
3154 done
3155 done
3156IFS=$as_save_IFS
3157 if test -z "$ac_cv_path_EGREP"; then
3158 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3159 fi
3160else
3161 ac_cv_path_EGREP=$EGREP
3164 fi
3166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3167$as_echo "$ac_cv_path_EGREP" >&6; }
3168 EGREP="$ac_cv_path_EGREP"
3171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3172$as_echo_n "checking for ANSI C header files... " >&6; }
3173if ${ac_cv_header_stdc+:} false; then :
3174 $as_echo_n "(cached) " >&6
3175else
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177/* end confdefs.h. */
3178#include <stdlib.h>
3179#include <stdarg.h>
3180#include <string.h>
3181#include <float.h>
3183int
3184main ()
3188 return 0;
3190_ACEOF
3191if ac_fn_c_try_compile "$LINENO"; then :
3192 ac_cv_header_stdc=yes
3193else
3194 ac_cv_header_stdc=no
3196rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3198if test $ac_cv_header_stdc = yes; then
3199 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201/* end confdefs.h. */
3202#include <string.h>
3204_ACEOF
3205if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3206 $EGREP "memchr" >/dev/null 2>&1; then :
3208else
3209 ac_cv_header_stdc=no
3211rm -f conftest*
3215if test $ac_cv_header_stdc = yes; then
3216 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218/* end confdefs.h. */
3219#include <stdlib.h>
3221_ACEOF
3222if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3223 $EGREP "free" >/dev/null 2>&1; then :
3225else
3226 ac_cv_header_stdc=no
3228rm -f conftest*
3232if test $ac_cv_header_stdc = yes; then
3233 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3234 if test "$cross_compiling" = yes; then :
3236else
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238/* end confdefs.h. */
3239#include <ctype.h>
3240#include <stdlib.h>
3241#if ((' ' & 0x0FF) == 0x020)
3242# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3243# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3244#else
3245# define ISLOWER(c) \
3246 (('a' <= (c) && (c) <= 'i') \
3247 || ('j' <= (c) && (c) <= 'r') \
3248 || ('s' <= (c) && (c) <= 'z'))
3249# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3250#endif
3252#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3253int
3254main ()
3256 int i;
3257 for (i = 0; i < 256; i++)
3258 if (XOR (islower (i), ISLOWER (i))
3259 || toupper (i) != TOUPPER (i))
3260 return 2;
3261 return 0;
3263_ACEOF
3264if ac_fn_c_try_run "$LINENO"; then :
3266else
3267 ac_cv_header_stdc=no
3269rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3270 conftest.$ac_objext conftest.beam conftest.$ac_ext
3275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3276$as_echo "$ac_cv_header_stdc" >&6; }
3277if test $ac_cv_header_stdc = yes; then
3279$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3283# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3284for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3285 inttypes.h stdint.h unistd.h
3286do :
3287 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3288ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3290if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3291 cat >>confdefs.h <<_ACEOF
3292#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3293_ACEOF
3297done
3300for ac_header in time.h
3301do :
3302 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
3303if test "x$ac_cv_header_time_h" = xyes; then :
3304 cat >>confdefs.h <<_ACEOF
3305#define HAVE_TIME_H 1
3306_ACEOF
3310done
3312for ac_func in clock_gettime
3313do :
3314 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
3315if test "x$ac_cv_func_clock_gettime" = xyes; then :
3316 cat >>confdefs.h <<_ACEOF
3317#define HAVE_CLOCK_GETTIME 1
3318_ACEOF
3321done
3324# Output
3325ac_config_headers="$ac_config_headers src/Streamly/Internal/Data/Time/config.h"
3327cat >confcache <<\_ACEOF
3328# This file is a shell script that caches the results of configure
3329# tests run on this system so they can be shared between configure
3330# scripts and configure runs, see configure's option --config-cache.
3331# It is not useful on other systems. If it contains results you don't
3332# want to keep, you may remove or edit it.
3334# config.status only pays attention to the cache file if you give it
3335# the --recheck option to rerun configure.
3337# `ac_cv_env_foo' variables (set or unset) will be overridden when
3338# loading this file, other *unset* `ac_cv_foo' will be assigned the
3339# following values.
3341_ACEOF
3343# The following way of writing the cache mishandles newlines in values,
3344# but we know of no workaround that is simple, portable, and efficient.
3345# So, we kill variables containing newlines.
3346# Ultrix sh set writes to stderr and can't be redirected directly,
3347# and sets the high bit in the cache file unless we assign to the vars.
3349 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3350 eval ac_val=\$$ac_var
3351 case $ac_val in #(
3352 *${as_nl}*)
3353 case $ac_var in #(
3354 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3355$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3356 esac
3357 case $ac_var in #(
3358 _ | IFS | as_nl) ;; #(
3359 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3360 *) { eval $ac_var=; unset $ac_var;} ;;
3361 esac ;;
3362 esac
3363 done
3365 (set) 2>&1 |
3366 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3367 *${as_nl}ac_space=\ *)
3368 # `set' does not quote correctly, so add quotes: double-quote
3369 # substitution turns \\\\ into \\, and sed turns \\ into \.
3370 sed -n \
3371 "s/'/'\\\\''/g;
3372 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3373 ;; #(
3374 *)
3375 # `set' quotes correctly as required by POSIX, so do not add quotes.
3376 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3377 ;;
3378 esac |
3379 sort
3380) |
3381 sed '
3382 /^ac_cv_env_/b end
3383 t clear
3384 :clear
3385 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3386 t end
3387 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3388 :end' >>confcache
3389if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3390 if test -w "$cache_file"; then
3391 if test "x$cache_file" != "x/dev/null"; then
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3393$as_echo "$as_me: updating cache $cache_file" >&6;}
3394 if test ! -f "$cache_file" || test -h "$cache_file"; then
3395 cat confcache >"$cache_file"
3396 else
3397 case $cache_file in #(
3398 */* | ?:*)
3399 mv -f confcache "$cache_file"$$ &&
3400 mv -f "$cache_file"$$ "$cache_file" ;; #(
3401 *)
3402 mv -f confcache "$cache_file" ;;
3403 esac
3404 fi
3405 fi
3406 else
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3408$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3409 fi
3411rm -f confcache
3413test "x$prefix" = xNONE && prefix=$ac_default_prefix
3414# Let make expand exec_prefix.
3415test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3417DEFS=-DHAVE_CONFIG_H
3419ac_libobjs=
3420ac_ltlibobjs=
3422for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3423 # 1. Remove the extension, and $U if already installed.
3424 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3425 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3426 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3427 # will be set to the directory where LIBOBJS objects are built.
3428 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3429 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3430done
3431LIBOBJS=$ac_libobjs
3433LTLIBOBJS=$ac_ltlibobjs
3437: "${CONFIG_STATUS=./config.status}"
3438ac_write_fail=0
3439ac_clean_files_save=$ac_clean_files
3440ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3441{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3442$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3443as_write_fail=0
3444cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3445#! $SHELL
3446# Generated by $as_me.
3447# Run this file to recreate the current configuration.
3448# Compiler output produced by configure, useful for debugging
3449# configure, is in config.log if it exists.
3451debug=false
3452ac_cs_recheck=false
3453ac_cs_silent=false
3455SHELL=\${CONFIG_SHELL-$SHELL}
3456export SHELL
3457_ASEOF
3458cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3459## -------------------- ##
3460## M4sh Initialization. ##
3461## -------------------- ##
3463# Be more Bourne compatible
3464DUALCASE=1; export DUALCASE # for MKS sh
3465if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3466 emulate sh
3467 NULLCMD=:
3468 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3469 # is contrary to our usage. Disable this feature.
3470 alias -g '${1+"$@"}'='"$@"'
3471 setopt NO_GLOB_SUBST
3472else
3473 case `(set -o) 2>/dev/null` in #(
3474 *posix*) :
3475 set -o posix ;; #(
3476 *) :
3477 ;;
3478esac
3482as_nl='
3484export as_nl
3485# Printing a long string crashes Solaris 7 /usr/bin/printf.
3486as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3487as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3488as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3489# Prefer a ksh shell builtin over an external printf program on Solaris,
3490# but without wasting forks for bash or zsh.
3491if test -z "$BASH_VERSION$ZSH_VERSION" \
3492 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3493 as_echo='print -r --'
3494 as_echo_n='print -rn --'
3495elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3496 as_echo='printf %s\n'
3497 as_echo_n='printf %s'
3498else
3499 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3500 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3501 as_echo_n='/usr/ucb/echo -n'
3502 else
3503 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3504 as_echo_n_body='eval
3505 arg=$1;
3506 case $arg in #(
3507 *"$as_nl"*)
3508 expr "X$arg" : "X\\(.*\\)$as_nl";
3509 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3510 esac;
3511 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3513 export as_echo_n_body
3514 as_echo_n='sh -c $as_echo_n_body as_echo'
3515 fi
3516 export as_echo_body
3517 as_echo='sh -c $as_echo_body as_echo'
3520# The user is always right.
3521if test "${PATH_SEPARATOR+set}" != set; then
3522 PATH_SEPARATOR=:
3523 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3524 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3525 PATH_SEPARATOR=';'
3530# IFS
3531# We need space, tab and new line, in precisely that order. Quoting is
3532# there to prevent editors from complaining about space-tab.
3533# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3534# splitting by setting IFS to empty value.)
3535IFS=" "" $as_nl"
3537# Find who we are. Look in the path if we contain no directory separator.
3538as_myself=
3539case $0 in #((
3540 *[\\/]* ) as_myself=$0 ;;
3541 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3542for as_dir in $PATH
3544 IFS=$as_save_IFS
3545 test -z "$as_dir" && as_dir=.
3546 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3547 done
3548IFS=$as_save_IFS
3550 ;;
3551esac
3552# We did not find ourselves, most probably we were run as `sh COMMAND'
3553# in which case we are not to be found in the path.
3554if test "x$as_myself" = x; then
3555 as_myself=$0
3557if test ! -f "$as_myself"; then
3558 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3559 exit 1
3562# Unset variables that we do not need and which cause bugs (e.g. in
3563# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3564# suppresses any "Segmentation fault" message there. '((' could
3565# trigger a bug in pdksh 5.2.14.
3566for as_var in BASH_ENV ENV MAIL MAILPATH
3567do eval test x\${$as_var+set} = xset \
3568 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3569done
3570PS1='$ '
3571PS2='> '
3572PS4='+ '
3574# NLS nuisances.
3575LC_ALL=C
3576export LC_ALL
3577LANGUAGE=C
3578export LANGUAGE
3580# CDPATH.
3581(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3584# as_fn_error STATUS ERROR [LINENO LOG_FD]
3585# ----------------------------------------
3586# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3587# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3588# script with STATUS, using 1 if that was 0.
3589as_fn_error ()
3591 as_status=$1; test $as_status -eq 0 && as_status=1
3592 if test "$4"; then
3593 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3594 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3595 fi
3596 $as_echo "$as_me: error: $2" >&2
3597 as_fn_exit $as_status
3598} # as_fn_error
3601# as_fn_set_status STATUS
3602# -----------------------
3603# Set $? to STATUS, without forking.
3604as_fn_set_status ()
3606 return $1
3607} # as_fn_set_status
3609# as_fn_exit STATUS
3610# -----------------
3611# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3612as_fn_exit ()
3614 set +e
3615 as_fn_set_status $1
3616 exit $1
3617} # as_fn_exit
3619# as_fn_unset VAR
3620# ---------------
3621# Portably unset VAR.
3622as_fn_unset ()
3624 { eval $1=; unset $1;}
3626as_unset=as_fn_unset
3627# as_fn_append VAR VALUE
3628# ----------------------
3629# Append the text in VALUE to the end of the definition contained in VAR. Take
3630# advantage of any shell optimizations that allow amortized linear growth over
3631# repeated appends, instead of the typical quadratic growth present in naive
3632# implementations.
3633if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3634 eval 'as_fn_append ()
3636 eval $1+=\$2
3637 }'
3638else
3639 as_fn_append ()
3641 eval $1=\$$1\$2
3643fi # as_fn_append
3645# as_fn_arith ARG...
3646# ------------------
3647# Perform arithmetic evaluation on the ARGs, and store the result in the
3648# global $as_val. Take advantage of shells that can avoid forks. The arguments
3649# must be portable across $(()) and expr.
3650if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3651 eval 'as_fn_arith ()
3653 as_val=$(( $* ))
3654 }'
3655else
3656 as_fn_arith ()
3658 as_val=`expr "$@" || test $? -eq 1`
3660fi # as_fn_arith
3663if expr a : '\(a\)' >/dev/null 2>&1 &&
3664 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3665 as_expr=expr
3666else
3667 as_expr=false
3670if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3671 as_basename=basename
3672else
3673 as_basename=false
3676if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3677 as_dirname=dirname
3678else
3679 as_dirname=false
3682as_me=`$as_basename -- "$0" ||
3683$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3684 X"$0" : 'X\(//\)$' \| \
3685 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3686$as_echo X/"$0" |
3687 sed '/^.*\/\([^/][^/]*\)\/*$/{
3688 s//\1/
3691 /^X\/\(\/\/\)$/{
3692 s//\1/
3695 /^X\/\(\/\).*/{
3696 s//\1/
3699 s/.*/./; q'`
3701# Avoid depending upon Character Ranges.
3702as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3703as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3704as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3705as_cr_digits='0123456789'
3706as_cr_alnum=$as_cr_Letters$as_cr_digits
3708ECHO_C= ECHO_N= ECHO_T=
3709case `echo -n x` in #(((((
3710-n*)
3711 case `echo 'xy\c'` in
3712 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3713 xy) ECHO_C='\c';;
3714 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3715 ECHO_T=' ';;
3716 esac;;
3718 ECHO_N='-n';;
3719esac
3721rm -f conf$$ conf$$.exe conf$$.file
3722if test -d conf$$.dir; then
3723 rm -f conf$$.dir/conf$$.file
3724else
3725 rm -f conf$$.dir
3726 mkdir conf$$.dir 2>/dev/null
3728if (echo >conf$$.file) 2>/dev/null; then
3729 if ln -s conf$$.file conf$$ 2>/dev/null; then
3730 as_ln_s='ln -s'
3731 # ... but there are two gotchas:
3732 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3733 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3734 # In both cases, we have to default to `cp -pR'.
3735 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3736 as_ln_s='cp -pR'
3737 elif ln conf$$.file conf$$ 2>/dev/null; then
3738 as_ln_s=ln
3739 else
3740 as_ln_s='cp -pR'
3741 fi
3742else
3743 as_ln_s='cp -pR'
3745rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3746rmdir conf$$.dir 2>/dev/null
3749# as_fn_mkdir_p
3750# -------------
3751# Create "$as_dir" as a directory, including parents if necessary.
3752as_fn_mkdir_p ()
3755 case $as_dir in #(
3756 -*) as_dir=./$as_dir;;
3757 esac
3758 test -d "$as_dir" || eval $as_mkdir_p || {
3759 as_dirs=
3760 while :; do
3761 case $as_dir in #(
3762 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3763 *) as_qdir=$as_dir;;
3764 esac
3765 as_dirs="'$as_qdir' $as_dirs"
3766 as_dir=`$as_dirname -- "$as_dir" ||
3767$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3768 X"$as_dir" : 'X\(//\)[^/]' \| \
3769 X"$as_dir" : 'X\(//\)$' \| \
3770 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3771$as_echo X"$as_dir" |
3772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3773 s//\1/
3776 /^X\(\/\/\)[^/].*/{
3777 s//\1/
3780 /^X\(\/\/\)$/{
3781 s//\1/
3784 /^X\(\/\).*/{
3785 s//\1/
3788 s/.*/./; q'`
3789 test -d "$as_dir" && break
3790 done
3791 test -z "$as_dirs" || eval "mkdir $as_dirs"
3792 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3795} # as_fn_mkdir_p
3796if mkdir -p . 2>/dev/null; then
3797 as_mkdir_p='mkdir -p "$as_dir"'
3798else
3799 test -d ./-p && rmdir ./-p
3800 as_mkdir_p=false
3804# as_fn_executable_p FILE
3805# -----------------------
3806# Test if FILE is an executable regular file.
3807as_fn_executable_p ()
3809 test -f "$1" && test -x "$1"
3810} # as_fn_executable_p
3811as_test_x='test -x'
3812as_executable_p=as_fn_executable_p
3814# Sed expression to map a string onto a valid CPP name.
3815as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3817# Sed expression to map a string onto a valid variable name.
3818as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3821exec 6>&1
3822## ----------------------------------- ##
3823## Main body of $CONFIG_STATUS script. ##
3824## ----------------------------------- ##
3825_ASEOF
3826test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3828cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3829# Save the log message, to keep $0 and so on meaningful, and to
3830# report actual input values of CONFIG_FILES etc. instead of their
3831# values after options handling.
3832ac_log="
3833This file was extended by streamly $as_me 0.7.2, which was
3834generated by GNU Autoconf 2.69. Invocation command line was
3836 CONFIG_FILES = $CONFIG_FILES
3837 CONFIG_HEADERS = $CONFIG_HEADERS
3838 CONFIG_LINKS = $CONFIG_LINKS
3839 CONFIG_COMMANDS = $CONFIG_COMMANDS
3840 $ $0 $@
3842on `(hostname || uname -n) 2>/dev/null | sed 1q`
3845_ACEOF
3848case $ac_config_headers in *"
3849"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3850esac
3853cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3854# Files that config.status was made for.
3855config_headers="$ac_config_headers"
3857_ACEOF
3859cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3860ac_cs_usage="\
3861\`$as_me' instantiates files and other configuration actions
3862from templates according to the current configuration. Unless the files
3863and actions are specified as TAGs, all are instantiated by default.
3865Usage: $0 [OPTION]... [TAG]...
3867 -h, --help print this help, then exit
3868 -V, --version print version number and configuration settings, then exit
3869 --config print configuration, then exit
3870 -q, --quiet, --silent
3871 do not print progress messages
3872 -d, --debug don't remove temporary files
3873 --recheck update $as_me by reconfiguring in the same conditions
3874 --header=FILE[:TEMPLATE]
3875 instantiate the configuration header FILE
3877Configuration headers:
3878$config_headers
3880Report bugs to <streamly@composewell.com>."
3882_ACEOF
3883cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3884ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3885ac_cs_version="\\
3886streamly config.status 0.7.2
3887configured by $0, generated by GNU Autoconf 2.69,
3888 with options \\"\$ac_cs_config\\"
3890Copyright (C) 2012 Free Software Foundation, Inc.
3891This config.status script is free software; the Free Software Foundation
3892gives unlimited permission to copy, distribute and modify it."
3894ac_pwd='$ac_pwd'
3895srcdir='$srcdir'
3896test -n "\$AWK" || AWK=awk
3897_ACEOF
3899cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3900# The default lists apply if the user does not specify any file.
3901ac_need_defaults=:
3902while test $# != 0
3904 case $1 in
3905 --*=?*)
3906 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3907 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3908 ac_shift=:
3909 ;;
3910 --*=)
3911 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3912 ac_optarg=
3913 ac_shift=:
3914 ;;
3915 *)
3916 ac_option=$1
3917 ac_optarg=$2
3918 ac_shift=shift
3919 ;;
3920 esac
3922 case $ac_option in
3923 # Handling of the options.
3924 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3925 ac_cs_recheck=: ;;
3926 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3927 $as_echo "$ac_cs_version"; exit ;;
3928 --config | --confi | --conf | --con | --co | --c )
3929 $as_echo "$ac_cs_config"; exit ;;
3930 --debug | --debu | --deb | --de | --d | -d )
3931 debug=: ;;
3932 --header | --heade | --head | --hea )
3933 $ac_shift
3934 case $ac_optarg in
3935 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3936 esac
3937 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3938 ac_need_defaults=false;;
3939 --he | --h)
3940 # Conflict between --help and --header
3941 as_fn_error $? "ambiguous option: \`$1'
3942Try \`$0 --help' for more information.";;
3943 --help | --hel | -h )
3944 $as_echo "$ac_cs_usage"; exit ;;
3945 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3946 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3947 ac_cs_silent=: ;;
3949 # This is an error.
3950 -*) as_fn_error $? "unrecognized option: \`$1'
3951Try \`$0 --help' for more information." ;;
3953 *) as_fn_append ac_config_targets " $1"
3954 ac_need_defaults=false ;;
3956 esac
3957 shift
3958done
3960ac_configure_extra_args=
3962if $ac_cs_silent; then
3963 exec 6>/dev/null
3964 ac_configure_extra_args="$ac_configure_extra_args --silent"
3967_ACEOF
3968cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3969if \$ac_cs_recheck; then
3970 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3971 shift
3972 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3973 CONFIG_SHELL='$SHELL'
3974 export CONFIG_SHELL
3975 exec "\$@"
3978_ACEOF
3979cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3980exec 5>>config.log
3982 echo
3983 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3984## Running $as_me. ##
3985_ASBOX
3986 $as_echo "$ac_log"
3987} >&5
3989_ACEOF
3990cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3991_ACEOF
3993cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3995# Handling of arguments.
3996for ac_config_target in $ac_config_targets
3998 case $ac_config_target in
3999 "src/Streamly/Internal/Data/Time/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/Streamly/Internal/Data/Time/config.h" ;;
4001 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4002 esac
4003done
4006# If the user did not use the arguments to specify the items to instantiate,
4007# then the envvar interface is used. Set only those that are not.
4008# We use the long form for the default assignment because of an extremely
4009# bizarre bug on SunOS 4.1.3.
4010if $ac_need_defaults; then
4011 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4014# Have a temporary directory for convenience. Make it in the build tree
4015# simply because there is no reason against having it here, and in addition,
4016# creating and moving files from /tmp can sometimes cause problems.
4017# Hook for its removal unless debugging.
4018# Note that there is a small window in which the directory will not be cleaned:
4019# after its creation but before its name has been assigned to `$tmp'.
4020$debug ||
4022 tmp= ac_tmp=
4023 trap 'exit_status=$?
4024 : "${ac_tmp:=$tmp}"
4025 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4026' 0
4027 trap 'as_fn_exit 1' 1 2 13 15
4029# Create a (secure) tmp directory for tmp files.
4032 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4033 test -d "$tmp"
4034} ||
4036 tmp=./conf$$-$RANDOM
4037 (umask 077 && mkdir "$tmp")
4038} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4039ac_tmp=$tmp
4041# Set up the scripts for CONFIG_HEADERS section.
4042# No need to generate them if there are no CONFIG_HEADERS.
4043# This happens for instance with `./config.status Makefile'.
4044if test -n "$CONFIG_HEADERS"; then
4045cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4046BEGIN {
4047_ACEOF
4049# Transform confdefs.h into an awk script `defines.awk', embedded as
4050# here-document in config.status, that substitutes the proper values into
4051# config.h.in to produce config.h.
4053# Create a delimiter string that does not exist in confdefs.h, to ease
4054# handling of long lines.
4055ac_delim='%!_!# '
4056for ac_last_try in false false :; do
4057 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4058 if test -z "$ac_tt"; then
4059 break
4060 elif $ac_last_try; then
4061 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4062 else
4063 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4064 fi
4065done
4067# For the awk script, D is an array of macro values keyed by name,
4068# likewise P contains macro parameters if any. Preserve backslash
4069# newline sequences.
4071ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4072sed -n '
4073s/.\{148\}/&'"$ac_delim"'/g
4074t rset
4075:rset
4076s/^[ ]*#[ ]*define[ ][ ]*/ /
4077t def
4079:def
4080s/\\$//
4081t bsnl
4082s/["\\]/\\&/g
4083s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4084D["\1"]=" \3"/p
4085s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4087:bsnl
4088s/["\\]/\\&/g
4089s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4090D["\1"]=" \3\\\\\\n"\\/p
4091t cont
4092s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4093t cont
4095:cont
4097s/.\{148\}/&'"$ac_delim"'/g
4098t clear
4099:clear
4100s/\\$//
4101t bsnlc
4102s/["\\]/\\&/g; s/^/"/; s/$/"/p
4104:bsnlc
4105s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4106b cont
4107' <confdefs.h | sed '
4108s/'"$ac_delim"'/"\\\
4109"/g' >>$CONFIG_STATUS || ac_write_fail=1
4111cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4112 for (key in D) D_is_set[key] = 1
4113 FS = ""
4115/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4116 line = \$ 0
4117 split(line, arg, " ")
4118 if (arg[1] == "#") {
4119 defundef = arg[2]
4120 mac1 = arg[3]
4121 } else {
4122 defundef = substr(arg[1], 2)
4123 mac1 = arg[2]
4125 split(mac1, mac2, "(") #)
4126 macro = mac2[1]
4127 prefix = substr(line, 1, index(line, defundef) - 1)
4128 if (D_is_set[macro]) {
4129 # Preserve the white space surrounding the "#".
4130 print prefix "define", macro P[macro] D[macro]
4131 next
4132 } else {
4133 # Replace #undef with comments. This is necessary, for example,
4134 # in the case of _POSIX_SOURCE, which is predefined and required
4135 # on some systems where configure will not decide to define it.
4136 if (defundef == "undef") {
4137 print "/*", prefix defundef, macro, "*/"
4138 next
4142{ print }
4143_ACAWK
4144_ACEOF
4145cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4146 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4147fi # test -n "$CONFIG_HEADERS"
4150eval set X " :H $CONFIG_HEADERS "
4151shift
4152for ac_tag
4154 case $ac_tag in
4155 :[FHLC]) ac_mode=$ac_tag; continue;;
4156 esac
4157 case $ac_mode$ac_tag in
4158 :[FHL]*:*);;
4159 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4160 :[FH]-) ac_tag=-:-;;
4161 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4162 esac
4163 ac_save_IFS=$IFS
4164 IFS=:
4165 set x $ac_tag
4166 IFS=$ac_save_IFS
4167 shift
4168 ac_file=$1
4169 shift
4171 case $ac_mode in
4172 :L) ac_source=$1;;
4173 :[FH])
4174 ac_file_inputs=
4175 for ac_f
4176 do
4177 case $ac_f in
4178 -) ac_f="$ac_tmp/stdin";;
4179 *) # Look for the file first in the build tree, then in the source tree
4180 # (if the path is not absolute). The absolute path cannot be DOS-style,
4181 # because $ac_f cannot contain `:'.
4182 test -f "$ac_f" ||
4183 case $ac_f in
4184 [\\/$]*) false;;
4185 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4186 esac ||
4187 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4188 esac
4189 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4190 as_fn_append ac_file_inputs " '$ac_f'"
4191 done
4193 # Let's still pretend it is `configure' which instantiates (i.e., don't
4194 # use $as_me), people would be surprised to read:
4195 # /* config.h. Generated by config.status. */
4196 configure_input='Generated from '`
4197 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4198 `' by configure.'
4199 if test x"$ac_file" != x-; then
4200 configure_input="$ac_file. $configure_input"
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4202$as_echo "$as_me: creating $ac_file" >&6;}
4203 fi
4204 # Neutralize special characters interpreted by sed in replacement strings.
4205 case $configure_input in #(
4206 *\&* | *\|* | *\\* )
4207 ac_sed_conf_input=`$as_echo "$configure_input" |
4208 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4209 *) ac_sed_conf_input=$configure_input;;
4210 esac
4212 case $ac_tag in
4213 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4214 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4215 esac
4216 ;;
4217 esac
4219 ac_dir=`$as_dirname -- "$ac_file" ||
4220$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4221 X"$ac_file" : 'X\(//\)[^/]' \| \
4222 X"$ac_file" : 'X\(//\)$' \| \
4223 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4224$as_echo X"$ac_file" |
4225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4226 s//\1/
4229 /^X\(\/\/\)[^/].*/{
4230 s//\1/
4233 /^X\(\/\/\)$/{
4234 s//\1/
4237 /^X\(\/\).*/{
4238 s//\1/
4241 s/.*/./; q'`
4242 as_dir="$ac_dir"; as_fn_mkdir_p
4243 ac_builddir=.
4245case "$ac_dir" in
4246.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4248 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4249 # A ".." for each directory in $ac_dir_suffix.
4250 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4251 case $ac_top_builddir_sub in
4252 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4253 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4254 esac ;;
4255esac
4256ac_abs_top_builddir=$ac_pwd
4257ac_abs_builddir=$ac_pwd$ac_dir_suffix
4258# for backward compatibility:
4259ac_top_builddir=$ac_top_build_prefix
4261case $srcdir in
4262 .) # We are building in place.
4263 ac_srcdir=.
4264 ac_top_srcdir=$ac_top_builddir_sub
4265 ac_abs_top_srcdir=$ac_pwd ;;
4266 [\\/]* | ?:[\\/]* ) # Absolute name.
4267 ac_srcdir=$srcdir$ac_dir_suffix;
4268 ac_top_srcdir=$srcdir
4269 ac_abs_top_srcdir=$srcdir ;;
4270 *) # Relative name.
4271 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4272 ac_top_srcdir=$ac_top_build_prefix$srcdir
4273 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4274esac
4275ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4278 case $ac_mode in
4280 :H)
4282 # CONFIG_HEADER
4284 if test x"$ac_file" != x-; then
4286 $as_echo "/* $configure_input */" \
4287 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4288 } >"$ac_tmp/config.h" \
4289 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4290 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4292$as_echo "$as_me: $ac_file is unchanged" >&6;}
4293 else
4294 rm -f "$ac_file"
4295 mv "$ac_tmp/config.h" "$ac_file" \
4296 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4297 fi
4298 else
4299 $as_echo "/* $configure_input */" \
4300 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4301 || as_fn_error $? "could not create -" "$LINENO" 5
4302 fi
4303 ;;
4306 esac
4308done # for ac_tag
4311as_fn_exit 0
4312_ACEOF
4313ac_clean_files=$ac_clean_files_save
4315test $ac_write_fail = 0 ||
4316 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4319# configure is writing to config.log, and then calls config.status.
4320# config.status does its own redirection, appending to config.log.
4321# Unfortunately, on DOS this fails, as config.log is still kept open
4322# by configure, so config.status won't be able to write to it; its
4323# output is simply discarded. So we exec the FD to /dev/null,
4324# effectively closing config.log, so it can be properly (re)opened and
4325# appended to by config.status. When coming back to configure, we
4326# need to make the FD available again.
4327if test "$no_create" != yes; then
4328 ac_cs_success=:
4329 ac_config_status_args=
4330 test "$silent" = yes &&
4331 ac_config_status_args="$ac_config_status_args --quiet"
4332 exec 5>/dev/null
4333 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4334 exec 5>>config.log
4335 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4336 # would make configure fail if this is the last instruction.
4337 $ac_cs_success || as_fn_exit 1
4339if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4341$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}