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