2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for leqm-nrt 0.17.
5 # Report bugs to <luca.trisciani@dcp-werkstatt.ch>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
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+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_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.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
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.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $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
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
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+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || 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
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
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 :
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
240 if test "x$CONFIG_SHELL" != x; then :
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.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
255 exec $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
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."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: luca.trisciani@dcp-werkstatt.ch about your system,
271 $0: including any error possibly output before this
272 $0: message. Then install a modern shell, or manually run
273 $0: the script under such a shell if you do have one."
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_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
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
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.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401 as_val=`expr "$@" || test $? -eq 1`
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.
413 as_status=$1; test $as_status -eq 0 && as_status=1
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
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_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. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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).
499 # Exit status is that of the last command.
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_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.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix=/usr/local
573 ac_config_libobj_dir=.
580 # Identity of this package.
581 PACKAGE_NAME='leqm-nrt'
582 PACKAGE_TARNAME='leqm-nrt'
583 PACKAGE_VERSION='0.17'
584 PACKAGE_STRING='leqm-nrt 0.17'
585 PACKAGE_BUGREPORT='luca.trisciani@dcp-werkstatt.ch'
589 # Factoring default headers for most tests.
590 ac_includes_default="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars='am__EXEEXT_FALSE
661 INSTALL_STRIP_PROGRAM
703 program_transform_name
716 enable_option_checking
718 enable_dependency_tracking
720 ac_precious_vars='build_alias
731 # Initialize some variables set by options.
733 ac_init_version=false
734 ac_unrecognized_opts=
736 # The variables have the same names as the options, with
737 # dashes changed to underlines.
745 program_transform_name=s,x,x,
753 # Installation directory options.
754 # These are left unexpanded so users can "make install exec_prefix=/foo"
755 # and all the variables that are supposed to be based on exec_prefix
756 # by default will actually change.
757 # Use braces instead of parens because sh, perl, etc. also accept them.
758 # (The list follows the same order as the GNU Coding Standards.)
759 bindir='${exec_prefix}/bin'
760 sbindir='${exec_prefix}/sbin'
761 libexecdir='${exec_prefix}/libexec'
762 datarootdir='${prefix}/share'
763 datadir='${datarootdir}'
764 sysconfdir='${prefix}/etc'
765 sharedstatedir='${prefix}/com'
766 localstatedir='${prefix}/var'
767 includedir='${prefix}/include'
768 oldincludedir='/usr/include'
769 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
770 infodir='${datarootdir}/info'
775 libdir='${exec_prefix}/lib'
776 localedir='${datarootdir}/locale'
777 mandir='${datarootdir}/man'
783 # If the previous option needs an argument, assign it.
784 if test -n "$ac_prev"; then
785 eval $ac_prev=\$ac_option
791 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
796 # Accept the important Cygnus configure options, so we can diagnose typos.
798 case $ac_dashdash$ac_option in
802 -bindir | --bindir | --bindi | --bind | --bin | --bi)
804 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
807 -build | --build | --buil | --bui | --bu)
808 ac_prev=build_alias ;;
809 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
810 build_alias=$ac_optarg ;;
812 -cache-file | --cache-file | --cache-fil | --cache-fi \
813 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
814 ac_prev=cache_file ;;
815 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
816 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
817 cache_file=$ac_optarg ;;
820 cache_file=config.cache ;;
822 -datadir | --datadir | --datadi | --datad)
824 -datadir=* | --datadir=* | --datadi=* | --datad=*)
825 datadir=$ac_optarg ;;
827 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
828 | --dataroo | --dataro | --datar)
829 ac_prev=datarootdir ;;
830 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
831 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
832 datarootdir=$ac_optarg ;;
834 -disable-* | --disable-*)
835 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
838 as_fn_error $? "invalid feature name: $ac_useropt"
839 ac_useropt_orig=$ac_useropt
840 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
841 case $ac_user_opts in
845 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
846 ac_unrecognized_sep=', ';;
848 eval enable_$ac_useropt=no ;;
850 -docdir | --docdir | --docdi | --doc | --do)
852 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
855 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
857 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
860 -enable-* | --enable-*)
861 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
862 # Reject names that are not valid shell variable names.
863 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
864 as_fn_error $? "invalid feature name: $ac_useropt"
865 ac_useropt_orig=$ac_useropt
866 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
867 case $ac_user_opts in
871 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
872 ac_unrecognized_sep=', ';;
874 eval enable_$ac_useropt=\$ac_optarg ;;
876 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
877 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
878 | --exec | --exe | --ex)
879 ac_prev=exec_prefix ;;
880 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
881 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
882 | --exec=* | --exe=* | --ex=*)
883 exec_prefix=$ac_optarg ;;
885 -gas | --gas | --ga | --g)
886 # Obsolete; use --with-gas.
889 -help | --help | --hel | --he | -h)
891 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
892 ac_init_help=recursive ;;
893 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
894 ac_init_help=short ;;
896 -host | --host | --hos | --ho)
897 ac_prev=host_alias ;;
898 -host=* | --host=* | --hos=* | --ho=*)
899 host_alias=$ac_optarg ;;
901 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
903 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
905 htmldir=$ac_optarg ;;
907 -includedir | --includedir | --includedi | --included | --include \
908 | --includ | --inclu | --incl | --inc)
909 ac_prev=includedir ;;
910 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
911 | --includ=* | --inclu=* | --incl=* | --inc=*)
912 includedir=$ac_optarg ;;
914 -infodir | --infodir | --infodi | --infod | --info | --inf)
916 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
917 infodir=$ac_optarg ;;
919 -libdir | --libdir | --libdi | --libd)
921 -libdir=* | --libdir=* | --libdi=* | --libd=*)
924 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
925 | --libexe | --libex | --libe)
926 ac_prev=libexecdir ;;
927 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
928 | --libexe=* | --libex=* | --libe=*)
929 libexecdir=$ac_optarg ;;
931 -localedir | --localedir | --localedi | --localed | --locale)
933 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
934 localedir=$ac_optarg ;;
936 -localstatedir | --localstatedir | --localstatedi | --localstated \
937 | --localstate | --localstat | --localsta | --localst | --locals)
938 ac_prev=localstatedir ;;
939 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
940 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
941 localstatedir=$ac_optarg ;;
943 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
945 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
949 # Obsolete; use --without-fp.
952 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
953 | --no-cr | --no-c | -n)
956 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
957 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
960 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
961 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
962 | --oldin | --oldi | --old | --ol | --o)
963 ac_prev=oldincludedir ;;
964 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
965 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
966 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
967 oldincludedir=$ac_optarg ;;
969 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
971 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
974 -program-prefix | --program-prefix | --program-prefi | --program-pref \
975 | --program-pre | --program-pr | --program-p)
976 ac_prev=program_prefix ;;
977 -program-prefix=* | --program-prefix=* | --program-prefi=* \
978 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
979 program_prefix=$ac_optarg ;;
981 -program-suffix | --program-suffix | --program-suffi | --program-suff \
982 | --program-suf | --program-su | --program-s)
983 ac_prev=program_suffix ;;
984 -program-suffix=* | --program-suffix=* | --program-suffi=* \
985 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
986 program_suffix=$ac_optarg ;;
988 -program-transform-name | --program-transform-name \
989 | --program-transform-nam | --program-transform-na \
990 | --program-transform-n | --program-transform- \
991 | --program-transform | --program-transfor \
992 | --program-transfo | --program-transf \
993 | --program-trans | --program-tran \
994 | --progr-tra | --program-tr | --program-t)
995 ac_prev=program_transform_name ;;
996 -program-transform-name=* | --program-transform-name=* \
997 | --program-transform-nam=* | --program-transform-na=* \
998 | --program-transform-n=* | --program-transform-=* \
999 | --program-transform=* | --program-transfor=* \
1000 | --program-transfo=* | --program-transf=* \
1001 | --program-trans=* | --program-tran=* \
1002 | --progr-tra=* | --program-tr=* | --program-t=*)
1003 program_transform_name=$ac_optarg ;;
1005 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1007 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1008 pdfdir=$ac_optarg ;;
1010 -psdir | --psdir | --psdi | --psd | --ps)
1012 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1015 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1016 | -silent | --silent | --silen | --sile | --sil)
1019 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1021 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1023 sbindir=$ac_optarg ;;
1025 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1026 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1027 | --sharedst | --shareds | --shared | --share | --shar \
1029 ac_prev=sharedstatedir ;;
1030 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1031 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1032 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1034 sharedstatedir=$ac_optarg ;;
1036 -site | --site | --sit)
1038 -site=* | --site=* | --sit=*)
1041 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1043 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1044 srcdir=$ac_optarg ;;
1046 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1047 | --syscon | --sysco | --sysc | --sys | --sy)
1048 ac_prev=sysconfdir ;;
1049 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1050 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1051 sysconfdir=$ac_optarg ;;
1053 -target | --target | --targe | --targ | --tar | --ta | --t)
1054 ac_prev=target_alias ;;
1055 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1056 target_alias=$ac_optarg ;;
1058 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1061 -version | --version | --versio | --versi | --vers | -V)
1062 ac_init_version=: ;;
1065 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068 as_fn_error $? "invalid package name: $ac_useropt"
1069 ac_useropt_orig=$ac_useropt
1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071 case $ac_user_opts in
1075 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1076 ac_unrecognized_sep=', ';;
1078 eval with_$ac_useropt=\$ac_optarg ;;
1080 -without-* | --without-*)
1081 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1084 as_fn_error $? "invalid package name: $ac_useropt"
1085 ac_useropt_orig=$ac_useropt
1086 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1092 ac_unrecognized_sep=', ';;
1094 eval with_$ac_useropt=no ;;
1097 # Obsolete; use --with-x.
1100 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1101 | --x-incl | --x-inc | --x-in | --x-i)
1102 ac_prev=x_includes ;;
1103 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1104 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1105 x_includes=$ac_optarg ;;
1107 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1108 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1109 ac_prev=x_libraries ;;
1110 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1111 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1112 x_libraries=$ac_optarg ;;
1114 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1115 Try \`$0 --help' for more information"
1119 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1120 # Reject names that are not valid shell variable names.
1121 case $ac_envvar in #(
1122 '' | [0-9]* | *[!_$as_cr_alnum]* )
1123 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1125 eval $ac_envvar=\$ac_optarg
1126 export $ac_envvar ;;
1129 # FIXME: should be removed in autoconf 3.0.
1130 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1131 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1132 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1133 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1139 if test -n "$ac_prev"; then
1140 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1141 as_fn_error $? "missing argument to $ac_option"
1144 if test -n "$ac_unrecognized_opts"; then
1145 case $enable_option_checking in
1147 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1148 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1152 # Check all directory arguments for consistency.
1153 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1154 datadir sysconfdir sharedstatedir localstatedir includedir \
1155 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1156 libdir localedir mandir
1158 eval ac_val=\$$ac_var
1159 # Remove trailing slashes.
1162 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1163 eval $ac_var=\$ac_val;;
1165 # Be sure to have absolute directory names.
1167 [\\/$]* | ?:[\\/]* ) continue;;
1168 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1170 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1173 # There might be people who depend on the old broken behavior: `$host'
1174 # used to hold the argument of --host etc.
1175 # FIXME: To remove some day.
1178 target=$target_alias
1180 # FIXME: To remove some day.
1181 if test "x$host_alias" != x; then
1182 if test "x$build_alias" = x; then
1183 cross_compiling=maybe
1184 elif test "x$build_alias" != "x$host_alias"; then
1190 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1192 test "$silent" = yes && exec 6>/dev/null
1195 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1196 ac_ls_di=`ls -di .` &&
1197 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1198 as_fn_error $? "working directory cannot be determined"
1199 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1200 as_fn_error $? "pwd does not report name of working directory"
1203 # Find the source files, if location was not specified.
1204 if test -z "$srcdir"; then
1205 ac_srcdir_defaulted=yes
1206 # Try the directory containing this script, then the parent directory.
1207 ac_confdir=`$as_dirname -- "$as_myself" ||
1208 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1209 X"$as_myself" : 'X\(//\)[^/]' \| \
1210 X"$as_myself" : 'X\(//\)$' \| \
1211 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1212 $as_echo X"$as_myself" |
1213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1231 if test ! -r "$srcdir/$ac_unique_file"; then
1235 ac_srcdir_defaulted=no
1237 if test ! -r "$srcdir/$ac_unique_file"; then
1238 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1239 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1241 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1243 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1245 # When building in place, set srcdir=.
1246 if test "$ac_abs_confdir" = "$ac_pwd"; then
1249 # Remove unnecessary trailing slashes from srcdir.
1250 # Double slashes in file names in object file debugging info
1251 # mess up M-x gdb in Emacs.
1253 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1255 for ac_var in $ac_precious_vars; do
1256 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1257 eval ac_env_${ac_var}_value=\$${ac_var}
1258 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1259 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1263 # Report the --help message.
1265 if test "$ac_init_help" = "long"; then
1266 # Omit some internal or obsolete options to make the list less imposing.
1267 # This message is too long to be a string in the A/UX 3.1 sh.
1269 \`configure' configures leqm-nrt 0.17 to adapt to many kinds of systems.
1271 Usage: $0 [OPTION]... [VAR=VALUE]...
1273 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1274 VAR=VALUE. See below for descriptions of some of the useful variables.
1276 Defaults for the options are specified in brackets.
1279 -h, --help display this help and exit
1280 --help=short display options specific to this package
1281 --help=recursive display the short help of all the included packages
1282 -V, --version display version information and exit
1283 -q, --quiet, --silent do not print \`checking ...' messages
1284 --cache-file=FILE cache test results in FILE [disabled]
1285 -C, --config-cache alias for \`--cache-file=config.cache'
1286 -n, --no-create do not create output files
1287 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1289 Installation directories:
1290 --prefix=PREFIX install architecture-independent files in PREFIX
1291 [$ac_default_prefix]
1292 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1295 By default, \`make install' will install all the files in
1296 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1297 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1298 for instance \`--prefix=\$HOME'.
1300 For better control, use the options below.
1302 Fine tuning of the installation directories:
1303 --bindir=DIR user executables [EPREFIX/bin]
1304 --sbindir=DIR system admin executables [EPREFIX/sbin]
1305 --libexecdir=DIR program executables [EPREFIX/libexec]
1306 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1307 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1308 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1309 --libdir=DIR object code libraries [EPREFIX/lib]
1310 --includedir=DIR C header files [PREFIX/include]
1311 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1312 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1313 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1314 --infodir=DIR info documentation [DATAROOTDIR/info]
1315 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1316 --mandir=DIR man documentation [DATAROOTDIR/man]
1317 --docdir=DIR documentation root [DATAROOTDIR/doc/leqm-nrt]
1318 --htmldir=DIR html documentation [DOCDIR]
1319 --dvidir=DIR dvi documentation [DOCDIR]
1320 --pdfdir=DIR pdf documentation [DOCDIR]
1321 --psdir=DIR ps documentation [DOCDIR]
1327 --program-prefix=PREFIX prepend PREFIX to installed program names
1328 --program-suffix=SUFFIX append SUFFIX to installed program names
1329 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1333 if test -n "$ac_init_help"; then
1334 case $ac_init_help in
1335 short | recursive ) echo "Configuration of leqm-nrt 0.17:";;
1340 --disable-option-checking ignore unrecognized --enable/--with options
1341 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1342 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1343 --enable-silent-rules less verbose build output (undo: "make V=1")
1344 --disable-silent-rules verbose build output (undo: "make V=0")
1345 --enable-dependency-tracking
1346 do not reject slow dependency extractors
1347 --disable-dependency-tracking
1348 speeds up one-time build
1350 Some influential environment variables:
1351 CC C compiler command
1352 CFLAGS C compiler flags
1353 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1354 nonstandard directory <lib dir>
1355 LIBS libraries to pass to the linker, e.g. -l<library>
1356 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1357 you have headers in a nonstandard directory <include dir>
1360 Use these variables to override the choices made by `configure' or to help
1361 it to find libraries and programs with nonstandard names/locations.
1363 Report bugs to <luca.trisciani@dcp-werkstatt.ch>.
1368 if test "$ac_init_help" = "recursive"; then
1369 # If there are subdirs, report their specific --help.
1370 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1371 test -d "$ac_dir" ||
1372 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1377 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1379 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1380 # A ".." for each directory in $ac_dir_suffix.
1381 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1382 case $ac_top_builddir_sub in
1383 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1384 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1387 ac_abs_top_builddir=$ac_pwd
1388 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1389 # for backward compatibility:
1390 ac_top_builddir=$ac_top_build_prefix
1393 .) # We are building in place.
1395 ac_top_srcdir=$ac_top_builddir_sub
1396 ac_abs_top_srcdir=$ac_pwd ;;
1397 [\\/]* | ?:[\\/]* ) # Absolute name.
1398 ac_srcdir=$srcdir$ac_dir_suffix;
1399 ac_top_srcdir=$srcdir
1400 ac_abs_top_srcdir=$srcdir ;;
1402 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1403 ac_top_srcdir=$ac_top_build_prefix$srcdir
1404 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1406 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1408 cd "$ac_dir" || { ac_status=$?; continue; }
1409 # Check for guested configure.
1410 if test -f "$ac_srcdir/configure.gnu"; then
1412 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1413 elif test -f "$ac_srcdir/configure"; then
1415 $SHELL "$ac_srcdir/configure" --help=recursive
1417 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1419 cd "$ac_pwd" || { ac_status=$?; break; }
1423 test -n "$ac_init_help" && exit $ac_status
1424 if $ac_init_version; then
1426 leqm-nrt configure 0.17
1427 generated by GNU Autoconf 2.69
1429 Copyright (C) 2012 Free Software Foundation, Inc.
1430 This configure script is free software; the Free Software Foundation
1431 gives unlimited permission to copy, distribute and modify it.
1436 ## ------------------------ ##
1437 ## Autoconf initialization. ##
1438 ## ------------------------ ##
1440 # ac_fn_c_try_compile LINENO
1441 # --------------------------
1442 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1443 ac_fn_c_try_compile ()
1445 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1446 rm -f conftest.$ac_objext
1447 if { { ac_try="$ac_compile"
1449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1450 *) ac_try_echo=$ac_try;;
1452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1453 $as_echo "$ac_try_echo"; } >&5
1454 (eval "$ac_compile") 2>conftest.err
1456 if test -s conftest.err; then
1457 grep -v '^ *+' conftest.err >conftest.er1
1458 cat conftest.er1 >&5
1459 mv -f conftest.er1 conftest.err
1461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1462 test $ac_status = 0; } && {
1463 test -z "$ac_c_werror_flag" ||
1464 test ! -s conftest.err
1465 } && test -s conftest.$ac_objext; then :
1468 $as_echo "$as_me: failed program was:" >&5
1469 sed 's/^/| /' conftest.$ac_ext >&5
1473 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1474 as_fn_set_status $ac_retval
1476 } # ac_fn_c_try_compile
1478 # ac_fn_c_try_cpp LINENO
1479 # ----------------------
1480 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1483 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1484 if { { ac_try="$ac_cpp conftest.$ac_ext"
1486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1487 *) ac_try_echo=$ac_try;;
1489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1490 $as_echo "$ac_try_echo"; } >&5
1491 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1493 if test -s conftest.err; then
1494 grep -v '^ *+' conftest.err >conftest.er1
1495 cat conftest.er1 >&5
1496 mv -f conftest.er1 conftest.err
1498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1499 test $ac_status = 0; } > conftest.i && {
1500 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1501 test ! -s conftest.err
1505 $as_echo "$as_me: failed program was:" >&5
1506 sed 's/^/| /' conftest.$ac_ext >&5
1510 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1511 as_fn_set_status $ac_retval
1515 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1516 # -------------------------------------------------------
1517 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1518 # the include files in INCLUDES and setting the cache variable VAR
1520 ac_fn_c_check_header_mongrel ()
1522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1523 if eval \${$3+:} false; then :
1524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1525 $as_echo_n "checking for $2... " >&6; }
1526 if eval \${$3+:} false; then :
1527 $as_echo_n "(cached) " >&6
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1531 $as_echo "$ac_res" >&6; }
1533 # Is the header compilable?
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1535 $as_echo_n "checking $2 usability... " >&6; }
1536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1537 /* end confdefs.h. */
1541 if ac_fn_c_try_compile "$LINENO"; then :
1542 ac_header_compiler=yes
1544 ac_header_compiler=no
1546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1548 $as_echo "$ac_header_compiler" >&6; }
1550 # Is the header present?
1551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1552 $as_echo_n "checking $2 presence... " >&6; }
1553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1554 /* end confdefs.h. */
1557 if ac_fn_c_try_cpp "$LINENO"; then :
1558 ac_header_preproc=yes
1560 ac_header_preproc=no
1562 rm -f conftest.err conftest.i conftest.$ac_ext
1563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1564 $as_echo "$ac_header_preproc" >&6; }
1566 # So? What about this header?
1567 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1570 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1572 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1576 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1578 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1580 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1582 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1584 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1585 ( $as_echo "## ---------------------------------------------- ##
1586 ## Report this to luca.trisciani@dcp-werkstatt.ch ##
1587 ## ---------------------------------------------- ##"
1588 ) | sed "s/^/$as_me: WARNING: /" >&2
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1592 $as_echo_n "checking for $2... " >&6; }
1593 if eval \${$3+:} false; then :
1594 $as_echo_n "(cached) " >&6
1596 eval "$3=\$ac_header_compiler"
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1600 $as_echo "$ac_res" >&6; }
1602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1604 } # ac_fn_c_check_header_mongrel
1606 # ac_fn_c_try_run LINENO
1607 # ----------------------
1608 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1609 # that executables *can* be run.
1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1613 if { { ac_try="$ac_link"
1615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1616 *) ac_try_echo=$ac_try;;
1618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1619 $as_echo "$ac_try_echo"; } >&5
1620 (eval "$ac_link") 2>&5
1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1624 { { case "(($ac_try" in
1625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626 *) ac_try_echo=$ac_try;;
1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_try") 2>&5
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; }; }; then :
1636 $as_echo "$as_me: program exited with status $ac_status" >&5
1637 $as_echo "$as_me: failed program was:" >&5
1638 sed 's/^/| /' conftest.$ac_ext >&5
1640 ac_retval=$ac_status
1642 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644 as_fn_set_status $ac_retval
1648 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1649 # -------------------------------------------------------
1650 # Tests whether HEADER exists and can be compiled using the include files in
1651 # INCLUDES, setting the cache variable VAR accordingly.
1652 ac_fn_c_check_header_compile ()
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1656 $as_echo_n "checking for $2... " >&6; }
1657 if eval \${$3+:} false; then :
1658 $as_echo_n "(cached) " >&6
1660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1661 /* end confdefs.h. */
1665 if ac_fn_c_try_compile "$LINENO"; then :
1670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1674 $as_echo "$ac_res" >&6; }
1675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1677 } # ac_fn_c_check_header_compile
1679 # ac_fn_c_try_link LINENO
1680 # -----------------------
1681 # Try to link conftest.$ac_ext, and return whether this succeeded.
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 rm -f conftest.$ac_objext conftest$ac_exeext
1686 if { { ac_try="$ac_link"
1688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689 *) ac_try_echo=$ac_try;;
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_link") 2>conftest.err
1695 if test -s conftest.err; then
1696 grep -v '^ *+' conftest.err >conftest.er1
1697 cat conftest.er1 >&5
1698 mv -f conftest.er1 conftest.err
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } && {
1702 test -z "$ac_c_werror_flag" ||
1703 test ! -s conftest.err
1704 } && test -s conftest$ac_exeext && {
1705 test "$cross_compiling" = yes ||
1706 test -x conftest$ac_exeext
1710 $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.$ac_ext >&5
1715 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1716 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1717 # interfere with the next link command; also delete a directory that is
1718 # left behind by Apple's compiler. We do this before executing the actions.
1719 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 as_fn_set_status $ac_retval
1723 } # ac_fn_c_try_link
1725 # ac_fn_c_check_func LINENO FUNC VAR
1726 # ----------------------------------
1727 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1728 ac_fn_c_check_func ()
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1732 $as_echo_n "checking for $2... " >&6; }
1733 if eval \${$3+:} false; then :
1734 $as_echo_n "(cached) " >&6
1736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1737 /* end confdefs.h. */
1738 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1740 #define $2 innocuous_$2
1742 /* System header to define __stub macros and hopefully few prototypes,
1743 which can conflict with char $2 (); below.
1744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1745 <limits.h> exists even on freestanding compilers. */
1748 # include <limits.h>
1750 # include <assert.h>
1755 /* Override any GCC internal prototype to avoid an error.
1756 Use char because int might match the return type of a GCC
1757 builtin and then its argument prototype would still apply. */
1762 /* The GNU C library defines this for functions which it implements
1763 to always fail with ENOSYS. Some functions are actually named
1764 something starting with __ and the normal name is an alias. */
1765 #if defined __stub_$2 || defined __stub___$2
1777 if ac_fn_c_try_link "$LINENO"; then :
1782 rm -f core conftest.err conftest.$ac_objext \
1783 conftest$ac_exeext conftest.$ac_ext
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1787 $as_echo "$ac_res" >&6; }
1788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 } # ac_fn_c_check_func
1791 cat >config.log <<_ACEOF
1792 This file contains any messages produced by compilers while
1793 running configure, to aid debugging if configure makes a mistake.
1795 It was created by leqm-nrt $as_me 0.17, which was
1796 generated by GNU Autoconf 2.69. Invocation command line was
1808 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1809 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1810 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1811 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1812 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1814 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1815 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1817 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1818 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1819 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1820 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1821 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1822 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1823 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1831 test -z "$as_dir" && as_dir=.
1832 $as_echo "PATH: $as_dir"
1848 # Keep a trace of the command line.
1849 # Strip out --no-create and --no-recursion so they do not pile up.
1850 # Strip out --silent because we don't want to record it for future runs.
1851 # Also quote any args containing shell meta-characters.
1852 # Make two passes to allow for proper duplicate-argument suppression.
1856 ac_must_keep_next=false
1862 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1863 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1864 | -silent | --silent | --silen | --sile | --sil)
1867 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1870 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1872 as_fn_append ac_configure_args1 " '$ac_arg'"
1873 if test $ac_must_keep_next = true; then
1874 ac_must_keep_next=false # Got value, back to normal.
1877 *=* | --config-cache | -C | -disable-* | --disable-* \
1878 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1879 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1880 | -with-* | --with-* | -without-* | --without-* | --x)
1881 case "$ac_configure_args0 " in
1882 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1885 -* ) ac_must_keep_next=true ;;
1888 as_fn_append ac_configure_args " '$ac_arg'"
1893 { ac_configure_args0=; unset ac_configure_args0;}
1894 { ac_configure_args1=; unset ac_configure_args1;}
1896 # When interrupted or exit'd, cleanup temporary files, and complete
1897 # config.log. We remove comments because anyway the quotes in there
1898 # would cause problems or look ugly.
1899 # WARNING: Use '\'' to represent an apostrophe within the trap.
1900 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1901 trap 'exit_status=$?
1902 # Save into config.log some information that might help in debugging.
1906 $as_echo "## ---------------- ##
1907 ## Cache variables. ##
1908 ## ---------------- ##"
1910 # The following way of writing the cache mishandles newlines in values,
1912 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1913 eval ac_val=\$$ac_var
1917 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1918 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1921 _ | IFS | as_nl) ;; #(
1922 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1923 *) { eval $ac_var=; unset $ac_var;} ;;
1928 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1929 *${as_nl}ac_space=\ *)
1931 "s/'\''/'\''\\\\'\'''\''/g;
1932 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1935 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1942 $as_echo "## ----------------- ##
1943 ## Output variables. ##
1944 ## ----------------- ##"
1946 for ac_var in $ac_subst_vars
1948 eval ac_val=\$$ac_var
1950 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1952 $as_echo "$ac_var='\''$ac_val'\''"
1956 if test -n "$ac_subst_files"; then
1957 $as_echo "## ------------------- ##
1958 ## File substitutions. ##
1959 ## ------------------- ##"
1961 for ac_var in $ac_subst_files
1963 eval ac_val=\$$ac_var
1965 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1967 $as_echo "$ac_var='\''$ac_val'\''"
1972 if test -s confdefs.h; then
1973 $as_echo "## ----------- ##
1980 test "$ac_signal" != 0 &&
1981 $as_echo "$as_me: caught signal $ac_signal"
1982 $as_echo "$as_me: exit $exit_status"
1984 rm -f core *.core core.conftest.* &&
1985 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1988 for ac_signal in 1 2 13 15; do
1989 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1993 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1994 rm -f -r conftest* confdefs.h
1996 $as_echo "/* confdefs.h */" > confdefs.h
1998 # Predefined preprocessor variables.
2000 cat >>confdefs.h <<_ACEOF
2001 #define PACKAGE_NAME "$PACKAGE_NAME"
2004 cat >>confdefs.h <<_ACEOF
2005 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2008 cat >>confdefs.h <<_ACEOF
2009 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2012 cat >>confdefs.h <<_ACEOF
2013 #define PACKAGE_STRING "$PACKAGE_STRING"
2016 cat >>confdefs.h <<_ACEOF
2017 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2020 cat >>confdefs.h <<_ACEOF
2021 #define PACKAGE_URL "$PACKAGE_URL"
2025 # Let the site file select an alternate cache file if it wants to.
2026 # Prefer an explicitly selected file to automatically selected ones.
2029 if test -n "$CONFIG_SITE"; then
2030 # We do not want a PATH search for config.site.
2031 case $CONFIG_SITE in #((
2032 -*) ac_site_file1=./$CONFIG_SITE;;
2033 */*) ac_site_file1=$CONFIG_SITE;;
2034 *) ac_site_file1=./$CONFIG_SITE;;
2036 elif test "x$prefix" != xNONE; then
2037 ac_site_file1=$prefix/share/config.site
2038 ac_site_file2=$prefix/etc/config.site
2040 ac_site_file1=$ac_default_prefix/share/config.site
2041 ac_site_file2=$ac_default_prefix/etc/config.site
2043 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2045 test "x$ac_site_file" = xNONE && continue
2046 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2048 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2049 sed 's/^/| /' "$ac_site_file" >&5
2051 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2053 as_fn_error $? "failed to load site script $ac_site_file
2054 See \`config.log' for more details" "$LINENO" 5; }
2058 if test -r "$cache_file"; then
2059 # Some versions of bash will fail to source /dev/null (special files
2060 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2061 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2063 $as_echo "$as_me: loading cache $cache_file" >&6;}
2065 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2066 *) . "./$cache_file";;
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2071 $as_echo "$as_me: creating cache $cache_file" >&6;}
2075 # Check that the precious variables saved in the cache have kept the same
2077 ac_cache_corrupted=false
2078 for ac_var in $ac_precious_vars; do
2079 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2080 eval ac_new_set=\$ac_env_${ac_var}_set
2081 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2082 eval ac_new_val=\$ac_env_${ac_var}_value
2083 case $ac_old_set,$ac_new_set in
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2086 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2087 ac_cache_corrupted=: ;;
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2090 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2091 ac_cache_corrupted=: ;;
2094 if test "x$ac_old_val" != "x$ac_new_val"; then
2095 # differences in whitespace do not lead to failure.
2096 ac_old_val_w=`echo x $ac_old_val`
2097 ac_new_val_w=`echo x $ac_new_val`
2098 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2100 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2101 ac_cache_corrupted=:
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2104 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2105 eval $ac_var=\$ac_old_val
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2108 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2110 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2113 # Pass precious variables to config.status.
2114 if test "$ac_new_set" = set; then
2116 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2117 *) ac_arg=$ac_var=$ac_new_val ;;
2119 case " $ac_configure_args " in
2120 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2121 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2125 if $ac_cache_corrupted; then
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2129 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2130 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2132 ## -------------------- ##
2133 ## Main body of script. ##
2134 ## -------------------- ##
2137 ac_cpp='$CPP $CPPFLAGS'
2138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2145 for ac_dir in build-aux "$srcdir"/build-aux; do
2146 if test -f "$ac_dir/install-sh"; then
2148 ac_install_sh="$ac_aux_dir/install-sh -c"
2150 elif test -f "$ac_dir/install.sh"; then
2152 ac_install_sh="$ac_aux_dir/install.sh -c"
2154 elif test -f "$ac_dir/shtool"; then
2156 ac_install_sh="$ac_aux_dir/shtool install -c"
2160 if test -z "$ac_aux_dir"; then
2161 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2164 # These three variables are undocumented and unsupported,
2165 # and are intended to be withdrawn in a future Autoconf release.
2166 # They can cause serious problems if a builder's source tree is in a directory
2167 # whose full name contains unusual characters.
2168 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2169 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2170 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2173 am__api_version='1.15'
2175 # Find a good install program. We prefer a C program (faster),
2176 # so one script is as good as another. But avoid the broken or
2177 # incompatible versions:
2178 # SysV /etc/install, /usr/sbin/install
2179 # SunOS /usr/etc/install
2180 # IRIX /sbin/install
2182 # AmigaOS /C/install, which installs bootblocks on floppy discs
2183 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2184 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2185 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2186 # OS/2's system install, which has a completely different semantic
2187 # ./install, which can be erroneously created by make from ./install.sh.
2188 # Reject install programs that cannot install multiple files.
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2190 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2191 if test -z "$INSTALL"; then
2192 if ${ac_cv_path_install+:} false; then :
2193 $as_echo_n "(cached) " >&6
2195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199 test -z "$as_dir" && as_dir=.
2200 # Account for people who put trailing slashes in PATH elements.
2201 case $as_dir/ in #((
2202 ./ | .// | /[cC]/* | \
2203 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2204 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2207 # OSF1 and SCO ODT 3.0 have their own names for install.
2208 # Don't use installbsd from OSF since it installs stuff as root
2210 for ac_prog in ginstall scoinst install; do
2211 for ac_exec_ext in '' $ac_executable_extensions; do
2212 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2213 if test $ac_prog = install &&
2214 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2215 # AIX install. It has an incompatible calling convention.
2217 elif test $ac_prog = install &&
2218 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2219 # program-specific install script used by HP pwplus--don't use.
2222 rm -rf conftest.one conftest.two conftest.dir
2223 echo one > conftest.one
2224 echo two > conftest.two
2226 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2227 test -s conftest.one && test -s conftest.two &&
2228 test -s conftest.dir/conftest.one &&
2229 test -s conftest.dir/conftest.two
2231 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2244 rm -rf conftest.one conftest.two conftest.dir
2247 if test "${ac_cv_path_install+set}" = set; then
2248 INSTALL=$ac_cv_path_install
2250 # As a last resort, use the slow shell script. Don't cache a
2251 # value for INSTALL within a source directory, because that will
2252 # break other packages using the cache if that directory is
2253 # removed, or if the value is a relative name.
2254 INSTALL=$ac_install_sh
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2258 $as_echo "$INSTALL" >&6; }
2260 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2261 # It thinks the first close brace ends the variable substitution.
2262 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2264 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2266 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2269 $as_echo_n "checking whether build environment is sane... " >&6; }
2270 # Reject unsafe characters in $srcdir or the absolute working directory
2271 # name. Accept space and tab only in the latter.
2275 *[\\\"\#\$\&\'\`$am_lf]*)
2276 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2279 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2280 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2283 # Do 'set' in a subshell so we don't clobber the current shell's
2284 # arguments. Must try -L first in case configure is actually a
2285 # symlink; some systems play weird games with the mod time of symlinks
2286 # (eg FreeBSD returns the mod time of the symlink's containing
2290 for am_try in 1 2; do
2291 echo "timestamp, slept: $am_has_slept" > conftest.file
2292 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2293 if test "$*" = "X"; then
2295 set X `ls -t "$srcdir/configure" conftest.file`
2297 if test "$*" != "X $srcdir/configure conftest.file" \
2298 && test "$*" != "X conftest.file $srcdir/configure"; then
2300 # If neither matched, then we have a broken ls. This can happen
2301 # if, for instance, CONFIG_SHELL is bash and it inherits a
2302 # broken ls alias from the environment. This has actually
2303 # happened. Such a system could not be considered "sane".
2304 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2305 alias in your environment" "$LINENO" 5
2307 if test "$2" = conftest.file || test $am_try -eq 2; then
2314 test "$2" = conftest.file
2320 as_fn_error $? "newly created file is older than distributed files!
2321 Check your system clock" "$LINENO" 5
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2324 $as_echo "yes" >&6; }
2325 # If we didn't sleep, we still need to ensure time stamps of config.status and
2326 # generated files are strictly newer.
2328 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2335 test "$program_prefix" != NONE &&
2336 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2337 # Use a double $ so make ignores it.
2338 test "$program_suffix" != NONE &&
2339 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2340 # Double any \ or $.
2341 # By default was `s,x,x', remove it if useless.
2342 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2343 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2345 # Expand $ac_aux_dir to an absolute path.
2346 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2348 if test x"${MISSING+set}" != xset; then
2351 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2353 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2356 # Use eval to expand $SHELL
2357 if eval "$MISSING --is-lightweight"; then
2358 am_missing_run="$MISSING "
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2362 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2365 if test x"${install_sh+set}" != xset; then
2368 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2370 install_sh="\${SHELL} $am_aux_dir/install-sh"
2374 # Installed binaries are usually stripped using 'strip' when the user
2375 # run "make install-strip". However 'strip' might not be the right
2376 # tool to use in cross-compilation environments, therefore Automake
2377 # will honor the 'STRIP' environment variable to overrule this program.
2378 if test "$cross_compiling" != no; then
2379 if test -n "$ac_tool_prefix"; then
2380 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2381 set dummy ${ac_tool_prefix}strip; ac_word=$2
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2383 $as_echo_n "checking for $ac_word... " >&6; }
2384 if ${ac_cv_prog_STRIP+:} false; then :
2385 $as_echo_n "(cached) " >&6
2387 if test -n "$STRIP"; then
2388 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2394 test -z "$as_dir" && as_dir=.
2395 for ac_exec_ext in '' $ac_executable_extensions; do
2396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2397 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2407 STRIP=$ac_cv_prog_STRIP
2408 if test -n "$STRIP"; then
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2410 $as_echo "$STRIP" >&6; }
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2413 $as_echo "no" >&6; }
2418 if test -z "$ac_cv_prog_STRIP"; then
2420 # Extract the first word of "strip", so it can be a program name with args.
2421 set dummy strip; ac_word=$2
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2423 $as_echo_n "checking for $ac_word... " >&6; }
2424 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2425 $as_echo_n "(cached) " >&6
2427 if test -n "$ac_ct_STRIP"; then
2428 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 test -z "$as_dir" && as_dir=.
2435 for ac_exec_ext in '' $ac_executable_extensions; do
2436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2437 ac_cv_prog_ac_ct_STRIP="strip"
2438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2448 if test -n "$ac_ct_STRIP"; then
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2450 $as_echo "$ac_ct_STRIP" >&6; }
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2453 $as_echo "no" >&6; }
2456 if test "x$ac_ct_STRIP" = x; then
2459 case $cross_compiling:$ac_tool_warned in
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2463 ac_tool_warned=yes ;;
2468 STRIP="$ac_cv_prog_STRIP"
2472 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2475 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2476 if test -z "$MKDIR_P"; then
2477 if ${ac_cv_path_mkdir+:} false; then :
2478 $as_echo_n "(cached) " >&6
2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2481 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2484 test -z "$as_dir" && as_dir=.
2485 for ac_prog in mkdir gmkdir; do
2486 for ac_exec_ext in '' $ac_executable_extensions; do
2487 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2488 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2489 'mkdir (GNU coreutils) '* | \
2490 'mkdir (coreutils) '* | \
2491 'mkdir (fileutils) '4.1*)
2492 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2502 test -d ./--version && rmdir ./--version
2503 if test "${ac_cv_path_mkdir+set}" = set; then
2504 MKDIR_P="$ac_cv_path_mkdir -p"
2506 # As a last resort, use the slow shell script. Don't cache a
2507 # value for MKDIR_P within a source directory, because that will
2508 # break other packages using the cache if that directory is
2509 # removed, or if the value is a relative name.
2510 MKDIR_P="$ac_install_sh -d"
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2514 $as_echo "$MKDIR_P" >&6; }
2516 for ac_prog in gawk mawk nawk awk
2518 # Extract the first word of "$ac_prog", so it can be a program name with args.
2519 set dummy $ac_prog; ac_word=$2
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2521 $as_echo_n "checking for $ac_word... " >&6; }
2522 if ${ac_cv_prog_AWK+:} false; then :
2523 $as_echo_n "(cached) " >&6
2525 if test -n "$AWK"; then
2526 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532 test -z "$as_dir" && as_dir=.
2533 for ac_exec_ext in '' $ac_executable_extensions; do
2534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2535 ac_cv_prog_AWK="$ac_prog"
2536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2546 if test -n "$AWK"; then
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2548 $as_echo "$AWK" >&6; }
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2551 $as_echo "no" >&6; }
2555 test -n "$AWK" && break
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2559 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2561 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2562 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2563 $as_echo_n "(cached) " >&6
2565 cat >conftest.make <<\_ACEOF
2568 @echo '@@@%%%=$(MAKE)=@@@%%%'
2570 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2571 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2573 eval ac_cv_prog_make_${ac_make}_set=yes;;
2575 eval ac_cv_prog_make_${ac_make}_set=no;;
2579 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2581 $as_echo "yes" >&6; }
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2585 $as_echo "no" >&6; }
2586 SET_MAKE="MAKE=${MAKE-make}"
2589 rm -rf .tst 2>/dev/null
2590 mkdir .tst 2>/dev/null
2591 if test -d .tst; then
2596 rmdir .tst 2>/dev/null
2598 # Check whether --enable-silent-rules was given.
2599 if test "${enable_silent_rules+set}" = set; then :
2600 enableval=$enable_silent_rules;
2603 case $enable_silent_rules in # (((
2604 yes) AM_DEFAULT_VERBOSITY=0;;
2605 no) AM_DEFAULT_VERBOSITY=1;;
2606 *) AM_DEFAULT_VERBOSITY=1;;
2608 am_make=${MAKE-make}
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2610 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2611 if ${am_cv_make_support_nested_variables+:} false; then :
2612 $as_echo_n "(cached) " >&6
2614 if $as_echo 'TRUE=$(BAR$(V))
2620 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2621 am_cv_make_support_nested_variables=yes
2623 am_cv_make_support_nested_variables=no
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2627 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2628 if test $am_cv_make_support_nested_variables = yes; then
2630 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2632 AM_V=$AM_DEFAULT_VERBOSITY
2633 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2637 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2638 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2639 # is not polluted with repeated "-I."
2640 am__isrc=' -I$(srcdir)'
2641 # test to see if srcdir already configured
2642 if test -f $srcdir/config.status; then
2643 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2647 # test whether we have cygpath
2648 if test -z "$CYGPATH_W"; then
2649 if (cygpath --version) >/dev/null 2>/dev/null; then
2650 CYGPATH_W='cygpath -w'
2657 # Define the identity of the package.
2662 cat >>confdefs.h <<_ACEOF
2663 #define PACKAGE "$PACKAGE"
2667 cat >>confdefs.h <<_ACEOF
2668 #define VERSION "$VERSION"
2671 # Some tools Automake needs.
2673 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2676 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2679 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2682 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2685 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2687 # For better backward compatibility. To be removed once Automake 1.9.x
2688 # dies out for good. For more background, see:
2689 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2690 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2691 mkdir_p='$(MKDIR_P)'
2693 # We need awk for the "check" target (and possibly the TAP driver). The
2694 # system "awk" is bad on some platforms.
2695 # Always define AMTAR for backward compatibility. Yes, it's still used
2696 # in the wild :-( We should find a proper way to deprecate it ...
2700 # We'll loop over all known methods to create a tar archive until one works.
2701 _am_tools='gnutar pax cpio none'
2703 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2710 # POSIX will say in a future version that running "rm -f" with no argument
2711 # is OK; and we want to be able to make that assumption in our Makefile
2712 # recipes. So use an aggressive probe to check that the usage we want is
2713 # actually supported "in the wild" to an acceptable degree.
2714 # See automake bug#10828.
2715 # To make any issue more visible, cause the running configure to be aborted
2716 # by default if the 'rm' program in use doesn't match our expectations; the
2717 # user can still override this though.
2718 if rm -f && rm -fr && rm -rf; then : OK; else
2722 Your 'rm' program seems unable to run without file operands specified
2723 on the command line, even when the '-f' option is present. This is contrary
2724 to the behaviour of most rm programs out there, and not conforming with
2725 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2727 Please tell bug-automake@gnu.org about your system, including the value
2728 of your $PATH and any error possibly output before this message. This
2729 can help us improve future automake versions.
2732 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2733 echo 'Configuration will proceed anyway, since you have set the' >&2
2734 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2738 Aborting the configuration process, to ensure you take notice of the issue.
2740 You can download and install GNU coreutils to get an 'rm' implementation
2741 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2743 If you want to complete the configuration process using your problematic
2744 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2745 to "yes", and re-run configure.
2748 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2752 ac_config_files="$ac_config_files Makefile src/Makefile"
2754 # Checks for programs.
2756 ac_cpp='$CPP $CPPFLAGS'
2757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2760 if test -n "$ac_tool_prefix"; then
2761 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2762 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2764 $as_echo_n "checking for $ac_word... " >&6; }
2765 if ${ac_cv_prog_CC+:} false; then :
2766 $as_echo_n "(cached) " >&6
2768 if test -n "$CC"; then
2769 ac_cv_prog_CC="$CC" # Let the user override the test.
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2775 test -z "$as_dir" && as_dir=.
2776 for ac_exec_ext in '' $ac_executable_extensions; do
2777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2778 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2789 if test -n "$CC"; then
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2791 $as_echo "$CC" >&6; }
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2794 $as_echo "no" >&6; }
2799 if test -z "$ac_cv_prog_CC"; then
2801 # Extract the first word of "gcc", so it can be a program name with args.
2802 set dummy gcc; ac_word=$2
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2804 $as_echo_n "checking for $ac_word... " >&6; }
2805 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2806 $as_echo_n "(cached) " >&6
2808 if test -n "$ac_ct_CC"; then
2809 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2815 test -z "$as_dir" && as_dir=.
2816 for ac_exec_ext in '' $ac_executable_extensions; do
2817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2818 ac_cv_prog_ac_ct_CC="gcc"
2819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2828 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2829 if test -n "$ac_ct_CC"; then
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2831 $as_echo "$ac_ct_CC" >&6; }
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2834 $as_echo "no" >&6; }
2837 if test "x$ac_ct_CC" = x; then
2840 case $cross_compiling:$ac_tool_warned in
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2844 ac_tool_warned=yes ;;
2852 if test -z "$CC"; then
2853 if test -n "$ac_tool_prefix"; then
2854 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2855 set dummy ${ac_tool_prefix}cc; ac_word=$2
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2857 $as_echo_n "checking for $ac_word... " >&6; }
2858 if ${ac_cv_prog_CC+:} false; then :
2859 $as_echo_n "(cached) " >&6
2861 if test -n "$CC"; then
2862 ac_cv_prog_CC="$CC" # Let the user override the test.
2864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2868 test -z "$as_dir" && as_dir=.
2869 for ac_exec_ext in '' $ac_executable_extensions; do
2870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2871 ac_cv_prog_CC="${ac_tool_prefix}cc"
2872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2882 if test -n "$CC"; then
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2884 $as_echo "$CC" >&6; }
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2887 $as_echo "no" >&6; }
2893 if test -z "$CC"; then
2894 # Extract the first word of "cc", so it can be a program name with args.
2895 set dummy cc; ac_word=$2
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2897 $as_echo_n "checking for $ac_word... " >&6; }
2898 if ${ac_cv_prog_CC+:} false; then :
2899 $as_echo_n "(cached) " >&6
2901 if test -n "$CC"; then
2902 ac_cv_prog_CC="$CC" # Let the user override the test.
2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909 test -z "$as_dir" && as_dir=.
2910 for ac_exec_ext in '' $ac_executable_extensions; do
2911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2912 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2913 ac_prog_rejected=yes
2917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2924 if test $ac_prog_rejected = yes; then
2925 # We found a bogon in the path, so make sure we never use it.
2926 set dummy $ac_cv_prog_CC
2928 if test $# != 0; then
2929 # We chose a different compiler from the bogus one.
2930 # However, it has the same basename, so the bogon will be chosen
2931 # first if we set CC to just the basename; use the full file name.
2933 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2939 if test -n "$CC"; then
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2941 $as_echo "$CC" >&6; }
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2944 $as_echo "no" >&6; }
2949 if test -z "$CC"; then
2950 if test -n "$ac_tool_prefix"; then
2951 for ac_prog in cl.exe
2953 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2954 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 $as_echo_n "checking for $ac_word... " >&6; }
2957 if ${ac_cv_prog_CC+:} false; then :
2958 $as_echo_n "(cached) " >&6
2960 if test -n "$CC"; then
2961 ac_cv_prog_CC="$CC" # Let the user override the test.
2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir=.
2968 for ac_exec_ext in '' $ac_executable_extensions; do
2969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2970 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2981 if test -n "$CC"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2983 $as_echo "$CC" >&6; }
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986 $as_echo "no" >&6; }
2990 test -n "$CC" && break
2993 if test -z "$CC"; then
2995 for ac_prog in cl.exe
2997 # Extract the first word of "$ac_prog", so it can be a program name with args.
2998 set dummy $ac_prog; ac_word=$2
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3000 $as_echo_n "checking for $ac_word... " >&6; }
3001 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3002 $as_echo_n "(cached) " >&6
3004 if test -n "$ac_ct_CC"; then
3005 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3011 test -z "$as_dir" && as_dir=.
3012 for ac_exec_ext in '' $ac_executable_extensions; do
3013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3014 ac_cv_prog_ac_ct_CC="$ac_prog"
3015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3024 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3025 if test -n "$ac_ct_CC"; then
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3027 $as_echo "$ac_ct_CC" >&6; }
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3030 $as_echo "no" >&6; }
3034 test -n "$ac_ct_CC" && break
3037 if test "x$ac_ct_CC" = x; then
3040 case $cross_compiling:$ac_tool_warned in
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3044 ac_tool_warned=yes ;;
3053 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3055 as_fn_error $? "no acceptable C compiler found in \$PATH
3056 See \`config.log' for more details" "$LINENO" 5; }
3058 # Provide some information about the compiler.
3059 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3062 for ac_option in --version -v -V -qversion; do
3063 { { ac_try="$ac_compiler $ac_option >&5"
3065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3066 *) ac_try_echo=$ac_try;;
3068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3069 $as_echo "$ac_try_echo"; } >&5
3070 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3072 if test -s conftest.err; then
3074 ... rest of stderr output deleted ...
3075 10q' conftest.err >conftest.er1
3076 cat conftest.er1 >&5
3078 rm -f conftest.er1 conftest.err
3079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3080 test $ac_status = 0; }
3083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3084 /* end confdefs.h. */
3094 ac_clean_files_save=$ac_clean_files
3095 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3096 # Try to create an executable without -o first, disregard a.out.
3097 # It will help us diagnose broken compilers, and finding out an intuition
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3100 $as_echo_n "checking whether the C compiler works... " >&6; }
3101 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3103 # The possible output files:
3104 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3107 for ac_file in $ac_files
3110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3111 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3116 if { { ac_try="$ac_link_default"
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3122 $as_echo "$ac_try_echo"; } >&5
3123 (eval "$ac_link_default") 2>&5
3125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3126 test $ac_status = 0; }; then :
3127 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3128 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3129 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3130 # so that the user can short-circuit this test for compilers unknown to
3132 for ac_file in $ac_files ''
3134 test -f "$ac_file" || continue
3136 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3139 # We found the default executable, but exeext='' is most
3143 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3145 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3147 # We set ac_cv_exeext here because the later test for it is not
3148 # safe: cross compilers may not add the suffix if given an `-o'
3149 # argument, so we may need to know it at that point already.
3150 # Even if this section looks crufty: it has the advantage of
3157 test "$ac_cv_exeext" = no && ac_cv_exeext=
3162 if test -z "$ac_file"; then :
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3165 $as_echo "$as_me: failed program was:" >&5
3166 sed 's/^/| /' conftest.$ac_ext >&5
3168 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3170 as_fn_error 77 "C compiler cannot create executables
3171 See \`config.log' for more details" "$LINENO" 5; }
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3174 $as_echo "yes" >&6; }
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3177 $as_echo_n "checking for C compiler default output file name... " >&6; }
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3179 $as_echo "$ac_file" >&6; }
3180 ac_exeext=$ac_cv_exeext
3182 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3183 ac_clean_files=$ac_clean_files_save
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3185 $as_echo_n "checking for suffix of executables... " >&6; }
3186 if { { ac_try="$ac_link"
3188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3189 *) ac_try_echo=$ac_try;;
3191 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3192 $as_echo "$ac_try_echo"; } >&5
3193 (eval "$ac_link") 2>&5
3195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3196 test $ac_status = 0; }; then :
3197 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3198 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3199 # work properly (i.e., refer to `conftest.exe'), while it won't with
3201 for ac_file in conftest.exe conftest conftest.*; do
3202 test -f "$ac_file" || continue
3204 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3205 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3213 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3214 See \`config.log' for more details" "$LINENO" 5; }
3216 rm -f conftest conftest$ac_cv_exeext
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3218 $as_echo "$ac_cv_exeext" >&6; }
3220 rm -f conftest.$ac_ext
3221 EXEEXT=$ac_cv_exeext
3223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3224 /* end confdefs.h. */
3229 FILE *f = fopen ("conftest.out", "w");
3230 return ferror (f) || fclose (f) != 0;
3236 ac_clean_files="$ac_clean_files conftest.out"
3237 # Check that the compiler produces executables we can run. If not, either
3238 # the compiler is broken, or we cross compile.
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3240 $as_echo_n "checking whether we are cross compiling... " >&6; }
3241 if test "$cross_compiling" != yes; then
3242 { { ac_try="$ac_link"
3244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3245 *) ac_try_echo=$ac_try;;
3247 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3248 $as_echo "$ac_try_echo"; } >&5
3249 (eval "$ac_link") 2>&5
3251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3252 test $ac_status = 0; }
3253 if { ac_try='./conftest$ac_cv_exeext'
3254 { { case "(($ac_try" in
3255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3256 *) ac_try_echo=$ac_try;;
3258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3259 $as_echo "$ac_try_echo"; } >&5
3260 (eval "$ac_try") 2>&5
3262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3263 test $ac_status = 0; }; }; then
3266 if test "$cross_compiling" = maybe; then
3269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3271 as_fn_error $? "cannot run C compiled programs.
3272 If you meant to cross compile, use \`--host'.
3273 See \`config.log' for more details" "$LINENO" 5; }
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3278 $as_echo "$cross_compiling" >&6; }
3280 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3281 ac_clean_files=$ac_clean_files_save
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3283 $as_echo_n "checking for suffix of object files... " >&6; }
3284 if ${ac_cv_objext+:} false; then :
3285 $as_echo_n "(cached) " >&6
3287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3288 /* end confdefs.h. */
3298 rm -f conftest.o conftest.obj
3299 if { { ac_try="$ac_compile"
3301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302 *) ac_try_echo=$ac_try;;
3304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3305 $as_echo "$ac_try_echo"; } >&5
3306 (eval "$ac_compile") 2>&5
3308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3309 test $ac_status = 0; }; then :
3310 for ac_file in conftest.o conftest.obj conftest.*; do
3311 test -f "$ac_file" || continue;
3313 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3314 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3319 $as_echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.$ac_ext >&5
3322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3324 as_fn_error $? "cannot compute suffix of object files: cannot compile
3325 See \`config.log' for more details" "$LINENO" 5; }
3327 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3330 $as_echo "$ac_cv_objext" >&6; }
3331 OBJEXT=$ac_cv_objext
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3334 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3335 if ${ac_cv_c_compiler_gnu+:} false; then :
3336 $as_echo_n "(cached) " >&6
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3352 if ac_fn_c_try_compile "$LINENO"; then :
3357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3358 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3362 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3363 if test $ac_compiler_gnu = yes; then
3368 ac_test_CFLAGS=${CFLAGS+set}
3369 ac_save_CFLAGS=$CFLAGS
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3371 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3372 if ${ac_cv_prog_cc_g+:} false; then :
3373 $as_echo_n "(cached) " >&6
3375 ac_save_c_werror_flag=$ac_c_werror_flag
3376 ac_c_werror_flag=yes
3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h. */
3390 if ac_fn_c_try_compile "$LINENO"; then :
3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395 /* end confdefs.h. */
3405 if ac_fn_c_try_compile "$LINENO"; then :
3408 ac_c_werror_flag=$ac_save_c_werror_flag
3410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h. */
3421 if ac_fn_c_try_compile "$LINENO"; then :
3424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 ac_c_werror_flag=$ac_save_c_werror_flag
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3432 $as_echo "$ac_cv_prog_cc_g" >&6; }
3433 if test "$ac_test_CFLAGS" = set; then
3434 CFLAGS=$ac_save_CFLAGS
3435 elif test $ac_cv_prog_cc_g = yes; then
3436 if test "$GCC" = yes; then
3442 if test "$GCC" = yes; then
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3449 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3450 if ${ac_cv_prog_cc_c89+:} false; then :
3451 $as_echo_n "(cached) " >&6
3453 ac_cv_prog_cc_c89=no
3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h. */
3460 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3461 struct buf { int x; };
3462 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3463 static char *e (p, i)
3469 static char *f (char * (*g) (char **, int), char **p, ...)
3474 s = g (p, va_arg (v,int));
3479 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3480 function prototypes and stuff, but not '\xHH' hex character constants.
3481 These don't provoke an error unfortunately, instead are silently treated
3482 as 'x'. The following induces an error, until -std is added to get
3483 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3484 array size at least. It's necessary to write '\x00'==0 to get something
3485 that's true only with -std. */
3486 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3488 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3489 inside strings and character constants. */
3491 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3493 int test (int i, double x);
3494 struct s1 {int (*f) (int a);};
3495 struct s2 {int (*f) (double a);};
3496 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3502 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3507 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3508 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3510 CC="$ac_save_CC $ac_arg"
3511 if ac_fn_c_try_compile "$LINENO"; then :
3512 ac_cv_prog_cc_c89=$ac_arg
3514 rm -f core conftest.err conftest.$ac_objext
3515 test "x$ac_cv_prog_cc_c89" != "xno" && break
3517 rm -f conftest.$ac_ext
3522 case "x$ac_cv_prog_cc_c89" in
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3525 $as_echo "none needed" >&6; } ;;
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3528 $as_echo "unsupported" >&6; } ;;
3530 CC="$CC $ac_cv_prog_cc_c89"
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3532 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3534 if test "x$ac_cv_prog_cc_c89" != xno; then :
3539 ac_cpp='$CPP $CPPFLAGS'
3540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3545 ac_cpp='$CPP $CPPFLAGS'
3546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3550 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3551 if ${am_cv_prog_cc_c_o+:} false; then :
3552 $as_echo_n "(cached) " >&6
3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3565 # Make sure it works both with $CC and with simple cc.
3566 # Following AC_PROG_CC_C_O, we do the test twice because some
3567 # compilers refuse to overwrite an existing .o file with -o,
3568 # though they will create one.
3569 am_cv_prog_cc_c_o=yes
3571 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3572 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); } \
3576 && test -f conftest2.$ac_objext; then
3579 am_cv_prog_cc_c_o=no
3583 rm -f core conftest*
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3587 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3588 if test "$am_cv_prog_cc_c_o" != yes; then
3589 # Losing compiler, so override with the script.
3590 # FIXME: It is wrong to rewrite CC.
3591 # But if we don't then we get into trouble of one sort or another.
3592 # A longer-term fix would be to have automake use am__CC in this case,
3593 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3594 CC="$am_aux_dir/compile $CC"
3597 ac_cpp='$CPP $CPPFLAGS'
3598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3602 DEPDIR="${am__leading_dot}deps"
3604 ac_config_commands="$ac_config_commands depfiles"
3607 am_make=${MAKE-make}
3608 cat > confinc << 'END'
3610 @echo this is the am__doit target
3613 # If we don't find an include directive, just comment out the code.
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3615 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3619 # First try GNU make style include.
3620 echo "include confinc" > confmf
3621 # Ignore all kinds of additional output from 'make'.
3622 case `$am_make -s -f confmf 2> /dev/null` in #(
3623 *the\ am__doit\ target*)
3629 # Now try BSD make style include.
3630 if test "$am__include" = "#"; then
3631 echo '.include "confinc"' > confmf
3632 case `$am_make -s -f confmf 2> /dev/null` in #(
3633 *the\ am__doit\ target*)
3634 am__include=.include
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3643 $as_echo "$_am_result" >&6; }
3644 rm -f confinc confmf
3646 # Check whether --enable-dependency-tracking was given.
3647 if test "${enable_dependency_tracking+set}" = set; then :
3648 enableval=$enable_dependency_tracking;
3651 if test "x$enable_dependency_tracking" != xno; then
3652 am_depcomp="$ac_aux_dir/depcomp"
3656 if test "x$enable_dependency_tracking" != xno; then
3666 depcc="$CC" am_compiler_list=
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3669 $as_echo_n "checking dependency style of $depcc... " >&6; }
3670 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3671 $as_echo_n "(cached) " >&6
3673 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3674 # We make a subdir and do the tests there. Otherwise we can end up
3675 # making bogus files that we don't know about and never remove. For
3676 # instance it was reported that on HP-UX the gcc test will end up
3677 # making a dummy file named 'D' -- because '-MD' means "put the output
3681 # Copy depcomp to subdir because otherwise we won't find it if we're
3682 # using a relative directory.
3683 cp "$am_depcomp" conftest.dir
3685 # We will build objects and dependencies in a subdirectory because
3686 # it helps to detect inapplicable dependency modes. For instance
3687 # both Tru64's cc and ICC support -MD to output dependencies as a
3688 # side effect of compilation, but ICC will put the dependencies in
3689 # the current directory while Tru64 will put them in the object
3693 am_cv_CC_dependencies_compiler_type=none
3694 if test "$am_compiler_list" = ""; then
3695 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3698 case " $depcc " in #(
3699 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3702 for depmode in $am_compiler_list; do
3703 # Setup a source with many dependencies, because some compilers
3704 # like to wrap large dependency lists on column 80 (with \), and
3705 # we should not choose a depcomp mode which is confused by this.
3707 # We need to recreate these files for each test, as the compiler may
3708 # overwrite some of them when testing with obscure command lines.
3709 # This happens at least with the AIX C compiler.
3711 for i in 1 2 3 4 5 6; do
3712 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3713 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3714 # Solaris 10 /bin/sh.
3715 echo '/* dummy */' > sub/conftst$i.h
3717 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3719 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3720 # mode. It turns out that the SunPro C++ compiler does not properly
3721 # handle '-M -o', and we need to detect this. Also, some Intel
3722 # versions had trouble with output in subdirs.
3723 am__obj=sub/conftest.${OBJEXT-o}
3724 am__minus_obj="-o $am__obj"
3727 # This depmode causes a compiler race in universal mode.
3728 test "$am__universal" = false || continue
3731 # After this tag, mechanisms are not by side-effect, so they'll
3732 # only be used when explicitly requested.
3733 if test "x$enable_dependency_tracking" = xyes; then
3739 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3740 # This compiler won't grok '-c -o', but also, the minuso test has
3741 # not run yet. These depmodes are late enough in the game, and
3742 # so weak that their functioning should not be impacted.
3743 am__obj=conftest.${OBJEXT-o}
3748 if depmode=$depmode \
3749 source=sub/conftest.c object=$am__obj \
3750 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3751 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3752 >/dev/null 2>conftest.err &&
3753 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3754 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3755 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3756 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3757 # icc doesn't choke on unknown options, it will just issue warnings
3758 # or remarks (even with -Werror). So we grep stderr for any message
3759 # that says an option was ignored or not supported.
3760 # When given -MP, icc 7.0 and 7.1 complain thusly:
3761 # icc: Command line warning: ignoring option '-M'; no argument required
3762 # The diagnosis changed in icc 8.0:
3763 # icc: Command line remark: option '-MP' not supported
3764 if (grep 'ignoring option' conftest.err ||
3765 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3766 am_cv_CC_dependencies_compiler_type=$depmode
3775 am_cv_CC_dependencies_compiler_type=none
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3780 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3781 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3784 test "x$enable_dependency_tracking" != xno \
3785 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3787 am__fastdepCC_FALSE='#'
3789 am__fastdepCC_TRUE='#'
3790 am__fastdepCC_FALSE=
3795 # Checks for libraries.
3797 # Checks for header files.
3800 ac_cpp='$CPP $CPPFLAGS'
3801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3805 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3806 # On Suns, sometimes $CPP names a directory.
3807 if test -n "$CPP" && test -d "$CPP"; then
3810 if test -z "$CPP"; then
3811 if ${ac_cv_prog_CPP+:} false; then :
3812 $as_echo_n "(cached) " >&6
3814 # Double quotes because CPP needs to be expanded
3815 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3818 for ac_c_preproc_warn_flag in '' yes
3820 # Use a header file that comes with gcc, so configuring glibc
3821 # with a fresh cross-compiler works.
3822 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3823 # <limits.h> exists even on freestanding compilers.
3824 # On the NeXT, cc -E runs the code through the compiler's parser,
3825 # not just through cpp. "Syntax error" is here to catch this case.
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3829 # include <limits.h>
3831 # include <assert.h>
3835 if ac_fn_c_try_cpp "$LINENO"; then :
3838 # Broken: fails on valid input.
3841 rm -f conftest.err conftest.i conftest.$ac_ext
3843 # OK, works on sane cases. Now check whether nonexistent headers
3844 # can be detected and how.
3845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3846 /* end confdefs.h. */
3847 #include <ac_nonexistent.h>
3849 if ac_fn_c_try_cpp "$LINENO"; then :
3850 # Broken: success on invalid input.
3853 # Passes both tests.
3857 rm -f conftest.err conftest.i conftest.$ac_ext
3860 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3861 rm -f conftest.i conftest.err conftest.$ac_ext
3862 if $ac_preproc_ok; then :
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3875 $as_echo "$CPP" >&6; }
3877 for ac_c_preproc_warn_flag in '' yes
3879 # Use a header file that comes with gcc, so configuring glibc
3880 # with a fresh cross-compiler works.
3881 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3882 # <limits.h> exists even on freestanding compilers.
3883 # On the NeXT, cc -E runs the code through the compiler's parser,
3884 # not just through cpp. "Syntax error" is here to catch this case.
3885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3886 /* end confdefs.h. */
3888 # include <limits.h>
3890 # include <assert.h>
3894 if ac_fn_c_try_cpp "$LINENO"; then :
3897 # Broken: fails on valid input.
3900 rm -f conftest.err conftest.i conftest.$ac_ext
3902 # OK, works on sane cases. Now check whether nonexistent headers
3903 # can be detected and how.
3904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3906 #include <ac_nonexistent.h>
3908 if ac_fn_c_try_cpp "$LINENO"; then :
3909 # Broken: success on invalid input.
3912 # Passes both tests.
3916 rm -f conftest.err conftest.i conftest.$ac_ext
3919 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3920 rm -f conftest.i conftest.err conftest.$ac_ext
3921 if $ac_preproc_ok; then :
3924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3926 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3927 See \`config.log' for more details" "$LINENO" 5; }
3931 ac_cpp='$CPP $CPPFLAGS'
3932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3938 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3939 if ${ac_cv_path_GREP+:} false; then :
3940 $as_echo_n "(cached) " >&6
3942 if test -z "$GREP"; then
3943 ac_path_GREP_found=false
3944 # Loop through the user's path and test for each of PROGNAME-LIST
3945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3946 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3949 test -z "$as_dir" && as_dir=.
3950 for ac_prog in grep ggrep; do
3951 for ac_exec_ext in '' $ac_executable_extensions; do
3952 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3953 as_fn_executable_p "$ac_path_GREP" || continue
3954 # Check for GNU ac_path_GREP and select it if it is found.
3955 # Check for GNU $ac_path_GREP
3956 case `"$ac_path_GREP" --version 2>&1` in
3958 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3961 $as_echo_n 0123456789 >"conftest.in"
3964 cat "conftest.in" "conftest.in" >"conftest.tmp"
3965 mv "conftest.tmp" "conftest.in"
3966 cp "conftest.in" "conftest.nl"
3967 $as_echo 'GREP' >> "conftest.nl"
3968 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3969 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3970 as_fn_arith $ac_count + 1 && ac_count=$as_val
3971 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3972 # Best one so far, save it but keep looking for a better one
3973 ac_cv_path_GREP="$ac_path_GREP"
3974 ac_path_GREP_max=$ac_count
3976 # 10*(2^10) chars as input seems more than enough
3977 test $ac_count -gt 10 && break
3979 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3982 $ac_path_GREP_found && break 3
3987 if test -z "$ac_cv_path_GREP"; then
3988 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3991 ac_cv_path_GREP=$GREP
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3996 $as_echo "$ac_cv_path_GREP" >&6; }
3997 GREP="$ac_cv_path_GREP"
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4001 $as_echo_n "checking for egrep... " >&6; }
4002 if ${ac_cv_path_EGREP+:} false; then :
4003 $as_echo_n "(cached) " >&6
4005 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4006 then ac_cv_path_EGREP="$GREP -E"
4008 if test -z "$EGREP"; then
4009 ac_path_EGREP_found=false
4010 # Loop through the user's path and test for each of PROGNAME-LIST
4011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4012 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4015 test -z "$as_dir" && as_dir=.
4016 for ac_prog in egrep; do
4017 for ac_exec_ext in '' $ac_executable_extensions; do
4018 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4019 as_fn_executable_p "$ac_path_EGREP" || continue
4020 # Check for GNU ac_path_EGREP and select it if it is found.
4021 # Check for GNU $ac_path_EGREP
4022 case `"$ac_path_EGREP" --version 2>&1` in
4024 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4027 $as_echo_n 0123456789 >"conftest.in"
4030 cat "conftest.in" "conftest.in" >"conftest.tmp"
4031 mv "conftest.tmp" "conftest.in"
4032 cp "conftest.in" "conftest.nl"
4033 $as_echo 'EGREP' >> "conftest.nl"
4034 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4035 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4036 as_fn_arith $ac_count + 1 && ac_count=$as_val
4037 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4038 # Best one so far, save it but keep looking for a better one
4039 ac_cv_path_EGREP="$ac_path_EGREP"
4040 ac_path_EGREP_max=$ac_count
4042 # 10*(2^10) chars as input seems more than enough
4043 test $ac_count -gt 10 && break
4045 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4048 $ac_path_EGREP_found && break 3
4053 if test -z "$ac_cv_path_EGREP"; then
4054 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4057 ac_cv_path_EGREP=$EGREP
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4063 $as_echo "$ac_cv_path_EGREP" >&6; }
4064 EGREP="$ac_cv_path_EGREP"
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4068 $as_echo_n "checking for ANSI C header files... " >&6; }
4069 if ${ac_cv_header_stdc+:} false; then :
4070 $as_echo_n "(cached) " >&6
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4087 if ac_fn_c_try_compile "$LINENO"; then :
4088 ac_cv_header_stdc=yes
4090 ac_cv_header_stdc=no
4092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4094 if test $ac_cv_header_stdc = yes; then
4095 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4102 $EGREP "memchr" >/dev/null 2>&1; then :
4105 ac_cv_header_stdc=no
4111 if test $ac_cv_header_stdc = yes; then
4112 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4114 /* end confdefs.h. */
4118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4119 $EGREP "free" >/dev/null 2>&1; then :
4122 ac_cv_header_stdc=no
4128 if test $ac_cv_header_stdc = yes; then
4129 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4130 if test "$cross_compiling" = yes; then :
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4137 #if ((' ' & 0x0FF) == 0x020)
4138 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4139 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4141 # define ISLOWER(c) \
4142 (('a' <= (c) && (c) <= 'i') \
4143 || ('j' <= (c) && (c) <= 'r') \
4144 || ('s' <= (c) && (c) <= 'z'))
4145 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4148 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4153 for (i = 0; i < 256; i++)
4154 if (XOR (islower (i), ISLOWER (i))
4155 || toupper (i) != TOUPPER (i))
4160 if ac_fn_c_try_run "$LINENO"; then :
4163 ac_cv_header_stdc=no
4165 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4166 conftest.$ac_objext conftest.beam conftest.$ac_ext
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4172 $as_echo "$ac_cv_header_stdc" >&6; }
4173 if test $ac_cv_header_stdc = yes; then
4175 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4179 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4180 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4181 inttypes.h stdint.h unistd.h
4183 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4184 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4186 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4187 cat >>confdefs.h <<_ACEOF
4188 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4196 for ac_header in stdlib.h unistd.h stdio.h math.h sndfile.h unistd.h pthread.h string.h time.h ctype.h
4198 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4199 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4200 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4201 cat >>confdefs.h <<_ACEOF
4202 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4210 # Checks for typedefs, structures, and compiler characteristics.
4212 # Checks for library functions.
4213 for ac_header in stdlib.h
4215 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4216 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4217 cat >>confdefs.h <<_ACEOF
4218 #define HAVE_STDLIB_H 1
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4226 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4227 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
4228 $as_echo_n "(cached) " >&6
4230 if test "$cross_compiling" = yes; then :
4231 ac_cv_func_malloc_0_nonnull=no
4233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234 /* end confdefs.h. */
4235 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4236 # include <stdlib.h>
4244 return ! malloc (0);
4249 if ac_fn_c_try_run "$LINENO"; then :
4250 ac_cv_func_malloc_0_nonnull=yes
4252 ac_cv_func_malloc_0_nonnull=no
4254 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4255 conftest.$ac_objext conftest.beam conftest.$ac_ext
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4260 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4261 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4263 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4266 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4268 case " $LIBOBJS " in
4269 *" malloc.$ac_objext "* ) ;;
4270 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4275 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4280 for ac_func in clock_gettime memset
4282 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4283 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4284 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4285 cat >>confdefs.h <<_ACEOF
4286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4293 cat >confcache <<\_ACEOF
4294 # This file is a shell script that caches the results of configure
4295 # tests run on this system so they can be shared between configure
4296 # scripts and configure runs, see configure's option --config-cache.
4297 # It is not useful on other systems. If it contains results you don't
4298 # want to keep, you may remove or edit it.
4300 # config.status only pays attention to the cache file if you give it
4301 # the --recheck option to rerun configure.
4303 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4304 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4309 # The following way of writing the cache mishandles newlines in values,
4310 # but we know of no workaround that is simple, portable, and efficient.
4311 # So, we kill variables containing newlines.
4312 # Ultrix sh set writes to stderr and can't be redirected directly,
4313 # and sets the high bit in the cache file unless we assign to the vars.
4315 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4316 eval ac_val=\$$ac_var
4320 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4321 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4324 _ | IFS | as_nl) ;; #(
4325 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4326 *) { eval $ac_var=; unset $ac_var;} ;;
4332 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4333 *${as_nl}ac_space=\ *)
4334 # `set' does not quote correctly, so add quotes: double-quote
4335 # substitution turns \\\\ into \\, and sed turns \\ into \.
4338 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4341 # `set' quotes correctly as required by POSIX, so do not add quotes.
4342 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4351 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4353 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4355 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4356 if test -w "$cache_file"; then
4357 if test "x$cache_file" != "x/dev/null"; then
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4359 $as_echo "$as_me: updating cache $cache_file" >&6;}
4360 if test ! -f "$cache_file" || test -h "$cache_file"; then
4361 cat confcache >"$cache_file"
4363 case $cache_file in #(
4365 mv -f confcache "$cache_file"$$ &&
4366 mv -f "$cache_file"$$ "$cache_file" ;; #(
4368 mv -f confcache "$cache_file" ;;
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4374 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4379 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4380 # Let make expand exec_prefix.
4381 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4383 # Transform confdefs.h into DEFS.
4384 # Protect against shell expansion while executing Makefile rules.
4385 # Protect against Makefile macro expansion.
4387 # If the first sed substitution is executed (which looks for macros that
4388 # take arguments), then branch to the quote section. Otherwise,
4389 # look for a macro that doesn't take arguments.
4399 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4401 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4405 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4418 DEFS=`sed -n "$ac_script" confdefs.h`
4424 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4425 # 1. Remove the extension, and $U if already installed.
4426 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4427 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4428 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4429 # will be set to the directory where LIBOBJS objects are built.
4430 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4431 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4435 LTLIBOBJS=$ac_ltlibobjs
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4439 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4440 if test -n "$am_sleep_pid"; then
4441 # Hide warnings about reused PIDs.
4442 wait $am_sleep_pid 2>/dev/null
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4445 $as_echo "done" >&6; }
4446 if test -n "$EXEEXT"; then
4448 am__EXEEXT_FALSE='#'
4454 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4455 as_fn_error $? "conditional \"AMDEP\" was never defined.
4456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4458 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4459 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4463 : "${CONFIG_STATUS=./config.status}"
4465 ac_clean_files_save=$ac_clean_files
4466 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4468 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4470 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4472 # Generated by $as_me.
4473 # Run this file to recreate the current configuration.
4474 # Compiler output produced by configure, useful for debugging
4475 # configure, is in config.log if it exists.
4481 SHELL=\${CONFIG_SHELL-$SHELL}
4484 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4485 ## -------------------- ##
4486 ## M4sh Initialization. ##
4487 ## -------------------- ##
4489 # Be more Bourne compatible
4490 DUALCASE=1; export DUALCASE # for MKS sh
4491 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4494 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4495 # is contrary to our usage. Disable this feature.
4496 alias -g '${1+"$@"}'='"$@"'
4497 setopt NO_GLOB_SUBST
4499 case `(set -o) 2>/dev/null` in #(
4511 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4512 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4513 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4514 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4515 # Prefer a ksh shell builtin over an external printf program on Solaris,
4516 # but without wasting forks for bash or zsh.
4517 if test -z "$BASH_VERSION$ZSH_VERSION" \
4518 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4519 as_echo='print -r --'
4520 as_echo_n='print -rn --'
4521 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4522 as_echo='printf %s\n'
4523 as_echo_n='printf %s'
4525 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4526 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4527 as_echo_n='/usr/ucb/echo -n'
4529 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4530 as_echo_n_body='eval
4534 expr "X$arg" : "X\\(.*\\)$as_nl";
4535 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4537 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4539 export as_echo_n_body
4540 as_echo_n='sh -c $as_echo_n_body as_echo'
4543 as_echo='sh -c $as_echo_body as_echo'
4546 # The user is always right.
4547 if test "${PATH_SEPARATOR+set}" != set; then
4549 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4550 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4557 # We need space, tab and new line, in precisely that order. Quoting is
4558 # there to prevent editors from complaining about space-tab.
4559 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4560 # splitting by setting IFS to empty value.)
4563 # Find who we are. Look in the path if we contain no directory separator.
4566 *[\\/]* ) as_myself=$0 ;;
4567 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4571 test -z "$as_dir" && as_dir=.
4572 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4578 # We did not find ourselves, most probably we were run as `sh COMMAND'
4579 # in which case we are not to be found in the path.
4580 if test "x$as_myself" = x; then
4583 if test ! -f "$as_myself"; then
4584 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4588 # Unset variables that we do not need and which cause bugs (e.g. in
4589 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4590 # suppresses any "Segmentation fault" message there. '((' could
4591 # trigger a bug in pdksh 5.2.14.
4592 for as_var in BASH_ENV ENV MAIL MAILPATH
4593 do eval test x\${$as_var+set} = xset \
4594 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4607 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4610 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4611 # ----------------------------------------
4612 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4613 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4614 # script with STATUS, using 1 if that was 0.
4617 as_status=$1; test $as_status -eq 0 && as_status=1
4619 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4620 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4622 $as_echo "$as_me: error: $2" >&2
4623 as_fn_exit $as_status
4627 # as_fn_set_status STATUS
4628 # -----------------------
4629 # Set $? to STATUS, without forking.
4633 } # as_fn_set_status
4637 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4647 # Portably unset VAR.
4650 { eval $1=; unset $1;}
4652 as_unset=as_fn_unset
4653 # as_fn_append VAR VALUE
4654 # ----------------------
4655 # Append the text in VALUE to the end of the definition contained in VAR. Take
4656 # advantage of any shell optimizations that allow amortized linear growth over
4657 # repeated appends, instead of the typical quadratic growth present in naive
4659 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4660 eval 'as_fn_append ()
4671 # as_fn_arith ARG...
4672 # ------------------
4673 # Perform arithmetic evaluation on the ARGs, and store the result in the
4674 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4675 # must be portable across $(()) and expr.
4676 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4677 eval 'as_fn_arith ()
4684 as_val=`expr "$@" || test $? -eq 1`
4689 if expr a : '\(a\)' >/dev/null 2>&1 &&
4690 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4696 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4697 as_basename=basename
4702 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4708 as_me=`$as_basename -- "$0" ||
4709 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4710 X"$0" : 'X\(//\)$' \| \
4711 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4713 sed '/^.*\/\([^/][^/]*\)\/*$/{
4727 # Avoid depending upon Character Ranges.
4728 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4729 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4730 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4731 as_cr_digits='0123456789'
4732 as_cr_alnum=$as_cr_Letters$as_cr_digits
4734 ECHO_C= ECHO_N= ECHO_T=
4735 case `echo -n x` in #(((((
4737 case `echo 'xy\c'` in
4738 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4740 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4747 rm -f conf$$ conf$$.exe conf$$.file
4748 if test -d conf$$.dir; then
4749 rm -f conf$$.dir/conf$$.file
4752 mkdir conf$$.dir 2>/dev/null
4754 if (echo >conf$$.file) 2>/dev/null; then
4755 if ln -s conf$$.file conf$$ 2>/dev/null; then
4757 # ... but there are two gotchas:
4758 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4759 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4760 # In both cases, we have to default to `cp -pR'.
4761 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4763 elif ln conf$$.file conf$$ 2>/dev/null; then
4771 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4772 rmdir conf$$.dir 2>/dev/null
4777 # Create "$as_dir" as a directory, including parents if necessary.
4782 -*) as_dir=./$as_dir;;
4784 test -d "$as_dir" || eval $as_mkdir_p || {
4788 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4789 *) as_qdir=$as_dir;;
4791 as_dirs="'$as_qdir' $as_dirs"
4792 as_dir=`$as_dirname -- "$as_dir" ||
4793 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4794 X"$as_dir" : 'X\(//\)[^/]' \| \
4795 X"$as_dir" : 'X\(//\)$' \| \
4796 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4797 $as_echo X"$as_dir" |
4798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4815 test -d "$as_dir" && break
4817 test -z "$as_dirs" || eval "mkdir $as_dirs"
4818 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4822 if mkdir -p . 2>/dev/null; then
4823 as_mkdir_p='mkdir -p "$as_dir"'
4825 test -d ./-p && rmdir ./-p
4830 # as_fn_executable_p FILE
4831 # -----------------------
4832 # Test if FILE is an executable regular file.
4833 as_fn_executable_p ()
4835 test -f "$1" && test -x "$1"
4836 } # as_fn_executable_p
4838 as_executable_p=as_fn_executable_p
4840 # Sed expression to map a string onto a valid CPP name.
4841 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4843 # Sed expression to map a string onto a valid variable name.
4844 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4848 ## ----------------------------------- ##
4849 ## Main body of $CONFIG_STATUS script. ##
4850 ## ----------------------------------- ##
4852 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4855 # Save the log message, to keep $0 and so on meaningful, and to
4856 # report actual input values of CONFIG_FILES etc. instead of their
4857 # values after options handling.
4859 This file was extended by leqm-nrt $as_me 0.17, which was
4860 generated by GNU Autoconf 2.69. Invocation command line was
4862 CONFIG_FILES = $CONFIG_FILES
4863 CONFIG_HEADERS = $CONFIG_HEADERS
4864 CONFIG_LINKS = $CONFIG_LINKS
4865 CONFIG_COMMANDS = $CONFIG_COMMANDS
4868 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4873 case $ac_config_files in *"
4874 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4880 # Files that config.status was made for.
4881 config_files="$ac_config_files"
4882 config_commands="$ac_config_commands"
4886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4888 \`$as_me' instantiates files and other configuration actions
4889 from templates according to the current configuration. Unless the files
4890 and actions are specified as TAGs, all are instantiated by default.
4892 Usage: $0 [OPTION]... [TAG]...
4894 -h, --help print this help, then exit
4895 -V, --version print version number and configuration settings, then exit
4896 --config print configuration, then exit
4897 -q, --quiet, --silent
4898 do not print progress messages
4899 -d, --debug don't remove temporary files
4900 --recheck update $as_me by reconfiguring in the same conditions
4901 --file=FILE[:TEMPLATE]
4902 instantiate the configuration file FILE
4904 Configuration files:
4907 Configuration commands:
4910 Report bugs to <luca.trisciani@dcp-werkstatt.ch>."
4913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4914 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4916 leqm-nrt config.status 0.17
4917 configured by $0, generated by GNU Autoconf 2.69,
4918 with options \\"\$ac_cs_config\\"
4920 Copyright (C) 2012 Free Software Foundation, Inc.
4921 This config.status script is free software; the Free Software Foundation
4922 gives unlimited permission to copy, distribute and modify it."
4929 test -n "\$AWK" || AWK=awk
4932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4933 # The default lists apply if the user does not specify any file.
4939 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4940 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4944 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4956 # Handling of the options.
4957 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4959 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4960 $as_echo "$ac_cs_version"; exit ;;
4961 --config | --confi | --conf | --con | --co | --c )
4962 $as_echo "$ac_cs_config"; exit ;;
4963 --debug | --debu | --deb | --de | --d | -d )
4965 --file | --fil | --fi | --f )
4968 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4969 '') as_fn_error $? "missing file argument" ;;
4971 as_fn_append CONFIG_FILES " '$ac_optarg'"
4972 ac_need_defaults=false;;
4973 --he | --h | --help | --hel | -h )
4974 $as_echo "$ac_cs_usage"; exit ;;
4975 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4976 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4980 -*) as_fn_error $? "unrecognized option: \`$1'
4981 Try \`$0 --help' for more information." ;;
4983 *) as_fn_append ac_config_targets " $1"
4984 ac_need_defaults=false ;;
4990 ac_configure_extra_args=
4992 if $ac_cs_silent; then
4994 ac_configure_extra_args="$ac_configure_extra_args --silent"
4998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4999 if \$ac_cs_recheck; then
5000 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5002 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5003 CONFIG_SHELL='$SHELL'
5009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5013 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5014 ## Running $as_me. ##
5020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5024 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5030 # Handling of arguments.
5031 for ac_config_target in $ac_config_targets
5033 case $ac_config_target in
5034 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5035 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5036 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5038 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5043 # If the user did not use the arguments to specify the items to instantiate,
5044 # then the envvar interface is used. Set only those that are not.
5045 # We use the long form for the default assignment because of an extremely
5046 # bizarre bug on SunOS 4.1.3.
5047 if $ac_need_defaults; then
5048 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5049 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5052 # Have a temporary directory for convenience. Make it in the build tree
5053 # simply because there is no reason against having it here, and in addition,
5054 # creating and moving files from /tmp can sometimes cause problems.
5055 # Hook for its removal unless debugging.
5056 # Note that there is a small window in which the directory will not be cleaned:
5057 # after its creation but before its name has been assigned to `$tmp'.
5061 trap 'exit_status=$?
5063 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5065 trap 'as_fn_exit 1' 1 2 13 15
5067 # Create a (secure) tmp directory for tmp files.
5070 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5074 tmp=./conf$$-$RANDOM
5075 (umask 077 && mkdir "$tmp")
5076 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5079 # Set up the scripts for CONFIG_FILES section.
5080 # No need to generate them if there are no CONFIG_FILES.
5081 # This happens for instance with `./config.status config.h'.
5082 if test -n "$CONFIG_FILES"; then
5085 ac_cr=`echo X | tr X '\015'`
5086 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5087 # But we know of no other shell where ac_cr would be empty at this
5088 # point, so we can use a bashism as a fallback.
5089 if test "x$ac_cr" = x; then
5090 eval ac_cr=\$\'\\r\'
5092 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5093 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5099 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5104 echo "cat >conf$$subs.awk <<_ACEOF" &&
5105 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5108 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5109 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5111 for ac_last_try in false false false false false :; do
5112 . ./conf$$subs.sh ||
5113 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5115 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5116 if test $ac_delim_n = $ac_delim_num; then
5118 elif $ac_last_try; then
5119 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5121 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5126 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5127 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5131 s/^/S["/; s/!.*/"]=/
5141 s/\(.\{148\}\)..*/\1/
5143 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5148 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5155 s/\(.\{148\}\)..*/\1/
5157 s/["\\]/\\&/g; s/^/"/; s/$/"/
5161 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5166 ' <conf$$subs.awk | sed '
5171 ' >>$CONFIG_STATUS || ac_write_fail=1
5172 rm -f conf$$subs.awk
5173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5175 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5176 for (key in S) S_is_set[key] = 1
5182 nfields = split(line, field, "@")
5184 len = length(field[1])
5185 for (i = 2; i < nfields; i++) {
5187 keylen = length(key)
5188 if (S_is_set[key]) {
5190 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5191 len += length(value) + length(field[++i])
5202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5203 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5204 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5207 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5208 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5211 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5212 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5213 # trailing colons and then remove the whole line if VPATH becomes empty
5214 # (actually we leave an empty line to preserve line numbers).
5215 if test "x$srcdir" = x.; then
5216 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5235 fi # test -n "$CONFIG_FILES"
5238 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5243 :[FHLC]) ac_mode=$ac_tag; continue;;
5245 case $ac_mode$ac_tag in
5247 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5248 :[FH]-) ac_tag=-:-;;
5249 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5266 -) ac_f="$ac_tmp/stdin";;
5267 *) # Look for the file first in the build tree, then in the source tree
5268 # (if the path is not absolute). The absolute path cannot be DOS-style,
5269 # because $ac_f cannot contain `:'.
5273 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5275 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5277 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5278 as_fn_append ac_file_inputs " '$ac_f'"
5281 # Let's still pretend it is `configure' which instantiates (i.e., don't
5282 # use $as_me), people would be surprised to read:
5283 # /* config.h. Generated by config.status. */
5284 configure_input='Generated from '`
5285 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5287 if test x"$ac_file" != x-; then
5288 configure_input="$ac_file. $configure_input"
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5290 $as_echo "$as_me: creating $ac_file" >&6;}
5292 # Neutralize special characters interpreted by sed in replacement strings.
5293 case $configure_input in #(
5294 *\&* | *\|* | *\\* )
5295 ac_sed_conf_input=`$as_echo "$configure_input" |
5296 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5297 *) ac_sed_conf_input=$configure_input;;
5301 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5302 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5307 ac_dir=`$as_dirname -- "$ac_file" ||
5308 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5309 X"$ac_file" : 'X\(//\)[^/]' \| \
5310 X"$ac_file" : 'X\(//\)$' \| \
5311 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5312 $as_echo X"$ac_file" |
5313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5330 as_dir="$ac_dir"; as_fn_mkdir_p
5334 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5336 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5337 # A ".." for each directory in $ac_dir_suffix.
5338 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5339 case $ac_top_builddir_sub in
5340 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5341 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5344 ac_abs_top_builddir=$ac_pwd
5345 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5346 # for backward compatibility:
5347 ac_top_builddir=$ac_top_build_prefix
5350 .) # We are building in place.
5352 ac_top_srcdir=$ac_top_builddir_sub
5353 ac_abs_top_srcdir=$ac_pwd ;;
5354 [\\/]* | ?:[\\/]* ) # Absolute name.
5355 ac_srcdir=$srcdir$ac_dir_suffix;
5356 ac_top_srcdir=$srcdir
5357 ac_abs_top_srcdir=$srcdir ;;
5359 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5360 ac_top_srcdir=$ac_top_build_prefix$srcdir
5361 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5363 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5373 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5374 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5378 [\\/$]* | ?:[\\/]* ) ;;
5379 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5384 # If the template does not know about datarootdir, expand it.
5385 # FIXME: This hack should be removed a few years after 2.60.
5386 ac_datarootdir_hack=; ac_datarootdir_seen=
5397 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5398 *datarootdir*) ac_datarootdir_seen=yes;;
5399 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5401 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5404 ac_datarootdir_hack='
5405 s&@datadir@&$datadir&g
5406 s&@docdir@&$docdir&g
5407 s&@infodir@&$infodir&g
5408 s&@localedir@&$localedir&g
5409 s&@mandir@&$mandir&g
5410 s&\\\${datarootdir}&$datarootdir&g' ;;
5414 # Neutralize VPATH when `$srcdir' = `.'.
5415 # Shell code in configure.ac might set extrasub.
5416 # FIXME: do we really want to maintain this feature?
5417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5418 ac_sed_extra="$ac_vpsub
5421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5423 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5424 s|@configure_input@|$ac_sed_conf_input|;t t
5425 s&@top_builddir@&$ac_top_builddir_sub&;t t
5426 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5427 s&@srcdir@&$ac_srcdir&;t t
5428 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5429 s&@top_srcdir@&$ac_top_srcdir&;t t
5430 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5431 s&@builddir@&$ac_builddir&;t t
5432 s&@abs_builddir@&$ac_abs_builddir&;t t
5433 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5434 s&@INSTALL@&$ac_INSTALL&;t t
5435 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5436 $ac_datarootdir_hack
5438 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5439 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5441 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5442 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5443 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5444 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5446 which seems to be undefined. Please make sure it is defined" >&5
5447 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5448 which seems to be undefined. Please make sure it is defined" >&2;}
5450 rm -f "$ac_tmp/stdin"
5452 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5453 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5455 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5459 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5460 $as_echo "$as_me: executing $ac_file commands" >&6;}
5465 case $ac_file$ac_mode in
5466 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5467 # Older Autoconf quotes --file arguments for eval, but not when files
5468 # are listed without --file. Let's play safe and only enable the eval
5469 # if we detect the quoting.
5470 case $CONFIG_FILES in
5471 *\'*) eval set x "$CONFIG_FILES" ;;
5472 *) set x $CONFIG_FILES ;;
5477 # Strip MF so we end up with the name of the file.
5478 mf=`echo "$mf" | sed -e 's/:.*$//'`
5479 # Check whether this is an Automake generated Makefile or not.
5480 # We used to match only the files named 'Makefile.in', but
5481 # some people rename them; so instead we look at the file content.
5482 # Grep'ing the first line is not enough: some people post-process
5483 # each Makefile.in and add a new line on top of each file to say so.
5484 # Grep'ing the whole file is not good either: AIX grep has a line
5485 # limit of 2048, but all sed's we know have understand at least 4000.
5486 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5487 dirpart=`$as_dirname -- "$mf" ||
5488 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5489 X"$mf" : 'X\(//\)[^/]' \| \
5490 X"$mf" : 'X\(//\)$' \| \
5491 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5513 # Extract the definition of DEPDIR, am__include, and am__quote
5514 # from the Makefile without running 'make'.
5515 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5516 test -z "$DEPDIR" && continue
5517 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5518 test -z "$am__include" && continue
5519 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5520 # Find all dependency output files, they are included files with
5521 # $(DEPDIR) in their names. We invoke sed twice because it is the
5522 # simplest approach to changing $(DEPDIR) to its actual value in the
5524 for file in `sed -n "
5525 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5526 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5527 # Make sure the directory exists.
5528 test -f "$dirpart/$file" && continue
5529 fdir=`$as_dirname -- "$file" ||
5530 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5531 X"$file" : 'X\(//\)[^/]' \| \
5532 X"$file" : 'X\(//\)$' \| \
5533 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5552 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5553 # echo "creating $dirpart/$file"
5554 echo '# dummy' > "$dirpart/$file"
5566 ac_clean_files=$ac_clean_files_save
5568 test $ac_write_fail = 0 ||
5569 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5572 # configure is writing to config.log, and then calls config.status.
5573 # config.status does its own redirection, appending to config.log.
5574 # Unfortunately, on DOS this fails, as config.log is still kept open
5575 # by configure, so config.status won't be able to write to it; its
5576 # output is simply discarded. So we exec the FD to /dev/null,
5577 # effectively closing config.log, so it can be properly (re)opened and
5578 # appended to by config.status. When coming back to configure, we
5579 # need to make the FD available again.
5580 if test "$no_create" != yes; then
5582 ac_config_status_args=
5583 test "$silent" = yes &&
5584 ac_config_status_args="$ac_config_status_args --quiet"
5586 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5588 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5589 # would make configure fail if this is the last instruction.
5590 $ac_cs_success || as_fn_exit 1
5592 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5594 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}