c98104f29fb20ba6591746715eb80ed86524b85d
[debian/gnuradio] / usrp2 / firmware / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8 # Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 case $0 in #((
93   *[\\/]* ) as_myself=$0 ;;
94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97   IFS=$as_save_IFS
98   test -z "$as_dir" && as_dir=.
99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100   done
101 IFS=$as_save_IFS
102
103      ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108   as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112   exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there.  '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 if test "x$CONFIG_SHELL" = x; then
137   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138   emulate sh
139   NULLCMD=:
140   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141   # is contrary to our usage.  Disable this feature.
142   alias -g '\${1+\"\$@\"}'='\"\$@\"'
143   setopt NO_GLOB_SUBST
144 else
145   case \`(set -o) 2>/dev/null\` in #(
146   *posix*) :
147     set -o posix ;; #(
148   *) :
149      ;;
150 esac
151 fi
152 "
153   as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
158
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166 else
167   exitcode=1; echo positional parameters were not saved.
168 fi
169 test x\$exitcode = x0 || exit 1"
170   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175   if (eval "$as_required") 2>/dev/null; then :
176   as_have_required=yes
177 else
178   as_have_required=no
179 fi
180   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182 else
183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 do
187   IFS=$as_save_IFS
188   test -z "$as_dir" && as_dir=.
189   as_found=:
190   case $as_dir in #(
191          /*)
192            for as_base in sh bash ksh sh5; do
193              # Try only shells that exist, to save several forks.
194              as_shell=$as_dir/$as_base
195              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197   CONFIG_SHELL=$as_shell as_have_required=yes
198                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   break 2
200 fi
201 fi
202            done;;
203        esac
204   as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208   CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
211
212
213       if test "x$CONFIG_SHELL" != x; then :
214   # We cannot yet assume a decent shell, so we have to provide a
215         # neutralization value for shells without unset; and this also
216         # works around shells that cannot unset nonexistent variables.
217         BASH_ENV=/dev/null
218         ENV=/dev/null
219         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220         export CONFIG_SHELL
221         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 fi
223
224     if test x$as_have_required = xno; then :
225   $as_echo "$0: This script requires a shell more modern than all"
226   $as_echo "$0: the shells that I found on your system."
227   if test x${ZSH_VERSION+set} = xset ; then
228     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230   else
231     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
235   fi
236   exit 1
237 fi
238 fi
239 fi
240 SHELL=${CONFIG_SHELL-/bin/sh}
241 export SHELL
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
245
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
249 # as_fn_unset VAR
250 # ---------------
251 # Portably unset VAR.
252 as_fn_unset ()
253 {
254   { eval $1=; unset $1;}
255 }
256 as_unset=as_fn_unset
257
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
261 as_fn_set_status ()
262 {
263   return $1
264 } # as_fn_set_status
265
266 # as_fn_exit STATUS
267 # -----------------
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269 as_fn_exit ()
270 {
271   set +e
272   as_fn_set_status $1
273   exit $1
274 } # as_fn_exit
275
276 # as_fn_mkdir_p
277 # -------------
278 # Create "$as_dir" as a directory, including parents if necessary.
279 as_fn_mkdir_p ()
280 {
281
282   case $as_dir in #(
283   -*) as_dir=./$as_dir;;
284   esac
285   test -d "$as_dir" || eval $as_mkdir_p || {
286     as_dirs=
287     while :; do
288       case $as_dir in #(
289       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290       *) as_qdir=$as_dir;;
291       esac
292       as_dirs="'$as_qdir' $as_dirs"
293       as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295          X"$as_dir" : 'X\(//\)[^/]' \| \
296          X"$as_dir" : 'X\(//\)$' \| \
297          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300             s//\1/
301             q
302           }
303           /^X\(\/\/\)[^/].*/{
304             s//\1/
305             q
306           }
307           /^X\(\/\/\)$/{
308             s//\1/
309             q
310           }
311           /^X\(\/\).*/{
312             s//\1/
313             q
314           }
315           s/.*/./; q'`
316       test -d "$as_dir" && break
317     done
318     test -z "$as_dirs" || eval "mkdir $as_dirs"
319   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
321
322 } # as_fn_mkdir_p
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
328 # implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330   eval 'as_fn_append ()
331   {
332     eval $1+=\$2
333   }'
334 else
335   as_fn_append ()
336   {
337     eval $1=\$$1\$2
338   }
339 fi # as_fn_append
340
341 # as_fn_arith ARG...
342 # ------------------
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347   eval 'as_fn_arith ()
348   {
349     as_val=$(( $* ))
350   }'
351 else
352   as_fn_arith ()
353   {
354     as_val=`expr "$@" || test $? -eq 1`
355   }
356 fi # as_fn_arith
357
358
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
364 as_fn_error ()
365 {
366   as_status=$?; test $as_status -eq 0 && as_status=1
367   if test "$3"; then
368     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370   fi
371   $as_echo "$as_me: error: $1" >&2
372   as_fn_exit $as_status
373 } # as_fn_error
374
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376    test "X`expr 00001 : '.*\(...\)'`" = X001; then
377   as_expr=expr
378 else
379   as_expr=false
380 fi
381
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383   as_basename=basename
384 else
385   as_basename=false
386 fi
387
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389   as_dirname=dirname
390 else
391   as_dirname=false
392 fi
393
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396          X"$0" : 'X\(//\)$' \| \
397          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 $as_echo X/"$0" |
399     sed '/^.*\/\([^/][^/]*\)\/*$/{
400             s//\1/
401             q
402           }
403           /^X\/\(\/\/\)$/{
404             s//\1/
405             q
406           }
407           /^X\/\(\/\).*/{
408             s//\1/
409             q
410           }
411           s/.*/./; q'`
412
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421   as_lineno_1=$LINENO as_lineno_1a=$LINENO
422   as_lineno_2=$LINENO as_lineno_2a=$LINENO
423   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
426   sed -n '
427     p
428     /[$]LINENO/=
429   ' <$as_myself |
430     sed '
431       s/[$]LINENO.*/&-/
432       t lineno
433       b
434       :lineno
435       N
436       :loop
437       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438       t loop
439       s/-\n.*//
440     ' >$as_me.lineno &&
441   chmod +x "$as_me.lineno" ||
442     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
444   # Don't try to exec as it changes $[0], causing all sort of problems
445   # (the dirname of $[0] is not the place where we might find the
446   # original and so on.  Autoconf is especially sensitive to this).
447   . "./$as_me.lineno"
448   # Exit status is that of the last command.
449   exit
450 }
451
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
454 -n*)
455   case `echo 'xy\c'` in
456   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
457   xy)  ECHO_C='\c';;
458   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459        ECHO_T=' ';;
460   esac;;
461 *)
462   ECHO_N='-n';;
463 esac
464
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467   rm -f conf$$.dir/conf$$.file
468 else
469   rm -f conf$$.dir
470   mkdir conf$$.dir 2>/dev/null
471 fi
472 if (echo >conf$$.file) 2>/dev/null; then
473   if ln -s conf$$.file conf$$ 2>/dev/null; then
474     as_ln_s='ln -s'
475     # ... but there are two gotchas:
476     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478     # In both cases, we have to default to `cp -p'.
479     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480       as_ln_s='cp -p'
481   elif ln conf$$.file conf$$ 2>/dev/null; then
482     as_ln_s=ln
483   else
484     as_ln_s='cp -p'
485   fi
486 else
487   as_ln_s='cp -p'
488 fi
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
491
492 if mkdir -p . 2>/dev/null; then
493   as_mkdir_p='mkdir -p "$as_dir"'
494 else
495   test -d ./-p && rmdir ./-p
496   as_mkdir_p=false
497 fi
498
499 if test -x / >/dev/null 2>&1; then
500   as_test_x='test -x'
501 else
502   if ls -dL / >/dev/null 2>&1; then
503     as_ls_L_option=L
504   else
505     as_ls_L_option=
506   fi
507   as_test_x='
508     eval sh -c '\''
509       if test -d "$1"; then
510         test -d "$1/.";
511       else
512         case $1 in #(
513         -*)set "./$1";;
514         esac;
515         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516         ???[sx]*):;;*)false;;esac;fi
517     '\'' sh
518   '
519 fi
520 as_executable_p=$as_test_x
521
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529 test -n "$DJDIR" || exec 7<&0 </dev/null
530 exec 6>&1
531
532 # Name of the host.
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
537 #
538 # Initializations.
539 #
540 ac_default_prefix=/usr/local
541 ac_clean_files=
542 ac_config_libobj_dir=.
543 LIBOBJS=
544 cross_compiling=no
545 subdirs=
546 MFLAGS=
547 MAKEFLAGS=
548
549 # Identity of this package.
550 PACKAGE_NAME=
551 PACKAGE_TARNAME=
552 PACKAGE_VERSION=
553 PACKAGE_STRING=
554 PACKAGE_BUGREPORT=
555 PACKAGE_URL=
556
557 ac_unique_file="lib/u2_init.c"
558 # Factoring default headers for most tests.
559 ac_includes_default="\
560 #include <stdio.h>
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
563 #endif
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
566 #endif
567 #ifdef STDC_HEADERS
568 # include <stdlib.h>
569 # include <stddef.h>
570 #else
571 # ifdef HAVE_STDLIB_H
572 #  include <stdlib.h>
573 # endif
574 #endif
575 #ifdef HAVE_STRING_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577 #  include <memory.h>
578 # endif
579 # include <string.h>
580 #endif
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
583 #endif
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
586 #endif
587 #ifdef HAVE_STDINT_H
588 # include <stdint.h>
589 #endif
590 #ifdef HAVE_UNISTD_H
591 # include <unistd.h>
592 #endif"
593
594 ac_subst_vars='am__EXEEXT_FALSE
595 am__EXEEXT_TRUE
596 LTLIBOBJS
597 LIBOBJS
598 with_LIBDIRPATH
599 with_SWIGDIRPATH
600 with_PYDIRPATH
601 with_SWIG_INCLUDES
602 with_INCLUDES
603 abs_top_builddir
604 abs_top_srcdir
605 with_dirs
606 skipped_dirs
607 build_dirs
608 usrp2_firmware_LDFLAG
609 usrp2_firmware_LIBDIRPATH
610 usrp2_firmware_INCLUDEDIR
611 usrp2_firmware_LA
612 usrp2_firmware_INCLUDES
613 BUILDING_USRP2_FIRMWARE_FALSE
614 BUILDING_USRP2_FIRMWARE_TRUE
615 MB_GCC
616 EGREP
617 GREP
618 RANLIB
619 am__fastdepCCAS_FALSE
620 am__fastdepCCAS_TRUE
621 CCASDEPMODE
622 CCASFLAGS
623 CCAS
624 CPP
625 am__fastdepCC_FALSE
626 am__fastdepCC_TRUE
627 CCDEPMODE
628 AMDEPBACKSLASH
629 AMDEP_FALSE
630 AMDEP_TRUE
631 am__quote
632 am__include
633 DEPDIR
634 OBJEXT
635 EXEEXT
636 ac_ct_CC
637 CPPFLAGS
638 LDFLAGS
639 CFLAGS
640 CC
641 usrp2_LDFLAG
642 usrp2_LIBDIRPATH
643 usrp2_INCLUDEDIR
644 usrp2_LA
645 usrp2_INCLUDES
646 am__untar
647 am__tar
648 AMTAR
649 am__leading_dot
650 SET_MAKE
651 AWK
652 mkdir_p
653 MKDIR_P
654 INSTALL_STRIP_PROGRAM
655 STRIP
656 install_sh
657 MAKEINFO
658 AUTOHEADER
659 AUTOMAKE
660 AUTOCONF
661 ACLOCAL
662 VERSION
663 PACKAGE
664 CYGPATH_W
665 am__isrc
666 INSTALL_DATA
667 INSTALL_SCRIPT
668 INSTALL_PROGRAM
669 target_alias
670 host_alias
671 build_alias
672 LIBS
673 ECHO_T
674 ECHO_N
675 ECHO_C
676 DEFS
677 mandir
678 localedir
679 libdir
680 psdir
681 pdfdir
682 dvidir
683 htmldir
684 infodir
685 docdir
686 oldincludedir
687 includedir
688 localstatedir
689 sharedstatedir
690 sysconfdir
691 datadir
692 datarootdir
693 libexecdir
694 sbindir
695 bindir
696 program_transform_name
697 prefix
698 exec_prefix
699 PACKAGE_URL
700 PACKAGE_BUGREPORT
701 PACKAGE_STRING
702 PACKAGE_VERSION
703 PACKAGE_TARNAME
704 PACKAGE_NAME
705 PATH_SEPARATOR
706 SHELL'
707 ac_subst_files=''
708 ac_user_opts='
709 enable_option_checking
710 enable_all_components
711 enable_usrp2
712 enable_usrp2_firmware
713 enable_dependency_tracking
714 '
715       ac_precious_vars='build_alias
716 host_alias
717 target_alias
718 CC
719 CFLAGS
720 LDFLAGS
721 LIBS
722 CPPFLAGS
723 CPP
724 CCAS
725 CCASFLAGS'
726
727
728 # Initialize some variables set by options.
729 ac_init_help=
730 ac_init_version=false
731 ac_unrecognized_opts=
732 ac_unrecognized_sep=
733 # The variables have the same names as the options, with
734 # dashes changed to underlines.
735 cache_file=/dev/null
736 exec_prefix=NONE
737 no_create=
738 no_recursion=
739 prefix=NONE
740 program_prefix=NONE
741 program_suffix=NONE
742 program_transform_name=s,x,x,
743 silent=
744 site=
745 srcdir=
746 verbose=
747 x_includes=NONE
748 x_libraries=NONE
749
750 # Installation directory options.
751 # These are left unexpanded so users can "make install exec_prefix=/foo"
752 # and all the variables that are supposed to be based on exec_prefix
753 # by default will actually change.
754 # Use braces instead of parens because sh, perl, etc. also accept them.
755 # (The list follows the same order as the GNU Coding Standards.)
756 bindir='${exec_prefix}/bin'
757 sbindir='${exec_prefix}/sbin'
758 libexecdir='${exec_prefix}/libexec'
759 datarootdir='${prefix}/share'
760 datadir='${datarootdir}'
761 sysconfdir='${prefix}/etc'
762 sharedstatedir='${prefix}/com'
763 localstatedir='${prefix}/var'
764 includedir='${prefix}/include'
765 oldincludedir='/usr/include'
766 docdir='${datarootdir}/doc/${PACKAGE}'
767 infodir='${datarootdir}/info'
768 htmldir='${docdir}'
769 dvidir='${docdir}'
770 pdfdir='${docdir}'
771 psdir='${docdir}'
772 libdir='${exec_prefix}/lib'
773 localedir='${datarootdir}/locale'
774 mandir='${datarootdir}/man'
775
776 ac_prev=
777 ac_dashdash=
778 for ac_option
779 do
780   # If the previous option needs an argument, assign it.
781   if test -n "$ac_prev"; then
782     eval $ac_prev=\$ac_option
783     ac_prev=
784     continue
785   fi
786
787   case $ac_option in
788   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
789   *)    ac_optarg=yes ;;
790   esac
791
792   # Accept the important Cygnus configure options, so we can diagnose typos.
793
794   case $ac_dashdash$ac_option in
795   --)
796     ac_dashdash=yes ;;
797
798   -bindir | --bindir | --bindi | --bind | --bin | --bi)
799     ac_prev=bindir ;;
800   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
801     bindir=$ac_optarg ;;
802
803   -build | --build | --buil | --bui | --bu)
804     ac_prev=build_alias ;;
805   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
806     build_alias=$ac_optarg ;;
807
808   -cache-file | --cache-file | --cache-fil | --cache-fi \
809   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
810     ac_prev=cache_file ;;
811   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
812   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
813     cache_file=$ac_optarg ;;
814
815   --config-cache | -C)
816     cache_file=config.cache ;;
817
818   -datadir | --datadir | --datadi | --datad)
819     ac_prev=datadir ;;
820   -datadir=* | --datadir=* | --datadi=* | --datad=*)
821     datadir=$ac_optarg ;;
822
823   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
824   | --dataroo | --dataro | --datar)
825     ac_prev=datarootdir ;;
826   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
827   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
828     datarootdir=$ac_optarg ;;
829
830   -disable-* | --disable-*)
831     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
832     # Reject names that are not valid shell variable names.
833     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
834       as_fn_error "invalid feature name: $ac_useropt"
835     ac_useropt_orig=$ac_useropt
836     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
837     case $ac_user_opts in
838       *"
839 "enable_$ac_useropt"
840 "*) ;;
841       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
842          ac_unrecognized_sep=', ';;
843     esac
844     eval enable_$ac_useropt=no ;;
845
846   -docdir | --docdir | --docdi | --doc | --do)
847     ac_prev=docdir ;;
848   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
849     docdir=$ac_optarg ;;
850
851   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
852     ac_prev=dvidir ;;
853   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
854     dvidir=$ac_optarg ;;
855
856   -enable-* | --enable-*)
857     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
858     # Reject names that are not valid shell variable names.
859     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
860       as_fn_error "invalid feature name: $ac_useropt"
861     ac_useropt_orig=$ac_useropt
862     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
863     case $ac_user_opts in
864       *"
865 "enable_$ac_useropt"
866 "*) ;;
867       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
868          ac_unrecognized_sep=', ';;
869     esac
870     eval enable_$ac_useropt=\$ac_optarg ;;
871
872   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
873   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
874   | --exec | --exe | --ex)
875     ac_prev=exec_prefix ;;
876   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
877   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
878   | --exec=* | --exe=* | --ex=*)
879     exec_prefix=$ac_optarg ;;
880
881   -gas | --gas | --ga | --g)
882     # Obsolete; use --with-gas.
883     with_gas=yes ;;
884
885   -help | --help | --hel | --he | -h)
886     ac_init_help=long ;;
887   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
888     ac_init_help=recursive ;;
889   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
890     ac_init_help=short ;;
891
892   -host | --host | --hos | --ho)
893     ac_prev=host_alias ;;
894   -host=* | --host=* | --hos=* | --ho=*)
895     host_alias=$ac_optarg ;;
896
897   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
898     ac_prev=htmldir ;;
899   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
900   | --ht=*)
901     htmldir=$ac_optarg ;;
902
903   -includedir | --includedir | --includedi | --included | --include \
904   | --includ | --inclu | --incl | --inc)
905     ac_prev=includedir ;;
906   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
907   | --includ=* | --inclu=* | --incl=* | --inc=*)
908     includedir=$ac_optarg ;;
909
910   -infodir | --infodir | --infodi | --infod | --info | --inf)
911     ac_prev=infodir ;;
912   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
913     infodir=$ac_optarg ;;
914
915   -libdir | --libdir | --libdi | --libd)
916     ac_prev=libdir ;;
917   -libdir=* | --libdir=* | --libdi=* | --libd=*)
918     libdir=$ac_optarg ;;
919
920   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
921   | --libexe | --libex | --libe)
922     ac_prev=libexecdir ;;
923   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
924   | --libexe=* | --libex=* | --libe=*)
925     libexecdir=$ac_optarg ;;
926
927   -localedir | --localedir | --localedi | --localed | --locale)
928     ac_prev=localedir ;;
929   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
930     localedir=$ac_optarg ;;
931
932   -localstatedir | --localstatedir | --localstatedi | --localstated \
933   | --localstate | --localstat | --localsta | --localst | --locals)
934     ac_prev=localstatedir ;;
935   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
936   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
937     localstatedir=$ac_optarg ;;
938
939   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
940     ac_prev=mandir ;;
941   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
942     mandir=$ac_optarg ;;
943
944   -nfp | --nfp | --nf)
945     # Obsolete; use --without-fp.
946     with_fp=no ;;
947
948   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
949   | --no-cr | --no-c | -n)
950     no_create=yes ;;
951
952   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
953   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
954     no_recursion=yes ;;
955
956   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
957   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
958   | --oldin | --oldi | --old | --ol | --o)
959     ac_prev=oldincludedir ;;
960   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
961   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
962   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
963     oldincludedir=$ac_optarg ;;
964
965   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
966     ac_prev=prefix ;;
967   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
968     prefix=$ac_optarg ;;
969
970   -program-prefix | --program-prefix | --program-prefi | --program-pref \
971   | --program-pre | --program-pr | --program-p)
972     ac_prev=program_prefix ;;
973   -program-prefix=* | --program-prefix=* | --program-prefi=* \
974   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
975     program_prefix=$ac_optarg ;;
976
977   -program-suffix | --program-suffix | --program-suffi | --program-suff \
978   | --program-suf | --program-su | --program-s)
979     ac_prev=program_suffix ;;
980   -program-suffix=* | --program-suffix=* | --program-suffi=* \
981   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
982     program_suffix=$ac_optarg ;;
983
984   -program-transform-name | --program-transform-name \
985   | --program-transform-nam | --program-transform-na \
986   | --program-transform-n | --program-transform- \
987   | --program-transform | --program-transfor \
988   | --program-transfo | --program-transf \
989   | --program-trans | --program-tran \
990   | --progr-tra | --program-tr | --program-t)
991     ac_prev=program_transform_name ;;
992   -program-transform-name=* | --program-transform-name=* \
993   | --program-transform-nam=* | --program-transform-na=* \
994   | --program-transform-n=* | --program-transform-=* \
995   | --program-transform=* | --program-transfor=* \
996   | --program-transfo=* | --program-transf=* \
997   | --program-trans=* | --program-tran=* \
998   | --progr-tra=* | --program-tr=* | --program-t=*)
999     program_transform_name=$ac_optarg ;;
1000
1001   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1002     ac_prev=pdfdir ;;
1003   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1004     pdfdir=$ac_optarg ;;
1005
1006   -psdir | --psdir | --psdi | --psd | --ps)
1007     ac_prev=psdir ;;
1008   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1009     psdir=$ac_optarg ;;
1010
1011   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1012   | -silent | --silent | --silen | --sile | --sil)
1013     silent=yes ;;
1014
1015   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1016     ac_prev=sbindir ;;
1017   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1018   | --sbi=* | --sb=*)
1019     sbindir=$ac_optarg ;;
1020
1021   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1022   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1023   | --sharedst | --shareds | --shared | --share | --shar \
1024   | --sha | --sh)
1025     ac_prev=sharedstatedir ;;
1026   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1027   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1028   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1029   | --sha=* | --sh=*)
1030     sharedstatedir=$ac_optarg ;;
1031
1032   -site | --site | --sit)
1033     ac_prev=site ;;
1034   -site=* | --site=* | --sit=*)
1035     site=$ac_optarg ;;
1036
1037   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1038     ac_prev=srcdir ;;
1039   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1040     srcdir=$ac_optarg ;;
1041
1042   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1043   | --syscon | --sysco | --sysc | --sys | --sy)
1044     ac_prev=sysconfdir ;;
1045   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1046   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1047     sysconfdir=$ac_optarg ;;
1048
1049   -target | --target | --targe | --targ | --tar | --ta | --t)
1050     ac_prev=target_alias ;;
1051   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1052     target_alias=$ac_optarg ;;
1053
1054   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1055     verbose=yes ;;
1056
1057   -version | --version | --versio | --versi | --vers | -V)
1058     ac_init_version=: ;;
1059
1060   -with-* | --with-*)
1061     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1062     # Reject names that are not valid shell variable names.
1063     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064       as_fn_error "invalid package name: $ac_useropt"
1065     ac_useropt_orig=$ac_useropt
1066     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1067     case $ac_user_opts in
1068       *"
1069 "with_$ac_useropt"
1070 "*) ;;
1071       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1072          ac_unrecognized_sep=', ';;
1073     esac
1074     eval with_$ac_useropt=\$ac_optarg ;;
1075
1076   -without-* | --without-*)
1077     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1078     # Reject names that are not valid shell variable names.
1079     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1080       as_fn_error "invalid package name: $ac_useropt"
1081     ac_useropt_orig=$ac_useropt
1082     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083     case $ac_user_opts in
1084       *"
1085 "with_$ac_useropt"
1086 "*) ;;
1087       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1088          ac_unrecognized_sep=', ';;
1089     esac
1090     eval with_$ac_useropt=no ;;
1091
1092   --x)
1093     # Obsolete; use --with-x.
1094     with_x=yes ;;
1095
1096   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1097   | --x-incl | --x-inc | --x-in | --x-i)
1098     ac_prev=x_includes ;;
1099   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1100   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1101     x_includes=$ac_optarg ;;
1102
1103   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1104   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1105     ac_prev=x_libraries ;;
1106   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1107   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1108     x_libraries=$ac_optarg ;;
1109
1110   -*) as_fn_error "unrecognized option: \`$ac_option'
1111 Try \`$0 --help' for more information."
1112     ;;
1113
1114   *=*)
1115     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1116     # Reject names that are not valid shell variable names.
1117     case $ac_envvar in #(
1118       '' | [0-9]* | *[!_$as_cr_alnum]* )
1119       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1120     esac
1121     eval $ac_envvar=\$ac_optarg
1122     export $ac_envvar ;;
1123
1124   *)
1125     # FIXME: should be removed in autoconf 3.0.
1126     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1127     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1128       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1129     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1130     ;;
1131
1132   esac
1133 done
1134
1135 if test -n "$ac_prev"; then
1136   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1137   as_fn_error "missing argument to $ac_option"
1138 fi
1139
1140 if test -n "$ac_unrecognized_opts"; then
1141   case $enable_option_checking in
1142     no) ;;
1143     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1144     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1145   esac
1146 fi
1147
1148 # Check all directory arguments for consistency.
1149 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1150                 datadir sysconfdir sharedstatedir localstatedir includedir \
1151                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1152                 libdir localedir mandir
1153 do
1154   eval ac_val=\$$ac_var
1155   # Remove trailing slashes.
1156   case $ac_val in
1157     */ )
1158       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1159       eval $ac_var=\$ac_val;;
1160   esac
1161   # Be sure to have absolute directory names.
1162   case $ac_val in
1163     [\\/$]* | ?:[\\/]* )  continue;;
1164     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1165   esac
1166   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1167 done
1168
1169 # There might be people who depend on the old broken behavior: `$host'
1170 # used to hold the argument of --host etc.
1171 # FIXME: To remove some day.
1172 build=$build_alias
1173 host=$host_alias
1174 target=$target_alias
1175
1176 # FIXME: To remove some day.
1177 if test "x$host_alias" != x; then
1178   if test "x$build_alias" = x; then
1179     cross_compiling=maybe
1180     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1181     If a cross compiler is detected then cross compile mode will be used." >&2
1182   elif test "x$build_alias" != "x$host_alias"; then
1183     cross_compiling=yes
1184   fi
1185 fi
1186
1187 ac_tool_prefix=
1188 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1189
1190 test "$silent" = yes && exec 6>/dev/null
1191
1192
1193 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1194 ac_ls_di=`ls -di .` &&
1195 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1196   as_fn_error "working directory cannot be determined"
1197 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1198   as_fn_error "pwd does not report name of working directory"
1199
1200
1201 # Find the source files, if location was not specified.
1202 if test -z "$srcdir"; then
1203   ac_srcdir_defaulted=yes
1204   # Try the directory containing this script, then the parent directory.
1205   ac_confdir=`$as_dirname -- "$as_myself" ||
1206 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1207          X"$as_myself" : 'X\(//\)[^/]' \| \
1208          X"$as_myself" : 'X\(//\)$' \| \
1209          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1210 $as_echo X"$as_myself" |
1211     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1212             s//\1/
1213             q
1214           }
1215           /^X\(\/\/\)[^/].*/{
1216             s//\1/
1217             q
1218           }
1219           /^X\(\/\/\)$/{
1220             s//\1/
1221             q
1222           }
1223           /^X\(\/\).*/{
1224             s//\1/
1225             q
1226           }
1227           s/.*/./; q'`
1228   srcdir=$ac_confdir
1229   if test ! -r "$srcdir/$ac_unique_file"; then
1230     srcdir=..
1231   fi
1232 else
1233   ac_srcdir_defaulted=no
1234 fi
1235 if test ! -r "$srcdir/$ac_unique_file"; then
1236   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1237   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1238 fi
1239 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1240 ac_abs_confdir=`(
1241         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1242         pwd)`
1243 # When building in place, set srcdir=.
1244 if test "$ac_abs_confdir" = "$ac_pwd"; then
1245   srcdir=.
1246 fi
1247 # Remove unnecessary trailing slashes from srcdir.
1248 # Double slashes in file names in object file debugging info
1249 # mess up M-x gdb in Emacs.
1250 case $srcdir in
1251 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1252 esac
1253 for ac_var in $ac_precious_vars; do
1254   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1255   eval ac_env_${ac_var}_value=\$${ac_var}
1256   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1257   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1258 done
1259
1260 #
1261 # Report the --help message.
1262 #
1263 if test "$ac_init_help" = "long"; then
1264   # Omit some internal or obsolete options to make the list less imposing.
1265   # This message is too long to be a string in the A/UX 3.1 sh.
1266   cat <<_ACEOF
1267 \`configure' configures this package to adapt to many kinds of systems.
1268
1269 Usage: $0 [OPTION]... [VAR=VALUE]...
1270
1271 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1272 VAR=VALUE.  See below for descriptions of some of the useful variables.
1273
1274 Defaults for the options are specified in brackets.
1275
1276 Configuration:
1277   -h, --help              display this help and exit
1278       --help=short        display options specific to this package
1279       --help=recursive    display the short help of all the included packages
1280   -V, --version           display version information and exit
1281   -q, --quiet, --silent   do not print \`checking...' messages
1282       --cache-file=FILE   cache test results in FILE [disabled]
1283   -C, --config-cache      alias for \`--cache-file=config.cache'
1284   -n, --no-create         do not create output files
1285       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1286
1287 Installation directories:
1288   --prefix=PREFIX         install architecture-independent files in PREFIX
1289                           [$ac_default_prefix]
1290   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1291                           [PREFIX]
1292
1293 By default, \`make install' will install all the files in
1294 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1295 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1296 for instance \`--prefix=\$HOME'.
1297
1298 For better control, use the options below.
1299
1300 Fine tuning of the installation directories:
1301   --bindir=DIR            user executables [EPREFIX/bin]
1302   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1303   --libexecdir=DIR        program executables [EPREFIX/libexec]
1304   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1305   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1306   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1307   --libdir=DIR            object code libraries [EPREFIX/lib]
1308   --includedir=DIR        C header files [PREFIX/include]
1309   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1310   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1311   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1312   --infodir=DIR           info documentation [DATAROOTDIR/info]
1313   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1314   --mandir=DIR            man documentation [DATAROOTDIR/man]
1315   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1316   --htmldir=DIR           html documentation [DOCDIR]
1317   --dvidir=DIR            dvi documentation [DOCDIR]
1318   --pdfdir=DIR            pdf documentation [DOCDIR]
1319   --psdir=DIR             ps documentation [DOCDIR]
1320 _ACEOF
1321
1322   cat <<\_ACEOF
1323
1324 Program names:
1325   --program-prefix=PREFIX            prepend PREFIX to installed program names
1326   --program-suffix=SUFFIX            append SUFFIX to installed program names
1327   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1328 _ACEOF
1329 fi
1330
1331 if test -n "$ac_init_help"; then
1332
1333   cat <<\_ACEOF
1334
1335 Optional Features:
1336   --disable-option-checking  ignore unrecognized --enable/--with options
1337   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1338   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1339   --enable-all-components Build all configurable components (default), or stop on failed dependencies
1340
1341   --enable-usrp2          Stop if usrp2 fails configuration
1342   --enable-usrp2-firmware Stop if usrp2-firmware fails configuration
1343   --disable-dependency-tracking  speeds up one-time build
1344   --enable-dependency-tracking   do not reject slow dependency extractors
1345
1346 Some influential environment variables:
1347   CC          C compiler command
1348   CFLAGS      C compiler flags
1349   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1350               nonstandard directory <lib dir>
1351   LIBS        libraries to pass to the linker, e.g. -l<library>
1352   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1353               you have headers in a nonstandard directory <include dir>
1354   CPP         C preprocessor
1355   CCAS        assembler compiler command (defaults to CC)
1356   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1357
1358 Use these variables to override the choices made by `configure' or to help
1359 it to find libraries and programs with nonstandard names/locations.
1360
1361 Report bugs to the package provider.
1362 _ACEOF
1363 ac_status=$?
1364 fi
1365
1366 if test "$ac_init_help" = "recursive"; then
1367   # If there are subdirs, report their specific --help.
1368   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1369     test -d "$ac_dir" ||
1370       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1371       continue
1372     ac_builddir=.
1373
1374 case "$ac_dir" in
1375 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1376 *)
1377   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1378   # A ".." for each directory in $ac_dir_suffix.
1379   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1380   case $ac_top_builddir_sub in
1381   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1382   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1383   esac ;;
1384 esac
1385 ac_abs_top_builddir=$ac_pwd
1386 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1387 # for backward compatibility:
1388 ac_top_builddir=$ac_top_build_prefix
1389
1390 case $srcdir in
1391   .)  # We are building in place.
1392     ac_srcdir=.
1393     ac_top_srcdir=$ac_top_builddir_sub
1394     ac_abs_top_srcdir=$ac_pwd ;;
1395   [\\/]* | ?:[\\/]* )  # Absolute name.
1396     ac_srcdir=$srcdir$ac_dir_suffix;
1397     ac_top_srcdir=$srcdir
1398     ac_abs_top_srcdir=$srcdir ;;
1399   *) # Relative name.
1400     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1401     ac_top_srcdir=$ac_top_build_prefix$srcdir
1402     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1403 esac
1404 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1405
1406     cd "$ac_dir" || { ac_status=$?; continue; }
1407     # Check for guested configure.
1408     if test -f "$ac_srcdir/configure.gnu"; then
1409       echo &&
1410       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1411     elif test -f "$ac_srcdir/configure"; then
1412       echo &&
1413       $SHELL "$ac_srcdir/configure" --help=recursive
1414     else
1415       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1416     fi || ac_status=$?
1417     cd "$ac_pwd" || { ac_status=$?; break; }
1418   done
1419 fi
1420
1421 test -n "$ac_init_help" && exit $ac_status
1422 if $ac_init_version; then
1423   cat <<\_ACEOF
1424 configure
1425 generated by GNU Autoconf 2.65
1426
1427 Copyright (C) 2009 Free Software Foundation, Inc.
1428 This configure script is free software; the Free Software Foundation
1429 gives unlimited permission to copy, distribute and modify it.
1430 _ACEOF
1431   exit
1432 fi
1433
1434 ## ------------------------ ##
1435 ## Autoconf initialization. ##
1436 ## ------------------------ ##
1437
1438 # ac_fn_c_try_compile LINENO
1439 # --------------------------
1440 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1441 ac_fn_c_try_compile ()
1442 {
1443   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1444   rm -f conftest.$ac_objext
1445   if { { ac_try="$ac_compile"
1446 case "(($ac_try" in
1447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1448   *) ac_try_echo=$ac_try;;
1449 esac
1450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1451 $as_echo "$ac_try_echo"; } >&5
1452   (eval "$ac_compile") 2>conftest.err
1453   ac_status=$?
1454   if test -s conftest.err; then
1455     grep -v '^ *+' conftest.err >conftest.er1
1456     cat conftest.er1 >&5
1457     mv -f conftest.er1 conftest.err
1458   fi
1459   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1460   test $ac_status = 0; } && {
1461          test -z "$ac_c_werror_flag" ||
1462          test ! -s conftest.err
1463        } && test -s conftest.$ac_objext; then :
1464   ac_retval=0
1465 else
1466   $as_echo "$as_me: failed program was:" >&5
1467 sed 's/^/| /' conftest.$ac_ext >&5
1468
1469         ac_retval=1
1470 fi
1471   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1472   as_fn_set_status $ac_retval
1473
1474 } # ac_fn_c_try_compile
1475
1476 # ac_fn_c_try_cpp LINENO
1477 # ----------------------
1478 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1479 ac_fn_c_try_cpp ()
1480 {
1481   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1482   if { { ac_try="$ac_cpp conftest.$ac_ext"
1483 case "(($ac_try" in
1484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1485   *) ac_try_echo=$ac_try;;
1486 esac
1487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1488 $as_echo "$ac_try_echo"; } >&5
1489   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1490   ac_status=$?
1491   if test -s conftest.err; then
1492     grep -v '^ *+' conftest.err >conftest.er1
1493     cat conftest.er1 >&5
1494     mv -f conftest.er1 conftest.err
1495   fi
1496   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1497   test $ac_status = 0; } >/dev/null && {
1498          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1499          test ! -s conftest.err
1500        }; then :
1501   ac_retval=0
1502 else
1503   $as_echo "$as_me: failed program was:" >&5
1504 sed 's/^/| /' conftest.$ac_ext >&5
1505
1506     ac_retval=1
1507 fi
1508   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1509   as_fn_set_status $ac_retval
1510
1511 } # ac_fn_c_try_cpp
1512
1513 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1514 # -------------------------------------------------------
1515 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1516 # the include files in INCLUDES and setting the cache variable VAR
1517 # accordingly.
1518 ac_fn_c_check_header_mongrel ()
1519 {
1520   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1523 $as_echo_n "checking for $2... " >&6; }
1524 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1525   $as_echo_n "(cached) " >&6
1526 fi
1527 eval ac_res=\$$3
1528                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1529 $as_echo "$ac_res" >&6; }
1530 else
1531   # Is the header compilable?
1532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1533 $as_echo_n "checking $2 usability... " >&6; }
1534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1535 /* end confdefs.h.  */
1536 $4
1537 #include <$2>
1538 _ACEOF
1539 if ac_fn_c_try_compile "$LINENO"; then :
1540   ac_header_compiler=yes
1541 else
1542   ac_header_compiler=no
1543 fi
1544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1546 $as_echo "$ac_header_compiler" >&6; }
1547
1548 # Is the header present?
1549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1550 $as_echo_n "checking $2 presence... " >&6; }
1551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1552 /* end confdefs.h.  */
1553 #include <$2>
1554 _ACEOF
1555 if ac_fn_c_try_cpp "$LINENO"; then :
1556   ac_header_preproc=yes
1557 else
1558   ac_header_preproc=no
1559 fi
1560 rm -f conftest.err conftest.$ac_ext
1561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1562 $as_echo "$ac_header_preproc" >&6; }
1563
1564 # So?  What about this header?
1565 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1566   yes:no: )
1567     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1568 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1569     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1570 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1571     ;;
1572   no:yes:* )
1573     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1574 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1575     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1576 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1577     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1578 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1579     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1580 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1581     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1582 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1583     ;;
1584 esac
1585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1586 $as_echo_n "checking for $2... " >&6; }
1587 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1588   $as_echo_n "(cached) " >&6
1589 else
1590   eval "$3=\$ac_header_compiler"
1591 fi
1592 eval ac_res=\$$3
1593                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1594 $as_echo "$ac_res" >&6; }
1595 fi
1596   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1597
1598 } # ac_fn_c_check_header_mongrel
1599
1600 # ac_fn_c_try_run LINENO
1601 # ----------------------
1602 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1603 # that executables *can* be run.
1604 ac_fn_c_try_run ()
1605 {
1606   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607   if { { ac_try="$ac_link"
1608 case "(($ac_try" in
1609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1610   *) ac_try_echo=$ac_try;;
1611 esac
1612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1613 $as_echo "$ac_try_echo"; } >&5
1614   (eval "$ac_link") 2>&5
1615   ac_status=$?
1616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1618   { { case "(($ac_try" in
1619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1620   *) ac_try_echo=$ac_try;;
1621 esac
1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623 $as_echo "$ac_try_echo"; } >&5
1624   (eval "$ac_try") 2>&5
1625   ac_status=$?
1626   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627   test $ac_status = 0; }; }; then :
1628   ac_retval=0
1629 else
1630   $as_echo "$as_me: program exited with status $ac_status" >&5
1631        $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1633
1634        ac_retval=$ac_status
1635 fi
1636   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1637   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1638   as_fn_set_status $ac_retval
1639
1640 } # ac_fn_c_try_run
1641
1642 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1643 # -------------------------------------------------------
1644 # Tests whether HEADER exists and can be compiled using the include files in
1645 # INCLUDES, setting the cache variable VAR accordingly.
1646 ac_fn_c_check_header_compile ()
1647 {
1648   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1650 $as_echo_n "checking for $2... " >&6; }
1651 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1652   $as_echo_n "(cached) " >&6
1653 else
1654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1655 /* end confdefs.h.  */
1656 $4
1657 #include <$2>
1658 _ACEOF
1659 if ac_fn_c_try_compile "$LINENO"; then :
1660   eval "$3=yes"
1661 else
1662   eval "$3=no"
1663 fi
1664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1665 fi
1666 eval ac_res=\$$3
1667                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1668 $as_echo "$ac_res" >&6; }
1669   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1670
1671 } # ac_fn_c_check_header_compile
1672 cat >config.log <<_ACEOF
1673 This file contains any messages produced by compilers while
1674 running configure, to aid debugging if configure makes a mistake.
1675
1676 It was created by $as_me, which was
1677 generated by GNU Autoconf 2.65.  Invocation command line was
1678
1679   $ $0 $@
1680
1681 _ACEOF
1682 exec 5>>config.log
1683 {
1684 cat <<_ASUNAME
1685 ## --------- ##
1686 ## Platform. ##
1687 ## --------- ##
1688
1689 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1690 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1691 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1692 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1693 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1694
1695 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1696 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1697
1698 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1699 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1700 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1701 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1702 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1703 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1704 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1705
1706 _ASUNAME
1707
1708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1709 for as_dir in $PATH
1710 do
1711   IFS=$as_save_IFS
1712   test -z "$as_dir" && as_dir=.
1713     $as_echo "PATH: $as_dir"
1714   done
1715 IFS=$as_save_IFS
1716
1717 } >&5
1718
1719 cat >&5 <<_ACEOF
1720
1721
1722 ## ----------- ##
1723 ## Core tests. ##
1724 ## ----------- ##
1725
1726 _ACEOF
1727
1728
1729 # Keep a trace of the command line.
1730 # Strip out --no-create and --no-recursion so they do not pile up.
1731 # Strip out --silent because we don't want to record it for future runs.
1732 # Also quote any args containing shell meta-characters.
1733 # Make two passes to allow for proper duplicate-argument suppression.
1734 ac_configure_args=
1735 ac_configure_args0=
1736 ac_configure_args1=
1737 ac_must_keep_next=false
1738 for ac_pass in 1 2
1739 do
1740   for ac_arg
1741   do
1742     case $ac_arg in
1743     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1744     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1745     | -silent | --silent | --silen | --sile | --sil)
1746       continue ;;
1747     *\'*)
1748       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1749     esac
1750     case $ac_pass in
1751     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1752     2)
1753       as_fn_append ac_configure_args1 " '$ac_arg'"
1754       if test $ac_must_keep_next = true; then
1755         ac_must_keep_next=false # Got value, back to normal.
1756       else
1757         case $ac_arg in
1758           *=* | --config-cache | -C | -disable-* | --disable-* \
1759           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1760           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1761           | -with-* | --with-* | -without-* | --without-* | --x)
1762             case "$ac_configure_args0 " in
1763               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1764             esac
1765             ;;
1766           -* ) ac_must_keep_next=true ;;
1767         esac
1768       fi
1769       as_fn_append ac_configure_args " '$ac_arg'"
1770       ;;
1771     esac
1772   done
1773 done
1774 { ac_configure_args0=; unset ac_configure_args0;}
1775 { ac_configure_args1=; unset ac_configure_args1;}
1776
1777 # When interrupted or exit'd, cleanup temporary files, and complete
1778 # config.log.  We remove comments because anyway the quotes in there
1779 # would cause problems or look ugly.
1780 # WARNING: Use '\'' to represent an apostrophe within the trap.
1781 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1782 trap 'exit_status=$?
1783   # Save into config.log some information that might help in debugging.
1784   {
1785     echo
1786
1787     cat <<\_ASBOX
1788 ## ---------------- ##
1789 ## Cache variables. ##
1790 ## ---------------- ##
1791 _ASBOX
1792     echo
1793     # The following way of writing the cache mishandles newlines in values,
1794 (
1795   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1796     eval ac_val=\$$ac_var
1797     case $ac_val in #(
1798     *${as_nl}*)
1799       case $ac_var in #(
1800       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1801 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1802       esac
1803       case $ac_var in #(
1804       _ | IFS | as_nl) ;; #(
1805       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1806       *) { eval $ac_var=; unset $ac_var;} ;;
1807       esac ;;
1808     esac
1809   done
1810   (set) 2>&1 |
1811     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1812     *${as_nl}ac_space=\ *)
1813       sed -n \
1814         "s/'\''/'\''\\\\'\'''\''/g;
1815           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1816       ;; #(
1817     *)
1818       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1819       ;;
1820     esac |
1821     sort
1822 )
1823     echo
1824
1825     cat <<\_ASBOX
1826 ## ----------------- ##
1827 ## Output variables. ##
1828 ## ----------------- ##
1829 _ASBOX
1830     echo
1831     for ac_var in $ac_subst_vars
1832     do
1833       eval ac_val=\$$ac_var
1834       case $ac_val in
1835       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1836       esac
1837       $as_echo "$ac_var='\''$ac_val'\''"
1838     done | sort
1839     echo
1840
1841     if test -n "$ac_subst_files"; then
1842       cat <<\_ASBOX
1843 ## ------------------- ##
1844 ## File substitutions. ##
1845 ## ------------------- ##
1846 _ASBOX
1847       echo
1848       for ac_var in $ac_subst_files
1849       do
1850         eval ac_val=\$$ac_var
1851         case $ac_val in
1852         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1853         esac
1854         $as_echo "$ac_var='\''$ac_val'\''"
1855       done | sort
1856       echo
1857     fi
1858
1859     if test -s confdefs.h; then
1860       cat <<\_ASBOX
1861 ## ----------- ##
1862 ## confdefs.h. ##
1863 ## ----------- ##
1864 _ASBOX
1865       echo
1866       cat confdefs.h
1867       echo
1868     fi
1869     test "$ac_signal" != 0 &&
1870       $as_echo "$as_me: caught signal $ac_signal"
1871     $as_echo "$as_me: exit $exit_status"
1872   } >&5
1873   rm -f core *.core core.conftest.* &&
1874     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1875     exit $exit_status
1876 ' 0
1877 for ac_signal in 1 2 13 15; do
1878   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1879 done
1880 ac_signal=0
1881
1882 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1883 rm -f -r conftest* confdefs.h
1884
1885 $as_echo "/* confdefs.h */" > confdefs.h
1886
1887 # Predefined preprocessor variables.
1888
1889 cat >>confdefs.h <<_ACEOF
1890 #define PACKAGE_NAME "$PACKAGE_NAME"
1891 _ACEOF
1892
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1895 _ACEOF
1896
1897 cat >>confdefs.h <<_ACEOF
1898 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1899 _ACEOF
1900
1901 cat >>confdefs.h <<_ACEOF
1902 #define PACKAGE_STRING "$PACKAGE_STRING"
1903 _ACEOF
1904
1905 cat >>confdefs.h <<_ACEOF
1906 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1907 _ACEOF
1908
1909 cat >>confdefs.h <<_ACEOF
1910 #define PACKAGE_URL "$PACKAGE_URL"
1911 _ACEOF
1912
1913
1914 # Let the site file select an alternate cache file if it wants to.
1915 # Prefer an explicitly selected file to automatically selected ones.
1916 ac_site_file1=NONE
1917 ac_site_file2=NONE
1918 if test -n "$CONFIG_SITE"; then
1919   ac_site_file1=$CONFIG_SITE
1920 elif test "x$prefix" != xNONE; then
1921   ac_site_file1=$prefix/share/config.site
1922   ac_site_file2=$prefix/etc/config.site
1923 else
1924   ac_site_file1=$ac_default_prefix/share/config.site
1925   ac_site_file2=$ac_default_prefix/etc/config.site
1926 fi
1927 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1928 do
1929   test "x$ac_site_file" = xNONE && continue
1930   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1931     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1932 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1933     sed 's/^/| /' "$ac_site_file" >&5
1934     . "$ac_site_file"
1935   fi
1936 done
1937
1938 if test -r "$cache_file"; then
1939   # Some versions of bash will fail to source /dev/null (special files
1940   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1941   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1942     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1943 $as_echo "$as_me: loading cache $cache_file" >&6;}
1944     case $cache_file in
1945       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1946       *)                      . "./$cache_file";;
1947     esac
1948   fi
1949 else
1950   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1951 $as_echo "$as_me: creating cache $cache_file" >&6;}
1952   >$cache_file
1953 fi
1954
1955 # Check that the precious variables saved in the cache have kept the same
1956 # value.
1957 ac_cache_corrupted=false
1958 for ac_var in $ac_precious_vars; do
1959   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1960   eval ac_new_set=\$ac_env_${ac_var}_set
1961   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1962   eval ac_new_val=\$ac_env_${ac_var}_value
1963   case $ac_old_set,$ac_new_set in
1964     set,)
1965       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1966 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1967       ac_cache_corrupted=: ;;
1968     ,set)
1969       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1970 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1971       ac_cache_corrupted=: ;;
1972     ,);;
1973     *)
1974       if test "x$ac_old_val" != "x$ac_new_val"; then
1975         # differences in whitespace do not lead to failure.
1976         ac_old_val_w=`echo x $ac_old_val`
1977         ac_new_val_w=`echo x $ac_new_val`
1978         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1979           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1980 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1981           ac_cache_corrupted=:
1982         else
1983           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1984 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1985           eval $ac_var=\$ac_old_val
1986         fi
1987         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1988 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1989         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1990 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1991       fi;;
1992   esac
1993   # Pass precious variables to config.status.
1994   if test "$ac_new_set" = set; then
1995     case $ac_new_val in
1996     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1997     *) ac_arg=$ac_var=$ac_new_val ;;
1998     esac
1999     case " $ac_configure_args " in
2000       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2001       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2002     esac
2003   fi
2004 done
2005 if $ac_cache_corrupted; then
2006   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2008   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2009 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2010   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2011 fi
2012 ## -------------------- ##
2013 ## Main body of script. ##
2014 ## -------------------- ##
2015
2016 ac_ext=c
2017 ac_cpp='$CPP $CPPFLAGS'
2018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2021
2022
2023
2024 ac_config_headers="$ac_config_headers config.h"
2025
2026 ac_aux_dir=
2027 for ac_dir in . "$srcdir"/.; do
2028   for ac_t in install-sh install.sh shtool; do
2029     if test -f "$ac_dir/$ac_t"; then
2030       ac_aux_dir=$ac_dir
2031       ac_install_sh="$ac_aux_dir/$ac_t -c"
2032       break 2
2033     fi
2034   done
2035 done
2036 if test -z "$ac_aux_dir"; then
2037   as_fn_error "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2038 fi
2039
2040 # These three variables are undocumented and unsupported,
2041 # and are intended to be withdrawn in a future Autoconf release.
2042 # They can cause serious problems if a builder's source tree is in a directory
2043 # whose full name contains unusual characters.
2044 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2045 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2046 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2047
2048
2049
2050
2051 am__api_version='1.11'
2052
2053 # Find a good install program.  We prefer a C program (faster),
2054 # so one script is as good as another.  But avoid the broken or
2055 # incompatible versions:
2056 # SysV /etc/install, /usr/sbin/install
2057 # SunOS /usr/etc/install
2058 # IRIX /sbin/install
2059 # AIX /bin/install
2060 # AmigaOS /C/install, which installs bootblocks on floppy discs
2061 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2062 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2063 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2064 # OS/2's system install, which has a completely different semantic
2065 # ./install, which can be erroneously created by make from ./install.sh.
2066 # Reject install programs that cannot install multiple files.
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2068 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2069 if test -z "$INSTALL"; then
2070 if test "${ac_cv_path_install+set}" = set; then :
2071   $as_echo_n "(cached) " >&6
2072 else
2073   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 for as_dir in $PATH
2075 do
2076   IFS=$as_save_IFS
2077   test -z "$as_dir" && as_dir=.
2078     # Account for people who put trailing slashes in PATH elements.
2079 case $as_dir/ in #((
2080   ./ | .// | /[cC]/* | \
2081   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2082   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2083   /usr/ucb/* ) ;;
2084   *)
2085     # OSF1 and SCO ODT 3.0 have their own names for install.
2086     # Don't use installbsd from OSF since it installs stuff as root
2087     # by default.
2088     for ac_prog in ginstall scoinst install; do
2089       for ac_exec_ext in '' $ac_executable_extensions; do
2090         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2091           if test $ac_prog = install &&
2092             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2093             # AIX install.  It has an incompatible calling convention.
2094             :
2095           elif test $ac_prog = install &&
2096             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2097             # program-specific install script used by HP pwplus--don't use.
2098             :
2099           else
2100             rm -rf conftest.one conftest.two conftest.dir
2101             echo one > conftest.one
2102             echo two > conftest.two
2103             mkdir conftest.dir
2104             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2105               test -s conftest.one && test -s conftest.two &&
2106               test -s conftest.dir/conftest.one &&
2107               test -s conftest.dir/conftest.two
2108             then
2109               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2110               break 3
2111             fi
2112           fi
2113         fi
2114       done
2115     done
2116     ;;
2117 esac
2118
2119   done
2120 IFS=$as_save_IFS
2121
2122 rm -rf conftest.one conftest.two conftest.dir
2123
2124 fi
2125   if test "${ac_cv_path_install+set}" = set; then
2126     INSTALL=$ac_cv_path_install
2127   else
2128     # As a last resort, use the slow shell script.  Don't cache a
2129     # value for INSTALL within a source directory, because that will
2130     # break other packages using the cache if that directory is
2131     # removed, or if the value is a relative name.
2132     INSTALL=$ac_install_sh
2133   fi
2134 fi
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2136 $as_echo "$INSTALL" >&6; }
2137
2138 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2139 # It thinks the first close brace ends the variable substitution.
2140 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2141
2142 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2143
2144 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2145
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2147 $as_echo_n "checking whether build environment is sane... " >&6; }
2148 # Just in case
2149 sleep 1
2150 echo timestamp > conftest.file
2151 # Reject unsafe characters in $srcdir or the absolute working directory
2152 # name.  Accept space and tab only in the latter.
2153 am_lf='
2154 '
2155 case `pwd` in
2156   *[\\\"\#\$\&\'\`$am_lf]*)
2157     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2158 esac
2159 case $srcdir in
2160   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2161     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2162 esac
2163
2164 # Do `set' in a subshell so we don't clobber the current shell's
2165 # arguments.  Must try -L first in case configure is actually a
2166 # symlink; some systems play weird games with the mod time of symlinks
2167 # (eg FreeBSD returns the mod time of the symlink's containing
2168 # directory).
2169 if (
2170    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2171    if test "$*" = "X"; then
2172       # -L didn't work.
2173       set X `ls -t "$srcdir/configure" conftest.file`
2174    fi
2175    rm -f conftest.file
2176    if test "$*" != "X $srcdir/configure conftest.file" \
2177       && test "$*" != "X conftest.file $srcdir/configure"; then
2178
2179       # If neither matched, then we have a broken ls.  This can happen
2180       # if, for instance, CONFIG_SHELL is bash and it inherits a
2181       # broken ls alias from the environment.  This has actually
2182       # happened.  Such a system could not be considered "sane".
2183       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2184 alias in your environment" "$LINENO" 5
2185    fi
2186
2187    test "$2" = conftest.file
2188    )
2189 then
2190    # Ok.
2191    :
2192 else
2193    as_fn_error "newly created file is older than distributed files!
2194 Check your system clock" "$LINENO" 5
2195 fi
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2197 $as_echo "yes" >&6; }
2198 test "$program_prefix" != NONE &&
2199   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2200 # Use a double $ so make ignores it.
2201 test "$program_suffix" != NONE &&
2202   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2203 # Double any \ or $.
2204 # By default was `s,x,x', remove it if useless.
2205 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2206 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2207
2208 # expand $ac_aux_dir to an absolute path
2209 am_aux_dir=`cd $ac_aux_dir && pwd`
2210
2211 if test x"${MISSING+set}" != xset; then
2212   case $am_aux_dir in
2213   *\ * | *\     *)
2214     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2215   *)
2216     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2217   esac
2218 fi
2219 # Use eval to expand $SHELL
2220 if eval "$MISSING --run true"; then
2221   am_missing_run="$MISSING --run "
2222 else
2223   am_missing_run=
2224   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2225 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2226 fi
2227
2228 if test x"${install_sh}" != xset; then
2229   case $am_aux_dir in
2230   *\ * | *\     *)
2231     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2232   *)
2233     install_sh="\${SHELL} $am_aux_dir/install-sh"
2234   esac
2235 fi
2236
2237 # Installed binaries are usually stripped using `strip' when the user
2238 # run `make install-strip'.  However `strip' might not be the right
2239 # tool to use in cross-compilation environments, therefore Automake
2240 # will honor the `STRIP' environment variable to overrule this program.
2241 if test "$cross_compiling" != no; then
2242   if test -n "$ac_tool_prefix"; then
2243   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2244 set dummy ${ac_tool_prefix}strip; ac_word=$2
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2246 $as_echo_n "checking for $ac_word... " >&6; }
2247 if test "${ac_cv_prog_STRIP+set}" = set; then :
2248   $as_echo_n "(cached) " >&6
2249 else
2250   if test -n "$STRIP"; then
2251   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2252 else
2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254 for as_dir in $PATH
2255 do
2256   IFS=$as_save_IFS
2257   test -z "$as_dir" && as_dir=.
2258     for ac_exec_ext in '' $ac_executable_extensions; do
2259   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2260     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2261     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2262     break 2
2263   fi
2264 done
2265   done
2266 IFS=$as_save_IFS
2267
2268 fi
2269 fi
2270 STRIP=$ac_cv_prog_STRIP
2271 if test -n "$STRIP"; then
2272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2273 $as_echo "$STRIP" >&6; }
2274 else
2275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2276 $as_echo "no" >&6; }
2277 fi
2278
2279
2280 fi
2281 if test -z "$ac_cv_prog_STRIP"; then
2282   ac_ct_STRIP=$STRIP
2283   # Extract the first word of "strip", so it can be a program name with args.
2284 set dummy strip; ac_word=$2
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2286 $as_echo_n "checking for $ac_word... " >&6; }
2287 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2288   $as_echo_n "(cached) " >&6
2289 else
2290   if test -n "$ac_ct_STRIP"; then
2291   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2292 else
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 for as_dir in $PATH
2295 do
2296   IFS=$as_save_IFS
2297   test -z "$as_dir" && as_dir=.
2298     for ac_exec_ext in '' $ac_executable_extensions; do
2299   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2300     ac_cv_prog_ac_ct_STRIP="strip"
2301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2302     break 2
2303   fi
2304 done
2305   done
2306 IFS=$as_save_IFS
2307
2308 fi
2309 fi
2310 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2311 if test -n "$ac_ct_STRIP"; then
2312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2313 $as_echo "$ac_ct_STRIP" >&6; }
2314 else
2315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2316 $as_echo "no" >&6; }
2317 fi
2318
2319   if test "x$ac_ct_STRIP" = x; then
2320     STRIP=":"
2321   else
2322     case $cross_compiling:$ac_tool_warned in
2323 yes:)
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2326 ac_tool_warned=yes ;;
2327 esac
2328     STRIP=$ac_ct_STRIP
2329   fi
2330 else
2331   STRIP="$ac_cv_prog_STRIP"
2332 fi
2333
2334 fi
2335 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2336
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2338 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2339 if test -z "$MKDIR_P"; then
2340   if test "${ac_cv_path_mkdir+set}" = set; then :
2341   $as_echo_n "(cached) " >&6
2342 else
2343   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2345 do
2346   IFS=$as_save_IFS
2347   test -z "$as_dir" && as_dir=.
2348     for ac_prog in mkdir gmkdir; do
2349          for ac_exec_ext in '' $ac_executable_extensions; do
2350            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2351            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2352              'mkdir (GNU coreutils) '* | \
2353              'mkdir (coreutils) '* | \
2354              'mkdir (fileutils) '4.1*)
2355                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2356                break 3;;
2357            esac
2358          done
2359        done
2360   done
2361 IFS=$as_save_IFS
2362
2363 fi
2364
2365   test -d ./--version && rmdir ./--version
2366   if test "${ac_cv_path_mkdir+set}" = set; then
2367     MKDIR_P="$ac_cv_path_mkdir -p"
2368   else
2369     # As a last resort, use the slow shell script.  Don't cache a
2370     # value for MKDIR_P within a source directory, because that will
2371     # break other packages using the cache if that directory is
2372     # removed, or if the value is a relative name.
2373     MKDIR_P="$ac_install_sh -d"
2374   fi
2375 fi
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2377 $as_echo "$MKDIR_P" >&6; }
2378
2379 mkdir_p="$MKDIR_P"
2380 case $mkdir_p in
2381   [\\/$]* | ?:[\\/]*) ;;
2382   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2383 esac
2384
2385 for ac_prog in gawk mawk nawk awk
2386 do
2387   # Extract the first word of "$ac_prog", so it can be a program name with args.
2388 set dummy $ac_prog; ac_word=$2
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2390 $as_echo_n "checking for $ac_word... " >&6; }
2391 if test "${ac_cv_prog_AWK+set}" = set; then :
2392   $as_echo_n "(cached) " >&6
2393 else
2394   if test -n "$AWK"; then
2395   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2396 else
2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398 for as_dir in $PATH
2399 do
2400   IFS=$as_save_IFS
2401   test -z "$as_dir" && as_dir=.
2402     for ac_exec_ext in '' $ac_executable_extensions; do
2403   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2404     ac_cv_prog_AWK="$ac_prog"
2405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2406     break 2
2407   fi
2408 done
2409   done
2410 IFS=$as_save_IFS
2411
2412 fi
2413 fi
2414 AWK=$ac_cv_prog_AWK
2415 if test -n "$AWK"; then
2416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2417 $as_echo "$AWK" >&6; }
2418 else
2419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2420 $as_echo "no" >&6; }
2421 fi
2422
2423
2424   test -n "$AWK" && break
2425 done
2426
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2428 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2429 set x ${MAKE-make}
2430 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2431 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2432   $as_echo_n "(cached) " >&6
2433 else
2434   cat >conftest.make <<\_ACEOF
2435 SHELL = /bin/sh
2436 all:
2437         @echo '@@@%%%=$(MAKE)=@@@%%%'
2438 _ACEOF
2439 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2440 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2441   *@@@%%%=?*=@@@%%%*)
2442     eval ac_cv_prog_make_${ac_make}_set=yes;;
2443   *)
2444     eval ac_cv_prog_make_${ac_make}_set=no;;
2445 esac
2446 rm -f conftest.make
2447 fi
2448 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2450 $as_echo "yes" >&6; }
2451   SET_MAKE=
2452 else
2453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2454 $as_echo "no" >&6; }
2455   SET_MAKE="MAKE=${MAKE-make}"
2456 fi
2457
2458 rm -rf .tst 2>/dev/null
2459 mkdir .tst 2>/dev/null
2460 if test -d .tst; then
2461   am__leading_dot=.
2462 else
2463   am__leading_dot=_
2464 fi
2465 rmdir .tst 2>/dev/null
2466
2467 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2468   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2469   # is not polluted with repeated "-I."
2470   am__isrc=' -I$(srcdir)'
2471   # test to see if srcdir already configured
2472   if test -f $srcdir/config.status; then
2473     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2474   fi
2475 fi
2476
2477 # test whether we have cygpath
2478 if test -z "$CYGPATH_W"; then
2479   if (cygpath --version) >/dev/null 2>/dev/null; then
2480     CYGPATH_W='cygpath -w'
2481   else
2482     CYGPATH_W=echo
2483   fi
2484 fi
2485
2486
2487 # Define the identity of the package.
2488  PACKAGE=usrp2-firmware
2489  VERSION=0.0svn
2490
2491
2492 cat >>confdefs.h <<_ACEOF
2493 #define PACKAGE "$PACKAGE"
2494 _ACEOF
2495
2496
2497 cat >>confdefs.h <<_ACEOF
2498 #define VERSION "$VERSION"
2499 _ACEOF
2500
2501 # Some tools Automake needs.
2502
2503 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2504
2505
2506 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2507
2508
2509 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2510
2511
2512 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2513
2514
2515 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2516
2517 # We need awk for the "check" target.  The system "awk" is bad on
2518 # some platforms.
2519 # Always define AMTAR for backward compatibility.
2520
2521 AMTAR=${AMTAR-"${am_missing_run}tar"}
2522
2523 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2524
2525
2526
2527
2528
2529
2530
2531 # Check whether --enable-all-components was given.
2532 if test "${enable_all_components+set}" = set; then :
2533   enableval=$enable_all_components;
2534 fi
2535
2536
2537 #build_dirs="config"
2538 build_dirs=
2539
2540
2541
2542     passed=yes
2543     # Check whether --enable-usrp2 was given.
2544 if test "${enable_usrp2+set}" = set; then :
2545   enableval=$enable_usrp2;
2546 else
2547
2548         enable_usrp2=$enable_all_components
2549         if test x$enable_all_components = xno; then
2550             passed=no
2551         fi
2552
2553 fi
2554
2555
2556
2557
2558
2559     usrp2_with=no
2560     if test $passed = no; then
2561         if test x$enable_usrp2 = xyes; then
2562             as_fn_error "Component usrp2 has errors; stopping." "$LINENO" 5
2563         else
2564             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component usrp2." >&5
2565 $as_echo "Not building component usrp2." >&6; }
2566         fi
2567     else
2568         if test $passed = with; then
2569             with_dirs="$with_dirs usrp2"
2570
2571     if test "x${usrp2_INCLUDES}" != "x"; then
2572         if test "x$with_INCLUDES" = "x"; then
2573             with_INCLUDES="${usrp2_INCLUDES}"
2574         else
2575             with_INCLUDES="${usrp2_INCLUDES}"" ""$with_INCLUDES"
2576         fi
2577         usrp2_INCLUDES=
2578     fi
2579
2580
2581     if test "x${usrp2_SWIG_INCLUDES}" != "x"; then
2582         if test "x$with_SWIG_INCLUDES" = "x"; then
2583             with_SWIG_INCLUDES="${usrp2_SWIG_INCLUDES}"
2584         else
2585             with_SWIG_INCLUDES="${usrp2_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
2586         fi
2587         usrp2_SWIG_INCLUDES=
2588     fi
2589
2590
2591     if test "x${usrp2_PYDIRPATH}" != "x"; then
2592         if test "x$with_PYDIRPATH" = "x"; then
2593             with_PYDIRPATH="${usrp2_PYDIRPATH}"
2594         else
2595             with_PYDIRPATH="${usrp2_PYDIRPATH}"":""$with_PYDIRPATH"
2596         fi
2597         usrp2_PYDIRPATH=
2598     fi
2599
2600
2601     if test "x${usrp2_SWIGDIRPATH}" != "x"; then
2602         if test "x$with_SWIGDIRPATH" = "x"; then
2603             with_SWIGDIRPATH="${usrp2_SWIGDIRPATH}"
2604         else
2605             with_SWIGDIRPATH="${usrp2_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
2606         fi
2607         usrp2_SWIGDIRPATH=
2608     fi
2609
2610
2611     if test "x${usrp2_LIBDIRPATH}" != "x"; then
2612         if test "x$with_LIBDIRPATH" = "x"; then
2613             with_LIBDIRPATH="${usrp2_LIBDIRPATH}"
2614         else
2615             with_LIBDIRPATH="${usrp2_LIBDIRPATH}"":""$with_LIBDIRPATH"
2616         fi
2617         usrp2_LIBDIRPATH=
2618     fi
2619
2620             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 will be included from a pre-installed library and includes." >&5
2621 $as_echo "Component usrp2 will be included from a pre-installed library and includes." >&6; }
2622             usrp2_with=yes
2623         else
2624             usrp2_LDFLAG=
2625             if test x$enable_usrp2 != xno; then
2626                 :
2627                 build_dirs="$build_dirs usrp2"
2628                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 passed configuration checks; building." >&5
2629 $as_echo "Component usrp2 passed configuration checks; building." >&6; }
2630             else
2631                 passed=no
2632                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 passed configuration checks; but not building." >&5
2633 $as_echo "Component usrp2 passed configuration checks; but not building." >&6; }
2634             fi
2635         fi
2636     fi
2637     if test $passed = no; then
2638         skipped_dirs="$skipped_dirs usrp2"
2639         usrp2_skipped=yes
2640     else
2641         usrp2_skipped=no
2642     fi
2643
2644
2645
2646
2647
2648
2649
2650
2651 DEPDIR="${am__leading_dot}deps"
2652
2653 ac_config_commands="$ac_config_commands depfiles"
2654
2655
2656 am_make=${MAKE-make}
2657 cat > confinc << 'END'
2658 am__doit:
2659         @echo this is the am__doit target
2660 .PHONY: am__doit
2661 END
2662 # If we don't find an include directive, just comment out the code.
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2664 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2665 am__include="#"
2666 am__quote=
2667 _am_result=none
2668 # First try GNU make style include.
2669 echo "include confinc" > confmf
2670 # Ignore all kinds of additional output from `make'.
2671 case `$am_make -s -f confmf 2> /dev/null` in #(
2672 *the\ am__doit\ target*)
2673   am__include=include
2674   am__quote=
2675   _am_result=GNU
2676   ;;
2677 esac
2678 # Now try BSD make style include.
2679 if test "$am__include" = "#"; then
2680    echo '.include "confinc"' > confmf
2681    case `$am_make -s -f confmf 2> /dev/null` in #(
2682    *the\ am__doit\ target*)
2683      am__include=.include
2684      am__quote="\""
2685      _am_result=BSD
2686      ;;
2687    esac
2688 fi
2689
2690
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2692 $as_echo "$_am_result" >&6; }
2693 rm -f confinc confmf
2694
2695 # Check whether --enable-dependency-tracking was given.
2696 if test "${enable_dependency_tracking+set}" = set; then :
2697   enableval=$enable_dependency_tracking;
2698 fi
2699
2700 if test "x$enable_dependency_tracking" != xno; then
2701   am_depcomp="$ac_aux_dir/depcomp"
2702   AMDEPBACKSLASH='\'
2703 fi
2704  if test "x$enable_dependency_tracking" != xno; then
2705   AMDEP_TRUE=
2706   AMDEP_FALSE='#'
2707 else
2708   AMDEP_TRUE='#'
2709   AMDEP_FALSE=
2710 fi
2711
2712
2713 ac_ext=c
2714 ac_cpp='$CPP $CPPFLAGS'
2715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2718 if test -n "$ac_tool_prefix"; then
2719   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2720 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722 $as_echo_n "checking for $ac_word... " >&6; }
2723 if test "${ac_cv_prog_CC+set}" = set; then :
2724   $as_echo_n "(cached) " >&6
2725 else
2726   if test -n "$CC"; then
2727   ac_cv_prog_CC="$CC" # Let the user override the test.
2728 else
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 for as_dir in $PATH
2731 do
2732   IFS=$as_save_IFS
2733   test -z "$as_dir" && as_dir=.
2734     for ac_exec_ext in '' $ac_executable_extensions; do
2735   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2736     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2738     break 2
2739   fi
2740 done
2741   done
2742 IFS=$as_save_IFS
2743
2744 fi
2745 fi
2746 CC=$ac_cv_prog_CC
2747 if test -n "$CC"; then
2748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2749 $as_echo "$CC" >&6; }
2750 else
2751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752 $as_echo "no" >&6; }
2753 fi
2754
2755
2756 fi
2757 if test -z "$ac_cv_prog_CC"; then
2758   ac_ct_CC=$CC
2759   # Extract the first word of "gcc", so it can be a program name with args.
2760 set dummy gcc; ac_word=$2
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762 $as_echo_n "checking for $ac_word... " >&6; }
2763 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2764   $as_echo_n "(cached) " >&6
2765 else
2766   if test -n "$ac_ct_CC"; then
2767   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2768 else
2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770 for as_dir in $PATH
2771 do
2772   IFS=$as_save_IFS
2773   test -z "$as_dir" && as_dir=.
2774     for ac_exec_ext in '' $ac_executable_extensions; do
2775   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2776     ac_cv_prog_ac_ct_CC="gcc"
2777     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2778     break 2
2779   fi
2780 done
2781   done
2782 IFS=$as_save_IFS
2783
2784 fi
2785 fi
2786 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2787 if test -n "$ac_ct_CC"; then
2788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2789 $as_echo "$ac_ct_CC" >&6; }
2790 else
2791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792 $as_echo "no" >&6; }
2793 fi
2794
2795   if test "x$ac_ct_CC" = x; then
2796     CC=""
2797   else
2798     case $cross_compiling:$ac_tool_warned in
2799 yes:)
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2802 ac_tool_warned=yes ;;
2803 esac
2804     CC=$ac_ct_CC
2805   fi
2806 else
2807   CC="$ac_cv_prog_CC"
2808 fi
2809
2810 if test -z "$CC"; then
2811           if test -n "$ac_tool_prefix"; then
2812     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2813 set dummy ${ac_tool_prefix}cc; ac_word=$2
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2815 $as_echo_n "checking for $ac_word... " >&6; }
2816 if test "${ac_cv_prog_CC+set}" = set; then :
2817   $as_echo_n "(cached) " >&6
2818 else
2819   if test -n "$CC"; then
2820   ac_cv_prog_CC="$CC" # Let the user override the test.
2821 else
2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2823 for as_dir in $PATH
2824 do
2825   IFS=$as_save_IFS
2826   test -z "$as_dir" && as_dir=.
2827     for ac_exec_ext in '' $ac_executable_extensions; do
2828   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2829     ac_cv_prog_CC="${ac_tool_prefix}cc"
2830     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2831     break 2
2832   fi
2833 done
2834   done
2835 IFS=$as_save_IFS
2836
2837 fi
2838 fi
2839 CC=$ac_cv_prog_CC
2840 if test -n "$CC"; then
2841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2842 $as_echo "$CC" >&6; }
2843 else
2844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2845 $as_echo "no" >&6; }
2846 fi
2847
2848
2849   fi
2850 fi
2851 if test -z "$CC"; then
2852   # Extract the first word of "cc", so it can be a program name with args.
2853 set dummy cc; ac_word=$2
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2855 $as_echo_n "checking for $ac_word... " >&6; }
2856 if test "${ac_cv_prog_CC+set}" = set; then :
2857   $as_echo_n "(cached) " >&6
2858 else
2859   if test -n "$CC"; then
2860   ac_cv_prog_CC="$CC" # Let the user override the test.
2861 else
2862   ac_prog_rejected=no
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864 for as_dir in $PATH
2865 do
2866   IFS=$as_save_IFS
2867   test -z "$as_dir" && as_dir=.
2868     for ac_exec_ext in '' $ac_executable_extensions; do
2869   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2870     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2871        ac_prog_rejected=yes
2872        continue
2873      fi
2874     ac_cv_prog_CC="cc"
2875     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2876     break 2
2877   fi
2878 done
2879   done
2880 IFS=$as_save_IFS
2881
2882 if test $ac_prog_rejected = yes; then
2883   # We found a bogon in the path, so make sure we never use it.
2884   set dummy $ac_cv_prog_CC
2885   shift
2886   if test $# != 0; then
2887     # We chose a different compiler from the bogus one.
2888     # However, it has the same basename, so the bogon will be chosen
2889     # first if we set CC to just the basename; use the full file name.
2890     shift
2891     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2892   fi
2893 fi
2894 fi
2895 fi
2896 CC=$ac_cv_prog_CC
2897 if test -n "$CC"; then
2898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2899 $as_echo "$CC" >&6; }
2900 else
2901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 $as_echo "no" >&6; }
2903 fi
2904
2905
2906 fi
2907 if test -z "$CC"; then
2908   if test -n "$ac_tool_prefix"; then
2909   for ac_prog in cl.exe
2910   do
2911     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2912 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2914 $as_echo_n "checking for $ac_word... " >&6; }
2915 if test "${ac_cv_prog_CC+set}" = set; then :
2916   $as_echo_n "(cached) " >&6
2917 else
2918   if test -n "$CC"; then
2919   ac_cv_prog_CC="$CC" # Let the user override the test.
2920 else
2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2922 for as_dir in $PATH
2923 do
2924   IFS=$as_save_IFS
2925   test -z "$as_dir" && as_dir=.
2926     for ac_exec_ext in '' $ac_executable_extensions; do
2927   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2928     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2929     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2930     break 2
2931   fi
2932 done
2933   done
2934 IFS=$as_save_IFS
2935
2936 fi
2937 fi
2938 CC=$ac_cv_prog_CC
2939 if test -n "$CC"; then
2940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2941 $as_echo "$CC" >&6; }
2942 else
2943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2944 $as_echo "no" >&6; }
2945 fi
2946
2947
2948     test -n "$CC" && break
2949   done
2950 fi
2951 if test -z "$CC"; then
2952   ac_ct_CC=$CC
2953   for ac_prog in cl.exe
2954 do
2955   # Extract the first word of "$ac_prog", so it can be a program name with args.
2956 set dummy $ac_prog; ac_word=$2
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2958 $as_echo_n "checking for $ac_word... " >&6; }
2959 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2960   $as_echo_n "(cached) " >&6
2961 else
2962   if test -n "$ac_ct_CC"; then
2963   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2964 else
2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2966 for as_dir in $PATH
2967 do
2968   IFS=$as_save_IFS
2969   test -z "$as_dir" && as_dir=.
2970     for ac_exec_ext in '' $ac_executable_extensions; do
2971   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2972     ac_cv_prog_ac_ct_CC="$ac_prog"
2973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2974     break 2
2975   fi
2976 done
2977   done
2978 IFS=$as_save_IFS
2979
2980 fi
2981 fi
2982 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2983 if test -n "$ac_ct_CC"; then
2984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2985 $as_echo "$ac_ct_CC" >&6; }
2986 else
2987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2988 $as_echo "no" >&6; }
2989 fi
2990
2991
2992   test -n "$ac_ct_CC" && break
2993 done
2994
2995   if test "x$ac_ct_CC" = x; then
2996     CC=""
2997   else
2998     case $cross_compiling:$ac_tool_warned in
2999 yes:)
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3002 ac_tool_warned=yes ;;
3003 esac
3004     CC=$ac_ct_CC
3005   fi
3006 fi
3007
3008 fi
3009
3010
3011 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3013 as_fn_error "no acceptable C compiler found in \$PATH
3014 See \`config.log' for more details." "$LINENO" 5; }
3015
3016 # Provide some information about the compiler.
3017 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3018 set X $ac_compile
3019 ac_compiler=$2
3020 for ac_option in --version -v -V -qversion; do
3021   { { ac_try="$ac_compiler $ac_option >&5"
3022 case "(($ac_try" in
3023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024   *) ac_try_echo=$ac_try;;
3025 esac
3026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3027 $as_echo "$ac_try_echo"; } >&5
3028   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3029   ac_status=$?
3030   if test -s conftest.err; then
3031     sed '10a\
3032 ... rest of stderr output deleted ...
3033          10q' conftest.err >conftest.er1
3034     cat conftest.er1 >&5
3035   fi
3036   rm -f conftest.er1 conftest.err
3037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3038   test $ac_status = 0; }
3039 done
3040
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h.  */
3043
3044 int
3045 main ()
3046 {
3047
3048   ;
3049   return 0;
3050 }
3051 _ACEOF
3052 ac_clean_files_save=$ac_clean_files
3053 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3054 # Try to create an executable without -o first, disregard a.out.
3055 # It will help us diagnose broken compilers, and finding out an intuition
3056 # of exeext.
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3058 $as_echo_n "checking whether the C compiler works... " >&6; }
3059 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3060
3061 # The possible output files:
3062 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3063
3064 ac_rmfiles=
3065 for ac_file in $ac_files
3066 do
3067   case $ac_file in
3068     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3069     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3070   esac
3071 done
3072 rm -f $ac_rmfiles
3073
3074 if { { ac_try="$ac_link_default"
3075 case "(($ac_try" in
3076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3077   *) ac_try_echo=$ac_try;;
3078 esac
3079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3080 $as_echo "$ac_try_echo"; } >&5
3081   (eval "$ac_link_default") 2>&5
3082   ac_status=$?
3083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3084   test $ac_status = 0; }; then :
3085   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3086 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3087 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3088 # so that the user can short-circuit this test for compilers unknown to
3089 # Autoconf.
3090 for ac_file in $ac_files ''
3091 do
3092   test -f "$ac_file" || continue
3093   case $ac_file in
3094     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3095         ;;
3096     [ab].out )
3097         # We found the default executable, but exeext='' is most
3098         # certainly right.
3099         break;;
3100     *.* )
3101         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3102         then :; else
3103            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3104         fi
3105         # We set ac_cv_exeext here because the later test for it is not
3106         # safe: cross compilers may not add the suffix if given an `-o'
3107         # argument, so we may need to know it at that point already.
3108         # Even if this section looks crufty: it has the advantage of
3109         # actually working.
3110         break;;
3111     * )
3112         break;;
3113   esac
3114 done
3115 test "$ac_cv_exeext" = no && ac_cv_exeext=
3116
3117 else
3118   ac_file=''
3119 fi
3120 if test -z "$ac_file"; then :
3121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122 $as_echo "no" >&6; }
3123 $as_echo "$as_me: failed program was:" >&5
3124 sed 's/^/| /' conftest.$ac_ext >&5
3125
3126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3128 { as_fn_set_status 77
3129 as_fn_error "C compiler cannot create executables
3130 See \`config.log' for more details." "$LINENO" 5; }; }
3131 else
3132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3133 $as_echo "yes" >&6; }
3134 fi
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3136 $as_echo_n "checking for C compiler default output file name... " >&6; }
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3138 $as_echo "$ac_file" >&6; }
3139 ac_exeext=$ac_cv_exeext
3140
3141 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3142 ac_clean_files=$ac_clean_files_save
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3144 $as_echo_n "checking for suffix of executables... " >&6; }
3145 if { { ac_try="$ac_link"
3146 case "(($ac_try" in
3147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148   *) ac_try_echo=$ac_try;;
3149 esac
3150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3151 $as_echo "$ac_try_echo"; } >&5
3152   (eval "$ac_link") 2>&5
3153   ac_status=$?
3154   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3155   test $ac_status = 0; }; then :
3156   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3157 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3158 # work properly (i.e., refer to `conftest.exe'), while it won't with
3159 # `rm'.
3160 for ac_file in conftest.exe conftest conftest.*; do
3161   test -f "$ac_file" || continue
3162   case $ac_file in
3163     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3164     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3165           break;;
3166     * ) break;;
3167   esac
3168 done
3169 else
3170   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3172 as_fn_error "cannot compute suffix of executables: cannot compile and link
3173 See \`config.log' for more details." "$LINENO" 5; }
3174 fi
3175 rm -f conftest conftest$ac_cv_exeext
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3177 $as_echo "$ac_cv_exeext" >&6; }
3178
3179 rm -f conftest.$ac_ext
3180 EXEEXT=$ac_cv_exeext
3181 ac_exeext=$EXEEXT
3182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3183 /* end confdefs.h.  */
3184 #include <stdio.h>
3185 int
3186 main ()
3187 {
3188 FILE *f = fopen ("conftest.out", "w");
3189  return ferror (f) || fclose (f) != 0;
3190
3191   ;
3192   return 0;
3193 }
3194 _ACEOF
3195 ac_clean_files="$ac_clean_files conftest.out"
3196 # Check that the compiler produces executables we can run.  If not, either
3197 # the compiler is broken, or we cross compile.
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3199 $as_echo_n "checking whether we are cross compiling... " >&6; }
3200 if test "$cross_compiling" != yes; then
3201   { { ac_try="$ac_link"
3202 case "(($ac_try" in
3203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204   *) ac_try_echo=$ac_try;;
3205 esac
3206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207 $as_echo "$ac_try_echo"; } >&5
3208   (eval "$ac_link") 2>&5
3209   ac_status=$?
3210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211   test $ac_status = 0; }
3212   if { ac_try='./conftest$ac_cv_exeext'
3213   { { case "(($ac_try" in
3214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215   *) ac_try_echo=$ac_try;;
3216 esac
3217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218 $as_echo "$ac_try_echo"; } >&5
3219   (eval "$ac_try") 2>&5
3220   ac_status=$?
3221   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222   test $ac_status = 0; }; }; then
3223     cross_compiling=no
3224   else
3225     if test "$cross_compiling" = maybe; then
3226         cross_compiling=yes
3227     else
3228         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3230 as_fn_error "cannot run C compiled programs.
3231 If you meant to cross compile, use \`--host'.
3232 See \`config.log' for more details." "$LINENO" 5; }
3233     fi
3234   fi
3235 fi
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3237 $as_echo "$cross_compiling" >&6; }
3238
3239 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3240 ac_clean_files=$ac_clean_files_save
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3242 $as_echo_n "checking for suffix of object files... " >&6; }
3243 if test "${ac_cv_objext+set}" = set; then :
3244   $as_echo_n "(cached) " >&6
3245 else
3246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3247 /* end confdefs.h.  */
3248
3249 int
3250 main ()
3251 {
3252
3253   ;
3254   return 0;
3255 }
3256 _ACEOF
3257 rm -f conftest.o conftest.obj
3258 if { { ac_try="$ac_compile"
3259 case "(($ac_try" in
3260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261   *) ac_try_echo=$ac_try;;
3262 esac
3263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3264 $as_echo "$ac_try_echo"; } >&5
3265   (eval "$ac_compile") 2>&5
3266   ac_status=$?
3267   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268   test $ac_status = 0; }; then :
3269   for ac_file in conftest.o conftest.obj conftest.*; do
3270   test -f "$ac_file" || continue;
3271   case $ac_file in
3272     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3273     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3274        break;;
3275   esac
3276 done
3277 else
3278   $as_echo "$as_me: failed program was:" >&5
3279 sed 's/^/| /' conftest.$ac_ext >&5
3280
3281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3283 as_fn_error "cannot compute suffix of object files: cannot compile
3284 See \`config.log' for more details." "$LINENO" 5; }
3285 fi
3286 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3287 fi
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3289 $as_echo "$ac_cv_objext" >&6; }
3290 OBJEXT=$ac_cv_objext
3291 ac_objext=$OBJEXT
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3293 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3294 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3295   $as_echo_n "(cached) " >&6
3296 else
3297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h.  */
3299
3300 int
3301 main ()
3302 {
3303 #ifndef __GNUC__
3304        choke me
3305 #endif
3306
3307   ;
3308   return 0;
3309 }
3310 _ACEOF
3311 if ac_fn_c_try_compile "$LINENO"; then :
3312   ac_compiler_gnu=yes
3313 else
3314   ac_compiler_gnu=no
3315 fi
3316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3318
3319 fi
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3321 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3322 if test $ac_compiler_gnu = yes; then
3323   GCC=yes
3324 else
3325   GCC=
3326 fi
3327 ac_test_CFLAGS=${CFLAGS+set}
3328 ac_save_CFLAGS=$CFLAGS
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3330 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3331 if test "${ac_cv_prog_cc_g+set}" = set; then :
3332   $as_echo_n "(cached) " >&6
3333 else
3334   ac_save_c_werror_flag=$ac_c_werror_flag
3335    ac_c_werror_flag=yes
3336    ac_cv_prog_cc_g=no
3337    CFLAGS="-g"
3338    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h.  */
3340
3341 int
3342 main ()
3343 {
3344
3345   ;
3346   return 0;
3347 }
3348 _ACEOF
3349 if ac_fn_c_try_compile "$LINENO"; then :
3350   ac_cv_prog_cc_g=yes
3351 else
3352   CFLAGS=""
3353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h.  */
3355
3356 int
3357 main ()
3358 {
3359
3360   ;
3361   return 0;
3362 }
3363 _ACEOF
3364 if ac_fn_c_try_compile "$LINENO"; then :
3365
3366 else
3367   ac_c_werror_flag=$ac_save_c_werror_flag
3368          CFLAGS="-g"
3369          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370 /* end confdefs.h.  */
3371
3372 int
3373 main ()
3374 {
3375
3376   ;
3377   return 0;
3378 }
3379 _ACEOF
3380 if ac_fn_c_try_compile "$LINENO"; then :
3381   ac_cv_prog_cc_g=yes
3382 fi
3383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3384 fi
3385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3386 fi
3387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3388    ac_c_werror_flag=$ac_save_c_werror_flag
3389 fi
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3391 $as_echo "$ac_cv_prog_cc_g" >&6; }
3392 if test "$ac_test_CFLAGS" = set; then
3393   CFLAGS=$ac_save_CFLAGS
3394 elif test $ac_cv_prog_cc_g = yes; then
3395   if test "$GCC" = yes; then
3396     CFLAGS="-g -O2"
3397   else
3398     CFLAGS="-g"
3399   fi
3400 else
3401   if test "$GCC" = yes; then
3402     CFLAGS="-O2"
3403   else
3404     CFLAGS=
3405   fi
3406 fi
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3408 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3409 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3410   $as_echo_n "(cached) " >&6
3411 else
3412   ac_cv_prog_cc_c89=no
3413 ac_save_CC=$CC
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h.  */
3416 #include <stdarg.h>
3417 #include <stdio.h>
3418 #include <sys/types.h>
3419 #include <sys/stat.h>
3420 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3421 struct buf { int x; };
3422 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3423 static char *e (p, i)
3424      char **p;
3425      int i;
3426 {
3427   return p[i];
3428 }
3429 static char *f (char * (*g) (char **, int), char **p, ...)
3430 {
3431   char *s;
3432   va_list v;
3433   va_start (v,p);
3434   s = g (p, va_arg (v,int));
3435   va_end (v);
3436   return s;
3437 }
3438
3439 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3440    function prototypes and stuff, but not '\xHH' hex character constants.
3441    These don't provoke an error unfortunately, instead are silently treated
3442    as 'x'.  The following induces an error, until -std is added to get
3443    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3444    array size at least.  It's necessary to write '\x00'==0 to get something
3445    that's true only with -std.  */
3446 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3447
3448 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3449    inside strings and character constants.  */
3450 #define FOO(x) 'x'
3451 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3452
3453 int test (int i, double x);
3454 struct s1 {int (*f) (int a);};
3455 struct s2 {int (*f) (double a);};
3456 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3457 int argc;
3458 char **argv;
3459 int
3460 main ()
3461 {
3462 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3463   ;
3464   return 0;
3465 }
3466 _ACEOF
3467 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3468         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3469 do
3470   CC="$ac_save_CC $ac_arg"
3471   if ac_fn_c_try_compile "$LINENO"; then :
3472   ac_cv_prog_cc_c89=$ac_arg
3473 fi
3474 rm -f core conftest.err conftest.$ac_objext
3475   test "x$ac_cv_prog_cc_c89" != "xno" && break
3476 done
3477 rm -f conftest.$ac_ext
3478 CC=$ac_save_CC
3479
3480 fi
3481 # AC_CACHE_VAL
3482 case "x$ac_cv_prog_cc_c89" in
3483   x)
3484     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3485 $as_echo "none needed" >&6; } ;;
3486   xno)
3487     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3488 $as_echo "unsupported" >&6; } ;;
3489   *)
3490     CC="$CC $ac_cv_prog_cc_c89"
3491     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3492 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3493 esac
3494 if test "x$ac_cv_prog_cc_c89" != xno; then :
3495
3496 fi
3497
3498 ac_ext=c
3499 ac_cpp='$CPP $CPPFLAGS'
3500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3503
3504 depcc="$CC"   am_compiler_list=
3505
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3507 $as_echo_n "checking dependency style of $depcc... " >&6; }
3508 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3509   $as_echo_n "(cached) " >&6
3510 else
3511   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3512   # We make a subdir and do the tests there.  Otherwise we can end up
3513   # making bogus files that we don't know about and never remove.  For
3514   # instance it was reported that on HP-UX the gcc test will end up
3515   # making a dummy file named `D' -- because `-MD' means `put the output
3516   # in D'.
3517   mkdir conftest.dir
3518   # Copy depcomp to subdir because otherwise we won't find it if we're
3519   # using a relative directory.
3520   cp "$am_depcomp" conftest.dir
3521   cd conftest.dir
3522   # We will build objects and dependencies in a subdirectory because
3523   # it helps to detect inapplicable dependency modes.  For instance
3524   # both Tru64's cc and ICC support -MD to output dependencies as a
3525   # side effect of compilation, but ICC will put the dependencies in
3526   # the current directory while Tru64 will put them in the object
3527   # directory.
3528   mkdir sub
3529
3530   am_cv_CC_dependencies_compiler_type=none
3531   if test "$am_compiler_list" = ""; then
3532      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3533   fi
3534   am__universal=false
3535   case " $depcc " in #(
3536      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3537      esac
3538
3539   for depmode in $am_compiler_list; do
3540     # Setup a source with many dependencies, because some compilers
3541     # like to wrap large dependency lists on column 80 (with \), and
3542     # we should not choose a depcomp mode which is confused by this.
3543     #
3544     # We need to recreate these files for each test, as the compiler may
3545     # overwrite some of them when testing with obscure command lines.
3546     # This happens at least with the AIX C compiler.
3547     : > sub/conftest.c
3548     for i in 1 2 3 4 5 6; do
3549       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3550       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3551       # Solaris 8's {/usr,}/bin/sh.
3552       touch sub/conftst$i.h
3553     done
3554     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3555
3556     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3557     # mode.  It turns out that the SunPro C++ compiler does not properly
3558     # handle `-M -o', and we need to detect this.  Also, some Intel
3559     # versions had trouble with output in subdirs
3560     am__obj=sub/conftest.${OBJEXT-o}
3561     am__minus_obj="-o $am__obj"
3562     case $depmode in
3563     gcc)
3564       # This depmode causes a compiler race in universal mode.
3565       test "$am__universal" = false || continue
3566       ;;
3567     nosideeffect)
3568       # after this tag, mechanisms are not by side-effect, so they'll
3569       # only be used when explicitly requested
3570       if test "x$enable_dependency_tracking" = xyes; then
3571         continue
3572       else
3573         break
3574       fi
3575       ;;
3576     msvisualcpp | msvcmsys)
3577       # This compiler won't grok `-c -o', but also, the minuso test has
3578       # not run yet.  These depmodes are late enough in the game, and
3579       # so weak that their functioning should not be impacted.
3580       am__obj=conftest.${OBJEXT-o}
3581       am__minus_obj=
3582       ;;
3583     none) break ;;
3584     esac
3585     if depmode=$depmode \
3586        source=sub/conftest.c object=$am__obj \
3587        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3588        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3589          >/dev/null 2>conftest.err &&
3590        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3591        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3592        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3593        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3594       # icc doesn't choke on unknown options, it will just issue warnings
3595       # or remarks (even with -Werror).  So we grep stderr for any message
3596       # that says an option was ignored or not supported.
3597       # When given -MP, icc 7.0 and 7.1 complain thusly:
3598       #   icc: Command line warning: ignoring option '-M'; no argument required
3599       # The diagnosis changed in icc 8.0:
3600       #   icc: Command line remark: option '-MP' not supported
3601       if (grep 'ignoring option' conftest.err ||
3602           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3603         am_cv_CC_dependencies_compiler_type=$depmode
3604         break
3605       fi
3606     fi
3607   done
3608
3609   cd ..
3610   rm -rf conftest.dir
3611 else
3612   am_cv_CC_dependencies_compiler_type=none
3613 fi
3614
3615 fi
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3617 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3618 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3619
3620  if
3621   test "x$enable_dependency_tracking" != xno \
3622   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3623   am__fastdepCC_TRUE=
3624   am__fastdepCC_FALSE='#'
3625 else
3626   am__fastdepCC_TRUE='#'
3627   am__fastdepCC_FALSE=
3628 fi
3629
3630
3631 ac_ext=c
3632 ac_cpp='$CPP $CPPFLAGS'
3633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3637 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3638 # On Suns, sometimes $CPP names a directory.
3639 if test -n "$CPP" && test -d "$CPP"; then
3640   CPP=
3641 fi
3642 if test -z "$CPP"; then
3643   if test "${ac_cv_prog_CPP+set}" = set; then :
3644   $as_echo_n "(cached) " >&6
3645 else
3646       # Double quotes because CPP needs to be expanded
3647     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3648     do
3649       ac_preproc_ok=false
3650 for ac_c_preproc_warn_flag in '' yes
3651 do
3652   # Use a header file that comes with gcc, so configuring glibc
3653   # with a fresh cross-compiler works.
3654   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3655   # <limits.h> exists even on freestanding compilers.
3656   # On the NeXT, cc -E runs the code through the compiler's parser,
3657   # not just through cpp. "Syntax error" is here to catch this case.
3658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659 /* end confdefs.h.  */
3660 #ifdef __STDC__
3661 # include <limits.h>
3662 #else
3663 # include <assert.h>
3664 #endif
3665                      Syntax error
3666 _ACEOF
3667 if ac_fn_c_try_cpp "$LINENO"; then :
3668
3669 else
3670   # Broken: fails on valid input.
3671 continue
3672 fi
3673 rm -f conftest.err conftest.$ac_ext
3674
3675   # OK, works on sane cases.  Now check whether nonexistent headers
3676   # can be detected and how.
3677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h.  */
3679 #include <ac_nonexistent.h>
3680 _ACEOF
3681 if ac_fn_c_try_cpp "$LINENO"; then :
3682   # Broken: success on invalid input.
3683 continue
3684 else
3685   # Passes both tests.
3686 ac_preproc_ok=:
3687 break
3688 fi
3689 rm -f conftest.err conftest.$ac_ext
3690
3691 done
3692 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3693 rm -f conftest.err conftest.$ac_ext
3694 if $ac_preproc_ok; then :
3695   break
3696 fi
3697
3698     done
3699     ac_cv_prog_CPP=$CPP
3700
3701 fi
3702   CPP=$ac_cv_prog_CPP
3703 else
3704   ac_cv_prog_CPP=$CPP
3705 fi
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3707 $as_echo "$CPP" >&6; }
3708 ac_preproc_ok=false
3709 for ac_c_preproc_warn_flag in '' yes
3710 do
3711   # Use a header file that comes with gcc, so configuring glibc
3712   # with a fresh cross-compiler works.
3713   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3714   # <limits.h> exists even on freestanding compilers.
3715   # On the NeXT, cc -E runs the code through the compiler's parser,
3716   # not just through cpp. "Syntax error" is here to catch this case.
3717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h.  */
3719 #ifdef __STDC__
3720 # include <limits.h>
3721 #else
3722 # include <assert.h>
3723 #endif
3724                      Syntax error
3725 _ACEOF
3726 if ac_fn_c_try_cpp "$LINENO"; then :
3727
3728 else
3729   # Broken: fails on valid input.
3730 continue
3731 fi
3732 rm -f conftest.err conftest.$ac_ext
3733
3734   # OK, works on sane cases.  Now check whether nonexistent headers
3735   # can be detected and how.
3736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h.  */
3738 #include <ac_nonexistent.h>
3739 _ACEOF
3740 if ac_fn_c_try_cpp "$LINENO"; then :
3741   # Broken: success on invalid input.
3742 continue
3743 else
3744   # Passes both tests.
3745 ac_preproc_ok=:
3746 break
3747 fi
3748 rm -f conftest.err conftest.$ac_ext
3749
3750 done
3751 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3752 rm -f conftest.err conftest.$ac_ext
3753 if $ac_preproc_ok; then :
3754
3755 else
3756   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3758 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3759 See \`config.log' for more details." "$LINENO" 5; }
3760 fi
3761
3762 ac_ext=c
3763 ac_cpp='$CPP $CPPFLAGS'
3764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3767
3768 # By default we simply use the C compiler to build assembly code.
3769
3770 test "${CCAS+set}" = set || CCAS=$CC
3771 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3772
3773
3774
3775 depcc="$CCAS"   am_compiler_list=
3776
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3778 $as_echo_n "checking dependency style of $depcc... " >&6; }
3779 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
3780   $as_echo_n "(cached) " >&6
3781 else
3782   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3783   # We make a subdir and do the tests there.  Otherwise we can end up
3784   # making bogus files that we don't know about and never remove.  For
3785   # instance it was reported that on HP-UX the gcc test will end up
3786   # making a dummy file named `D' -- because `-MD' means `put the output
3787   # in D'.
3788   mkdir conftest.dir
3789   # Copy depcomp to subdir because otherwise we won't find it if we're
3790   # using a relative directory.
3791   cp "$am_depcomp" conftest.dir
3792   cd conftest.dir
3793   # We will build objects and dependencies in a subdirectory because
3794   # it helps to detect inapplicable dependency modes.  For instance
3795   # both Tru64's cc and ICC support -MD to output dependencies as a
3796   # side effect of compilation, but ICC will put the dependencies in
3797   # the current directory while Tru64 will put them in the object
3798   # directory.
3799   mkdir sub
3800
3801   am_cv_CCAS_dependencies_compiler_type=none
3802   if test "$am_compiler_list" = ""; then
3803      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3804   fi
3805   am__universal=false
3806
3807
3808   for depmode in $am_compiler_list; do
3809     # Setup a source with many dependencies, because some compilers
3810     # like to wrap large dependency lists on column 80 (with \), and
3811     # we should not choose a depcomp mode which is confused by this.
3812     #
3813     # We need to recreate these files for each test, as the compiler may
3814     # overwrite some of them when testing with obscure command lines.
3815     # This happens at least with the AIX C compiler.
3816     : > sub/conftest.c
3817     for i in 1 2 3 4 5 6; do
3818       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3819       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3820       # Solaris 8's {/usr,}/bin/sh.
3821       touch sub/conftst$i.h
3822     done
3823     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3824
3825     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3826     # mode.  It turns out that the SunPro C++ compiler does not properly
3827     # handle `-M -o', and we need to detect this.  Also, some Intel
3828     # versions had trouble with output in subdirs
3829     am__obj=sub/conftest.${OBJEXT-o}
3830     am__minus_obj="-o $am__obj"
3831     case $depmode in
3832     gcc)
3833       # This depmode causes a compiler race in universal mode.
3834       test "$am__universal" = false || continue
3835       ;;
3836     nosideeffect)
3837       # after this tag, mechanisms are not by side-effect, so they'll
3838       # only be used when explicitly requested
3839       if test "x$enable_dependency_tracking" = xyes; then
3840         continue
3841       else
3842         break
3843       fi
3844       ;;
3845     msvisualcpp | msvcmsys)
3846       # This compiler won't grok `-c -o', but also, the minuso test has
3847       # not run yet.  These depmodes are late enough in the game, and
3848       # so weak that their functioning should not be impacted.
3849       am__obj=conftest.${OBJEXT-o}
3850       am__minus_obj=
3851       ;;
3852     none) break ;;
3853     esac
3854     if depmode=$depmode \
3855        source=sub/conftest.c object=$am__obj \
3856        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3857        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3858          >/dev/null 2>conftest.err &&
3859        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3860        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3861        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3862        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3863       # icc doesn't choke on unknown options, it will just issue warnings
3864       # or remarks (even with -Werror).  So we grep stderr for any message
3865       # that says an option was ignored or not supported.
3866       # When given -MP, icc 7.0 and 7.1 complain thusly:
3867       #   icc: Command line warning: ignoring option '-M'; no argument required
3868       # The diagnosis changed in icc 8.0:
3869       #   icc: Command line remark: option '-MP' not supported
3870       if (grep 'ignoring option' conftest.err ||
3871           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3872         am_cv_CCAS_dependencies_compiler_type=$depmode
3873         break
3874       fi
3875     fi
3876   done
3877
3878   cd ..
3879   rm -rf conftest.dir
3880 else
3881   am_cv_CCAS_dependencies_compiler_type=none
3882 fi
3883
3884 fi
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3886 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3887 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
3888
3889  if
3890   test "x$enable_dependency_tracking" != xno \
3891   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
3892   am__fastdepCCAS_TRUE=
3893   am__fastdepCCAS_FALSE='#'
3894 else
3895   am__fastdepCCAS_TRUE='#'
3896   am__fastdepCCAS_FALSE=
3897 fi
3898
3899
3900 if test -n "$ac_tool_prefix"; then
3901   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3902 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3904 $as_echo_n "checking for $ac_word... " >&6; }
3905 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3906   $as_echo_n "(cached) " >&6
3907 else
3908   if test -n "$RANLIB"; then
3909   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3910 else
3911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912 for as_dir in $PATH
3913 do
3914   IFS=$as_save_IFS
3915   test -z "$as_dir" && as_dir=.
3916     for ac_exec_ext in '' $ac_executable_extensions; do
3917   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3918     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3919     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3920     break 2
3921   fi
3922 done
3923   done
3924 IFS=$as_save_IFS
3925
3926 fi
3927 fi
3928 RANLIB=$ac_cv_prog_RANLIB
3929 if test -n "$RANLIB"; then
3930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3931 $as_echo "$RANLIB" >&6; }
3932 else
3933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3934 $as_echo "no" >&6; }
3935 fi
3936
3937
3938 fi
3939 if test -z "$ac_cv_prog_RANLIB"; then
3940   ac_ct_RANLIB=$RANLIB
3941   # Extract the first word of "ranlib", so it can be a program name with args.
3942 set dummy ranlib; ac_word=$2
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3944 $as_echo_n "checking for $ac_word... " >&6; }
3945 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3946   $as_echo_n "(cached) " >&6
3947 else
3948   if test -n "$ac_ct_RANLIB"; then
3949   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3950 else
3951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3952 for as_dir in $PATH
3953 do
3954   IFS=$as_save_IFS
3955   test -z "$as_dir" && as_dir=.
3956     for ac_exec_ext in '' $ac_executable_extensions; do
3957   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3958     ac_cv_prog_ac_ct_RANLIB="ranlib"
3959     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3960     break 2
3961   fi
3962 done
3963   done
3964 IFS=$as_save_IFS
3965
3966 fi
3967 fi
3968 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3969 if test -n "$ac_ct_RANLIB"; then
3970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3971 $as_echo "$ac_ct_RANLIB" >&6; }
3972 else
3973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3974 $as_echo "no" >&6; }
3975 fi
3976
3977   if test "x$ac_ct_RANLIB" = x; then
3978     RANLIB=":"
3979   else
3980     case $cross_compiling:$ac_tool_warned in
3981 yes:)
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3984 ac_tool_warned=yes ;;
3985 esac
3986     RANLIB=$ac_ct_RANLIB
3987   fi
3988 else
3989   RANLIB="$ac_cv_prog_RANLIB"
3990 fi
3991
3992
3993
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3995 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3996 if test "${ac_cv_path_GREP+set}" = set; then :
3997   $as_echo_n "(cached) " >&6
3998 else
3999   if test -z "$GREP"; then
4000   ac_path_GREP_found=false
4001   # Loop through the user's path and test for each of PROGNAME-LIST
4002   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4004 do
4005   IFS=$as_save_IFS
4006   test -z "$as_dir" && as_dir=.
4007     for ac_prog in grep ggrep; do
4008     for ac_exec_ext in '' $ac_executable_extensions; do
4009       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4010       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4011 # Check for GNU ac_path_GREP and select it if it is found.
4012   # Check for GNU $ac_path_GREP
4013 case `"$ac_path_GREP" --version 2>&1` in
4014 *GNU*)
4015   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4016 *)
4017   ac_count=0
4018   $as_echo_n 0123456789 >"conftest.in"
4019   while :
4020   do
4021     cat "conftest.in" "conftest.in" >"conftest.tmp"
4022     mv "conftest.tmp" "conftest.in"
4023     cp "conftest.in" "conftest.nl"
4024     $as_echo 'GREP' >> "conftest.nl"
4025     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4026     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4027     as_fn_arith $ac_count + 1 && ac_count=$as_val
4028     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4029       # Best one so far, save it but keep looking for a better one
4030       ac_cv_path_GREP="$ac_path_GREP"
4031       ac_path_GREP_max=$ac_count
4032     fi
4033     # 10*(2^10) chars as input seems more than enough
4034     test $ac_count -gt 10 && break
4035   done
4036   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4037 esac
4038
4039       $ac_path_GREP_found && break 3
4040     done
4041   done
4042   done
4043 IFS=$as_save_IFS
4044   if test -z "$ac_cv_path_GREP"; then
4045     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4046   fi
4047 else
4048   ac_cv_path_GREP=$GREP
4049 fi
4050
4051 fi
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4053 $as_echo "$ac_cv_path_GREP" >&6; }
4054  GREP="$ac_cv_path_GREP"
4055
4056
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4058 $as_echo_n "checking for egrep... " >&6; }
4059 if test "${ac_cv_path_EGREP+set}" = set; then :
4060   $as_echo_n "(cached) " >&6
4061 else
4062   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4063    then ac_cv_path_EGREP="$GREP -E"
4064    else
4065      if test -z "$EGREP"; then
4066   ac_path_EGREP_found=false
4067   # Loop through the user's path and test for each of PROGNAME-LIST
4068   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4070 do
4071   IFS=$as_save_IFS
4072   test -z "$as_dir" && as_dir=.
4073     for ac_prog in egrep; do
4074     for ac_exec_ext in '' $ac_executable_extensions; do
4075       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4076       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4077 # Check for GNU ac_path_EGREP and select it if it is found.
4078   # Check for GNU $ac_path_EGREP
4079 case `"$ac_path_EGREP" --version 2>&1` in
4080 *GNU*)
4081   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4082 *)
4083   ac_count=0
4084   $as_echo_n 0123456789 >"conftest.in"
4085   while :
4086   do
4087     cat "conftest.in" "conftest.in" >"conftest.tmp"
4088     mv "conftest.tmp" "conftest.in"
4089     cp "conftest.in" "conftest.nl"
4090     $as_echo 'EGREP' >> "conftest.nl"
4091     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4092     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4093     as_fn_arith $ac_count + 1 && ac_count=$as_val
4094     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4095       # Best one so far, save it but keep looking for a better one
4096       ac_cv_path_EGREP="$ac_path_EGREP"
4097       ac_path_EGREP_max=$ac_count
4098     fi
4099     # 10*(2^10) chars as input seems more than enough
4100     test $ac_count -gt 10 && break
4101   done
4102   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4103 esac
4104
4105       $ac_path_EGREP_found && break 3
4106     done
4107   done
4108   done
4109 IFS=$as_save_IFS
4110   if test -z "$ac_cv_path_EGREP"; then
4111     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4112   fi
4113 else
4114   ac_cv_path_EGREP=$EGREP
4115 fi
4116
4117    fi
4118 fi
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4120 $as_echo "$ac_cv_path_EGREP" >&6; }
4121  EGREP="$ac_cv_path_EGREP"
4122
4123
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4125 $as_echo_n "checking for ANSI C header files... " >&6; }
4126 if test "${ac_cv_header_stdc+set}" = set; then :
4127   $as_echo_n "(cached) " >&6
4128 else
4129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h.  */
4131 #include <stdlib.h>
4132 #include <stdarg.h>
4133 #include <string.h>
4134 #include <float.h>
4135
4136 int
4137 main ()
4138 {
4139
4140   ;
4141   return 0;
4142 }
4143 _ACEOF
4144 if ac_fn_c_try_compile "$LINENO"; then :
4145   ac_cv_header_stdc=yes
4146 else
4147   ac_cv_header_stdc=no
4148 fi
4149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4150
4151 if test $ac_cv_header_stdc = yes; then
4152   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h.  */
4155 #include <string.h>
4156
4157 _ACEOF
4158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4159   $EGREP "memchr" >/dev/null 2>&1; then :
4160
4161 else
4162   ac_cv_header_stdc=no
4163 fi
4164 rm -f conftest*
4165
4166 fi
4167
4168 if test $ac_cv_header_stdc = yes; then
4169   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h.  */
4172 #include <stdlib.h>
4173
4174 _ACEOF
4175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4176   $EGREP "free" >/dev/null 2>&1; then :
4177
4178 else
4179   ac_cv_header_stdc=no
4180 fi
4181 rm -f conftest*
4182
4183 fi
4184
4185 if test $ac_cv_header_stdc = yes; then
4186   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4187   if test "$cross_compiling" = yes; then :
4188   :
4189 else
4190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4191 /* end confdefs.h.  */
4192 #include <ctype.h>
4193 #include <stdlib.h>
4194 #if ((' ' & 0x0FF) == 0x020)
4195 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4196 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4197 #else
4198 # define ISLOWER(c) \
4199                    (('a' <= (c) && (c) <= 'i') \
4200                      || ('j' <= (c) && (c) <= 'r') \
4201                      || ('s' <= (c) && (c) <= 'z'))
4202 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4203 #endif
4204
4205 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4206 int
4207 main ()
4208 {
4209   int i;
4210   for (i = 0; i < 256; i++)
4211     if (XOR (islower (i), ISLOWER (i))
4212         || toupper (i) != TOUPPER (i))
4213       return 2;
4214   return 0;
4215 }
4216 _ACEOF
4217 if ac_fn_c_try_run "$LINENO"; then :
4218
4219 else
4220   ac_cv_header_stdc=no
4221 fi
4222 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4223   conftest.$ac_objext conftest.beam conftest.$ac_ext
4224 fi
4225
4226 fi
4227 fi
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4229 $as_echo "$ac_cv_header_stdc" >&6; }
4230 if test $ac_cv_header_stdc = yes; then
4231
4232 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4233
4234 fi
4235
4236 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4237 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4238                   inttypes.h stdint.h unistd.h
4239 do :
4240   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4241 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4242 "
4243 eval as_val=\$$as_ac_Header
4244    if test "x$as_val" = x""yes; then :
4245   cat >>confdefs.h <<_ACEOF
4246 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4247 _ACEOF
4248
4249 fi
4250
4251 done
4252
4253
4254
4255
4256
4257     passed=yes
4258     # Check whether --enable-usrp2-firmware was given.
4259 if test "${enable_usrp2_firmware+set}" = set; then :
4260   enableval=$enable_usrp2_firmware;
4261 else
4262
4263         enable_usrp2_firmware=$enable_all_components
4264         if test x$enable_all_components = xno; then
4265             passed=no
4266         fi
4267
4268 fi
4269
4270
4271
4272
4273
4274     if test $passed != no; then
4275         if test $passed = yes; then
4276                         if test x$usrp2_skipped = xyes; then
4277                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2-firmware requires usrp2, which is not being built or specified via pre-installed files." >&5
4278 $as_echo "Component usrp2-firmware requires usrp2, which is not being built or specified via pre-installed files." >&6; }
4279                 passed=no
4280             fi
4281         else
4282                         if test x$usrp2_with = xno; then
4283                 as_fn_error "Component usrp2-firmware requires usrp2 to be included as --with-usrp2-firmware[=arg]" "$LINENO" 5
4284             fi
4285         fi
4286     fi
4287
4288
4289
4290
4291
4292
4293
4294
4295     for ac_header in arpa/inet.h netinet/in.h byteswap.h
4296 do :
4297   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4298 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4299 eval as_val=\$$as_ac_Header
4300    if test "x$as_val" = x""yes; then :
4301   cat >>confdefs.h <<_ACEOF
4302 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4303 _ACEOF
4304
4305 fi
4306
4307 done
4308
4309      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4310 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4311 if test "${ac_cv_c_bigendian+set}" = set; then :
4312   $as_echo_n "(cached) " >&6
4313 else
4314   ac_cv_c_bigendian=unknown
4315     # See if we're dealing with a universal compiler.
4316     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317 /* end confdefs.h.  */
4318 #ifndef __APPLE_CC__
4319                not a universal capable compiler
4320              #endif
4321              typedef int dummy;
4322
4323 _ACEOF
4324 if ac_fn_c_try_compile "$LINENO"; then :
4325
4326         # Check for potential -arch flags.  It is not universal unless
4327         # there are at least two -arch flags with different values.
4328         ac_arch=
4329         ac_prev=
4330         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4331          if test -n "$ac_prev"; then
4332            case $ac_word in
4333              i?86 | x86_64 | ppc | ppc64)
4334                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4335                  ac_arch=$ac_word
4336                else
4337                  ac_cv_c_bigendian=universal
4338                  break
4339                fi
4340                ;;
4341            esac
4342            ac_prev=
4343          elif test "x$ac_word" = "x-arch"; then
4344            ac_prev=arch
4345          fi
4346        done
4347 fi
4348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4349     if test $ac_cv_c_bigendian = unknown; then
4350       # See if sys/param.h defines the BYTE_ORDER macro.
4351       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h.  */
4353 #include <sys/types.h>
4354              #include <sys/param.h>
4355
4356 int
4357 main ()
4358 {
4359 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4360                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4361                      && LITTLE_ENDIAN)
4362               bogus endian macros
4363              #endif
4364
4365   ;
4366   return 0;
4367 }
4368 _ACEOF
4369 if ac_fn_c_try_compile "$LINENO"; then :
4370   # It does; now see whether it defined to BIG_ENDIAN or not.
4371          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4372 /* end confdefs.h.  */
4373 #include <sys/types.h>
4374                 #include <sys/param.h>
4375
4376 int
4377 main ()
4378 {
4379 #if BYTE_ORDER != BIG_ENDIAN
4380                  not big endian
4381                 #endif
4382
4383   ;
4384   return 0;
4385 }
4386 _ACEOF
4387 if ac_fn_c_try_compile "$LINENO"; then :
4388   ac_cv_c_bigendian=yes
4389 else
4390   ac_cv_c_bigendian=no
4391 fi
4392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4393 fi
4394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4395     fi
4396     if test $ac_cv_c_bigendian = unknown; then
4397       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4399 /* end confdefs.h.  */
4400 #include <limits.h>
4401
4402 int
4403 main ()
4404 {
4405 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4406               bogus endian macros
4407              #endif
4408
4409   ;
4410   return 0;
4411 }
4412 _ACEOF
4413 if ac_fn_c_try_compile "$LINENO"; then :
4414   # It does; now see whether it defined to _BIG_ENDIAN or not.
4415          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h.  */
4417 #include <limits.h>
4418
4419 int
4420 main ()
4421 {
4422 #ifndef _BIG_ENDIAN
4423                  not big endian
4424                 #endif
4425
4426   ;
4427   return 0;
4428 }
4429 _ACEOF
4430 if ac_fn_c_try_compile "$LINENO"; then :
4431   ac_cv_c_bigendian=yes
4432 else
4433   ac_cv_c_bigendian=no
4434 fi
4435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4436 fi
4437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4438     fi
4439     if test $ac_cv_c_bigendian = unknown; then
4440       # Compile a test program.
4441       if test "$cross_compiling" = yes; then :
4442   # Try to guess by grepping values from an object file.
4443          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h.  */
4445 short int ascii_mm[] =
4446                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4447                 short int ascii_ii[] =
4448                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4449                 int use_ascii (int i) {
4450                   return ascii_mm[i] + ascii_ii[i];
4451                 }
4452                 short int ebcdic_ii[] =
4453                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4454                 short int ebcdic_mm[] =
4455                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4456                 int use_ebcdic (int i) {
4457                   return ebcdic_mm[i] + ebcdic_ii[i];
4458                 }
4459                 extern int foo;
4460
4461 int
4462 main ()
4463 {
4464 return use_ascii (foo) == use_ebcdic (foo);
4465   ;
4466   return 0;
4467 }
4468 _ACEOF
4469 if ac_fn_c_try_compile "$LINENO"; then :
4470   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4471               ac_cv_c_bigendian=yes
4472             fi
4473             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4474               if test "$ac_cv_c_bigendian" = unknown; then
4475                 ac_cv_c_bigendian=no
4476               else
4477                 # finding both strings is unlikely to happen, but who knows?
4478                 ac_cv_c_bigendian=unknown
4479               fi
4480             fi
4481 fi
4482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4483 else
4484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h.  */
4486 $ac_includes_default
4487 int
4488 main ()
4489 {
4490
4491              /* Are we little or big endian?  From Harbison&Steele.  */
4492              union
4493              {
4494                long int l;
4495                char c[sizeof (long int)];
4496              } u;
4497              u.l = 1;
4498              return u.c[sizeof (long int) - 1] == 1;
4499
4500   ;
4501   return 0;
4502 }
4503 _ACEOF
4504 if ac_fn_c_try_run "$LINENO"; then :
4505   ac_cv_c_bigendian=no
4506 else
4507   ac_cv_c_bigendian=yes
4508 fi
4509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4510   conftest.$ac_objext conftest.beam conftest.$ac_ext
4511 fi
4512
4513     fi
4514 fi
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4516 $as_echo "$ac_cv_c_bigendian" >&6; }
4517  case $ac_cv_c_bigendian in #(
4518    yes)
4519      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4520 ;; #(
4521    no)
4522       ;; #(
4523    universal)
4524
4525 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4526
4527      ;; #(
4528    *)
4529      as_fn_error "unknown endianness
4530  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4531  esac
4532
4533
4534                     if test $passed = yes; then
4535
4536                 # Extract the first word of "mb-gcc", so it can be a program name with args.
4537 set dummy mb-gcc; ac_word=$2
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4539 $as_echo_n "checking for $ac_word... " >&6; }
4540 if test "${ac_cv_prog_MB_GCC+set}" = set; then :
4541   $as_echo_n "(cached) " >&6
4542 else
4543   if test -n "$MB_GCC"; then
4544   ac_cv_prog_MB_GCC="$MB_GCC" # Let the user override the test.
4545 else
4546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4547 for as_dir in $PATH
4548 do
4549   IFS=$as_save_IFS
4550   test -z "$as_dir" && as_dir=.
4551     for ac_exec_ext in '' $ac_executable_extensions; do
4552   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4553     ac_cv_prog_MB_GCC="yes"
4554     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4555     break 2
4556   fi
4557 done
4558   done
4559 IFS=$as_save_IFS
4560
4561   test -z "$ac_cv_prog_MB_GCC" && ac_cv_prog_MB_GCC="no"
4562 fi
4563 fi
4564 MB_GCC=$ac_cv_prog_MB_GCC
4565 if test -n "$MB_GCC"; then
4566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MB_GCC" >&5
4567 $as_echo "$MB_GCC" >&6; }
4568 else
4569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4570 $as_echo "no" >&6; }
4571 fi
4572
4573
4574         if test $MB_GCC = no; then
4575             { $as_echo "$as_me:${as_lineno-$LINENO}: result: usrp2 firmware requires mb-gcc.  Not found" >&5
4576 $as_echo "usrp2 firmware requires mb-gcc.  Not found" >&6; }
4577             passed=no
4578         fi
4579     fi
4580     if test $passed != with; then
4581                                         :
4582     fi
4583
4584
4585     ac_config_files="$ac_config_files apps/Makefile include/Makefile lib/Makefile"
4586
4587
4588          if test $passed = yes && test "$enable_usrp2_firmware" != no; then
4589   BUILDING_USRP2_FIRMWARE_TRUE=
4590   BUILDING_USRP2_FIRMWARE_FALSE='#'
4591 else
4592   BUILDING_USRP2_FIRMWARE_TRUE='#'
4593   BUILDING_USRP2_FIRMWARE_FALSE=
4594 fi
4595
4596
4597
4598
4599     usrp2_firmware_with=no
4600     if test $passed = no; then
4601         if test x$enable_usrp2_firmware = xyes; then
4602             as_fn_error "Component usrp2-firmware has errors; stopping." "$LINENO" 5
4603         else
4604             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component usrp2-firmware." >&5
4605 $as_echo "Not building component usrp2-firmware." >&6; }
4606         fi
4607     else
4608         if test $passed = with; then
4609             with_dirs="$with_dirs usrp2-firmware"
4610
4611     if test "x${usrp2_firmware_INCLUDES}" != "x"; then
4612         if test "x$with_INCLUDES" = "x"; then
4613             with_INCLUDES="${usrp2_firmware_INCLUDES}"
4614         else
4615             with_INCLUDES="${usrp2_firmware_INCLUDES}"" ""$with_INCLUDES"
4616         fi
4617         usrp2_firmware_INCLUDES=
4618     fi
4619
4620
4621     if test "x${usrp2_firmware_SWIG_INCLUDES}" != "x"; then
4622         if test "x$with_SWIG_INCLUDES" = "x"; then
4623             with_SWIG_INCLUDES="${usrp2_firmware_SWIG_INCLUDES}"
4624         else
4625             with_SWIG_INCLUDES="${usrp2_firmware_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
4626         fi
4627         usrp2_firmware_SWIG_INCLUDES=
4628     fi
4629
4630
4631     if test "x${usrp2_firmware_PYDIRPATH}" != "x"; then
4632         if test "x$with_PYDIRPATH" = "x"; then
4633             with_PYDIRPATH="${usrp2_firmware_PYDIRPATH}"
4634         else
4635             with_PYDIRPATH="${usrp2_firmware_PYDIRPATH}"":""$with_PYDIRPATH"
4636         fi
4637         usrp2_firmware_PYDIRPATH=
4638     fi
4639
4640
4641     if test "x${usrp2_firmware_SWIGDIRPATH}" != "x"; then
4642         if test "x$with_SWIGDIRPATH" = "x"; then
4643             with_SWIGDIRPATH="${usrp2_firmware_SWIGDIRPATH}"
4644         else
4645             with_SWIGDIRPATH="${usrp2_firmware_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
4646         fi
4647         usrp2_firmware_SWIGDIRPATH=
4648     fi
4649
4650
4651     if test "x${usrp2_firmware_LIBDIRPATH}" != "x"; then
4652         if test "x$with_LIBDIRPATH" = "x"; then
4653             with_LIBDIRPATH="${usrp2_firmware_LIBDIRPATH}"
4654         else
4655             with_LIBDIRPATH="${usrp2_firmware_LIBDIRPATH}"":""$with_LIBDIRPATH"
4656         fi
4657         usrp2_firmware_LIBDIRPATH=
4658     fi
4659
4660             { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2-firmware will be included from a pre-installed library and includes." >&5
4661 $as_echo "Component usrp2-firmware will be included from a pre-installed library and includes." >&6; }
4662             usrp2_firmware_with=yes
4663         else
4664             usrp2_firmware_LDFLAG=
4665             if test x$enable_usrp2_firmware != xno; then
4666                 :
4667                 build_dirs="$build_dirs usrp2-firmware"
4668                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2-firmware passed configuration checks; building." >&5
4669 $as_echo "Component usrp2-firmware passed configuration checks; building." >&6; }
4670             else
4671                 passed=no
4672                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2-firmware passed configuration checks; but not building." >&5
4673 $as_echo "Component usrp2-firmware passed configuration checks; but not building." >&6; }
4674             fi
4675         fi
4676     fi
4677     if test $passed = no; then
4678         skipped_dirs="$skipped_dirs usrp2-firmware"
4679         usrp2_firmware_skipped=yes
4680     else
4681         usrp2_firmware_skipped=no
4682     fi
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693 # Each component is now either to be built, was skipped, will be
4694 # included from pre-installed libraries and includes, or failed
4695 # dependencies.
4696 build_dirs=$build_dirs
4697
4698 skipped_dirs=$skipped_dirs
4699
4700 with_dirs=$with_dirs
4701
4702
4703 # fix for older autotools that don't define "abs_top_YYY" by default
4704
4705
4706
4707 # 'with' variables - the pre-installed libraries, includes, and paths
4708 # - must always come last in the lists, so they require special
4709 # treatment.
4710
4711
4712
4713
4714
4715
4716 ac_config_files="$ac_config_files Makefile config/Makefile"
4717
4718
4719 cat >confcache <<\_ACEOF
4720 # This file is a shell script that caches the results of configure
4721 # tests run on this system so they can be shared between configure
4722 # scripts and configure runs, see configure's option --config-cache.
4723 # It is not useful on other systems.  If it contains results you don't
4724 # want to keep, you may remove or edit it.
4725 #
4726 # config.status only pays attention to the cache file if you give it
4727 # the --recheck option to rerun configure.
4728 #
4729 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4730 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4731 # following values.
4732
4733 _ACEOF
4734
4735 # The following way of writing the cache mishandles newlines in values,
4736 # but we know of no workaround that is simple, portable, and efficient.
4737 # So, we kill variables containing newlines.
4738 # Ultrix sh set writes to stderr and can't be redirected directly,
4739 # and sets the high bit in the cache file unless we assign to the vars.
4740 (
4741   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4742     eval ac_val=\$$ac_var
4743     case $ac_val in #(
4744     *${as_nl}*)
4745       case $ac_var in #(
4746       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4747 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4748       esac
4749       case $ac_var in #(
4750       _ | IFS | as_nl) ;; #(
4751       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4752       *) { eval $ac_var=; unset $ac_var;} ;;
4753       esac ;;
4754     esac
4755   done
4756
4757   (set) 2>&1 |
4758     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4759     *${as_nl}ac_space=\ *)
4760       # `set' does not quote correctly, so add quotes: double-quote
4761       # substitution turns \\\\ into \\, and sed turns \\ into \.
4762       sed -n \
4763         "s/'/'\\\\''/g;
4764           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4765       ;; #(
4766     *)
4767       # `set' quotes correctly as required by POSIX, so do not add quotes.
4768       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4769       ;;
4770     esac |
4771     sort
4772 ) |
4773   sed '
4774      /^ac_cv_env_/b end
4775      t clear
4776      :clear
4777      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4778      t end
4779      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4780      :end' >>confcache
4781 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4782   if test -w "$cache_file"; then
4783     test "x$cache_file" != "x/dev/null" &&
4784       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4785 $as_echo "$as_me: updating cache $cache_file" >&6;}
4786     cat confcache >$cache_file
4787   else
4788     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4789 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4790   fi
4791 fi
4792 rm -f confcache
4793
4794 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4795 # Let make expand exec_prefix.
4796 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4797
4798 DEFS=-DHAVE_CONFIG_H
4799
4800 ac_libobjs=
4801 ac_ltlibobjs=
4802 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4803   # 1. Remove the extension, and $U if already installed.
4804   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4805   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4806   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4807   #    will be set to the directory where LIBOBJS objects are built.
4808   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4809   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4810 done
4811 LIBOBJS=$ac_libobjs
4812
4813 LTLIBOBJS=$ac_ltlibobjs
4814
4815
4816  if test -n "$EXEEXT"; then
4817   am__EXEEXT_TRUE=
4818   am__EXEEXT_FALSE='#'
4819 else
4820   am__EXEEXT_TRUE='#'
4821   am__EXEEXT_FALSE=
4822 fi
4823
4824 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4825   as_fn_error "conditional \"AMDEP\" was never defined.
4826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4827 fi
4828 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4829   as_fn_error "conditional \"am__fastdepCC\" was never defined.
4830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4831 fi
4832 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
4833   as_fn_error "conditional \"am__fastdepCCAS\" was never defined.
4834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4835 fi
4836
4837 if test -z "${BUILDING_USRP2_FIRMWARE_TRUE}" && test -z "${BUILDING_USRP2_FIRMWARE_FALSE}"; then
4838   as_fn_error "conditional \"BUILDING_USRP2_FIRMWARE\" was never defined.
4839 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4840 fi
4841
4842 : ${CONFIG_STATUS=./config.status}
4843 ac_write_fail=0
4844 ac_clean_files_save=$ac_clean_files
4845 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4847 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4848 as_write_fail=0
4849 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4850 #! $SHELL
4851 # Generated by $as_me.
4852 # Run this file to recreate the current configuration.
4853 # Compiler output produced by configure, useful for debugging
4854 # configure, is in config.log if it exists.
4855
4856 debug=false
4857 ac_cs_recheck=false
4858 ac_cs_silent=false
4859
4860 SHELL=\${CONFIG_SHELL-$SHELL}
4861 export SHELL
4862 _ASEOF
4863 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4864 ## -------------------- ##
4865 ## M4sh Initialization. ##
4866 ## -------------------- ##
4867
4868 # Be more Bourne compatible
4869 DUALCASE=1; export DUALCASE # for MKS sh
4870 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4871   emulate sh
4872   NULLCMD=:
4873   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4874   # is contrary to our usage.  Disable this feature.
4875   alias -g '${1+"$@"}'='"$@"'
4876   setopt NO_GLOB_SUBST
4877 else
4878   case `(set -o) 2>/dev/null` in #(
4879   *posix*) :
4880     set -o posix ;; #(
4881   *) :
4882      ;;
4883 esac
4884 fi
4885
4886
4887 as_nl='
4888 '
4889 export as_nl
4890 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4891 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4892 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4893 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4894 # Prefer a ksh shell builtin over an external printf program on Solaris,
4895 # but without wasting forks for bash or zsh.
4896 if test -z "$BASH_VERSION$ZSH_VERSION" \
4897     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4898   as_echo='print -r --'
4899   as_echo_n='print -rn --'
4900 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4901   as_echo='printf %s\n'
4902   as_echo_n='printf %s'
4903 else
4904   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4905     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4906     as_echo_n='/usr/ucb/echo -n'
4907   else
4908     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4909     as_echo_n_body='eval
4910       arg=$1;
4911       case $arg in #(
4912       *"$as_nl"*)
4913         expr "X$arg" : "X\\(.*\\)$as_nl";
4914         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4915       esac;
4916       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4917     '
4918     export as_echo_n_body
4919     as_echo_n='sh -c $as_echo_n_body as_echo'
4920   fi
4921   export as_echo_body
4922   as_echo='sh -c $as_echo_body as_echo'
4923 fi
4924
4925 # The user is always right.
4926 if test "${PATH_SEPARATOR+set}" != set; then
4927   PATH_SEPARATOR=:
4928   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4929     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4930       PATH_SEPARATOR=';'
4931   }
4932 fi
4933
4934
4935 # IFS
4936 # We need space, tab and new line, in precisely that order.  Quoting is
4937 # there to prevent editors from complaining about space-tab.
4938 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4939 # splitting by setting IFS to empty value.)
4940 IFS=" ""        $as_nl"
4941
4942 # Find who we are.  Look in the path if we contain no directory separator.
4943 case $0 in #((
4944   *[\\/]* ) as_myself=$0 ;;
4945   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4946 for as_dir in $PATH
4947 do
4948   IFS=$as_save_IFS
4949   test -z "$as_dir" && as_dir=.
4950     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4951   done
4952 IFS=$as_save_IFS
4953
4954      ;;
4955 esac
4956 # We did not find ourselves, most probably we were run as `sh COMMAND'
4957 # in which case we are not to be found in the path.
4958 if test "x$as_myself" = x; then
4959   as_myself=$0
4960 fi
4961 if test ! -f "$as_myself"; then
4962   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4963   exit 1
4964 fi
4965
4966 # Unset variables that we do not need and which cause bugs (e.g. in
4967 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4968 # suppresses any "Segmentation fault" message there.  '((' could
4969 # trigger a bug in pdksh 5.2.14.
4970 for as_var in BASH_ENV ENV MAIL MAILPATH
4971 do eval test x\${$as_var+set} = xset \
4972   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4973 done
4974 PS1='$ '
4975 PS2='> '
4976 PS4='+ '
4977
4978 # NLS nuisances.
4979 LC_ALL=C
4980 export LC_ALL
4981 LANGUAGE=C
4982 export LANGUAGE
4983
4984 # CDPATH.
4985 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4986
4987
4988 # as_fn_error ERROR [LINENO LOG_FD]
4989 # ---------------------------------
4990 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4991 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4992 # script with status $?, using 1 if that was 0.
4993 as_fn_error ()
4994 {
4995   as_status=$?; test $as_status -eq 0 && as_status=1
4996   if test "$3"; then
4997     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4998     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4999   fi
5000   $as_echo "$as_me: error: $1" >&2
5001   as_fn_exit $as_status
5002 } # as_fn_error
5003
5004
5005 # as_fn_set_status STATUS
5006 # -----------------------
5007 # Set $? to STATUS, without forking.
5008 as_fn_set_status ()
5009 {
5010   return $1
5011 } # as_fn_set_status
5012
5013 # as_fn_exit STATUS
5014 # -----------------
5015 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5016 as_fn_exit ()
5017 {
5018   set +e
5019   as_fn_set_status $1
5020   exit $1
5021 } # as_fn_exit
5022
5023 # as_fn_unset VAR
5024 # ---------------
5025 # Portably unset VAR.
5026 as_fn_unset ()
5027 {
5028   { eval $1=; unset $1;}
5029 }
5030 as_unset=as_fn_unset
5031 # as_fn_append VAR VALUE
5032 # ----------------------
5033 # Append the text in VALUE to the end of the definition contained in VAR. Take
5034 # advantage of any shell optimizations that allow amortized linear growth over
5035 # repeated appends, instead of the typical quadratic growth present in naive
5036 # implementations.
5037 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5038   eval 'as_fn_append ()
5039   {
5040     eval $1+=\$2
5041   }'
5042 else
5043   as_fn_append ()
5044   {
5045     eval $1=\$$1\$2
5046   }
5047 fi # as_fn_append
5048
5049 # as_fn_arith ARG...
5050 # ------------------
5051 # Perform arithmetic evaluation on the ARGs, and store the result in the
5052 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5053 # must be portable across $(()) and expr.
5054 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5055   eval 'as_fn_arith ()
5056   {
5057     as_val=$(( $* ))
5058   }'
5059 else
5060   as_fn_arith ()
5061   {
5062     as_val=`expr "$@" || test $? -eq 1`
5063   }
5064 fi # as_fn_arith
5065
5066
5067 if expr a : '\(a\)' >/dev/null 2>&1 &&
5068    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5069   as_expr=expr
5070 else
5071   as_expr=false
5072 fi
5073
5074 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5075   as_basename=basename
5076 else
5077   as_basename=false
5078 fi
5079
5080 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5081   as_dirname=dirname
5082 else
5083   as_dirname=false
5084 fi
5085
5086 as_me=`$as_basename -- "$0" ||
5087 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5088          X"$0" : 'X\(//\)$' \| \
5089          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5090 $as_echo X/"$0" |
5091     sed '/^.*\/\([^/][^/]*\)\/*$/{
5092             s//\1/
5093             q
5094           }
5095           /^X\/\(\/\/\)$/{
5096             s//\1/
5097             q
5098           }
5099           /^X\/\(\/\).*/{
5100             s//\1/
5101             q
5102           }
5103           s/.*/./; q'`
5104
5105 # Avoid depending upon Character Ranges.
5106 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5107 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5108 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5109 as_cr_digits='0123456789'
5110 as_cr_alnum=$as_cr_Letters$as_cr_digits
5111
5112 ECHO_C= ECHO_N= ECHO_T=
5113 case `echo -n x` in #(((((
5114 -n*)
5115   case `echo 'xy\c'` in
5116   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5117   xy)  ECHO_C='\c';;
5118   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5119        ECHO_T=' ';;
5120   esac;;
5121 *)
5122   ECHO_N='-n';;
5123 esac
5124
5125 rm -f conf$$ conf$$.exe conf$$.file
5126 if test -d conf$$.dir; then
5127   rm -f conf$$.dir/conf$$.file
5128 else
5129   rm -f conf$$.dir
5130   mkdir conf$$.dir 2>/dev/null
5131 fi
5132 if (echo >conf$$.file) 2>/dev/null; then
5133   if ln -s conf$$.file conf$$ 2>/dev/null; then
5134     as_ln_s='ln -s'
5135     # ... but there are two gotchas:
5136     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5137     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5138     # In both cases, we have to default to `cp -p'.
5139     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5140       as_ln_s='cp -p'
5141   elif ln conf$$.file conf$$ 2>/dev/null; then
5142     as_ln_s=ln
5143   else
5144     as_ln_s='cp -p'
5145   fi
5146 else
5147   as_ln_s='cp -p'
5148 fi
5149 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5150 rmdir conf$$.dir 2>/dev/null
5151
5152
5153 # as_fn_mkdir_p
5154 # -------------
5155 # Create "$as_dir" as a directory, including parents if necessary.
5156 as_fn_mkdir_p ()
5157 {
5158
5159   case $as_dir in #(
5160   -*) as_dir=./$as_dir;;
5161   esac
5162   test -d "$as_dir" || eval $as_mkdir_p || {
5163     as_dirs=
5164     while :; do
5165       case $as_dir in #(
5166       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5167       *) as_qdir=$as_dir;;
5168       esac
5169       as_dirs="'$as_qdir' $as_dirs"
5170       as_dir=`$as_dirname -- "$as_dir" ||
5171 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5172          X"$as_dir" : 'X\(//\)[^/]' \| \
5173          X"$as_dir" : 'X\(//\)$' \| \
5174          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5175 $as_echo X"$as_dir" |
5176     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5177             s//\1/
5178             q
5179           }
5180           /^X\(\/\/\)[^/].*/{
5181             s//\1/
5182             q
5183           }
5184           /^X\(\/\/\)$/{
5185             s//\1/
5186             q
5187           }
5188           /^X\(\/\).*/{
5189             s//\1/
5190             q
5191           }
5192           s/.*/./; q'`
5193       test -d "$as_dir" && break
5194     done
5195     test -z "$as_dirs" || eval "mkdir $as_dirs"
5196   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5197
5198
5199 } # as_fn_mkdir_p
5200 if mkdir -p . 2>/dev/null; then
5201   as_mkdir_p='mkdir -p "$as_dir"'
5202 else
5203   test -d ./-p && rmdir ./-p
5204   as_mkdir_p=false
5205 fi
5206
5207 if test -x / >/dev/null 2>&1; then
5208   as_test_x='test -x'
5209 else
5210   if ls -dL / >/dev/null 2>&1; then
5211     as_ls_L_option=L
5212   else
5213     as_ls_L_option=
5214   fi
5215   as_test_x='
5216     eval sh -c '\''
5217       if test -d "$1"; then
5218         test -d "$1/.";
5219       else
5220         case $1 in #(
5221         -*)set "./$1";;
5222         esac;
5223         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5224         ???[sx]*):;;*)false;;esac;fi
5225     '\'' sh
5226   '
5227 fi
5228 as_executable_p=$as_test_x
5229
5230 # Sed expression to map a string onto a valid CPP name.
5231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5232
5233 # Sed expression to map a string onto a valid variable name.
5234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5235
5236
5237 exec 6>&1
5238 ## ----------------------------------- ##
5239 ## Main body of $CONFIG_STATUS script. ##
5240 ## ----------------------------------- ##
5241 _ASEOF
5242 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5243
5244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5245 # Save the log message, to keep $0 and so on meaningful, and to
5246 # report actual input values of CONFIG_FILES etc. instead of their
5247 # values after options handling.
5248 ac_log="
5249 This file was extended by $as_me, which was
5250 generated by GNU Autoconf 2.65.  Invocation command line was
5251
5252   CONFIG_FILES    = $CONFIG_FILES
5253   CONFIG_HEADERS  = $CONFIG_HEADERS
5254   CONFIG_LINKS    = $CONFIG_LINKS
5255   CONFIG_COMMANDS = $CONFIG_COMMANDS
5256   $ $0 $@
5257
5258 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5259 "
5260
5261 _ACEOF
5262
5263 case $ac_config_files in *"
5264 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5265 esac
5266
5267 case $ac_config_headers in *"
5268 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5269 esac
5270
5271
5272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5273 # Files that config.status was made for.
5274 config_files="$ac_config_files"
5275 config_headers="$ac_config_headers"
5276 config_commands="$ac_config_commands"
5277
5278 _ACEOF
5279
5280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5281 ac_cs_usage="\
5282 \`$as_me' instantiates files and other configuration actions
5283 from templates according to the current configuration.  Unless the files
5284 and actions are specified as TAGs, all are instantiated by default.
5285
5286 Usage: $0 [OPTION]... [TAG]...
5287
5288   -h, --help       print this help, then exit
5289   -V, --version    print version number and configuration settings, then exit
5290       --config     print configuration, then exit
5291   -q, --quiet, --silent
5292                    do not print progress messages
5293   -d, --debug      don't remove temporary files
5294       --recheck    update $as_me by reconfiguring in the same conditions
5295       --file=FILE[:TEMPLATE]
5296                    instantiate the configuration file FILE
5297       --header=FILE[:TEMPLATE]
5298                    instantiate the configuration header FILE
5299
5300 Configuration files:
5301 $config_files
5302
5303 Configuration headers:
5304 $config_headers
5305
5306 Configuration commands:
5307 $config_commands
5308
5309 Report bugs to the package provider."
5310
5311 _ACEOF
5312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5313 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5314 ac_cs_version="\\
5315 config.status
5316 configured by $0, generated by GNU Autoconf 2.65,
5317   with options \\"\$ac_cs_config\\"
5318
5319 Copyright (C) 2009 Free Software Foundation, Inc.
5320 This config.status script is free software; the Free Software Foundation
5321 gives unlimited permission to copy, distribute and modify it."
5322
5323 ac_pwd='$ac_pwd'
5324 srcdir='$srcdir'
5325 INSTALL='$INSTALL'
5326 MKDIR_P='$MKDIR_P'
5327 AWK='$AWK'
5328 test -n "\$AWK" || AWK=awk
5329 _ACEOF
5330
5331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5332 # The default lists apply if the user does not specify any file.
5333 ac_need_defaults=:
5334 while test $# != 0
5335 do
5336   case $1 in
5337   --*=*)
5338     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5339     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5340     ac_shift=:
5341     ;;
5342   *)
5343     ac_option=$1
5344     ac_optarg=$2
5345     ac_shift=shift
5346     ;;
5347   esac
5348
5349   case $ac_option in
5350   # Handling of the options.
5351   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5352     ac_cs_recheck=: ;;
5353   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5354     $as_echo "$ac_cs_version"; exit ;;
5355   --config | --confi | --conf | --con | --co | --c )
5356     $as_echo "$ac_cs_config"; exit ;;
5357   --debug | --debu | --deb | --de | --d | -d )
5358     debug=: ;;
5359   --file | --fil | --fi | --f )
5360     $ac_shift
5361     case $ac_optarg in
5362     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5363     esac
5364     as_fn_append CONFIG_FILES " '$ac_optarg'"
5365     ac_need_defaults=false;;
5366   --header | --heade | --head | --hea )
5367     $ac_shift
5368     case $ac_optarg in
5369     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5370     esac
5371     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5372     ac_need_defaults=false;;
5373   --he | --h)
5374     # Conflict between --help and --header
5375     as_fn_error "ambiguous option: \`$1'
5376 Try \`$0 --help' for more information.";;
5377   --help | --hel | -h )
5378     $as_echo "$ac_cs_usage"; exit ;;
5379   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5380   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5381     ac_cs_silent=: ;;
5382
5383   # This is an error.
5384   -*) as_fn_error "unrecognized option: \`$1'
5385 Try \`$0 --help' for more information." ;;
5386
5387   *) as_fn_append ac_config_targets " $1"
5388      ac_need_defaults=false ;;
5389
5390   esac
5391   shift
5392 done
5393
5394 ac_configure_extra_args=
5395
5396 if $ac_cs_silent; then
5397   exec 6>/dev/null
5398   ac_configure_extra_args="$ac_configure_extra_args --silent"
5399 fi
5400
5401 _ACEOF
5402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5403 if \$ac_cs_recheck; then
5404   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5405   shift
5406   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5407   CONFIG_SHELL='$SHELL'
5408   export CONFIG_SHELL
5409   exec "\$@"
5410 fi
5411
5412 _ACEOF
5413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5414 exec 5>>config.log
5415 {
5416   echo
5417   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5418 ## Running $as_me. ##
5419 _ASBOX
5420   $as_echo "$ac_log"
5421 } >&5
5422
5423 _ACEOF
5424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5425 #
5426 # INIT-COMMANDS
5427 #
5428 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5429
5430 _ACEOF
5431
5432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5433
5434 # Handling of arguments.
5435 for ac_config_target in $ac_config_targets
5436 do
5437   case $ac_config_target in
5438     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5439     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5440     "apps/Makefile") CONFIG_FILES="$CONFIG_FILES apps/Makefile" ;;
5441     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
5442     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
5443     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5444     "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
5445
5446   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5447   esac
5448 done
5449
5450
5451 # If the user did not use the arguments to specify the items to instantiate,
5452 # then the envvar interface is used.  Set only those that are not.
5453 # We use the long form for the default assignment because of an extremely
5454 # bizarre bug on SunOS 4.1.3.
5455 if $ac_need_defaults; then
5456   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5457   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5458   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5459 fi
5460
5461 # Have a temporary directory for convenience.  Make it in the build tree
5462 # simply because there is no reason against having it here, and in addition,
5463 # creating and moving files from /tmp can sometimes cause problems.
5464 # Hook for its removal unless debugging.
5465 # Note that there is a small window in which the directory will not be cleaned:
5466 # after its creation but before its name has been assigned to `$tmp'.
5467 $debug ||
5468 {
5469   tmp=
5470   trap 'exit_status=$?
5471   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5472 ' 0
5473   trap 'as_fn_exit 1' 1 2 13 15
5474 }
5475 # Create a (secure) tmp directory for tmp files.
5476
5477 {
5478   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5479   test -n "$tmp" && test -d "$tmp"
5480 }  ||
5481 {
5482   tmp=./conf$$-$RANDOM
5483   (umask 077 && mkdir "$tmp")
5484 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5485
5486 # Set up the scripts for CONFIG_FILES section.
5487 # No need to generate them if there are no CONFIG_FILES.
5488 # This happens for instance with `./config.status config.h'.
5489 if test -n "$CONFIG_FILES"; then
5490
5491
5492 ac_cr=`echo X | tr X '\015'`
5493 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5494 # But we know of no other shell where ac_cr would be empty at this
5495 # point, so we can use a bashism as a fallback.
5496 if test "x$ac_cr" = x; then
5497   eval ac_cr=\$\'\\r\'
5498 fi
5499 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5500 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5501   ac_cs_awk_cr='\r'
5502 else
5503   ac_cs_awk_cr=$ac_cr
5504 fi
5505
5506 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5507 _ACEOF
5508
5509
5510 {
5511   echo "cat >conf$$subs.awk <<_ACEOF" &&
5512   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5513   echo "_ACEOF"
5514 } >conf$$subs.sh ||
5515   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5516 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5517 ac_delim='%!_!# '
5518 for ac_last_try in false false false false false :; do
5519   . ./conf$$subs.sh ||
5520     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5521
5522   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5523   if test $ac_delim_n = $ac_delim_num; then
5524     break
5525   elif $ac_last_try; then
5526     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5527   else
5528     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5529   fi
5530 done
5531 rm -f conf$$subs.sh
5532
5533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5534 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5535 _ACEOF
5536 sed -n '
5537 h
5538 s/^/S["/; s/!.*/"]=/
5539 p
5540 g
5541 s/^[^!]*!//
5542 :repl
5543 t repl
5544 s/'"$ac_delim"'$//
5545 t delim
5546 :nl
5547 h
5548 s/\(.\{148\}\)..*/\1/
5549 t more1
5550 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5551 p
5552 n
5553 b repl
5554 :more1
5555 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5556 p
5557 g
5558 s/.\{148\}//
5559 t nl
5560 :delim
5561 h
5562 s/\(.\{148\}\)..*/\1/
5563 t more2
5564 s/["\\]/\\&/g; s/^/"/; s/$/"/
5565 p
5566 b
5567 :more2
5568 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5569 p
5570 g
5571 s/.\{148\}//
5572 t delim
5573 ' <conf$$subs.awk | sed '
5574 /^[^""]/{
5575   N
5576   s/\n//
5577 }
5578 ' >>$CONFIG_STATUS || ac_write_fail=1
5579 rm -f conf$$subs.awk
5580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5581 _ACAWK
5582 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5583   for (key in S) S_is_set[key] = 1
5584   FS = "\a"
5585
5586 }
5587 {
5588   line = $ 0
5589   nfields = split(line, field, "@")
5590   substed = 0
5591   len = length(field[1])
5592   for (i = 2; i < nfields; i++) {
5593     key = field[i]
5594     keylen = length(key)
5595     if (S_is_set[key]) {
5596       value = S[key]
5597       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5598       len += length(value) + length(field[++i])
5599       substed = 1
5600     } else
5601       len += 1 + keylen
5602   }
5603
5604   print line
5605 }
5606
5607 _ACAWK
5608 _ACEOF
5609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5610 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5611   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5612 else
5613   cat
5614 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5615   || as_fn_error "could not setup config files machinery" "$LINENO" 5
5616 _ACEOF
5617
5618 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5619 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5620 # trailing colons and then remove the whole line if VPATH becomes empty
5621 # (actually we leave an empty line to preserve line numbers).
5622 if test "x$srcdir" = x.; then
5623   ac_vpsub='/^[  ]*VPATH[        ]*=/{
5624 s/:*\$(srcdir):*/:/
5625 s/:*\${srcdir}:*/:/
5626 s/:*@srcdir@:*/:/
5627 s/^\([^=]*=[     ]*\):*/\1/
5628 s/:*$//
5629 s/^[^=]*=[       ]*$//
5630 }'
5631 fi
5632
5633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5634 fi # test -n "$CONFIG_FILES"
5635
5636 # Set up the scripts for CONFIG_HEADERS section.
5637 # No need to generate them if there are no CONFIG_HEADERS.
5638 # This happens for instance with `./config.status Makefile'.
5639 if test -n "$CONFIG_HEADERS"; then
5640 cat >"$tmp/defines.awk" <<\_ACAWK ||
5641 BEGIN {
5642 _ACEOF
5643
5644 # Transform confdefs.h into an awk script `defines.awk', embedded as
5645 # here-document in config.status, that substitutes the proper values into
5646 # config.h.in to produce config.h.
5647
5648 # Create a delimiter string that does not exist in confdefs.h, to ease
5649 # handling of long lines.
5650 ac_delim='%!_!# '
5651 for ac_last_try in false false :; do
5652   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5653   if test -z "$ac_t"; then
5654     break
5655   elif $ac_last_try; then
5656     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5657   else
5658     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5659   fi
5660 done
5661
5662 # For the awk script, D is an array of macro values keyed by name,
5663 # likewise P contains macro parameters if any.  Preserve backslash
5664 # newline sequences.
5665
5666 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5667 sed -n '
5668 s/.\{148\}/&'"$ac_delim"'/g
5669 t rset
5670 :rset
5671 s/^[     ]*#[    ]*define[       ][      ]*/ /
5672 t def
5673 d
5674 :def
5675 s/\\$//
5676 t bsnl
5677 s/["\\]/\\&/g
5678 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5679 D["\1"]=" \3"/p
5680 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
5681 d
5682 :bsnl
5683 s/["\\]/\\&/g
5684 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5685 D["\1"]=" \3\\\\\\n"\\/p
5686 t cont
5687 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5688 t cont
5689 d
5690 :cont
5691 n
5692 s/.\{148\}/&'"$ac_delim"'/g
5693 t clear
5694 :clear
5695 s/\\$//
5696 t bsnlc
5697 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5698 d
5699 :bsnlc
5700 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5701 b cont
5702 ' <confdefs.h | sed '
5703 s/'"$ac_delim"'/"\\\
5704 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5705
5706 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5707   for (key in D) D_is_set[key] = 1
5708   FS = "\a"
5709 }
5710 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5711   line = \$ 0
5712   split(line, arg, " ")
5713   if (arg[1] == "#") {
5714     defundef = arg[2]
5715     mac1 = arg[3]
5716   } else {
5717     defundef = substr(arg[1], 2)
5718     mac1 = arg[2]
5719   }
5720   split(mac1, mac2, "(") #)
5721   macro = mac2[1]
5722   prefix = substr(line, 1, index(line, defundef) - 1)
5723   if (D_is_set[macro]) {
5724     # Preserve the white space surrounding the "#".
5725     print prefix "define", macro P[macro] D[macro]
5726     next
5727   } else {
5728     # Replace #undef with comments.  This is necessary, for example,
5729     # in the case of _POSIX_SOURCE, which is predefined and required
5730     # on some systems where configure will not decide to define it.
5731     if (defundef == "undef") {
5732       print "/*", prefix defundef, macro, "*/"
5733       next
5734     }
5735   }
5736 }
5737 { print }
5738 _ACAWK
5739 _ACEOF
5740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5741   as_fn_error "could not setup config headers machinery" "$LINENO" 5
5742 fi # test -n "$CONFIG_HEADERS"
5743
5744
5745 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
5746 shift
5747 for ac_tag
5748 do
5749   case $ac_tag in
5750   :[FHLC]) ac_mode=$ac_tag; continue;;
5751   esac
5752   case $ac_mode$ac_tag in
5753   :[FHL]*:*);;
5754   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
5755   :[FH]-) ac_tag=-:-;;
5756   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5757   esac
5758   ac_save_IFS=$IFS
5759   IFS=:
5760   set x $ac_tag
5761   IFS=$ac_save_IFS
5762   shift
5763   ac_file=$1
5764   shift
5765
5766   case $ac_mode in
5767   :L) ac_source=$1;;
5768   :[FH])
5769     ac_file_inputs=
5770     for ac_f
5771     do
5772       case $ac_f in
5773       -) ac_f="$tmp/stdin";;
5774       *) # Look for the file first in the build tree, then in the source tree
5775          # (if the path is not absolute).  The absolute path cannot be DOS-style,
5776          # because $ac_f cannot contain `:'.
5777          test -f "$ac_f" ||
5778            case $ac_f in
5779            [\\/$]*) false;;
5780            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5781            esac ||
5782            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5783       esac
5784       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5785       as_fn_append ac_file_inputs " '$ac_f'"
5786     done
5787
5788     # Let's still pretend it is `configure' which instantiates (i.e., don't
5789     # use $as_me), people would be surprised to read:
5790     #    /* config.h.  Generated by config.status.  */
5791     configure_input='Generated from '`
5792           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5793         `' by configure.'
5794     if test x"$ac_file" != x-; then
5795       configure_input="$ac_file.  $configure_input"
5796       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5797 $as_echo "$as_me: creating $ac_file" >&6;}
5798     fi
5799     # Neutralize special characters interpreted by sed in replacement strings.
5800     case $configure_input in #(
5801     *\&* | *\|* | *\\* )
5802        ac_sed_conf_input=`$as_echo "$configure_input" |
5803        sed 's/[\\\\&|]/\\\\&/g'`;; #(
5804     *) ac_sed_conf_input=$configure_input;;
5805     esac
5806
5807     case $ac_tag in
5808     *:-:* | *:-) cat >"$tmp/stdin" \
5809       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5810     esac
5811     ;;
5812   esac
5813
5814   ac_dir=`$as_dirname -- "$ac_file" ||
5815 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5816          X"$ac_file" : 'X\(//\)[^/]' \| \
5817          X"$ac_file" : 'X\(//\)$' \| \
5818          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5819 $as_echo X"$ac_file" |
5820     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5821             s//\1/
5822             q
5823           }
5824           /^X\(\/\/\)[^/].*/{
5825             s//\1/
5826             q
5827           }
5828           /^X\(\/\/\)$/{
5829             s//\1/
5830             q
5831           }
5832           /^X\(\/\).*/{
5833             s//\1/
5834             q
5835           }
5836           s/.*/./; q'`
5837   as_dir="$ac_dir"; as_fn_mkdir_p
5838   ac_builddir=.
5839
5840 case "$ac_dir" in
5841 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5842 *)
5843   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5844   # A ".." for each directory in $ac_dir_suffix.
5845   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5846   case $ac_top_builddir_sub in
5847   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5848   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5849   esac ;;
5850 esac
5851 ac_abs_top_builddir=$ac_pwd
5852 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5853 # for backward compatibility:
5854 ac_top_builddir=$ac_top_build_prefix
5855
5856 case $srcdir in
5857   .)  # We are building in place.
5858     ac_srcdir=.
5859     ac_top_srcdir=$ac_top_builddir_sub
5860     ac_abs_top_srcdir=$ac_pwd ;;
5861   [\\/]* | ?:[\\/]* )  # Absolute name.
5862     ac_srcdir=$srcdir$ac_dir_suffix;
5863     ac_top_srcdir=$srcdir
5864     ac_abs_top_srcdir=$srcdir ;;
5865   *) # Relative name.
5866     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5867     ac_top_srcdir=$ac_top_build_prefix$srcdir
5868     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5869 esac
5870 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5871
5872
5873   case $ac_mode in
5874   :F)
5875   #
5876   # CONFIG_FILE
5877   #
5878
5879   case $INSTALL in
5880   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5881   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5882   esac
5883   ac_MKDIR_P=$MKDIR_P
5884   case $MKDIR_P in
5885   [\\/$]* | ?:[\\/]* ) ;;
5886   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5887   esac
5888 _ACEOF
5889
5890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5891 # If the template does not know about datarootdir, expand it.
5892 # FIXME: This hack should be removed a few years after 2.60.
5893 ac_datarootdir_hack=; ac_datarootdir_seen=
5894 ac_sed_dataroot='
5895 /datarootdir/ {
5896   p
5897   q
5898 }
5899 /@datadir@/p
5900 /@docdir@/p
5901 /@infodir@/p
5902 /@localedir@/p
5903 /@mandir@/p'
5904 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5905 *datarootdir*) ac_datarootdir_seen=yes;;
5906 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5907   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5908 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5909 _ACEOF
5910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5911   ac_datarootdir_hack='
5912   s&@datadir@&$datadir&g
5913   s&@docdir@&$docdir&g
5914   s&@infodir@&$infodir&g
5915   s&@localedir@&$localedir&g
5916   s&@mandir@&$mandir&g
5917   s&\\\${datarootdir}&$datarootdir&g' ;;
5918 esac
5919 _ACEOF
5920
5921 # Neutralize VPATH when `$srcdir' = `.'.
5922 # Shell code in configure.ac might set extrasub.
5923 # FIXME: do we really want to maintain this feature?
5924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5925 ac_sed_extra="$ac_vpsub
5926 $extrasub
5927 _ACEOF
5928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5929 :t
5930 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5931 s|@configure_input@|$ac_sed_conf_input|;t t
5932 s&@top_builddir@&$ac_top_builddir_sub&;t t
5933 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5934 s&@srcdir@&$ac_srcdir&;t t
5935 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5936 s&@top_srcdir@&$ac_top_srcdir&;t t
5937 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5938 s&@builddir@&$ac_builddir&;t t
5939 s&@abs_builddir@&$ac_abs_builddir&;t t
5940 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5941 s&@INSTALL@&$ac_INSTALL&;t t
5942 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5943 $ac_datarootdir_hack
5944 "
5945 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5946   || as_fn_error "could not create $ac_file" "$LINENO" 5
5947
5948 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5949   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5950   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5951   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5952 which seems to be undefined.  Please make sure it is defined." >&5
5953 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5954 which seems to be undefined.  Please make sure it is defined." >&2;}
5955
5956   rm -f "$tmp/stdin"
5957   case $ac_file in
5958   -) cat "$tmp/out" && rm -f "$tmp/out";;
5959   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5960   esac \
5961   || as_fn_error "could not create $ac_file" "$LINENO" 5
5962  ;;
5963   :H)
5964   #
5965   # CONFIG_HEADER
5966   #
5967   if test x"$ac_file" != x-; then
5968     {
5969       $as_echo "/* $configure_input  */" \
5970       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5971     } >"$tmp/config.h" \
5972       || as_fn_error "could not create $ac_file" "$LINENO" 5
5973     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5974       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5975 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5976     else
5977       rm -f "$ac_file"
5978       mv "$tmp/config.h" "$ac_file" \
5979         || as_fn_error "could not create $ac_file" "$LINENO" 5
5980     fi
5981   else
5982     $as_echo "/* $configure_input  */" \
5983       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5984       || as_fn_error "could not create -" "$LINENO" 5
5985   fi
5986 # Compute "$ac_file"'s index in $config_headers.
5987 _am_arg="$ac_file"
5988 _am_stamp_count=1
5989 for _am_header in $config_headers :; do
5990   case $_am_header in
5991     $_am_arg | $_am_arg:* )
5992       break ;;
5993     * )
5994       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5995   esac
5996 done
5997 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5998 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5999          X"$_am_arg" : 'X\(//\)[^/]' \| \
6000          X"$_am_arg" : 'X\(//\)$' \| \
6001          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6002 $as_echo X"$_am_arg" |
6003     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6004             s//\1/
6005             q
6006           }
6007           /^X\(\/\/\)[^/].*/{
6008             s//\1/
6009             q
6010           }
6011           /^X\(\/\/\)$/{
6012             s//\1/
6013             q
6014           }
6015           /^X\(\/\).*/{
6016             s//\1/
6017             q
6018           }
6019           s/.*/./; q'`/stamp-h$_am_stamp_count
6020  ;;
6021
6022   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6023 $as_echo "$as_me: executing $ac_file commands" >&6;}
6024  ;;
6025   esac
6026
6027
6028   case $ac_file$ac_mode in
6029     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6030   # Autoconf 2.62 quotes --file arguments for eval, but not when files
6031   # are listed without --file.  Let's play safe and only enable the eval
6032   # if we detect the quoting.
6033   case $CONFIG_FILES in
6034   *\'*) eval set x "$CONFIG_FILES" ;;
6035   *)   set x $CONFIG_FILES ;;
6036   esac
6037   shift
6038   for mf
6039   do
6040     # Strip MF so we end up with the name of the file.
6041     mf=`echo "$mf" | sed -e 's/:.*$//'`
6042     # Check whether this is an Automake generated Makefile or not.
6043     # We used to match only the files named `Makefile.in', but
6044     # some people rename them; so instead we look at the file content.
6045     # Grep'ing the first line is not enough: some people post-process
6046     # each Makefile.in and add a new line on top of each file to say so.
6047     # Grep'ing the whole file is not good either: AIX grep has a line
6048     # limit of 2048, but all sed's we know have understand at least 4000.
6049     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6050       dirpart=`$as_dirname -- "$mf" ||
6051 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6052          X"$mf" : 'X\(//\)[^/]' \| \
6053          X"$mf" : 'X\(//\)$' \| \
6054          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6055 $as_echo X"$mf" |
6056     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6057             s//\1/
6058             q
6059           }
6060           /^X\(\/\/\)[^/].*/{
6061             s//\1/
6062             q
6063           }
6064           /^X\(\/\/\)$/{
6065             s//\1/
6066             q
6067           }
6068           /^X\(\/\).*/{
6069             s//\1/
6070             q
6071           }
6072           s/.*/./; q'`
6073     else
6074       continue
6075     fi
6076     # Extract the definition of DEPDIR, am__include, and am__quote
6077     # from the Makefile without running `make'.
6078     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6079     test -z "$DEPDIR" && continue
6080     am__include=`sed -n 's/^am__include = //p' < "$mf"`
6081     test -z "am__include" && continue
6082     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6083     # When using ansi2knr, U may be empty or an underscore; expand it
6084     U=`sed -n 's/^U = //p' < "$mf"`
6085     # Find all dependency output files, they are included files with
6086     # $(DEPDIR) in their names.  We invoke sed twice because it is the
6087     # simplest approach to changing $(DEPDIR) to its actual value in the
6088     # expansion.
6089     for file in `sed -n "
6090       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6091          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6092       # Make sure the directory exists.
6093       test -f "$dirpart/$file" && continue
6094       fdir=`$as_dirname -- "$file" ||
6095 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6096          X"$file" : 'X\(//\)[^/]' \| \
6097          X"$file" : 'X\(//\)$' \| \
6098          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6099 $as_echo X"$file" |
6100     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6101             s//\1/
6102             q
6103           }
6104           /^X\(\/\/\)[^/].*/{
6105             s//\1/
6106             q
6107           }
6108           /^X\(\/\/\)$/{
6109             s//\1/
6110             q
6111           }
6112           /^X\(\/\).*/{
6113             s//\1/
6114             q
6115           }
6116           s/.*/./; q'`
6117       as_dir=$dirpart/$fdir; as_fn_mkdir_p
6118       # echo "creating $dirpart/$file"
6119       echo '# dummy' > "$dirpart/$file"
6120     done
6121   done
6122 }
6123  ;;
6124
6125   esac
6126 done # for ac_tag
6127
6128
6129 as_fn_exit 0
6130 _ACEOF
6131 ac_clean_files=$ac_clean_files_save
6132
6133 test $ac_write_fail = 0 ||
6134   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6135
6136
6137 # configure is writing to config.log, and then calls config.status.
6138 # config.status does its own redirection, appending to config.log.
6139 # Unfortunately, on DOS this fails, as config.log is still kept open
6140 # by configure, so config.status won't be able to write to it; its
6141 # output is simply discarded.  So we exec the FD to /dev/null,
6142 # effectively closing config.log, so it can be properly (re)opened and
6143 # appended to by config.status.  When coming back to configure, we
6144 # need to make the FD available again.
6145 if test "$no_create" != yes; then
6146   ac_cs_success=:
6147   ac_config_status_args=
6148   test "$silent" = yes &&
6149     ac_config_status_args="$ac_config_status_args --quiet"
6150   exec 5>/dev/null
6151   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6152   exec 5>>config.log
6153   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6154   # would make configure fail if this is the last instruction.
6155   $ac_cs_success || as_fn_exit $?
6156 fi
6157 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6158   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6159 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6160 fi
6161
6162
6163 #
6164 # trim usrp2 out of dirs; we only use it as a controlling dependency
6165 #
6166 t=
6167 for d in $build_dirs
6168 do
6169     if test $d != usrp2; then
6170         if test -z "$t"; then
6171             t="$d"
6172         else
6173             t="$t $d"
6174         fi
6175     fi
6176 done
6177 build_dirs=$t
6178
6179 t=
6180 for d in $skipped_dirs
6181 do
6182     if test $d != usrp2; then
6183         if test -z "$t"; then
6184             t="$d"
6185         else
6186             t="$t $d"
6187         fi
6188     fi
6189 done
6190 skipped_dirs=$t
6191
6192 t=
6193 for d in $with_dirs
6194 do
6195     if test $d != usrp2; then
6196         if test -z "$t"; then
6197             t="$d"
6198         else
6199             t="$t $d"
6200         fi
6201     fi
6202 done
6203 with_dirs=$t
6204
6205 if test "$build_dirs" != ""; then
6206     echo
6207     echo "*********************************************************************"
6208     echo The following GNU Radio components have been successfully configured:
6209     echo
6210     for dir in $build_dirs
6211     do
6212         echo $dir
6213     done
6214     echo
6215     echo You my now run the 'make' command to build these components.
6216     echo
6217 fi
6218
6219 if test "$skipped_dirs" != ""; then
6220     echo "*********************************************************************"
6221     echo The following components were skipped either because you asked not
6222     echo to build them or they didn\'t pass configuration checks:
6223     echo
6224     for dir in $skipped_dirs
6225     do
6226         echo $dir
6227     done
6228     echo
6229     echo These components will not be built.
6230     echo
6231 fi
6232 if test "$with_dirs" != ""; then
6233     echo "*********************************************************************"
6234     echo The following components will be included from pre-installed
6235     echo libraries and includes:
6236     echo
6237     for dir in $with_dirs
6238     do
6239         echo $dir
6240     done
6241     echo
6242     echo These components will not be built.
6243     echo
6244 fi