2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir=.
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
277 CONFIG_SHELL=$as_shell
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
305 as_func_ret_success () {
308 as_func_ret_failure () {
313 if as_func_success; then
317 echo as_func_success failed.
320 if as_func_failure; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492 ECHO_C= ECHO_N= ECHO_T=
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 elif ln conf$$.file conf$$ 2>/dev/null; then
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
539 test -d ./-p && rmdir ./-p
543 if test -x / >/dev/null 2>&1; then
546 if ls -dL / >/dev/null 2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev/null 6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix=/usr/local
586 ac_config_libobj_dir=.
592 SHELL=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
601 ac_unique_file="lib/u2_init.c"
602 # Factoring default headers for most tests.
603 ac_includes_default="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
638 ac_subst_vars='LTLIBOBJS
650 usrp2_firmware_LDFLAG
651 usrp2_firmware_LIBDIRPATH
652 usrp2_firmware_INCLUDEDIR
654 usrp2_firmware_INCLUDES
655 BUILDING_USRP2_FIRMWARE_FALSE
656 BUILDING_USRP2_FIRMWARE_TRUE
661 am__fastdepCCAS_FALSE
696 INSTALL_STRIP_PROGRAM
738 program_transform_name
750 enable_option_checking
751 enable_all_components
753 enable_usrp2_firmware
754 enable_dependency_tracking
756 ac_precious_vars='build_alias
769 # Initialize some variables set by options.
771 ac_init_version=false
772 ac_unrecognized_opts=
774 # The variables have the same names as the options, with
775 # dashes changed to underlines.
783 program_transform_name=s,x,x,
791 # Installation directory options.
792 # These are left unexpanded so users can "make install exec_prefix=/foo"
793 # and all the variables that are supposed to be based on exec_prefix
794 # by default will actually change.
795 # Use braces instead of parens because sh, perl, etc. also accept them.
796 # (The list follows the same order as the GNU Coding Standards.)
797 bindir='${exec_prefix}/bin'
798 sbindir='${exec_prefix}/sbin'
799 libexecdir='${exec_prefix}/libexec'
800 datarootdir='${prefix}/share'
801 datadir='${datarootdir}'
802 sysconfdir='${prefix}/etc'
803 sharedstatedir='${prefix}/com'
804 localstatedir='${prefix}/var'
805 includedir='${prefix}/include'
806 oldincludedir='/usr/include'
807 docdir='${datarootdir}/doc/${PACKAGE}'
808 infodir='${datarootdir}/info'
813 libdir='${exec_prefix}/lib'
814 localedir='${datarootdir}/locale'
815 mandir='${datarootdir}/man'
821 # If the previous option needs an argument, assign it.
822 if test -n "$ac_prev"; then
823 eval $ac_prev=\$ac_option
829 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
833 # Accept the important Cygnus configure options, so we can diagnose typos.
835 case $ac_dashdash$ac_option in
839 -bindir | --bindir | --bindi | --bind | --bin | --bi)
841 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
844 -build | --build | --buil | --bui | --bu)
845 ac_prev=build_alias ;;
846 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
847 build_alias=$ac_optarg ;;
849 -cache-file | --cache-file | --cache-fil | --cache-fi \
850 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
851 ac_prev=cache_file ;;
852 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
853 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
854 cache_file=$ac_optarg ;;
857 cache_file=config.cache ;;
859 -datadir | --datadir | --datadi | --datad)
861 -datadir=* | --datadir=* | --datadi=* | --datad=*)
862 datadir=$ac_optarg ;;
864 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
865 | --dataroo | --dataro | --datar)
866 ac_prev=datarootdir ;;
867 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
868 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
869 datarootdir=$ac_optarg ;;
871 -disable-* | --disable-*)
872 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
873 # Reject names that are not valid shell variable names.
874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
875 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
876 { (exit 1); exit 1; }; }
877 ac_useropt_orig=$ac_useropt
878 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
879 case $ac_user_opts in
883 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
884 ac_unrecognized_sep=', ';;
886 eval enable_$ac_useropt=no ;;
888 -docdir | --docdir | --docdi | --doc | --do)
890 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
893 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
895 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
898 -enable-* | --enable-*)
899 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
902 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
903 { (exit 1); exit 1; }; }
904 ac_useropt_orig=$ac_useropt
905 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
906 case $ac_user_opts in
910 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
911 ac_unrecognized_sep=', ';;
913 eval enable_$ac_useropt=\$ac_optarg ;;
915 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
916 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
917 | --exec | --exe | --ex)
918 ac_prev=exec_prefix ;;
919 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
920 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
921 | --exec=* | --exe=* | --ex=*)
922 exec_prefix=$ac_optarg ;;
924 -gas | --gas | --ga | --g)
925 # Obsolete; use --with-gas.
928 -help | --help | --hel | --he | -h)
930 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
931 ac_init_help=recursive ;;
932 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
933 ac_init_help=short ;;
935 -host | --host | --hos | --ho)
936 ac_prev=host_alias ;;
937 -host=* | --host=* | --hos=* | --ho=*)
938 host_alias=$ac_optarg ;;
940 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
942 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
944 htmldir=$ac_optarg ;;
946 -includedir | --includedir | --includedi | --included | --include \
947 | --includ | --inclu | --incl | --inc)
948 ac_prev=includedir ;;
949 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
950 | --includ=* | --inclu=* | --incl=* | --inc=*)
951 includedir=$ac_optarg ;;
953 -infodir | --infodir | --infodi | --infod | --info | --inf)
955 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
956 infodir=$ac_optarg ;;
958 -libdir | --libdir | --libdi | --libd)
960 -libdir=* | --libdir=* | --libdi=* | --libd=*)
963 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
964 | --libexe | --libex | --libe)
965 ac_prev=libexecdir ;;
966 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
967 | --libexe=* | --libex=* | --libe=*)
968 libexecdir=$ac_optarg ;;
970 -localedir | --localedir | --localedi | --localed | --locale)
972 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
973 localedir=$ac_optarg ;;
975 -localstatedir | --localstatedir | --localstatedi | --localstated \
976 | --localstate | --localstat | --localsta | --localst | --locals)
977 ac_prev=localstatedir ;;
978 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
979 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
980 localstatedir=$ac_optarg ;;
982 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
984 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
988 # Obsolete; use --without-fp.
991 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
992 | --no-cr | --no-c | -n)
995 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
996 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
999 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1000 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1001 | --oldin | --oldi | --old | --ol | --o)
1002 ac_prev=oldincludedir ;;
1003 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1004 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1005 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1006 oldincludedir=$ac_optarg ;;
1008 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1010 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1011 prefix=$ac_optarg ;;
1013 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1014 | --program-pre | --program-pr | --program-p)
1015 ac_prev=program_prefix ;;
1016 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1017 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1018 program_prefix=$ac_optarg ;;
1020 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1021 | --program-suf | --program-su | --program-s)
1022 ac_prev=program_suffix ;;
1023 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1024 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1025 program_suffix=$ac_optarg ;;
1027 -program-transform-name | --program-transform-name \
1028 | --program-transform-nam | --program-transform-na \
1029 | --program-transform-n | --program-transform- \
1030 | --program-transform | --program-transfor \
1031 | --program-transfo | --program-transf \
1032 | --program-trans | --program-tran \
1033 | --progr-tra | --program-tr | --program-t)
1034 ac_prev=program_transform_name ;;
1035 -program-transform-name=* | --program-transform-name=* \
1036 | --program-transform-nam=* | --program-transform-na=* \
1037 | --program-transform-n=* | --program-transform-=* \
1038 | --program-transform=* | --program-transfor=* \
1039 | --program-transfo=* | --program-transf=* \
1040 | --program-trans=* | --program-tran=* \
1041 | --progr-tra=* | --program-tr=* | --program-t=*)
1042 program_transform_name=$ac_optarg ;;
1044 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1046 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1047 pdfdir=$ac_optarg ;;
1049 -psdir | --psdir | --psdi | --psd | --ps)
1051 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1055 | -silent | --silent | --silen | --sile | --sil)
1058 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1060 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1062 sbindir=$ac_optarg ;;
1064 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1065 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1066 | --sharedst | --shareds | --shared | --share | --shar \
1068 ac_prev=sharedstatedir ;;
1069 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1070 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1071 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1073 sharedstatedir=$ac_optarg ;;
1075 -site | --site | --sit)
1077 -site=* | --site=* | --sit=*)
1080 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1082 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1083 srcdir=$ac_optarg ;;
1085 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1086 | --syscon | --sysco | --sysc | --sys | --sy)
1087 ac_prev=sysconfdir ;;
1088 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1089 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1090 sysconfdir=$ac_optarg ;;
1092 -target | --target | --targe | --targ | --tar | --ta | --t)
1093 ac_prev=target_alias ;;
1094 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1095 target_alias=$ac_optarg ;;
1097 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1100 -version | --version | --versio | --versi | --vers | -V)
1101 ac_init_version=: ;;
1104 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1105 # Reject names that are not valid shell variable names.
1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1108 { (exit 1); exit 1; }; }
1109 ac_useropt_orig=$ac_useropt
1110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1116 ac_unrecognized_sep=', ';;
1118 eval with_$ac_useropt=\$ac_optarg ;;
1120 -without-* | --without-*)
1121 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1124 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1125 { (exit 1); exit 1; }; }
1126 ac_useropt_orig=$ac_useropt
1127 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128 case $ac_user_opts in
1132 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1133 ac_unrecognized_sep=', ';;
1135 eval with_$ac_useropt=no ;;
1138 # Obsolete; use --with-x.
1141 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1142 | --x-incl | --x-inc | --x-in | --x-i)
1143 ac_prev=x_includes ;;
1144 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1145 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1146 x_includes=$ac_optarg ;;
1148 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1149 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1150 ac_prev=x_libraries ;;
1151 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1152 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1153 x_libraries=$ac_optarg ;;
1155 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1156 Try \`$0 --help' for more information." >&2
1157 { (exit 1); exit 1; }; }
1161 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1162 # Reject names that are not valid shell variable names.
1163 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1164 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1165 { (exit 1); exit 1; }; }
1166 eval $ac_envvar=\$ac_optarg
1167 export $ac_envvar ;;
1170 # FIXME: should be removed in autoconf 3.0.
1171 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1172 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1173 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1174 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1180 if test -n "$ac_prev"; then
1181 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1182 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1183 { (exit 1); exit 1; }; }
1186 if test -n "$ac_unrecognized_opts"; then
1187 case $enable_option_checking in
1189 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1190 { (exit 1); exit 1; }; } ;;
1191 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1195 # Check all directory arguments for consistency.
1196 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1197 datadir sysconfdir sharedstatedir localstatedir includedir \
1198 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1199 libdir localedir mandir
1201 eval ac_val=\$$ac_var
1202 # Remove trailing slashes.
1205 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1206 eval $ac_var=\$ac_val;;
1208 # Be sure to have absolute directory names.
1210 [\\/$]* | ?:[\\/]* ) continue;;
1211 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1213 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1214 { (exit 1); exit 1; }; }
1217 # There might be people who depend on the old broken behavior: `$host'
1218 # used to hold the argument of --host etc.
1219 # FIXME: To remove some day.
1222 target=$target_alias
1224 # FIXME: To remove some day.
1225 if test "x$host_alias" != x; then
1226 if test "x$build_alias" = x; then
1227 cross_compiling=maybe
1228 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1229 If a cross compiler is detected then cross compile mode will be used." >&2
1230 elif test "x$build_alias" != "x$host_alias"; then
1236 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1238 test "$silent" = yes && exec 6>/dev/null
1241 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1242 ac_ls_di=`ls -di .` &&
1243 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1244 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1245 { (exit 1); exit 1; }; }
1246 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1247 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1248 { (exit 1); exit 1; }; }
1251 # Find the source files, if location was not specified.
1252 if test -z "$srcdir"; then
1253 ac_srcdir_defaulted=yes
1254 # Try the directory containing this script, then the parent directory.
1255 ac_confdir=`$as_dirname -- "$as_myself" ||
1256 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1257 X"$as_myself" : 'X\(//\)[^/]' \| \
1258 X"$as_myself" : 'X\(//\)$' \| \
1259 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1260 $as_echo X"$as_myself" |
1261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1283 ac_srcdir_defaulted=no
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1286 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1287 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1288 { (exit 1); exit 1; }; }
1290 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1292 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1293 { (exit 1); exit 1; }; }
1295 # When building in place, set srcdir=.
1296 if test "$ac_abs_confdir" = "$ac_pwd"; then
1299 # Remove unnecessary trailing slashes from srcdir.
1300 # Double slashes in file names in object file debugging info
1301 # mess up M-x gdb in Emacs.
1303 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1305 for ac_var in $ac_precious_vars; do
1306 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1307 eval ac_env_${ac_var}_value=\$${ac_var}
1308 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1309 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1313 # Report the --help message.
1315 if test "$ac_init_help" = "long"; then
1316 # Omit some internal or obsolete options to make the list less imposing.
1317 # This message is too long to be a string in the A/UX 3.1 sh.
1319 \`configure' configures this package to adapt to many kinds of systems.
1321 Usage: $0 [OPTION]... [VAR=VALUE]...
1323 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1324 VAR=VALUE. See below for descriptions of some of the useful variables.
1326 Defaults for the options are specified in brackets.
1329 -h, --help display this help and exit
1330 --help=short display options specific to this package
1331 --help=recursive display the short help of all the included packages
1332 -V, --version display version information and exit
1333 -q, --quiet, --silent do not print \`checking...' messages
1334 --cache-file=FILE cache test results in FILE [disabled]
1335 -C, --config-cache alias for \`--cache-file=config.cache'
1336 -n, --no-create do not create output files
1337 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1339 Installation directories:
1340 --prefix=PREFIX install architecture-independent files in PREFIX
1341 [$ac_default_prefix]
1342 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1345 By default, \`make install' will install all the files in
1346 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1347 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1348 for instance \`--prefix=\$HOME'.
1350 For better control, use the options below.
1352 Fine tuning of the installation directories:
1353 --bindir=DIR user executables [EPREFIX/bin]
1354 --sbindir=DIR system admin executables [EPREFIX/sbin]
1355 --libexecdir=DIR program executables [EPREFIX/libexec]
1356 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1357 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1358 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1359 --libdir=DIR object code libraries [EPREFIX/lib]
1360 --includedir=DIR C header files [PREFIX/include]
1361 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1362 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1363 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1364 --infodir=DIR info documentation [DATAROOTDIR/info]
1365 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1366 --mandir=DIR man documentation [DATAROOTDIR/man]
1367 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1368 --htmldir=DIR html documentation [DOCDIR]
1369 --dvidir=DIR dvi documentation [DOCDIR]
1370 --pdfdir=DIR pdf documentation [DOCDIR]
1371 --psdir=DIR ps documentation [DOCDIR]
1377 --program-prefix=PREFIX prepend PREFIX to installed program names
1378 --program-suffix=SUFFIX append SUFFIX to installed program names
1379 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1383 if test -n "$ac_init_help"; then
1388 --disable-option-checking ignore unrecognized --enable/--with options
1389 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1390 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1391 --enable-all-components Build all configurable components (default), or stop on failed dependencies
1393 --enable-usrp2 Stop if usrp2 fails configuration
1394 --enable-usrp2-firmware Stop if usrp2-firmware fails configuration
1395 --disable-dependency-tracking speeds up one-time build
1396 --enable-dependency-tracking do not reject slow dependency extractors
1398 Some influential environment variables:
1399 CC C compiler command
1400 CFLAGS C compiler flags
1401 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1402 nonstandard directory <lib dir>
1403 LIBS libraries to pass to the linker, e.g. -l<library>
1404 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1405 you have headers in a nonstandard directory <include dir>
1407 CCAS assembler compiler command (defaults to CC)
1408 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1410 Use these variables to override the choices made by `configure' or to help
1411 it to find libraries and programs with nonstandard names/locations.
1417 if test "$ac_init_help" = "recursive"; then
1418 # If there are subdirs, report their specific --help.
1419 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1420 test -d "$ac_dir" ||
1421 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1426 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1428 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1429 # A ".." for each directory in $ac_dir_suffix.
1430 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1431 case $ac_top_builddir_sub in
1432 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1433 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1436 ac_abs_top_builddir=$ac_pwd
1437 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1438 # for backward compatibility:
1439 ac_top_builddir=$ac_top_build_prefix
1442 .) # We are building in place.
1444 ac_top_srcdir=$ac_top_builddir_sub
1445 ac_abs_top_srcdir=$ac_pwd ;;
1446 [\\/]* | ?:[\\/]* ) # Absolute name.
1447 ac_srcdir=$srcdir$ac_dir_suffix;
1448 ac_top_srcdir=$srcdir
1449 ac_abs_top_srcdir=$srcdir ;;
1451 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1452 ac_top_srcdir=$ac_top_build_prefix$srcdir
1453 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1455 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1457 cd "$ac_dir" || { ac_status=$?; continue; }
1458 # Check for guested configure.
1459 if test -f "$ac_srcdir/configure.gnu"; then
1461 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1462 elif test -f "$ac_srcdir/configure"; then
1464 $SHELL "$ac_srcdir/configure" --help=recursive
1466 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1468 cd "$ac_pwd" || { ac_status=$?; break; }
1472 test -n "$ac_init_help" && exit $ac_status
1473 if $ac_init_version; then
1476 generated by GNU Autoconf 2.63
1478 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1479 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1480 This configure script is free software; the Free Software Foundation
1481 gives unlimited permission to copy, distribute and modify it.
1485 cat >config.log <<_ACEOF
1486 This file contains any messages produced by compilers while
1487 running configure, to aid debugging if configure makes a mistake.
1489 It was created by $as_me, which was
1490 generated by GNU Autoconf 2.63. Invocation command line was
1502 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1503 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1504 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1505 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1506 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1508 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1509 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1511 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1512 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1513 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1514 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1515 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1516 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1517 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1525 test -z "$as_dir" && as_dir=.
1526 $as_echo "PATH: $as_dir"
1542 # Keep a trace of the command line.
1543 # Strip out --no-create and --no-recursion so they do not pile up.
1544 # Strip out --silent because we don't want to record it for future runs.
1545 # Also quote any args containing shell meta-characters.
1546 # Make two passes to allow for proper duplicate-argument suppression.
1550 ac_must_keep_next=false
1556 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1557 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1558 | -silent | --silent | --silen | --sile | --sil)
1561 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1564 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1566 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1567 if test $ac_must_keep_next = true; then
1568 ac_must_keep_next=false # Got value, back to normal.
1571 *=* | --config-cache | -C | -disable-* | --disable-* \
1572 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1573 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1574 | -with-* | --with-* | -without-* | --without-* | --x)
1575 case "$ac_configure_args0 " in
1576 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1579 -* ) ac_must_keep_next=true ;;
1582 ac_configure_args="$ac_configure_args '$ac_arg'"
1587 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1588 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1590 # When interrupted or exit'd, cleanup temporary files, and complete
1591 # config.log. We remove comments because anyway the quotes in there
1592 # would cause problems or look ugly.
1593 # WARNING: Use '\'' to represent an apostrophe within the trap.
1594 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1595 trap 'exit_status=$?
1596 # Save into config.log some information that might help in debugging.
1601 ## ---------------- ##
1602 ## Cache variables. ##
1603 ## ---------------- ##
1606 # The following way of writing the cache mishandles newlines in values,
1608 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1609 eval ac_val=\$$ac_var
1613 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1614 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1617 _ | IFS | as_nl) ;; #(
1618 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1619 *) $as_unset $ac_var ;;
1624 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1625 *${as_nl}ac_space=\ *)
1627 "s/'\''/'\''\\\\'\'''\''/g;
1628 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1631 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1639 ## ----------------- ##
1640 ## Output variables. ##
1641 ## ----------------- ##
1644 for ac_var in $ac_subst_vars
1646 eval ac_val=\$$ac_var
1648 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1650 $as_echo "$ac_var='\''$ac_val'\''"
1654 if test -n "$ac_subst_files"; then
1656 ## ------------------- ##
1657 ## File substitutions. ##
1658 ## ------------------- ##
1661 for ac_var in $ac_subst_files
1663 eval ac_val=\$$ac_var
1665 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1667 $as_echo "$ac_var='\''$ac_val'\''"
1672 if test -s confdefs.h; then
1682 test "$ac_signal" != 0 &&
1683 $as_echo "$as_me: caught signal $ac_signal"
1684 $as_echo "$as_me: exit $exit_status"
1686 rm -f core *.core core.conftest.* &&
1687 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1690 for ac_signal in 1 2 13 15; do
1691 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1695 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1696 rm -f -r conftest* confdefs.h
1698 # Predefined preprocessor variables.
1700 cat >>confdefs.h <<_ACEOF
1701 #define PACKAGE_NAME "$PACKAGE_NAME"
1705 cat >>confdefs.h <<_ACEOF
1706 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1710 cat >>confdefs.h <<_ACEOF
1711 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1715 cat >>confdefs.h <<_ACEOF
1716 #define PACKAGE_STRING "$PACKAGE_STRING"
1720 cat >>confdefs.h <<_ACEOF
1721 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1725 # Let the site file select an alternate cache file if it wants to.
1726 # Prefer an explicitly selected file to automatically selected ones.
1729 if test -n "$CONFIG_SITE"; then
1730 ac_site_file1=$CONFIG_SITE
1731 elif test "x$prefix" != xNONE; then
1732 ac_site_file1=$prefix/share/config.site
1733 ac_site_file2=$prefix/etc/config.site
1735 ac_site_file1=$ac_default_prefix/share/config.site
1736 ac_site_file2=$ac_default_prefix/etc/config.site
1738 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1740 test "x$ac_site_file" = xNONE && continue
1741 if test -r "$ac_site_file"; then
1742 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1743 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1744 sed 's/^/| /' "$ac_site_file" >&5
1749 if test -r "$cache_file"; then
1750 # Some versions of bash will fail to source /dev/null (special
1751 # files actually), so we avoid doing that.
1752 if test -f "$cache_file"; then
1753 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1754 $as_echo "$as_me: loading cache $cache_file" >&6;}
1756 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1757 *) . "./$cache_file";;
1761 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1762 $as_echo "$as_me: creating cache $cache_file" >&6;}
1766 # Check that the precious variables saved in the cache have kept the same
1768 ac_cache_corrupted=false
1769 for ac_var in $ac_precious_vars; do
1770 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1771 eval ac_new_set=\$ac_env_${ac_var}_set
1772 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1773 eval ac_new_val=\$ac_env_${ac_var}_value
1774 case $ac_old_set,$ac_new_set in
1776 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1777 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1778 ac_cache_corrupted=: ;;
1780 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1781 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1782 ac_cache_corrupted=: ;;
1785 if test "x$ac_old_val" != "x$ac_new_val"; then
1786 # differences in whitespace do not lead to failure.
1787 ac_old_val_w=`echo x $ac_old_val`
1788 ac_new_val_w=`echo x $ac_new_val`
1789 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1790 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1791 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1792 ac_cache_corrupted=:
1794 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1795 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1796 eval $ac_var=\$ac_old_val
1798 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1799 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1800 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1801 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1804 # Pass precious variables to config.status.
1805 if test "$ac_new_set" = set; then
1807 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1808 *) ac_arg=$ac_var=$ac_new_val ;;
1810 case " $ac_configure_args " in
1811 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1812 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1816 if $ac_cache_corrupted; then
1817 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1819 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1820 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1821 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1822 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1823 { (exit 1); exit 1; }; }
1843 ac_cpp='$CPP $CPPFLAGS'
1844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1850 ac_config_headers="$ac_config_headers config.h"
1853 for ac_dir in . "$srcdir"/.; do
1854 if test -f "$ac_dir/install-sh"; then
1856 ac_install_sh="$ac_aux_dir/install-sh -c"
1858 elif test -f "$ac_dir/install.sh"; then
1860 ac_install_sh="$ac_aux_dir/install.sh -c"
1862 elif test -f "$ac_dir/shtool"; then
1864 ac_install_sh="$ac_aux_dir/shtool install -c"
1868 if test -z "$ac_aux_dir"; then
1869 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
1870 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
1871 { (exit 1); exit 1; }; }
1874 # These three variables are undocumented and unsupported,
1875 # and are intended to be withdrawn in a future Autoconf release.
1876 # They can cause serious problems if a builder's source tree is in a directory
1877 # whose full name contains unusual characters.
1878 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1879 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1880 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1885 am__api_version='1.10'
1887 # Find a good install program. We prefer a C program (faster),
1888 # so one script is as good as another. But avoid the broken or
1889 # incompatible versions:
1890 # SysV /etc/install, /usr/sbin/install
1891 # SunOS /usr/etc/install
1892 # IRIX /sbin/install
1894 # AmigaOS /C/install, which installs bootblocks on floppy discs
1895 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1896 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1897 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1898 # OS/2's system install, which has a completely different semantic
1899 # ./install, which can be erroneously created by make from ./install.sh.
1900 # Reject install programs that cannot install multiple files.
1901 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1902 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1903 if test -z "$INSTALL"; then
1904 if test "${ac_cv_path_install+set}" = set; then
1905 $as_echo_n "(cached) " >&6
1907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911 test -z "$as_dir" && as_dir=.
1912 # Account for people who put trailing slashes in PATH elements.
1914 ./ | .// | /cC/* | \
1915 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1916 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1919 # OSF1 and SCO ODT 3.0 have their own names for install.
1920 # Don't use installbsd from OSF since it installs stuff as root
1922 for ac_prog in ginstall scoinst install; do
1923 for ac_exec_ext in '' $ac_executable_extensions; do
1924 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1925 if test $ac_prog = install &&
1926 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1927 # AIX install. It has an incompatible calling convention.
1929 elif test $ac_prog = install &&
1930 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1931 # program-specific install script used by HP pwplus--don't use.
1934 rm -rf conftest.one conftest.two conftest.dir
1935 echo one > conftest.one
1936 echo two > conftest.two
1938 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1939 test -s conftest.one && test -s conftest.two &&
1940 test -s conftest.dir/conftest.one &&
1941 test -s conftest.dir/conftest.two
1943 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1956 rm -rf conftest.one conftest.two conftest.dir
1959 if test "${ac_cv_path_install+set}" = set; then
1960 INSTALL=$ac_cv_path_install
1962 # As a last resort, use the slow shell script. Don't cache a
1963 # value for INSTALL within a source directory, because that will
1964 # break other packages using the cache if that directory is
1965 # removed, or if the value is a relative name.
1966 INSTALL=$ac_install_sh
1969 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1970 $as_echo "$INSTALL" >&6; }
1972 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1973 # It thinks the first close brace ends the variable substitution.
1974 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1976 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1978 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1980 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1981 $as_echo_n "checking whether build environment is sane... " >&6; }
1984 echo timestamp > conftest.file
1985 # Do `set' in a subshell so we don't clobber the current shell's
1986 # arguments. Must try -L first in case configure is actually a
1987 # symlink; some systems play weird games with the mod time of symlinks
1988 # (eg FreeBSD returns the mod time of the symlink's containing
1991 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1992 if test "$*" = "X"; then
1994 set X `ls -t $srcdir/configure conftest.file`
1997 if test "$*" != "X $srcdir/configure conftest.file" \
1998 && test "$*" != "X conftest.file $srcdir/configure"; then
2000 # If neither matched, then we have a broken ls. This can happen
2001 # if, for instance, CONFIG_SHELL is bash and it inherits a
2002 # broken ls alias from the environment. This has actually
2003 # happened. Such a system could not be considered "sane".
2004 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2005 alias in your environment" >&5
2006 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2007 alias in your environment" >&2;}
2008 { (exit 1); exit 1; }; }
2011 test "$2" = conftest.file
2017 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2018 Check your system clock" >&5
2019 $as_echo "$as_me: error: newly created file is older than distributed files!
2020 Check your system clock" >&2;}
2021 { (exit 1); exit 1; }; }
2023 { $as_echo "$as_me:$LINENO: result: yes" >&5
2024 $as_echo "yes" >&6; }
2025 test "$program_prefix" != NONE &&
2026 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2027 # Use a double $ so make ignores it.
2028 test "$program_suffix" != NONE &&
2029 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2030 # Double any \ or $.
2031 # By default was `s,x,x', remove it if useless.
2032 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2033 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2035 # expand $ac_aux_dir to an absolute path
2036 am_aux_dir=`cd $ac_aux_dir && pwd`
2038 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2039 # Use eval to expand $SHELL
2040 if eval "$MISSING --run true"; then
2041 am_missing_run="$MISSING --run "
2044 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2045 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2048 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2049 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2050 if test -z "$MKDIR_P"; then
2051 if test "${ac_cv_path_mkdir+set}" = set; then
2052 $as_echo_n "(cached) " >&6
2054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2058 test -z "$as_dir" && as_dir=.
2059 for ac_prog in mkdir gmkdir; do
2060 for ac_exec_ext in '' $ac_executable_extensions; do
2061 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2062 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2063 'mkdir (GNU coreutils) '* | \
2064 'mkdir (coreutils) '* | \
2065 'mkdir (fileutils) '4.1*)
2066 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2076 if test "${ac_cv_path_mkdir+set}" = set; then
2077 MKDIR_P="$ac_cv_path_mkdir -p"
2079 # As a last resort, use the slow shell script. Don't cache a
2080 # value for MKDIR_P within a source directory, because that will
2081 # break other packages using the cache if that directory is
2082 # removed, or if the value is a relative name.
2083 test -d ./--version && rmdir ./--version
2084 MKDIR_P="$ac_install_sh -d"
2087 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2088 $as_echo "$MKDIR_P" >&6; }
2092 [\\/$]* | ?:[\\/]*) ;;
2093 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2096 for ac_prog in gawk mawk nawk awk
2098 # Extract the first word of "$ac_prog", so it can be a program name with args.
2099 set dummy $ac_prog; ac_word=$2
2100 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2101 $as_echo_n "checking for $ac_word... " >&6; }
2102 if test "${ac_cv_prog_AWK+set}" = set; then
2103 $as_echo_n "(cached) " >&6
2105 if test -n "$AWK"; then
2106 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2112 test -z "$as_dir" && as_dir=.
2113 for ac_exec_ext in '' $ac_executable_extensions; do
2114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2115 ac_cv_prog_AWK="$ac_prog"
2116 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2126 if test -n "$AWK"; then
2127 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2128 $as_echo "$AWK" >&6; }
2130 { $as_echo "$as_me:$LINENO: result: no" >&5
2131 $as_echo "no" >&6; }
2135 test -n "$AWK" && break
2138 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2139 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2141 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2142 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2143 $as_echo_n "(cached) " >&6
2145 cat >conftest.make <<\_ACEOF
2148 @echo '@@@%%%=$(MAKE)=@@@%%%'
2150 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2151 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2153 eval ac_cv_prog_make_${ac_make}_set=yes;;
2155 eval ac_cv_prog_make_${ac_make}_set=no;;
2159 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2160 { $as_echo "$as_me:$LINENO: result: yes" >&5
2161 $as_echo "yes" >&6; }
2164 { $as_echo "$as_me:$LINENO: result: no" >&5
2165 $as_echo "no" >&6; }
2166 SET_MAKE="MAKE=${MAKE-make}"
2169 rm -rf .tst 2>/dev/null
2170 mkdir .tst 2>/dev/null
2171 if test -d .tst; then
2176 rmdir .tst 2>/dev/null
2178 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2179 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2180 # is not polluted with repeated "-I."
2181 am__isrc=' -I$(srcdir)'
2182 # test to see if srcdir already configured
2183 if test -f $srcdir/config.status; then
2184 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2185 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2186 { (exit 1); exit 1; }; }
2190 # test whether we have cygpath
2191 if test -z "$CYGPATH_W"; then
2192 if (cygpath --version) >/dev/null 2>/dev/null; then
2193 CYGPATH_W='cygpath -w'
2200 # Define the identity of the package.
2201 PACKAGE=usrp2-firmware
2205 cat >>confdefs.h <<_ACEOF
2206 #define PACKAGE "$PACKAGE"
2210 cat >>confdefs.h <<_ACEOF
2211 #define VERSION "$VERSION"
2214 # Some tools Automake needs.
2216 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2219 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2222 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2225 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2228 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2230 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2232 # Installed binaries are usually stripped using `strip' when the user
2233 # run `make install-strip'. However `strip' might not be the right
2234 # tool to use in cross-compilation environments, therefore Automake
2235 # will honor the `STRIP' environment variable to overrule this program.
2236 if test "$cross_compiling" != no; then
2237 if test -n "$ac_tool_prefix"; then
2238 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2239 set dummy ${ac_tool_prefix}strip; ac_word=$2
2240 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2241 $as_echo_n "checking for $ac_word... " >&6; }
2242 if test "${ac_cv_prog_STRIP+set}" = set; then
2243 $as_echo_n "(cached) " >&6
2245 if test -n "$STRIP"; then
2246 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252 test -z "$as_dir" && as_dir=.
2253 for ac_exec_ext in '' $ac_executable_extensions; do
2254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2255 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2256 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2265 STRIP=$ac_cv_prog_STRIP
2266 if test -n "$STRIP"; then
2267 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2268 $as_echo "$STRIP" >&6; }
2270 { $as_echo "$as_me:$LINENO: result: no" >&5
2271 $as_echo "no" >&6; }
2276 if test -z "$ac_cv_prog_STRIP"; then
2278 # Extract the first word of "strip", so it can be a program name with args.
2279 set dummy strip; ac_word=$2
2280 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2281 $as_echo_n "checking for $ac_word... " >&6; }
2282 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2283 $as_echo_n "(cached) " >&6
2285 if test -n "$ac_ct_STRIP"; then
2286 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2295 ac_cv_prog_ac_ct_STRIP="strip"
2296 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2305 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2306 if test -n "$ac_ct_STRIP"; then
2307 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2308 $as_echo "$ac_ct_STRIP" >&6; }
2310 { $as_echo "$as_me:$LINENO: result: no" >&5
2311 $as_echo "no" >&6; }
2314 if test "x$ac_ct_STRIP" = x; then
2317 case $cross_compiling:$ac_tool_warned in
2319 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2321 ac_tool_warned=yes ;;
2326 STRIP="$ac_cv_prog_STRIP"
2330 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2332 # We need awk for the "check" target. The system "awk" is bad on
2334 # Always define AMTAR for backward compatibility.
2336 AMTAR=${AMTAR-"${am_missing_run}tar"}
2338 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2346 # Check whether --enable-all-components was given.
2347 if test "${enable_all_components+set}" = set; then
2348 enableval=$enable_all_components;
2352 #build_dirs="config"
2358 # Check whether --enable-usrp2 was given.
2359 if test "${enable_usrp2+set}" = set; then
2360 enableval=$enable_usrp2;
2363 enable_usrp2=$enable_all_components
2364 if test x$enable_all_components = xno; then
2375 if test $passed = no; then
2376 if test x$enable_usrp2 = xyes; then
2377 { { $as_echo "$as_me:$LINENO: error: Component usrp2 has errors; stopping." >&5
2378 $as_echo "$as_me: error: Component usrp2 has errors; stopping." >&2;}
2379 { (exit 1); exit 1; }; }
2381 { $as_echo "$as_me:$LINENO: result: Not building component usrp2." >&5
2382 $as_echo "Not building component usrp2." >&6; }
2385 if test $passed = with; then
2386 with_dirs="$with_dirs usrp2"
2388 if test "x${usrp2_INCLUDES}" != "x"; then
2389 if test "x$with_INCLUDES" = "x"; then
2390 with_INCLUDES="${usrp2_INCLUDES}"
2392 with_INCLUDES="${usrp2_INCLUDES}"" ""$with_INCLUDES"
2398 if test "x${usrp2_SWIG_INCLUDES}" != "x"; then
2399 if test "x$with_SWIG_INCLUDES" = "x"; then
2400 with_SWIG_INCLUDES="${usrp2_SWIG_INCLUDES}"
2402 with_SWIG_INCLUDES="${usrp2_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
2404 usrp2_SWIG_INCLUDES=
2408 if test "x${usrp2_PYDIRPATH}" != "x"; then
2409 if test "x$with_PYDIRPATH" = "x"; then
2410 with_PYDIRPATH="${usrp2_PYDIRPATH}"
2412 with_PYDIRPATH="${usrp2_PYDIRPATH}"":""$with_PYDIRPATH"
2418 if test "x${usrp2_SWIGDIRPATH}" != "x"; then
2419 if test "x$with_SWIGDIRPATH" = "x"; then
2420 with_SWIGDIRPATH="${usrp2_SWIGDIRPATH}"
2422 with_SWIGDIRPATH="${usrp2_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
2428 if test "x${usrp2_LIBDIRPATH}" != "x"; then
2429 if test "x$with_LIBDIRPATH" = "x"; then
2430 with_LIBDIRPATH="${usrp2_LIBDIRPATH}"
2432 with_LIBDIRPATH="${usrp2_LIBDIRPATH}"":""$with_LIBDIRPATH"
2437 { $as_echo "$as_me:$LINENO: result: Component usrp2 will be included from a pre-installed library and includes." >&5
2438 $as_echo "Component usrp2 will be included from a pre-installed library and includes." >&6; }
2442 if test x$enable_usrp2 != xno; then
2444 build_dirs="$build_dirs usrp2"
2445 { $as_echo "$as_me:$LINENO: result: Component usrp2 passed configuration checks; building." >&5
2446 $as_echo "Component usrp2 passed configuration checks; building." >&6; }
2449 { $as_echo "$as_me:$LINENO: result: Component usrp2 passed configuration checks; but not building." >&5
2450 $as_echo "Component usrp2 passed configuration checks; but not building." >&6; }
2454 if test $passed = no; then
2455 skipped_dirs="$skipped_dirs usrp2"
2468 DEPDIR="${am__leading_dot}deps"
2470 ac_config_commands="$ac_config_commands depfiles"
2473 am_make=${MAKE-make}
2474 cat > confinc << 'END'
2479 # If we don't find an include directive, just comment out the code.
2480 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2481 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2485 # First try GNU make style include.
2486 echo "include confinc" > confmf
2487 # We grep out `Entering directory' and `Leaving directory'
2488 # messages which can occur if `w' ends up in MAKEFLAGS.
2489 # In particular we don't look at `^make:' because GNU make might
2490 # be invoked under some other name (usually "gmake"), in which
2491 # case it prints its new name instead of `make'.
2492 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2497 # Now try BSD make style include.
2498 if test "$am__include" = "#"; then
2499 echo '.include "confinc"' > confmf
2500 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2501 am__include=.include
2508 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2509 $as_echo "$_am_result" >&6; }
2510 rm -f confinc confmf
2512 # Check whether --enable-dependency-tracking was given.
2513 if test "${enable_dependency_tracking+set}" = set; then
2514 enableval=$enable_dependency_tracking;
2517 if test "x$enable_dependency_tracking" != xno; then
2518 am_depcomp="$ac_aux_dir/depcomp"
2521 if test "x$enable_dependency_tracking" != xno; then
2531 ac_cpp='$CPP $CPPFLAGS'
2532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2535 if test -n "$ac_tool_prefix"; then
2536 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2537 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2538 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2539 $as_echo_n "checking for $ac_word... " >&6; }
2540 if test "${ac_cv_prog_CC+set}" = set; then
2541 $as_echo_n "(cached) " >&6
2543 if test -n "$CC"; then
2544 ac_cv_prog_CC="$CC" # Let the user override the test.
2546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550 test -z "$as_dir" && as_dir=.
2551 for ac_exec_ext in '' $ac_executable_extensions; do
2552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2553 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2554 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2564 if test -n "$CC"; then
2565 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2566 $as_echo "$CC" >&6; }
2568 { $as_echo "$as_me:$LINENO: result: no" >&5
2569 $as_echo "no" >&6; }
2574 if test -z "$ac_cv_prog_CC"; then
2576 # Extract the first word of "gcc", so it can be a program name with args.
2577 set dummy gcc; ac_word=$2
2578 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2579 $as_echo_n "checking for $ac_word... " >&6; }
2580 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2581 $as_echo_n "(cached) " >&6
2583 if test -n "$ac_ct_CC"; then
2584 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590 test -z "$as_dir" && as_dir=.
2591 for ac_exec_ext in '' $ac_executable_extensions; do
2592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2593 ac_cv_prog_ac_ct_CC="gcc"
2594 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2603 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2604 if test -n "$ac_ct_CC"; then
2605 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2606 $as_echo "$ac_ct_CC" >&6; }
2608 { $as_echo "$as_me:$LINENO: result: no" >&5
2609 $as_echo "no" >&6; }
2612 if test "x$ac_ct_CC" = x; then
2615 case $cross_compiling:$ac_tool_warned in
2617 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2619 ac_tool_warned=yes ;;
2627 if test -z "$CC"; then
2628 if test -n "$ac_tool_prefix"; then
2629 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2630 set dummy ${ac_tool_prefix}cc; ac_word=$2
2631 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2632 $as_echo_n "checking for $ac_word... " >&6; }
2633 if test "${ac_cv_prog_CC+set}" = set; then
2634 $as_echo_n "(cached) " >&6
2636 if test -n "$CC"; then
2637 ac_cv_prog_CC="$CC" # Let the user override the test.
2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2643 test -z "$as_dir" && as_dir=.
2644 for ac_exec_ext in '' $ac_executable_extensions; do
2645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2646 ac_cv_prog_CC="${ac_tool_prefix}cc"
2647 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2657 if test -n "$CC"; then
2658 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2659 $as_echo "$CC" >&6; }
2661 { $as_echo "$as_me:$LINENO: result: no" >&5
2662 $as_echo "no" >&6; }
2668 if test -z "$CC"; then
2669 # Extract the first word of "cc", so it can be a program name with args.
2670 set dummy cc; ac_word=$2
2671 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2672 $as_echo_n "checking for $ac_word... " >&6; }
2673 if test "${ac_cv_prog_CC+set}" = set; then
2674 $as_echo_n "(cached) " >&6
2676 if test -n "$CC"; then
2677 ac_cv_prog_CC="$CC" # Let the user override the test.
2680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2684 test -z "$as_dir" && as_dir=.
2685 for ac_exec_ext in '' $ac_executable_extensions; do
2686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2687 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2688 ac_prog_rejected=yes
2692 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2699 if test $ac_prog_rejected = yes; then
2700 # We found a bogon in the path, so make sure we never use it.
2701 set dummy $ac_cv_prog_CC
2703 if test $# != 0; then
2704 # We chose a different compiler from the bogus one.
2705 # However, it has the same basename, so the bogon will be chosen
2706 # first if we set CC to just the basename; use the full file name.
2708 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2714 if test -n "$CC"; then
2715 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2716 $as_echo "$CC" >&6; }
2718 { $as_echo "$as_me:$LINENO: result: no" >&5
2719 $as_echo "no" >&6; }
2724 if test -z "$CC"; then
2725 if test -n "$ac_tool_prefix"; then
2726 for ac_prog in cl.exe
2728 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2729 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2730 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2731 $as_echo_n "checking for $ac_word... " >&6; }
2732 if test "${ac_cv_prog_CC+set}" = set; then
2733 $as_echo_n "(cached) " >&6
2735 if test -n "$CC"; then
2736 ac_cv_prog_CC="$CC" # Let the user override the test.
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir=.
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2745 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2746 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2756 if test -n "$CC"; then
2757 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2758 $as_echo "$CC" >&6; }
2760 { $as_echo "$as_me:$LINENO: result: no" >&5
2761 $as_echo "no" >&6; }
2765 test -n "$CC" && break
2768 if test -z "$CC"; then
2770 for ac_prog in cl.exe
2772 # Extract the first word of "$ac_prog", so it can be a program name with args.
2773 set dummy $ac_prog; ac_word=$2
2774 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2775 $as_echo_n "checking for $ac_word... " >&6; }
2776 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2777 $as_echo_n "(cached) " >&6
2779 if test -n "$ac_ct_CC"; then
2780 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2786 test -z "$as_dir" && as_dir=.
2787 for ac_exec_ext in '' $ac_executable_extensions; do
2788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2789 ac_cv_prog_ac_ct_CC="$ac_prog"
2790 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2799 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2800 if test -n "$ac_ct_CC"; then
2801 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2802 $as_echo "$ac_ct_CC" >&6; }
2804 { $as_echo "$as_me:$LINENO: result: no" >&5
2805 $as_echo "no" >&6; }
2809 test -n "$ac_ct_CC" && break
2812 if test "x$ac_ct_CC" = x; then
2815 case $cross_compiling:$ac_tool_warned in
2817 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2819 ac_tool_warned=yes ;;
2828 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2830 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2831 See \`config.log' for more details." >&5
2832 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2833 See \`config.log' for more details." >&2;}
2834 { (exit 1); exit 1; }; }; }
2836 # Provide some information about the compiler.
2837 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2840 { (ac_try="$ac_compiler --version >&5"
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2846 $as_echo "$ac_try_echo") >&5
2847 (eval "$ac_compiler --version >&5") 2>&5
2849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }
2851 { (ac_try="$ac_compiler -v >&5"
2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854 *) ac_try_echo=$ac_try;;
2856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2857 $as_echo "$ac_try_echo") >&5
2858 (eval "$ac_compiler -v >&5") 2>&5
2860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); }
2862 { (ac_try="$ac_compiler -V >&5"
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2868 $as_echo "$ac_try_echo") >&5
2869 (eval "$ac_compiler -V >&5") 2>&5
2871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); }
2874 cat >conftest.$ac_ext <<_ACEOF
2877 cat confdefs.h >>conftest.$ac_ext
2878 cat >>conftest.$ac_ext <<_ACEOF
2879 /* end confdefs.h. */
2889 ac_clean_files_save=$ac_clean_files
2890 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2891 # Try to create an executable without -o first, disregard a.out.
2892 # It will help us diagnose broken compilers, and finding out an intuition
2894 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2895 $as_echo_n "checking for C compiler default output file name... " >&6; }
2896 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2898 # The possible output files:
2899 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2902 for ac_file in $ac_files
2905 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2906 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2911 if { (ac_try="$ac_link_default"
2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2916 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2917 $as_echo "$ac_try_echo") >&5
2918 (eval "$ac_link_default") 2>&5
2920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; then
2922 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2923 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2924 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2925 # so that the user can short-circuit this test for compilers unknown to
2927 for ac_file in $ac_files ''
2929 test -f "$ac_file" || continue
2931 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2934 # We found the default executable, but exeext='' is most
2938 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2940 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2942 # We set ac_cv_exeext here because the later test for it is not
2943 # safe: cross compilers may not add the suffix if given an `-o'
2944 # argument, so we may need to know it at that point already.
2945 # Even if this section looks crufty: it has the advantage of
2952 test "$ac_cv_exeext" = no && ac_cv_exeext=
2958 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2959 $as_echo "$ac_file" >&6; }
2960 if test -z "$ac_file"; then
2961 $as_echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2964 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2966 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2967 See \`config.log' for more details." >&5
2968 $as_echo "$as_me: error: C compiler cannot create executables
2969 See \`config.log' for more details." >&2;}
2970 { (exit 77); exit 77; }; }; }
2973 ac_exeext=$ac_cv_exeext
2975 # Check that the compiler produces executables we can run. If not, either
2976 # the compiler is broken, or we cross compile.
2977 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2978 $as_echo_n "checking whether the C compiler works... " >&6; }
2979 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2980 # If not cross compiling, check that we can run a simple program.
2981 if test "$cross_compiling" != yes; then
2982 if { ac_try='./$ac_file'
2983 { (case "(($ac_try" in
2984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2988 $as_echo "$ac_try_echo") >&5
2989 (eval "$ac_try") 2>&5
2991 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; }; then
2995 if test "$cross_compiling" = maybe; then
2998 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3000 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3001 If you meant to cross compile, use \`--host'.
3002 See \`config.log' for more details." >&5
3003 $as_echo "$as_me: error: cannot run C compiled programs.
3004 If you meant to cross compile, use \`--host'.
3005 See \`config.log' for more details." >&2;}
3006 { (exit 1); exit 1; }; }; }
3010 { $as_echo "$as_me:$LINENO: result: yes" >&5
3011 $as_echo "yes" >&6; }
3013 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3014 ac_clean_files=$ac_clean_files_save
3015 # Check that the compiler produces executables we can run. If not, either
3016 # the compiler is broken, or we cross compile.
3017 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3018 $as_echo_n "checking whether we are cross compiling... " >&6; }
3019 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3020 $as_echo "$cross_compiling" >&6; }
3022 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3023 $as_echo_n "checking for suffix of executables... " >&6; }
3024 if { (ac_try="$ac_link"
3026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3027 *) ac_try_echo=$ac_try;;
3029 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3030 $as_echo "$ac_try_echo") >&5
3031 (eval "$ac_link") 2>&5
3033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); }; then
3035 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3036 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3037 # work properly (i.e., refer to `conftest.exe'), while it won't with
3039 for ac_file in conftest.exe conftest conftest.*; do
3040 test -f "$ac_file" || continue
3042 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3043 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3049 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3051 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3052 See \`config.log' for more details." >&5
3053 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3054 See \`config.log' for more details." >&2;}
3055 { (exit 1); exit 1; }; }; }
3058 rm -f conftest$ac_cv_exeext
3059 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3060 $as_echo "$ac_cv_exeext" >&6; }
3062 rm -f conftest.$ac_ext
3063 EXEEXT=$ac_cv_exeext
3065 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3066 $as_echo_n "checking for suffix of object files... " >&6; }
3067 if test "${ac_cv_objext+set}" = set; then
3068 $as_echo_n "(cached) " >&6
3070 cat >conftest.$ac_ext <<_ACEOF
3073 cat confdefs.h >>conftest.$ac_ext
3074 cat >>conftest.$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3085 rm -f conftest.o conftest.obj
3086 if { (ac_try="$ac_compile"
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3091 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3092 $as_echo "$ac_try_echo") >&5
3093 (eval "$ac_compile") 2>&5
3095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; then
3097 for ac_file in conftest.o conftest.obj conftest.*; do
3098 test -f "$ac_file" || continue;
3100 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3101 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3106 $as_echo "$as_me: failed program was:" >&5
3107 sed 's/^/| /' conftest.$ac_ext >&5
3109 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3111 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3112 See \`config.log' for more details." >&5
3113 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3114 See \`config.log' for more details." >&2;}
3115 { (exit 1); exit 1; }; }; }
3118 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3120 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3121 $as_echo "$ac_cv_objext" >&6; }
3122 OBJEXT=$ac_cv_objext
3124 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3125 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3126 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3127 $as_echo_n "(cached) " >&6
3129 cat >conftest.$ac_ext <<_ACEOF
3132 cat confdefs.h >>conftest.$ac_ext
3133 cat >>conftest.$ac_ext <<_ACEOF
3134 /* end confdefs.h. */
3147 rm -f conftest.$ac_objext
3148 if { (ac_try="$ac_compile"
3150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151 *) ac_try_echo=$ac_try;;
3153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3154 $as_echo "$ac_try_echo") >&5
3155 (eval "$ac_compile") 2>conftest.er1
3157 grep -v '^ *+' conftest.er1 >conftest.err
3159 cat conftest.err >&5
3160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); } && {
3162 test -z "$ac_c_werror_flag" ||
3163 test ! -s conftest.err
3164 } && test -s conftest.$ac_objext; then
3167 $as_echo "$as_me: failed program was:" >&5
3168 sed 's/^/| /' conftest.$ac_ext >&5
3173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3174 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3177 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3178 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3179 if test $ac_compiler_gnu = yes; then
3184 ac_test_CFLAGS=${CFLAGS+set}
3185 ac_save_CFLAGS=$CFLAGS
3186 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3187 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3188 if test "${ac_cv_prog_cc_g+set}" = set; then
3189 $as_echo_n "(cached) " >&6
3191 ac_save_c_werror_flag=$ac_c_werror_flag
3192 ac_c_werror_flag=yes
3195 cat >conftest.$ac_ext <<_ACEOF
3198 cat confdefs.h >>conftest.$ac_ext
3199 cat >>conftest.$ac_ext <<_ACEOF
3200 /* end confdefs.h. */
3210 rm -f conftest.$ac_objext
3211 if { (ac_try="$ac_compile"
3213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3214 *) ac_try_echo=$ac_try;;
3216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3217 $as_echo "$ac_try_echo") >&5
3218 (eval "$ac_compile") 2>conftest.er1
3220 grep -v '^ *+' conftest.er1 >conftest.err
3222 cat conftest.err >&5
3223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); } && {
3225 test -z "$ac_c_werror_flag" ||
3226 test ! -s conftest.err
3227 } && test -s conftest.$ac_objext; then
3230 $as_echo "$as_me: failed program was:" >&5
3231 sed 's/^/| /' conftest.$ac_ext >&5
3234 cat >conftest.$ac_ext <<_ACEOF
3237 cat confdefs.h >>conftest.$ac_ext
3238 cat >>conftest.$ac_ext <<_ACEOF
3239 /* end confdefs.h. */
3249 rm -f conftest.$ac_objext
3250 if { (ac_try="$ac_compile"
3252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3253 *) ac_try_echo=$ac_try;;
3255 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3256 $as_echo "$ac_try_echo") >&5
3257 (eval "$ac_compile") 2>conftest.er1
3259 grep -v '^ *+' conftest.er1 >conftest.err
3261 cat conftest.err >&5
3262 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); } && {
3264 test -z "$ac_c_werror_flag" ||
3265 test ! -s conftest.err
3266 } && test -s conftest.$ac_objext; then
3269 $as_echo "$as_me: failed program was:" >&5
3270 sed 's/^/| /' conftest.$ac_ext >&5
3272 ac_c_werror_flag=$ac_save_c_werror_flag
3274 cat >conftest.$ac_ext <<_ACEOF
3277 cat confdefs.h >>conftest.$ac_ext
3278 cat >>conftest.$ac_ext <<_ACEOF
3279 /* end confdefs.h. */
3289 rm -f conftest.$ac_objext
3290 if { (ac_try="$ac_compile"
3292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3293 *) ac_try_echo=$ac_try;;
3295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3296 $as_echo "$ac_try_echo") >&5
3297 (eval "$ac_compile") 2>conftest.er1
3299 grep -v '^ *+' conftest.er1 >conftest.err
3301 cat conftest.err >&5
3302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); } && {
3304 test -z "$ac_c_werror_flag" ||
3305 test ! -s conftest.err
3306 } && test -s conftest.$ac_objext; then
3309 $as_echo "$as_me: failed program was:" >&5
3310 sed 's/^/| /' conftest.$ac_ext >&5
3315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3322 ac_c_werror_flag=$ac_save_c_werror_flag
3324 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3325 $as_echo "$ac_cv_prog_cc_g" >&6; }
3326 if test "$ac_test_CFLAGS" = set; then
3327 CFLAGS=$ac_save_CFLAGS
3328 elif test $ac_cv_prog_cc_g = yes; then
3329 if test "$GCC" = yes; then
3335 if test "$GCC" = yes; then
3341 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3342 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3343 if test "${ac_cv_prog_cc_c89+set}" = set; then
3344 $as_echo_n "(cached) " >&6
3346 ac_cv_prog_cc_c89=no
3348 cat >conftest.$ac_ext <<_ACEOF
3351 cat confdefs.h >>conftest.$ac_ext
3352 cat >>conftest.$ac_ext <<_ACEOF
3353 /* end confdefs.h. */
3356 #include <sys/types.h>
3357 #include <sys/stat.h>
3358 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3359 struct buf { int x; };
3360 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3361 static char *e (p, i)
3367 static char *f (char * (*g) (char **, int), char **p, ...)
3372 s = g (p, va_arg (v,int));
3377 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3378 function prototypes and stuff, but not '\xHH' hex character constants.
3379 These don't provoke an error unfortunately, instead are silently treated
3380 as 'x'. The following induces an error, until -std is added to get
3381 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3382 array size at least. It's necessary to write '\x00'==0 to get something
3383 that's true only with -std. */
3384 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3386 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3387 inside strings and character constants. */
3389 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3391 int test (int i, double x);
3392 struct s1 {int (*f) (int a);};
3393 struct s2 {int (*f) (double a);};
3394 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3400 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3405 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3406 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3408 CC="$ac_save_CC $ac_arg"
3409 rm -f conftest.$ac_objext
3410 if { (ac_try="$ac_compile"
3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3416 $as_echo "$ac_try_echo") >&5
3417 (eval "$ac_compile") 2>conftest.er1
3419 grep -v '^ *+' conftest.er1 >conftest.err
3421 cat conftest.err >&5
3422 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } && {
3424 test -z "$ac_c_werror_flag" ||
3425 test ! -s conftest.err
3426 } && test -s conftest.$ac_objext; then
3427 ac_cv_prog_cc_c89=$ac_arg
3429 $as_echo "$as_me: failed program was:" >&5
3430 sed 's/^/| /' conftest.$ac_ext >&5
3435 rm -f core conftest.err conftest.$ac_objext
3436 test "x$ac_cv_prog_cc_c89" != "xno" && break
3438 rm -f conftest.$ac_ext
3443 case "x$ac_cv_prog_cc_c89" in
3445 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3446 $as_echo "none needed" >&6; } ;;
3448 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3449 $as_echo "unsupported" >&6; } ;;
3451 CC="$CC $ac_cv_prog_cc_c89"
3452 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3453 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3458 ac_cpp='$CPP $CPPFLAGS'
3459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3463 depcc="$CC" am_compiler_list=
3465 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3466 $as_echo_n "checking dependency style of $depcc... " >&6; }
3467 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3468 $as_echo_n "(cached) " >&6
3470 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3471 # We make a subdir and do the tests there. Otherwise we can end up
3472 # making bogus files that we don't know about and never remove. For
3473 # instance it was reported that on HP-UX the gcc test will end up
3474 # making a dummy file named `D' -- because `-MD' means `put the output
3477 # Copy depcomp to subdir because otherwise we won't find it if we're
3478 # using a relative directory.
3479 cp "$am_depcomp" conftest.dir
3481 # We will build objects and dependencies in a subdirectory because
3482 # it helps to detect inapplicable dependency modes. For instance
3483 # both Tru64's cc and ICC support -MD to output dependencies as a
3484 # side effect of compilation, but ICC will put the dependencies in
3485 # the current directory while Tru64 will put them in the object
3489 am_cv_CC_dependencies_compiler_type=none
3490 if test "$am_compiler_list" = ""; then
3491 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3493 for depmode in $am_compiler_list; do
3494 # Setup a source with many dependencies, because some compilers
3495 # like to wrap large dependency lists on column 80 (with \), and
3496 # we should not choose a depcomp mode which is confused by this.
3498 # We need to recreate these files for each test, as the compiler may
3499 # overwrite some of them when testing with obscure command lines.
3500 # This happens at least with the AIX C compiler.
3502 for i in 1 2 3 4 5 6; do
3503 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3504 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3505 # Solaris 8's {/usr,}/bin/sh.
3506 touch sub/conftst$i.h
3508 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3512 # after this tag, mechanisms are not by side-effect, so they'll
3513 # only be used when explicitly requested
3514 if test "x$enable_dependency_tracking" = xyes; then
3522 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3523 # mode. It turns out that the SunPro C++ compiler does not properly
3524 # handle `-M -o', and we need to detect this.
3525 if depmode=$depmode \
3526 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3527 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3528 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3529 >/dev/null 2>conftest.err &&
3530 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3531 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3532 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3533 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3534 # icc doesn't choke on unknown options, it will just issue warnings
3535 # or remarks (even with -Werror). So we grep stderr for any message
3536 # that says an option was ignored or not supported.
3537 # When given -MP, icc 7.0 and 7.1 complain thusly:
3538 # icc: Command line warning: ignoring option '-M'; no argument required
3539 # The diagnosis changed in icc 8.0:
3540 # icc: Command line remark: option '-MP' not supported
3541 if (grep 'ignoring option' conftest.err ||
3542 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3543 am_cv_CC_dependencies_compiler_type=$depmode
3552 am_cv_CC_dependencies_compiler_type=none
3556 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3557 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3558 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3561 test "x$enable_dependency_tracking" != xno \
3562 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3564 am__fastdepCC_FALSE='#'
3566 am__fastdepCC_TRUE='#'
3567 am__fastdepCC_FALSE=
3572 ac_cpp='$CPP $CPPFLAGS'
3573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3576 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3577 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3578 # On Suns, sometimes $CPP names a directory.
3579 if test -n "$CPP" && test -d "$CPP"; then
3582 if test -z "$CPP"; then
3583 if test "${ac_cv_prog_CPP+set}" = set; then
3584 $as_echo_n "(cached) " >&6
3586 # Double quotes because CPP needs to be expanded
3587 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3590 for ac_c_preproc_warn_flag in '' yes
3592 # Use a header file that comes with gcc, so configuring glibc
3593 # with a fresh cross-compiler works.
3594 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3595 # <limits.h> exists even on freestanding compilers.
3596 # On the NeXT, cc -E runs the code through the compiler's parser,
3597 # not just through cpp. "Syntax error" is here to catch this case.
3598 cat >conftest.$ac_ext <<_ACEOF
3601 cat confdefs.h >>conftest.$ac_ext
3602 cat >>conftest.$ac_ext <<_ACEOF
3603 /* end confdefs.h. */
3605 # include <limits.h>
3607 # include <assert.h>
3611 if { (ac_try="$ac_cpp conftest.$ac_ext"
3613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3614 *) ac_try_echo=$ac_try;;
3616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3617 $as_echo "$ac_try_echo") >&5
3618 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3620 grep -v '^ *+' conftest.er1 >conftest.err
3622 cat conftest.err >&5
3623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); } >/dev/null && {
3625 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3626 test ! -s conftest.err
3630 $as_echo "$as_me: failed program was:" >&5
3631 sed 's/^/| /' conftest.$ac_ext >&5
3633 # Broken: fails on valid input.
3637 rm -f conftest.err conftest.$ac_ext
3639 # OK, works on sane cases. Now check whether nonexistent headers
3640 # can be detected and how.
3641 cat >conftest.$ac_ext <<_ACEOF
3644 cat confdefs.h >>conftest.$ac_ext
3645 cat >>conftest.$ac_ext <<_ACEOF
3646 /* end confdefs.h. */
3647 #include <ac_nonexistent.h>
3649 if { (ac_try="$ac_cpp conftest.$ac_ext"
3651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3652 *) ac_try_echo=$ac_try;;
3654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3655 $as_echo "$ac_try_echo") >&5
3656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3658 grep -v '^ *+' conftest.er1 >conftest.err
3660 cat conftest.err >&5
3661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); } >/dev/null && {
3663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3664 test ! -s conftest.err
3666 # Broken: success on invalid input.
3669 $as_echo "$as_me: failed program was:" >&5
3670 sed 's/^/| /' conftest.$ac_ext >&5
3672 # Passes both tests.
3677 rm -f conftest.err conftest.$ac_ext
3680 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3681 rm -f conftest.err conftest.$ac_ext
3682 if $ac_preproc_ok; then
3694 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3695 $as_echo "$CPP" >&6; }
3697 for ac_c_preproc_warn_flag in '' yes
3699 # Use a header file that comes with gcc, so configuring glibc
3700 # with a fresh cross-compiler works.
3701 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3702 # <limits.h> exists even on freestanding compilers.
3703 # On the NeXT, cc -E runs the code through the compiler's parser,
3704 # not just through cpp. "Syntax error" is here to catch this case.
3705 cat >conftest.$ac_ext <<_ACEOF
3708 cat confdefs.h >>conftest.$ac_ext
3709 cat >>conftest.$ac_ext <<_ACEOF
3710 /* end confdefs.h. */
3712 # include <limits.h>
3714 # include <assert.h>
3718 if { (ac_try="$ac_cpp conftest.$ac_ext"
3720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3721 *) ac_try_echo=$ac_try;;
3723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3724 $as_echo "$ac_try_echo") >&5
3725 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3727 grep -v '^ *+' conftest.er1 >conftest.err
3729 cat conftest.err >&5
3730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 (exit $ac_status); } >/dev/null && {
3732 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3733 test ! -s conftest.err
3737 $as_echo "$as_me: failed program was:" >&5
3738 sed 's/^/| /' conftest.$ac_ext >&5
3740 # Broken: fails on valid input.
3744 rm -f conftest.err conftest.$ac_ext
3746 # OK, works on sane cases. Now check whether nonexistent headers
3747 # can be detected and how.
3748 cat >conftest.$ac_ext <<_ACEOF
3751 cat confdefs.h >>conftest.$ac_ext
3752 cat >>conftest.$ac_ext <<_ACEOF
3753 /* end confdefs.h. */
3754 #include <ac_nonexistent.h>
3756 if { (ac_try="$ac_cpp conftest.$ac_ext"
3758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3759 *) ac_try_echo=$ac_try;;
3761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3762 $as_echo "$ac_try_echo") >&5
3763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3765 grep -v '^ *+' conftest.er1 >conftest.err
3767 cat conftest.err >&5
3768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); } >/dev/null && {
3770 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3771 test ! -s conftest.err
3773 # Broken: success on invalid input.
3776 $as_echo "$as_me: failed program was:" >&5
3777 sed 's/^/| /' conftest.$ac_ext >&5
3779 # Passes both tests.
3784 rm -f conftest.err conftest.$ac_ext
3787 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3788 rm -f conftest.err conftest.$ac_ext
3789 if $ac_preproc_ok; then
3792 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3794 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3795 See \`config.log' for more details." >&5
3796 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3797 See \`config.log' for more details." >&2;}
3798 { (exit 1); exit 1; }; }; }
3802 ac_cpp='$CPP $CPPFLAGS'
3803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3807 # By default we simply use the C compiler to build assembly code.
3809 test "${CCAS+set}" = set || CCAS=$CC
3810 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3814 depcc="$CCAS" am_compiler_list=
3816 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3817 $as_echo_n "checking dependency style of $depcc... " >&6; }
3818 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
3819 $as_echo_n "(cached) " >&6
3821 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3822 # We make a subdir and do the tests there. Otherwise we can end up
3823 # making bogus files that we don't know about and never remove. For
3824 # instance it was reported that on HP-UX the gcc test will end up
3825 # making a dummy file named `D' -- because `-MD' means `put the output
3828 # Copy depcomp to subdir because otherwise we won't find it if we're
3829 # using a relative directory.
3830 cp "$am_depcomp" conftest.dir
3832 # We will build objects and dependencies in a subdirectory because
3833 # it helps to detect inapplicable dependency modes. For instance
3834 # both Tru64's cc and ICC support -MD to output dependencies as a
3835 # side effect of compilation, but ICC will put the dependencies in
3836 # the current directory while Tru64 will put them in the object
3840 am_cv_CCAS_dependencies_compiler_type=none
3841 if test "$am_compiler_list" = ""; then
3842 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3844 for depmode in $am_compiler_list; do
3845 # Setup a source with many dependencies, because some compilers
3846 # like to wrap large dependency lists on column 80 (with \), and
3847 # we should not choose a depcomp mode which is confused by this.
3849 # We need to recreate these files for each test, as the compiler may
3850 # overwrite some of them when testing with obscure command lines.
3851 # This happens at least with the AIX C compiler.
3853 for i in 1 2 3 4 5 6; do
3854 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3855 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3856 # Solaris 8's {/usr,}/bin/sh.
3857 touch sub/conftst$i.h
3859 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3863 # after this tag, mechanisms are not by side-effect, so they'll
3864 # only be used when explicitly requested
3865 if test "x$enable_dependency_tracking" = xyes; then
3873 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3874 # mode. It turns out that the SunPro C++ compiler does not properly
3875 # handle `-M -o', and we need to detect this.
3876 if depmode=$depmode \
3877 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3878 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3879 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3880 >/dev/null 2>conftest.err &&
3881 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3882 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3883 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3884 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3885 # icc doesn't choke on unknown options, it will just issue warnings
3886 # or remarks (even with -Werror). So we grep stderr for any message
3887 # that says an option was ignored or not supported.
3888 # When given -MP, icc 7.0 and 7.1 complain thusly:
3889 # icc: Command line warning: ignoring option '-M'; no argument required
3890 # The diagnosis changed in icc 8.0:
3891 # icc: Command line remark: option '-MP' not supported
3892 if (grep 'ignoring option' conftest.err ||
3893 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3894 am_cv_CCAS_dependencies_compiler_type=$depmode
3903 am_cv_CCAS_dependencies_compiler_type=none
3907 { $as_echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3908 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3909 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
3912 test "x$enable_dependency_tracking" != xno \
3913 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
3914 am__fastdepCCAS_TRUE=
3915 am__fastdepCCAS_FALSE='#'
3917 am__fastdepCCAS_TRUE='#'
3918 am__fastdepCCAS_FALSE=
3922 if test -n "$ac_tool_prefix"; then
3923 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3924 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3925 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3926 $as_echo_n "checking for $ac_word... " >&6; }
3927 if test "${ac_cv_prog_RANLIB+set}" = set; then
3928 $as_echo_n "(cached) " >&6
3930 if test -n "$RANLIB"; then
3931 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3937 test -z "$as_dir" && as_dir=.
3938 for ac_exec_ext in '' $ac_executable_extensions; do
3939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3940 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3941 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3950 RANLIB=$ac_cv_prog_RANLIB
3951 if test -n "$RANLIB"; then
3952 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3953 $as_echo "$RANLIB" >&6; }
3955 { $as_echo "$as_me:$LINENO: result: no" >&5
3956 $as_echo "no" >&6; }
3961 if test -z "$ac_cv_prog_RANLIB"; then
3962 ac_ct_RANLIB=$RANLIB
3963 # Extract the first word of "ranlib", so it can be a program name with args.
3964 set dummy ranlib; ac_word=$2
3965 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3966 $as_echo_n "checking for $ac_word... " >&6; }
3967 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3968 $as_echo_n "(cached) " >&6
3970 if test -n "$ac_ct_RANLIB"; then
3971 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977 test -z "$as_dir" && as_dir=.
3978 for ac_exec_ext in '' $ac_executable_extensions; do
3979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3980 ac_cv_prog_ac_ct_RANLIB="ranlib"
3981 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3991 if test -n "$ac_ct_RANLIB"; then
3992 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3993 $as_echo "$ac_ct_RANLIB" >&6; }
3995 { $as_echo "$as_me:$LINENO: result: no" >&5
3996 $as_echo "no" >&6; }
3999 if test "x$ac_ct_RANLIB" = x; then
4002 case $cross_compiling:$ac_tool_warned in
4004 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4006 ac_tool_warned=yes ;;
4008 RANLIB=$ac_ct_RANLIB
4011 RANLIB="$ac_cv_prog_RANLIB"
4016 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4017 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4018 if test "${ac_cv_path_GREP+set}" = set; then
4019 $as_echo_n "(cached) " >&6
4021 if test -z "$GREP"; then
4022 ac_path_GREP_found=false
4023 # Loop through the user's path and test for each of PROGNAME-LIST
4024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4025 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4028 test -z "$as_dir" && as_dir=.
4029 for ac_prog in grep ggrep; do
4030 for ac_exec_ext in '' $ac_executable_extensions; do
4031 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4032 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4033 # Check for GNU ac_path_GREP and select it if it is found.
4034 # Check for GNU $ac_path_GREP
4035 case `"$ac_path_GREP" --version 2>&1` in
4037 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4040 $as_echo_n 0123456789 >"conftest.in"
4043 cat "conftest.in" "conftest.in" >"conftest.tmp"
4044 mv "conftest.tmp" "conftest.in"
4045 cp "conftest.in" "conftest.nl"
4046 $as_echo 'GREP' >> "conftest.nl"
4047 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4048 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4049 ac_count=`expr $ac_count + 1`
4050 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4051 # Best one so far, save it but keep looking for a better one
4052 ac_cv_path_GREP="$ac_path_GREP"
4053 ac_path_GREP_max=$ac_count
4055 # 10*(2^10) chars as input seems more than enough
4056 test $ac_count -gt 10 && break
4058 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4061 $ac_path_GREP_found && break 3
4066 if test -z "$ac_cv_path_GREP"; then
4067 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4068 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4069 { (exit 1); exit 1; }; }
4072 ac_cv_path_GREP=$GREP
4076 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4077 $as_echo "$ac_cv_path_GREP" >&6; }
4078 GREP="$ac_cv_path_GREP"
4081 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4082 $as_echo_n "checking for egrep... " >&6; }
4083 if test "${ac_cv_path_EGREP+set}" = set; then
4084 $as_echo_n "(cached) " >&6
4086 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4087 then ac_cv_path_EGREP="$GREP -E"
4089 if test -z "$EGREP"; then
4090 ac_path_EGREP_found=false
4091 # Loop through the user's path and test for each of PROGNAME-LIST
4092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4093 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4096 test -z "$as_dir" && as_dir=.
4097 for ac_prog in egrep; do
4098 for ac_exec_ext in '' $ac_executable_extensions; do
4099 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4100 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4101 # Check for GNU ac_path_EGREP and select it if it is found.
4102 # Check for GNU $ac_path_EGREP
4103 case `"$ac_path_EGREP" --version 2>&1` in
4105 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4108 $as_echo_n 0123456789 >"conftest.in"
4111 cat "conftest.in" "conftest.in" >"conftest.tmp"
4112 mv "conftest.tmp" "conftest.in"
4113 cp "conftest.in" "conftest.nl"
4114 $as_echo 'EGREP' >> "conftest.nl"
4115 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4116 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4117 ac_count=`expr $ac_count + 1`
4118 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4119 # Best one so far, save it but keep looking for a better one
4120 ac_cv_path_EGREP="$ac_path_EGREP"
4121 ac_path_EGREP_max=$ac_count
4123 # 10*(2^10) chars as input seems more than enough
4124 test $ac_count -gt 10 && break
4126 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4129 $ac_path_EGREP_found && break 3
4134 if test -z "$ac_cv_path_EGREP"; then
4135 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4136 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4137 { (exit 1); exit 1; }; }
4140 ac_cv_path_EGREP=$EGREP
4145 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4146 $as_echo "$ac_cv_path_EGREP" >&6; }
4147 EGREP="$ac_cv_path_EGREP"
4150 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4151 $as_echo_n "checking for ANSI C header files... " >&6; }
4152 if test "${ac_cv_header_stdc+set}" = set; then
4153 $as_echo_n "(cached) " >&6
4155 cat >conftest.$ac_ext <<_ACEOF
4158 cat confdefs.h >>conftest.$ac_ext
4159 cat >>conftest.$ac_ext <<_ACEOF
4160 /* end confdefs.h. */
4174 rm -f conftest.$ac_objext
4175 if { (ac_try="$ac_compile"
4177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4178 *) ac_try_echo=$ac_try;;
4180 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4181 $as_echo "$ac_try_echo") >&5
4182 (eval "$ac_compile") 2>conftest.er1
4184 grep -v '^ *+' conftest.er1 >conftest.err
4186 cat conftest.err >&5
4187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); } && {
4189 test -z "$ac_c_werror_flag" ||
4190 test ! -s conftest.err
4191 } && test -s conftest.$ac_objext; then
4192 ac_cv_header_stdc=yes
4194 $as_echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.$ac_ext >&5
4197 ac_cv_header_stdc=no
4200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4202 if test $ac_cv_header_stdc = yes; then
4203 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4204 cat >conftest.$ac_ext <<_ACEOF
4207 cat confdefs.h >>conftest.$ac_ext
4208 cat >>conftest.$ac_ext <<_ACEOF
4209 /* end confdefs.h. */
4213 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4214 $EGREP "memchr" >/dev/null 2>&1; then
4217 ac_cv_header_stdc=no
4223 if test $ac_cv_header_stdc = yes; then
4224 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4225 cat >conftest.$ac_ext <<_ACEOF
4228 cat confdefs.h >>conftest.$ac_ext
4229 cat >>conftest.$ac_ext <<_ACEOF
4230 /* end confdefs.h. */
4234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4235 $EGREP "free" >/dev/null 2>&1; then
4238 ac_cv_header_stdc=no
4244 if test $ac_cv_header_stdc = yes; then
4245 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4246 if test "$cross_compiling" = yes; then
4249 cat >conftest.$ac_ext <<_ACEOF
4252 cat confdefs.h >>conftest.$ac_ext
4253 cat >>conftest.$ac_ext <<_ACEOF
4254 /* end confdefs.h. */
4257 #if ((' ' & 0x0FF) == 0x020)
4258 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4259 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4261 # define ISLOWER(c) \
4262 (('a' <= (c) && (c) <= 'i') \
4263 || ('j' <= (c) && (c) <= 'r') \
4264 || ('s' <= (c) && (c) <= 'z'))
4265 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4268 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4273 for (i = 0; i < 256; i++)
4274 if (XOR (islower (i), ISLOWER (i))
4275 || toupper (i) != TOUPPER (i))
4280 rm -f conftest$ac_exeext
4281 if { (ac_try="$ac_link"
4283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4284 *) ac_try_echo=$ac_try;;
4286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4287 $as_echo "$ac_try_echo") >&5
4288 (eval "$ac_link") 2>&5
4290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4292 { (case "(($ac_try" in
4293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4294 *) ac_try_echo=$ac_try;;
4296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4297 $as_echo "$ac_try_echo") >&5
4298 (eval "$ac_try") 2>&5
4300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); }; }; then
4304 $as_echo "$as_me: program exited with status $ac_status" >&5
4305 $as_echo "$as_me: failed program was:" >&5
4306 sed 's/^/| /' conftest.$ac_ext >&5
4309 ac_cv_header_stdc=no
4311 rm -rf conftest.dSYM
4312 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4318 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4319 $as_echo "$ac_cv_header_stdc" >&6; }
4320 if test $ac_cv_header_stdc = yes; then
4322 cat >>confdefs.h <<\_ACEOF
4323 #define STDC_HEADERS 1
4328 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4338 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4339 inttypes.h stdint.h unistd.h
4341 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4342 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4343 $as_echo_n "checking for $ac_header... " >&6; }
4344 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4345 $as_echo_n "(cached) " >&6
4347 cat >conftest.$ac_ext <<_ACEOF
4350 cat confdefs.h >>conftest.$ac_ext
4351 cat >>conftest.$ac_ext <<_ACEOF
4352 /* end confdefs.h. */
4353 $ac_includes_default
4355 #include <$ac_header>
4357 rm -f conftest.$ac_objext
4358 if { (ac_try="$ac_compile"
4360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4361 *) ac_try_echo=$ac_try;;
4363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4364 $as_echo "$ac_try_echo") >&5
4365 (eval "$ac_compile") 2>conftest.er1
4367 grep -v '^ *+' conftest.er1 >conftest.err
4369 cat conftest.err >&5
4370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); } && {
4372 test -z "$ac_c_werror_flag" ||
4373 test ! -s conftest.err
4374 } && test -s conftest.$ac_objext; then
4375 eval "$as_ac_Header=yes"
4377 $as_echo "$as_me: failed program was:" >&5
4378 sed 's/^/| /' conftest.$ac_ext >&5
4380 eval "$as_ac_Header=no"
4383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4385 ac_res=`eval 'as_val=${'$as_ac_Header'}
4386 $as_echo "$as_val"'`
4387 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4388 $as_echo "$ac_res" >&6; }
4389 as_val=`eval 'as_val=${'$as_ac_Header'}
4390 $as_echo "$as_val"'`
4391 if test "x$as_val" = x""yes; then
4392 cat >>confdefs.h <<_ACEOF
4393 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4405 # Check whether --enable-usrp2-firmware was given.
4406 if test "${enable_usrp2_firmware+set}" = set; then
4407 enableval=$enable_usrp2_firmware;
4410 enable_usrp2_firmware=$enable_all_components
4411 if test x$enable_all_components = xno; then
4421 if test $passed != no; then
4422 if test $passed = yes; then
4423 if test x$usrp2_skipped = xyes; then
4424 { $as_echo "$as_me:$LINENO: result: Component usrp2-firmware requires usrp2, which is not being built or specified via pre-installed files." >&5
4425 $as_echo "Component usrp2-firmware requires usrp2, which is not being built or specified via pre-installed files." >&6; }
4429 if test x$usrp2_with = xno; then
4430 { { $as_echo "$as_me:$LINENO: error: Component usrp2-firmware requires usrp2 to be included as --with-usrp2-firmware[=arg]" >&5
4431 $as_echo "$as_me: error: Component usrp2-firmware requires usrp2 to be included as --with-usrp2-firmware[=arg]" >&2;}
4432 { (exit 1); exit 1; }; }
4447 for ac_header in arpa/inet.h netinet/in.h byteswap.h
4449 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4450 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4451 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4452 $as_echo_n "checking for $ac_header... " >&6; }
4453 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4454 $as_echo_n "(cached) " >&6
4456 ac_res=`eval 'as_val=${'$as_ac_Header'}
4457 $as_echo "$as_val"'`
4458 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4459 $as_echo "$ac_res" >&6; }
4461 # Is the header compilable?
4462 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4463 $as_echo_n "checking $ac_header usability... " >&6; }
4464 cat >conftest.$ac_ext <<_ACEOF
4467 cat confdefs.h >>conftest.$ac_ext
4468 cat >>conftest.$ac_ext <<_ACEOF
4469 /* end confdefs.h. */
4470 $ac_includes_default
4471 #include <$ac_header>
4473 rm -f conftest.$ac_objext
4474 if { (ac_try="$ac_compile"
4476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4477 *) ac_try_echo=$ac_try;;
4479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4480 $as_echo "$ac_try_echo") >&5
4481 (eval "$ac_compile") 2>conftest.er1
4483 grep -v '^ *+' conftest.er1 >conftest.err
4485 cat conftest.err >&5
4486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); } && {
4488 test -z "$ac_c_werror_flag" ||
4489 test ! -s conftest.err
4490 } && test -s conftest.$ac_objext; then
4491 ac_header_compiler=yes
4493 $as_echo "$as_me: failed program was:" >&5
4494 sed 's/^/| /' conftest.$ac_ext >&5
4496 ac_header_compiler=no
4499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4500 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4501 $as_echo "$ac_header_compiler" >&6; }
4503 # Is the header present?
4504 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4505 $as_echo_n "checking $ac_header presence... " >&6; }
4506 cat >conftest.$ac_ext <<_ACEOF
4509 cat confdefs.h >>conftest.$ac_ext
4510 cat >>conftest.$ac_ext <<_ACEOF
4511 /* end confdefs.h. */
4512 #include <$ac_header>
4514 if { (ac_try="$ac_cpp conftest.$ac_ext"
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4520 $as_echo "$ac_try_echo") >&5
4521 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4523 grep -v '^ *+' conftest.er1 >conftest.err
4525 cat conftest.err >&5
4526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); } >/dev/null && {
4528 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4529 test ! -s conftest.err
4531 ac_header_preproc=yes
4533 $as_echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4536 ac_header_preproc=no
4539 rm -f conftest.err conftest.$ac_ext
4540 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4541 $as_echo "$ac_header_preproc" >&6; }
4543 # So? What about this header?
4544 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4546 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4547 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4548 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4549 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4550 ac_header_preproc=yes
4553 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4554 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4555 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4556 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4557 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4558 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4559 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4560 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4561 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4562 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4563 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4564 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4568 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4569 $as_echo_n "checking for $ac_header... " >&6; }
4570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4571 $as_echo_n "(cached) " >&6
4573 eval "$as_ac_Header=\$ac_header_preproc"
4575 ac_res=`eval 'as_val=${'$as_ac_Header'}
4576 $as_echo "$as_val"'`
4577 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4578 $as_echo "$ac_res" >&6; }
4581 as_val=`eval 'as_val=${'$as_ac_Header'}
4582 $as_echo "$as_val"'`
4583 if test "x$as_val" = x""yes; then
4584 cat >>confdefs.h <<_ACEOF
4585 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4593 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4594 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4595 if test "${ac_cv_c_bigendian+set}" = set; then
4596 $as_echo_n "(cached) " >&6
4598 ac_cv_c_bigendian=unknown
4599 # See if we're dealing with a universal compiler.
4600 cat >conftest.$ac_ext <<_ACEOF
4603 cat confdefs.h >>conftest.$ac_ext
4604 cat >>conftest.$ac_ext <<_ACEOF
4605 /* end confdefs.h. */
4606 #ifndef __APPLE_CC__
4607 not a universal capable compiler
4612 rm -f conftest.$ac_objext
4613 if { (ac_try="$ac_compile"
4615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4616 *) ac_try_echo=$ac_try;;
4618 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4619 $as_echo "$ac_try_echo") >&5
4620 (eval "$ac_compile") 2>conftest.er1
4622 grep -v '^ *+' conftest.er1 >conftest.err
4624 cat conftest.err >&5
4625 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4626 (exit $ac_status); } && {
4627 test -z "$ac_c_werror_flag" ||
4628 test ! -s conftest.err
4629 } && test -s conftest.$ac_objext; then
4631 # Check for potential -arch flags. It is not universal unless
4632 # there are some -arch flags. Note that *ppc* also matches
4633 # ppc64. This check is also rather less than ideal.
4634 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
4635 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
4638 $as_echo "$as_me: failed program was:" >&5
4639 sed 's/^/| /' conftest.$ac_ext >&5
4644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4645 if test $ac_cv_c_bigendian = unknown; then
4646 # See if sys/param.h defines the BYTE_ORDER macro.
4647 cat >conftest.$ac_ext <<_ACEOF
4650 cat confdefs.h >>conftest.$ac_ext
4651 cat >>conftest.$ac_ext <<_ACEOF
4652 /* end confdefs.h. */
4653 #include <sys/types.h>
4654 #include <sys/param.h>
4659 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4660 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4669 rm -f conftest.$ac_objext
4670 if { (ac_try="$ac_compile"
4672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4673 *) ac_try_echo=$ac_try;;
4675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4676 $as_echo "$ac_try_echo") >&5
4677 (eval "$ac_compile") 2>conftest.er1
4679 grep -v '^ *+' conftest.er1 >conftest.err
4681 cat conftest.err >&5
4682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); } && {
4684 test -z "$ac_c_werror_flag" ||
4685 test ! -s conftest.err
4686 } && test -s conftest.$ac_objext; then
4687 # It does; now see whether it defined to BIG_ENDIAN or not.
4688 cat >conftest.$ac_ext <<_ACEOF
4691 cat confdefs.h >>conftest.$ac_ext
4692 cat >>conftest.$ac_ext <<_ACEOF
4693 /* end confdefs.h. */
4694 #include <sys/types.h>
4695 #include <sys/param.h>
4700 #if BYTE_ORDER != BIG_ENDIAN
4708 rm -f conftest.$ac_objext
4709 if { (ac_try="$ac_compile"
4711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4712 *) ac_try_echo=$ac_try;;
4714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4715 $as_echo "$ac_try_echo") >&5
4716 (eval "$ac_compile") 2>conftest.er1
4718 grep -v '^ *+' conftest.er1 >conftest.err
4720 cat conftest.err >&5
4721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); } && {
4723 test -z "$ac_c_werror_flag" ||
4724 test ! -s conftest.err
4725 } && test -s conftest.$ac_objext; then
4726 ac_cv_c_bigendian=yes
4728 $as_echo "$as_me: failed program was:" >&5
4729 sed 's/^/| /' conftest.$ac_ext >&5
4731 ac_cv_c_bigendian=no
4734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4736 $as_echo "$as_me: failed program was:" >&5
4737 sed 's/^/| /' conftest.$ac_ext >&5
4742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4744 if test $ac_cv_c_bigendian = unknown; then
4745 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4746 cat >conftest.$ac_ext <<_ACEOF
4749 cat confdefs.h >>conftest.$ac_ext
4750 cat >>conftest.$ac_ext <<_ACEOF
4751 /* end confdefs.h. */
4757 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4765 rm -f conftest.$ac_objext
4766 if { (ac_try="$ac_compile"
4768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4769 *) ac_try_echo=$ac_try;;
4771 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4772 $as_echo "$ac_try_echo") >&5
4773 (eval "$ac_compile") 2>conftest.er1
4775 grep -v '^ *+' conftest.er1 >conftest.err
4777 cat conftest.err >&5
4778 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); } && {
4780 test -z "$ac_c_werror_flag" ||
4781 test ! -s conftest.err
4782 } && test -s conftest.$ac_objext; then
4783 # It does; now see whether it defined to _BIG_ENDIAN or not.
4784 cat >conftest.$ac_ext <<_ACEOF
4787 cat confdefs.h >>conftest.$ac_ext
4788 cat >>conftest.$ac_ext <<_ACEOF
4789 /* end confdefs.h. */
4803 rm -f conftest.$ac_objext
4804 if { (ac_try="$ac_compile"
4806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4807 *) ac_try_echo=$ac_try;;
4809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4810 $as_echo "$ac_try_echo") >&5
4811 (eval "$ac_compile") 2>conftest.er1
4813 grep -v '^ *+' conftest.er1 >conftest.err
4815 cat conftest.err >&5
4816 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); } && {
4818 test -z "$ac_c_werror_flag" ||
4819 test ! -s conftest.err
4820 } && test -s conftest.$ac_objext; then
4821 ac_cv_c_bigendian=yes
4823 $as_echo "$as_me: failed program was:" >&5
4824 sed 's/^/| /' conftest.$ac_ext >&5
4826 ac_cv_c_bigendian=no
4829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4831 $as_echo "$as_me: failed program was:" >&5
4832 sed 's/^/| /' conftest.$ac_ext >&5
4837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4839 if test $ac_cv_c_bigendian = unknown; then
4840 # Compile a test program.
4841 if test "$cross_compiling" = yes; then
4842 # Try to guess by grepping values from an object file.
4843 cat >conftest.$ac_ext <<_ACEOF
4846 cat confdefs.h >>conftest.$ac_ext
4847 cat >>conftest.$ac_ext <<_ACEOF
4848 /* end confdefs.h. */
4849 short int ascii_mm[] =
4850 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4851 short int ascii_ii[] =
4852 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4853 int use_ascii (int i) {
4854 return ascii_mm[i] + ascii_ii[i];
4856 short int ebcdic_ii[] =
4857 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4858 short int ebcdic_mm[] =
4859 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4860 int use_ebcdic (int i) {
4861 return ebcdic_mm[i] + ebcdic_ii[i];
4868 return use_ascii (foo) == use_ebcdic (foo);
4873 rm -f conftest.$ac_objext
4874 if { (ac_try="$ac_compile"
4876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4877 *) ac_try_echo=$ac_try;;
4879 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4880 $as_echo "$ac_try_echo") >&5
4881 (eval "$ac_compile") 2>conftest.er1
4883 grep -v '^ *+' conftest.er1 >conftest.err
4885 cat conftest.err >&5
4886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); } && {
4888 test -z "$ac_c_werror_flag" ||
4889 test ! -s conftest.err
4890 } && test -s conftest.$ac_objext; then
4891 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4892 ac_cv_c_bigendian=yes
4894 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4895 if test "$ac_cv_c_bigendian" = unknown; then
4896 ac_cv_c_bigendian=no
4898 # finding both strings is unlikely to happen, but who knows?
4899 ac_cv_c_bigendian=unknown
4903 $as_echo "$as_me: failed program was:" >&5
4904 sed 's/^/| /' conftest.$ac_ext >&5
4909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4911 cat >conftest.$ac_ext <<_ACEOF
4914 cat confdefs.h >>conftest.$ac_ext
4915 cat >>conftest.$ac_ext <<_ACEOF
4916 /* end confdefs.h. */
4917 $ac_includes_default
4922 /* Are we little or big endian? From Harbison&Steele. */
4926 char c[sizeof (long int)];
4929 return u.c[sizeof (long int) - 1] == 1;
4935 rm -f conftest$ac_exeext
4936 if { (ac_try="$ac_link"
4938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4939 *) ac_try_echo=$ac_try;;
4941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4942 $as_echo "$ac_try_echo") >&5
4943 (eval "$ac_link") 2>&5
4945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4947 { (case "(($ac_try" in
4948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4949 *) ac_try_echo=$ac_try;;
4951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4952 $as_echo "$ac_try_echo") >&5
4953 (eval "$ac_try") 2>&5
4955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); }; }; then
4957 ac_cv_c_bigendian=no
4959 $as_echo "$as_me: program exited with status $ac_status" >&5
4960 $as_echo "$as_me: failed program was:" >&5
4961 sed 's/^/| /' conftest.$ac_ext >&5
4964 ac_cv_c_bigendian=yes
4966 rm -rf conftest.dSYM
4967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4973 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4974 $as_echo "$ac_cv_c_bigendian" >&6; }
4975 case $ac_cv_c_bigendian in #(
4977 cat >>confdefs.h <<\_ACEOF
4978 #define WORDS_BIGENDIAN 1
4985 cat >>confdefs.h <<\_ACEOF
4986 #define AC_APPLE_UNIVERSAL_BUILD 1
4991 { { $as_echo "$as_me:$LINENO: error: unknown endianness
4992 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4993 $as_echo "$as_me: error: unknown endianness
4994 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4995 { (exit 1); exit 1; }; } ;;
4999 if test $passed = yes; then
5001 # Extract the first word of "mb-gcc", so it can be a program name with args.
5002 set dummy mb-gcc; ac_word=$2
5003 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5004 $as_echo_n "checking for $ac_word... " >&6; }
5005 if test "${ac_cv_prog_MB_GCC+set}" = set; then
5006 $as_echo_n "(cached) " >&6
5008 if test -n "$MB_GCC"; then
5009 ac_cv_prog_MB_GCC="$MB_GCC" # Let the user override the test.
5011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5015 test -z "$as_dir" && as_dir=.
5016 for ac_exec_ext in '' $ac_executable_extensions; do
5017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5018 ac_cv_prog_MB_GCC="yes"
5019 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5026 test -z "$ac_cv_prog_MB_GCC" && ac_cv_prog_MB_GCC="no"
5029 MB_GCC=$ac_cv_prog_MB_GCC
5030 if test -n "$MB_GCC"; then
5031 { $as_echo "$as_me:$LINENO: result: $MB_GCC" >&5
5032 $as_echo "$MB_GCC" >&6; }
5034 { $as_echo "$as_me:$LINENO: result: no" >&5
5035 $as_echo "no" >&6; }
5039 if test $MB_GCC = no; then
5040 { $as_echo "$as_me:$LINENO: result: usrp2 firmware requires mb-gcc. Not found" >&5
5041 $as_echo "usrp2 firmware requires mb-gcc. Not found" >&6; }
5045 if test $passed != with; then
5050 ac_config_files="$ac_config_files apps/Makefile include/Makefile lib/Makefile"
5053 if test $passed = yes && test "$enable_usrp2_firmware" != no; then
5054 BUILDING_USRP2_FIRMWARE_TRUE=
5055 BUILDING_USRP2_FIRMWARE_FALSE='#'
5057 BUILDING_USRP2_FIRMWARE_TRUE='#'
5058 BUILDING_USRP2_FIRMWARE_FALSE=
5064 usrp2_firmware_with=no
5065 if test $passed = no; then
5066 if test x$enable_usrp2_firmware = xyes; then
5067 { { $as_echo "$as_me:$LINENO: error: Component usrp2-firmware has errors; stopping." >&5
5068 $as_echo "$as_me: error: Component usrp2-firmware has errors; stopping." >&2;}
5069 { (exit 1); exit 1; }; }
5071 { $as_echo "$as_me:$LINENO: result: Not building component usrp2-firmware." >&5
5072 $as_echo "Not building component usrp2-firmware." >&6; }
5075 if test $passed = with; then
5076 with_dirs="$with_dirs usrp2-firmware"
5078 if test "x${usrp2_firmware_INCLUDES}" != "x"; then
5079 if test "x$with_INCLUDES" = "x"; then
5080 with_INCLUDES="${usrp2_firmware_INCLUDES}"
5082 with_INCLUDES="${usrp2_firmware_INCLUDES}"" ""$with_INCLUDES"
5084 usrp2_firmware_INCLUDES=
5088 if test "x${usrp2_firmware_SWIG_INCLUDES}" != "x"; then
5089 if test "x$with_SWIG_INCLUDES" = "x"; then
5090 with_SWIG_INCLUDES="${usrp2_firmware_SWIG_INCLUDES}"
5092 with_SWIG_INCLUDES="${usrp2_firmware_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
5094 usrp2_firmware_SWIG_INCLUDES=
5098 if test "x${usrp2_firmware_PYDIRPATH}" != "x"; then
5099 if test "x$with_PYDIRPATH" = "x"; then
5100 with_PYDIRPATH="${usrp2_firmware_PYDIRPATH}"
5102 with_PYDIRPATH="${usrp2_firmware_PYDIRPATH}"":""$with_PYDIRPATH"
5104 usrp2_firmware_PYDIRPATH=
5108 if test "x${usrp2_firmware_SWIGDIRPATH}" != "x"; then
5109 if test "x$with_SWIGDIRPATH" = "x"; then
5110 with_SWIGDIRPATH="${usrp2_firmware_SWIGDIRPATH}"
5112 with_SWIGDIRPATH="${usrp2_firmware_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
5114 usrp2_firmware_SWIGDIRPATH=
5118 if test "x${usrp2_firmware_LIBDIRPATH}" != "x"; then
5119 if test "x$with_LIBDIRPATH" = "x"; then
5120 with_LIBDIRPATH="${usrp2_firmware_LIBDIRPATH}"
5122 with_LIBDIRPATH="${usrp2_firmware_LIBDIRPATH}"":""$with_LIBDIRPATH"
5124 usrp2_firmware_LIBDIRPATH=
5127 { $as_echo "$as_me:$LINENO: result: Component usrp2-firmware will be included from a pre-installed library and includes." >&5
5128 $as_echo "Component usrp2-firmware will be included from a pre-installed library and includes." >&6; }
5129 usrp2_firmware_with=yes
5131 usrp2_firmware_LDFLAG=
5132 if test x$enable_usrp2_firmware != xno; then
5134 build_dirs="$build_dirs usrp2-firmware"
5135 { $as_echo "$as_me:$LINENO: result: Component usrp2-firmware passed configuration checks; building." >&5
5136 $as_echo "Component usrp2-firmware passed configuration checks; building." >&6; }
5139 { $as_echo "$as_me:$LINENO: result: Component usrp2-firmware passed configuration checks; but not building." >&5
5140 $as_echo "Component usrp2-firmware passed configuration checks; but not building." >&6; }
5144 if test $passed = no; then
5145 skipped_dirs="$skipped_dirs usrp2-firmware"
5146 usrp2_firmware_skipped=yes
5148 usrp2_firmware_skipped=no
5160 # Each component is now either to be built, was skipped, will be
5161 # included from pre-installed libraries and includes, or failed
5163 build_dirs=$build_dirs
5165 skipped_dirs=$skipped_dirs
5167 with_dirs=$with_dirs
5170 # fix for older autotools that don't define "abs_top_YYY" by default
5174 # 'with' variables - the pre-installed libraries, includes, and paths
5175 # - must always come last in the lists, so they require special
5183 ac_config_files="$ac_config_files Makefile config/Makefile"
5186 cat >confcache <<\_ACEOF
5187 # This file is a shell script that caches the results of configure
5188 # tests run on this system so they can be shared between configure
5189 # scripts and configure runs, see configure's option --config-cache.
5190 # It is not useful on other systems. If it contains results you don't
5191 # want to keep, you may remove or edit it.
5193 # config.status only pays attention to the cache file if you give it
5194 # the --recheck option to rerun configure.
5196 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5197 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5202 # The following way of writing the cache mishandles newlines in values,
5203 # but we know of no workaround that is simple, portable, and efficient.
5204 # So, we kill variables containing newlines.
5205 # Ultrix sh set writes to stderr and can't be redirected directly,
5206 # and sets the high bit in the cache file unless we assign to the vars.
5208 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5209 eval ac_val=\$$ac_var
5213 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5214 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5217 _ | IFS | as_nl) ;; #(
5218 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5219 *) $as_unset $ac_var ;;
5225 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5226 *${as_nl}ac_space=\ *)
5227 # `set' does not quote correctly, so add quotes (double-quote
5228 # substitution turns \\\\ into \\, and sed turns \\ into \).
5231 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5234 # `set' quotes correctly as required by POSIX, so do not add quotes.
5235 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5244 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5246 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5248 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5249 if test -w "$cache_file"; then
5250 test "x$cache_file" != "x/dev/null" &&
5251 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5252 $as_echo "$as_me: updating cache $cache_file" >&6;}
5253 cat confcache >$cache_file
5255 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5256 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5261 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5262 # Let make expand exec_prefix.
5263 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5265 DEFS=-DHAVE_CONFIG_H
5269 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5270 # 1. Remove the extension, and $U if already installed.
5271 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5272 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5273 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5274 # will be set to the directory where LIBOBJS objects are built.
5275 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5276 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5280 LTLIBOBJS=$ac_ltlibobjs
5283 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5284 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5285 Usually this means the macro was only invoked conditionally." >&5
5286 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5287 Usually this means the macro was only invoked conditionally." >&2;}
5288 { (exit 1); exit 1; }; }
5290 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5291 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5292 Usually this means the macro was only invoked conditionally." >&5
5293 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5294 Usually this means the macro was only invoked conditionally." >&2;}
5295 { (exit 1); exit 1; }; }
5297 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
5298 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
5299 Usually this means the macro was only invoked conditionally." >&5
5300 $as_echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
5301 Usually this means the macro was only invoked conditionally." >&2;}
5302 { (exit 1); exit 1; }; }
5305 if test -z "${BUILDING_USRP2_FIRMWARE_TRUE}" && test -z "${BUILDING_USRP2_FIRMWARE_FALSE}"; then
5306 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILDING_USRP2_FIRMWARE\" was never defined.
5307 Usually this means the macro was only invoked conditionally." >&5
5308 $as_echo "$as_me: error: conditional \"BUILDING_USRP2_FIRMWARE\" was never defined.
5309 Usually this means the macro was only invoked conditionally." >&2;}
5310 { (exit 1); exit 1; }; }
5313 : ${CONFIG_STATUS=./config.status}
5315 ac_clean_files_save=$ac_clean_files
5316 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5317 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5318 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5319 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5321 # Generated by $as_me.
5322 # Run this file to recreate the current configuration.
5323 # Compiler output produced by configure, useful for debugging
5324 # configure, is in config.log if it exists.
5329 SHELL=\${CONFIG_SHELL-$SHELL}
5332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5333 ## --------------------- ##
5334 ## M4sh Initialization. ##
5335 ## --------------------- ##
5337 # Be more Bourne compatible
5338 DUALCASE=1; export DUALCASE # for MKS sh
5339 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5342 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5343 # is contrary to our usage. Disable this feature.
5344 alias -g '${1+"$@"}'='"$@"'
5345 setopt NO_GLOB_SUBST
5347 case `(set -o) 2>/dev/null` in
5348 *posix*) set -o posix ;;
5357 # Avoid depending upon Character Ranges.
5358 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5359 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5360 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5361 as_cr_digits='0123456789'
5362 as_cr_alnum=$as_cr_Letters$as_cr_digits
5367 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5368 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5369 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5370 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5371 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5372 as_echo='printf %s\n'
5373 as_echo_n='printf %s'
5375 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5376 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5377 as_echo_n='/usr/ucb/echo -n'
5379 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5380 as_echo_n_body='eval
5384 expr "X$arg" : "X\\(.*\\)$as_nl";
5385 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5387 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5389 export as_echo_n_body
5390 as_echo_n='sh -c $as_echo_n_body as_echo'
5393 as_echo='sh -c $as_echo_body as_echo'
5396 # The user is always right.
5397 if test "${PATH_SEPARATOR+set}" != set; then
5399 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5400 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5405 # Support unset when possible.
5406 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5414 # We need space, tab and new line, in precisely that order. Quoting is
5415 # there to prevent editors from complaining about space-tab.
5416 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5417 # splitting by setting IFS to empty value.)
5420 # Find who we are. Look in the path if we contain no directory separator.
5422 *[\\/]* ) as_myself=$0 ;;
5423 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427 test -z "$as_dir" && as_dir=.
5428 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5434 # We did not find ourselves, most probably we were run as `sh COMMAND'
5435 # in which case we are not to be found in the path.
5436 if test "x$as_myself" = x; then
5439 if test ! -f "$as_myself"; then
5440 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5441 { (exit 1); exit 1; }
5444 # Work around bugs in pre-3.0 UWIN ksh.
5445 for as_var in ENV MAIL MAILPATH
5446 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5458 # Required to use basename.
5459 if expr a : '\(a\)' >/dev/null 2>&1 &&
5460 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5466 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5467 as_basename=basename
5473 # Name of the executable.
5474 as_me=`$as_basename -- "$0" ||
5475 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5476 X"$0" : 'X\(//\)$' \| \
5477 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5479 sed '/^.*\/\([^/][^/]*\)\/*$/{
5500 test "x$as_lineno_1" != "x$as_lineno_2" &&
5501 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5503 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5504 # uniformly replaced by the line number. The first 'sed' inserts a
5505 # line-number line after each line using $LINENO; the second 'sed'
5506 # does the real work. The second script uses 'N' to pair each
5507 # line-number line with the line containing $LINENO, and appends
5508 # trailing '-' during substitution so that $LINENO is not a special
5510 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5511 # scripts with optimization help from Paolo Bonzini. Blame Lee
5512 # E. McMahon (1931-1989) for sed's syntax. :-)
5524 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5528 chmod +x "$as_me.lineno" ||
5529 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5530 { (exit 1); exit 1; }; }
5532 # Don't try to exec as it changes $[0], causing all sort of problems
5533 # (the dirname of $[0] is not the place where we might find the
5534 # original and so on. Autoconf is especially sensitive to this).
5536 # Exit status is that of the last command.
5541 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5547 ECHO_C= ECHO_N= ECHO_T=
5550 case `echo 'x\c'` in
5551 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5557 if expr a : '\(a\)' >/dev/null 2>&1 &&
5558 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5564 rm -f conf$$ conf$$.exe conf$$.file
5565 if test -d conf$$.dir; then
5566 rm -f conf$$.dir/conf$$.file
5569 mkdir conf$$.dir 2>/dev/null
5571 if (echo >conf$$.file) 2>/dev/null; then
5572 if ln -s conf$$.file conf$$ 2>/dev/null; then
5574 # ... but there are two gotchas:
5575 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5576 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5577 # In both cases, we have to default to `cp -p'.
5578 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5580 elif ln conf$$.file conf$$ 2>/dev/null; then
5588 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5589 rmdir conf$$.dir 2>/dev/null
5591 if mkdir -p . 2>/dev/null; then
5594 test -d ./-p && rmdir ./-p
5598 if test -x / >/dev/null 2>&1; then
5601 if ls -dL / >/dev/null 2>&1; then
5608 if test -d "$1"; then
5614 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5615 ???[sx]*):;;*)false;;esac;fi
5619 as_executable_p=$as_test_x
5621 # Sed expression to map a string onto a valid CPP name.
5622 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5624 # Sed expression to map a string onto a valid variable name.
5625 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5630 # Save the log message, to keep $[0] and so on meaningful, and to
5631 # report actual input values of CONFIG_FILES etc. instead of their
5632 # values after options handling.
5634 This file was extended by $as_me, which was
5635 generated by GNU Autoconf 2.63. Invocation command line was
5637 CONFIG_FILES = $CONFIG_FILES
5638 CONFIG_HEADERS = $CONFIG_HEADERS
5639 CONFIG_LINKS = $CONFIG_LINKS
5640 CONFIG_COMMANDS = $CONFIG_COMMANDS
5643 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5648 case $ac_config_files in *"
5649 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5652 case $ac_config_headers in *"
5653 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5658 # Files that config.status was made for.
5659 config_files="$ac_config_files"
5660 config_headers="$ac_config_headers"
5661 config_commands="$ac_config_commands"
5665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5667 \`$as_me' instantiates files from templates according to the
5668 current configuration.
5670 Usage: $0 [OPTION]... [FILE]...
5672 -h, --help print this help, then exit
5673 -V, --version print version number and configuration settings, then exit
5674 -q, --quiet, --silent
5675 do not print progress messages
5676 -d, --debug don't remove temporary files
5677 --recheck update $as_me by reconfiguring in the same conditions
5678 --file=FILE[:TEMPLATE]
5679 instantiate the configuration file FILE
5680 --header=FILE[:TEMPLATE]
5681 instantiate the configuration header FILE
5683 Configuration files:
5686 Configuration headers:
5689 Configuration commands:
5692 Report bugs to <bug-autoconf@gnu.org>."
5695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5698 configured by $0, generated by GNU Autoconf 2.63,
5699 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5701 Copyright (C) 2008 Free Software Foundation, Inc.
5702 This config.status script is free software; the Free Software Foundation
5703 gives unlimited permission to copy, distribute and modify it."
5710 test -n "\$AWK" || AWK=awk
5713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5714 # The default lists apply if the user does not specify any file.
5720 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5721 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5732 # Handling of the options.
5733 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5735 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5736 $as_echo "$ac_cs_version"; exit ;;
5737 --debug | --debu | --deb | --de | --d | -d )
5739 --file | --fil | --fi | --f )
5742 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5744 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5745 ac_need_defaults=false;;
5746 --header | --heade | --head | --hea )
5749 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5751 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5752 ac_need_defaults=false;;
5754 # Conflict between --help and --header
5755 { $as_echo "$as_me: error: ambiguous option: $1
5756 Try \`$0 --help' for more information." >&2
5757 { (exit 1); exit 1; }; };;
5758 --help | --hel | -h )
5759 $as_echo "$ac_cs_usage"; exit ;;
5760 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5761 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5765 -*) { $as_echo "$as_me: error: unrecognized option: $1
5766 Try \`$0 --help' for more information." >&2
5767 { (exit 1); exit 1; }; } ;;
5769 *) ac_config_targets="$ac_config_targets $1"
5770 ac_need_defaults=false ;;
5776 ac_configure_extra_args=
5778 if $ac_cs_silent; then
5780 ac_configure_extra_args="$ac_configure_extra_args --silent"
5784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5785 if \$ac_cs_recheck; then
5786 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5788 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5789 CONFIG_SHELL='$SHELL'
5795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5799 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5800 ## Running $as_me. ##
5806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5810 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5816 # Handling of arguments.
5817 for ac_config_target in $ac_config_targets
5819 case $ac_config_target in
5820 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5821 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5822 "apps/Makefile") CONFIG_FILES="$CONFIG_FILES apps/Makefile" ;;
5823 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
5824 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
5825 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5826 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
5828 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5829 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5830 { (exit 1); exit 1; }; };;
5835 # If the user did not use the arguments to specify the items to instantiate,
5836 # then the envvar interface is used. Set only those that are not.
5837 # We use the long form for the default assignment because of an extremely
5838 # bizarre bug on SunOS 4.1.3.
5839 if $ac_need_defaults; then
5840 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5841 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5842 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5845 # Have a temporary directory for convenience. Make it in the build tree
5846 # simply because there is no reason against having it here, and in addition,
5847 # creating and moving files from /tmp can sometimes cause problems.
5848 # Hook for its removal unless debugging.
5849 # Note that there is a small window in which the directory will not be cleaned:
5850 # after its creation but before its name has been assigned to `$tmp'.
5854 trap 'exit_status=$?
5855 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5857 trap '{ (exit 1); exit 1; }' 1 2 13 15
5859 # Create a (secure) tmp directory for tmp files.
5862 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5863 test -n "$tmp" && test -d "$tmp"
5866 tmp=./conf$$-$RANDOM
5867 (umask 077 && mkdir "$tmp")
5870 $as_echo "$as_me: cannot create a temporary directory in ." >&2
5871 { (exit 1); exit 1; }
5874 # Set up the scripts for CONFIG_FILES section.
5875 # No need to generate them if there are no CONFIG_FILES.
5876 # This happens for instance with `./config.status config.h'.
5877 if test -n "$CONFIG_FILES"; then
5881 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5882 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5888 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5893 echo "cat >conf$$subs.awk <<_ACEOF" &&
5894 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5897 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5898 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5899 { (exit 1); exit 1; }; }
5900 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5902 for ac_last_try in false false false false false :; do
5903 . ./conf$$subs.sh ||
5904 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5905 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5906 { (exit 1); exit 1; }; }
5908 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5909 if test $ac_delim_n = $ac_delim_num; then
5911 elif $ac_last_try; then
5912 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5913 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5914 { (exit 1); exit 1; }; }
5916 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5922 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5926 s/^/S["/; s/!.*/"]=/
5936 s/\(.\{148\}\).*/\1/
5938 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5943 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5950 s/\(.\{148\}\).*/\1/
5952 s/["\\]/\\&/g; s/^/"/; s/$/"/
5956 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5961 ' <conf$$subs.awk | sed '
5966 ' >>$CONFIG_STATUS || ac_write_fail=1
5967 rm -f conf$$subs.awk
5968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5970 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5971 for (key in S) S_is_set[key] = 1
5977 nfields = split(line, field, "@")
5979 len = length(field[1])
5980 for (i = 2; i < nfields; i++) {
5982 keylen = length(key)
5983 if (S_is_set[key]) {
5985 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5986 len += length(value) + length(field[++i])
5997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5998 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5999 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6002 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6003 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6004 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6005 { (exit 1); exit 1; }; }
6008 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6009 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6010 # trailing colons and then remove the whole line if VPATH becomes empty
6011 # (actually we leave an empty line to preserve line numbers).
6012 if test "x$srcdir" = x.; then
6013 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6017 s/^\([^=]*=[ ]*\):*/\1/
6023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6024 fi # test -n "$CONFIG_FILES"
6026 # Set up the scripts for CONFIG_HEADERS section.
6027 # No need to generate them if there are no CONFIG_HEADERS.
6028 # This happens for instance with `./config.status Makefile'.
6029 if test -n "$CONFIG_HEADERS"; then
6030 cat >"$tmp/defines.awk" <<\_ACAWK ||
6034 # Transform confdefs.h into an awk script `defines.awk', embedded as
6035 # here-document in config.status, that substitutes the proper values into
6036 # config.h.in to produce config.h.
6038 # Create a delimiter string that does not exist in confdefs.h, to ease
6039 # handling of long lines.
6041 for ac_last_try in false false :; do
6042 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6043 if test -z "$ac_t"; then
6045 elif $ac_last_try; then
6046 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6047 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6048 { (exit 1); exit 1; }; }
6050 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6054 # For the awk script, D is an array of macro values keyed by name,
6055 # likewise P contains macro parameters if any. Preserve backslash
6056 # newline sequences.
6058 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6060 s/.\{148\}/&'"$ac_delim"'/g
6063 s/^[ ]*#[ ]*define[ ][ ]*/ /
6070 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6072 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6076 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6077 D["\1"]=" \3\\\\\\n"\\/p
6079 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6084 s/.\{148\}/&'"$ac_delim"'/g
6089 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6092 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6094 ' <confdefs.h | sed '
6095 s/'"$ac_delim"'/"\\\
6096 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6099 for (key in D) D_is_set[key] = 1
6102 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6104 split(line, arg, " ")
6105 if (arg[1] == "#") {
6109 defundef = substr(arg[1], 2)
6112 split(mac1, mac2, "(") #)
6114 prefix = substr(line, 1, index(line, defundef) - 1)
6115 if (D_is_set[macro]) {
6116 # Preserve the white space surrounding the "#".
6117 print prefix "define", macro P[macro] D[macro]
6120 # Replace #undef with comments. This is necessary, for example,
6121 # in the case of _POSIX_SOURCE, which is predefined and required
6122 # on some systems where configure will not decide to define it.
6123 if (defundef == "undef") {
6124 print "/*", prefix defundef, macro, "*/"
6132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6133 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6134 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6135 { (exit 1); exit 1; }; }
6136 fi # test -n "$CONFIG_HEADERS"
6139 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6144 :[FHLC]) ac_mode=$ac_tag; continue;;
6146 case $ac_mode$ac_tag in
6148 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6149 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6150 { (exit 1); exit 1; }; };;
6151 :[FH]-) ac_tag=-:-;;
6152 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6169 -) ac_f="$tmp/stdin";;
6170 *) # Look for the file first in the build tree, then in the source tree
6171 # (if the path is not absolute). The absolute path cannot be DOS-style,
6172 # because $ac_f cannot contain `:'.
6176 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6178 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6179 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6180 { (exit 1); exit 1; }; };;
6182 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6183 ac_file_inputs="$ac_file_inputs '$ac_f'"
6186 # Let's still pretend it is `configure' which instantiates (i.e., don't
6187 # use $as_me), people would be surprised to read:
6188 # /* config.h. Generated by config.status. */
6189 configure_input='Generated from '`
6190 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6192 if test x"$ac_file" != x-; then
6193 configure_input="$ac_file. $configure_input"
6194 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6195 $as_echo "$as_me: creating $ac_file" >&6;}
6197 # Neutralize special characters interpreted by sed in replacement strings.
6198 case $configure_input in #(
6199 *\&* | *\|* | *\\* )
6200 ac_sed_conf_input=`$as_echo "$configure_input" |
6201 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6202 *) ac_sed_conf_input=$configure_input;;
6206 *:-:* | *:-) cat >"$tmp/stdin" \
6207 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6208 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6209 { (exit 1); exit 1; }; } ;;
6214 ac_dir=`$as_dirname -- "$ac_file" ||
6215 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6216 X"$ac_file" : 'X\(//\)[^/]' \| \
6217 X"$ac_file" : 'X\(//\)$' \| \
6218 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6219 $as_echo X"$ac_file" |
6220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6239 -*) as_dir=./$as_dir;;
6241 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6245 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6246 *) as_qdir=$as_dir;;
6248 as_dirs="'$as_qdir' $as_dirs"
6249 as_dir=`$as_dirname -- "$as_dir" ||
6250 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6251 X"$as_dir" : 'X\(//\)[^/]' \| \
6252 X"$as_dir" : 'X\(//\)$' \| \
6253 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6254 $as_echo X"$as_dir" |
6255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6272 test -d "$as_dir" && break
6274 test -z "$as_dirs" || eval "mkdir $as_dirs"
6275 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6276 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6277 { (exit 1); exit 1; }; }; }
6281 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6283 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6284 # A ".." for each directory in $ac_dir_suffix.
6285 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6286 case $ac_top_builddir_sub in
6287 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6288 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6291 ac_abs_top_builddir=$ac_pwd
6292 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6293 # for backward compatibility:
6294 ac_top_builddir=$ac_top_build_prefix
6297 .) # We are building in place.
6299 ac_top_srcdir=$ac_top_builddir_sub
6300 ac_abs_top_srcdir=$ac_pwd ;;
6301 [\\/]* | ?:[\\/]* ) # Absolute name.
6302 ac_srcdir=$srcdir$ac_dir_suffix;
6303 ac_top_srcdir=$srcdir
6304 ac_abs_top_srcdir=$srcdir ;;
6306 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6307 ac_top_srcdir=$ac_top_build_prefix$srcdir
6308 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6310 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6320 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6321 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6325 [\\/$]* | ?:[\\/]* ) ;;
6326 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6331 # If the template does not know about datarootdir, expand it.
6332 # FIXME: This hack should be removed a few years after 2.60.
6333 ac_datarootdir_hack=; ac_datarootdir_seen=
6346 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6347 *datarootdir*) ac_datarootdir_seen=yes;;
6348 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6349 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6350 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6353 ac_datarootdir_hack='
6354 s&@datadir@&$datadir&g
6355 s&@docdir@&$docdir&g
6356 s&@infodir@&$infodir&g
6357 s&@localedir@&$localedir&g
6358 s&@mandir@&$mandir&g
6359 s&\\\${datarootdir}&$datarootdir&g' ;;
6363 # Neutralize VPATH when `$srcdir' = `.'.
6364 # Shell code in configure.ac might set extrasub.
6365 # FIXME: do we really want to maintain this feature?
6366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6367 ac_sed_extra="$ac_vpsub
6370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6372 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6373 s|@configure_input@|$ac_sed_conf_input|;t t
6374 s&@top_builddir@&$ac_top_builddir_sub&;t t
6375 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6376 s&@srcdir@&$ac_srcdir&;t t
6377 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6378 s&@top_srcdir@&$ac_top_srcdir&;t t
6379 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6380 s&@builddir@&$ac_builddir&;t t
6381 s&@abs_builddir@&$ac_abs_builddir&;t t
6382 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6383 s&@INSTALL@&$ac_INSTALL&;t t
6384 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6385 $ac_datarootdir_hack
6387 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6388 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6389 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6390 { (exit 1); exit 1; }; }
6392 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6393 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6394 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6395 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6396 which seems to be undefined. Please make sure it is defined." >&5
6397 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6398 which seems to be undefined. Please make sure it is defined." >&2;}
6402 -) cat "$tmp/out" && rm -f "$tmp/out";;
6403 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6405 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6406 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6407 { (exit 1); exit 1; }; }
6413 if test x"$ac_file" != x-; then
6415 $as_echo "/* $configure_input */" \
6416 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6417 } >"$tmp/config.h" \
6418 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6419 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6420 { (exit 1); exit 1; }; }
6421 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6422 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6423 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6426 mv "$tmp/config.h" "$ac_file" \
6427 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6428 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6429 { (exit 1); exit 1; }; }
6432 $as_echo "/* $configure_input */" \
6433 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6434 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6435 $as_echo "$as_me: error: could not create -" >&2;}
6436 { (exit 1); exit 1; }; }
6438 # Compute "$ac_file"'s index in $config_headers.
6441 for _am_header in $config_headers :; do
6443 $_am_arg | $_am_arg:* )
6446 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6449 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6450 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6451 X"$_am_arg" : 'X\(//\)[^/]' \| \
6452 X"$_am_arg" : 'X\(//\)$' \| \
6453 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6454 $as_echo X"$_am_arg" |
6455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6471 s/.*/./; q'`/stamp-h$_am_stamp_count
6474 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6475 $as_echo "$as_me: executing $ac_file commands" >&6;}
6480 case $ac_file$ac_mode in
6481 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6482 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6483 # are listed without --file. Let's play safe and only enable the eval
6484 # if we detect the quoting.
6485 case $CONFIG_FILES in
6486 *\'*) eval set x "$CONFIG_FILES" ;;
6487 *) set x $CONFIG_FILES ;;
6492 # Strip MF so we end up with the name of the file.
6493 mf=`echo "$mf" | sed -e 's/:.*$//'`
6494 # Check whether this is an Automake generated Makefile or not.
6495 # We used to match only the files named `Makefile.in', but
6496 # some people rename them; so instead we look at the file content.
6497 # Grep'ing the first line is not enough: some people post-process
6498 # each Makefile.in and add a new line on top of each file to say so.
6499 # Grep'ing the whole file is not good either: AIX grep has a line
6500 # limit of 2048, but all sed's we know have understand at least 4000.
6501 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6502 dirpart=`$as_dirname -- "$mf" ||
6503 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6504 X"$mf" : 'X\(//\)[^/]' \| \
6505 X"$mf" : 'X\(//\)$' \| \
6506 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6528 # Extract the definition of DEPDIR, am__include, and am__quote
6529 # from the Makefile without running `make'.
6530 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6531 test -z "$DEPDIR" && continue
6532 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6533 test -z "am__include" && continue
6534 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6535 # When using ansi2knr, U may be empty or an underscore; expand it
6536 U=`sed -n 's/^U = //p' < "$mf"`
6537 # Find all dependency output files, they are included files with
6538 # $(DEPDIR) in their names. We invoke sed twice because it is the
6539 # simplest approach to changing $(DEPDIR) to its actual value in the
6541 for file in `sed -n "
6542 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6543 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6544 # Make sure the directory exists.
6545 test -f "$dirpart/$file" && continue
6546 fdir=`$as_dirname -- "$file" ||
6547 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6548 X"$file" : 'X\(//\)[^/]' \| \
6549 X"$file" : 'X\(//\)$' \| \
6550 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6569 { as_dir=$dirpart/$fdir
6571 -*) as_dir=./$as_dir;;
6573 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6577 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6578 *) as_qdir=$as_dir;;
6580 as_dirs="'$as_qdir' $as_dirs"
6581 as_dir=`$as_dirname -- "$as_dir" ||
6582 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6583 X"$as_dir" : 'X\(//\)[^/]' \| \
6584 X"$as_dir" : 'X\(//\)$' \| \
6585 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6586 $as_echo X"$as_dir" |
6587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6604 test -d "$as_dir" && break
6606 test -z "$as_dirs" || eval "mkdir $as_dirs"
6607 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6608 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6609 { (exit 1); exit 1; }; }; }
6610 # echo "creating $dirpart/$file"
6611 echo '# dummy' > "$dirpart/$file"
6621 { (exit 0); exit 0; }
6623 chmod +x $CONFIG_STATUS
6624 ac_clean_files=$ac_clean_files_save
6626 test $ac_write_fail = 0 ||
6627 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6628 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6629 { (exit 1); exit 1; }; }
6632 # configure is writing to config.log, and then calls config.status.
6633 # config.status does its own redirection, appending to config.log.
6634 # Unfortunately, on DOS this fails, as config.log is still kept open
6635 # by configure, so config.status won't be able to write to it; its
6636 # output is simply discarded. So we exec the FD to /dev/null,
6637 # effectively closing config.log, so it can be properly (re)opened and
6638 # appended to by config.status. When coming back to configure, we
6639 # need to make the FD available again.
6640 if test "$no_create" != yes; then
6642 ac_config_status_args=
6643 test "$silent" = yes &&
6644 ac_config_status_args="$ac_config_status_args --quiet"
6646 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6648 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6649 # would make configure fail if this is the last instruction.
6650 $ac_cs_success || { (exit 1); exit 1; }
6652 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6653 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6654 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6659 # trim usrp2 out of dirs; we only use it as a controlling dependency
6662 for d in $build_dirs
6664 if test $d != usrp2; then
6665 if test -z "$t"; then
6675 for d in $skipped_dirs
6677 if test $d != usrp2; then
6678 if test -z "$t"; then
6690 if test $d != usrp2; then
6691 if test -z "$t"; then
6700 if test "$build_dirs" != ""; then
6702 echo "*********************************************************************"
6703 echo The following GNU Radio components have been successfully configured:
6705 for dir in $build_dirs
6710 echo You my now run the 'make' command to build these components.
6714 if test "$skipped_dirs" != ""; then
6715 echo "*********************************************************************"
6716 echo The following components were skipped either because you asked not
6717 echo to build them or they didn\'t pass configuration checks:
6719 for dir in $skipped_dirs
6724 echo These components will not be built.
6727 if test "$with_dirs" != ""; then
6728 echo "*********************************************************************"
6729 echo The following components will be included from pre-installed
6730 echo libraries and includes:
6732 for dir in $with_dirs
6737 echo These components will not be built.