on 5054813 help sign in
streamly/configure
4330 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.6.0.
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.6.0'
584PACKAGE_STRING='streamly 0.6.0'
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
655localstatedir
656sharedstatedir
657sysconfdir
658datadir
659datarootdir
660libexecdir
661sbindir
662bindir
663program_transform_name
664prefix
665exec_prefix
666PACKAGE_URL
667PACKAGE_BUGREPORT
668PACKAGE_STRING
669PACKAGE_VERSION
670PACKAGE_TARNAME
671PACKAGE_NAME
672PATH_SEPARATOR
673SHELL'
674ac_subst_files=''
675ac_user_opts='
676enable_option_checking
677with_compiler
679 ac_precious_vars='build_alias
680host_alias
681target_alias
682CC
683CFLAGS
684LDFLAGS
685LIBS
686CPPFLAGS
687CPP'
690# Initialize some variables set by options.
691ac_init_help=
692ac_init_version=false
693ac_unrecognized_opts=
694ac_unrecognized_sep=
695# The variables have the same names as the options, with
696# dashes changed to underlines.
697cache_file=/dev/null
698exec_prefix=NONE
699no_create=
700no_recursion=
701prefix=NONE
702program_prefix=NONE
703program_suffix=NONE
704program_transform_name=s,x,x,
705silent=
706site=
707srcdir=
708verbose=
709x_includes=NONE
710x_libraries=NONE
712# Installation directory options.
713# These are left unexpanded so users can "make install exec_prefix=/foo"
714# and all the variables that are supposed to be based on exec_prefix
715# by default will actually change.
716# Use braces instead of parens because sh, perl, etc. also accept them.
717# (The list follows the same order as the GNU Coding Standards.)
718bindir='${exec_prefix}/bin'
719sbindir='${exec_prefix}/sbin'
720libexecdir='${exec_prefix}/libexec'
721datarootdir='${prefix}/share'
722datadir='${datarootdir}'
723sysconfdir='${prefix}/etc'
724sharedstatedir='${prefix}/com'
725localstatedir='${prefix}/var'
726includedir='${prefix}/include'
727oldincludedir='/usr/include'
728docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
729infodir='${datarootdir}/info'
730htmldir='${docdir}'
731dvidir='${docdir}'
732pdfdir='${docdir}'
733psdir='${docdir}'
734libdir='${exec_prefix}/lib'
735localedir='${datarootdir}/locale'
736mandir='${datarootdir}/man'
738ac_prev=
739ac_dashdash=
740for ac_option
741do
742 # If the previous option needs an argument, assign it.
743 if test -n "$ac_prev"; then
744 eval $ac_prev=\$ac_option
745 ac_prev=
746 continue
747 fi
749 case $ac_option in
750 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
751 *=) ac_optarg= ;;
752 *) ac_optarg=yes ;;
753 esac
755 # Accept the important Cygnus configure options, so we can diagnose typos.
757 case $ac_dashdash$ac_option in
758 --)
759 ac_dashdash=yes ;;
761 -bindir | --bindir | --bindi | --bind | --bin | --bi)
762 ac_prev=bindir ;;
763 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
764 bindir=$ac_optarg ;;
766 -build | --build | --buil | --bui | --bu)
767 ac_prev=build_alias ;;
768 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
769 build_alias=$ac_optarg ;;
771 -cache-file | --cache-file | --cache-fil | --cache-fi \
772 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
773 ac_prev=cache_file ;;
774 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
775 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
776 cache_file=$ac_optarg ;;
778 --config-cache | -C)
779 cache_file=config.cache ;;
781 -datadir | --datadir | --datadi | --datad)
782 ac_prev=datadir ;;
783 -datadir=* | --datadir=* | --datadi=* | --datad=*)
784 datadir=$ac_optarg ;;
786 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
787 | --dataroo | --dataro | --datar)
788 ac_prev=datarootdir ;;
789 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
790 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
791 datarootdir=$ac_optarg ;;
793 -disable-* | --disable-*)
794 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
797 as_fn_error $? "invalid feature name: $ac_useropt"
798 ac_useropt_orig=$ac_useropt
799 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
800 case $ac_user_opts in
801 *"
802"enable_$ac_useropt"
803"*) ;;
804 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
805 ac_unrecognized_sep=', ';;
806 esac
807 eval enable_$ac_useropt=no ;;
809 -docdir | --docdir | --docdi | --doc | --do)
810 ac_prev=docdir ;;
811 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
812 docdir=$ac_optarg ;;
814 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
815 ac_prev=dvidir ;;
816 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
817 dvidir=$ac_optarg ;;
819 -enable-* | --enable-*)
820 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
821 # Reject names that are not valid shell variable names.
822 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
823 as_fn_error $? "invalid feature name: $ac_useropt"
824 ac_useropt_orig=$ac_useropt
825 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
826 case $ac_user_opts in
827 *"
828"enable_$ac_useropt"
829"*) ;;
830 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
831 ac_unrecognized_sep=', ';;
832 esac
833 eval enable_$ac_useropt=\$ac_optarg ;;
835 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
836 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
837 | --exec | --exe | --ex)
838 ac_prev=exec_prefix ;;
839 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
840 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
841 | --exec=* | --exe=* | --ex=*)
842 exec_prefix=$ac_optarg ;;
844 -gas | --gas | --ga | --g)
845 # Obsolete; use --with-gas.
846 with_gas=yes ;;
848 -help | --help | --hel | --he | -h)
849 ac_init_help=long ;;
850 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
851 ac_init_help=recursive ;;
852 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
853 ac_init_help=short ;;
855 -host | --host | --hos | --ho)
856 ac_prev=host_alias ;;
857 -host=* | --host=* | --hos=* | --ho=*)
858 host_alias=$ac_optarg ;;
860 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
861 ac_prev=htmldir ;;
862 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
863 | --ht=*)
864 htmldir=$ac_optarg ;;
866 -includedir | --includedir | --includedi | --included | --include \
867 | --includ | --inclu | --incl | --inc)
868 ac_prev=includedir ;;
869 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
870 | --includ=* | --inclu=* | --incl=* | --inc=*)
871 includedir=$ac_optarg ;;
873 -infodir | --infodir | --infodi | --infod | --info | --inf)
874 ac_prev=infodir ;;
875 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
876 infodir=$ac_optarg ;;
878 -libdir | --libdir | --libdi | --libd)
879 ac_prev=libdir ;;
880 -libdir=* | --libdir=* | --libdi=* | --libd=*)
881 libdir=$ac_optarg ;;
883 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
884 | --libexe | --libex | --libe)
885 ac_prev=libexecdir ;;
886 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
887 | --libexe=* | --libex=* | --libe=*)
888 libexecdir=$ac_optarg ;;
890 -localedir | --localedir | --localedi | --localed | --locale)
891 ac_prev=localedir ;;
892 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
893 localedir=$ac_optarg ;;
895 -localstatedir | --localstatedir | --localstatedi | --localstated \
896 | --localstate | --localstat | --localsta | --localst | --locals)
897 ac_prev=localstatedir ;;
898 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
899 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
900 localstatedir=$ac_optarg ;;
902 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
903 ac_prev=mandir ;;
904 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
905 mandir=$ac_optarg ;;
907 -nfp | --nfp | --nf)
908 # Obsolete; use --without-fp.
909 with_fp=no ;;
911 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
912 | --no-cr | --no-c | -n)
913 no_create=yes ;;
915 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
916 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
917 no_recursion=yes ;;
919 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
920 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
921 | --oldin | --oldi | --old | --ol | --o)
922 ac_prev=oldincludedir ;;
923 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
924 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
925 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
926 oldincludedir=$ac_optarg ;;
928 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
929 ac_prev=prefix ;;
930 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
931 prefix=$ac_optarg ;;
933 -program-prefix | --program-prefix | --program-prefi | --program-pref \
934 | --program-pre | --program-pr | --program-p)
935 ac_prev=program_prefix ;;
936 -program-prefix=* | --program-prefix=* | --program-prefi=* \
937 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
938 program_prefix=$ac_optarg ;;
940 -program-suffix | --program-suffix | --program-suffi | --program-suff \
941 | --program-suf | --program-su | --program-s)
942 ac_prev=program_suffix ;;
943 -program-suffix=* | --program-suffix=* | --program-suffi=* \
944 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
945 program_suffix=$ac_optarg ;;
947 -program-transform-name | --program-transform-name \
948 | --program-transform-nam | --program-transform-na \
949 | --program-transform-n | --program-transform- \
950 | --program-transform | --program-transfor \
951 | --program-transfo | --program-transf \
952 | --program-trans | --program-tran \
953 | --progr-tra | --program-tr | --program-t)
954 ac_prev=program_transform_name ;;
955 -program-transform-name=* | --program-transform-name=* \
956 | --program-transform-nam=* | --program-transform-na=* \
957 | --program-transform-n=* | --program-transform-=* \
958 | --program-transform=* | --program-transfor=* \
959 | --program-transfo=* | --program-transf=* \
960 | --program-trans=* | --program-tran=* \
961 | --progr-tra=* | --program-tr=* | --program-t=*)
962 program_transform_name=$ac_optarg ;;
964 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
965 ac_prev=pdfdir ;;
966 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
967 pdfdir=$ac_optarg ;;
969 -psdir | --psdir | --psdi | --psd | --ps)
970 ac_prev=psdir ;;
971 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
972 psdir=$ac_optarg ;;
974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
975 | -silent | --silent | --silen | --sile | --sil)
976 silent=yes ;;
978 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
979 ac_prev=sbindir ;;
980 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
981 | --sbi=* | --sb=*)
982 sbindir=$ac_optarg ;;
984 -sharedstatedir | --sharedstatedir | --sharedstatedi \
985 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
986 | --sharedst | --shareds | --shared | --share | --shar \
987 | --sha | --sh)
988 ac_prev=sharedstatedir ;;
989 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
990 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
991 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
992 | --sha=* | --sh=*)
993 sharedstatedir=$ac_optarg ;;
995 -site | --site | --sit)
996 ac_prev=site ;;
997 -site=* | --site=* | --sit=*)
998 site=$ac_optarg ;;
1000 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1001 ac_prev=srcdir ;;
1002 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1003 srcdir=$ac_optarg ;;
1005 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1006 | --syscon | --sysco | --sysc | --sys | --sy)
1007 ac_prev=sysconfdir ;;
1008 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1009 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1010 sysconfdir=$ac_optarg ;;
1012 -target | --target | --targe | --targ | --tar | --ta | --t)
1013 ac_prev=target_alias ;;
1014 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1015 target_alias=$ac_optarg ;;
1017 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1018 verbose=yes ;;
1020 -version | --version | --versio | --versi | --vers | -V)
1021 ac_init_version=: ;;
1023 -with-* | --with-*)
1024 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027 as_fn_error $? "invalid package name: $ac_useropt"
1028 ac_useropt_orig=$ac_useropt
1029 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1031 *"
1032"with_$ac_useropt"
1033"*) ;;
1034 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1035 ac_unrecognized_sep=', ';;
1036 esac
1037 eval with_$ac_useropt=\$ac_optarg ;;
1039 -without-* | --without-*)
1040 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1043 as_fn_error $? "invalid package name: $ac_useropt"
1044 ac_useropt_orig=$ac_useropt
1045 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1047 *"
1048"with_$ac_useropt"
1049"*) ;;
1050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1051 ac_unrecognized_sep=', ';;
1052 esac
1053 eval with_$ac_useropt=no ;;
1055 --x)
1056 # Obsolete; use --with-x.
1057 with_x=yes ;;
1059 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1060 | --x-incl | --x-inc | --x-in | --x-i)
1061 ac_prev=x_includes ;;
1062 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1063 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1064 x_includes=$ac_optarg ;;
1066 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1067 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1068 ac_prev=x_libraries ;;
1069 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1070 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1071 x_libraries=$ac_optarg ;;
1073 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1074Try \`$0 --help' for more information"
1075 ;;
1077 *=*)
1078 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1079 # Reject names that are not valid shell variable names.
1080 case $ac_envvar in #(
1081 '' | [0-9]* | *[!_$as_cr_alnum]* )
1082 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1083 esac
1084 eval $ac_envvar=\$ac_optarg
1085 export $ac_envvar ;;
1087 *)
1088 # FIXME: should be removed in autoconf 3.0.
1089 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1090 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1091 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1092 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1093 ;;
1095 esac
1096done
1098if test -n "$ac_prev"; then
1099 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1100 as_fn_error $? "missing argument to $ac_option"
1103if test -n "$ac_unrecognized_opts"; then
1104 case $enable_option_checking in
1105 no) ;;
1106 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1107 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1108 esac
1111# Check all directory arguments for consistency.
1112for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1113 datadir sysconfdir sharedstatedir localstatedir includedir \
1114 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1115 libdir localedir mandir
1117 eval ac_val=\$$ac_var
1118 # Remove trailing slashes.
1119 case $ac_val in
1120 */ )
1121 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1122 eval $ac_var=\$ac_val;;
1123 esac
1124 # Be sure to have absolute directory names.
1125 case $ac_val in
1126 [\\/$]* | ?:[\\/]* ) continue;;
1127 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1128 esac
1129 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1130done
1132# There might be people who depend on the old broken behavior: `$host'
1133# used to hold the argument of --host etc.
1134# FIXME: To remove some day.
1135build=$build_alias
1136host=$host_alias
1137target=$target_alias
1139# FIXME: To remove some day.
1140if test "x$host_alias" != x; then
1141 if test "x$build_alias" = x; then
1142 cross_compiling=maybe
1143 elif test "x$build_alias" != "x$host_alias"; then
1144 cross_compiling=yes
1145 fi
1148ac_tool_prefix=
1149test -n "$host_alias" && ac_tool_prefix=$host_alias-
1151test "$silent" = yes && exec 6>/dev/null
1154ac_pwd=`pwd` && test -n "$ac_pwd" &&
1155ac_ls_di=`ls -di .` &&
1156ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1157 as_fn_error $? "working directory cannot be determined"
1158test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1159 as_fn_error $? "pwd does not report name of working directory"
1162# Find the source files, if location was not specified.
1163if test -z "$srcdir"; then
1164 ac_srcdir_defaulted=yes
1165 # Try the directory containing this script, then the parent directory.
1166 ac_confdir=`$as_dirname -- "$as_myself" ||
1167$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1168 X"$as_myself" : 'X\(//\)[^/]' \| \
1169 X"$as_myself" : 'X\(//\)$' \| \
1170 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1171$as_echo X"$as_myself" |
1172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1173 s//\1/
1176 /^X\(\/\/\)[^/].*/{
1177 s//\1/
1180 /^X\(\/\/\)$/{
1181 s//\1/
1184 /^X\(\/\).*/{
1185 s//\1/
1188 s/.*/./; q'`
1189 srcdir=$ac_confdir
1190 if test ! -r "$srcdir/$ac_unique_file"; then
1191 srcdir=..
1192 fi
1193else
1194 ac_srcdir_defaulted=no
1196if test ! -r "$srcdir/$ac_unique_file"; then
1197 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1198 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1200ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1201ac_abs_confdir=`(
1202 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1203 pwd)`
1204# When building in place, set srcdir=.
1205if test "$ac_abs_confdir" = "$ac_pwd"; then
1206 srcdir=.
1208# Remove unnecessary trailing slashes from srcdir.
1209# Double slashes in file names in object file debugging info
1210# mess up M-x gdb in Emacs.
1211case $srcdir in
1212*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1213esac
1214for ac_var in $ac_precious_vars; do
1215 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1216 eval ac_env_${ac_var}_value=\$${ac_var}
1217 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1218 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1219done
1222# Report the --help message.
1224if test "$ac_init_help" = "long"; then
1225 # Omit some internal or obsolete options to make the list less imposing.
1226 # This message is too long to be a string in the A/UX 3.1 sh.
1227 cat <<_ACEOF
1228\`configure' configures streamly 0.6.0 to adapt to many kinds of systems.
1230Usage: $0 [OPTION]... [VAR=VALUE]...
1232To assign environment variables (e.g., CC, CFLAGS...), specify them as
1233VAR=VALUE. See below for descriptions of some of the useful variables.
1235Defaults for the options are specified in brackets.
1237Configuration:
1238 -h, --help display this help and exit
1239 --help=short display options specific to this package
1240 --help=recursive display the short help of all the included packages
1241 -V, --version display version information and exit
1242 -q, --quiet, --silent do not print \`checking ...' messages
1243 --cache-file=FILE cache test results in FILE [disabled]
1244 -C, --config-cache alias for \`--cache-file=config.cache'
1245 -n, --no-create do not create output files
1246 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1248Installation directories:
1249 --prefix=PREFIX install architecture-independent files in PREFIX
1250 [$ac_default_prefix]
1251 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1252 [PREFIX]
1254By default, \`make install' will install all the files in
1255\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1256an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1257for instance \`--prefix=\$HOME'.
1259For better control, use the options below.
1261Fine tuning of the installation directories:
1262 --bindir=DIR user executables [EPREFIX/bin]
1263 --sbindir=DIR system admin executables [EPREFIX/sbin]
1264 --libexecdir=DIR program executables [EPREFIX/libexec]
1265 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1266 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1267 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1268 --libdir=DIR object code libraries [EPREFIX/lib]
1269 --includedir=DIR C header files [PREFIX/include]
1270 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1271 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1272 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1273 --infodir=DIR info documentation [DATAROOTDIR/info]
1274 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1275 --mandir=DIR man documentation [DATAROOTDIR/man]
1276 --docdir=DIR documentation root [DATAROOTDIR/doc/streamly]
1277 --htmldir=DIR html documentation [DOCDIR]
1278 --dvidir=DIR dvi documentation [DOCDIR]
1279 --pdfdir=DIR pdf documentation [DOCDIR]
1280 --psdir=DIR ps documentation [DOCDIR]
1281_ACEOF
1283 cat <<\_ACEOF
1284_ACEOF
1287if test -n "$ac_init_help"; then
1288 case $ac_init_help in
1289 short | recursive ) echo "Configuration of streamly 0.6.0:";;
1290 esac
1291 cat <<\_ACEOF
1293Optional Packages:
1294 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1295 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1296GHC
1298Some influential environment variables:
1299 CC C compiler command
1300 CFLAGS C compiler flags
1301 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1302 nonstandard directory <lib dir>
1303 LIBS libraries to pass to the linker, e.g. -l<library>
1304 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1305 you have headers in a nonstandard directory <include dir>
1306 CPP C preprocessor
1308Use these variables to override the choices made by `configure' or to help
1309it to find libraries and programs with nonstandard names/locations.
1311Report bugs to <streamly@composewell.com>.
1312_ACEOF
1313ac_status=$?
1316if test "$ac_init_help" = "recursive"; then
1317 # If there are subdirs, report their specific --help.
1318 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1319 test -d "$ac_dir" ||
1320 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1321 continue
1322 ac_builddir=.
1324case "$ac_dir" in
1325.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1327 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1328 # A ".." for each directory in $ac_dir_suffix.
1329 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1330 case $ac_top_builddir_sub in
1331 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1333 esac ;;
1334esac
1335ac_abs_top_builddir=$ac_pwd
1336ac_abs_builddir=$ac_pwd$ac_dir_suffix
1337# for backward compatibility:
1338ac_top_builddir=$ac_top_build_prefix
1340case $srcdir in
1341 .) # We are building in place.
1342 ac_srcdir=.
1343 ac_top_srcdir=$ac_top_builddir_sub
1344 ac_abs_top_srcdir=$ac_pwd ;;
1345 [\\/]* | ?:[\\/]* ) # Absolute name.
1346 ac_srcdir=$srcdir$ac_dir_suffix;
1347 ac_top_srcdir=$srcdir
1348 ac_abs_top_srcdir=$srcdir ;;
1349 *) # Relative name.
1350 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1351 ac_top_srcdir=$ac_top_build_prefix$srcdir
1352 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1353esac
1354ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1356 cd "$ac_dir" || { ac_status=$?; continue; }
1357 # Check for guested configure.
1358 if test -f "$ac_srcdir/configure.gnu"; then
1359 echo &&
1360 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1361 elif test -f "$ac_srcdir/configure"; then
1362 echo &&
1363 $SHELL "$ac_srcdir/configure" --help=recursive
1364 else
1365 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1366 fi || ac_status=$?
1367 cd "$ac_pwd" || { ac_status=$?; break; }
1368 done
1371test -n "$ac_init_help" && exit $ac_status
1372if $ac_init_version; then
1373 cat <<\_ACEOF
1374streamly configure 0.6.0
1375generated by GNU Autoconf 2.69
1377Copyright (C) 2012 Free Software Foundation, Inc.
1378This configure script is free software; the Free Software Foundation
1379gives unlimited permission to copy, distribute and modify it.
1380_ACEOF
1381 exit
1384## ------------------------ ##
1385## Autoconf initialization. ##
1386## ------------------------ ##
1388# ac_fn_c_try_compile LINENO
1389# --------------------------
1390# Try to compile conftest.$ac_ext, and return whether this succeeded.
1391ac_fn_c_try_compile ()
1393 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1394 rm -f conftest.$ac_objext
1395 if { { ac_try="$ac_compile"
1396case "(($ac_try" in
1397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1398 *) ac_try_echo=$ac_try;;
1399esac
1400eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1401$as_echo "$ac_try_echo"; } >&5
1402 (eval "$ac_compile") 2>conftest.err
1403 ac_status=$?
1404 if test -s conftest.err; then
1405 grep -v '^ *+' conftest.err >conftest.er1
1406 cat conftest.er1 >&5
1407 mv -f conftest.er1 conftest.err
1408 fi
1409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1410 test $ac_status = 0; } && {
1411 test -z "$ac_c_werror_flag" ||
1412 test ! -s conftest.err
1413 } && test -s conftest.$ac_objext; then :
1414 ac_retval=0
1415else
1416 $as_echo "$as_me: failed program was:" >&5
1417sed 's/^/| /' conftest.$ac_ext >&5
1419 ac_retval=1
1421 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1422 as_fn_set_status $ac_retval
1424} # ac_fn_c_try_compile
1426# ac_fn_c_try_cpp LINENO
1427# ----------------------
1428# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1429ac_fn_c_try_cpp ()
1431 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1432 if { { ac_try="$ac_cpp conftest.$ac_ext"
1433case "(($ac_try" in
1434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1435 *) ac_try_echo=$ac_try;;
1436esac
1437eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1438$as_echo "$ac_try_echo"; } >&5
1439 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1440 ac_status=$?
1441 if test -s conftest.err; then
1442 grep -v '^ *+' conftest.err >conftest.er1
1443 cat conftest.er1 >&5
1444 mv -f conftest.er1 conftest.err
1445 fi
1446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1447 test $ac_status = 0; } > conftest.i && {
1448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1449 test ! -s conftest.err
1450 }; then :
1451 ac_retval=0
1452else
1453 $as_echo "$as_me: failed program was:" >&5
1454sed 's/^/| /' conftest.$ac_ext >&5
1456 ac_retval=1
1458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1459 as_fn_set_status $ac_retval
1461} # ac_fn_c_try_cpp
1463# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1464# -------------------------------------------------------
1465# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1466# the include files in INCLUDES and setting the cache variable VAR
1467# accordingly.
1468ac_fn_c_check_header_mongrel ()
1470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1471 if eval \${$3+:} false; then :
1472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1473$as_echo_n "checking for $2... " >&6; }
1474if eval \${$3+:} false; then :
1475 $as_echo_n "(cached) " >&6
1477eval ac_res=\$$3
1478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1479$as_echo "$ac_res" >&6; }
1480else
1481 # Is the header compilable?
1482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1483$as_echo_n "checking $2 usability... " >&6; }
1484cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1485/* end confdefs.h. */
1487#include <$2>
1488_ACEOF
1489if ac_fn_c_try_compile "$LINENO"; then :
1490 ac_header_compiler=yes
1491else
1492 ac_header_compiler=no
1494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1496$as_echo "$ac_header_compiler" >&6; }
1498# Is the header present?
1499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1500$as_echo_n "checking $2 presence... " >&6; }
1501cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1502/* end confdefs.h. */
1503#include <$2>
1504_ACEOF
1505if ac_fn_c_try_cpp "$LINENO"; then :
1506 ac_header_preproc=yes
1507else
1508 ac_header_preproc=no
1510rm -f conftest.err conftest.i conftest.$ac_ext
1511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1512$as_echo "$ac_header_preproc" >&6; }
1514# So? What about this header?
1515case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1516 yes:no: )
1517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1518$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1520$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1521 ;;
1522 no:yes:* )
1523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1524$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1526$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1528$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1530$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&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( $as_echo "## --------------------------------------- ##
1534## Report this to streamly@composewell.com ##
1535## --------------------------------------- ##"
1536 ) | sed "s/^/$as_me: WARNING: /" >&2
1537 ;;
1538esac
1539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1540$as_echo_n "checking for $2... " >&6; }
1541if eval \${$3+:} false; then :
1542 $as_echo_n "(cached) " >&6
1543else
1544 eval "$3=\$ac_header_compiler"
1546eval ac_res=\$$3
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1548$as_echo "$ac_res" >&6; }
1550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1552} # ac_fn_c_check_header_mongrel
1554# ac_fn_c_try_run LINENO
1555# ----------------------
1556# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1557# that executables *can* be run.
1558ac_fn_c_try_run ()
1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561 if { { ac_try="$ac_link"
1562case "(($ac_try" in
1563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1564 *) ac_try_echo=$ac_try;;
1565esac
1566eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567$as_echo "$ac_try_echo"; } >&5
1568 (eval "$ac_link") 2>&5
1569 ac_status=$?
1570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1571 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1572 { { case "(($ac_try" in
1573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1574 *) ac_try_echo=$ac_try;;
1575esac
1576eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577$as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_try") 2>&5
1579 ac_status=$?
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; }; }; then :
1582 ac_retval=0
1583else
1584 $as_echo "$as_me: program exited with status $ac_status" >&5
1585 $as_echo "$as_me: failed program was:" >&5
1586sed 's/^/| /' conftest.$ac_ext >&5
1588 ac_retval=$ac_status
1590 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 as_fn_set_status $ac_retval
1594} # ac_fn_c_try_run
1596# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1597# -------------------------------------------------------
1598# Tests whether HEADER exists and can be compiled using the include files in
1599# INCLUDES, setting the cache variable VAR accordingly.
1600ac_fn_c_check_header_compile ()
1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1604$as_echo_n "checking for $2... " >&6; }
1605if eval \${$3+:} false; then :
1606 $as_echo_n "(cached) " >&6
1607else
1608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1609/* end confdefs.h. */
1611#include <$2>
1612_ACEOF
1613if ac_fn_c_try_compile "$LINENO"; then :
1614 eval "$3=yes"
1615else
1616 eval "$3=no"
1618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1620eval ac_res=\$$3
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1622$as_echo "$ac_res" >&6; }
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625} # ac_fn_c_check_header_compile
1627# ac_fn_c_try_link LINENO
1628# -----------------------
1629# Try to link conftest.$ac_ext, and return whether this succeeded.
1630ac_fn_c_try_link ()
1632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1633 rm -f conftest.$ac_objext conftest$ac_exeext
1634 if { { ac_try="$ac_link"
1635case "(($ac_try" in
1636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1637 *) ac_try_echo=$ac_try;;
1638esac
1639eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640$as_echo "$ac_try_echo"; } >&5
1641 (eval "$ac_link") 2>conftest.err
1642 ac_status=$?
1643 if test -s conftest.err; then
1644 grep -v '^ *+' conftest.err >conftest.er1
1645 cat conftest.er1 >&5
1646 mv -f conftest.er1 conftest.err
1647 fi
1648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649 test $ac_status = 0; } && {
1650 test -z "$ac_c_werror_flag" ||
1651 test ! -s conftest.err
1652 } && test -s conftest$ac_exeext && {
1653 test "$cross_compiling" = yes ||
1654 test -x conftest$ac_exeext
1655 }; then :
1656 ac_retval=0
1657else
1658 $as_echo "$as_me: failed program was:" >&5
1659sed 's/^/| /' conftest.$ac_ext >&5
1661 ac_retval=1
1663 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1664 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1665 # interfere with the next link command; also delete a directory that is
1666 # left behind by Apple's compiler. We do this before executing the actions.
1667 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 as_fn_set_status $ac_retval
1671} # ac_fn_c_try_link
1673# ac_fn_c_check_func LINENO FUNC VAR
1674# ----------------------------------
1675# Tests whether FUNC exists, setting the cache variable VAR accordingly
1676ac_fn_c_check_func ()
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680$as_echo_n "checking for $2... " >&6; }
1681if eval \${$3+:} false; then :
1682 $as_echo_n "(cached) " >&6
1683else
1684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1685/* end confdefs.h. */
1686/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1688#define $2 innocuous_$2
1690/* System header to define __stub macros and hopefully few prototypes,
1691 which can conflict with char $2 (); below.
1692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1693 <limits.h> exists even on freestanding compilers. */
1695#ifdef __STDC__
1696# include <limits.h>
1697#else
1698# include <assert.h>
1699#endif
1701#undef $2
1703/* Override any GCC internal prototype to avoid an error.
1704 Use char because int might match the return type of a GCC
1705 builtin and then its argument prototype would still apply. */
1706#ifdef __cplusplus
1707extern "C"
1708#endif
1709char $2 ();
1710/* The GNU C library defines this for functions which it implements
1711 to always fail with ENOSYS. Some functions are actually named
1712 something starting with __ and the normal name is an alias. */
1713#if defined __stub_$2 || defined __stub___$2
1714choke me
1715#endif
1717int
1718main ()
1720return $2 ();
1722 return 0;
1724_ACEOF
1725if ac_fn_c_try_link "$LINENO"; then :
1726 eval "$3=yes"
1727else
1728 eval "$3=no"
1730rm -f core conftest.err conftest.$ac_objext \
1731 conftest$ac_exeext conftest.$ac_ext
1733eval ac_res=\$$3
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1735$as_echo "$ac_res" >&6; }
1736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738} # ac_fn_c_check_func
1739cat >config.log <<_ACEOF
1740This file contains any messages produced by compilers while
1741running configure, to aid debugging if configure makes a mistake.
1743It was created by streamly $as_me 0.6.0, which was
1744generated by GNU Autoconf 2.69. Invocation command line was
1746 $ $0 $@
1748_ACEOF
1749exec 5>>config.log
1751cat <<_ASUNAME
1752## --------- ##
1753## Platform. ##
1754## --------- ##
1756hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1757uname -m = `(uname -m) 2>/dev/null || echo unknown`
1758uname -r = `(uname -r) 2>/dev/null || echo unknown`
1759uname -s = `(uname -s) 2>/dev/null || echo unknown`
1760uname -v = `(uname -v) 2>/dev/null || echo unknown`
1762/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1763/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1765/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1766/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1767/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1768/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1769/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1770/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1771/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1773_ASUNAME
1775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1776for as_dir in $PATH
1778 IFS=$as_save_IFS
1779 test -z "$as_dir" && as_dir=.
1780 $as_echo "PATH: $as_dir"
1781 done
1782IFS=$as_save_IFS
1784} >&5
1786cat >&5 <<_ACEOF
1789## ----------- ##
1790## Core tests. ##
1791## ----------- ##
1793_ACEOF
1796# Keep a trace of the command line.
1797# Strip out --no-create and --no-recursion so they do not pile up.
1798# Strip out --silent because we don't want to record it for future runs.
1799# Also quote any args containing shell meta-characters.
1800# Make two passes to allow for proper duplicate-argument suppression.
1801ac_configure_args=
1802ac_configure_args0=
1803ac_configure_args1=
1804ac_must_keep_next=false
1805for ac_pass in 1 2
1807 for ac_arg
1808 do
1809 case $ac_arg in
1810 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1811 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1812 | -silent | --silent | --silen | --sile | --sil)
1813 continue ;;
1814 *\'*)
1815 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1816 esac
1817 case $ac_pass in
1818 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1819 2)
1820 as_fn_append ac_configure_args1 " '$ac_arg'"
1821 if test $ac_must_keep_next = true; then
1822 ac_must_keep_next=false # Got value, back to normal.
1823 else
1824 case $ac_arg in
1825 *=* | --config-cache | -C | -disable-* | --disable-* \
1826 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1827 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1828 | -with-* | --with-* | -without-* | --without-* | --x)
1829 case "$ac_configure_args0 " in
1830 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1831 esac
1832 ;;
1833 -* ) ac_must_keep_next=true ;;
1834 esac
1835 fi
1836 as_fn_append ac_configure_args " '$ac_arg'"
1837 ;;
1838 esac
1839 done
1840done
1841{ ac_configure_args0=; unset ac_configure_args0;}
1842{ ac_configure_args1=; unset ac_configure_args1;}
1844# When interrupted or exit'd, cleanup temporary files, and complete
1845# config.log. We remove comments because anyway the quotes in there
1846# would cause problems or look ugly.
1847# WARNING: Use '\'' to represent an apostrophe within the trap.
1848# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1849trap 'exit_status=$?
1850 # Save into config.log some information that might help in debugging.
1852 echo
1854 $as_echo "## ---------------- ##
1855## Cache variables. ##
1856## ---------------- ##"
1857 echo
1858 # The following way of writing the cache mishandles newlines in values,
1860 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1861 eval ac_val=\$$ac_var
1862 case $ac_val in #(
1863 *${as_nl}*)
1864 case $ac_var in #(
1865 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1866$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1867 esac
1868 case $ac_var in #(
1869 _ | IFS | as_nl) ;; #(
1870 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1871 *) { eval $ac_var=; unset $ac_var;} ;;
1872 esac ;;
1873 esac
1874 done
1875 (set) 2>&1 |
1876 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1877 *${as_nl}ac_space=\ *)
1878 sed -n \
1879 "s/'\''/'\''\\\\'\'''\''/g;
1880 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1881 ;; #(
1882 *)
1883 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1884 ;;
1885 esac |
1886 sort
1888 echo
1890 $as_echo "## ----------------- ##
1891## Output variables. ##
1892## ----------------- ##"
1893 echo
1894 for ac_var in $ac_subst_vars
1895 do
1896 eval ac_val=\$$ac_var
1897 case $ac_val in
1898 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1899 esac
1900 $as_echo "$ac_var='\''$ac_val'\''"
1901 done | sort
1902 echo
1904 if test -n "$ac_subst_files"; then
1905 $as_echo "## ------------------- ##
1906## File substitutions. ##
1907## ------------------- ##"
1908 echo
1909 for ac_var in $ac_subst_files
1910 do
1911 eval ac_val=\$$ac_var
1912 case $ac_val in
1913 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1914 esac
1915 $as_echo "$ac_var='\''$ac_val'\''"
1916 done | sort
1917 echo
1918 fi
1920 if test -s confdefs.h; then
1921 $as_echo "## ----------- ##
1922## confdefs.h. ##
1923## ----------- ##"
1924 echo
1925 cat confdefs.h
1926 echo
1927 fi
1928 test "$ac_signal" != 0 &&
1929 $as_echo "$as_me: caught signal $ac_signal"
1930 $as_echo "$as_me: exit $exit_status"
1931 } >&5
1932 rm -f core *.core core.conftest.* &&
1933 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1934 exit $exit_status
1935' 0
1936for ac_signal in 1 2 13 15; do
1937 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1938done
1939ac_signal=0
1941# confdefs.h avoids OS command line length limits that DEFS can exceed.
1942rm -f -r conftest* confdefs.h
1944$as_echo "/* confdefs.h */" > confdefs.h
1946# Predefined preprocessor variables.
1948cat >>confdefs.h <<_ACEOF
1949#define PACKAGE_NAME "$PACKAGE_NAME"
1950_ACEOF
1952cat >>confdefs.h <<_ACEOF
1953#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1954_ACEOF
1956cat >>confdefs.h <<_ACEOF
1957#define PACKAGE_VERSION "$PACKAGE_VERSION"
1958_ACEOF
1960cat >>confdefs.h <<_ACEOF
1961#define PACKAGE_STRING "$PACKAGE_STRING"
1962_ACEOF
1964cat >>confdefs.h <<_ACEOF
1965#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1966_ACEOF
1968cat >>confdefs.h <<_ACEOF
1969#define PACKAGE_URL "$PACKAGE_URL"
1970_ACEOF
1973# Let the site file select an alternate cache file if it wants to.
1974# Prefer an explicitly selected file to automatically selected ones.
1975ac_site_file1=NONE
1976ac_site_file2=NONE
1977if test -n "$CONFIG_SITE"; then
1978 # We do not want a PATH search for config.site.
1979 case $CONFIG_SITE in #((
1980 -*) ac_site_file1=./$CONFIG_SITE;;
1981 */*) ac_site_file1=$CONFIG_SITE;;
1982 *) ac_site_file1=./$CONFIG_SITE;;
1983 esac
1984elif test "x$prefix" != xNONE; then
1985 ac_site_file1=$prefix/share/config.site
1986 ac_site_file2=$prefix/etc/config.site
1987else
1988 ac_site_file1=$ac_default_prefix/share/config.site
1989 ac_site_file2=$ac_default_prefix/etc/config.site
1991for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1993 test "x$ac_site_file" = xNONE && continue
1994 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1996$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1997 sed 's/^/| /' "$ac_site_file" >&5
1998 . "$ac_site_file" \
1999 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2000$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2001as_fn_error $? "failed to load site script $ac_site_file
2002See \`config.log' for more details" "$LINENO" 5; }
2003 fi
2004done
2006if test -r "$cache_file"; then
2007 # Some versions of bash will fail to source /dev/null (special files
2008 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2009 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2011$as_echo "$as_me: loading cache $cache_file" >&6;}
2012 case $cache_file in
2013 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2014 *) . "./$cache_file";;
2015 esac
2016 fi
2017else
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2019$as_echo "$as_me: creating cache $cache_file" >&6;}
2020 >$cache_file
2023# Check that the precious variables saved in the cache have kept the same
2024# value.
2025ac_cache_corrupted=false
2026for ac_var in $ac_precious_vars; do
2027 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2028 eval ac_new_set=\$ac_env_${ac_var}_set
2029 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2030 eval ac_new_val=\$ac_env_${ac_var}_value
2031 case $ac_old_set,$ac_new_set in
2032 set,)
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2034$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2035 ac_cache_corrupted=: ;;
2036 ,set)
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2038$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2039 ac_cache_corrupted=: ;;
2040 ,);;
2041 *)
2042 if test "x$ac_old_val" != "x$ac_new_val"; then
2043 # differences in whitespace do not lead to failure.
2044 ac_old_val_w=`echo x $ac_old_val`
2045 ac_new_val_w=`echo x $ac_new_val`
2046 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2048$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2049 ac_cache_corrupted=:
2050 else
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2052$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2053 eval $ac_var=\$ac_old_val
2054 fi
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2056$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2058$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2059 fi;;
2060 esac
2061 # Pass precious variables to config.status.
2062 if test "$ac_new_set" = set; then
2063 case $ac_new_val in
2064 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2065 *) ac_arg=$ac_var=$ac_new_val ;;
2066 esac
2067 case " $ac_configure_args " in
2068 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2069 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2070 esac
2071 fi
2072done
2073if $ac_cache_corrupted; then
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2075$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2077$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2078 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2080## -------------------- ##
2081## Main body of script. ##
2082## -------------------- ##
2084ac_ext=c
2085ac_cpp='$CPP $CPPFLAGS'
2086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2088ac_compiler_gnu=$ac_cv_c_compiler_gnu
2092# To suppress "WARNING: unrecognized options: --with-compiler"
2094# Check whether --with-compiler was given.
2095if test "${with_compiler+set}" = set; then :
2096 withval=$with_compiler;
2100# Check headers and functions required
2101ac_ext=c
2102ac_cpp='$CPP $CPPFLAGS'
2103ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2104ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2105ac_compiler_gnu=$ac_cv_c_compiler_gnu
2106if test -n "$ac_tool_prefix"; then
2107 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2108set dummy ${ac_tool_prefix}gcc; ac_word=$2
2109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2110$as_echo_n "checking for $ac_word... " >&6; }
2111if ${ac_cv_prog_CC+:} false; then :
2112 $as_echo_n "(cached) " >&6
2113else
2114 if test -n "$CC"; then
2115 ac_cv_prog_CC="$CC" # Let the user override the test.
2116else
2117as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118for as_dir in $PATH
2120 IFS=$as_save_IFS
2121 test -z "$as_dir" && as_dir=.
2122 for ac_exec_ext in '' $ac_executable_extensions; do
2123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2124 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2126 break 2
2127 fi
2128done
2129 done
2130IFS=$as_save_IFS
2134CC=$ac_cv_prog_CC
2135if test -n "$CC"; then
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2137$as_echo "$CC" >&6; }
2138else
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2140$as_echo "no" >&6; }
2145if test -z "$ac_cv_prog_CC"; then
2146 ac_ct_CC=$CC
2147 # Extract the first word of "gcc", so it can be a program name with args.
2148set dummy gcc; ac_word=$2
2149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2150$as_echo_n "checking for $ac_word... " >&6; }
2151if ${ac_cv_prog_ac_ct_CC+:} false; then :
2152 $as_echo_n "(cached) " >&6
2153else
2154 if test -n "$ac_ct_CC"; then
2155 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2156else
2157as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158for as_dir in $PATH
2160 IFS=$as_save_IFS
2161 test -z "$as_dir" && as_dir=.
2162 for ac_exec_ext in '' $ac_executable_extensions; do
2163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2164 ac_cv_prog_ac_ct_CC="gcc"
2165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2166 break 2
2167 fi
2168done
2169 done
2170IFS=$as_save_IFS
2174ac_ct_CC=$ac_cv_prog_ac_ct_CC
2175if test -n "$ac_ct_CC"; then
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2177$as_echo "$ac_ct_CC" >&6; }
2178else
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2180$as_echo "no" >&6; }
2183 if test "x$ac_ct_CC" = x; then
2184 CC=""
2185 else
2186 case $cross_compiling:$ac_tool_warned in
2187yes:)
2188{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2189$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2190ac_tool_warned=yes ;;
2191esac
2192 CC=$ac_ct_CC
2193 fi
2194else
2195 CC="$ac_cv_prog_CC"
2198if test -z "$CC"; then
2199 if test -n "$ac_tool_prefix"; then
2200 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2201set dummy ${ac_tool_prefix}cc; ac_word=$2
2202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2203$as_echo_n "checking for $ac_word... " >&6; }
2204if ${ac_cv_prog_CC+:} false; then :
2205 $as_echo_n "(cached) " >&6
2206else
2207 if test -n "$CC"; then
2208 ac_cv_prog_CC="$CC" # Let the user override the test.
2209else
2210as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2211for as_dir in $PATH
2213 IFS=$as_save_IFS
2214 test -z "$as_dir" && as_dir=.
2215 for ac_exec_ext in '' $ac_executable_extensions; do
2216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2217 ac_cv_prog_CC="${ac_tool_prefix}cc"
2218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 break 2
2220 fi
2221done
2222 done
2223IFS=$as_save_IFS
2227CC=$ac_cv_prog_CC
2228if test -n "$CC"; then
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2230$as_echo "$CC" >&6; }
2231else
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2233$as_echo "no" >&6; }
2237 fi
2239if test -z "$CC"; then
2240 # Extract the first word of "cc", so it can be a program name with args.
2241set dummy cc; ac_word=$2
2242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2243$as_echo_n "checking for $ac_word... " >&6; }
2244if ${ac_cv_prog_CC+:} false; then :
2245 $as_echo_n "(cached) " >&6
2246else
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC="$CC" # Let the user override the test.
2249else
2250 ac_prog_rejected=no
2251as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252for as_dir in $PATH
2254 IFS=$as_save_IFS
2255 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2258 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2259 ac_prog_rejected=yes
2260 continue
2261 fi
2262 ac_cv_prog_CC="cc"
2263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2264 break 2
2265 fi
2266done
2267 done
2268IFS=$as_save_IFS
2270if test $ac_prog_rejected = yes; then
2271 # We found a bogon in the path, so make sure we never use it.
2272 set dummy $ac_cv_prog_CC
2273 shift
2274 if test $# != 0; then
2275 # We chose a different compiler from the bogus one.
2276 # However, it has the same basename, so the bogon will be chosen
2277 # first if we set CC to just the basename; use the full file name.
2278 shift
2279 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2280 fi
2284CC=$ac_cv_prog_CC
2285if test -n "$CC"; then
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2287$as_echo "$CC" >&6; }
2288else
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2290$as_echo "no" >&6; }
2295if test -z "$CC"; then
2296 if test -n "$ac_tool_prefix"; then
2297 for ac_prog in cl.exe
2298 do
2299 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2300set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2302$as_echo_n "checking for $ac_word... " >&6; }
2303if ${ac_cv_prog_CC+:} false; then :
2304 $as_echo_n "(cached) " >&6
2305else
2306 if test -n "$CC"; then
2307 ac_cv_prog_CC="$CC" # Let the user override the test.
2308else
2309as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310for as_dir in $PATH
2312 IFS=$as_save_IFS
2313 test -z "$as_dir" && as_dir=.
2314 for ac_exec_ext in '' $ac_executable_extensions; do
2315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2316 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2318 break 2
2319 fi
2320done
2321 done
2322IFS=$as_save_IFS
2326CC=$ac_cv_prog_CC
2327if test -n "$CC"; then
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2329$as_echo "$CC" >&6; }
2330else
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2332$as_echo "no" >&6; }
2336 test -n "$CC" && break
2337 done
2339if test -z "$CC"; then
2340 ac_ct_CC=$CC
2341 for ac_prog in cl.exe
2343 # Extract the first word of "$ac_prog", so it can be a program name with args.
2344set dummy $ac_prog; ac_word=$2
2345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2346$as_echo_n "checking for $ac_word... " >&6; }
2347if ${ac_cv_prog_ac_ct_CC+:} false; then :
2348 $as_echo_n "(cached) " >&6
2349else
2350 if test -n "$ac_ct_CC"; then
2351 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2352else
2353as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2354for as_dir in $PATH
2356 IFS=$as_save_IFS
2357 test -z "$as_dir" && as_dir=.
2358 for ac_exec_ext in '' $ac_executable_extensions; do
2359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2360 ac_cv_prog_ac_ct_CC="$ac_prog"
2361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 break 2
2363 fi
2364done
2365 done
2366IFS=$as_save_IFS
2370ac_ct_CC=$ac_cv_prog_ac_ct_CC
2371if test -n "$ac_ct_CC"; then
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2373$as_echo "$ac_ct_CC" >&6; }
2374else
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2376$as_echo "no" >&6; }
2380 test -n "$ac_ct_CC" && break
2381done
2383 if test "x$ac_ct_CC" = x; then
2384 CC=""
2385 else
2386 case $cross_compiling:$ac_tool_warned in
2387yes:)
2388{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2389$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2390ac_tool_warned=yes ;;
2391esac
2392 CC=$ac_ct_CC
2393 fi
2399test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2400$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2401as_fn_error $? "no acceptable C compiler found in \$PATH
2402See \`config.log' for more details" "$LINENO" 5; }
2404# Provide some information about the compiler.
2405$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2406set X $ac_compile
2407ac_compiler=$2
2408for ac_option in --version -v -V -qversion; do
2409 { { ac_try="$ac_compiler $ac_option >&5"
2410case "(($ac_try" in
2411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2412 *) ac_try_echo=$ac_try;;
2413esac
2414eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2415$as_echo "$ac_try_echo"; } >&5
2416 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2417 ac_status=$?
2418 if test -s conftest.err; then
2419 sed '10a\
2420... rest of stderr output deleted ...
2421 10q' conftest.err >conftest.er1
2422 cat conftest.er1 >&5
2423 fi
2424 rm -f conftest.er1 conftest.err
2425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2426 test $ac_status = 0; }
2427done
2429cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2430/* end confdefs.h. */
2432int
2433main ()
2437 return 0;
2439_ACEOF
2440ac_clean_files_save=$ac_clean_files
2441ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2442# Try to create an executable without -o first, disregard a.out.
2443# It will help us diagnose broken compilers, and finding out an intuition
2444# of exeext.
2445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2446$as_echo_n "checking whether the C compiler works... " >&6; }
2447ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2449# The possible output files:
2450ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2452ac_rmfiles=
2453for ac_file in $ac_files
2455 case $ac_file in
2456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2457 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2458 esac
2459done
2460rm -f $ac_rmfiles
2462if { { ac_try="$ac_link_default"
2463case "(($ac_try" in
2464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2465 *) ac_try_echo=$ac_try;;
2466esac
2467eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2468$as_echo "$ac_try_echo"; } >&5
2469 (eval "$ac_link_default") 2>&5
2470 ac_status=$?
2471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2472 test $ac_status = 0; }; then :
2473 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2474# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2475# in a Makefile. We should not override ac_cv_exeext if it was cached,
2476# so that the user can short-circuit this test for compilers unknown to
2477# Autoconf.
2478for ac_file in $ac_files ''
2480 test -f "$ac_file" || continue
2481 case $ac_file in
2482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2483 ;;
2484 [ab].out )
2485 # We found the default executable, but exeext='' is most
2486 # certainly right.
2487 break;;
2488 *.* )
2489 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2490 then :; else
2491 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2492 fi
2493 # We set ac_cv_exeext here because the later test for it is not
2494 # safe: cross compilers may not add the suffix if given an `-o'
2495 # argument, so we may need to know it at that point already.
2496 # Even if this section looks crufty: it has the advantage of
2497 # actually working.
2498 break;;
2499 * )
2500 break;;
2501 esac
2502done
2503test "$ac_cv_exeext" = no && ac_cv_exeext=
2505else
2506 ac_file=''
2508if test -z "$ac_file"; then :
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2510$as_echo "no" >&6; }
2511$as_echo "$as_me: failed program was:" >&5
2512sed 's/^/| /' conftest.$ac_ext >&5
2514{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2515$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2516as_fn_error 77 "C compiler cannot create executables
2517See \`config.log' for more details" "$LINENO" 5; }
2518else
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2520$as_echo "yes" >&6; }
2522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2523$as_echo_n "checking for C compiler default output file name... " >&6; }
2524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2525$as_echo "$ac_file" >&6; }
2526ac_exeext=$ac_cv_exeext
2528rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2529ac_clean_files=$ac_clean_files_save
2530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2531$as_echo_n "checking for suffix of executables... " >&6; }
2532if { { ac_try="$ac_link"
2533case "(($ac_try" in
2534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535 *) ac_try_echo=$ac_try;;
2536esac
2537eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2538$as_echo "$ac_try_echo"; } >&5
2539 (eval "$ac_link") 2>&5
2540 ac_status=$?
2541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2542 test $ac_status = 0; }; then :
2543 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2544# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2545# work properly (i.e., refer to `conftest.exe'), while it won't with
2546# `rm'.
2547for ac_file in conftest.exe conftest conftest.*; do
2548 test -f "$ac_file" || continue
2549 case $ac_file in
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2551 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2552 break;;
2553 * ) break;;
2554 esac
2555done
2556else
2557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2558$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2559as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2560See \`config.log' for more details" "$LINENO" 5; }
2562rm -f conftest conftest$ac_cv_exeext
2563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2564$as_echo "$ac_cv_exeext" >&6; }
2566rm -f conftest.$ac_ext
2567EXEEXT=$ac_cv_exeext
2568ac_exeext=$EXEEXT
2569cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2570/* end confdefs.h. */
2571#include <stdio.h>
2572int
2573main ()
2575FILE *f = fopen ("conftest.out", "w");
2576 return ferror (f) || fclose (f) != 0;
2579 return 0;
2581_ACEOF
2582ac_clean_files="$ac_clean_files conftest.out"
2583# Check that the compiler produces executables we can run. If not, either
2584# the compiler is broken, or we cross compile.
2585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2586$as_echo_n "checking whether we are cross compiling... " >&6; }
2587if test "$cross_compiling" != yes; then
2588 { { ac_try="$ac_link"
2589case "(($ac_try" in
2590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2591 *) ac_try_echo=$ac_try;;
2592esac
2593eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2594$as_echo "$ac_try_echo"; } >&5
2595 (eval "$ac_link") 2>&5
2596 ac_status=$?
2597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2598 test $ac_status = 0; }
2599 if { ac_try='./conftest$ac_cv_exeext'
2600 { { case "(($ac_try" in
2601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2603esac
2604eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2605$as_echo "$ac_try_echo"; } >&5
2606 (eval "$ac_try") 2>&5
2607 ac_status=$?
2608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2609 test $ac_status = 0; }; }; then
2610 cross_compiling=no
2611 else
2612 if test "$cross_compiling" = maybe; then
2613 cross_compiling=yes
2614 else
2615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2616$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2617as_fn_error $? "cannot run C compiled programs.
2618If you meant to cross compile, use \`--host'.
2619See \`config.log' for more details" "$LINENO" 5; }
2620 fi
2621 fi
2623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2624$as_echo "$cross_compiling" >&6; }
2626rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2627ac_clean_files=$ac_clean_files_save
2628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2629$as_echo_n "checking for suffix of object files... " >&6; }
2630if ${ac_cv_objext+:} false; then :
2631 $as_echo_n "(cached) " >&6
2632else
2633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2634/* end confdefs.h. */
2636int
2637main ()
2641 return 0;
2643_ACEOF
2644rm -f conftest.o conftest.obj
2645if { { ac_try="$ac_compile"
2646case "(($ac_try" in
2647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2648 *) ac_try_echo=$ac_try;;
2649esac
2650eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2651$as_echo "$ac_try_echo"; } >&5
2652 (eval "$ac_compile") 2>&5
2653 ac_status=$?
2654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2655 test $ac_status = 0; }; then :
2656 for ac_file in conftest.o conftest.obj conftest.*; do
2657 test -f "$ac_file" || continue;
2658 case $ac_file in
2659 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2660 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2661 break;;
2662 esac
2663done
2664else
2665 $as_echo "$as_me: failed program was:" >&5
2666sed 's/^/| /' conftest.$ac_ext >&5
2668{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2669$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2670as_fn_error $? "cannot compute suffix of object files: cannot compile
2671See \`config.log' for more details" "$LINENO" 5; }
2673rm -f conftest.$ac_cv_objext conftest.$ac_ext
2675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2676$as_echo "$ac_cv_objext" >&6; }
2677OBJEXT=$ac_cv_objext
2678ac_objext=$OBJEXT
2679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2680$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2681if ${ac_cv_c_compiler_gnu+:} false; then :
2682 $as_echo_n "(cached) " >&6
2683else
2684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2685/* end confdefs.h. */
2687int
2688main ()
2690#ifndef __GNUC__
2691 choke me
2692#endif
2695 return 0;
2697_ACEOF
2698if ac_fn_c_try_compile "$LINENO"; then :
2699 ac_compiler_gnu=yes
2700else
2701 ac_compiler_gnu=no
2703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2704ac_cv_c_compiler_gnu=$ac_compiler_gnu
2707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2708$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2709if test $ac_compiler_gnu = yes; then
2710 GCC=yes
2711else
2712 GCC=
2714ac_test_CFLAGS=${CFLAGS+set}
2715ac_save_CFLAGS=$CFLAGS
2716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2717$as_echo_n "checking whether $CC accepts -g... " >&6; }
2718if ${ac_cv_prog_cc_g+:} false; then :
2719 $as_echo_n "(cached) " >&6
2720else
2721 ac_save_c_werror_flag=$ac_c_werror_flag
2722 ac_c_werror_flag=yes
2723 ac_cv_prog_cc_g=no
2724 CFLAGS="-g"
2725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2726/* end confdefs.h. */
2728int
2729main ()
2733 return 0;
2735_ACEOF
2736if ac_fn_c_try_compile "$LINENO"; then :
2737 ac_cv_prog_cc_g=yes
2738else
2739 CFLAGS=""
2740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2741/* end confdefs.h. */
2743int
2744main ()
2748 return 0;
2750_ACEOF
2751if ac_fn_c_try_compile "$LINENO"; then :
2753else
2754 ac_c_werror_flag=$ac_save_c_werror_flag
2755 CFLAGS="-g"
2756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2757/* end confdefs.h. */
2759int
2760main ()
2764 return 0;
2766_ACEOF
2767if ac_fn_c_try_compile "$LINENO"; then :
2768 ac_cv_prog_cc_g=yes
2770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2772rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2774rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2775 ac_c_werror_flag=$ac_save_c_werror_flag
2777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2778$as_echo "$ac_cv_prog_cc_g" >&6; }
2779if test "$ac_test_CFLAGS" = set; then
2780 CFLAGS=$ac_save_CFLAGS
2781elif test $ac_cv_prog_cc_g = yes; then
2782 if test "$GCC" = yes; then
2783 CFLAGS="-g -O2"
2784 else
2785 CFLAGS="-g"
2786 fi
2787else
2788 if test "$GCC" = yes; then
2789 CFLAGS="-O2"
2790 else
2791 CFLAGS=
2792 fi
2794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2795$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2796if ${ac_cv_prog_cc_c89+:} false; then :
2797 $as_echo_n "(cached) " >&6
2798else
2799 ac_cv_prog_cc_c89=no
2800ac_save_CC=$CC
2801cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2802/* end confdefs.h. */
2803#include <stdarg.h>
2804#include <stdio.h>
2805struct stat;
2806/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2807struct buf { int x; };
2808FILE * (*rcsopen) (struct buf *, struct stat *, int);
2809static char *e (p, i)
2810 char **p;
2811 int i;
2813 return p[i];
2815static char *f (char * (*g) (char **, int), char **p, ...)
2817 char *s;
2818 va_list v;
2819 va_start (v,p);
2820 s = g (p, va_arg (v,int));
2821 va_end (v);
2822 return s;
2825/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2826 function prototypes and stuff, but not '\xHH' hex character constants.
2827 These don't provoke an error unfortunately, instead are silently treated
2828 as 'x'. The following induces an error, until -std is added to get
2829 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2830 array size at least. It's necessary to write '\x00'==0 to get something
2831 that's true only with -std. */
2832int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2834/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2835 inside strings and character constants. */
2836#define FOO(x) 'x'
2837int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2839int test (int i, double x);
2840struct s1 {int (*f) (int a);};
2841struct s2 {int (*f) (double a);};
2842int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2843int argc;
2844char **argv;
2845int
2846main ()
2848return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2850 return 0;
2852_ACEOF
2853for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2854 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2856 CC="$ac_save_CC $ac_arg"
2857 if ac_fn_c_try_compile "$LINENO"; then :
2858 ac_cv_prog_cc_c89=$ac_arg
2860rm -f core conftest.err conftest.$ac_objext
2861 test "x$ac_cv_prog_cc_c89" != "xno" && break
2862done
2863rm -f conftest.$ac_ext
2864CC=$ac_save_CC
2867# AC_CACHE_VAL
2868case "x$ac_cv_prog_cc_c89" in
2869 x)
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2871$as_echo "none needed" >&6; } ;;
2872 xno)
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2874$as_echo "unsupported" >&6; } ;;
2875 *)
2876 CC="$CC $ac_cv_prog_cc_c89"
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2878$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2879esac
2880if test "x$ac_cv_prog_cc_c89" != xno; then :
2884ac_ext=c
2885ac_cpp='$CPP $CPPFLAGS'
2886ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2887ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2888ac_compiler_gnu=$ac_cv_c_compiler_gnu
2891ac_ext=c
2892ac_cpp='$CPP $CPPFLAGS'
2893ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2894ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2895ac_compiler_gnu=$ac_cv_c_compiler_gnu
2896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2897$as_echo_n "checking how to run the C preprocessor... " >&6; }
2898# On Suns, sometimes $CPP names a directory.
2899if test -n "$CPP" && test -d "$CPP"; then
2900 CPP=
2902if test -z "$CPP"; then
2903 if ${ac_cv_prog_CPP+:} false; then :
2904 $as_echo_n "(cached) " >&6
2905else
2906 # Double quotes because CPP needs to be expanded
2907 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2908 do
2909 ac_preproc_ok=false
2910for ac_c_preproc_warn_flag in '' yes
2912 # Use a header file that comes with gcc, so configuring glibc
2913 # with a fresh cross-compiler works.
2914 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2915 # <limits.h> exists even on freestanding compilers.
2916 # On the NeXT, cc -E runs the code through the compiler's parser,
2917 # not just through cpp. "Syntax error" is here to catch this case.
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919/* end confdefs.h. */
2920#ifdef __STDC__
2921# include <limits.h>
2922#else
2923# include <assert.h>
2924#endif
2925 Syntax error
2926_ACEOF
2927if ac_fn_c_try_cpp "$LINENO"; then :
2929else
2930 # Broken: fails on valid input.
2931continue
2933rm -f conftest.err conftest.i conftest.$ac_ext
2935 # OK, works on sane cases. Now check whether nonexistent headers
2936 # can be detected and how.
2937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2938/* end confdefs.h. */
2939#include <ac_nonexistent.h>
2940_ACEOF
2941if ac_fn_c_try_cpp "$LINENO"; then :
2942 # Broken: success on invalid input.
2943continue
2944else
2945 # Passes both tests.
2946ac_preproc_ok=:
2947break
2949rm -f conftest.err conftest.i conftest.$ac_ext
2951done
2952# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2953rm -f conftest.i conftest.err conftest.$ac_ext
2954if $ac_preproc_ok; then :
2955 break
2958 done
2959 ac_cv_prog_CPP=$CPP
2962 CPP=$ac_cv_prog_CPP
2963else
2964 ac_cv_prog_CPP=$CPP
2966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2967$as_echo "$CPP" >&6; }
2968ac_preproc_ok=false
2969for ac_c_preproc_warn_flag in '' yes
2971 # Use a header file that comes with gcc, so configuring glibc
2972 # with a fresh cross-compiler works.
2973 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2974 # <limits.h> exists even on freestanding compilers.
2975 # On the NeXT, cc -E runs the code through the compiler's parser,
2976 # not just through cpp. "Syntax error" is here to catch this case.
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978/* end confdefs.h. */
2979#ifdef __STDC__
2980# include <limits.h>
2981#else
2982# include <assert.h>
2983#endif
2984 Syntax error
2985_ACEOF
2986if ac_fn_c_try_cpp "$LINENO"; then :
2988else
2989 # Broken: fails on valid input.
2990continue
2992rm -f conftest.err conftest.i conftest.$ac_ext
2994 # OK, works on sane cases. Now check whether nonexistent headers
2995 # can be detected and how.
2996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2997/* end confdefs.h. */
2998#include <ac_nonexistent.h>
2999_ACEOF
3000if ac_fn_c_try_cpp "$LINENO"; then :
3001 # Broken: success on invalid input.
3002continue
3003else
3004 # Passes both tests.
3005ac_preproc_ok=:
3006break
3008rm -f conftest.err conftest.i conftest.$ac_ext
3010done
3011# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3012rm -f conftest.i conftest.err conftest.$ac_ext
3013if $ac_preproc_ok; then :
3015else
3016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3017$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3018as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3019See \`config.log' for more details" "$LINENO" 5; }
3022ac_ext=c
3023ac_cpp='$CPP $CPPFLAGS'
3024ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026ac_compiler_gnu=$ac_cv_c_compiler_gnu
3029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3030$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3031if ${ac_cv_path_GREP+:} false; then :
3032 $as_echo_n "(cached) " >&6
3033else
3034 if test -z "$GREP"; then
3035 ac_path_GREP_found=false
3036 # Loop through the user's path and test for each of PROGNAME-LIST
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3040 IFS=$as_save_IFS
3041 test -z "$as_dir" && as_dir=.
3042 for ac_prog in grep ggrep; do
3043 for ac_exec_ext in '' $ac_executable_extensions; do
3044 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3045 as_fn_executable_p "$ac_path_GREP" || continue
3046# Check for GNU ac_path_GREP and select it if it is found.
3047 # Check for GNU $ac_path_GREP
3048case `"$ac_path_GREP" --version 2>&1` in
3049*GNU*)
3050 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3052 ac_count=0
3053 $as_echo_n 0123456789 >"conftest.in"
3054 while :
3055 do
3056 cat "conftest.in" "conftest.in" >"conftest.tmp"
3057 mv "conftest.tmp" "conftest.in"
3058 cp "conftest.in" "conftest.nl"
3059 $as_echo 'GREP' >> "conftest.nl"
3060 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3061 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3062 as_fn_arith $ac_count + 1 && ac_count=$as_val
3063 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3064 # Best one so far, save it but keep looking for a better one
3065 ac_cv_path_GREP="$ac_path_GREP"
3066 ac_path_GREP_max=$ac_count
3067 fi
3068 # 10*(2^10) chars as input seems more than enough
3069 test $ac_count -gt 10 && break
3070 done
3071 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3072esac
3074 $ac_path_GREP_found && break 3
3075 done
3076 done
3077 done
3078IFS=$as_save_IFS
3079 if test -z "$ac_cv_path_GREP"; then
3080 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3081 fi
3082else
3083 ac_cv_path_GREP=$GREP
3087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3088$as_echo "$ac_cv_path_GREP" >&6; }
3089 GREP="$ac_cv_path_GREP"
3092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3093$as_echo_n "checking for egrep... " >&6; }
3094if ${ac_cv_path_EGREP+:} false; then :
3095 $as_echo_n "(cached) " >&6
3096else
3097 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3098 then ac_cv_path_EGREP="$GREP -E"
3099 else
3100 if test -z "$EGREP"; then
3101 ac_path_EGREP_found=false
3102 # Loop through the user's path and test for each of PROGNAME-LIST
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3106 IFS=$as_save_IFS
3107 test -z "$as_dir" && as_dir=.
3108 for ac_prog in egrep; do
3109 for ac_exec_ext in '' $ac_executable_extensions; do
3110 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3111 as_fn_executable_p "$ac_path_EGREP" || continue
3112# Check for GNU ac_path_EGREP and select it if it is found.
3113 # Check for GNU $ac_path_EGREP
3114case `"$ac_path_EGREP" --version 2>&1` in
3115*GNU*)
3116 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3118 ac_count=0
3119 $as_echo_n 0123456789 >"conftest.in"
3120 while :
3121 do
3122 cat "conftest.in" "conftest.in" >"conftest.tmp"
3123 mv "conftest.tmp" "conftest.in"
3124 cp "conftest.in" "conftest.nl"
3125 $as_echo 'EGREP' >> "conftest.nl"
3126 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3127 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3128 as_fn_arith $ac_count + 1 && ac_count=$as_val
3129 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3130 # Best one so far, save it but keep looking for a better one
3131 ac_cv_path_EGREP="$ac_path_EGREP"
3132 ac_path_EGREP_max=$ac_count
3133 fi
3134 # 10*(2^10) chars as input seems more than enough
3135 test $ac_count -gt 10 && break
3136 done
3137 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3138esac
3140 $ac_path_EGREP_found && break 3
3141 done
3142 done
3143 done
3144IFS=$as_save_IFS
3145 if test -z "$ac_cv_path_EGREP"; then
3146 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3147 fi
3148else
3149 ac_cv_path_EGREP=$EGREP
3152 fi
3154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3155$as_echo "$ac_cv_path_EGREP" >&6; }
3156 EGREP="$ac_cv_path_EGREP"
3159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3160$as_echo_n "checking for ANSI C header files... " >&6; }
3161if ${ac_cv_header_stdc+:} false; then :
3162 $as_echo_n "(cached) " >&6
3163else
3164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3165/* end confdefs.h. */
3166#include <stdlib.h>
3167#include <stdarg.h>
3168#include <string.h>
3169#include <float.h>
3171int
3172main ()
3176 return 0;
3178_ACEOF
3179if ac_fn_c_try_compile "$LINENO"; then :
3180 ac_cv_header_stdc=yes
3181else
3182 ac_cv_header_stdc=no
3184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3186if test $ac_cv_header_stdc = yes; then
3187 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3189/* end confdefs.h. */
3190#include <string.h>
3192_ACEOF
3193if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3194 $EGREP "memchr" >/dev/null 2>&1; then :
3196else
3197 ac_cv_header_stdc=no
3199rm -f conftest*
3203if test $ac_cv_header_stdc = yes; then
3204 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3206/* end confdefs.h. */
3207#include <stdlib.h>
3209_ACEOF
3210if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3211 $EGREP "free" >/dev/null 2>&1; then :
3213else
3214 ac_cv_header_stdc=no
3216rm -f conftest*
3220if test $ac_cv_header_stdc = yes; then
3221 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3222 if test "$cross_compiling" = yes; then :
3224else
3225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226/* end confdefs.h. */
3227#include <ctype.h>
3228#include <stdlib.h>
3229#if ((' ' & 0x0FF) == 0x020)
3230# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3231# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3232#else
3233# define ISLOWER(c) \
3234 (('a' <= (c) && (c) <= 'i') \
3235 || ('j' <= (c) && (c) <= 'r') \
3236 || ('s' <= (c) && (c) <= 'z'))
3237# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3238#endif
3240#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3241int
3242main ()
3244 int i;
3245 for (i = 0; i < 256; i++)
3246 if (XOR (islower (i), ISLOWER (i))
3247 || toupper (i) != TOUPPER (i))
3248 return 2;
3249 return 0;
3251_ACEOF
3252if ac_fn_c_try_run "$LINENO"; then :
3254else
3255 ac_cv_header_stdc=no
3257rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3258 conftest.$ac_objext conftest.beam conftest.$ac_ext
3263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3264$as_echo "$ac_cv_header_stdc" >&6; }
3265if test $ac_cv_header_stdc = yes; then
3267$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3271# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3272for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3273 inttypes.h stdint.h unistd.h
3274do :
3275 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3276ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3278if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3279 cat >>confdefs.h <<_ACEOF
3280#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3281_ACEOF
3285done
3288for ac_header in time.h
3289do :
3290 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
3291if test "x$ac_cv_header_time_h" = xyes; then :
3292 cat >>confdefs.h <<_ACEOF
3293#define HAVE_TIME_H 1
3294_ACEOF
3298done
3300for ac_func in clock_gettime
3301do :
3302 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
3303if test "x$ac_cv_func_clock_gettime" = xyes; then :
3304 cat >>confdefs.h <<_ACEOF
3305#define HAVE_CLOCK_GETTIME 1
3306_ACEOF
3309done
3312# Output
3313ac_config_headers="$ac_config_headers src/Streamly/Internal/Data/Time/config.h"
3315cat >confcache <<\_ACEOF
3316# This file is a shell script that caches the results of configure
3317# tests run on this system so they can be shared between configure
3318# scripts and configure runs, see configure's option --config-cache.
3319# It is not useful on other systems. If it contains results you don't
3320# want to keep, you may remove or edit it.
3322# config.status only pays attention to the cache file if you give it
3323# the --recheck option to rerun configure.
3325# `ac_cv_env_foo' variables (set or unset) will be overridden when
3326# loading this file, other *unset* `ac_cv_foo' will be assigned the
3327# following values.
3329_ACEOF
3331# The following way of writing the cache mishandles newlines in values,
3332# but we know of no workaround that is simple, portable, and efficient.
3333# So, we kill variables containing newlines.
3334# Ultrix sh set writes to stderr and can't be redirected directly,
3335# and sets the high bit in the cache file unless we assign to the vars.
3337 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3338 eval ac_val=\$$ac_var
3339 case $ac_val in #(
3340 *${as_nl}*)
3341 case $ac_var in #(
3342 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3343$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3344 esac
3345 case $ac_var in #(
3346 _ | IFS | as_nl) ;; #(
3347 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3348 *) { eval $ac_var=; unset $ac_var;} ;;
3349 esac ;;
3350 esac
3351 done
3353 (set) 2>&1 |
3354 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3355 *${as_nl}ac_space=\ *)
3356 # `set' does not quote correctly, so add quotes: double-quote
3357 # substitution turns \\\\ into \\, and sed turns \\ into \.
3358 sed -n \
3359 "s/'/'\\\\''/g;
3360 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3361 ;; #(
3362 *)
3363 # `set' quotes correctly as required by POSIX, so do not add quotes.
3364 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3365 ;;
3366 esac |
3367 sort
3368) |
3369 sed '
3370 /^ac_cv_env_/b end
3371 t clear
3372 :clear
3373 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3374 t end
3375 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3376 :end' >>confcache
3377if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3378 if test -w "$cache_file"; then
3379 if test "x$cache_file" != "x/dev/null"; then
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3381$as_echo "$as_me: updating cache $cache_file" >&6;}
3382 if test ! -f "$cache_file" || test -h "$cache_file"; then
3383 cat confcache >"$cache_file"
3384 else
3385 case $cache_file in #(
3386 */* | ?:*)
3387 mv -f confcache "$cache_file"$$ &&
3388 mv -f "$cache_file"$$ "$cache_file" ;; #(
3389 *)
3390 mv -f confcache "$cache_file" ;;
3391 esac
3392 fi
3393 fi
3394 else
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3396$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3397 fi
3399rm -f confcache
3401test "x$prefix" = xNONE && prefix=$ac_default_prefix
3402# Let make expand exec_prefix.
3403test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3405DEFS=-DHAVE_CONFIG_H
3407ac_libobjs=
3408ac_ltlibobjs=
3410for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3411 # 1. Remove the extension, and $U if already installed.
3412 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3413 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3414 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3415 # will be set to the directory where LIBOBJS objects are built.
3416 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3417 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3418done
3419LIBOBJS=$ac_libobjs
3421LTLIBOBJS=$ac_ltlibobjs
3425: "${CONFIG_STATUS=./config.status}"
3426ac_write_fail=0
3427ac_clean_files_save=$ac_clean_files
3428ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3429{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3430$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3431as_write_fail=0
3432cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3433#! $SHELL
3434# Generated by $as_me.
3435# Run this file to recreate the current configuration.
3436# Compiler output produced by configure, useful for debugging
3437# configure, is in config.log if it exists.
3439debug=false
3440ac_cs_recheck=false
3441ac_cs_silent=false
3443SHELL=\${CONFIG_SHELL-$SHELL}
3444export SHELL
3445_ASEOF
3446cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3447## -------------------- ##
3448## M4sh Initialization. ##
3449## -------------------- ##
3451# Be more Bourne compatible
3452DUALCASE=1; export DUALCASE # for MKS sh
3453if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3454 emulate sh
3455 NULLCMD=:
3456 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3457 # is contrary to our usage. Disable this feature.
3458 alias -g '${1+"$@"}'='"$@"'
3459 setopt NO_GLOB_SUBST
3460else
3461 case `(set -o) 2>/dev/null` in #(
3462 *posix*) :
3463 set -o posix ;; #(
3464 *) :
3465 ;;
3466esac
3470as_nl='
3472export as_nl
3473# Printing a long string crashes Solaris 7 /usr/bin/printf.
3474as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3475as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3476as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3477# Prefer a ksh shell builtin over an external printf program on Solaris,
3478# but without wasting forks for bash or zsh.
3479if test -z "$BASH_VERSION$ZSH_VERSION" \
3480 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3481 as_echo='print -r --'
3482 as_echo_n='print -rn --'
3483elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3484 as_echo='printf %s\n'
3485 as_echo_n='printf %s'
3486else
3487 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3488 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3489 as_echo_n='/usr/ucb/echo -n'
3490 else
3491 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3492 as_echo_n_body='eval
3493 arg=$1;
3494 case $arg in #(
3495 *"$as_nl"*)
3496 expr "X$arg" : "X\\(.*\\)$as_nl";
3497 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3498 esac;
3499 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3501 export as_echo_n_body
3502 as_echo_n='sh -c $as_echo_n_body as_echo'
3503 fi
3504 export as_echo_body
3505 as_echo='sh -c $as_echo_body as_echo'
3508# The user is always right.
3509if test "${PATH_SEPARATOR+set}" != set; then
3510 PATH_SEPARATOR=:
3511 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3512 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3513 PATH_SEPARATOR=';'
3518# IFS
3519# We need space, tab and new line, in precisely that order. Quoting is
3520# there to prevent editors from complaining about space-tab.
3521# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3522# splitting by setting IFS to empty value.)
3523IFS=" "" $as_nl"
3525# Find who we are. Look in the path if we contain no directory separator.
3526as_myself=
3527case $0 in #((
3528 *[\\/]* ) as_myself=$0 ;;
3529 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530for as_dir in $PATH
3532 IFS=$as_save_IFS
3533 test -z "$as_dir" && as_dir=.
3534 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3535 done
3536IFS=$as_save_IFS
3538 ;;
3539esac
3540# We did not find ourselves, most probably we were run as `sh COMMAND'
3541# in which case we are not to be found in the path.
3542if test "x$as_myself" = x; then
3543 as_myself=$0
3545if test ! -f "$as_myself"; then
3546 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3547 exit 1
3550# Unset variables that we do not need and which cause bugs (e.g. in
3551# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3552# suppresses any "Segmentation fault" message there. '((' could
3553# trigger a bug in pdksh 5.2.14.
3554for as_var in BASH_ENV ENV MAIL MAILPATH
3555do eval test x\${$as_var+set} = xset \
3556 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3557done
3558PS1='$ '
3559PS2='> '
3560PS4='+ '
3562# NLS nuisances.
3563LC_ALL=C
3564export LC_ALL
3565LANGUAGE=C
3566export LANGUAGE
3568# CDPATH.
3569(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3572# as_fn_error STATUS ERROR [LINENO LOG_FD]
3573# ----------------------------------------
3574# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3575# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3576# script with STATUS, using 1 if that was 0.
3577as_fn_error ()
3579 as_status=$1; test $as_status -eq 0 && as_status=1
3580 if test "$4"; then
3581 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3582 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3583 fi
3584 $as_echo "$as_me: error: $2" >&2
3585 as_fn_exit $as_status
3586} # as_fn_error
3589# as_fn_set_status STATUS
3590# -----------------------
3591# Set $? to STATUS, without forking.
3592as_fn_set_status ()
3594 return $1
3595} # as_fn_set_status
3597# as_fn_exit STATUS
3598# -----------------
3599# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3600as_fn_exit ()
3602 set +e
3603 as_fn_set_status $1
3604 exit $1
3605} # as_fn_exit
3607# as_fn_unset VAR
3608# ---------------
3609# Portably unset VAR.
3610as_fn_unset ()
3612 { eval $1=; unset $1;}
3614as_unset=as_fn_unset
3615# as_fn_append VAR VALUE
3616# ----------------------
3617# Append the text in VALUE to the end of the definition contained in VAR. Take
3618# advantage of any shell optimizations that allow amortized linear growth over
3619# repeated appends, instead of the typical quadratic growth present in naive
3620# implementations.
3621if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3622 eval 'as_fn_append ()
3624 eval $1+=\$2
3625 }'
3626else
3627 as_fn_append ()
3629 eval $1=\$$1\$2
3631fi # as_fn_append
3633# as_fn_arith ARG...
3634# ------------------
3635# Perform arithmetic evaluation on the ARGs, and store the result in the
3636# global $as_val. Take advantage of shells that can avoid forks. The arguments
3637# must be portable across $(()) and expr.
3638if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3639 eval 'as_fn_arith ()
3641 as_val=$(( $* ))
3642 }'
3643else
3644 as_fn_arith ()
3646 as_val=`expr "$@" || test $? -eq 1`
3648fi # as_fn_arith
3651if expr a : '\(a\)' >/dev/null 2>&1 &&
3652 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3653 as_expr=expr
3654else
3655 as_expr=false
3658if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3659 as_basename=basename
3660else
3661 as_basename=false
3664if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3665 as_dirname=dirname
3666else
3667 as_dirname=false
3670as_me=`$as_basename -- "$0" ||
3671$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3672 X"$0" : 'X\(//\)$' \| \
3673 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3674$as_echo X/"$0" |
3675 sed '/^.*\/\([^/][^/]*\)\/*$/{
3676 s//\1/
3679 /^X\/\(\/\/\)$/{
3680 s//\1/
3683 /^X\/\(\/\).*/{
3684 s//\1/
3687 s/.*/./; q'`
3689# Avoid depending upon Character Ranges.
3690as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3691as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3692as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3693as_cr_digits='0123456789'
3694as_cr_alnum=$as_cr_Letters$as_cr_digits
3696ECHO_C= ECHO_N= ECHO_T=
3697case `echo -n x` in #(((((
3698-n*)
3699 case `echo 'xy\c'` in
3700 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3701 xy) ECHO_C='\c';;
3702 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3703 ECHO_T=' ';;
3704 esac;;
3706 ECHO_N='-n';;
3707esac
3709rm -f conf$$ conf$$.exe conf$$.file
3710if test -d conf$$.dir; then
3711 rm -f conf$$.dir/conf$$.file
3712else
3713 rm -f conf$$.dir
3714 mkdir conf$$.dir 2>/dev/null
3716if (echo >conf$$.file) 2>/dev/null; then
3717 if ln -s conf$$.file conf$$ 2>/dev/null; then
3718 as_ln_s='ln -s'
3719 # ... but there are two gotchas:
3720 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3721 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3722 # In both cases, we have to default to `cp -pR'.
3723 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3724 as_ln_s='cp -pR'
3725 elif ln conf$$.file conf$$ 2>/dev/null; then
3726 as_ln_s=ln
3727 else
3728 as_ln_s='cp -pR'
3729 fi
3730else
3731 as_ln_s='cp -pR'
3733rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3734rmdir conf$$.dir 2>/dev/null
3737# as_fn_mkdir_p
3738# -------------
3739# Create "$as_dir" as a directory, including parents if necessary.
3740as_fn_mkdir_p ()
3743 case $as_dir in #(
3744 -*) as_dir=./$as_dir;;
3745 esac
3746 test -d "$as_dir" || eval $as_mkdir_p || {
3747 as_dirs=
3748 while :; do
3749 case $as_dir in #(
3750 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3751 *) as_qdir=$as_dir;;
3752 esac
3753 as_dirs="'$as_qdir' $as_dirs"
3754 as_dir=`$as_dirname -- "$as_dir" ||
3755$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3756 X"$as_dir" : 'X\(//\)[^/]' \| \
3757 X"$as_dir" : 'X\(//\)$' \| \
3758 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3759$as_echo X"$as_dir" |
3760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3761 s//\1/
3764 /^X\(\/\/\)[^/].*/{
3765 s//\1/
3768 /^X\(\/\/\)$/{
3769 s//\1/
3772 /^X\(\/\).*/{
3773 s//\1/
3776 s/.*/./; q'`
3777 test -d "$as_dir" && break
3778 done
3779 test -z "$as_dirs" || eval "mkdir $as_dirs"
3780 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3783} # as_fn_mkdir_p
3784if mkdir -p . 2>/dev/null; then
3785 as_mkdir_p='mkdir -p "$as_dir"'
3786else
3787 test -d ./-p && rmdir ./-p
3788 as_mkdir_p=false
3792# as_fn_executable_p FILE
3793# -----------------------
3794# Test if FILE is an executable regular file.
3795as_fn_executable_p ()
3797 test -f "$1" && test -x "$1"
3798} # as_fn_executable_p
3799as_test_x='test -x'
3800as_executable_p=as_fn_executable_p
3802# Sed expression to map a string onto a valid CPP name.
3803as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3805# Sed expression to map a string onto a valid variable name.
3806as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3809exec 6>&1
3810## ----------------------------------- ##
3811## Main body of $CONFIG_STATUS script. ##
3812## ----------------------------------- ##
3813_ASEOF
3814test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3816cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3817# Save the log message, to keep $0 and so on meaningful, and to
3818# report actual input values of CONFIG_FILES etc. instead of their
3819# values after options handling.
3820ac_log="
3821This file was extended by streamly $as_me 0.6.0, which was
3822generated by GNU Autoconf 2.69. Invocation command line was
3824 CONFIG_FILES = $CONFIG_FILES
3825 CONFIG_HEADERS = $CONFIG_HEADERS
3826 CONFIG_LINKS = $CONFIG_LINKS
3827 CONFIG_COMMANDS = $CONFIG_COMMANDS
3828 $ $0 $@
3830on `(hostname || uname -n) 2>/dev/null | sed 1q`
3833_ACEOF
3836case $ac_config_headers in *"
3837"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3838esac
3841cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3842# Files that config.status was made for.
3843config_headers="$ac_config_headers"
3845_ACEOF
3847cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3848ac_cs_usage="\
3849\`$as_me' instantiates files and other configuration actions
3850from templates according to the current configuration. Unless the files
3851and actions are specified as TAGs, all are instantiated by default.
3853Usage: $0 [OPTION]... [TAG]...
3855 -h, --help print this help, then exit
3856 -V, --version print version number and configuration settings, then exit
3857 --config print configuration, then exit
3858 -q, --quiet, --silent
3859 do not print progress messages
3860 -d, --debug don't remove temporary files
3861 --recheck update $as_me by reconfiguring in the same conditions
3862 --header=FILE[:TEMPLATE]
3863 instantiate the configuration header FILE
3865Configuration headers:
3866$config_headers
3868Report bugs to <streamly@composewell.com>."
3870_ACEOF
3871cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3872ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3873ac_cs_version="\\
3874streamly config.status 0.6.0
3875configured by $0, generated by GNU Autoconf 2.69,
3876 with options \\"\$ac_cs_config\\"
3878Copyright (C) 2012 Free Software Foundation, Inc.
3879This config.status script is free software; the Free Software Foundation
3880gives unlimited permission to copy, distribute and modify it."
3882ac_pwd='$ac_pwd'
3883srcdir='$srcdir'
3884test -n "\$AWK" || AWK=awk
3885_ACEOF
3887cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3888# The default lists apply if the user does not specify any file.
3889ac_need_defaults=:
3890while test $# != 0
3892 case $1 in
3893 --*=?*)
3894 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3895 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3896 ac_shift=:
3897 ;;
3898 --*=)
3899 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3900 ac_optarg=
3901 ac_shift=:
3902 ;;
3903 *)
3904 ac_option=$1
3905 ac_optarg=$2
3906 ac_shift=shift
3907 ;;
3908 esac
3910 case $ac_option in
3911 # Handling of the options.
3912 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3913 ac_cs_recheck=: ;;
3914 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3915 $as_echo "$ac_cs_version"; exit ;;
3916 --config | --confi | --conf | --con | --co | --c )
3917 $as_echo "$ac_cs_config"; exit ;;
3918 --debug | --debu | --deb | --de | --d | -d )
3919 debug=: ;;
3920 --header | --heade | --head | --hea )
3921 $ac_shift
3922 case $ac_optarg in
3923 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3924 esac
3925 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3926 ac_need_defaults=false;;
3927 --he | --h)
3928 # Conflict between --help and --header
3929 as_fn_error $? "ambiguous option: \`$1'
3930Try \`$0 --help' for more information.";;
3931 --help | --hel | -h )
3932 $as_echo "$ac_cs_usage"; exit ;;
3933 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3934 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3935 ac_cs_silent=: ;;
3937 # This is an error.
3938 -*) as_fn_error $? "unrecognized option: \`$1'
3939Try \`$0 --help' for more information." ;;
3941 *) as_fn_append ac_config_targets " $1"
3942 ac_need_defaults=false ;;
3944 esac
3945 shift
3946done
3948ac_configure_extra_args=
3950if $ac_cs_silent; then
3951 exec 6>/dev/null
3952 ac_configure_extra_args="$ac_configure_extra_args --silent"
3955_ACEOF
3956cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3957if \$ac_cs_recheck; then
3958 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3959 shift
3960 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3961 CONFIG_SHELL='$SHELL'
3962 export CONFIG_SHELL
3963 exec "\$@"
3966_ACEOF
3967cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3968exec 5>>config.log
3970 echo
3971 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3972## Running $as_me. ##
3973_ASBOX
3974 $as_echo "$ac_log"
3975} >&5
3977_ACEOF
3978cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3979_ACEOF
3981cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3983# Handling of arguments.
3984for ac_config_target in $ac_config_targets
3986 case $ac_config_target in
3987 "src/Streamly/Internal/Data/Time/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/Streamly/Internal/Data/Time/config.h" ;;
3989 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3990 esac
3991done
3994# If the user did not use the arguments to specify the items to instantiate,
3995# then the envvar interface is used. Set only those that are not.
3996# We use the long form for the default assignment because of an extremely
3997# bizarre bug on SunOS 4.1.3.
3998if $ac_need_defaults; then
3999 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4002# Have a temporary directory for convenience. Make it in the build tree
4003# simply because there is no reason against having it here, and in addition,
4004# creating and moving files from /tmp can sometimes cause problems.
4005# Hook for its removal unless debugging.
4006# Note that there is a small window in which the directory will not be cleaned:
4007# after its creation but before its name has been assigned to `$tmp'.
4008$debug ||
4010 tmp= ac_tmp=
4011 trap 'exit_status=$?
4012 : "${ac_tmp:=$tmp}"
4013 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4014' 0
4015 trap 'as_fn_exit 1' 1 2 13 15
4017# Create a (secure) tmp directory for tmp files.
4020 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4021 test -d "$tmp"
4022} ||
4024 tmp=./conf$$-$RANDOM
4025 (umask 077 && mkdir "$tmp")
4026} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4027ac_tmp=$tmp
4029# Set up the scripts for CONFIG_HEADERS section.
4030# No need to generate them if there are no CONFIG_HEADERS.
4031# This happens for instance with `./config.status Makefile'.
4032if test -n "$CONFIG_HEADERS"; then
4033cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4034BEGIN {
4035_ACEOF
4037# Transform confdefs.h into an awk script `defines.awk', embedded as
4038# here-document in config.status, that substitutes the proper values into
4039# config.h.in to produce config.h.
4041# Create a delimiter string that does not exist in confdefs.h, to ease
4042# handling of long lines.
4043ac_delim='%!_!# '
4044for ac_last_try in false false :; do
4045 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4046 if test -z "$ac_tt"; then
4047 break
4048 elif $ac_last_try; then
4049 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4050 else
4051 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4052 fi
4053done
4055# For the awk script, D is an array of macro values keyed by name,
4056# likewise P contains macro parameters if any. Preserve backslash
4057# newline sequences.
4059ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4060sed -n '
4061s/.\{148\}/&'"$ac_delim"'/g
4062t rset
4063:rset
4064s/^[ ]*#[ ]*define[ ][ ]*/ /
4065t def
4067:def
4068s/\\$//
4069t bsnl
4070s/["\\]/\\&/g
4071s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4072D["\1"]=" \3"/p
4073s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4075:bsnl
4076s/["\\]/\\&/g
4077s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4078D["\1"]=" \3\\\\\\n"\\/p
4079t cont
4080s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4081t cont
4083:cont
4085s/.\{148\}/&'"$ac_delim"'/g
4086t clear
4087:clear
4088s/\\$//
4089t bsnlc
4090s/["\\]/\\&/g; s/^/"/; s/$/"/p
4092:bsnlc
4093s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4094b cont
4095' <confdefs.h | sed '
4096s/'"$ac_delim"'/"\\\
4097"/g' >>$CONFIG_STATUS || ac_write_fail=1
4099cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4100 for (key in D) D_is_set[key] = 1
4101 FS = ""
4103/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4104 line = \$ 0
4105 split(line, arg, " ")
4106 if (arg[1] == "#") {
4107 defundef = arg[2]
4108 mac1 = arg[3]
4109 } else {
4110 defundef = substr(arg[1], 2)
4111 mac1 = arg[2]
4113 split(mac1, mac2, "(") #)
4114 macro = mac2[1]
4115 prefix = substr(line, 1, index(line, defundef) - 1)
4116 if (D_is_set[macro]) {
4117 # Preserve the white space surrounding the "#".
4118 print prefix "define", macro P[macro] D[macro]
4119 next
4120 } else {
4121 # Replace #undef with comments. This is necessary, for example,
4122 # in the case of _POSIX_SOURCE, which is predefined and required
4123 # on some systems where configure will not decide to define it.
4124 if (defundef == "undef") {
4125 print "/*", prefix defundef, macro, "*/"
4126 next
4130{ print }
4131_ACAWK
4132_ACEOF
4133cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4134 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4135fi # test -n "$CONFIG_HEADERS"
4138eval set X " :H $CONFIG_HEADERS "
4139shift
4140for ac_tag
4142 case $ac_tag in
4143 :[FHLC]) ac_mode=$ac_tag; continue;;
4144 esac
4145 case $ac_mode$ac_tag in
4146 :[FHL]*:*);;
4147 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4148 :[FH]-) ac_tag=-:-;;
4149 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4150 esac
4151 ac_save_IFS=$IFS
4152 IFS=:
4153 set x $ac_tag
4154 IFS=$ac_save_IFS
4155 shift
4156 ac_file=$1
4157 shift
4159 case $ac_mode in
4160 :L) ac_source=$1;;
4161 :[FH])
4162 ac_file_inputs=
4163 for ac_f
4164 do
4165 case $ac_f in
4166 -) ac_f="$ac_tmp/stdin";;
4167 *) # Look for the file first in the build tree, then in the source tree
4168 # (if the path is not absolute). The absolute path cannot be DOS-style,
4169 # because $ac_f cannot contain `:'.
4170 test -f "$ac_f" ||
4171 case $ac_f in
4172 [\\/$]*) false;;
4173 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4174 esac ||
4175 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4176 esac
4177 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4178 as_fn_append ac_file_inputs " '$ac_f'"
4179 done
4181 # Let's still pretend it is `configure' which instantiates (i.e., don't
4182 # use $as_me), people would be surprised to read:
4183 # /* config.h. Generated by config.status. */
4184 configure_input='Generated from '`
4185 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4186 `' by configure.'
4187 if test x"$ac_file" != x-; then
4188 configure_input="$ac_file. $configure_input"
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4190$as_echo "$as_me: creating $ac_file" >&6;}
4191 fi
4192 # Neutralize special characters interpreted by sed in replacement strings.
4193 case $configure_input in #(
4194 *\&* | *\|* | *\\* )
4195 ac_sed_conf_input=`$as_echo "$configure_input" |
4196 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4197 *) ac_sed_conf_input=$configure_input;;
4198 esac
4200 case $ac_tag in
4201 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4202 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4203 esac
4204 ;;
4205 esac
4207 ac_dir=`$as_dirname -- "$ac_file" ||
4208$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4209 X"$ac_file" : 'X\(//\)[^/]' \| \
4210 X"$ac_file" : 'X\(//\)$' \| \
4211 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4212$as_echo X"$ac_file" |
4213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4214 s//\1/
4217 /^X\(\/\/\)[^/].*/{
4218 s//\1/
4221 /^X\(\/\/\)$/{
4222 s//\1/
4225 /^X\(\/\).*/{
4226 s//\1/
4229 s/.*/./; q'`
4230 as_dir="$ac_dir"; as_fn_mkdir_p
4231 ac_builddir=.
4233case "$ac_dir" in
4234.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4236 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4237 # A ".." for each directory in $ac_dir_suffix.
4238 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4239 case $ac_top_builddir_sub in
4240 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4241 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4242 esac ;;
4243esac
4244ac_abs_top_builddir=$ac_pwd
4245ac_abs_builddir=$ac_pwd$ac_dir_suffix
4246# for backward compatibility:
4247ac_top_builddir=$ac_top_build_prefix
4249case $srcdir in
4250 .) # We are building in place.
4251 ac_srcdir=.
4252 ac_top_srcdir=$ac_top_builddir_sub
4253 ac_abs_top_srcdir=$ac_pwd ;;
4254 [\\/]* | ?:[\\/]* ) # Absolute name.
4255 ac_srcdir=$srcdir$ac_dir_suffix;
4256 ac_top_srcdir=$srcdir
4257 ac_abs_top_srcdir=$srcdir ;;
4258 *) # Relative name.
4259 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4260 ac_top_srcdir=$ac_top_build_prefix$srcdir
4261 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4262esac
4263ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4266 case $ac_mode in
4268 :H)
4270 # CONFIG_HEADER
4272 if test x"$ac_file" != x-; then
4274 $as_echo "/* $configure_input */" \
4275 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4276 } >"$ac_tmp/config.h" \
4277 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4278 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4280$as_echo "$as_me: $ac_file is unchanged" >&6;}
4281 else
4282 rm -f "$ac_file"
4283 mv "$ac_tmp/config.h" "$ac_file" \
4284 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4285 fi
4286 else
4287 $as_echo "/* $configure_input */" \
4288 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4289 || as_fn_error $? "could not create -" "$LINENO" 5
4290 fi
4291 ;;
4294 esac
4296done # for ac_tag
4299as_fn_exit 0
4300_ACEOF
4301ac_clean_files=$ac_clean_files_save
4303test $ac_write_fail = 0 ||
4304 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4307# configure is writing to config.log, and then calls config.status.
4308# config.status does its own redirection, appending to config.log.
4309# Unfortunately, on DOS this fails, as config.log is still kept open
4310# by configure, so config.status won't be able to write to it; its
4311# output is simply discarded. So we exec the FD to /dev/null,
4312# effectively closing config.log, so it can be properly (re)opened and
4313# appended to by config.status. When coming back to configure, we
4314# need to make the FD available again.
4315if test "$no_create" != yes; then
4316 ac_cs_success=:
4317 ac_config_status_args=
4318 test "$silent" = yes &&
4319 ac_config_status_args="$ac_config_status_args --quiet"
4320 exec 5>/dev/null
4321 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4322 exec 5>>config.log
4323 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4324 # would make configure fail if this is the last instruction.
4325 $ac_cs_success || as_fn_exit 1
4327if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4329$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}