2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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 STATUS 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=$1; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&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, old GNU/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" : '[^=]*=\(.*\)'` ;;
793 # Accept the important Cygnus configure options, so we can diagnose typos.
795 case $ac_dashdash$ac_option in
799 -bindir | --bindir | --bindi | --bind | --bin | --bi)
801 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
804 -build | --build | --buil | --bui | --bu)
805 ac_prev=build_alias ;;
806 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
807 build_alias=$ac_optarg ;;
809 -cache-file | --cache-file | --cache-fil | --cache-fi \
810 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
811 ac_prev=cache_file ;;
812 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
813 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
814 cache_file=$ac_optarg ;;
817 cache_file=config.cache ;;
819 -datadir | --datadir | --datadi | --datad)
821 -datadir=* | --datadir=* | --datadi=* | --datad=*)
822 datadir=$ac_optarg ;;
824 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
825 | --dataroo | --dataro | --datar)
826 ac_prev=datarootdir ;;
827 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
828 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
829 datarootdir=$ac_optarg ;;
831 -disable-* | --disable-*)
832 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
833 # Reject names that are not valid shell variable names.
834 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
835 as_fn_error $? "invalid feature name: $ac_useropt"
836 ac_useropt_orig=$ac_useropt
837 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
838 case $ac_user_opts in
842 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
843 ac_unrecognized_sep=', ';;
845 eval enable_$ac_useropt=no ;;
847 -docdir | --docdir | --docdi | --doc | --do)
849 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
852 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
854 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
857 -enable-* | --enable-*)
858 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
859 # Reject names that are not valid shell variable names.
860 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
861 as_fn_error $? "invalid feature name: $ac_useropt"
862 ac_useropt_orig=$ac_useropt
863 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
864 case $ac_user_opts in
868 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
869 ac_unrecognized_sep=', ';;
871 eval enable_$ac_useropt=\$ac_optarg ;;
873 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
874 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
875 | --exec | --exe | --ex)
876 ac_prev=exec_prefix ;;
877 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
878 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
879 | --exec=* | --exe=* | --ex=*)
880 exec_prefix=$ac_optarg ;;
882 -gas | --gas | --ga | --g)
883 # Obsolete; use --with-gas.
886 -help | --help | --hel | --he | -h)
888 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
889 ac_init_help=recursive ;;
890 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
891 ac_init_help=short ;;
893 -host | --host | --hos | --ho)
894 ac_prev=host_alias ;;
895 -host=* | --host=* | --hos=* | --ho=*)
896 host_alias=$ac_optarg ;;
898 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
900 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
902 htmldir=$ac_optarg ;;
904 -includedir | --includedir | --includedi | --included | --include \
905 | --includ | --inclu | --incl | --inc)
906 ac_prev=includedir ;;
907 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
908 | --includ=* | --inclu=* | --incl=* | --inc=*)
909 includedir=$ac_optarg ;;
911 -infodir | --infodir | --infodi | --infod | --info | --inf)
913 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
914 infodir=$ac_optarg ;;
916 -libdir | --libdir | --libdi | --libd)
918 -libdir=* | --libdir=* | --libdi=* | --libd=*)
921 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
922 | --libexe | --libex | --libe)
923 ac_prev=libexecdir ;;
924 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
925 | --libexe=* | --libex=* | --libe=*)
926 libexecdir=$ac_optarg ;;
928 -localedir | --localedir | --localedi | --localed | --locale)
930 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
931 localedir=$ac_optarg ;;
933 -localstatedir | --localstatedir | --localstatedi | --localstated \
934 | --localstate | --localstat | --localsta | --localst | --locals)
935 ac_prev=localstatedir ;;
936 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
937 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
938 localstatedir=$ac_optarg ;;
940 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
942 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
946 # Obsolete; use --without-fp.
949 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
950 | --no-cr | --no-c | -n)
953 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
954 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
957 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
958 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
959 | --oldin | --oldi | --old | --ol | --o)
960 ac_prev=oldincludedir ;;
961 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
962 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
963 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
964 oldincludedir=$ac_optarg ;;
966 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
968 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
971 -program-prefix | --program-prefix | --program-prefi | --program-pref \
972 | --program-pre | --program-pr | --program-p)
973 ac_prev=program_prefix ;;
974 -program-prefix=* | --program-prefix=* | --program-prefi=* \
975 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
976 program_prefix=$ac_optarg ;;
978 -program-suffix | --program-suffix | --program-suffi | --program-suff \
979 | --program-suf | --program-su | --program-s)
980 ac_prev=program_suffix ;;
981 -program-suffix=* | --program-suffix=* | --program-suffi=* \
982 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
983 program_suffix=$ac_optarg ;;
985 -program-transform-name | --program-transform-name \
986 | --program-transform-nam | --program-transform-na \
987 | --program-transform-n | --program-transform- \
988 | --program-transform | --program-transfor \
989 | --program-transfo | --program-transf \
990 | --program-trans | --program-tran \
991 | --progr-tra | --program-tr | --program-t)
992 ac_prev=program_transform_name ;;
993 -program-transform-name=* | --program-transform-name=* \
994 | --program-transform-nam=* | --program-transform-na=* \
995 | --program-transform-n=* | --program-transform-=* \
996 | --program-transform=* | --program-transfor=* \
997 | --program-transfo=* | --program-transf=* \
998 | --program-trans=* | --program-tran=* \
999 | --progr-tra=* | --program-tr=* | --program-t=*)
1000 program_transform_name=$ac_optarg ;;
1002 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1004 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1005 pdfdir=$ac_optarg ;;
1007 -psdir | --psdir | --psdi | --psd | --ps)
1009 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1012 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1013 | -silent | --silent | --silen | --sile | --sil)
1016 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1018 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1020 sbindir=$ac_optarg ;;
1022 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1023 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1024 | --sharedst | --shareds | --shared | --share | --shar \
1026 ac_prev=sharedstatedir ;;
1027 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1028 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1029 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1031 sharedstatedir=$ac_optarg ;;
1033 -site | --site | --sit)
1035 -site=* | --site=* | --sit=*)
1038 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1040 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1041 srcdir=$ac_optarg ;;
1043 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1044 | --syscon | --sysco | --sysc | --sys | --sy)
1045 ac_prev=sysconfdir ;;
1046 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1047 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1048 sysconfdir=$ac_optarg ;;
1050 -target | --target | --targe | --targ | --tar | --ta | --t)
1051 ac_prev=target_alias ;;
1052 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1053 target_alias=$ac_optarg ;;
1055 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1058 -version | --version | --versio | --versi | --vers | -V)
1059 ac_init_version=: ;;
1062 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1065 as_fn_error $? "invalid package name: $ac_useropt"
1066 ac_useropt_orig=$ac_useropt
1067 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068 case $ac_user_opts in
1072 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1073 ac_unrecognized_sep=', ';;
1075 eval with_$ac_useropt=\$ac_optarg ;;
1077 -without-* | --without-*)
1078 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1079 # Reject names that are not valid shell variable names.
1080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1081 as_fn_error $? "invalid package name: $ac_useropt"
1082 ac_useropt_orig=$ac_useropt
1083 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1084 case $ac_user_opts in
1088 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1089 ac_unrecognized_sep=', ';;
1091 eval with_$ac_useropt=no ;;
1094 # Obsolete; use --with-x.
1097 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1098 | --x-incl | --x-inc | --x-in | --x-i)
1099 ac_prev=x_includes ;;
1100 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1101 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1102 x_includes=$ac_optarg ;;
1104 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1105 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1106 ac_prev=x_libraries ;;
1107 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1108 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1109 x_libraries=$ac_optarg ;;
1111 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1112 Try \`$0 --help' for more information"
1116 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1117 # Reject names that are not valid shell variable names.
1118 case $ac_envvar in #(
1119 '' | [0-9]* | *[!_$as_cr_alnum]* )
1120 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1122 eval $ac_envvar=\$ac_optarg
1123 export $ac_envvar ;;
1126 # FIXME: should be removed in autoconf 3.0.
1127 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1128 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1129 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1130 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1136 if test -n "$ac_prev"; then
1137 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1138 as_fn_error $? "missing argument to $ac_option"
1141 if test -n "$ac_unrecognized_opts"; then
1142 case $enable_option_checking in
1144 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1145 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1149 # Check all directory arguments for consistency.
1150 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1151 datadir sysconfdir sharedstatedir localstatedir includedir \
1152 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1153 libdir localedir mandir
1155 eval ac_val=\$$ac_var
1156 # Remove trailing slashes.
1159 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1160 eval $ac_var=\$ac_val;;
1162 # Be sure to have absolute directory names.
1164 [\\/$]* | ?:[\\/]* ) continue;;
1165 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1167 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1170 # There might be people who depend on the old broken behavior: `$host'
1171 # used to hold the argument of --host etc.
1172 # FIXME: To remove some day.
1175 target=$target_alias
1177 # FIXME: To remove some day.
1178 if test "x$host_alias" != x; then
1179 if test "x$build_alias" = x; then
1180 cross_compiling=maybe
1181 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1182 If a cross compiler is detected then cross compile mode will be used" >&2
1183 elif test "x$build_alias" != "x$host_alias"; then
1189 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1191 test "$silent" = yes && exec 6>/dev/null
1194 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1195 ac_ls_di=`ls -di .` &&
1196 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1197 as_fn_error $? "working directory cannot be determined"
1198 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1199 as_fn_error $? "pwd does not report name of working directory"
1202 # Find the source files, if location was not specified.
1203 if test -z "$srcdir"; then
1204 ac_srcdir_defaulted=yes
1205 # Try the directory containing this script, then the parent directory.
1206 ac_confdir=`$as_dirname -- "$as_myself" ||
1207 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1208 X"$as_myself" : 'X\(//\)[^/]' \| \
1209 X"$as_myself" : 'X\(//\)$' \| \
1210 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1211 $as_echo X"$as_myself" |
1212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1230 if test ! -r "$srcdir/$ac_unique_file"; then
1234 ac_srcdir_defaulted=no
1236 if test ! -r "$srcdir/$ac_unique_file"; then
1237 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1238 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1240 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1242 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1244 # When building in place, set srcdir=.
1245 if test "$ac_abs_confdir" = "$ac_pwd"; then
1248 # Remove unnecessary trailing slashes from srcdir.
1249 # Double slashes in file names in object file debugging info
1250 # mess up M-x gdb in Emacs.
1252 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1254 for ac_var in $ac_precious_vars; do
1255 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1256 eval ac_env_${ac_var}_value=\$${ac_var}
1257 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1258 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1262 # Report the --help message.
1264 if test "$ac_init_help" = "long"; then
1265 # Omit some internal or obsolete options to make the list less imposing.
1266 # This message is too long to be a string in the A/UX 3.1 sh.
1268 \`configure' configures this package to adapt to many kinds of systems.
1270 Usage: $0 [OPTION]... [VAR=VALUE]...
1272 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1273 VAR=VALUE. See below for descriptions of some of the useful variables.
1275 Defaults for the options are specified in brackets.
1278 -h, --help display this help and exit
1279 --help=short display options specific to this package
1280 --help=recursive display the short help of all the included packages
1281 -V, --version display version information and exit
1282 -q, --quiet, --silent do not print \`checking ...' messages
1283 --cache-file=FILE cache test results in FILE [disabled]
1284 -C, --config-cache alias for \`--cache-file=config.cache'
1285 -n, --no-create do not create output files
1286 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1288 Installation directories:
1289 --prefix=PREFIX install architecture-independent files in PREFIX
1290 [$ac_default_prefix]
1291 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1294 By default, \`make install' will install all the files in
1295 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1296 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1297 for instance \`--prefix=\$HOME'.
1299 For better control, use the options below.
1301 Fine tuning of the installation directories:
1302 --bindir=DIR user executables [EPREFIX/bin]
1303 --sbindir=DIR system admin executables [EPREFIX/sbin]
1304 --libexecdir=DIR program executables [EPREFIX/libexec]
1305 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1306 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1307 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1308 --libdir=DIR object code libraries [EPREFIX/lib]
1309 --includedir=DIR C header files [PREFIX/include]
1310 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1311 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1312 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1313 --infodir=DIR info documentation [DATAROOTDIR/info]
1314 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1315 --mandir=DIR man documentation [DATAROOTDIR/man]
1316 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1317 --htmldir=DIR html documentation [DOCDIR]
1318 --dvidir=DIR dvi documentation [DOCDIR]
1319 --pdfdir=DIR pdf documentation [DOCDIR]
1320 --psdir=DIR ps documentation [DOCDIR]
1326 --program-prefix=PREFIX prepend PREFIX to installed program names
1327 --program-suffix=SUFFIX append SUFFIX to installed program names
1328 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1332 if test -n "$ac_init_help"; then
1337 --disable-option-checking ignore unrecognized --enable/--with options
1338 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1339 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1340 --enable-all-components Build all configurable components (default), or stop on failed dependencies
1342 --enable-usrp2 Stop if usrp2 fails configuration
1343 --enable-usrp2-firmware Stop if usrp2-firmware fails configuration
1344 --disable-dependency-tracking speeds up one-time build
1345 --enable-dependency-tracking do not reject slow dependency extractors
1347 Some influential environment variables:
1348 CC C compiler command
1349 CFLAGS C compiler flags
1350 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1351 nonstandard directory <lib dir>
1352 LIBS libraries to pass to the linker, e.g. -l<library>
1353 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1354 you have headers in a nonstandard directory <include dir>
1356 CCAS assembler compiler command (defaults to CC)
1357 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1359 Use these variables to override the choices made by `configure' or to help
1360 it to find libraries and programs with nonstandard names/locations.
1362 Report bugs to the package provider.
1367 if test "$ac_init_help" = "recursive"; then
1368 # If there are subdirs, report their specific --help.
1369 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1370 test -d "$ac_dir" ||
1371 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1376 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1378 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1379 # A ".." for each directory in $ac_dir_suffix.
1380 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1381 case $ac_top_builddir_sub in
1382 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1383 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1386 ac_abs_top_builddir=$ac_pwd
1387 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1388 # for backward compatibility:
1389 ac_top_builddir=$ac_top_build_prefix
1392 .) # We are building in place.
1394 ac_top_srcdir=$ac_top_builddir_sub
1395 ac_abs_top_srcdir=$ac_pwd ;;
1396 [\\/]* | ?:[\\/]* ) # Absolute name.
1397 ac_srcdir=$srcdir$ac_dir_suffix;
1398 ac_top_srcdir=$srcdir
1399 ac_abs_top_srcdir=$srcdir ;;
1401 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1402 ac_top_srcdir=$ac_top_build_prefix$srcdir
1403 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1405 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1407 cd "$ac_dir" || { ac_status=$?; continue; }
1408 # Check for guested configure.
1409 if test -f "$ac_srcdir/configure.gnu"; then
1411 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1412 elif test -f "$ac_srcdir/configure"; then
1414 $SHELL "$ac_srcdir/configure" --help=recursive
1416 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1418 cd "$ac_pwd" || { ac_status=$?; break; }
1422 test -n "$ac_init_help" && exit $ac_status
1423 if $ac_init_version; then
1426 generated by GNU Autoconf 2.67
1428 Copyright (C) 2010 Free Software Foundation, Inc.
1429 This configure script is free software; the Free Software Foundation
1430 gives unlimited permission to copy, distribute and modify it.
1435 ## ------------------------ ##
1436 ## Autoconf initialization. ##
1437 ## ------------------------ ##
1439 # ac_fn_c_try_compile LINENO
1440 # --------------------------
1441 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1442 ac_fn_c_try_compile ()
1444 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1445 rm -f conftest.$ac_objext
1446 if { { ac_try="$ac_compile"
1448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1449 *) ac_try_echo=$ac_try;;
1451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1452 $as_echo "$ac_try_echo"; } >&5
1453 (eval "$ac_compile") 2>conftest.err
1455 if test -s conftest.err; then
1456 grep -v '^ *+' conftest.err >conftest.er1
1457 cat conftest.er1 >&5
1458 mv -f conftest.er1 conftest.err
1460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1461 test $ac_status = 0; } && {
1462 test -z "$ac_c_werror_flag" ||
1463 test ! -s conftest.err
1464 } && test -s conftest.$ac_objext; then :
1467 $as_echo "$as_me: failed program was:" >&5
1468 sed 's/^/| /' conftest.$ac_ext >&5
1472 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1473 as_fn_set_status $ac_retval
1475 } # ac_fn_c_try_compile
1477 # ac_fn_c_try_cpp LINENO
1478 # ----------------------
1479 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1483 if { { ac_try="$ac_cpp conftest.$ac_ext"
1485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1486 *) ac_try_echo=$ac_try;;
1488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1489 $as_echo "$ac_try_echo"; } >&5
1490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1492 if test -s conftest.err; then
1493 grep -v '^ *+' conftest.err >conftest.er1
1494 cat conftest.er1 >&5
1495 mv -f conftest.er1 conftest.err
1497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1498 test $ac_status = 0; } > conftest.i && {
1499 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1500 test ! -s conftest.err
1504 $as_echo "$as_me: failed program was:" >&5
1505 sed 's/^/| /' conftest.$ac_ext >&5
1509 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1510 as_fn_set_status $ac_retval
1514 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1515 # -------------------------------------------------------
1516 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1517 # the include files in INCLUDES and setting the cache variable VAR
1519 ac_fn_c_check_header_mongrel ()
1521 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1522 if eval "test \"\${$3+set}\"" = set; then :
1523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1524 $as_echo_n "checking for $2... " >&6; }
1525 if eval "test \"\${$3+set}\"" = set; then :
1526 $as_echo_n "(cached) " >&6
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1530 $as_echo "$ac_res" >&6; }
1532 # Is the header compilable?
1533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1534 $as_echo_n "checking $2 usability... " >&6; }
1535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1536 /* end confdefs.h. */
1540 if ac_fn_c_try_compile "$LINENO"; then :
1541 ac_header_compiler=yes
1543 ac_header_compiler=no
1545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1547 $as_echo "$ac_header_compiler" >&6; }
1549 # Is the header present?
1550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1551 $as_echo_n "checking $2 presence... " >&6; }
1552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1553 /* end confdefs.h. */
1556 if ac_fn_c_try_cpp "$LINENO"; then :
1557 ac_header_preproc=yes
1559 ac_header_preproc=no
1561 rm -f conftest.err conftest.i conftest.$ac_ext
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1563 $as_echo "$ac_header_preproc" >&6; }
1565 # So? What about this header?
1566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1569 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1571 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1575 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1577 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1579 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1581 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1583 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1587 $as_echo_n "checking for $2... " >&6; }
1588 if eval "test \"\${$3+set}\"" = set; then :
1589 $as_echo_n "(cached) " >&6
1591 eval "$3=\$ac_header_compiler"
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1595 $as_echo "$ac_res" >&6; }
1597 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1599 } # ac_fn_c_check_header_mongrel
1601 # ac_fn_c_try_run LINENO
1602 # ----------------------
1603 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1604 # that executables *can* be run.
1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1608 if { { ac_try="$ac_link"
1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_link") 2>&5
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1619 { { case "(($ac_try" in
1620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621 *) ac_try_echo=$ac_try;;
1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_try") 2>&5
1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628 test $ac_status = 0; }; }; then :
1631 $as_echo "$as_me: program exited with status $ac_status" >&5
1632 $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.$ac_ext >&5
1635 ac_retval=$ac_status
1637 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1638 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1639 as_fn_set_status $ac_retval
1643 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1644 # -------------------------------------------------------
1645 # Tests whether HEADER exists and can be compiled using the include files in
1646 # INCLUDES, setting the cache variable VAR accordingly.
1647 ac_fn_c_check_header_compile ()
1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1651 $as_echo_n "checking for $2... " >&6; }
1652 if eval "test \"\${$3+set}\"" = set; then :
1653 $as_echo_n "(cached) " >&6
1655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1656 /* end confdefs.h. */
1660 if ac_fn_c_try_compile "$LINENO"; then :
1665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1669 $as_echo "$ac_res" >&6; }
1670 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1672 } # ac_fn_c_check_header_compile
1673 cat >config.log <<_ACEOF
1674 This file contains any messages produced by compilers while
1675 running configure, to aid debugging if configure makes a mistake.
1677 It was created by $as_me, which was
1678 generated by GNU Autoconf 2.67. Invocation command line was
1690 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1691 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1692 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1693 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1694 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1696 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1697 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1699 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1700 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1701 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1702 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1703 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1704 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1705 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1713 test -z "$as_dir" && as_dir=.
1714 $as_echo "PATH: $as_dir"
1730 # Keep a trace of the command line.
1731 # Strip out --no-create and --no-recursion so they do not pile up.
1732 # Strip out --silent because we don't want to record it for future runs.
1733 # Also quote any args containing shell meta-characters.
1734 # Make two passes to allow for proper duplicate-argument suppression.
1738 ac_must_keep_next=false
1744 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1745 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1746 | -silent | --silent | --silen | --sile | --sil)
1749 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1752 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1754 as_fn_append ac_configure_args1 " '$ac_arg'"
1755 if test $ac_must_keep_next = true; then
1756 ac_must_keep_next=false # Got value, back to normal.
1759 *=* | --config-cache | -C | -disable-* | --disable-* \
1760 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1761 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1762 | -with-* | --with-* | -without-* | --without-* | --x)
1763 case "$ac_configure_args0 " in
1764 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1767 -* ) ac_must_keep_next=true ;;
1770 as_fn_append ac_configure_args " '$ac_arg'"
1775 { ac_configure_args0=; unset ac_configure_args0;}
1776 { ac_configure_args1=; unset ac_configure_args1;}
1778 # When interrupted or exit'd, cleanup temporary files, and complete
1779 # config.log. We remove comments because anyway the quotes in there
1780 # would cause problems or look ugly.
1781 # WARNING: Use '\'' to represent an apostrophe within the trap.
1782 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1783 trap 'exit_status=$?
1784 # Save into config.log some information that might help in debugging.
1788 $as_echo "## ---------------- ##
1789 ## Cache variables. ##
1790 ## ---------------- ##"
1792 # The following way of writing the cache mishandles newlines in values,
1794 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1795 eval ac_val=\$$ac_var
1799 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1800 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1803 _ | IFS | as_nl) ;; #(
1804 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1805 *) { eval $ac_var=; unset $ac_var;} ;;
1810 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1811 *${as_nl}ac_space=\ *)
1813 "s/'\''/'\''\\\\'\'''\''/g;
1814 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1817 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1824 $as_echo "## ----------------- ##
1825 ## Output variables. ##
1826 ## ----------------- ##"
1828 for ac_var in $ac_subst_vars
1830 eval ac_val=\$$ac_var
1832 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1834 $as_echo "$ac_var='\''$ac_val'\''"
1838 if test -n "$ac_subst_files"; then
1839 $as_echo "## ------------------- ##
1840 ## File substitutions. ##
1841 ## ------------------- ##"
1843 for ac_var in $ac_subst_files
1845 eval ac_val=\$$ac_var
1847 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1849 $as_echo "$ac_var='\''$ac_val'\''"
1854 if test -s confdefs.h; then
1855 $as_echo "## ----------- ##
1862 test "$ac_signal" != 0 &&
1863 $as_echo "$as_me: caught signal $ac_signal"
1864 $as_echo "$as_me: exit $exit_status"
1866 rm -f core *.core core.conftest.* &&
1867 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1870 for ac_signal in 1 2 13 15; do
1871 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1875 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1876 rm -f -r conftest* confdefs.h
1878 $as_echo "/* confdefs.h */" > confdefs.h
1880 # Predefined preprocessor variables.
1882 cat >>confdefs.h <<_ACEOF
1883 #define PACKAGE_NAME "$PACKAGE_NAME"
1886 cat >>confdefs.h <<_ACEOF
1887 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1890 cat >>confdefs.h <<_ACEOF
1891 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1894 cat >>confdefs.h <<_ACEOF
1895 #define PACKAGE_STRING "$PACKAGE_STRING"
1898 cat >>confdefs.h <<_ACEOF
1899 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1902 cat >>confdefs.h <<_ACEOF
1903 #define PACKAGE_URL "$PACKAGE_URL"
1907 # Let the site file select an alternate cache file if it wants to.
1908 # Prefer an explicitly selected file to automatically selected ones.
1911 if test -n "$CONFIG_SITE"; then
1912 # We do not want a PATH search for config.site.
1913 case $CONFIG_SITE in #((
1914 -*) ac_site_file1=./$CONFIG_SITE;;
1915 */*) ac_site_file1=$CONFIG_SITE;;
1916 *) ac_site_file1=./$CONFIG_SITE;;
1918 elif test "x$prefix" != xNONE; then
1919 ac_site_file1=$prefix/share/config.site
1920 ac_site_file2=$prefix/etc/config.site
1922 ac_site_file1=$ac_default_prefix/share/config.site
1923 ac_site_file2=$ac_default_prefix/etc/config.site
1925 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1927 test "x$ac_site_file" = xNONE && continue
1928 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1930 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1931 sed 's/^/| /' "$ac_site_file" >&5
1933 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1935 as_fn_error $? "failed to load site script $ac_site_file
1936 See \`config.log' for more details" "$LINENO" 5 ; }
1940 if test -r "$cache_file"; then
1941 # Some versions of bash will fail to source /dev/null (special files
1942 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1943 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1945 $as_echo "$as_me: loading cache $cache_file" >&6;}
1947 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1948 *) . "./$cache_file";;
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1953 $as_echo "$as_me: creating cache $cache_file" >&6;}
1957 # Check that the precious variables saved in the cache have kept the same
1959 ac_cache_corrupted=false
1960 for ac_var in $ac_precious_vars; do
1961 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1962 eval ac_new_set=\$ac_env_${ac_var}_set
1963 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1964 eval ac_new_val=\$ac_env_${ac_var}_value
1965 case $ac_old_set,$ac_new_set in
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1968 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1969 ac_cache_corrupted=: ;;
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1972 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1973 ac_cache_corrupted=: ;;
1976 if test "x$ac_old_val" != "x$ac_new_val"; then
1977 # differences in whitespace do not lead to failure.
1978 ac_old_val_w=`echo x $ac_old_val`
1979 ac_new_val_w=`echo x $ac_new_val`
1980 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1982 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1983 ac_cache_corrupted=:
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1986 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1987 eval $ac_var=\$ac_old_val
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1990 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1992 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1995 # Pass precious variables to config.status.
1996 if test "$ac_new_set" = set; then
1998 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1999 *) ac_arg=$ac_var=$ac_new_val ;;
2001 case " $ac_configure_args " in
2002 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2003 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2007 if $ac_cache_corrupted; then
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2011 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2012 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2014 ## -------------------- ##
2015 ## Main body of script. ##
2016 ## -------------------- ##
2019 ac_cpp='$CPP $CPPFLAGS'
2020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2026 ac_config_headers="$ac_config_headers config.h"
2029 for ac_dir in . "$srcdir"/.; do
2030 if test -f "$ac_dir/install-sh"; then
2032 ac_install_sh="$ac_aux_dir/install-sh -c"
2034 elif test -f "$ac_dir/install.sh"; then
2036 ac_install_sh="$ac_aux_dir/install.sh -c"
2038 elif test -f "$ac_dir/shtool"; then
2040 ac_install_sh="$ac_aux_dir/shtool install -c"
2044 if test -z "$ac_aux_dir"; then
2045 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2048 # These three variables are undocumented and unsupported,
2049 # and are intended to be withdrawn in a future Autoconf release.
2050 # They can cause serious problems if a builder's source tree is in a directory
2051 # whose full name contains unusual characters.
2052 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2053 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2054 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2059 am__api_version='1.11'
2061 # Find a good install program. We prefer a C program (faster),
2062 # so one script is as good as another. But avoid the broken or
2063 # incompatible versions:
2064 # SysV /etc/install, /usr/sbin/install
2065 # SunOS /usr/etc/install
2066 # IRIX /sbin/install
2068 # AmigaOS /C/install, which installs bootblocks on floppy discs
2069 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2070 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2071 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2072 # OS/2's system install, which has a completely different semantic
2073 # ./install, which can be erroneously created by make from ./install.sh.
2074 # Reject install programs that cannot install multiple files.
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2076 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2077 if test -z "$INSTALL"; then
2078 if test "${ac_cv_path_install+set}" = set; then :
2079 $as_echo_n "(cached) " >&6
2081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085 test -z "$as_dir" && as_dir=.
2086 # Account for people who put trailing slashes in PATH elements.
2087 case $as_dir/ in #((
2088 ./ | .// | /[cC]/* | \
2089 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2090 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2093 # OSF1 and SCO ODT 3.0 have their own names for install.
2094 # Don't use installbsd from OSF since it installs stuff as root
2096 for ac_prog in ginstall scoinst install; do
2097 for ac_exec_ext in '' $ac_executable_extensions; do
2098 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2099 if test $ac_prog = install &&
2100 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2101 # AIX install. It has an incompatible calling convention.
2103 elif test $ac_prog = install &&
2104 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2105 # program-specific install script used by HP pwplus--don't use.
2108 rm -rf conftest.one conftest.two conftest.dir
2109 echo one > conftest.one
2110 echo two > conftest.two
2112 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2113 test -s conftest.one && test -s conftest.two &&
2114 test -s conftest.dir/conftest.one &&
2115 test -s conftest.dir/conftest.two
2117 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2130 rm -rf conftest.one conftest.two conftest.dir
2133 if test "${ac_cv_path_install+set}" = set; then
2134 INSTALL=$ac_cv_path_install
2136 # As a last resort, use the slow shell script. Don't cache a
2137 # value for INSTALL within a source directory, because that will
2138 # break other packages using the cache if that directory is
2139 # removed, or if the value is a relative name.
2140 INSTALL=$ac_install_sh
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2144 $as_echo "$INSTALL" >&6; }
2146 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2147 # It thinks the first close brace ends the variable substitution.
2148 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2150 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2152 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2155 $as_echo_n "checking whether build environment is sane... " >&6; }
2158 echo timestamp > conftest.file
2159 # Reject unsafe characters in $srcdir or the absolute working directory
2160 # name. Accept space and tab only in the latter.
2164 *[\\\"\#\$\&\'\`$am_lf]*)
2165 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2168 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2169 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2172 # Do `set' in a subshell so we don't clobber the current shell's
2173 # arguments. Must try -L first in case configure is actually a
2174 # symlink; some systems play weird games with the mod time of symlinks
2175 # (eg FreeBSD returns the mod time of the symlink's containing
2178 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2179 if test "$*" = "X"; then
2181 set X `ls -t "$srcdir/configure" conftest.file`
2184 if test "$*" != "X $srcdir/configure conftest.file" \
2185 && test "$*" != "X conftest.file $srcdir/configure"; then
2187 # If neither matched, then we have a broken ls. This can happen
2188 # if, for instance, CONFIG_SHELL is bash and it inherits a
2189 # broken ls alias from the environment. This has actually
2190 # happened. Such a system could not be considered "sane".
2191 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2192 alias in your environment" "$LINENO" 5
2195 test "$2" = conftest.file
2201 as_fn_error $? "newly created file is older than distributed files!
2202 Check your system clock" "$LINENO" 5
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2205 $as_echo "yes" >&6; }
2206 test "$program_prefix" != NONE &&
2207 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2208 # Use a double $ so make ignores it.
2209 test "$program_suffix" != NONE &&
2210 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2211 # Double any \ or $.
2212 # By default was `s,x,x', remove it if useless.
2213 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2214 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2216 # expand $ac_aux_dir to an absolute path
2217 am_aux_dir=`cd $ac_aux_dir && pwd`
2219 if test x"${MISSING+set}" != xset; then
2222 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2224 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2227 # Use eval to expand $SHELL
2228 if eval "$MISSING --run true"; then
2229 am_missing_run="$MISSING --run "
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2233 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2236 if test x"${install_sh}" != xset; then
2239 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2241 install_sh="\${SHELL} $am_aux_dir/install-sh"
2245 # Installed binaries are usually stripped using `strip' when the user
2246 # run `make install-strip'. However `strip' might not be the right
2247 # tool to use in cross-compilation environments, therefore Automake
2248 # will honor the `STRIP' environment variable to overrule this program.
2249 if test "$cross_compiling" != no; then
2250 if test -n "$ac_tool_prefix"; then
2251 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2252 set dummy ${ac_tool_prefix}strip; ac_word=$2
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2254 $as_echo_n "checking for $ac_word... " >&6; }
2255 if test "${ac_cv_prog_STRIP+set}" = set; then :
2256 $as_echo_n "(cached) " >&6
2258 if test -n "$STRIP"; then
2259 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 test -z "$as_dir" && as_dir=.
2266 for ac_exec_ext in '' $ac_executable_extensions; do
2267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2268 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 STRIP=$ac_cv_prog_STRIP
2279 if test -n "$STRIP"; then
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2281 $as_echo "$STRIP" >&6; }
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2284 $as_echo "no" >&6; }
2289 if test -z "$ac_cv_prog_STRIP"; then
2291 # Extract the first word of "strip", so it can be a program name with args.
2292 set dummy strip; ac_word=$2
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2294 $as_echo_n "checking for $ac_word... " >&6; }
2295 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2296 $as_echo_n "(cached) " >&6
2298 if test -n "$ac_ct_STRIP"; then
2299 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305 test -z "$as_dir" && as_dir=.
2306 for ac_exec_ext in '' $ac_executable_extensions; do
2307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2308 ac_cv_prog_ac_ct_STRIP="strip"
2309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2318 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2319 if test -n "$ac_ct_STRIP"; then
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2321 $as_echo "$ac_ct_STRIP" >&6; }
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2324 $as_echo "no" >&6; }
2327 if test "x$ac_ct_STRIP" = x; then
2330 case $cross_compiling:$ac_tool_warned in
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2334 ac_tool_warned=yes ;;
2339 STRIP="$ac_cv_prog_STRIP"
2343 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2346 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2347 if test -z "$MKDIR_P"; then
2348 if test "${ac_cv_path_mkdir+set}" = set; then :
2349 $as_echo_n "(cached) " >&6
2351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2352 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2355 test -z "$as_dir" && as_dir=.
2356 for ac_prog in mkdir gmkdir; do
2357 for ac_exec_ext in '' $ac_executable_extensions; do
2358 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2359 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2360 'mkdir (GNU coreutils) '* | \
2361 'mkdir (coreutils) '* | \
2362 'mkdir (fileutils) '4.1*)
2363 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2373 test -d ./--version && rmdir ./--version
2374 if test "${ac_cv_path_mkdir+set}" = set; then
2375 MKDIR_P="$ac_cv_path_mkdir -p"
2377 # As a last resort, use the slow shell script. Don't cache a
2378 # value for MKDIR_P within a source directory, because that will
2379 # break other packages using the cache if that directory is
2380 # removed, or if the value is a relative name.
2381 MKDIR_P="$ac_install_sh -d"
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2385 $as_echo "$MKDIR_P" >&6; }
2389 [\\/$]* | ?:[\\/]*) ;;
2390 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2393 for ac_prog in gawk mawk nawk awk
2395 # Extract the first word of "$ac_prog", so it can be a program name with args.
2396 set dummy $ac_prog; ac_word=$2
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2398 $as_echo_n "checking for $ac_word... " >&6; }
2399 if test "${ac_cv_prog_AWK+set}" = set; then :
2400 $as_echo_n "(cached) " >&6
2402 if test -n "$AWK"; then
2403 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2409 test -z "$as_dir" && as_dir=.
2410 for ac_exec_ext in '' $ac_executable_extensions; do
2411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2412 ac_cv_prog_AWK="$ac_prog"
2413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2423 if test -n "$AWK"; then
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2425 $as_echo "$AWK" >&6; }
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2428 $as_echo "no" >&6; }
2432 test -n "$AWK" && break
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2436 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2438 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2439 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2440 $as_echo_n "(cached) " >&6
2442 cat >conftest.make <<\_ACEOF
2445 @echo '@@@%%%=$(MAKE)=@@@%%%'
2447 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2448 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2450 eval ac_cv_prog_make_${ac_make}_set=yes;;
2452 eval ac_cv_prog_make_${ac_make}_set=no;;
2456 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2458 $as_echo "yes" >&6; }
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2462 $as_echo "no" >&6; }
2463 SET_MAKE="MAKE=${MAKE-make}"
2466 rm -rf .tst 2>/dev/null
2467 mkdir .tst 2>/dev/null
2468 if test -d .tst; then
2473 rmdir .tst 2>/dev/null
2475 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2476 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2477 # is not polluted with repeated "-I."
2478 am__isrc=' -I$(srcdir)'
2479 # test to see if srcdir already configured
2480 if test -f $srcdir/config.status; then
2481 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2485 # test whether we have cygpath
2486 if test -z "$CYGPATH_W"; then
2487 if (cygpath --version) >/dev/null 2>/dev/null; then
2488 CYGPATH_W='cygpath -w'
2495 # Define the identity of the package.
2496 PACKAGE=usrp2-firmware
2500 cat >>confdefs.h <<_ACEOF
2501 #define PACKAGE "$PACKAGE"
2505 cat >>confdefs.h <<_ACEOF
2506 #define VERSION "$VERSION"
2509 # Some tools Automake needs.
2511 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2514 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2517 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2520 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2523 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2525 # We need awk for the "check" target. The system "awk" is bad on
2527 # Always define AMTAR for backward compatibility.
2529 AMTAR=${AMTAR-"${am_missing_run}tar"}
2531 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2539 # Check whether --enable-all-components was given.
2540 if test "${enable_all_components+set}" = set; then :
2541 enableval=$enable_all_components;
2545 #build_dirs="config"
2551 # Check whether --enable-usrp2 was given.
2552 if test "${enable_usrp2+set}" = set; then :
2553 enableval=$enable_usrp2;
2556 enable_usrp2=$enable_all_components
2557 if test x$enable_all_components = xno; then
2568 if test $passed = no; then
2569 if test x$enable_usrp2 = xyes; then
2570 as_fn_error $? "Component usrp2 has errors; stopping." "$LINENO" 5
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component usrp2." >&5
2573 $as_echo "Not building component usrp2." >&6; }
2576 if test $passed = with; then
2577 with_dirs="$with_dirs usrp2"
2579 if test "x${usrp2_INCLUDES}" != "x"; then
2580 if test "x$with_INCLUDES" = "x"; then
2581 with_INCLUDES="${usrp2_INCLUDES}"
2583 with_INCLUDES="${usrp2_INCLUDES}"" ""$with_INCLUDES"
2589 if test "x${usrp2_SWIG_INCLUDES}" != "x"; then
2590 if test "x$with_SWIG_INCLUDES" = "x"; then
2591 with_SWIG_INCLUDES="${usrp2_SWIG_INCLUDES}"
2593 with_SWIG_INCLUDES="${usrp2_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
2595 usrp2_SWIG_INCLUDES=
2599 if test "x${usrp2_PYDIRPATH}" != "x"; then
2600 if test "x$with_PYDIRPATH" = "x"; then
2601 with_PYDIRPATH="${usrp2_PYDIRPATH}"
2603 with_PYDIRPATH="${usrp2_PYDIRPATH}"":""$with_PYDIRPATH"
2609 if test "x${usrp2_SWIGDIRPATH}" != "x"; then
2610 if test "x$with_SWIGDIRPATH" = "x"; then
2611 with_SWIGDIRPATH="${usrp2_SWIGDIRPATH}"
2613 with_SWIGDIRPATH="${usrp2_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
2619 if test "x${usrp2_LIBDIRPATH}" != "x"; then
2620 if test "x$with_LIBDIRPATH" = "x"; then
2621 with_LIBDIRPATH="${usrp2_LIBDIRPATH}"
2623 with_LIBDIRPATH="${usrp2_LIBDIRPATH}"":""$with_LIBDIRPATH"
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 will be included from a pre-installed library and includes." >&5
2629 $as_echo "Component usrp2 will be included from a pre-installed library and includes." >&6; }
2633 if test x$enable_usrp2 != xno; then
2635 build_dirs="$build_dirs usrp2"
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 passed configuration checks; building." >&5
2637 $as_echo "Component usrp2 passed configuration checks; building." >&6; }
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 passed configuration checks; but not building." >&5
2641 $as_echo "Component usrp2 passed configuration checks; but not building." >&6; }
2645 if test $passed = no; then
2646 skipped_dirs="$skipped_dirs usrp2"
2659 DEPDIR="${am__leading_dot}deps"
2661 ac_config_commands="$ac_config_commands depfiles"
2664 am_make=${MAKE-make}
2665 cat > confinc << 'END'
2667 @echo this is the am__doit target
2670 # If we don't find an include directive, just comment out the code.
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2672 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2676 # First try GNU make style include.
2677 echo "include confinc" > confmf
2678 # Ignore all kinds of additional output from `make'.
2679 case `$am_make -s -f confmf 2> /dev/null` in #(
2680 *the\ am__doit\ target*)
2686 # Now try BSD make style include.
2687 if test "$am__include" = "#"; then
2688 echo '.include "confinc"' > confmf
2689 case `$am_make -s -f confmf 2> /dev/null` in #(
2690 *the\ am__doit\ target*)
2691 am__include=.include
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2700 $as_echo "$_am_result" >&6; }
2701 rm -f confinc confmf
2703 # Check whether --enable-dependency-tracking was given.
2704 if test "${enable_dependency_tracking+set}" = set; then :
2705 enableval=$enable_dependency_tracking;
2708 if test "x$enable_dependency_tracking" != xno; then
2709 am_depcomp="$ac_aux_dir/depcomp"
2712 if test "x$enable_dependency_tracking" != xno; then
2722 ac_cpp='$CPP $CPPFLAGS'
2723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2726 if test -n "$ac_tool_prefix"; then
2727 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2728 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2730 $as_echo_n "checking for $ac_word... " >&6; }
2731 if test "${ac_cv_prog_CC+set}" = set; then :
2732 $as_echo_n "(cached) " >&6
2734 if test -n "$CC"; then
2735 ac_cv_prog_CC="$CC" # Let the user override the test.
2737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2741 test -z "$as_dir" && as_dir=.
2742 for ac_exec_ext in '' $ac_executable_extensions; do
2743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2744 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2755 if test -n "$CC"; then
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2757 $as_echo "$CC" >&6; }
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2760 $as_echo "no" >&6; }
2765 if test -z "$ac_cv_prog_CC"; then
2767 # Extract the first word of "gcc", so it can be a program name with args.
2768 set dummy gcc; ac_word=$2
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2770 $as_echo_n "checking for $ac_word... " >&6; }
2771 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2772 $as_echo_n "(cached) " >&6
2774 if test -n "$ac_ct_CC"; then
2775 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 test -z "$as_dir" && as_dir=.
2782 for ac_exec_ext in '' $ac_executable_extensions; do
2783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2784 ac_cv_prog_ac_ct_CC="gcc"
2785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2795 if test -n "$ac_ct_CC"; then
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2797 $as_echo "$ac_ct_CC" >&6; }
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2800 $as_echo "no" >&6; }
2803 if test "x$ac_ct_CC" = x; then
2806 case $cross_compiling:$ac_tool_warned in
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2810 ac_tool_warned=yes ;;
2818 if test -z "$CC"; then
2819 if test -n "$ac_tool_prefix"; then
2820 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2821 set dummy ${ac_tool_prefix}cc; ac_word=$2
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2823 $as_echo_n "checking for $ac_word... " >&6; }
2824 if test "${ac_cv_prog_CC+set}" = set; then :
2825 $as_echo_n "(cached) " >&6
2827 if test -n "$CC"; then
2828 ac_cv_prog_CC="$CC" # Let the user override the test.
2830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2834 test -z "$as_dir" && as_dir=.
2835 for ac_exec_ext in '' $ac_executable_extensions; do
2836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2837 ac_cv_prog_CC="${ac_tool_prefix}cc"
2838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2848 if test -n "$CC"; then
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2850 $as_echo "$CC" >&6; }
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2853 $as_echo "no" >&6; }
2859 if test -z "$CC"; then
2860 # Extract the first word of "cc", so it can be a program name with args.
2861 set dummy cc; ac_word=$2
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2863 $as_echo_n "checking for $ac_word... " >&6; }
2864 if test "${ac_cv_prog_CC+set}" = set; then :
2865 $as_echo_n "(cached) " >&6
2867 if test -n "$CC"; then
2868 ac_cv_prog_CC="$CC" # Let the user override the test.
2871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2875 test -z "$as_dir" && as_dir=.
2876 for ac_exec_ext in '' $ac_executable_extensions; do
2877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2878 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2879 ac_prog_rejected=yes
2883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2890 if test $ac_prog_rejected = yes; then
2891 # We found a bogon in the path, so make sure we never use it.
2892 set dummy $ac_cv_prog_CC
2894 if test $# != 0; then
2895 # We chose a different compiler from the bogus one.
2896 # However, it has the same basename, so the bogon will be chosen
2897 # first if we set CC to just the basename; use the full file name.
2899 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2905 if test -n "$CC"; then
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2907 $as_echo "$CC" >&6; }
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910 $as_echo "no" >&6; }
2915 if test -z "$CC"; then
2916 if test -n "$ac_tool_prefix"; then
2917 for ac_prog in cl.exe
2919 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2920 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2922 $as_echo_n "checking for $ac_word... " >&6; }
2923 if test "${ac_cv_prog_CC+set}" = set; then :
2924 $as_echo_n "(cached) " >&6
2926 if test -n "$CC"; then
2927 ac_cv_prog_CC="$CC" # Let the user override the test.
2929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2933 test -z "$as_dir" && as_dir=.
2934 for ac_exec_ext in '' $ac_executable_extensions; do
2935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2936 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2947 if test -n "$CC"; then
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2949 $as_echo "$CC" >&6; }
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2952 $as_echo "no" >&6; }
2956 test -n "$CC" && break
2959 if test -z "$CC"; then
2961 for ac_prog in cl.exe
2963 # Extract the first word of "$ac_prog", so it can be a program name with args.
2964 set dummy $ac_prog; ac_word=$2
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2966 $as_echo_n "checking for $ac_word... " >&6; }
2967 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2968 $as_echo_n "(cached) " >&6
2970 if test -n "$ac_ct_CC"; then
2971 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2977 test -z "$as_dir" && as_dir=.
2978 for ac_exec_ext in '' $ac_executable_extensions; do
2979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2980 ac_cv_prog_ac_ct_CC="$ac_prog"
2981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2990 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2991 if test -n "$ac_ct_CC"; then
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2993 $as_echo "$ac_ct_CC" >&6; }
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2996 $as_echo "no" >&6; }
3000 test -n "$ac_ct_CC" && break
3003 if test "x$ac_ct_CC" = x; then
3006 case $cross_compiling:$ac_tool_warned in
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3010 ac_tool_warned=yes ;;
3019 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3021 as_fn_error $? "no acceptable C compiler found in \$PATH
3022 See \`config.log' for more details" "$LINENO" 5 ; }
3024 # Provide some information about the compiler.
3025 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3028 for ac_option in --version -v -V -qversion; do
3029 { { ac_try="$ac_compiler $ac_option >&5"
3031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3032 *) ac_try_echo=$ac_try;;
3034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3035 $as_echo "$ac_try_echo"; } >&5
3036 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3038 if test -s conftest.err; then
3040 ... rest of stderr output deleted ...
3041 10q' conftest.err >conftest.er1
3042 cat conftest.er1 >&5
3044 rm -f conftest.er1 conftest.err
3045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3046 test $ac_status = 0; }
3049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050 /* end confdefs.h. */
3060 ac_clean_files_save=$ac_clean_files
3061 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3062 # Try to create an executable without -o first, disregard a.out.
3063 # It will help us diagnose broken compilers, and finding out an intuition
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3066 $as_echo_n "checking whether the C compiler works... " >&6; }
3067 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3069 # The possible output files:
3070 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3073 for ac_file in $ac_files
3076 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3077 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3082 if { { ac_try="$ac_link_default"
3084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3085 *) ac_try_echo=$ac_try;;
3087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3088 $as_echo "$ac_try_echo"; } >&5
3089 (eval "$ac_link_default") 2>&5
3091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3092 test $ac_status = 0; }; then :
3093 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3094 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3095 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3096 # so that the user can short-circuit this test for compilers unknown to
3098 for ac_file in $ac_files ''
3100 test -f "$ac_file" || continue
3102 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3105 # We found the default executable, but exeext='' is most
3109 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3111 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3113 # We set ac_cv_exeext here because the later test for it is not
3114 # safe: cross compilers may not add the suffix if given an `-o'
3115 # argument, so we may need to know it at that point already.
3116 # Even if this section looks crufty: it has the advantage of
3123 test "$ac_cv_exeext" = no && ac_cv_exeext=
3128 if test -z "$ac_file"; then :
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130 $as_echo "no" >&6; }
3131 $as_echo "$as_me: failed program was:" >&5
3132 sed 's/^/| /' conftest.$ac_ext >&5
3134 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3136 as_fn_error 77 "C compiler cannot create executables
3137 See \`config.log' for more details" "$LINENO" 5 ; }
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3140 $as_echo "yes" >&6; }
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3143 $as_echo_n "checking for C compiler default output file name... " >&6; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3145 $as_echo "$ac_file" >&6; }
3146 ac_exeext=$ac_cv_exeext
3148 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3149 ac_clean_files=$ac_clean_files_save
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3151 $as_echo_n "checking for suffix of executables... " >&6; }
3152 if { { ac_try="$ac_link"
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3158 $as_echo "$ac_try_echo"; } >&5
3159 (eval "$ac_link") 2>&5
3161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3162 test $ac_status = 0; }; then :
3163 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3164 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3165 # work properly (i.e., refer to `conftest.exe'), while it won't with
3167 for ac_file in conftest.exe conftest conftest.*; do
3168 test -f "$ac_file" || continue
3170 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3171 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3179 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3180 See \`config.log' for more details" "$LINENO" 5 ; }
3182 rm -f conftest conftest$ac_cv_exeext
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3184 $as_echo "$ac_cv_exeext" >&6; }
3186 rm -f conftest.$ac_ext
3187 EXEEXT=$ac_cv_exeext
3189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3190 /* end confdefs.h. */
3195 FILE *f = fopen ("conftest.out", "w");
3196 return ferror (f) || fclose (f) != 0;
3202 ac_clean_files="$ac_clean_files conftest.out"
3203 # Check that the compiler produces executables we can run. If not, either
3204 # the compiler is broken, or we cross compile.
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3206 $as_echo_n "checking whether we are cross compiling... " >&6; }
3207 if test "$cross_compiling" != yes; then
3208 { { ac_try="$ac_link"
3210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3211 *) ac_try_echo=$ac_try;;
3213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3214 $as_echo "$ac_try_echo"; } >&5
3215 (eval "$ac_link") 2>&5
3217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3218 test $ac_status = 0; }
3219 if { ac_try='./conftest$ac_cv_exeext'
3220 { { case "(($ac_try" in
3221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3222 *) ac_try_echo=$ac_try;;
3224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3225 $as_echo "$ac_try_echo"; } >&5
3226 (eval "$ac_try") 2>&5
3228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3229 test $ac_status = 0; }; }; then
3232 if test "$cross_compiling" = maybe; then
3235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3237 as_fn_error $? "cannot run C compiled programs.
3238 If you meant to cross compile, use \`--host'.
3239 See \`config.log' for more details" "$LINENO" 5 ; }
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3244 $as_echo "$cross_compiling" >&6; }
3246 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3247 ac_clean_files=$ac_clean_files_save
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3249 $as_echo_n "checking for suffix of object files... " >&6; }
3250 if test "${ac_cv_objext+set}" = set; then :
3251 $as_echo_n "(cached) " >&6
3253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254 /* end confdefs.h. */
3264 rm -f conftest.o conftest.obj
3265 if { { ac_try="$ac_compile"
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3271 $as_echo "$ac_try_echo"; } >&5
3272 (eval "$ac_compile") 2>&5
3274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3275 test $ac_status = 0; }; then :
3276 for ac_file in conftest.o conftest.obj conftest.*; do
3277 test -f "$ac_file" || continue;
3279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3280 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3285 $as_echo "$as_me: failed program was:" >&5
3286 sed 's/^/| /' conftest.$ac_ext >&5
3288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3290 as_fn_error $? "cannot compute suffix of object files: cannot compile
3291 See \`config.log' for more details" "$LINENO" 5 ; }
3293 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3296 $as_echo "$ac_cv_objext" >&6; }
3297 OBJEXT=$ac_cv_objext
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3300 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3301 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3302 $as_echo_n "(cached) " >&6
3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3318 if ac_fn_c_try_compile "$LINENO"; then :
3323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3324 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3328 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3329 if test $ac_compiler_gnu = yes; then
3334 ac_test_CFLAGS=${CFLAGS+set}
3335 ac_save_CFLAGS=$CFLAGS
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3337 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3338 if test "${ac_cv_prog_cc_g+set}" = set; then :
3339 $as_echo_n "(cached) " >&6
3341 ac_save_c_werror_flag=$ac_c_werror_flag
3342 ac_c_werror_flag=yes
3345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h. */
3356 if ac_fn_c_try_compile "$LINENO"; then :
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3371 if ac_fn_c_try_compile "$LINENO"; then :
3374 ac_c_werror_flag=$ac_save_c_werror_flag
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3387 if ac_fn_c_try_compile "$LINENO"; then :
3390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3395 ac_c_werror_flag=$ac_save_c_werror_flag
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3398 $as_echo "$ac_cv_prog_cc_g" >&6; }
3399 if test "$ac_test_CFLAGS" = set; then
3400 CFLAGS=$ac_save_CFLAGS
3401 elif test $ac_cv_prog_cc_g = yes; then
3402 if test "$GCC" = yes; then
3408 if test "$GCC" = yes; then
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3415 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3416 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3417 $as_echo_n "(cached) " >&6
3419 ac_cv_prog_cc_c89=no
3421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3422 /* end confdefs.h. */
3425 #include <sys/types.h>
3426 #include <sys/stat.h>
3427 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3428 struct buf { int x; };
3429 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3430 static char *e (p, i)
3436 static char *f (char * (*g) (char **, int), char **p, ...)
3441 s = g (p, va_arg (v,int));
3446 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3447 function prototypes and stuff, but not '\xHH' hex character constants.
3448 These don't provoke an error unfortunately, instead are silently treated
3449 as 'x'. The following induces an error, until -std is added to get
3450 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3451 array size at least. It's necessary to write '\x00'==0 to get something
3452 that's true only with -std. */
3453 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3455 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3456 inside strings and character constants. */
3458 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3460 int test (int i, double x);
3461 struct s1 {int (*f) (int a);};
3462 struct s2 {int (*f) (double a);};
3463 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3469 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3474 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3475 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3477 CC="$ac_save_CC $ac_arg"
3478 if ac_fn_c_try_compile "$LINENO"; then :
3479 ac_cv_prog_cc_c89=$ac_arg
3481 rm -f core conftest.err conftest.$ac_objext
3482 test "x$ac_cv_prog_cc_c89" != "xno" && break
3484 rm -f conftest.$ac_ext
3489 case "x$ac_cv_prog_cc_c89" in
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3492 $as_echo "none needed" >&6; } ;;
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3495 $as_echo "unsupported" >&6; } ;;
3497 CC="$CC $ac_cv_prog_cc_c89"
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3499 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3501 if test "x$ac_cv_prog_cc_c89" != xno; then :
3506 ac_cpp='$CPP $CPPFLAGS'
3507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3511 depcc="$CC" am_compiler_list=
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3514 $as_echo_n "checking dependency style of $depcc... " >&6; }
3515 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3516 $as_echo_n "(cached) " >&6
3518 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3519 # We make a subdir and do the tests there. Otherwise we can end up
3520 # making bogus files that we don't know about and never remove. For
3521 # instance it was reported that on HP-UX the gcc test will end up
3522 # making a dummy file named `D' -- because `-MD' means `put the output
3525 # Copy depcomp to subdir because otherwise we won't find it if we're
3526 # using a relative directory.
3527 cp "$am_depcomp" conftest.dir
3529 # We will build objects and dependencies in a subdirectory because
3530 # it helps to detect inapplicable dependency modes. For instance
3531 # both Tru64's cc and ICC support -MD to output dependencies as a
3532 # side effect of compilation, but ICC will put the dependencies in
3533 # the current directory while Tru64 will put them in the object
3537 am_cv_CC_dependencies_compiler_type=none
3538 if test "$am_compiler_list" = ""; then
3539 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3542 case " $depcc " in #(
3543 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3546 for depmode in $am_compiler_list; do
3547 # Setup a source with many dependencies, because some compilers
3548 # like to wrap large dependency lists on column 80 (with \), and
3549 # we should not choose a depcomp mode which is confused by this.
3551 # We need to recreate these files for each test, as the compiler may
3552 # overwrite some of them when testing with obscure command lines.
3553 # This happens at least with the AIX C compiler.
3555 for i in 1 2 3 4 5 6; do
3556 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3557 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3558 # Solaris 8's {/usr,}/bin/sh.
3559 touch sub/conftst$i.h
3561 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3563 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3564 # mode. It turns out that the SunPro C++ compiler does not properly
3565 # handle `-M -o', and we need to detect this. Also, some Intel
3566 # versions had trouble with output in subdirs
3567 am__obj=sub/conftest.${OBJEXT-o}
3568 am__minus_obj="-o $am__obj"
3571 # This depmode causes a compiler race in universal mode.
3572 test "$am__universal" = false || continue
3575 # after this tag, mechanisms are not by side-effect, so they'll
3576 # only be used when explicitly requested
3577 if test "x$enable_dependency_tracking" = xyes; then
3583 msvisualcpp | msvcmsys)
3584 # This compiler won't grok `-c -o', but also, the minuso test has
3585 # not run yet. These depmodes are late enough in the game, and
3586 # so weak that their functioning should not be impacted.
3587 am__obj=conftest.${OBJEXT-o}
3592 if depmode=$depmode \
3593 source=sub/conftest.c object=$am__obj \
3594 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3595 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3596 >/dev/null 2>conftest.err &&
3597 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3598 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3599 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3600 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3601 # icc doesn't choke on unknown options, it will just issue warnings
3602 # or remarks (even with -Werror). So we grep stderr for any message
3603 # that says an option was ignored or not supported.
3604 # When given -MP, icc 7.0 and 7.1 complain thusly:
3605 # icc: Command line warning: ignoring option '-M'; no argument required
3606 # The diagnosis changed in icc 8.0:
3607 # icc: Command line remark: option '-MP' not supported
3608 if (grep 'ignoring option' conftest.err ||
3609 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3610 am_cv_CC_dependencies_compiler_type=$depmode
3619 am_cv_CC_dependencies_compiler_type=none
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3624 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3625 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3628 test "x$enable_dependency_tracking" != xno \
3629 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3631 am__fastdepCC_FALSE='#'
3633 am__fastdepCC_TRUE='#'
3634 am__fastdepCC_FALSE=
3639 ac_cpp='$CPP $CPPFLAGS'
3640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3644 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3645 # On Suns, sometimes $CPP names a directory.
3646 if test -n "$CPP" && test -d "$CPP"; then
3649 if test -z "$CPP"; then
3650 if test "${ac_cv_prog_CPP+set}" = set; then :
3651 $as_echo_n "(cached) " >&6
3653 # Double quotes because CPP needs to be expanded
3654 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3657 for ac_c_preproc_warn_flag in '' yes
3659 # Use a header file that comes with gcc, so configuring glibc
3660 # with a fresh cross-compiler works.
3661 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3662 # <limits.h> exists even on freestanding compilers.
3663 # On the NeXT, cc -E runs the code through the compiler's parser,
3664 # not just through cpp. "Syntax error" is here to catch this case.
3665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3666 /* end confdefs.h. */
3668 # include <limits.h>
3670 # include <assert.h>
3674 if ac_fn_c_try_cpp "$LINENO"; then :
3677 # Broken: fails on valid input.
3680 rm -f conftest.err conftest.i conftest.$ac_ext
3682 # OK, works on sane cases. Now check whether nonexistent headers
3683 # can be detected and how.
3684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3685 /* end confdefs.h. */
3686 #include <ac_nonexistent.h>
3688 if ac_fn_c_try_cpp "$LINENO"; then :
3689 # Broken: success on invalid input.
3692 # Passes both tests.
3696 rm -f conftest.err conftest.i conftest.$ac_ext
3699 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3700 rm -f conftest.i conftest.err conftest.$ac_ext
3701 if $ac_preproc_ok; then :
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3714 $as_echo "$CPP" >&6; }
3716 for ac_c_preproc_warn_flag in '' yes
3718 # Use a header file that comes with gcc, so configuring glibc
3719 # with a fresh cross-compiler works.
3720 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3721 # <limits.h> exists even on freestanding compilers.
3722 # On the NeXT, cc -E runs the code through the compiler's parser,
3723 # not just through cpp. "Syntax error" is here to catch this case.
3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3727 # include <limits.h>
3729 # include <assert.h>
3733 if ac_fn_c_try_cpp "$LINENO"; then :
3736 # Broken: fails on valid input.
3739 rm -f conftest.err conftest.i conftest.$ac_ext
3741 # OK, works on sane cases. Now check whether nonexistent headers
3742 # can be detected and how.
3743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3744 /* end confdefs.h. */
3745 #include <ac_nonexistent.h>
3747 if ac_fn_c_try_cpp "$LINENO"; then :
3748 # Broken: success on invalid input.
3751 # Passes both tests.
3755 rm -f conftest.err conftest.i conftest.$ac_ext
3758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3759 rm -f conftest.i conftest.err conftest.$ac_ext
3760 if $ac_preproc_ok; then :
3763 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3765 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3766 See \`config.log' for more details" "$LINENO" 5 ; }
3770 ac_cpp='$CPP $CPPFLAGS'
3771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3775 # By default we simply use the C compiler to build assembly code.
3777 test "${CCAS+set}" = set || CCAS=$CC
3778 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3782 depcc="$CCAS" am_compiler_list=
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3785 $as_echo_n "checking dependency style of $depcc... " >&6; }
3786 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
3787 $as_echo_n "(cached) " >&6
3789 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3790 # We make a subdir and do the tests there. Otherwise we can end up
3791 # making bogus files that we don't know about and never remove. For
3792 # instance it was reported that on HP-UX the gcc test will end up
3793 # making a dummy file named `D' -- because `-MD' means `put the output
3796 # Copy depcomp to subdir because otherwise we won't find it if we're
3797 # using a relative directory.
3798 cp "$am_depcomp" conftest.dir
3800 # We will build objects and dependencies in a subdirectory because
3801 # it helps to detect inapplicable dependency modes. For instance
3802 # both Tru64's cc and ICC support -MD to output dependencies as a
3803 # side effect of compilation, but ICC will put the dependencies in
3804 # the current directory while Tru64 will put them in the object
3808 am_cv_CCAS_dependencies_compiler_type=none
3809 if test "$am_compiler_list" = ""; then
3810 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3815 for depmode in $am_compiler_list; do
3816 # Setup a source with many dependencies, because some compilers
3817 # like to wrap large dependency lists on column 80 (with \), and
3818 # we should not choose a depcomp mode which is confused by this.
3820 # We need to recreate these files for each test, as the compiler may
3821 # overwrite some of them when testing with obscure command lines.
3822 # This happens at least with the AIX C compiler.
3824 for i in 1 2 3 4 5 6; do
3825 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3826 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3827 # Solaris 8's {/usr,}/bin/sh.
3828 touch sub/conftst$i.h
3830 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3832 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3833 # mode. It turns out that the SunPro C++ compiler does not properly
3834 # handle `-M -o', and we need to detect this. Also, some Intel
3835 # versions had trouble with output in subdirs
3836 am__obj=sub/conftest.${OBJEXT-o}
3837 am__minus_obj="-o $am__obj"
3840 # This depmode causes a compiler race in universal mode.
3841 test "$am__universal" = false || continue
3844 # after this tag, mechanisms are not by side-effect, so they'll
3845 # only be used when explicitly requested
3846 if test "x$enable_dependency_tracking" = xyes; then
3852 msvisualcpp | msvcmsys)
3853 # This compiler won't grok `-c -o', but also, the minuso test has
3854 # not run yet. These depmodes are late enough in the game, and
3855 # so weak that their functioning should not be impacted.
3856 am__obj=conftest.${OBJEXT-o}
3861 if depmode=$depmode \
3862 source=sub/conftest.c object=$am__obj \
3863 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3864 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3865 >/dev/null 2>conftest.err &&
3866 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3867 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3868 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3869 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3870 # icc doesn't choke on unknown options, it will just issue warnings
3871 # or remarks (even with -Werror). So we grep stderr for any message
3872 # that says an option was ignored or not supported.
3873 # When given -MP, icc 7.0 and 7.1 complain thusly:
3874 # icc: Command line warning: ignoring option '-M'; no argument required
3875 # The diagnosis changed in icc 8.0:
3876 # icc: Command line remark: option '-MP' not supported
3877 if (grep 'ignoring option' conftest.err ||
3878 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3879 am_cv_CCAS_dependencies_compiler_type=$depmode
3888 am_cv_CCAS_dependencies_compiler_type=none
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3893 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3894 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
3897 test "x$enable_dependency_tracking" != xno \
3898 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
3899 am__fastdepCCAS_TRUE=
3900 am__fastdepCCAS_FALSE='#'
3902 am__fastdepCCAS_TRUE='#'
3903 am__fastdepCCAS_FALSE=
3907 if test -n "$ac_tool_prefix"; then
3908 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3909 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3911 $as_echo_n "checking for $ac_word... " >&6; }
3912 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3913 $as_echo_n "(cached) " >&6
3915 if test -n "$RANLIB"; then
3916 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3922 test -z "$as_dir" && as_dir=.
3923 for ac_exec_ext in '' $ac_executable_extensions; do
3924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3925 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3935 RANLIB=$ac_cv_prog_RANLIB
3936 if test -n "$RANLIB"; then
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3938 $as_echo "$RANLIB" >&6; }
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3941 $as_echo "no" >&6; }
3946 if test -z "$ac_cv_prog_RANLIB"; then
3947 ac_ct_RANLIB=$RANLIB
3948 # Extract the first word of "ranlib", so it can be a program name with args.
3949 set dummy ranlib; ac_word=$2
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3951 $as_echo_n "checking for $ac_word... " >&6; }
3952 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3953 $as_echo_n "(cached) " >&6
3955 if test -n "$ac_ct_RANLIB"; then
3956 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3962 test -z "$as_dir" && as_dir=.
3963 for ac_exec_ext in '' $ac_executable_extensions; do
3964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3965 ac_cv_prog_ac_ct_RANLIB="ranlib"
3966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3975 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3976 if test -n "$ac_ct_RANLIB"; then
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3978 $as_echo "$ac_ct_RANLIB" >&6; }
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3981 $as_echo "no" >&6; }
3984 if test "x$ac_ct_RANLIB" = x; then
3987 case $cross_compiling:$ac_tool_warned in
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3991 ac_tool_warned=yes ;;
3993 RANLIB=$ac_ct_RANLIB
3996 RANLIB="$ac_cv_prog_RANLIB"
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4002 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4003 if test "${ac_cv_path_GREP+set}" = set; then :
4004 $as_echo_n "(cached) " >&6
4006 if test -z "$GREP"; then
4007 ac_path_GREP_found=false
4008 # Loop through the user's path and test for each of PROGNAME-LIST
4009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4010 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4013 test -z "$as_dir" && as_dir=.
4014 for ac_prog in grep ggrep; do
4015 for ac_exec_ext in '' $ac_executable_extensions; do
4016 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4017 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4018 # Check for GNU ac_path_GREP and select it if it is found.
4019 # Check for GNU $ac_path_GREP
4020 case `"$ac_path_GREP" --version 2>&1` in
4022 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4025 $as_echo_n 0123456789 >"conftest.in"
4028 cat "conftest.in" "conftest.in" >"conftest.tmp"
4029 mv "conftest.tmp" "conftest.in"
4030 cp "conftest.in" "conftest.nl"
4031 $as_echo 'GREP' >> "conftest.nl"
4032 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4033 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4034 as_fn_arith $ac_count + 1 && ac_count=$as_val
4035 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4036 # Best one so far, save it but keep looking for a better one
4037 ac_cv_path_GREP="$ac_path_GREP"
4038 ac_path_GREP_max=$ac_count
4040 # 10*(2^10) chars as input seems more than enough
4041 test $ac_count -gt 10 && break
4043 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4046 $ac_path_GREP_found && break 3
4051 if test -z "$ac_cv_path_GREP"; then
4052 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4055 ac_cv_path_GREP=$GREP
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4060 $as_echo "$ac_cv_path_GREP" >&6; }
4061 GREP="$ac_cv_path_GREP"
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4065 $as_echo_n "checking for egrep... " >&6; }
4066 if test "${ac_cv_path_EGREP+set}" = set; then :
4067 $as_echo_n "(cached) " >&6
4069 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4070 then ac_cv_path_EGREP="$GREP -E"
4072 if test -z "$EGREP"; then
4073 ac_path_EGREP_found=false
4074 # Loop through the user's path and test for each of PROGNAME-LIST
4075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4079 test -z "$as_dir" && as_dir=.
4080 for ac_prog in egrep; do
4081 for ac_exec_ext in '' $ac_executable_extensions; do
4082 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4083 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4084 # Check for GNU ac_path_EGREP and select it if it is found.
4085 # Check for GNU $ac_path_EGREP
4086 case `"$ac_path_EGREP" --version 2>&1` in
4088 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4091 $as_echo_n 0123456789 >"conftest.in"
4094 cat "conftest.in" "conftest.in" >"conftest.tmp"
4095 mv "conftest.tmp" "conftest.in"
4096 cp "conftest.in" "conftest.nl"
4097 $as_echo 'EGREP' >> "conftest.nl"
4098 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4099 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4100 as_fn_arith $ac_count + 1 && ac_count=$as_val
4101 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4102 # Best one so far, save it but keep looking for a better one
4103 ac_cv_path_EGREP="$ac_path_EGREP"
4104 ac_path_EGREP_max=$ac_count
4106 # 10*(2^10) chars as input seems more than enough
4107 test $ac_count -gt 10 && break
4109 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4112 $ac_path_EGREP_found && break 3
4117 if test -z "$ac_cv_path_EGREP"; then
4118 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4121 ac_cv_path_EGREP=$EGREP
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4127 $as_echo "$ac_cv_path_EGREP" >&6; }
4128 EGREP="$ac_cv_path_EGREP"
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4132 $as_echo_n "checking for ANSI C header files... " >&6; }
4133 if test "${ac_cv_header_stdc+set}" = set; then :
4134 $as_echo_n "(cached) " >&6
4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4151 if ac_fn_c_try_compile "$LINENO"; then :
4152 ac_cv_header_stdc=yes
4154 ac_cv_header_stdc=no
4156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 if test $ac_cv_header_stdc = yes; then
4159 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4166 $EGREP "memchr" >/dev/null 2>&1; then :
4169 ac_cv_header_stdc=no
4175 if test $ac_cv_header_stdc = yes; then
4176 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4183 $EGREP "free" >/dev/null 2>&1; then :
4186 ac_cv_header_stdc=no
4192 if test $ac_cv_header_stdc = yes; then
4193 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4194 if test "$cross_compiling" = yes; then :
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4201 #if ((' ' & 0x0FF) == 0x020)
4202 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4203 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4205 # define ISLOWER(c) \
4206 (('a' <= (c) && (c) <= 'i') \
4207 || ('j' <= (c) && (c) <= 'r') \
4208 || ('s' <= (c) && (c) <= 'z'))
4209 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4212 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4217 for (i = 0; i < 256; i++)
4218 if (XOR (islower (i), ISLOWER (i))
4219 || toupper (i) != TOUPPER (i))
4224 if ac_fn_c_try_run "$LINENO"; then :
4227 ac_cv_header_stdc=no
4229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4230 conftest.$ac_objext conftest.beam conftest.$ac_ext
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4236 $as_echo "$ac_cv_header_stdc" >&6; }
4237 if test $ac_cv_header_stdc = yes; then
4239 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4243 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4244 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4245 inttypes.h stdint.h unistd.h
4247 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4248 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4250 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4251 cat >>confdefs.h <<_ACEOF
4252 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4264 # Check whether --enable-usrp2-firmware was given.
4265 if test "${enable_usrp2_firmware+set}" = set; then :
4266 enableval=$enable_usrp2_firmware;
4269 enable_usrp2_firmware=$enable_all_components
4270 if test x$enable_all_components = xno; then
4280 if test $passed != no; then
4281 if test $passed = yes; then
4282 if test x$usrp2_skipped = xyes; then
4283 { $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
4284 $as_echo "Component usrp2-firmware requires usrp2, which is not being built or specified via pre-installed files." >&6; }
4288 if test x$usrp2_with = xno; then
4289 as_fn_error $? "Component usrp2-firmware requires usrp2 to be included as --with-usrp2-firmware[=arg]" "$LINENO" 5
4301 for ac_header in arpa/inet.h netinet/in.h byteswap.h
4303 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4304 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4305 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4306 cat >>confdefs.h <<_ACEOF
4307 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4315 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4316 if test "${ac_cv_c_bigendian+set}" = set; then :
4317 $as_echo_n "(cached) " >&6
4319 ac_cv_c_bigendian=unknown
4320 # See if we're dealing with a universal compiler.
4321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4322 /* end confdefs.h. */
4323 #ifndef __APPLE_CC__
4324 not a universal capable compiler
4329 if ac_fn_c_try_compile "$LINENO"; then :
4331 # Check for potential -arch flags. It is not universal unless
4332 # there are at least two -arch flags with different values.
4335 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4336 if test -n "$ac_prev"; then
4338 i?86 | x86_64 | ppc | ppc64)
4339 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4342 ac_cv_c_bigendian=universal
4348 elif test "x$ac_word" = "x-arch"; then
4353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4354 if test $ac_cv_c_bigendian = unknown; then
4355 # See if sys/param.h defines the BYTE_ORDER macro.
4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4358 #include <sys/types.h>
4359 #include <sys/param.h>
4364 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4365 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4374 if ac_fn_c_try_compile "$LINENO"; then :
4375 # It does; now see whether it defined to BIG_ENDIAN or not.
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4378 #include <sys/types.h>
4379 #include <sys/param.h>
4384 #if BYTE_ORDER != BIG_ENDIAN
4392 if ac_fn_c_try_compile "$LINENO"; then :
4393 ac_cv_c_bigendian=yes
4395 ac_cv_c_bigendian=no
4397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4401 if test $ac_cv_c_bigendian = unknown; then
4402 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4410 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4418 if ac_fn_c_try_compile "$LINENO"; then :
4419 # It does; now see whether it defined to _BIG_ENDIAN or not.
4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4435 if ac_fn_c_try_compile "$LINENO"; then :
4436 ac_cv_c_bigendian=yes
4438 ac_cv_c_bigendian=no
4440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4444 if test $ac_cv_c_bigendian = unknown; then
4445 # Compile a test program.
4446 if test "$cross_compiling" = yes; then :
4447 # Try to guess by grepping values from an object file.
4448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4449 /* end confdefs.h. */
4450 short int ascii_mm[] =
4451 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4452 short int ascii_ii[] =
4453 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4454 int use_ascii (int i) {
4455 return ascii_mm[i] + ascii_ii[i];
4457 short int ebcdic_ii[] =
4458 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4459 short int ebcdic_mm[] =
4460 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4461 int use_ebcdic (int i) {
4462 return ebcdic_mm[i] + ebcdic_ii[i];
4469 return use_ascii (foo) == use_ebcdic (foo);
4474 if ac_fn_c_try_compile "$LINENO"; then :
4475 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4476 ac_cv_c_bigendian=yes
4478 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4479 if test "$ac_cv_c_bigendian" = unknown; then
4480 ac_cv_c_bigendian=no
4482 # finding both strings is unlikely to happen, but who knows?
4483 ac_cv_c_bigendian=unknown
4487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4491 $ac_includes_default
4496 /* Are we little or big endian? From Harbison&Steele. */
4500 char c[sizeof (long int)];
4503 return u.c[sizeof (long int) - 1] == 1;
4509 if ac_fn_c_try_run "$LINENO"; then :
4510 ac_cv_c_bigendian=no
4512 ac_cv_c_bigendian=yes
4514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4515 conftest.$ac_objext conftest.beam conftest.$ac_ext
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4521 $as_echo "$ac_cv_c_bigendian" >&6; }
4522 case $ac_cv_c_bigendian in #(
4524 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4530 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4534 as_fn_error $? "unknown endianness
4535 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4539 if test $passed = yes; then
4541 # Extract the first word of "mb-gcc", so it can be a program name with args.
4542 set dummy mb-gcc; ac_word=$2
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4544 $as_echo_n "checking for $ac_word... " >&6; }
4545 if test "${ac_cv_prog_MB_GCC+set}" = set; then :
4546 $as_echo_n "(cached) " >&6
4548 if test -n "$MB_GCC"; then
4549 ac_cv_prog_MB_GCC="$MB_GCC" # Let the user override the test.
4551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4555 test -z "$as_dir" && as_dir=.
4556 for ac_exec_ext in '' $ac_executable_extensions; do
4557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4558 ac_cv_prog_MB_GCC="yes"
4559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4566 test -z "$ac_cv_prog_MB_GCC" && ac_cv_prog_MB_GCC="no"
4569 MB_GCC=$ac_cv_prog_MB_GCC
4570 if test -n "$MB_GCC"; then
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MB_GCC" >&5
4572 $as_echo "$MB_GCC" >&6; }
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575 $as_echo "no" >&6; }
4579 if test $MB_GCC = no; then
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: usrp2 firmware requires mb-gcc. Not found" >&5
4581 $as_echo "usrp2 firmware requires mb-gcc. Not found" >&6; }
4585 if test $passed != with; then
4590 ac_config_files="$ac_config_files apps/Makefile include/Makefile lib/Makefile"
4593 if test $passed = yes && test "$enable_usrp2_firmware" != no; then
4594 BUILDING_USRP2_FIRMWARE_TRUE=
4595 BUILDING_USRP2_FIRMWARE_FALSE='#'
4597 BUILDING_USRP2_FIRMWARE_TRUE='#'
4598 BUILDING_USRP2_FIRMWARE_FALSE=
4604 usrp2_firmware_with=no
4605 if test $passed = no; then
4606 if test x$enable_usrp2_firmware = xyes; then
4607 as_fn_error $? "Component usrp2-firmware has errors; stopping." "$LINENO" 5
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component usrp2-firmware." >&5
4610 $as_echo "Not building component usrp2-firmware." >&6; }
4613 if test $passed = with; then
4614 with_dirs="$with_dirs usrp2-firmware"
4616 if test "x${usrp2_firmware_INCLUDES}" != "x"; then
4617 if test "x$with_INCLUDES" = "x"; then
4618 with_INCLUDES="${usrp2_firmware_INCLUDES}"
4620 with_INCLUDES="${usrp2_firmware_INCLUDES}"" ""$with_INCLUDES"
4622 usrp2_firmware_INCLUDES=
4626 if test "x${usrp2_firmware_SWIG_INCLUDES}" != "x"; then
4627 if test "x$with_SWIG_INCLUDES" = "x"; then
4628 with_SWIG_INCLUDES="${usrp2_firmware_SWIG_INCLUDES}"
4630 with_SWIG_INCLUDES="${usrp2_firmware_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
4632 usrp2_firmware_SWIG_INCLUDES=
4636 if test "x${usrp2_firmware_PYDIRPATH}" != "x"; then
4637 if test "x$with_PYDIRPATH" = "x"; then
4638 with_PYDIRPATH="${usrp2_firmware_PYDIRPATH}"
4640 with_PYDIRPATH="${usrp2_firmware_PYDIRPATH}"":""$with_PYDIRPATH"
4642 usrp2_firmware_PYDIRPATH=
4646 if test "x${usrp2_firmware_SWIGDIRPATH}" != "x"; then
4647 if test "x$with_SWIGDIRPATH" = "x"; then
4648 with_SWIGDIRPATH="${usrp2_firmware_SWIGDIRPATH}"
4650 with_SWIGDIRPATH="${usrp2_firmware_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
4652 usrp2_firmware_SWIGDIRPATH=
4656 if test "x${usrp2_firmware_LIBDIRPATH}" != "x"; then
4657 if test "x$with_LIBDIRPATH" = "x"; then
4658 with_LIBDIRPATH="${usrp2_firmware_LIBDIRPATH}"
4660 with_LIBDIRPATH="${usrp2_firmware_LIBDIRPATH}"":""$with_LIBDIRPATH"
4662 usrp2_firmware_LIBDIRPATH=
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2-firmware will be included from a pre-installed library and includes." >&5
4666 $as_echo "Component usrp2-firmware will be included from a pre-installed library and includes." >&6; }
4667 usrp2_firmware_with=yes
4669 usrp2_firmware_LDFLAG=
4670 if test x$enable_usrp2_firmware != xno; then
4672 build_dirs="$build_dirs usrp2-firmware"
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2-firmware passed configuration checks; building." >&5
4674 $as_echo "Component usrp2-firmware passed configuration checks; building." >&6; }
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2-firmware passed configuration checks; but not building." >&5
4678 $as_echo "Component usrp2-firmware passed configuration checks; but not building." >&6; }
4682 if test $passed = no; then
4683 skipped_dirs="$skipped_dirs usrp2-firmware"
4684 usrp2_firmware_skipped=yes
4686 usrp2_firmware_skipped=no
4698 # Each component is now either to be built, was skipped, will be
4699 # included from pre-installed libraries and includes, or failed
4701 build_dirs=$build_dirs
4703 skipped_dirs=$skipped_dirs
4705 with_dirs=$with_dirs
4708 # fix for older autotools that don't define "abs_top_YYY" by default
4712 # 'with' variables - the pre-installed libraries, includes, and paths
4713 # - must always come last in the lists, so they require special
4721 ac_config_files="$ac_config_files Makefile config/Makefile"
4724 cat >confcache <<\_ACEOF
4725 # This file is a shell script that caches the results of configure
4726 # tests run on this system so they can be shared between configure
4727 # scripts and configure runs, see configure's option --config-cache.
4728 # It is not useful on other systems. If it contains results you don't
4729 # want to keep, you may remove or edit it.
4731 # config.status only pays attention to the cache file if you give it
4732 # the --recheck option to rerun configure.
4734 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4735 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4740 # The following way of writing the cache mishandles newlines in values,
4741 # but we know of no workaround that is simple, portable, and efficient.
4742 # So, we kill variables containing newlines.
4743 # Ultrix sh set writes to stderr and can't be redirected directly,
4744 # and sets the high bit in the cache file unless we assign to the vars.
4746 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4747 eval ac_val=\$$ac_var
4751 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4752 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4755 _ | IFS | as_nl) ;; #(
4756 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4757 *) { eval $ac_var=; unset $ac_var;} ;;
4763 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4764 *${as_nl}ac_space=\ *)
4765 # `set' does not quote correctly, so add quotes: double-quote
4766 # substitution turns \\\\ into \\, and sed turns \\ into \.
4769 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4772 # `set' quotes correctly as required by POSIX, so do not add quotes.
4773 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4782 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4784 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4786 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4787 if test -w "$cache_file"; then
4788 test "x$cache_file" != "x/dev/null" &&
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4790 $as_echo "$as_me: updating cache $cache_file" >&6;}
4791 cat confcache >$cache_file
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4794 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4799 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4800 # Let make expand exec_prefix.
4801 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4803 DEFS=-DHAVE_CONFIG_H
4808 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4809 # 1. Remove the extension, and $U if already installed.
4810 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4811 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4812 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4813 # will be set to the directory where LIBOBJS objects are built.
4814 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4815 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4819 LTLIBOBJS=$ac_ltlibobjs
4822 if test -n "$EXEEXT"; then
4824 am__EXEEXT_FALSE='#'
4830 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4831 as_fn_error $? "conditional \"AMDEP\" was never defined.
4832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4834 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4835 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4838 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
4839 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
4840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4843 if test -z "${BUILDING_USRP2_FIRMWARE_TRUE}" && test -z "${BUILDING_USRP2_FIRMWARE_FALSE}"; then
4844 as_fn_error $? "conditional \"BUILDING_USRP2_FIRMWARE\" was never defined.
4845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4848 : ${CONFIG_STATUS=./config.status}
4850 ac_clean_files_save=$ac_clean_files
4851 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4853 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4855 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4857 # Generated by $as_me.
4858 # Run this file to recreate the current configuration.
4859 # Compiler output produced by configure, useful for debugging
4860 # configure, is in config.log if it exists.
4866 SHELL=\${CONFIG_SHELL-$SHELL}
4869 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4870 ## -------------------- ##
4871 ## M4sh Initialization. ##
4872 ## -------------------- ##
4874 # Be more Bourne compatible
4875 DUALCASE=1; export DUALCASE # for MKS sh
4876 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4879 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4880 # is contrary to our usage. Disable this feature.
4881 alias -g '${1+"$@"}'='"$@"'
4882 setopt NO_GLOB_SUBST
4884 case `(set -o) 2>/dev/null` in #(
4896 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4897 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4898 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4899 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4900 # Prefer a ksh shell builtin over an external printf program on Solaris,
4901 # but without wasting forks for bash or zsh.
4902 if test -z "$BASH_VERSION$ZSH_VERSION" \
4903 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4904 as_echo='print -r --'
4905 as_echo_n='print -rn --'
4906 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4907 as_echo='printf %s\n'
4908 as_echo_n='printf %s'
4910 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4911 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4912 as_echo_n='/usr/ucb/echo -n'
4914 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4915 as_echo_n_body='eval
4919 expr "X$arg" : "X\\(.*\\)$as_nl";
4920 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4922 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4924 export as_echo_n_body
4925 as_echo_n='sh -c $as_echo_n_body as_echo'
4928 as_echo='sh -c $as_echo_body as_echo'
4931 # The user is always right.
4932 if test "${PATH_SEPARATOR+set}" != set; then
4934 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4935 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4942 # We need space, tab and new line, in precisely that order. Quoting is
4943 # there to prevent editors from complaining about space-tab.
4944 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4945 # splitting by setting IFS to empty value.)
4948 # Find who we are. Look in the path if we contain no directory separator.
4950 *[\\/]* ) as_myself=$0 ;;
4951 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955 test -z "$as_dir" && as_dir=.
4956 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4962 # We did not find ourselves, most probably we were run as `sh COMMAND'
4963 # in which case we are not to be found in the path.
4964 if test "x$as_myself" = x; then
4967 if test ! -f "$as_myself"; then
4968 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4972 # Unset variables that we do not need and which cause bugs (e.g. in
4973 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4974 # suppresses any "Segmentation fault" message there. '((' could
4975 # trigger a bug in pdksh 5.2.14.
4976 for as_var in BASH_ENV ENV MAIL MAILPATH
4977 do eval test x\${$as_var+set} = xset \
4978 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4991 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4994 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4995 # ----------------------------------------
4996 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4997 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4998 # script with STATUS, using 1 if that was 0.
5001 as_status=$1; test $as_status -eq 0 && as_status=1
5003 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5004 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5006 $as_echo "$as_me: error: $2" >&2
5007 as_fn_exit $as_status
5011 # as_fn_set_status STATUS
5012 # -----------------------
5013 # Set $? to STATUS, without forking.
5017 } # as_fn_set_status
5021 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5031 # Portably unset VAR.
5034 { eval $1=; unset $1;}
5036 as_unset=as_fn_unset
5037 # as_fn_append VAR VALUE
5038 # ----------------------
5039 # Append the text in VALUE to the end of the definition contained in VAR. Take
5040 # advantage of any shell optimizations that allow amortized linear growth over
5041 # repeated appends, instead of the typical quadratic growth present in naive
5043 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5044 eval 'as_fn_append ()
5055 # as_fn_arith ARG...
5056 # ------------------
5057 # Perform arithmetic evaluation on the ARGs, and store the result in the
5058 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5059 # must be portable across $(()) and expr.
5060 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5061 eval 'as_fn_arith ()
5068 as_val=`expr "$@" || test $? -eq 1`
5073 if expr a : '\(a\)' >/dev/null 2>&1 &&
5074 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5080 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5081 as_basename=basename
5086 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5092 as_me=`$as_basename -- "$0" ||
5093 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5094 X"$0" : 'X\(//\)$' \| \
5095 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5097 sed '/^.*\/\([^/][^/]*\)\/*$/{
5111 # Avoid depending upon Character Ranges.
5112 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5113 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5114 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5115 as_cr_digits='0123456789'
5116 as_cr_alnum=$as_cr_Letters$as_cr_digits
5118 ECHO_C= ECHO_N= ECHO_T=
5119 case `echo -n x` in #(((((
5121 case `echo 'xy\c'` in
5122 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5124 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5131 rm -f conf$$ conf$$.exe conf$$.file
5132 if test -d conf$$.dir; then
5133 rm -f conf$$.dir/conf$$.file
5136 mkdir conf$$.dir 2>/dev/null
5138 if (echo >conf$$.file) 2>/dev/null; then
5139 if ln -s conf$$.file conf$$ 2>/dev/null; then
5141 # ... but there are two gotchas:
5142 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5143 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5144 # In both cases, we have to default to `cp -p'.
5145 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5147 elif ln conf$$.file conf$$ 2>/dev/null; then
5155 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5156 rmdir conf$$.dir 2>/dev/null
5161 # Create "$as_dir" as a directory, including parents if necessary.
5166 -*) as_dir=./$as_dir;;
5168 test -d "$as_dir" || eval $as_mkdir_p || {
5172 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5173 *) as_qdir=$as_dir;;
5175 as_dirs="'$as_qdir' $as_dirs"
5176 as_dir=`$as_dirname -- "$as_dir" ||
5177 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5178 X"$as_dir" : 'X\(//\)[^/]' \| \
5179 X"$as_dir" : 'X\(//\)$' \| \
5180 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5181 $as_echo X"$as_dir" |
5182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5199 test -d "$as_dir" && break
5201 test -z "$as_dirs" || eval "mkdir $as_dirs"
5202 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5206 if mkdir -p . 2>/dev/null; then
5207 as_mkdir_p='mkdir -p "$as_dir"'
5209 test -d ./-p && rmdir ./-p
5213 if test -x / >/dev/null 2>&1; then
5216 if ls -dL / >/dev/null 2>&1; then
5223 if test -d "$1"; then
5229 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5230 ???[sx]*):;;*)false;;esac;fi
5234 as_executable_p=$as_test_x
5236 # Sed expression to map a string onto a valid CPP name.
5237 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5239 # Sed expression to map a string onto a valid variable name.
5240 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5244 ## ----------------------------------- ##
5245 ## Main body of $CONFIG_STATUS script. ##
5246 ## ----------------------------------- ##
5248 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5251 # Save the log message, to keep $0 and so on meaningful, and to
5252 # report actual input values of CONFIG_FILES etc. instead of their
5253 # values after options handling.
5255 This file was extended by $as_me, which was
5256 generated by GNU Autoconf 2.67. Invocation command line was
5258 CONFIG_FILES = $CONFIG_FILES
5259 CONFIG_HEADERS = $CONFIG_HEADERS
5260 CONFIG_LINKS = $CONFIG_LINKS
5261 CONFIG_COMMANDS = $CONFIG_COMMANDS
5264 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5269 case $ac_config_files in *"
5270 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5273 case $ac_config_headers in *"
5274 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5279 # Files that config.status was made for.
5280 config_files="$ac_config_files"
5281 config_headers="$ac_config_headers"
5282 config_commands="$ac_config_commands"
5286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5288 \`$as_me' instantiates files and other configuration actions
5289 from templates according to the current configuration. Unless the files
5290 and actions are specified as TAGs, all are instantiated by default.
5292 Usage: $0 [OPTION]... [TAG]...
5294 -h, --help print this help, then exit
5295 -V, --version print version number and configuration settings, then exit
5296 --config print configuration, then exit
5297 -q, --quiet, --silent
5298 do not print progress messages
5299 -d, --debug don't remove temporary files
5300 --recheck update $as_me by reconfiguring in the same conditions
5301 --file=FILE[:TEMPLATE]
5302 instantiate the configuration file FILE
5303 --header=FILE[:TEMPLATE]
5304 instantiate the configuration header FILE
5306 Configuration files:
5309 Configuration headers:
5312 Configuration commands:
5315 Report bugs to the package provider."
5318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5319 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5322 configured by $0, generated by GNU Autoconf 2.67,
5323 with options \\"\$ac_cs_config\\"
5325 Copyright (C) 2010 Free Software Foundation, Inc.
5326 This config.status script is free software; the Free Software Foundation
5327 gives unlimited permission to copy, distribute and modify it."
5334 test -n "\$AWK" || AWK=awk
5337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5338 # The default lists apply if the user does not specify any file.
5344 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5345 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5349 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5361 # Handling of the options.
5362 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5364 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5365 $as_echo "$ac_cs_version"; exit ;;
5366 --config | --confi | --conf | --con | --co | --c )
5367 $as_echo "$ac_cs_config"; exit ;;
5368 --debug | --debu | --deb | --de | --d | -d )
5370 --file | --fil | --fi | --f )
5373 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5374 '') as_fn_error $? "missing file argument" ;;
5376 as_fn_append CONFIG_FILES " '$ac_optarg'"
5377 ac_need_defaults=false;;
5378 --header | --heade | --head | --hea )
5381 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5383 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5384 ac_need_defaults=false;;
5386 # Conflict between --help and --header
5387 as_fn_error $? "ambiguous option: \`$1'
5388 Try \`$0 --help' for more information.";;
5389 --help | --hel | -h )
5390 $as_echo "$ac_cs_usage"; exit ;;
5391 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5392 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5396 -*) as_fn_error $? "unrecognized option: \`$1'
5397 Try \`$0 --help' for more information." ;;
5399 *) as_fn_append ac_config_targets " $1"
5400 ac_need_defaults=false ;;
5406 ac_configure_extra_args=
5408 if $ac_cs_silent; then
5410 ac_configure_extra_args="$ac_configure_extra_args --silent"
5414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5415 if \$ac_cs_recheck; then
5416 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5418 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5419 CONFIG_SHELL='$SHELL'
5425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5429 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5430 ## Running $as_me. ##
5436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5440 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5446 # Handling of arguments.
5447 for ac_config_target in $ac_config_targets
5449 case $ac_config_target in
5450 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5451 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5452 "apps/Makefile") CONFIG_FILES="$CONFIG_FILES apps/Makefile" ;;
5453 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
5454 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
5455 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5456 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
5458 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
5463 # If the user did not use the arguments to specify the items to instantiate,
5464 # then the envvar interface is used. Set only those that are not.
5465 # We use the long form for the default assignment because of an extremely
5466 # bizarre bug on SunOS 4.1.3.
5467 if $ac_need_defaults; then
5468 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5469 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5470 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5473 # Have a temporary directory for convenience. Make it in the build tree
5474 # simply because there is no reason against having it here, and in addition,
5475 # creating and moving files from /tmp can sometimes cause problems.
5476 # Hook for its removal unless debugging.
5477 # Note that there is a small window in which the directory will not be cleaned:
5478 # after its creation but before its name has been assigned to `$tmp'.
5482 trap 'exit_status=$?
5483 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5485 trap 'as_fn_exit 1' 1 2 13 15
5487 # Create a (secure) tmp directory for tmp files.
5490 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5491 test -n "$tmp" && test -d "$tmp"
5494 tmp=./conf$$-$RANDOM
5495 (umask 077 && mkdir "$tmp")
5496 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5498 # Set up the scripts for CONFIG_FILES section.
5499 # No need to generate them if there are no CONFIG_FILES.
5500 # This happens for instance with `./config.status config.h'.
5501 if test -n "$CONFIG_FILES"; then
5504 ac_cr=`echo X | tr X '\015'`
5505 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5506 # But we know of no other shell where ac_cr would be empty at this
5507 # point, so we can use a bashism as a fallback.
5508 if test "x$ac_cr" = x; then
5509 eval ac_cr=\$\'\\r\'
5511 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5512 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5518 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5523 echo "cat >conf$$subs.awk <<_ACEOF" &&
5524 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5527 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5528 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5530 for ac_last_try in false false false false false :; do
5531 . ./conf$$subs.sh ||
5532 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5534 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5535 if test $ac_delim_n = $ac_delim_num; then
5537 elif $ac_last_try; then
5538 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5540 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5546 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5550 s/^/S["/; s/!.*/"]=/
5560 s/\(.\{148\}\)..*/\1/
5562 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5567 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5574 s/\(.\{148\}\)..*/\1/
5576 s/["\\]/\\&/g; s/^/"/; s/$/"/
5580 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5585 ' <conf$$subs.awk | sed '
5590 ' >>$CONFIG_STATUS || ac_write_fail=1
5591 rm -f conf$$subs.awk
5592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5594 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5595 for (key in S) S_is_set[key] = 1
5601 nfields = split(line, field, "@")
5603 len = length(field[1])
5604 for (i = 2; i < nfields; i++) {
5606 keylen = length(key)
5607 if (S_is_set[key]) {
5609 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5610 len += length(value) + length(field[++i])
5621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5622 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5623 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5626 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5627 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5630 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5631 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5632 # trailing colons and then remove the whole line if VPATH becomes empty
5633 # (actually we leave an empty line to preserve line numbers).
5634 if test "x$srcdir" = x.; then
5635 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5654 fi # test -n "$CONFIG_FILES"
5656 # Set up the scripts for CONFIG_HEADERS section.
5657 # No need to generate them if there are no CONFIG_HEADERS.
5658 # This happens for instance with `./config.status Makefile'.
5659 if test -n "$CONFIG_HEADERS"; then
5660 cat >"$tmp/defines.awk" <<\_ACAWK ||
5664 # Transform confdefs.h into an awk script `defines.awk', embedded as
5665 # here-document in config.status, that substitutes the proper values into
5666 # config.h.in to produce config.h.
5668 # Create a delimiter string that does not exist in confdefs.h, to ease
5669 # handling of long lines.
5671 for ac_last_try in false false :; do
5672 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5673 if test -z "$ac_t"; then
5675 elif $ac_last_try; then
5676 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5678 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5682 # For the awk script, D is an array of macro values keyed by name,
5683 # likewise P contains macro parameters if any. Preserve backslash
5684 # newline sequences.
5686 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5688 s/.\{148\}/&'"$ac_delim"'/g
5691 s/^[ ]*#[ ]*define[ ][ ]*/ /
5698 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5700 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5704 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5705 D["\1"]=" \3\\\\\\n"\\/p
5707 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5712 s/.\{148\}/&'"$ac_delim"'/g
5717 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5720 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5722 ' <confdefs.h | sed '
5723 s/'"$ac_delim"'/"\\\
5724 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5727 for (key in D) D_is_set[key] = 1
5730 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5732 split(line, arg, " ")
5733 if (arg[1] == "#") {
5737 defundef = substr(arg[1], 2)
5740 split(mac1, mac2, "(") #)
5742 prefix = substr(line, 1, index(line, defundef) - 1)
5743 if (D_is_set[macro]) {
5744 # Preserve the white space surrounding the "#".
5745 print prefix "define", macro P[macro] D[macro]
5748 # Replace #undef with comments. This is necessary, for example,
5749 # in the case of _POSIX_SOURCE, which is predefined and required
5750 # on some systems where configure will not decide to define it.
5751 if (defundef == "undef") {
5752 print "/*", prefix defundef, macro, "*/"
5760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5761 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5762 fi # test -n "$CONFIG_HEADERS"
5765 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5770 :[FHLC]) ac_mode=$ac_tag; continue;;
5772 case $ac_mode$ac_tag in
5774 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
5775 :[FH]-) ac_tag=-:-;;
5776 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5793 -) ac_f="$tmp/stdin";;
5794 *) # Look for the file first in the build tree, then in the source tree
5795 # (if the path is not absolute). The absolute path cannot be DOS-style,
5796 # because $ac_f cannot contain `:'.
5800 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5802 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
5804 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5805 as_fn_append ac_file_inputs " '$ac_f'"
5808 # Let's still pretend it is `configure' which instantiates (i.e., don't
5809 # use $as_me), people would be surprised to read:
5810 # /* config.h. Generated by config.status. */
5811 configure_input='Generated from '`
5812 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5814 if test x"$ac_file" != x-; then
5815 configure_input="$ac_file. $configure_input"
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5817 $as_echo "$as_me: creating $ac_file" >&6;}
5819 # Neutralize special characters interpreted by sed in replacement strings.
5820 case $configure_input in #(
5821 *\&* | *\|* | *\\* )
5822 ac_sed_conf_input=`$as_echo "$configure_input" |
5823 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5824 *) ac_sed_conf_input=$configure_input;;
5828 *:-:* | *:-) cat >"$tmp/stdin" \
5829 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5834 ac_dir=`$as_dirname -- "$ac_file" ||
5835 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5836 X"$ac_file" : 'X\(//\)[^/]' \| \
5837 X"$ac_file" : 'X\(//\)$' \| \
5838 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5839 $as_echo X"$ac_file" |
5840 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5857 as_dir="$ac_dir"; as_fn_mkdir_p
5861 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5863 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5864 # A ".." for each directory in $ac_dir_suffix.
5865 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5866 case $ac_top_builddir_sub in
5867 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5868 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5871 ac_abs_top_builddir=$ac_pwd
5872 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5873 # for backward compatibility:
5874 ac_top_builddir=$ac_top_build_prefix
5877 .) # We are building in place.
5879 ac_top_srcdir=$ac_top_builddir_sub
5880 ac_abs_top_srcdir=$ac_pwd ;;
5881 [\\/]* | ?:[\\/]* ) # Absolute name.
5882 ac_srcdir=$srcdir$ac_dir_suffix;
5883 ac_top_srcdir=$srcdir
5884 ac_abs_top_srcdir=$srcdir ;;
5886 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5887 ac_top_srcdir=$ac_top_build_prefix$srcdir
5888 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5890 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5900 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5901 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5905 [\\/$]* | ?:[\\/]* ) ;;
5906 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5911 # If the template does not know about datarootdir, expand it.
5912 # FIXME: This hack should be removed a few years after 2.60.
5913 ac_datarootdir_hack=; ac_datarootdir_seen=
5924 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5925 *datarootdir*) ac_datarootdir_seen=yes;;
5926 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5928 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5931 ac_datarootdir_hack='
5932 s&@datadir@&$datadir&g
5933 s&@docdir@&$docdir&g
5934 s&@infodir@&$infodir&g
5935 s&@localedir@&$localedir&g
5936 s&@mandir@&$mandir&g
5937 s&\\\${datarootdir}&$datarootdir&g' ;;
5941 # Neutralize VPATH when `$srcdir' = `.'.
5942 # Shell code in configure.ac might set extrasub.
5943 # FIXME: do we really want to maintain this feature?
5944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5945 ac_sed_extra="$ac_vpsub
5948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5950 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5951 s|@configure_input@|$ac_sed_conf_input|;t t
5952 s&@top_builddir@&$ac_top_builddir_sub&;t t
5953 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5954 s&@srcdir@&$ac_srcdir&;t t
5955 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5956 s&@top_srcdir@&$ac_top_srcdir&;t t
5957 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5958 s&@builddir@&$ac_builddir&;t t
5959 s&@abs_builddir@&$ac_abs_builddir&;t t
5960 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5961 s&@INSTALL@&$ac_INSTALL&;t t
5962 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5963 $ac_datarootdir_hack
5965 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5966 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5968 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5969 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5970 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5972 which seems to be undefined. Please make sure it is defined" >&5
5973 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5974 which seems to be undefined. Please make sure it is defined" >&2;}
5978 -) cat "$tmp/out" && rm -f "$tmp/out";;
5979 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5981 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5987 if test x"$ac_file" != x-; then
5989 $as_echo "/* $configure_input */" \
5990 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5991 } >"$tmp/config.h" \
5992 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5993 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5995 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5998 mv "$tmp/config.h" "$ac_file" \
5999 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6002 $as_echo "/* $configure_input */" \
6003 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6004 || as_fn_error $? "could not create -" "$LINENO" 5
6006 # Compute "$ac_file"'s index in $config_headers.
6009 for _am_header in $config_headers :; do
6011 $_am_arg | $_am_arg:* )
6014 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6017 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6018 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6019 X"$_am_arg" : 'X\(//\)[^/]' \| \
6020 X"$_am_arg" : 'X\(//\)$' \| \
6021 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6022 $as_echo X"$_am_arg" |
6023 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6039 s/.*/./; q'`/stamp-h$_am_stamp_count
6042 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6043 $as_echo "$as_me: executing $ac_file commands" >&6;}
6048 case $ac_file$ac_mode in
6049 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6050 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6051 # are listed without --file. Let's play safe and only enable the eval
6052 # if we detect the quoting.
6053 case $CONFIG_FILES in
6054 *\'*) eval set x "$CONFIG_FILES" ;;
6055 *) set x $CONFIG_FILES ;;
6060 # Strip MF so we end up with the name of the file.
6061 mf=`echo "$mf" | sed -e 's/:.*$//'`
6062 # Check whether this is an Automake generated Makefile or not.
6063 # We used to match only the files named `Makefile.in', but
6064 # some people rename them; so instead we look at the file content.
6065 # Grep'ing the first line is not enough: some people post-process
6066 # each Makefile.in and add a new line on top of each file to say so.
6067 # Grep'ing the whole file is not good either: AIX grep has a line
6068 # limit of 2048, but all sed's we know have understand at least 4000.
6069 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6070 dirpart=`$as_dirname -- "$mf" ||
6071 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6072 X"$mf" : 'X\(//\)[^/]' \| \
6073 X"$mf" : 'X\(//\)$' \| \
6074 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6096 # Extract the definition of DEPDIR, am__include, and am__quote
6097 # from the Makefile without running `make'.
6098 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6099 test -z "$DEPDIR" && continue
6100 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6101 test -z "am__include" && continue
6102 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6103 # When using ansi2knr, U may be empty or an underscore; expand it
6104 U=`sed -n 's/^U = //p' < "$mf"`
6105 # Find all dependency output files, they are included files with
6106 # $(DEPDIR) in their names. We invoke sed twice because it is the
6107 # simplest approach to changing $(DEPDIR) to its actual value in the
6109 for file in `sed -n "
6110 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6111 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6112 # Make sure the directory exists.
6113 test -f "$dirpart/$file" && continue
6114 fdir=`$as_dirname -- "$file" ||
6115 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6116 X"$file" : 'X\(//\)[^/]' \| \
6117 X"$file" : 'X\(//\)$' \| \
6118 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6137 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6138 # echo "creating $dirpart/$file"
6139 echo '# dummy' > "$dirpart/$file"
6151 ac_clean_files=$ac_clean_files_save
6153 test $ac_write_fail = 0 ||
6154 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6157 # configure is writing to config.log, and then calls config.status.
6158 # config.status does its own redirection, appending to config.log.
6159 # Unfortunately, on DOS this fails, as config.log is still kept open
6160 # by configure, so config.status won't be able to write to it; its
6161 # output is simply discarded. So we exec the FD to /dev/null,
6162 # effectively closing config.log, so it can be properly (re)opened and
6163 # appended to by config.status. When coming back to configure, we
6164 # need to make the FD available again.
6165 if test "$no_create" != yes; then
6167 ac_config_status_args=
6168 test "$silent" = yes &&
6169 ac_config_status_args="$ac_config_status_args --quiet"
6171 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6173 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6174 # would make configure fail if this is the last instruction.
6175 $ac_cs_success || as_fn_exit 1
6177 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6179 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6184 # trim usrp2 out of dirs; we only use it as a controlling dependency
6187 for d in $build_dirs
6189 if test $d != usrp2; then
6190 if test -z "$t"; then
6200 for d in $skipped_dirs
6202 if test $d != usrp2; then
6203 if test -z "$t"; then
6215 if test $d != usrp2; then
6216 if test -z "$t"; then
6225 if test "$build_dirs" != ""; then
6227 echo "*********************************************************************"
6228 echo The following GNU Radio components have been successfully configured:
6230 for dir in $build_dirs
6235 echo You my now run the 'make' command to build these components.
6239 if test "$skipped_dirs" != ""; then
6240 echo "*********************************************************************"
6241 echo The following components were skipped either because you asked not
6242 echo to build them or they didn\'t pass configuration checks:
6244 for dir in $skipped_dirs
6249 echo These components will not be built.
6252 if test "$with_dirs" != ""; then
6253 echo "*********************************************************************"
6254 echo The following components will be included from pre-installed
6255 echo libraries and includes:
6257 for dir in $with_dirs
6262 echo These components will not be built.