2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status=$?; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" || exec 7<&0 </dev/null
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix=/usr/local
542 ac_config_libobj_dir=.
549 # Identity of this package.
557 ac_unique_file="lib/u2_init.c"
558 # Factoring default headers for most tests.
559 ac_includes_default="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
594 ac_subst_vars='am__EXEEXT_FALSE
608 usrp2_firmware_LDFLAG
609 usrp2_firmware_LIBDIRPATH
610 usrp2_firmware_INCLUDEDIR
612 usrp2_firmware_INCLUDES
613 BUILDING_USRP2_FIRMWARE_FALSE
614 BUILDING_USRP2_FIRMWARE_TRUE
619 am__fastdepCCAS_FALSE
654 INSTALL_STRIP_PROGRAM
696 program_transform_name
709 enable_option_checking
710 enable_all_components
712 enable_usrp2_firmware
713 enable_dependency_tracking
715 ac_precious_vars='build_alias
728 # Initialize some variables set by options.
730 ac_init_version=false
731 ac_unrecognized_opts=
733 # The variables have the same names as the options, with
734 # dashes changed to underlines.
742 program_transform_name=s,x,x,
750 # Installation directory options.
751 # These are left unexpanded so users can "make install exec_prefix=/foo"
752 # and all the variables that are supposed to be based on exec_prefix
753 # by default will actually change.
754 # Use braces instead of parens because sh, perl, etc. also accept them.
755 # (The list follows the same order as the GNU Coding Standards.)
756 bindir='${exec_prefix}/bin'
757 sbindir='${exec_prefix}/sbin'
758 libexecdir='${exec_prefix}/libexec'
759 datarootdir='${prefix}/share'
760 datadir='${datarootdir}'
761 sysconfdir='${prefix}/etc'
762 sharedstatedir='${prefix}/com'
763 localstatedir='${prefix}/var'
764 includedir='${prefix}/include'
765 oldincludedir='/usr/include'
766 docdir='${datarootdir}/doc/${PACKAGE}'
767 infodir='${datarootdir}/info'
772 libdir='${exec_prefix}/lib'
773 localedir='${datarootdir}/locale'
774 mandir='${datarootdir}/man'
780 # If the previous option needs an argument, assign it.
781 if test -n "$ac_prev"; then
782 eval $ac_prev=\$ac_option
788 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
792 # Accept the important Cygnus configure options, so we can diagnose typos.
794 case $ac_dashdash$ac_option in
798 -bindir | --bindir | --bindi | --bind | --bin | --bi)
800 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
803 -build | --build | --buil | --bui | --bu)
804 ac_prev=build_alias ;;
805 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
806 build_alias=$ac_optarg ;;
808 -cache-file | --cache-file | --cache-fil | --cache-fi \
809 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
810 ac_prev=cache_file ;;
811 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
812 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
813 cache_file=$ac_optarg ;;
816 cache_file=config.cache ;;
818 -datadir | --datadir | --datadi | --datad)
820 -datadir=* | --datadir=* | --datadi=* | --datad=*)
821 datadir=$ac_optarg ;;
823 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
824 | --dataroo | --dataro | --datar)
825 ac_prev=datarootdir ;;
826 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
827 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
828 datarootdir=$ac_optarg ;;
830 -disable-* | --disable-*)
831 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
832 # Reject names that are not valid shell variable names.
833 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
834 as_fn_error "invalid feature name: $ac_useropt"
835 ac_useropt_orig=$ac_useropt
836 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
837 case $ac_user_opts in
841 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
842 ac_unrecognized_sep=', ';;
844 eval enable_$ac_useropt=no ;;
846 -docdir | --docdir | --docdi | --doc | --do)
848 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
851 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
853 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
856 -enable-* | --enable-*)
857 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
858 # Reject names that are not valid shell variable names.
859 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
860 as_fn_error "invalid feature name: $ac_useropt"
861 ac_useropt_orig=$ac_useropt
862 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
863 case $ac_user_opts in
867 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
868 ac_unrecognized_sep=', ';;
870 eval enable_$ac_useropt=\$ac_optarg ;;
872 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
873 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
874 | --exec | --exe | --ex)
875 ac_prev=exec_prefix ;;
876 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
877 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
878 | --exec=* | --exe=* | --ex=*)
879 exec_prefix=$ac_optarg ;;
881 -gas | --gas | --ga | --g)
882 # Obsolete; use --with-gas.
885 -help | --help | --hel | --he | -h)
887 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
888 ac_init_help=recursive ;;
889 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
890 ac_init_help=short ;;
892 -host | --host | --hos | --ho)
893 ac_prev=host_alias ;;
894 -host=* | --host=* | --hos=* | --ho=*)
895 host_alias=$ac_optarg ;;
897 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
899 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
901 htmldir=$ac_optarg ;;
903 -includedir | --includedir | --includedi | --included | --include \
904 | --includ | --inclu | --incl | --inc)
905 ac_prev=includedir ;;
906 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
907 | --includ=* | --inclu=* | --incl=* | --inc=*)
908 includedir=$ac_optarg ;;
910 -infodir | --infodir | --infodi | --infod | --info | --inf)
912 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
913 infodir=$ac_optarg ;;
915 -libdir | --libdir | --libdi | --libd)
917 -libdir=* | --libdir=* | --libdi=* | --libd=*)
920 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
921 | --libexe | --libex | --libe)
922 ac_prev=libexecdir ;;
923 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
924 | --libexe=* | --libex=* | --libe=*)
925 libexecdir=$ac_optarg ;;
927 -localedir | --localedir | --localedi | --localed | --locale)
929 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
930 localedir=$ac_optarg ;;
932 -localstatedir | --localstatedir | --localstatedi | --localstated \
933 | --localstate | --localstat | --localsta | --localst | --locals)
934 ac_prev=localstatedir ;;
935 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
936 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
937 localstatedir=$ac_optarg ;;
939 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
941 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
945 # Obsolete; use --without-fp.
948 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
949 | --no-cr | --no-c | -n)
952 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
953 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
956 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
957 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
958 | --oldin | --oldi | --old | --ol | --o)
959 ac_prev=oldincludedir ;;
960 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
961 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
962 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
963 oldincludedir=$ac_optarg ;;
965 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
967 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
970 -program-prefix | --program-prefix | --program-prefi | --program-pref \
971 | --program-pre | --program-pr | --program-p)
972 ac_prev=program_prefix ;;
973 -program-prefix=* | --program-prefix=* | --program-prefi=* \
974 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
975 program_prefix=$ac_optarg ;;
977 -program-suffix | --program-suffix | --program-suffi | --program-suff \
978 | --program-suf | --program-su | --program-s)
979 ac_prev=program_suffix ;;
980 -program-suffix=* | --program-suffix=* | --program-suffi=* \
981 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
982 program_suffix=$ac_optarg ;;
984 -program-transform-name | --program-transform-name \
985 | --program-transform-nam | --program-transform-na \
986 | --program-transform-n | --program-transform- \
987 | --program-transform | --program-transfor \
988 | --program-transfo | --program-transf \
989 | --program-trans | --program-tran \
990 | --progr-tra | --program-tr | --program-t)
991 ac_prev=program_transform_name ;;
992 -program-transform-name=* | --program-transform-name=* \
993 | --program-transform-nam=* | --program-transform-na=* \
994 | --program-transform-n=* | --program-transform-=* \
995 | --program-transform=* | --program-transfor=* \
996 | --program-transfo=* | --program-transf=* \
997 | --program-trans=* | --program-tran=* \
998 | --progr-tra=* | --program-tr=* | --program-t=*)
999 program_transform_name=$ac_optarg ;;
1001 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1003 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1004 pdfdir=$ac_optarg ;;
1006 -psdir | --psdir | --psdi | --psd | --ps)
1008 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1011 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1012 | -silent | --silent | --silen | --sile | --sil)
1015 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1017 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1019 sbindir=$ac_optarg ;;
1021 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1022 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1023 | --sharedst | --shareds | --shared | --share | --shar \
1025 ac_prev=sharedstatedir ;;
1026 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1027 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1028 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1030 sharedstatedir=$ac_optarg ;;
1032 -site | --site | --sit)
1034 -site=* | --site=* | --sit=*)
1037 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1039 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1040 srcdir=$ac_optarg ;;
1042 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1043 | --syscon | --sysco | --sysc | --sys | --sy)
1044 ac_prev=sysconfdir ;;
1045 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1046 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1047 sysconfdir=$ac_optarg ;;
1049 -target | --target | --targe | --targ | --tar | --ta | --t)
1050 ac_prev=target_alias ;;
1051 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1052 target_alias=$ac_optarg ;;
1054 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1057 -version | --version | --versio | --versi | --vers | -V)
1058 ac_init_version=: ;;
1061 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1062 # Reject names that are not valid shell variable names.
1063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064 as_fn_error "invalid package name: $ac_useropt"
1065 ac_useropt_orig=$ac_useropt
1066 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1067 case $ac_user_opts in
1071 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1072 ac_unrecognized_sep=', ';;
1074 eval with_$ac_useropt=\$ac_optarg ;;
1076 -without-* | --without-*)
1077 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1080 as_fn_error "invalid package name: $ac_useropt"
1081 ac_useropt_orig=$ac_useropt
1082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083 case $ac_user_opts in
1087 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1088 ac_unrecognized_sep=', ';;
1090 eval with_$ac_useropt=no ;;
1093 # Obsolete; use --with-x.
1096 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1097 | --x-incl | --x-inc | --x-in | --x-i)
1098 ac_prev=x_includes ;;
1099 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1100 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1101 x_includes=$ac_optarg ;;
1103 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1104 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1105 ac_prev=x_libraries ;;
1106 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1107 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1108 x_libraries=$ac_optarg ;;
1110 -*) as_fn_error "unrecognized option: \`$ac_option'
1111 Try \`$0 --help' for more information."
1115 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1116 # Reject names that are not valid shell variable names.
1117 case $ac_envvar in #(
1118 '' | [0-9]* | *[!_$as_cr_alnum]* )
1119 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1121 eval $ac_envvar=\$ac_optarg
1122 export $ac_envvar ;;
1125 # FIXME: should be removed in autoconf 3.0.
1126 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1127 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1128 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1129 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1135 if test -n "$ac_prev"; then
1136 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1137 as_fn_error "missing argument to $ac_option"
1140 if test -n "$ac_unrecognized_opts"; then
1141 case $enable_option_checking in
1143 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1144 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1148 # Check all directory arguments for consistency.
1149 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1150 datadir sysconfdir sharedstatedir localstatedir includedir \
1151 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1152 libdir localedir mandir
1154 eval ac_val=\$$ac_var
1155 # Remove trailing slashes.
1158 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1159 eval $ac_var=\$ac_val;;
1161 # Be sure to have absolute directory names.
1163 [\\/$]* | ?:[\\/]* ) continue;;
1164 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1166 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1169 # There might be people who depend on the old broken behavior: `$host'
1170 # used to hold the argument of --host etc.
1171 # FIXME: To remove some day.
1174 target=$target_alias
1176 # FIXME: To remove some day.
1177 if test "x$host_alias" != x; then
1178 if test "x$build_alias" = x; then
1179 cross_compiling=maybe
1180 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1181 If a cross compiler is detected then cross compile mode will be used." >&2
1182 elif test "x$build_alias" != "x$host_alias"; then
1188 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1190 test "$silent" = yes && exec 6>/dev/null
1193 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1194 ac_ls_di=`ls -di .` &&
1195 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1196 as_fn_error "working directory cannot be determined"
1197 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1198 as_fn_error "pwd does not report name of working directory"
1201 # Find the source files, if location was not specified.
1202 if test -z "$srcdir"; then
1203 ac_srcdir_defaulted=yes
1204 # Try the directory containing this script, then the parent directory.
1205 ac_confdir=`$as_dirname -- "$as_myself" ||
1206 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1207 X"$as_myself" : 'X\(//\)[^/]' \| \
1208 X"$as_myself" : 'X\(//\)$' \| \
1209 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1210 $as_echo X"$as_myself" |
1211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1229 if test ! -r "$srcdir/$ac_unique_file"; then
1233 ac_srcdir_defaulted=no
1235 if test ! -r "$srcdir/$ac_unique_file"; then
1236 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1237 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1239 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1241 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1243 # When building in place, set srcdir=.
1244 if test "$ac_abs_confdir" = "$ac_pwd"; then
1247 # Remove unnecessary trailing slashes from srcdir.
1248 # Double slashes in file names in object file debugging info
1249 # mess up M-x gdb in Emacs.
1251 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1253 for ac_var in $ac_precious_vars; do
1254 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1255 eval ac_env_${ac_var}_value=\$${ac_var}
1256 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1257 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1261 # Report the --help message.
1263 if test "$ac_init_help" = "long"; then
1264 # Omit some internal or obsolete options to make the list less imposing.
1265 # This message is too long to be a string in the A/UX 3.1 sh.
1267 \`configure' configures this package to adapt to many kinds of systems.
1269 Usage: $0 [OPTION]... [VAR=VALUE]...
1271 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1272 VAR=VALUE. See below for descriptions of some of the useful variables.
1274 Defaults for the options are specified in brackets.
1277 -h, --help display this help and exit
1278 --help=short display options specific to this package
1279 --help=recursive display the short help of all the included packages
1280 -V, --version display version information and exit
1281 -q, --quiet, --silent do not print \`checking...' messages
1282 --cache-file=FILE cache test results in FILE [disabled]
1283 -C, --config-cache alias for \`--cache-file=config.cache'
1284 -n, --no-create do not create output files
1285 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1287 Installation directories:
1288 --prefix=PREFIX install architecture-independent files in PREFIX
1289 [$ac_default_prefix]
1290 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1293 By default, \`make install' will install all the files in
1294 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1295 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1296 for instance \`--prefix=\$HOME'.
1298 For better control, use the options below.
1300 Fine tuning of the installation directories:
1301 --bindir=DIR user executables [EPREFIX/bin]
1302 --sbindir=DIR system admin executables [EPREFIX/sbin]
1303 --libexecdir=DIR program executables [EPREFIX/libexec]
1304 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1305 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1306 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1307 --libdir=DIR object code libraries [EPREFIX/lib]
1308 --includedir=DIR C header files [PREFIX/include]
1309 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1310 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1311 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1312 --infodir=DIR info documentation [DATAROOTDIR/info]
1313 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1314 --mandir=DIR man documentation [DATAROOTDIR/man]
1315 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1316 --htmldir=DIR html documentation [DOCDIR]
1317 --dvidir=DIR dvi documentation [DOCDIR]
1318 --pdfdir=DIR pdf documentation [DOCDIR]
1319 --psdir=DIR ps documentation [DOCDIR]
1325 --program-prefix=PREFIX prepend PREFIX to installed program names
1326 --program-suffix=SUFFIX append SUFFIX to installed program names
1327 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1331 if test -n "$ac_init_help"; then
1336 --disable-option-checking ignore unrecognized --enable/--with options
1337 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1338 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1339 --enable-all-components Build all configurable components (default), or stop on failed dependencies
1341 --enable-usrp2 Stop if usrp2 fails configuration
1342 --enable-usrp2-firmware Stop if usrp2-firmware fails configuration
1343 --disable-dependency-tracking speeds up one-time build
1344 --enable-dependency-tracking do not reject slow dependency extractors
1346 Some influential environment variables:
1347 CC C compiler command
1348 CFLAGS C compiler flags
1349 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1350 nonstandard directory <lib dir>
1351 LIBS libraries to pass to the linker, e.g. -l<library>
1352 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1353 you have headers in a nonstandard directory <include dir>
1355 CCAS assembler compiler command (defaults to CC)
1356 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1358 Use these variables to override the choices made by `configure' or to help
1359 it to find libraries and programs with nonstandard names/locations.
1361 Report bugs to the package provider.
1366 if test "$ac_init_help" = "recursive"; then
1367 # If there are subdirs, report their specific --help.
1368 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1369 test -d "$ac_dir" ||
1370 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1375 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1377 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1378 # A ".." for each directory in $ac_dir_suffix.
1379 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1380 case $ac_top_builddir_sub in
1381 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1382 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1385 ac_abs_top_builddir=$ac_pwd
1386 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1387 # for backward compatibility:
1388 ac_top_builddir=$ac_top_build_prefix
1391 .) # We are building in place.
1393 ac_top_srcdir=$ac_top_builddir_sub
1394 ac_abs_top_srcdir=$ac_pwd ;;
1395 [\\/]* | ?:[\\/]* ) # Absolute name.
1396 ac_srcdir=$srcdir$ac_dir_suffix;
1397 ac_top_srcdir=$srcdir
1398 ac_abs_top_srcdir=$srcdir ;;
1400 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1401 ac_top_srcdir=$ac_top_build_prefix$srcdir
1402 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1404 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1406 cd "$ac_dir" || { ac_status=$?; continue; }
1407 # Check for guested configure.
1408 if test -f "$ac_srcdir/configure.gnu"; then
1410 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1411 elif test -f "$ac_srcdir/configure"; then
1413 $SHELL "$ac_srcdir/configure" --help=recursive
1415 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1417 cd "$ac_pwd" || { ac_status=$?; break; }
1421 test -n "$ac_init_help" && exit $ac_status
1422 if $ac_init_version; then
1425 generated by GNU Autoconf 2.65
1427 Copyright (C) 2009 Free Software Foundation, Inc.
1428 This configure script is free software; the Free Software Foundation
1429 gives unlimited permission to copy, distribute and modify it.
1434 ## ------------------------ ##
1435 ## Autoconf initialization. ##
1436 ## ------------------------ ##
1438 # ac_fn_c_try_compile LINENO
1439 # --------------------------
1440 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1441 ac_fn_c_try_compile ()
1443 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1444 rm -f conftest.$ac_objext
1445 if { { ac_try="$ac_compile"
1447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1448 *) ac_try_echo=$ac_try;;
1450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1451 $as_echo "$ac_try_echo"; } >&5
1452 (eval "$ac_compile") 2>conftest.err
1454 if test -s conftest.err; then
1455 grep -v '^ *+' conftest.err >conftest.er1
1456 cat conftest.er1 >&5
1457 mv -f conftest.er1 conftest.err
1459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1460 test $ac_status = 0; } && {
1461 test -z "$ac_c_werror_flag" ||
1462 test ! -s conftest.err
1463 } && test -s conftest.$ac_objext; then :
1466 $as_echo "$as_me: failed program was:" >&5
1467 sed 's/^/| /' conftest.$ac_ext >&5
1471 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1472 as_fn_set_status $ac_retval
1474 } # ac_fn_c_try_compile
1476 # ac_fn_c_try_cpp LINENO
1477 # ----------------------
1478 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1481 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1482 if { { ac_try="$ac_cpp conftest.$ac_ext"
1484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1485 *) ac_try_echo=$ac_try;;
1487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1488 $as_echo "$ac_try_echo"; } >&5
1489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1491 if test -s conftest.err; then
1492 grep -v '^ *+' conftest.err >conftest.er1
1493 cat conftest.er1 >&5
1494 mv -f conftest.er1 conftest.err
1496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1497 test $ac_status = 0; } >/dev/null && {
1498 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1499 test ! -s conftest.err
1503 $as_echo "$as_me: failed program was:" >&5
1504 sed 's/^/| /' conftest.$ac_ext >&5
1508 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1509 as_fn_set_status $ac_retval
1513 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1514 # -------------------------------------------------------
1515 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1516 # the include files in INCLUDES and setting the cache variable VAR
1518 ac_fn_c_check_header_mongrel ()
1520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1523 $as_echo_n "checking for $2... " >&6; }
1524 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1525 $as_echo_n "(cached) " >&6
1528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1529 $as_echo "$ac_res" >&6; }
1531 # Is the header compilable?
1532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1533 $as_echo_n "checking $2 usability... " >&6; }
1534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1535 /* end confdefs.h. */
1539 if ac_fn_c_try_compile "$LINENO"; then :
1540 ac_header_compiler=yes
1542 ac_header_compiler=no
1544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1546 $as_echo "$ac_header_compiler" >&6; }
1548 # Is the header present?
1549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1550 $as_echo_n "checking $2 presence... " >&6; }
1551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1552 /* end confdefs.h. */
1555 if ac_fn_c_try_cpp "$LINENO"; then :
1556 ac_header_preproc=yes
1558 ac_header_preproc=no
1560 rm -f conftest.err conftest.$ac_ext
1561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1562 $as_echo "$ac_header_preproc" >&6; }
1564 # So? What about this header?
1565 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1568 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1570 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1574 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1576 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1578 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1580 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1582 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1586 $as_echo_n "checking for $2... " >&6; }
1587 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1588 $as_echo_n "(cached) " >&6
1590 eval "$3=\$ac_header_compiler"
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1594 $as_echo "$ac_res" >&6; }
1596 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1598 } # ac_fn_c_check_header_mongrel
1600 # ac_fn_c_try_run LINENO
1601 # ----------------------
1602 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1603 # that executables *can* be run.
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 if { { ac_try="$ac_link"
1609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1610 *) ac_try_echo=$ac_try;;
1612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1613 $as_echo "$ac_try_echo"; } >&5
1614 (eval "$ac_link") 2>&5
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1618 { { case "(($ac_try" in
1619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1620 *) ac_try_echo=$ac_try;;
1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623 $as_echo "$ac_try_echo"; } >&5
1624 (eval "$ac_try") 2>&5
1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627 test $ac_status = 0; }; }; then :
1630 $as_echo "$as_me: program exited with status $ac_status" >&5
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1634 ac_retval=$ac_status
1636 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1637 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1638 as_fn_set_status $ac_retval
1642 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1643 # -------------------------------------------------------
1644 # Tests whether HEADER exists and can be compiled using the include files in
1645 # INCLUDES, setting the cache variable VAR accordingly.
1646 ac_fn_c_check_header_compile ()
1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1650 $as_echo_n "checking for $2... " >&6; }
1651 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1652 $as_echo_n "(cached) " >&6
1654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1655 /* end confdefs.h. */
1659 if ac_fn_c_try_compile "$LINENO"; then :
1664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1668 $as_echo "$ac_res" >&6; }
1669 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1671 } # ac_fn_c_check_header_compile
1672 cat >config.log <<_ACEOF
1673 This file contains any messages produced by compilers while
1674 running configure, to aid debugging if configure makes a mistake.
1676 It was created by $as_me, which was
1677 generated by GNU Autoconf 2.65. Invocation command line was
1689 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1690 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1691 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1692 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1693 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1695 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1696 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1698 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1699 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1700 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1701 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1702 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1703 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1704 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1712 test -z "$as_dir" && as_dir=.
1713 $as_echo "PATH: $as_dir"
1729 # Keep a trace of the command line.
1730 # Strip out --no-create and --no-recursion so they do not pile up.
1731 # Strip out --silent because we don't want to record it for future runs.
1732 # Also quote any args containing shell meta-characters.
1733 # Make two passes to allow for proper duplicate-argument suppression.
1737 ac_must_keep_next=false
1743 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1744 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1745 | -silent | --silent | --silen | --sile | --sil)
1748 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1751 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1753 as_fn_append ac_configure_args1 " '$ac_arg'"
1754 if test $ac_must_keep_next = true; then
1755 ac_must_keep_next=false # Got value, back to normal.
1758 *=* | --config-cache | -C | -disable-* | --disable-* \
1759 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1760 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1761 | -with-* | --with-* | -without-* | --without-* | --x)
1762 case "$ac_configure_args0 " in
1763 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1766 -* ) ac_must_keep_next=true ;;
1769 as_fn_append ac_configure_args " '$ac_arg'"
1774 { ac_configure_args0=; unset ac_configure_args0;}
1775 { ac_configure_args1=; unset ac_configure_args1;}
1777 # When interrupted or exit'd, cleanup temporary files, and complete
1778 # config.log. We remove comments because anyway the quotes in there
1779 # would cause problems or look ugly.
1780 # WARNING: Use '\'' to represent an apostrophe within the trap.
1781 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1782 trap 'exit_status=$?
1783 # Save into config.log some information that might help in debugging.
1788 ## ---------------- ##
1789 ## Cache variables. ##
1790 ## ---------------- ##
1793 # The following way of writing the cache mishandles newlines in values,
1795 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1796 eval ac_val=\$$ac_var
1800 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1801 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1804 _ | IFS | as_nl) ;; #(
1805 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1806 *) { eval $ac_var=; unset $ac_var;} ;;
1811 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1812 *${as_nl}ac_space=\ *)
1814 "s/'\''/'\''\\\\'\'''\''/g;
1815 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1818 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1826 ## ----------------- ##
1827 ## Output variables. ##
1828 ## ----------------- ##
1831 for ac_var in $ac_subst_vars
1833 eval ac_val=\$$ac_var
1835 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1837 $as_echo "$ac_var='\''$ac_val'\''"
1841 if test -n "$ac_subst_files"; then
1843 ## ------------------- ##
1844 ## File substitutions. ##
1845 ## ------------------- ##
1848 for ac_var in $ac_subst_files
1850 eval ac_val=\$$ac_var
1852 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1854 $as_echo "$ac_var='\''$ac_val'\''"
1859 if test -s confdefs.h; then
1869 test "$ac_signal" != 0 &&
1870 $as_echo "$as_me: caught signal $ac_signal"
1871 $as_echo "$as_me: exit $exit_status"
1873 rm -f core *.core core.conftest.* &&
1874 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1877 for ac_signal in 1 2 13 15; do
1878 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1882 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1883 rm -f -r conftest* confdefs.h
1885 $as_echo "/* confdefs.h */" > confdefs.h
1887 # Predefined preprocessor variables.
1889 cat >>confdefs.h <<_ACEOF
1890 #define PACKAGE_NAME "$PACKAGE_NAME"
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1897 cat >>confdefs.h <<_ACEOF
1898 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1901 cat >>confdefs.h <<_ACEOF
1902 #define PACKAGE_STRING "$PACKAGE_STRING"
1905 cat >>confdefs.h <<_ACEOF
1906 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1909 cat >>confdefs.h <<_ACEOF
1910 #define PACKAGE_URL "$PACKAGE_URL"
1914 # Let the site file select an alternate cache file if it wants to.
1915 # Prefer an explicitly selected file to automatically selected ones.
1918 if test -n "$CONFIG_SITE"; then
1919 ac_site_file1=$CONFIG_SITE
1920 elif test "x$prefix" != xNONE; then
1921 ac_site_file1=$prefix/share/config.site
1922 ac_site_file2=$prefix/etc/config.site
1924 ac_site_file1=$ac_default_prefix/share/config.site
1925 ac_site_file2=$ac_default_prefix/etc/config.site
1927 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1929 test "x$ac_site_file" = xNONE && continue
1930 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1932 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1933 sed 's/^/| /' "$ac_site_file" >&5
1938 if test -r "$cache_file"; then
1939 # Some versions of bash will fail to source /dev/null (special files
1940 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1941 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1943 $as_echo "$as_me: loading cache $cache_file" >&6;}
1945 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1946 *) . "./$cache_file";;
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1951 $as_echo "$as_me: creating cache $cache_file" >&6;}
1955 # Check that the precious variables saved in the cache have kept the same
1957 ac_cache_corrupted=false
1958 for ac_var in $ac_precious_vars; do
1959 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1960 eval ac_new_set=\$ac_env_${ac_var}_set
1961 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1962 eval ac_new_val=\$ac_env_${ac_var}_value
1963 case $ac_old_set,$ac_new_set in
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1966 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1967 ac_cache_corrupted=: ;;
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1970 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1971 ac_cache_corrupted=: ;;
1974 if test "x$ac_old_val" != "x$ac_new_val"; then
1975 # differences in whitespace do not lead to failure.
1976 ac_old_val_w=`echo x $ac_old_val`
1977 ac_new_val_w=`echo x $ac_new_val`
1978 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1980 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1981 ac_cache_corrupted=:
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1984 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1985 eval $ac_var=\$ac_old_val
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1988 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1990 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1993 # Pass precious variables to config.status.
1994 if test "$ac_new_set" = set; then
1996 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1997 *) ac_arg=$ac_var=$ac_new_val ;;
1999 case " $ac_configure_args " in
2000 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2001 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2005 if $ac_cache_corrupted; then
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2009 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2010 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2012 ## -------------------- ##
2013 ## Main body of script. ##
2014 ## -------------------- ##
2017 ac_cpp='$CPP $CPPFLAGS'
2018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2024 ac_config_headers="$ac_config_headers config.h"
2027 for ac_dir in . "$srcdir"/.; do
2028 for ac_t in install-sh install.sh shtool; do
2029 if test -f "$ac_dir/$ac_t"; then
2031 ac_install_sh="$ac_aux_dir/$ac_t -c"
2036 if test -z "$ac_aux_dir"; then
2037 as_fn_error "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2040 # These three variables are undocumented and unsupported,
2041 # and are intended to be withdrawn in a future Autoconf release.
2042 # They can cause serious problems if a builder's source tree is in a directory
2043 # whose full name contains unusual characters.
2044 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2045 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2046 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2051 am__api_version='1.11'
2053 # Find a good install program. We prefer a C program (faster),
2054 # so one script is as good as another. But avoid the broken or
2055 # incompatible versions:
2056 # SysV /etc/install, /usr/sbin/install
2057 # SunOS /usr/etc/install
2058 # IRIX /sbin/install
2060 # AmigaOS /C/install, which installs bootblocks on floppy discs
2061 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2062 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2063 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2064 # OS/2's system install, which has a completely different semantic
2065 # ./install, which can be erroneously created by make from ./install.sh.
2066 # Reject install programs that cannot install multiple files.
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2068 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2069 if test -z "$INSTALL"; then
2070 if test "${ac_cv_path_install+set}" = set; then :
2071 $as_echo_n "(cached) " >&6
2073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 test -z "$as_dir" && as_dir=.
2078 # Account for people who put trailing slashes in PATH elements.
2079 case $as_dir/ in #((
2080 ./ | .// | /[cC]/* | \
2081 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2082 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2085 # OSF1 and SCO ODT 3.0 have their own names for install.
2086 # Don't use installbsd from OSF since it installs stuff as root
2088 for ac_prog in ginstall scoinst install; do
2089 for ac_exec_ext in '' $ac_executable_extensions; do
2090 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2091 if test $ac_prog = install &&
2092 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2093 # AIX install. It has an incompatible calling convention.
2095 elif test $ac_prog = install &&
2096 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2097 # program-specific install script used by HP pwplus--don't use.
2100 rm -rf conftest.one conftest.two conftest.dir
2101 echo one > conftest.one
2102 echo two > conftest.two
2104 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2105 test -s conftest.one && test -s conftest.two &&
2106 test -s conftest.dir/conftest.one &&
2107 test -s conftest.dir/conftest.two
2109 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2122 rm -rf conftest.one conftest.two conftest.dir
2125 if test "${ac_cv_path_install+set}" = set; then
2126 INSTALL=$ac_cv_path_install
2128 # As a last resort, use the slow shell script. Don't cache a
2129 # value for INSTALL within a source directory, because that will
2130 # break other packages using the cache if that directory is
2131 # removed, or if the value is a relative name.
2132 INSTALL=$ac_install_sh
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2136 $as_echo "$INSTALL" >&6; }
2138 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2139 # It thinks the first close brace ends the variable substitution.
2140 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2142 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2144 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2147 $as_echo_n "checking whether build environment is sane... " >&6; }
2150 echo timestamp > conftest.file
2151 # Reject unsafe characters in $srcdir or the absolute working directory
2152 # name. Accept space and tab only in the latter.
2156 *[\\\"\#\$\&\'\`$am_lf]*)
2157 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2160 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2161 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2164 # Do `set' in a subshell so we don't clobber the current shell's
2165 # arguments. Must try -L first in case configure is actually a
2166 # symlink; some systems play weird games with the mod time of symlinks
2167 # (eg FreeBSD returns the mod time of the symlink's containing
2170 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2171 if test "$*" = "X"; then
2173 set X `ls -t "$srcdir/configure" conftest.file`
2176 if test "$*" != "X $srcdir/configure conftest.file" \
2177 && test "$*" != "X conftest.file $srcdir/configure"; then
2179 # If neither matched, then we have a broken ls. This can happen
2180 # if, for instance, CONFIG_SHELL is bash and it inherits a
2181 # broken ls alias from the environment. This has actually
2182 # happened. Such a system could not be considered "sane".
2183 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2184 alias in your environment" "$LINENO" 5
2187 test "$2" = conftest.file
2193 as_fn_error "newly created file is older than distributed files!
2194 Check your system clock" "$LINENO" 5
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2197 $as_echo "yes" >&6; }
2198 test "$program_prefix" != NONE &&
2199 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2200 # Use a double $ so make ignores it.
2201 test "$program_suffix" != NONE &&
2202 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2203 # Double any \ or $.
2204 # By default was `s,x,x', remove it if useless.
2205 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2206 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2208 # expand $ac_aux_dir to an absolute path
2209 am_aux_dir=`cd $ac_aux_dir && pwd`
2211 if test x"${MISSING+set}" != xset; then
2214 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2216 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2219 # Use eval to expand $SHELL
2220 if eval "$MISSING --run true"; then
2221 am_missing_run="$MISSING --run "
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2225 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2228 if test x"${install_sh}" != xset; then
2231 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2233 install_sh="\${SHELL} $am_aux_dir/install-sh"
2237 # Installed binaries are usually stripped using `strip' when the user
2238 # run `make install-strip'. However `strip' might not be the right
2239 # tool to use in cross-compilation environments, therefore Automake
2240 # will honor the `STRIP' environment variable to overrule this program.
2241 if test "$cross_compiling" != no; then
2242 if test -n "$ac_tool_prefix"; then
2243 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2244 set dummy ${ac_tool_prefix}strip; ac_word=$2
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2246 $as_echo_n "checking for $ac_word... " >&6; }
2247 if test "${ac_cv_prog_STRIP+set}" = set; then :
2248 $as_echo_n "(cached) " >&6
2250 if test -n "$STRIP"; then
2251 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2257 test -z "$as_dir" && as_dir=.
2258 for ac_exec_ext in '' $ac_executable_extensions; do
2259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2260 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2270 STRIP=$ac_cv_prog_STRIP
2271 if test -n "$STRIP"; then
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2273 $as_echo "$STRIP" >&6; }
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2276 $as_echo "no" >&6; }
2281 if test -z "$ac_cv_prog_STRIP"; then
2283 # Extract the first word of "strip", so it can be a program name with args.
2284 set dummy strip; ac_word=$2
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2286 $as_echo_n "checking for $ac_word... " >&6; }
2287 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2288 $as_echo_n "(cached) " >&6
2290 if test -n "$ac_ct_STRIP"; then
2291 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2297 test -z "$as_dir" && as_dir=.
2298 for ac_exec_ext in '' $ac_executable_extensions; do
2299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2300 ac_cv_prog_ac_ct_STRIP="strip"
2301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2310 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2311 if test -n "$ac_ct_STRIP"; then
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2313 $as_echo "$ac_ct_STRIP" >&6; }
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2316 $as_echo "no" >&6; }
2319 if test "x$ac_ct_STRIP" = x; then
2322 case $cross_compiling:$ac_tool_warned in
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2326 ac_tool_warned=yes ;;
2331 STRIP="$ac_cv_prog_STRIP"
2335 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2338 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2339 if test -z "$MKDIR_P"; then
2340 if test "${ac_cv_path_mkdir+set}" = set; then :
2341 $as_echo_n "(cached) " >&6
2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2347 test -z "$as_dir" && as_dir=.
2348 for ac_prog in mkdir gmkdir; do
2349 for ac_exec_ext in '' $ac_executable_extensions; do
2350 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2351 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2352 'mkdir (GNU coreutils) '* | \
2353 'mkdir (coreutils) '* | \
2354 'mkdir (fileutils) '4.1*)
2355 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2365 test -d ./--version && rmdir ./--version
2366 if test "${ac_cv_path_mkdir+set}" = set; then
2367 MKDIR_P="$ac_cv_path_mkdir -p"
2369 # As a last resort, use the slow shell script. Don't cache a
2370 # value for MKDIR_P within a source directory, because that will
2371 # break other packages using the cache if that directory is
2372 # removed, or if the value is a relative name.
2373 MKDIR_P="$ac_install_sh -d"
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2377 $as_echo "$MKDIR_P" >&6; }
2381 [\\/$]* | ?:[\\/]*) ;;
2382 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2385 for ac_prog in gawk mawk nawk awk
2387 # Extract the first word of "$ac_prog", so it can be a program name with args.
2388 set dummy $ac_prog; ac_word=$2
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2390 $as_echo_n "checking for $ac_word... " >&6; }
2391 if test "${ac_cv_prog_AWK+set}" = set; then :
2392 $as_echo_n "(cached) " >&6
2394 if test -n "$AWK"; then
2395 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401 test -z "$as_dir" && as_dir=.
2402 for ac_exec_ext in '' $ac_executable_extensions; do
2403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2404 ac_cv_prog_AWK="$ac_prog"
2405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2415 if test -n "$AWK"; then
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2417 $as_echo "$AWK" >&6; }
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2420 $as_echo "no" >&6; }
2424 test -n "$AWK" && break
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2428 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2430 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2431 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2432 $as_echo_n "(cached) " >&6
2434 cat >conftest.make <<\_ACEOF
2437 @echo '@@@%%%=$(MAKE)=@@@%%%'
2439 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2440 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2442 eval ac_cv_prog_make_${ac_make}_set=yes;;
2444 eval ac_cv_prog_make_${ac_make}_set=no;;
2448 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2450 $as_echo "yes" >&6; }
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2454 $as_echo "no" >&6; }
2455 SET_MAKE="MAKE=${MAKE-make}"
2458 rm -rf .tst 2>/dev/null
2459 mkdir .tst 2>/dev/null
2460 if test -d .tst; then
2465 rmdir .tst 2>/dev/null
2467 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2468 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2469 # is not polluted with repeated "-I."
2470 am__isrc=' -I$(srcdir)'
2471 # test to see if srcdir already configured
2472 if test -f $srcdir/config.status; then
2473 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2477 # test whether we have cygpath
2478 if test -z "$CYGPATH_W"; then
2479 if (cygpath --version) >/dev/null 2>/dev/null; then
2480 CYGPATH_W='cygpath -w'
2487 # Define the identity of the package.
2488 PACKAGE=usrp2-firmware
2492 cat >>confdefs.h <<_ACEOF
2493 #define PACKAGE "$PACKAGE"
2497 cat >>confdefs.h <<_ACEOF
2498 #define VERSION "$VERSION"
2501 # Some tools Automake needs.
2503 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2506 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2509 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2512 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2515 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2517 # We need awk for the "check" target. The system "awk" is bad on
2519 # Always define AMTAR for backward compatibility.
2521 AMTAR=${AMTAR-"${am_missing_run}tar"}
2523 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2531 # Check whether --enable-all-components was given.
2532 if test "${enable_all_components+set}" = set; then :
2533 enableval=$enable_all_components;
2537 #build_dirs="config"
2543 # Check whether --enable-usrp2 was given.
2544 if test "${enable_usrp2+set}" = set; then :
2545 enableval=$enable_usrp2;
2548 enable_usrp2=$enable_all_components
2549 if test x$enable_all_components = xno; then
2560 if test $passed = no; then
2561 if test x$enable_usrp2 = xyes; then
2562 as_fn_error "Component usrp2 has errors; stopping." "$LINENO" 5
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component usrp2." >&5
2565 $as_echo "Not building component usrp2." >&6; }
2568 if test $passed = with; then
2569 with_dirs="$with_dirs usrp2"
2571 if test "x${usrp2_INCLUDES}" != "x"; then
2572 if test "x$with_INCLUDES" = "x"; then
2573 with_INCLUDES="${usrp2_INCLUDES}"
2575 with_INCLUDES="${usrp2_INCLUDES}"" ""$with_INCLUDES"
2581 if test "x${usrp2_SWIG_INCLUDES}" != "x"; then
2582 if test "x$with_SWIG_INCLUDES" = "x"; then
2583 with_SWIG_INCLUDES="${usrp2_SWIG_INCLUDES}"
2585 with_SWIG_INCLUDES="${usrp2_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
2587 usrp2_SWIG_INCLUDES=
2591 if test "x${usrp2_PYDIRPATH}" != "x"; then
2592 if test "x$with_PYDIRPATH" = "x"; then
2593 with_PYDIRPATH="${usrp2_PYDIRPATH}"
2595 with_PYDIRPATH="${usrp2_PYDIRPATH}"":""$with_PYDIRPATH"
2601 if test "x${usrp2_SWIGDIRPATH}" != "x"; then
2602 if test "x$with_SWIGDIRPATH" = "x"; then
2603 with_SWIGDIRPATH="${usrp2_SWIGDIRPATH}"
2605 with_SWIGDIRPATH="${usrp2_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
2611 if test "x${usrp2_LIBDIRPATH}" != "x"; then
2612 if test "x$with_LIBDIRPATH" = "x"; then
2613 with_LIBDIRPATH="${usrp2_LIBDIRPATH}"
2615 with_LIBDIRPATH="${usrp2_LIBDIRPATH}"":""$with_LIBDIRPATH"
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 will be included from a pre-installed library and includes." >&5
2621 $as_echo "Component usrp2 will be included from a pre-installed library and includes." >&6; }
2625 if test x$enable_usrp2 != xno; then
2627 build_dirs="$build_dirs usrp2"
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 passed configuration checks; building." >&5
2629 $as_echo "Component usrp2 passed configuration checks; building." >&6; }
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 passed configuration checks; but not building." >&5
2633 $as_echo "Component usrp2 passed configuration checks; but not building." >&6; }
2637 if test $passed = no; then
2638 skipped_dirs="$skipped_dirs usrp2"
2651 DEPDIR="${am__leading_dot}deps"
2653 ac_config_commands="$ac_config_commands depfiles"
2656 am_make=${MAKE-make}
2657 cat > confinc << 'END'
2659 @echo this is the am__doit target
2662 # If we don't find an include directive, just comment out the code.
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2664 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2668 # First try GNU make style include.
2669 echo "include confinc" > confmf
2670 # Ignore all kinds of additional output from `make'.
2671 case `$am_make -s -f confmf 2> /dev/null` in #(
2672 *the\ am__doit\ target*)
2678 # Now try BSD make style include.
2679 if test "$am__include" = "#"; then
2680 echo '.include "confinc"' > confmf
2681 case `$am_make -s -f confmf 2> /dev/null` in #(
2682 *the\ am__doit\ target*)
2683 am__include=.include
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2692 $as_echo "$_am_result" >&6; }
2693 rm -f confinc confmf
2695 # Check whether --enable-dependency-tracking was given.
2696 if test "${enable_dependency_tracking+set}" = set; then :
2697 enableval=$enable_dependency_tracking;
2700 if test "x$enable_dependency_tracking" != xno; then
2701 am_depcomp="$ac_aux_dir/depcomp"
2704 if test "x$enable_dependency_tracking" != xno; then
2714 ac_cpp='$CPP $CPPFLAGS'
2715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2718 if test -n "$ac_tool_prefix"; then
2719 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2720 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722 $as_echo_n "checking for $ac_word... " >&6; }
2723 if test "${ac_cv_prog_CC+set}" = set; then :
2724 $as_echo_n "(cached) " >&6
2726 if test -n "$CC"; then
2727 ac_cv_prog_CC="$CC" # Let the user override the test.
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733 test -z "$as_dir" && as_dir=.
2734 for ac_exec_ext in '' $ac_executable_extensions; do
2735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2736 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 if test -n "$CC"; then
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2749 $as_echo "$CC" >&6; }
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752 $as_echo "no" >&6; }
2757 if test -z "$ac_cv_prog_CC"; then
2759 # Extract the first word of "gcc", so it can be a program name with args.
2760 set dummy gcc; ac_word=$2
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762 $as_echo_n "checking for $ac_word... " >&6; }
2763 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2764 $as_echo_n "(cached) " >&6
2766 if test -n "$ac_ct_CC"; then
2767 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773 test -z "$as_dir" && as_dir=.
2774 for ac_exec_ext in '' $ac_executable_extensions; do
2775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2776 ac_cv_prog_ac_ct_CC="gcc"
2777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2787 if test -n "$ac_ct_CC"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2789 $as_echo "$ac_ct_CC" >&6; }
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792 $as_echo "no" >&6; }
2795 if test "x$ac_ct_CC" = x; then
2798 case $cross_compiling:$ac_tool_warned in
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2802 ac_tool_warned=yes ;;
2810 if test -z "$CC"; then
2811 if test -n "$ac_tool_prefix"; then
2812 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2813 set dummy ${ac_tool_prefix}cc; ac_word=$2
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2815 $as_echo_n "checking for $ac_word... " >&6; }
2816 if test "${ac_cv_prog_CC+set}" = set; then :
2817 $as_echo_n "(cached) " >&6
2819 if test -n "$CC"; then
2820 ac_cv_prog_CC="$CC" # Let the user override the test.
2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2826 test -z "$as_dir" && as_dir=.
2827 for ac_exec_ext in '' $ac_executable_extensions; do
2828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2829 ac_cv_prog_CC="${ac_tool_prefix}cc"
2830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2840 if test -n "$CC"; then
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2842 $as_echo "$CC" >&6; }
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2845 $as_echo "no" >&6; }
2851 if test -z "$CC"; then
2852 # Extract the first word of "cc", so it can be a program name with args.
2853 set dummy cc; ac_word=$2
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2855 $as_echo_n "checking for $ac_word... " >&6; }
2856 if test "${ac_cv_prog_CC+set}" = set; then :
2857 $as_echo_n "(cached) " >&6
2859 if test -n "$CC"; then
2860 ac_cv_prog_CC="$CC" # Let the user override the test.
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867 test -z "$as_dir" && as_dir=.
2868 for ac_exec_ext in '' $ac_executable_extensions; do
2869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2870 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2871 ac_prog_rejected=yes
2875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2882 if test $ac_prog_rejected = yes; then
2883 # We found a bogon in the path, so make sure we never use it.
2884 set dummy $ac_cv_prog_CC
2886 if test $# != 0; then
2887 # We chose a different compiler from the bogus one.
2888 # However, it has the same basename, so the bogon will be chosen
2889 # first if we set CC to just the basename; use the full file name.
2891 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2897 if test -n "$CC"; then
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2899 $as_echo "$CC" >&6; }
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 $as_echo "no" >&6; }
2907 if test -z "$CC"; then
2908 if test -n "$ac_tool_prefix"; then
2909 for ac_prog in cl.exe
2911 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2912 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2914 $as_echo_n "checking for $ac_word... " >&6; }
2915 if test "${ac_cv_prog_CC+set}" = set; then :
2916 $as_echo_n "(cached) " >&6
2918 if test -n "$CC"; then
2919 ac_cv_prog_CC="$CC" # Let the user override the test.
2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925 test -z "$as_dir" && as_dir=.
2926 for ac_exec_ext in '' $ac_executable_extensions; do
2927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2928 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
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; }
2948 test -n "$CC" && break
2951 if test -z "$CC"; then
2953 for ac_prog in cl.exe
2955 # Extract the first word of "$ac_prog", so it can be a program name with args.
2956 set dummy $ac_prog; ac_word=$2
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2958 $as_echo_n "checking for $ac_word... " >&6; }
2959 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2960 $as_echo_n "(cached) " >&6
2962 if test -n "$ac_ct_CC"; then
2963 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2969 test -z "$as_dir" && as_dir=.
2970 for ac_exec_ext in '' $ac_executable_extensions; do
2971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2972 ac_cv_prog_ac_ct_CC="$ac_prog"
2973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2983 if test -n "$ac_ct_CC"; then
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2985 $as_echo "$ac_ct_CC" >&6; }
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2988 $as_echo "no" >&6; }
2992 test -n "$ac_ct_CC" && break
2995 if test "x$ac_ct_CC" = x; then
2998 case $cross_compiling:$ac_tool_warned in
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3002 ac_tool_warned=yes ;;
3011 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3013 as_fn_error "no acceptable C compiler found in \$PATH
3014 See \`config.log' for more details." "$LINENO" 5; }
3016 # Provide some information about the compiler.
3017 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3020 for ac_option in --version -v -V -qversion; do
3021 { { ac_try="$ac_compiler $ac_option >&5"
3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3027 $as_echo "$ac_try_echo"; } >&5
3028 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3030 if test -s conftest.err; then
3032 ... rest of stderr output deleted ...
3033 10q' conftest.err >conftest.er1
3034 cat conftest.er1 >&5
3036 rm -f conftest.er1 conftest.err
3037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3038 test $ac_status = 0; }
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3052 ac_clean_files_save=$ac_clean_files
3053 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3054 # Try to create an executable without -o first, disregard a.out.
3055 # It will help us diagnose broken compilers, and finding out an intuition
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3058 $as_echo_n "checking whether the C compiler works... " >&6; }
3059 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3061 # The possible output files:
3062 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3065 for ac_file in $ac_files
3068 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3069 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3074 if { { ac_try="$ac_link_default"
3076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3077 *) ac_try_echo=$ac_try;;
3079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3080 $as_echo "$ac_try_echo"; } >&5
3081 (eval "$ac_link_default") 2>&5
3083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3084 test $ac_status = 0; }; then :
3085 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3086 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3087 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3088 # so that the user can short-circuit this test for compilers unknown to
3090 for ac_file in $ac_files ''
3092 test -f "$ac_file" || continue
3094 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3097 # We found the default executable, but exeext='' is most
3101 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3103 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3105 # We set ac_cv_exeext here because the later test for it is not
3106 # safe: cross compilers may not add the suffix if given an `-o'
3107 # argument, so we may need to know it at that point already.
3108 # Even if this section looks crufty: it has the advantage of
3115 test "$ac_cv_exeext" = no && ac_cv_exeext=
3120 if test -z "$ac_file"; then :
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122 $as_echo "no" >&6; }
3123 $as_echo "$as_me: failed program was:" >&5
3124 sed 's/^/| /' conftest.$ac_ext >&5
3126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3128 { as_fn_set_status 77
3129 as_fn_error "C compiler cannot create executables
3130 See \`config.log' for more details." "$LINENO" 5; }; }
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3133 $as_echo "yes" >&6; }
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3136 $as_echo_n "checking for C compiler default output file name... " >&6; }
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3138 $as_echo "$ac_file" >&6; }
3139 ac_exeext=$ac_cv_exeext
3141 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3142 ac_clean_files=$ac_clean_files_save
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3144 $as_echo_n "checking for suffix of executables... " >&6; }
3145 if { { ac_try="$ac_link"
3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148 *) ac_try_echo=$ac_try;;
3150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3151 $as_echo "$ac_try_echo"; } >&5
3152 (eval "$ac_link") 2>&5
3154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3155 test $ac_status = 0; }; then :
3156 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3157 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3158 # work properly (i.e., refer to `conftest.exe'), while it won't with
3160 for ac_file in conftest.exe conftest conftest.*; do
3161 test -f "$ac_file" || continue
3163 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3164 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3172 as_fn_error "cannot compute suffix of executables: cannot compile and link
3173 See \`config.log' for more details." "$LINENO" 5; }
3175 rm -f conftest conftest$ac_cv_exeext
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3177 $as_echo "$ac_cv_exeext" >&6; }
3179 rm -f conftest.$ac_ext
3180 EXEEXT=$ac_cv_exeext
3182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3183 /* end confdefs.h. */
3188 FILE *f = fopen ("conftest.out", "w");
3189 return ferror (f) || fclose (f) != 0;
3195 ac_clean_files="$ac_clean_files conftest.out"
3196 # Check that the compiler produces executables we can run. If not, either
3197 # the compiler is broken, or we cross compile.
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3199 $as_echo_n "checking whether we are cross compiling... " >&6; }
3200 if test "$cross_compiling" != yes; then
3201 { { ac_try="$ac_link"
3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204 *) ac_try_echo=$ac_try;;
3206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207 $as_echo "$ac_try_echo"; } >&5
3208 (eval "$ac_link") 2>&5
3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211 test $ac_status = 0; }
3212 if { ac_try='./conftest$ac_cv_exeext'
3213 { { case "(($ac_try" in
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218 $as_echo "$ac_try_echo"; } >&5
3219 (eval "$ac_try") 2>&5
3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222 test $ac_status = 0; }; }; then
3225 if test "$cross_compiling" = maybe; then
3228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3230 as_fn_error "cannot run C compiled programs.
3231 If you meant to cross compile, use \`--host'.
3232 See \`config.log' for more details." "$LINENO" 5; }
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3237 $as_echo "$cross_compiling" >&6; }
3239 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3240 ac_clean_files=$ac_clean_files_save
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3242 $as_echo_n "checking for suffix of object files... " >&6; }
3243 if test "${ac_cv_objext+set}" = set; then :
3244 $as_echo_n "(cached) " >&6
3246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3247 /* end confdefs.h. */
3257 rm -f conftest.o conftest.obj
3258 if { { ac_try="$ac_compile"
3260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261 *) ac_try_echo=$ac_try;;
3263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3264 $as_echo "$ac_try_echo"; } >&5
3265 (eval "$ac_compile") 2>&5
3267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268 test $ac_status = 0; }; then :
3269 for ac_file in conftest.o conftest.obj conftest.*; do
3270 test -f "$ac_file" || continue;
3272 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3273 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3278 $as_echo "$as_me: failed program was:" >&5
3279 sed 's/^/| /' conftest.$ac_ext >&5
3281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3283 as_fn_error "cannot compute suffix of object files: cannot compile
3284 See \`config.log' for more details." "$LINENO" 5; }
3286 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3289 $as_echo "$ac_cv_objext" >&6; }
3290 OBJEXT=$ac_cv_objext
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3293 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3294 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3295 $as_echo_n "(cached) " >&6
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3311 if ac_fn_c_try_compile "$LINENO"; then :
3316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3321 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3322 if test $ac_compiler_gnu = yes; then
3327 ac_test_CFLAGS=${CFLAGS+set}
3328 ac_save_CFLAGS=$CFLAGS
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3330 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3331 if test "${ac_cv_prog_cc_g+set}" = set; then :
3332 $as_echo_n "(cached) " >&6
3334 ac_save_c_werror_flag=$ac_c_werror_flag
3335 ac_c_werror_flag=yes
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3349 if ac_fn_c_try_compile "$LINENO"; then :
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3364 if ac_fn_c_try_compile "$LINENO"; then :
3367 ac_c_werror_flag=$ac_save_c_werror_flag
3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370 /* end confdefs.h. */
3380 if ac_fn_c_try_compile "$LINENO"; then :
3383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3388 ac_c_werror_flag=$ac_save_c_werror_flag
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3391 $as_echo "$ac_cv_prog_cc_g" >&6; }
3392 if test "$ac_test_CFLAGS" = set; then
3393 CFLAGS=$ac_save_CFLAGS
3394 elif test $ac_cv_prog_cc_g = yes; then
3395 if test "$GCC" = yes; then
3401 if test "$GCC" = yes; then
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3408 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3409 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3410 $as_echo_n "(cached) " >&6
3412 ac_cv_prog_cc_c89=no
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3418 #include <sys/types.h>
3419 #include <sys/stat.h>
3420 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3421 struct buf { int x; };
3422 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3423 static char *e (p, i)
3429 static char *f (char * (*g) (char **, int), char **p, ...)
3434 s = g (p, va_arg (v,int));
3439 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3440 function prototypes and stuff, but not '\xHH' hex character constants.
3441 These don't provoke an error unfortunately, instead are silently treated
3442 as 'x'. The following induces an error, until -std is added to get
3443 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3444 array size at least. It's necessary to write '\x00'==0 to get something
3445 that's true only with -std. */
3446 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3448 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3449 inside strings and character constants. */
3451 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3453 int test (int i, double x);
3454 struct s1 {int (*f) (int a);};
3455 struct s2 {int (*f) (double a);};
3456 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3462 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3467 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3468 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3470 CC="$ac_save_CC $ac_arg"
3471 if ac_fn_c_try_compile "$LINENO"; then :
3472 ac_cv_prog_cc_c89=$ac_arg
3474 rm -f core conftest.err conftest.$ac_objext
3475 test "x$ac_cv_prog_cc_c89" != "xno" && break
3477 rm -f conftest.$ac_ext
3482 case "x$ac_cv_prog_cc_c89" in
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3485 $as_echo "none needed" >&6; } ;;
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3488 $as_echo "unsupported" >&6; } ;;
3490 CC="$CC $ac_cv_prog_cc_c89"
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3492 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3494 if test "x$ac_cv_prog_cc_c89" != xno; then :
3499 ac_cpp='$CPP $CPPFLAGS'
3500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3504 depcc="$CC" am_compiler_list=
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3507 $as_echo_n "checking dependency style of $depcc... " >&6; }
3508 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3509 $as_echo_n "(cached) " >&6
3511 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3512 # We make a subdir and do the tests there. Otherwise we can end up
3513 # making bogus files that we don't know about and never remove. For
3514 # instance it was reported that on HP-UX the gcc test will end up
3515 # making a dummy file named `D' -- because `-MD' means `put the output
3518 # Copy depcomp to subdir because otherwise we won't find it if we're
3519 # using a relative directory.
3520 cp "$am_depcomp" conftest.dir
3522 # We will build objects and dependencies in a subdirectory because
3523 # it helps to detect inapplicable dependency modes. For instance
3524 # both Tru64's cc and ICC support -MD to output dependencies as a
3525 # side effect of compilation, but ICC will put the dependencies in
3526 # the current directory while Tru64 will put them in the object
3530 am_cv_CC_dependencies_compiler_type=none
3531 if test "$am_compiler_list" = ""; then
3532 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3535 case " $depcc " in #(
3536 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3539 for depmode in $am_compiler_list; do
3540 # Setup a source with many dependencies, because some compilers
3541 # like to wrap large dependency lists on column 80 (with \), and
3542 # we should not choose a depcomp mode which is confused by this.
3544 # We need to recreate these files for each test, as the compiler may
3545 # overwrite some of them when testing with obscure command lines.
3546 # This happens at least with the AIX C compiler.
3548 for i in 1 2 3 4 5 6; do
3549 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3550 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3551 # Solaris 8's {/usr,}/bin/sh.
3552 touch sub/conftst$i.h
3554 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3556 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3557 # mode. It turns out that the SunPro C++ compiler does not properly
3558 # handle `-M -o', and we need to detect this. Also, some Intel
3559 # versions had trouble with output in subdirs
3560 am__obj=sub/conftest.${OBJEXT-o}
3561 am__minus_obj="-o $am__obj"
3564 # This depmode causes a compiler race in universal mode.
3565 test "$am__universal" = false || continue
3568 # after this tag, mechanisms are not by side-effect, so they'll
3569 # only be used when explicitly requested
3570 if test "x$enable_dependency_tracking" = xyes; then
3576 msvisualcpp | msvcmsys)
3577 # This compiler won't grok `-c -o', but also, the minuso test has
3578 # not run yet. These depmodes are late enough in the game, and
3579 # so weak that their functioning should not be impacted.
3580 am__obj=conftest.${OBJEXT-o}
3585 if depmode=$depmode \
3586 source=sub/conftest.c object=$am__obj \
3587 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3588 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3589 >/dev/null 2>conftest.err &&
3590 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3591 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3592 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3593 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3594 # icc doesn't choke on unknown options, it will just issue warnings
3595 # or remarks (even with -Werror). So we grep stderr for any message
3596 # that says an option was ignored or not supported.
3597 # When given -MP, icc 7.0 and 7.1 complain thusly:
3598 # icc: Command line warning: ignoring option '-M'; no argument required
3599 # The diagnosis changed in icc 8.0:
3600 # icc: Command line remark: option '-MP' not supported
3601 if (grep 'ignoring option' conftest.err ||
3602 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3603 am_cv_CC_dependencies_compiler_type=$depmode
3612 am_cv_CC_dependencies_compiler_type=none
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3617 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3618 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3621 test "x$enable_dependency_tracking" != xno \
3622 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3624 am__fastdepCC_FALSE='#'
3626 am__fastdepCC_TRUE='#'
3627 am__fastdepCC_FALSE=
3632 ac_cpp='$CPP $CPPFLAGS'
3633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3637 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3638 # On Suns, sometimes $CPP names a directory.
3639 if test -n "$CPP" && test -d "$CPP"; then
3642 if test -z "$CPP"; then
3643 if test "${ac_cv_prog_CPP+set}" = set; then :
3644 $as_echo_n "(cached) " >&6
3646 # Double quotes because CPP needs to be expanded
3647 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3650 for ac_c_preproc_warn_flag in '' yes
3652 # Use a header file that comes with gcc, so configuring glibc
3653 # with a fresh cross-compiler works.
3654 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3655 # <limits.h> exists even on freestanding compilers.
3656 # On the NeXT, cc -E runs the code through the compiler's parser,
3657 # not just through cpp. "Syntax error" is here to catch this case.
3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659 /* end confdefs.h. */
3661 # include <limits.h>
3663 # include <assert.h>
3667 if ac_fn_c_try_cpp "$LINENO"; then :
3670 # Broken: fails on valid input.
3673 rm -f conftest.err conftest.$ac_ext
3675 # OK, works on sane cases. Now check whether nonexistent headers
3676 # can be detected and how.
3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3679 #include <ac_nonexistent.h>
3681 if ac_fn_c_try_cpp "$LINENO"; then :
3682 # Broken: success on invalid input.
3685 # Passes both tests.
3689 rm -f conftest.err conftest.$ac_ext
3692 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3693 rm -f conftest.err conftest.$ac_ext
3694 if $ac_preproc_ok; then :
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3707 $as_echo "$CPP" >&6; }
3709 for ac_c_preproc_warn_flag in '' yes
3711 # Use a header file that comes with gcc, so configuring glibc
3712 # with a fresh cross-compiler works.
3713 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3714 # <limits.h> exists even on freestanding compilers.
3715 # On the NeXT, cc -E runs the code through the compiler's parser,
3716 # not just through cpp. "Syntax error" is here to catch this case.
3717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h. */
3720 # include <limits.h>
3722 # include <assert.h>
3726 if ac_fn_c_try_cpp "$LINENO"; then :
3729 # Broken: fails on valid input.
3732 rm -f conftest.err conftest.$ac_ext
3734 # OK, works on sane cases. Now check whether nonexistent headers
3735 # can be detected and how.
3736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h. */
3738 #include <ac_nonexistent.h>
3740 if ac_fn_c_try_cpp "$LINENO"; then :
3741 # Broken: success on invalid input.
3744 # Passes both tests.
3748 rm -f conftest.err conftest.$ac_ext
3751 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3752 rm -f conftest.err conftest.$ac_ext
3753 if $ac_preproc_ok; then :
3756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3758 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3759 See \`config.log' for more details." "$LINENO" 5; }
3763 ac_cpp='$CPP $CPPFLAGS'
3764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3768 # By default we simply use the C compiler to build assembly code.
3770 test "${CCAS+set}" = set || CCAS=$CC
3771 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3775 depcc="$CCAS" am_compiler_list=
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3778 $as_echo_n "checking dependency style of $depcc... " >&6; }
3779 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
3780 $as_echo_n "(cached) " >&6
3782 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3783 # We make a subdir and do the tests there. Otherwise we can end up
3784 # making bogus files that we don't know about and never remove. For
3785 # instance it was reported that on HP-UX the gcc test will end up
3786 # making a dummy file named `D' -- because `-MD' means `put the output
3789 # Copy depcomp to subdir because otherwise we won't find it if we're
3790 # using a relative directory.
3791 cp "$am_depcomp" conftest.dir
3793 # We will build objects and dependencies in a subdirectory because
3794 # it helps to detect inapplicable dependency modes. For instance
3795 # both Tru64's cc and ICC support -MD to output dependencies as a
3796 # side effect of compilation, but ICC will put the dependencies in
3797 # the current directory while Tru64 will put them in the object
3801 am_cv_CCAS_dependencies_compiler_type=none
3802 if test "$am_compiler_list" = ""; then
3803 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3808 for depmode in $am_compiler_list; do
3809 # Setup a source with many dependencies, because some compilers
3810 # like to wrap large dependency lists on column 80 (with \), and
3811 # we should not choose a depcomp mode which is confused by this.
3813 # We need to recreate these files for each test, as the compiler may
3814 # overwrite some of them when testing with obscure command lines.
3815 # This happens at least with the AIX C compiler.
3817 for i in 1 2 3 4 5 6; do
3818 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3819 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3820 # Solaris 8's {/usr,}/bin/sh.
3821 touch sub/conftst$i.h
3823 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3825 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3826 # mode. It turns out that the SunPro C++ compiler does not properly
3827 # handle `-M -o', and we need to detect this. Also, some Intel
3828 # versions had trouble with output in subdirs
3829 am__obj=sub/conftest.${OBJEXT-o}
3830 am__minus_obj="-o $am__obj"
3833 # This depmode causes a compiler race in universal mode.
3834 test "$am__universal" = false || continue
3837 # after this tag, mechanisms are not by side-effect, so they'll
3838 # only be used when explicitly requested
3839 if test "x$enable_dependency_tracking" = xyes; then
3845 msvisualcpp | msvcmsys)
3846 # This compiler won't grok `-c -o', but also, the minuso test has
3847 # not run yet. These depmodes are late enough in the game, and
3848 # so weak that their functioning should not be impacted.
3849 am__obj=conftest.${OBJEXT-o}
3854 if depmode=$depmode \
3855 source=sub/conftest.c object=$am__obj \
3856 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3857 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3858 >/dev/null 2>conftest.err &&
3859 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3860 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3861 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3862 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3863 # icc doesn't choke on unknown options, it will just issue warnings
3864 # or remarks (even with -Werror). So we grep stderr for any message
3865 # that says an option was ignored or not supported.
3866 # When given -MP, icc 7.0 and 7.1 complain thusly:
3867 # icc: Command line warning: ignoring option '-M'; no argument required
3868 # The diagnosis changed in icc 8.0:
3869 # icc: Command line remark: option '-MP' not supported
3870 if (grep 'ignoring option' conftest.err ||
3871 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3872 am_cv_CCAS_dependencies_compiler_type=$depmode
3881 am_cv_CCAS_dependencies_compiler_type=none
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3886 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3887 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
3890 test "x$enable_dependency_tracking" != xno \
3891 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
3892 am__fastdepCCAS_TRUE=
3893 am__fastdepCCAS_FALSE='#'
3895 am__fastdepCCAS_TRUE='#'
3896 am__fastdepCCAS_FALSE=
3900 if test -n "$ac_tool_prefix"; then
3901 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3902 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3904 $as_echo_n "checking for $ac_word... " >&6; }
3905 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3906 $as_echo_n "(cached) " >&6
3908 if test -n "$RANLIB"; then
3909 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 test -z "$as_dir" && as_dir=.
3916 for ac_exec_ext in '' $ac_executable_extensions; do
3917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3918 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3928 RANLIB=$ac_cv_prog_RANLIB
3929 if test -n "$RANLIB"; then
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3931 $as_echo "$RANLIB" >&6; }
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3934 $as_echo "no" >&6; }
3939 if test -z "$ac_cv_prog_RANLIB"; then
3940 ac_ct_RANLIB=$RANLIB
3941 # Extract the first word of "ranlib", so it can be a program name with args.
3942 set dummy ranlib; ac_word=$2
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3944 $as_echo_n "checking for $ac_word... " >&6; }
3945 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3946 $as_echo_n "(cached) " >&6
3948 if test -n "$ac_ct_RANLIB"; then
3949 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3955 test -z "$as_dir" && as_dir=.
3956 for ac_exec_ext in '' $ac_executable_extensions; do
3957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3958 ac_cv_prog_ac_ct_RANLIB="ranlib"
3959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3968 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3969 if test -n "$ac_ct_RANLIB"; then
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3971 $as_echo "$ac_ct_RANLIB" >&6; }
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3974 $as_echo "no" >&6; }
3977 if test "x$ac_ct_RANLIB" = x; then
3980 case $cross_compiling:$ac_tool_warned in
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3984 ac_tool_warned=yes ;;
3986 RANLIB=$ac_ct_RANLIB
3989 RANLIB="$ac_cv_prog_RANLIB"
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3995 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3996 if test "${ac_cv_path_GREP+set}" = set; then :
3997 $as_echo_n "(cached) " >&6
3999 if test -z "$GREP"; then
4000 ac_path_GREP_found=false
4001 # Loop through the user's path and test for each of PROGNAME-LIST
4002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4006 test -z "$as_dir" && as_dir=.
4007 for ac_prog in grep ggrep; do
4008 for ac_exec_ext in '' $ac_executable_extensions; do
4009 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4010 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4011 # Check for GNU ac_path_GREP and select it if it is found.
4012 # Check for GNU $ac_path_GREP
4013 case `"$ac_path_GREP" --version 2>&1` in
4015 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4018 $as_echo_n 0123456789 >"conftest.in"
4021 cat "conftest.in" "conftest.in" >"conftest.tmp"
4022 mv "conftest.tmp" "conftest.in"
4023 cp "conftest.in" "conftest.nl"
4024 $as_echo 'GREP' >> "conftest.nl"
4025 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4026 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4027 as_fn_arith $ac_count + 1 && ac_count=$as_val
4028 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4029 # Best one so far, save it but keep looking for a better one
4030 ac_cv_path_GREP="$ac_path_GREP"
4031 ac_path_GREP_max=$ac_count
4033 # 10*(2^10) chars as input seems more than enough
4034 test $ac_count -gt 10 && break
4036 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4039 $ac_path_GREP_found && break 3
4044 if test -z "$ac_cv_path_GREP"; then
4045 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4048 ac_cv_path_GREP=$GREP
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4053 $as_echo "$ac_cv_path_GREP" >&6; }
4054 GREP="$ac_cv_path_GREP"
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4058 $as_echo_n "checking for egrep... " >&6; }
4059 if test "${ac_cv_path_EGREP+set}" = set; then :
4060 $as_echo_n "(cached) " >&6
4062 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4063 then ac_cv_path_EGREP="$GREP -E"
4065 if test -z "$EGREP"; then
4066 ac_path_EGREP_found=false
4067 # Loop through the user's path and test for each of PROGNAME-LIST
4068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4072 test -z "$as_dir" && as_dir=.
4073 for ac_prog in egrep; do
4074 for ac_exec_ext in '' $ac_executable_extensions; do
4075 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4076 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4077 # Check for GNU ac_path_EGREP and select it if it is found.
4078 # Check for GNU $ac_path_EGREP
4079 case `"$ac_path_EGREP" --version 2>&1` in
4081 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4084 $as_echo_n 0123456789 >"conftest.in"
4087 cat "conftest.in" "conftest.in" >"conftest.tmp"
4088 mv "conftest.tmp" "conftest.in"
4089 cp "conftest.in" "conftest.nl"
4090 $as_echo 'EGREP' >> "conftest.nl"
4091 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4092 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4093 as_fn_arith $ac_count + 1 && ac_count=$as_val
4094 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4095 # Best one so far, save it but keep looking for a better one
4096 ac_cv_path_EGREP="$ac_path_EGREP"
4097 ac_path_EGREP_max=$ac_count
4099 # 10*(2^10) chars as input seems more than enough
4100 test $ac_count -gt 10 && break
4102 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4105 $ac_path_EGREP_found && break 3
4110 if test -z "$ac_cv_path_EGREP"; then
4111 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4114 ac_cv_path_EGREP=$EGREP
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4120 $as_echo "$ac_cv_path_EGREP" >&6; }
4121 EGREP="$ac_cv_path_EGREP"
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4125 $as_echo_n "checking for ANSI C header files... " >&6; }
4126 if test "${ac_cv_header_stdc+set}" = set; then :
4127 $as_echo_n "(cached) " >&6
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4144 if ac_fn_c_try_compile "$LINENO"; then :
4145 ac_cv_header_stdc=yes
4147 ac_cv_header_stdc=no
4149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151 if test $ac_cv_header_stdc = yes; then
4152 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4159 $EGREP "memchr" >/dev/null 2>&1; then :
4162 ac_cv_header_stdc=no
4168 if test $ac_cv_header_stdc = yes; then
4169 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4176 $EGREP "free" >/dev/null 2>&1; then :
4179 ac_cv_header_stdc=no
4185 if test $ac_cv_header_stdc = yes; then
4186 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4187 if test "$cross_compiling" = yes; then :
4190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4191 /* end confdefs.h. */
4194 #if ((' ' & 0x0FF) == 0x020)
4195 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4196 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4198 # define ISLOWER(c) \
4199 (('a' <= (c) && (c) <= 'i') \
4200 || ('j' <= (c) && (c) <= 'r') \
4201 || ('s' <= (c) && (c) <= 'z'))
4202 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4205 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4210 for (i = 0; i < 256; i++)
4211 if (XOR (islower (i), ISLOWER (i))
4212 || toupper (i) != TOUPPER (i))
4217 if ac_fn_c_try_run "$LINENO"; then :
4220 ac_cv_header_stdc=no
4222 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4223 conftest.$ac_objext conftest.beam conftest.$ac_ext
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4229 $as_echo "$ac_cv_header_stdc" >&6; }
4230 if test $ac_cv_header_stdc = yes; then
4232 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4236 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4237 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4238 inttypes.h stdint.h unistd.h
4240 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4241 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4243 eval as_val=\$$as_ac_Header
4244 if test "x$as_val" = x""yes; then :
4245 cat >>confdefs.h <<_ACEOF
4246 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4258 # Check whether --enable-usrp2-firmware was given.
4259 if test "${enable_usrp2_firmware+set}" = set; then :
4260 enableval=$enable_usrp2_firmware;
4263 enable_usrp2_firmware=$enable_all_components
4264 if test x$enable_all_components = xno; then
4274 if test $passed != no; then
4275 if test $passed = yes; then
4276 if test x$usrp2_skipped = xyes; then
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2-firmware requires usrp2, which is not being built or specified via pre-installed files." >&5
4278 $as_echo "Component usrp2-firmware requires usrp2, which is not being built or specified via pre-installed files." >&6; }
4282 if test x$usrp2_with = xno; then
4283 as_fn_error "Component usrp2-firmware requires usrp2 to be included as --with-usrp2-firmware[=arg]" "$LINENO" 5
4295 for ac_header in arpa/inet.h netinet/in.h byteswap.h
4297 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4298 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4299 eval as_val=\$$as_ac_Header
4300 if test "x$as_val" = x""yes; then :
4301 cat >>confdefs.h <<_ACEOF
4302 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4310 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4311 if test "${ac_cv_c_bigendian+set}" = set; then :
4312 $as_echo_n "(cached) " >&6
4314 ac_cv_c_bigendian=unknown
4315 # See if we're dealing with a universal compiler.
4316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317 /* end confdefs.h. */
4318 #ifndef __APPLE_CC__
4319 not a universal capable compiler
4324 if ac_fn_c_try_compile "$LINENO"; then :
4326 # Check for potential -arch flags. It is not universal unless
4327 # there are at least two -arch flags with different values.
4330 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4331 if test -n "$ac_prev"; then
4333 i?86 | x86_64 | ppc | ppc64)
4334 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4337 ac_cv_c_bigendian=universal
4343 elif test "x$ac_word" = "x-arch"; then
4348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4349 if test $ac_cv_c_bigendian = unknown; then
4350 # See if sys/param.h defines the BYTE_ORDER macro.
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4353 #include <sys/types.h>
4354 #include <sys/param.h>
4359 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4360 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4369 if ac_fn_c_try_compile "$LINENO"; then :
4370 # It does; now see whether it defined to BIG_ENDIAN or not.
4371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4372 /* end confdefs.h. */
4373 #include <sys/types.h>
4374 #include <sys/param.h>
4379 #if BYTE_ORDER != BIG_ENDIAN
4387 if ac_fn_c_try_compile "$LINENO"; then :
4388 ac_cv_c_bigendian=yes
4390 ac_cv_c_bigendian=no
4392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4396 if test $ac_cv_c_bigendian = unknown; then
4397 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4399 /* end confdefs.h. */
4405 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4413 if ac_fn_c_try_compile "$LINENO"; then :
4414 # It does; now see whether it defined to _BIG_ENDIAN or not.
4415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4430 if ac_fn_c_try_compile "$LINENO"; then :
4431 ac_cv_c_bigendian=yes
4433 ac_cv_c_bigendian=no
4435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4439 if test $ac_cv_c_bigendian = unknown; then
4440 # Compile a test program.
4441 if test "$cross_compiling" = yes; then :
4442 # Try to guess by grepping values from an object file.
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4445 short int ascii_mm[] =
4446 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4447 short int ascii_ii[] =
4448 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4449 int use_ascii (int i) {
4450 return ascii_mm[i] + ascii_ii[i];
4452 short int ebcdic_ii[] =
4453 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4454 short int ebcdic_mm[] =
4455 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4456 int use_ebcdic (int i) {
4457 return ebcdic_mm[i] + ebcdic_ii[i];
4464 return use_ascii (foo) == use_ebcdic (foo);
4469 if ac_fn_c_try_compile "$LINENO"; then :
4470 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4471 ac_cv_c_bigendian=yes
4473 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4474 if test "$ac_cv_c_bigendian" = unknown; then
4475 ac_cv_c_bigendian=no
4477 # finding both strings is unlikely to happen, but who knows?
4478 ac_cv_c_bigendian=unknown
4482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h. */
4486 $ac_includes_default
4491 /* Are we little or big endian? From Harbison&Steele. */
4495 char c[sizeof (long int)];
4498 return u.c[sizeof (long int) - 1] == 1;
4504 if ac_fn_c_try_run "$LINENO"; then :
4505 ac_cv_c_bigendian=no
4507 ac_cv_c_bigendian=yes
4509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4510 conftest.$ac_objext conftest.beam conftest.$ac_ext
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4516 $as_echo "$ac_cv_c_bigendian" >&6; }
4517 case $ac_cv_c_bigendian in #(
4519 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4525 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4529 as_fn_error "unknown endianness
4530 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4534 if test $passed = yes; then
4536 # Extract the first word of "mb-gcc", so it can be a program name with args.
4537 set dummy mb-gcc; ac_word=$2
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4539 $as_echo_n "checking for $ac_word... " >&6; }
4540 if test "${ac_cv_prog_MB_GCC+set}" = set; then :
4541 $as_echo_n "(cached) " >&6
4543 if test -n "$MB_GCC"; then
4544 ac_cv_prog_MB_GCC="$MB_GCC" # Let the user override the test.
4546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4550 test -z "$as_dir" && as_dir=.
4551 for ac_exec_ext in '' $ac_executable_extensions; do
4552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4553 ac_cv_prog_MB_GCC="yes"
4554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 test -z "$ac_cv_prog_MB_GCC" && ac_cv_prog_MB_GCC="no"
4564 MB_GCC=$ac_cv_prog_MB_GCC
4565 if test -n "$MB_GCC"; then
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MB_GCC" >&5
4567 $as_echo "$MB_GCC" >&6; }
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4570 $as_echo "no" >&6; }
4574 if test $MB_GCC = no; then
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: usrp2 firmware requires mb-gcc. Not found" >&5
4576 $as_echo "usrp2 firmware requires mb-gcc. Not found" >&6; }
4580 if test $passed != with; then
4585 ac_config_files="$ac_config_files apps/Makefile include/Makefile lib/Makefile"
4588 if test $passed = yes && test "$enable_usrp2_firmware" != no; then
4589 BUILDING_USRP2_FIRMWARE_TRUE=
4590 BUILDING_USRP2_FIRMWARE_FALSE='#'
4592 BUILDING_USRP2_FIRMWARE_TRUE='#'
4593 BUILDING_USRP2_FIRMWARE_FALSE=
4599 usrp2_firmware_with=no
4600 if test $passed = no; then
4601 if test x$enable_usrp2_firmware = xyes; then
4602 as_fn_error "Component usrp2-firmware has errors; stopping." "$LINENO" 5
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component usrp2-firmware." >&5
4605 $as_echo "Not building component usrp2-firmware." >&6; }
4608 if test $passed = with; then
4609 with_dirs="$with_dirs usrp2-firmware"
4611 if test "x${usrp2_firmware_INCLUDES}" != "x"; then
4612 if test "x$with_INCLUDES" = "x"; then
4613 with_INCLUDES="${usrp2_firmware_INCLUDES}"
4615 with_INCLUDES="${usrp2_firmware_INCLUDES}"" ""$with_INCLUDES"
4617 usrp2_firmware_INCLUDES=
4621 if test "x${usrp2_firmware_SWIG_INCLUDES}" != "x"; then
4622 if test "x$with_SWIG_INCLUDES" = "x"; then
4623 with_SWIG_INCLUDES="${usrp2_firmware_SWIG_INCLUDES}"
4625 with_SWIG_INCLUDES="${usrp2_firmware_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
4627 usrp2_firmware_SWIG_INCLUDES=
4631 if test "x${usrp2_firmware_PYDIRPATH}" != "x"; then
4632 if test "x$with_PYDIRPATH" = "x"; then
4633 with_PYDIRPATH="${usrp2_firmware_PYDIRPATH}"
4635 with_PYDIRPATH="${usrp2_firmware_PYDIRPATH}"":""$with_PYDIRPATH"
4637 usrp2_firmware_PYDIRPATH=
4641 if test "x${usrp2_firmware_SWIGDIRPATH}" != "x"; then
4642 if test "x$with_SWIGDIRPATH" = "x"; then
4643 with_SWIGDIRPATH="${usrp2_firmware_SWIGDIRPATH}"
4645 with_SWIGDIRPATH="${usrp2_firmware_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
4647 usrp2_firmware_SWIGDIRPATH=
4651 if test "x${usrp2_firmware_LIBDIRPATH}" != "x"; then
4652 if test "x$with_LIBDIRPATH" = "x"; then
4653 with_LIBDIRPATH="${usrp2_firmware_LIBDIRPATH}"
4655 with_LIBDIRPATH="${usrp2_firmware_LIBDIRPATH}"":""$with_LIBDIRPATH"
4657 usrp2_firmware_LIBDIRPATH=
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2-firmware will be included from a pre-installed library and includes." >&5
4661 $as_echo "Component usrp2-firmware will be included from a pre-installed library and includes." >&6; }
4662 usrp2_firmware_with=yes
4664 usrp2_firmware_LDFLAG=
4665 if test x$enable_usrp2_firmware != xno; then
4667 build_dirs="$build_dirs usrp2-firmware"
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2-firmware passed configuration checks; building." >&5
4669 $as_echo "Component usrp2-firmware passed configuration checks; building." >&6; }
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2-firmware passed configuration checks; but not building." >&5
4673 $as_echo "Component usrp2-firmware passed configuration checks; but not building." >&6; }
4677 if test $passed = no; then
4678 skipped_dirs="$skipped_dirs usrp2-firmware"
4679 usrp2_firmware_skipped=yes
4681 usrp2_firmware_skipped=no
4693 # Each component is now either to be built, was skipped, will be
4694 # included from pre-installed libraries and includes, or failed
4696 build_dirs=$build_dirs
4698 skipped_dirs=$skipped_dirs
4700 with_dirs=$with_dirs
4703 # fix for older autotools that don't define "abs_top_YYY" by default
4707 # 'with' variables - the pre-installed libraries, includes, and paths
4708 # - must always come last in the lists, so they require special
4716 ac_config_files="$ac_config_files Makefile config/Makefile"
4719 cat >confcache <<\_ACEOF
4720 # This file is a shell script that caches the results of configure
4721 # tests run on this system so they can be shared between configure
4722 # scripts and configure runs, see configure's option --config-cache.
4723 # It is not useful on other systems. If it contains results you don't
4724 # want to keep, you may remove or edit it.
4726 # config.status only pays attention to the cache file if you give it
4727 # the --recheck option to rerun configure.
4729 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4730 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4735 # The following way of writing the cache mishandles newlines in values,
4736 # but we know of no workaround that is simple, portable, and efficient.
4737 # So, we kill variables containing newlines.
4738 # Ultrix sh set writes to stderr and can't be redirected directly,
4739 # and sets the high bit in the cache file unless we assign to the vars.
4741 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4742 eval ac_val=\$$ac_var
4746 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4747 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4750 _ | IFS | as_nl) ;; #(
4751 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4752 *) { eval $ac_var=; unset $ac_var;} ;;
4758 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4759 *${as_nl}ac_space=\ *)
4760 # `set' does not quote correctly, so add quotes: double-quote
4761 # substitution turns \\\\ into \\, and sed turns \\ into \.
4764 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4767 # `set' quotes correctly as required by POSIX, so do not add quotes.
4768 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4777 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4779 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4781 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4782 if test -w "$cache_file"; then
4783 test "x$cache_file" != "x/dev/null" &&
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4785 $as_echo "$as_me: updating cache $cache_file" >&6;}
4786 cat confcache >$cache_file
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4789 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4794 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4795 # Let make expand exec_prefix.
4796 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4798 DEFS=-DHAVE_CONFIG_H
4802 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4803 # 1. Remove the extension, and $U if already installed.
4804 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4805 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4806 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4807 # will be set to the directory where LIBOBJS objects are built.
4808 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4809 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4813 LTLIBOBJS=$ac_ltlibobjs
4816 if test -n "$EXEEXT"; then
4818 am__EXEEXT_FALSE='#'
4824 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4825 as_fn_error "conditional \"AMDEP\" was never defined.
4826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4828 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4829 as_fn_error "conditional \"am__fastdepCC\" was never defined.
4830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4832 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
4833 as_fn_error "conditional \"am__fastdepCCAS\" was never defined.
4834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4837 if test -z "${BUILDING_USRP2_FIRMWARE_TRUE}" && test -z "${BUILDING_USRP2_FIRMWARE_FALSE}"; then
4838 as_fn_error "conditional \"BUILDING_USRP2_FIRMWARE\" was never defined.
4839 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4842 : ${CONFIG_STATUS=./config.status}
4844 ac_clean_files_save=$ac_clean_files
4845 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4847 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4849 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4851 # Generated by $as_me.
4852 # Run this file to recreate the current configuration.
4853 # Compiler output produced by configure, useful for debugging
4854 # configure, is in config.log if it exists.
4860 SHELL=\${CONFIG_SHELL-$SHELL}
4863 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4864 ## -------------------- ##
4865 ## M4sh Initialization. ##
4866 ## -------------------- ##
4868 # Be more Bourne compatible
4869 DUALCASE=1; export DUALCASE # for MKS sh
4870 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4873 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4874 # is contrary to our usage. Disable this feature.
4875 alias -g '${1+"$@"}'='"$@"'
4876 setopt NO_GLOB_SUBST
4878 case `(set -o) 2>/dev/null` in #(
4890 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4891 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4892 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4893 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4894 # Prefer a ksh shell builtin over an external printf program on Solaris,
4895 # but without wasting forks for bash or zsh.
4896 if test -z "$BASH_VERSION$ZSH_VERSION" \
4897 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4898 as_echo='print -r --'
4899 as_echo_n='print -rn --'
4900 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4901 as_echo='printf %s\n'
4902 as_echo_n='printf %s'
4904 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4905 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4906 as_echo_n='/usr/ucb/echo -n'
4908 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4909 as_echo_n_body='eval
4913 expr "X$arg" : "X\\(.*\\)$as_nl";
4914 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4916 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4918 export as_echo_n_body
4919 as_echo_n='sh -c $as_echo_n_body as_echo'
4922 as_echo='sh -c $as_echo_body as_echo'
4925 # The user is always right.
4926 if test "${PATH_SEPARATOR+set}" != set; then
4928 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4929 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4936 # We need space, tab and new line, in precisely that order. Quoting is
4937 # there to prevent editors from complaining about space-tab.
4938 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4939 # splitting by setting IFS to empty value.)
4942 # Find who we are. Look in the path if we contain no directory separator.
4944 *[\\/]* ) as_myself=$0 ;;
4945 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4949 test -z "$as_dir" && as_dir=.
4950 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4956 # We did not find ourselves, most probably we were run as `sh COMMAND'
4957 # in which case we are not to be found in the path.
4958 if test "x$as_myself" = x; then
4961 if test ! -f "$as_myself"; then
4962 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4966 # Unset variables that we do not need and which cause bugs (e.g. in
4967 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4968 # suppresses any "Segmentation fault" message there. '((' could
4969 # trigger a bug in pdksh 5.2.14.
4970 for as_var in BASH_ENV ENV MAIL MAILPATH
4971 do eval test x\${$as_var+set} = xset \
4972 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4985 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4988 # as_fn_error ERROR [LINENO LOG_FD]
4989 # ---------------------------------
4990 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4991 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4992 # script with status $?, using 1 if that was 0.
4995 as_status=$?; test $as_status -eq 0 && as_status=1
4997 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4998 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5000 $as_echo "$as_me: error: $1" >&2
5001 as_fn_exit $as_status
5005 # as_fn_set_status STATUS
5006 # -----------------------
5007 # Set $? to STATUS, without forking.
5011 } # as_fn_set_status
5015 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5025 # Portably unset VAR.
5028 { eval $1=; unset $1;}
5030 as_unset=as_fn_unset
5031 # as_fn_append VAR VALUE
5032 # ----------------------
5033 # Append the text in VALUE to the end of the definition contained in VAR. Take
5034 # advantage of any shell optimizations that allow amortized linear growth over
5035 # repeated appends, instead of the typical quadratic growth present in naive
5037 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5038 eval 'as_fn_append ()
5049 # as_fn_arith ARG...
5050 # ------------------
5051 # Perform arithmetic evaluation on the ARGs, and store the result in the
5052 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5053 # must be portable across $(()) and expr.
5054 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5055 eval 'as_fn_arith ()
5062 as_val=`expr "$@" || test $? -eq 1`
5067 if expr a : '\(a\)' >/dev/null 2>&1 &&
5068 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5074 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5075 as_basename=basename
5080 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5086 as_me=`$as_basename -- "$0" ||
5087 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5088 X"$0" : 'X\(//\)$' \| \
5089 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5091 sed '/^.*\/\([^/][^/]*\)\/*$/{
5105 # Avoid depending upon Character Ranges.
5106 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5107 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5108 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5109 as_cr_digits='0123456789'
5110 as_cr_alnum=$as_cr_Letters$as_cr_digits
5112 ECHO_C= ECHO_N= ECHO_T=
5113 case `echo -n x` in #(((((
5115 case `echo 'xy\c'` in
5116 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5118 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5125 rm -f conf$$ conf$$.exe conf$$.file
5126 if test -d conf$$.dir; then
5127 rm -f conf$$.dir/conf$$.file
5130 mkdir conf$$.dir 2>/dev/null
5132 if (echo >conf$$.file) 2>/dev/null; then
5133 if ln -s conf$$.file conf$$ 2>/dev/null; then
5135 # ... but there are two gotchas:
5136 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5137 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5138 # In both cases, we have to default to `cp -p'.
5139 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5141 elif ln conf$$.file conf$$ 2>/dev/null; then
5149 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5150 rmdir conf$$.dir 2>/dev/null
5155 # Create "$as_dir" as a directory, including parents if necessary.
5160 -*) as_dir=./$as_dir;;
5162 test -d "$as_dir" || eval $as_mkdir_p || {
5166 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5167 *) as_qdir=$as_dir;;
5169 as_dirs="'$as_qdir' $as_dirs"
5170 as_dir=`$as_dirname -- "$as_dir" ||
5171 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5172 X"$as_dir" : 'X\(//\)[^/]' \| \
5173 X"$as_dir" : 'X\(//\)$' \| \
5174 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5175 $as_echo X"$as_dir" |
5176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5193 test -d "$as_dir" && break
5195 test -z "$as_dirs" || eval "mkdir $as_dirs"
5196 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5200 if mkdir -p . 2>/dev/null; then
5201 as_mkdir_p='mkdir -p "$as_dir"'
5203 test -d ./-p && rmdir ./-p
5207 if test -x / >/dev/null 2>&1; then
5210 if ls -dL / >/dev/null 2>&1; then
5217 if test -d "$1"; then
5223 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5224 ???[sx]*):;;*)false;;esac;fi
5228 as_executable_p=$as_test_x
5230 # Sed expression to map a string onto a valid CPP name.
5231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5233 # Sed expression to map a string onto a valid variable name.
5234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5238 ## ----------------------------------- ##
5239 ## Main body of $CONFIG_STATUS script. ##
5240 ## ----------------------------------- ##
5242 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5245 # Save the log message, to keep $0 and so on meaningful, and to
5246 # report actual input values of CONFIG_FILES etc. instead of their
5247 # values after options handling.
5249 This file was extended by $as_me, which was
5250 generated by GNU Autoconf 2.65. Invocation command line was
5252 CONFIG_FILES = $CONFIG_FILES
5253 CONFIG_HEADERS = $CONFIG_HEADERS
5254 CONFIG_LINKS = $CONFIG_LINKS
5255 CONFIG_COMMANDS = $CONFIG_COMMANDS
5258 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5263 case $ac_config_files in *"
5264 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5267 case $ac_config_headers in *"
5268 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5273 # Files that config.status was made for.
5274 config_files="$ac_config_files"
5275 config_headers="$ac_config_headers"
5276 config_commands="$ac_config_commands"
5280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5282 \`$as_me' instantiates files and other configuration actions
5283 from templates according to the current configuration. Unless the files
5284 and actions are specified as TAGs, all are instantiated by default.
5286 Usage: $0 [OPTION]... [TAG]...
5288 -h, --help print this help, then exit
5289 -V, --version print version number and configuration settings, then exit
5290 --config print configuration, then exit
5291 -q, --quiet, --silent
5292 do not print progress messages
5293 -d, --debug don't remove temporary files
5294 --recheck update $as_me by reconfiguring in the same conditions
5295 --file=FILE[:TEMPLATE]
5296 instantiate the configuration file FILE
5297 --header=FILE[:TEMPLATE]
5298 instantiate the configuration header FILE
5300 Configuration files:
5303 Configuration headers:
5306 Configuration commands:
5309 Report bugs to the package provider."
5312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5313 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5316 configured by $0, generated by GNU Autoconf 2.65,
5317 with options \\"\$ac_cs_config\\"
5319 Copyright (C) 2009 Free Software Foundation, Inc.
5320 This config.status script is free software; the Free Software Foundation
5321 gives unlimited permission to copy, distribute and modify it."
5328 test -n "\$AWK" || AWK=awk
5331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5332 # The default lists apply if the user does not specify any file.
5338 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5339 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5350 # Handling of the options.
5351 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5353 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5354 $as_echo "$ac_cs_version"; exit ;;
5355 --config | --confi | --conf | --con | --co | --c )
5356 $as_echo "$ac_cs_config"; exit ;;
5357 --debug | --debu | --deb | --de | --d | -d )
5359 --file | --fil | --fi | --f )
5362 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5364 as_fn_append CONFIG_FILES " '$ac_optarg'"
5365 ac_need_defaults=false;;
5366 --header | --heade | --head | --hea )
5369 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5371 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5372 ac_need_defaults=false;;
5374 # Conflict between --help and --header
5375 as_fn_error "ambiguous option: \`$1'
5376 Try \`$0 --help' for more information.";;
5377 --help | --hel | -h )
5378 $as_echo "$ac_cs_usage"; exit ;;
5379 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5380 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5384 -*) as_fn_error "unrecognized option: \`$1'
5385 Try \`$0 --help' for more information." ;;
5387 *) as_fn_append ac_config_targets " $1"
5388 ac_need_defaults=false ;;
5394 ac_configure_extra_args=
5396 if $ac_cs_silent; then
5398 ac_configure_extra_args="$ac_configure_extra_args --silent"
5402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5403 if \$ac_cs_recheck; then
5404 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5406 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5407 CONFIG_SHELL='$SHELL'
5413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5417 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5418 ## Running $as_me. ##
5424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5428 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5434 # Handling of arguments.
5435 for ac_config_target in $ac_config_targets
5437 case $ac_config_target in
5438 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5439 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5440 "apps/Makefile") CONFIG_FILES="$CONFIG_FILES apps/Makefile" ;;
5441 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
5442 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
5443 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5444 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
5446 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5451 # If the user did not use the arguments to specify the items to instantiate,
5452 # then the envvar interface is used. Set only those that are not.
5453 # We use the long form for the default assignment because of an extremely
5454 # bizarre bug on SunOS 4.1.3.
5455 if $ac_need_defaults; then
5456 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5457 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5458 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5461 # Have a temporary directory for convenience. Make it in the build tree
5462 # simply because there is no reason against having it here, and in addition,
5463 # creating and moving files from /tmp can sometimes cause problems.
5464 # Hook for its removal unless debugging.
5465 # Note that there is a small window in which the directory will not be cleaned:
5466 # after its creation but before its name has been assigned to `$tmp'.
5470 trap 'exit_status=$?
5471 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5473 trap 'as_fn_exit 1' 1 2 13 15
5475 # Create a (secure) tmp directory for tmp files.
5478 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5479 test -n "$tmp" && test -d "$tmp"
5482 tmp=./conf$$-$RANDOM
5483 (umask 077 && mkdir "$tmp")
5484 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5486 # Set up the scripts for CONFIG_FILES section.
5487 # No need to generate them if there are no CONFIG_FILES.
5488 # This happens for instance with `./config.status config.h'.
5489 if test -n "$CONFIG_FILES"; then
5492 ac_cr=`echo X | tr X '\015'`
5493 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5494 # But we know of no other shell where ac_cr would be empty at this
5495 # point, so we can use a bashism as a fallback.
5496 if test "x$ac_cr" = x; then
5497 eval ac_cr=\$\'\\r\'
5499 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5500 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5506 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5511 echo "cat >conf$$subs.awk <<_ACEOF" &&
5512 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5515 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5516 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5518 for ac_last_try in false false false false false :; do
5519 . ./conf$$subs.sh ||
5520 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5522 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5523 if test $ac_delim_n = $ac_delim_num; then
5525 elif $ac_last_try; then
5526 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5528 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5534 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5538 s/^/S["/; s/!.*/"]=/
5548 s/\(.\{148\}\)..*/\1/
5550 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5555 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5562 s/\(.\{148\}\)..*/\1/
5564 s/["\\]/\\&/g; s/^/"/; s/$/"/
5568 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5573 ' <conf$$subs.awk | sed '
5578 ' >>$CONFIG_STATUS || ac_write_fail=1
5579 rm -f conf$$subs.awk
5580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5582 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5583 for (key in S) S_is_set[key] = 1
5589 nfields = split(line, field, "@")
5591 len = length(field[1])
5592 for (i = 2; i < nfields; i++) {
5594 keylen = length(key)
5595 if (S_is_set[key]) {
5597 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5598 len += length(value) + length(field[++i])
5609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5610 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5611 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5614 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5615 || as_fn_error "could not setup config files machinery" "$LINENO" 5
5618 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5619 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5620 # trailing colons and then remove the whole line if VPATH becomes empty
5621 # (actually we leave an empty line to preserve line numbers).
5622 if test "x$srcdir" = x.; then
5623 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5627 s/^\([^=]*=[ ]*\):*/\1/
5633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5634 fi # test -n "$CONFIG_FILES"
5636 # Set up the scripts for CONFIG_HEADERS section.
5637 # No need to generate them if there are no CONFIG_HEADERS.
5638 # This happens for instance with `./config.status Makefile'.
5639 if test -n "$CONFIG_HEADERS"; then
5640 cat >"$tmp/defines.awk" <<\_ACAWK ||
5644 # Transform confdefs.h into an awk script `defines.awk', embedded as
5645 # here-document in config.status, that substitutes the proper values into
5646 # config.h.in to produce config.h.
5648 # Create a delimiter string that does not exist in confdefs.h, to ease
5649 # handling of long lines.
5651 for ac_last_try in false false :; do
5652 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5653 if test -z "$ac_t"; then
5655 elif $ac_last_try; then
5656 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5658 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5662 # For the awk script, D is an array of macro values keyed by name,
5663 # likewise P contains macro parameters if any. Preserve backslash
5664 # newline sequences.
5666 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5668 s/.\{148\}/&'"$ac_delim"'/g
5671 s/^[ ]*#[ ]*define[ ][ ]*/ /
5678 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5680 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5684 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5685 D["\1"]=" \3\\\\\\n"\\/p
5687 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5692 s/.\{148\}/&'"$ac_delim"'/g
5697 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5700 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5702 ' <confdefs.h | sed '
5703 s/'"$ac_delim"'/"\\\
5704 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5706 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5707 for (key in D) D_is_set[key] = 1
5710 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5712 split(line, arg, " ")
5713 if (arg[1] == "#") {
5717 defundef = substr(arg[1], 2)
5720 split(mac1, mac2, "(") #)
5722 prefix = substr(line, 1, index(line, defundef) - 1)
5723 if (D_is_set[macro]) {
5724 # Preserve the white space surrounding the "#".
5725 print prefix "define", macro P[macro] D[macro]
5728 # Replace #undef with comments. This is necessary, for example,
5729 # in the case of _POSIX_SOURCE, which is predefined and required
5730 # on some systems where configure will not decide to define it.
5731 if (defundef == "undef") {
5732 print "/*", prefix defundef, macro, "*/"
5740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5741 as_fn_error "could not setup config headers machinery" "$LINENO" 5
5742 fi # test -n "$CONFIG_HEADERS"
5745 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5750 :[FHLC]) ac_mode=$ac_tag; continue;;
5752 case $ac_mode$ac_tag in
5754 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
5755 :[FH]-) ac_tag=-:-;;
5756 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5773 -) ac_f="$tmp/stdin";;
5774 *) # Look for the file first in the build tree, then in the source tree
5775 # (if the path is not absolute). The absolute path cannot be DOS-style,
5776 # because $ac_f cannot contain `:'.
5780 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5782 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5784 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5785 as_fn_append ac_file_inputs " '$ac_f'"
5788 # Let's still pretend it is `configure' which instantiates (i.e., don't
5789 # use $as_me), people would be surprised to read:
5790 # /* config.h. Generated by config.status. */
5791 configure_input='Generated from '`
5792 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5794 if test x"$ac_file" != x-; then
5795 configure_input="$ac_file. $configure_input"
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5797 $as_echo "$as_me: creating $ac_file" >&6;}
5799 # Neutralize special characters interpreted by sed in replacement strings.
5800 case $configure_input in #(
5801 *\&* | *\|* | *\\* )
5802 ac_sed_conf_input=`$as_echo "$configure_input" |
5803 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5804 *) ac_sed_conf_input=$configure_input;;
5808 *:-:* | *:-) cat >"$tmp/stdin" \
5809 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5814 ac_dir=`$as_dirname -- "$ac_file" ||
5815 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5816 X"$ac_file" : 'X\(//\)[^/]' \| \
5817 X"$ac_file" : 'X\(//\)$' \| \
5818 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5819 $as_echo X"$ac_file" |
5820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5837 as_dir="$ac_dir"; as_fn_mkdir_p
5841 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5843 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5844 # A ".." for each directory in $ac_dir_suffix.
5845 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5846 case $ac_top_builddir_sub in
5847 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5848 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5851 ac_abs_top_builddir=$ac_pwd
5852 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5853 # for backward compatibility:
5854 ac_top_builddir=$ac_top_build_prefix
5857 .) # We are building in place.
5859 ac_top_srcdir=$ac_top_builddir_sub
5860 ac_abs_top_srcdir=$ac_pwd ;;
5861 [\\/]* | ?:[\\/]* ) # Absolute name.
5862 ac_srcdir=$srcdir$ac_dir_suffix;
5863 ac_top_srcdir=$srcdir
5864 ac_abs_top_srcdir=$srcdir ;;
5866 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5867 ac_top_srcdir=$ac_top_build_prefix$srcdir
5868 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5870 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5880 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5881 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5885 [\\/$]* | ?:[\\/]* ) ;;
5886 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5891 # If the template does not know about datarootdir, expand it.
5892 # FIXME: This hack should be removed a few years after 2.60.
5893 ac_datarootdir_hack=; ac_datarootdir_seen=
5904 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5905 *datarootdir*) ac_datarootdir_seen=yes;;
5906 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5908 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5911 ac_datarootdir_hack='
5912 s&@datadir@&$datadir&g
5913 s&@docdir@&$docdir&g
5914 s&@infodir@&$infodir&g
5915 s&@localedir@&$localedir&g
5916 s&@mandir@&$mandir&g
5917 s&\\\${datarootdir}&$datarootdir&g' ;;
5921 # Neutralize VPATH when `$srcdir' = `.'.
5922 # Shell code in configure.ac might set extrasub.
5923 # FIXME: do we really want to maintain this feature?
5924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5925 ac_sed_extra="$ac_vpsub
5928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5930 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5931 s|@configure_input@|$ac_sed_conf_input|;t t
5932 s&@top_builddir@&$ac_top_builddir_sub&;t t
5933 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5934 s&@srcdir@&$ac_srcdir&;t t
5935 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5936 s&@top_srcdir@&$ac_top_srcdir&;t t
5937 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5938 s&@builddir@&$ac_builddir&;t t
5939 s&@abs_builddir@&$ac_abs_builddir&;t t
5940 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5941 s&@INSTALL@&$ac_INSTALL&;t t
5942 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5943 $ac_datarootdir_hack
5945 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5946 || as_fn_error "could not create $ac_file" "$LINENO" 5
5948 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5949 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5950 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5952 which seems to be undefined. Please make sure it is defined." >&5
5953 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5954 which seems to be undefined. Please make sure it is defined." >&2;}
5958 -) cat "$tmp/out" && rm -f "$tmp/out";;
5959 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5961 || as_fn_error "could not create $ac_file" "$LINENO" 5
5967 if test x"$ac_file" != x-; then
5969 $as_echo "/* $configure_input */" \
5970 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5971 } >"$tmp/config.h" \
5972 || as_fn_error "could not create $ac_file" "$LINENO" 5
5973 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5975 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5978 mv "$tmp/config.h" "$ac_file" \
5979 || as_fn_error "could not create $ac_file" "$LINENO" 5
5982 $as_echo "/* $configure_input */" \
5983 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5984 || as_fn_error "could not create -" "$LINENO" 5
5986 # Compute "$ac_file"'s index in $config_headers.
5989 for _am_header in $config_headers :; do
5991 $_am_arg | $_am_arg:* )
5994 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5997 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5998 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5999 X"$_am_arg" : 'X\(//\)[^/]' \| \
6000 X"$_am_arg" : 'X\(//\)$' \| \
6001 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6002 $as_echo X"$_am_arg" |
6003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6019 s/.*/./; q'`/stamp-h$_am_stamp_count
6022 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6023 $as_echo "$as_me: executing $ac_file commands" >&6;}
6028 case $ac_file$ac_mode in
6029 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6030 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6031 # are listed without --file. Let's play safe and only enable the eval
6032 # if we detect the quoting.
6033 case $CONFIG_FILES in
6034 *\'*) eval set x "$CONFIG_FILES" ;;
6035 *) set x $CONFIG_FILES ;;
6040 # Strip MF so we end up with the name of the file.
6041 mf=`echo "$mf" | sed -e 's/:.*$//'`
6042 # Check whether this is an Automake generated Makefile or not.
6043 # We used to match only the files named `Makefile.in', but
6044 # some people rename them; so instead we look at the file content.
6045 # Grep'ing the first line is not enough: some people post-process
6046 # each Makefile.in and add a new line on top of each file to say so.
6047 # Grep'ing the whole file is not good either: AIX grep has a line
6048 # limit of 2048, but all sed's we know have understand at least 4000.
6049 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6050 dirpart=`$as_dirname -- "$mf" ||
6051 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6052 X"$mf" : 'X\(//\)[^/]' \| \
6053 X"$mf" : 'X\(//\)$' \| \
6054 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6076 # Extract the definition of DEPDIR, am__include, and am__quote
6077 # from the Makefile without running `make'.
6078 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6079 test -z "$DEPDIR" && continue
6080 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6081 test -z "am__include" && continue
6082 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6083 # When using ansi2knr, U may be empty or an underscore; expand it
6084 U=`sed -n 's/^U = //p' < "$mf"`
6085 # Find all dependency output files, they are included files with
6086 # $(DEPDIR) in their names. We invoke sed twice because it is the
6087 # simplest approach to changing $(DEPDIR) to its actual value in the
6089 for file in `sed -n "
6090 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6091 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6092 # Make sure the directory exists.
6093 test -f "$dirpart/$file" && continue
6094 fdir=`$as_dirname -- "$file" ||
6095 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6096 X"$file" : 'X\(//\)[^/]' \| \
6097 X"$file" : 'X\(//\)$' \| \
6098 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6117 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6118 # echo "creating $dirpart/$file"
6119 echo '# dummy' > "$dirpart/$file"
6131 ac_clean_files=$ac_clean_files_save
6133 test $ac_write_fail = 0 ||
6134 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6137 # configure is writing to config.log, and then calls config.status.
6138 # config.status does its own redirection, appending to config.log.
6139 # Unfortunately, on DOS this fails, as config.log is still kept open
6140 # by configure, so config.status won't be able to write to it; its
6141 # output is simply discarded. So we exec the FD to /dev/null,
6142 # effectively closing config.log, so it can be properly (re)opened and
6143 # appended to by config.status. When coming back to configure, we
6144 # need to make the FD available again.
6145 if test "$no_create" != yes; then
6147 ac_config_status_args=
6148 test "$silent" = yes &&
6149 ac_config_status_args="$ac_config_status_args --quiet"
6151 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6153 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6154 # would make configure fail if this is the last instruction.
6155 $ac_cs_success || as_fn_exit $?
6157 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6159 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6164 # trim usrp2 out of dirs; we only use it as a controlling dependency
6167 for d in $build_dirs
6169 if test $d != usrp2; then
6170 if test -z "$t"; then
6180 for d in $skipped_dirs
6182 if test $d != usrp2; then
6183 if test -z "$t"; then
6195 if test $d != usrp2; then
6196 if test -z "$t"; then
6205 if test "$build_dirs" != ""; then
6207 echo "*********************************************************************"
6208 echo The following GNU Radio components have been successfully configured:
6210 for dir in $build_dirs
6215 echo You my now run the 'make' command to build these components.
6219 if test "$skipped_dirs" != ""; then
6220 echo "*********************************************************************"
6221 echo The following components were skipped either because you asked not
6222 echo to build them or they didn\'t pass configuration checks:
6224 for dir in $skipped_dirs
6229 echo These components will not be built.
6232 if test "$with_dirs" != ""; then
6233 echo "*********************************************************************"
6234 echo The following components will be included from pre-installed
6235 echo libraries and includes:
6237 for dir in $with_dirs
6242 echo These components will not be built.