2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0.
366 as_status=$1; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 # Check that we are running under the correct shell.
531 SHELL=${CONFIG_SHELL-/bin/sh}
535 # Remove one level of quotation (which was required for Make).
536 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 if test "X$1" = X--no-reexec; then
542 # Discard the --no-reexec flag, and continue.
544 elif test "X$1" = X--fallback-echo; then
545 # Avoid inline document here, it may be left over
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $ECHO works!
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
555 if test "X$1" = X--fallback-echo; then
556 # used as fallback echo
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
568 if test -z "$lt_ECHO"; then
569 if test "X${echo_test_string+set}" != Xset; then
570 # find a string as large as possible, as long as the shell can cope with it
571 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583 test "X$echo_testing_string" = "X$echo_test_string"; then
586 # The Solaris, AIX, and Digital Unix default echo programs unquote
587 # backslashes. This makes it impossible to quote backslashes using
588 # echo "$something" | sed 's/\\/\\\\/g'
590 # So, first we look for a working echo in the user's PATH.
592 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593 for dir in $PATH /usr/ucb; do
595 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598 test "X$echo_testing_string" = "X$echo_test_string"; then
605 if test "X$ECHO" = Xecho; then
606 # We didn't find a better echo, so look for alternatives.
607 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # This shell has a builtin print -r that does the trick.
612 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613 test "X$CONFIG_SHELL" != X/bin/ksh; then
614 # If we have ksh, try running configure again with it.
615 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616 export ORIGINAL_CONFIG_SHELL
617 CONFIG_SHELL=/bin/ksh
619 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
628 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629 test "X$echo_testing_string" = 'X\t' &&
630 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
632 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
634 SHELL="$CONFIG_SHELL"
636 ECHO="$CONFIG_SHELL $0 --fallback-echo"
637 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 ECHO="$CONFIG_SHELL $0 --fallback-echo"
643 # maybe with a smaller string...
646 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654 if test "$prev" != 'sed 50q "$0"'; then
655 echo_test_string=`eval $prev`
656 export echo_test_string
657 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659 # Oops. We lost completely, so just stick with echo.
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678 test -n "$DJDIR" || exec 7<&0 </dev/null
682 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689 ac_default_prefix=/usr/local
691 ac_config_libobj_dir=.
698 # Identity of this package.
706 ac_unique_file="gnuradio-core/src/lib/runtime/gr_vmcircbuf.cc"
707 # Factoring default headers for most tests.
708 ac_includes_default="\
710 #ifdef HAVE_SYS_TYPES_H
711 # include <sys/types.h>
713 #ifdef HAVE_SYS_STAT_H
714 # include <sys/stat.h>
720 # ifdef HAVE_STDLIB_H
725 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
730 #ifdef HAVE_STRINGS_H
731 # include <strings.h>
733 #ifdef HAVE_INTTYPES_H
734 # include <inttypes.h>
743 enable_option_checking=no
744 ac_subst_vars='am__EXEEXT_FALSE
771 gnuradio_examples_LDFLAG
772 gnuradio_examples_LIBDIRPATH
773 gnuradio_examples_INCLUDEDIR
775 gnuradio_examples_INCLUDES
782 gr_sounder_LIBDIRPATH
783 gr_sounder_INCLUDEDIR
818 gr_video_sdl_LIBDIRPATH
819 gr_video_sdl_INCLUDEDIR
821 gr_video_sdl_INCLUDES
828 gr_trellis_LIBDIRPATH
829 gr_trellis_INCLUDEDIR
832 gr_radio_astronomy_LDFLAG
833 gr_radio_astronomy_LIBDIRPATH
834 gr_radio_astronomy_INCLUDEDIR
835 gr_radio_astronomy_LA
836 gr_radio_astronomy_INCLUDES
838 gr_radar_mono_LIBDIRPATH
839 gr_radar_mono_INCLUDEDIR
841 gr_radar_mono_INCLUDES
852 gr_gsm_fr_vocoder_LDFLAG
853 gr_gsm_fr_vocoder_LIBDIRPATH
854 gr_gsm_fr_vocoder_INCLUDEDIR
856 gr_gsm_fr_vocoder_INCLUDES
862 gr_cvsd_vocoder_LDFLAG
863 gr_cvsd_vocoder_LIBDIRPATH
864 gr_cvsd_vocoder_INCLUDEDIR
866 gr_cvsd_vocoder_INCLUDES
881 gr_audio_windows_LDFLAG
882 gr_audio_windows_LIBDIRPATH
883 gr_audio_windows_INCLUDEDIR
885 gr_audio_windows_INCLUDES
887 gr_audio_portaudio_LDFLAG
888 gr_audio_portaudio_LIBDIRPATH
889 gr_audio_portaudio_INCLUDEDIR
890 gr_audio_portaudio_LA
891 gr_audio_portaudio_INCLUDES
897 gr_audio_osx_LIBDIRPATH
898 gr_audio_osx_INCLUDEDIR
900 gr_audio_osx_INCLUDES
902 gr_audio_oss_LIBDIRPATH
903 gr_audio_oss_INCLUDEDIR
905 gr_audio_oss_INCLUDES
908 gr_audio_jack_LIBDIRPATH
909 gr_audio_jack_INCLUDEDIR
911 gr_audio_jack_INCLUDES
917 gr_audio_alsa_LIBDIRPATH
918 gr_audio_alsa_INCLUDEDIR
920 gr_audio_alsa_INCLUDES
926 gr_msdd6000_LIBDIRPATH
927 gr_msdd6000_INCLUDEDIR
961 LIBUSB_PKG_CONFIG_NAME
967 FUSB_TECH_ra_wb_FALSE
969 FUSB_TECH_libusb1_FALSE
970 FUSB_TECH_libusb1_TRUE
971 FUSB_TECH_linux_FALSE
973 FUSB_TECH_generic_FALSE
974 FUSB_TECH_generic_TRUE
975 FUSB_TECH_win32_FALSE
977 FUSB_TECH_darwin_FALSE
978 FUSB_TECH_darwin_TRUE
981 gnuradio_core_LIBDIRPATH
982 gnuradio_core_INCLUDEDIR
984 gnuradio_core_INCLUDES
985 gnuradio_core_PYDIRPATH
986 gnuradio_core_SWIGDIRPATH
1012 BOOST_PROGRAM_OPTIONS_LIB
1029 MD_CPU_generic_FALSE
1031 MD_CPU_armv7_a_FALSE
1035 MD_CPU_powerpc_FALSE
1037 MD_SUBCPU_x86_64_FALSE
1038 MD_SUBCPU_x86_64_TRUE
1059 HAVE_CREATEFILEMAPPING_FALSE
1060 HAVE_CREATEFILEMAPPING_TRUE
1061 LIBGNURADIO_CORE_EXTRA_LDFLAGS
1072 SWIG_PYTHON_CPPFLAGS
1108 am__fastdepCCAS_FALSE
1109 am__fastdepCCAS_TRUE
1116 autoconf_default_CXXFLAGS
1117 autoconf_default_CFLAGS
1120 am__fastdepCXX_FALSE
1154 INSTALL_STRIP_PROGRAM
1216 program_transform_name
1229 enable_option_checking
1230 enable_dependency_tracking
1246 with_cppunit_exec_prefix
1250 with_boost_date_time
1251 with_boost_program_options
1252 enable_all_components
1256 enable_gnuradio_core
1267 enable_gr_audio_alsa
1268 enable_gr_audio_jack
1271 enable_gr_audio_portaudio
1272 enable_gr_audio_windows
1275 enable_gr_cvsd_vocoder
1277 enable_gr_gsm_fr_vocoder
1280 enable_gr_radar_mono
1281 enable_gr_radio_astronomy
1285 with_sdl_exec_prefix
1293 with_qwtplot3d_libdir
1294 with_qwtplot3d_incdir
1298 enable_gnuradio_examples
1302 ac_precious_vars='build_alias
1338 PORTAUDIO_INCLUDEDIR
1353 QTOPENGL_INCLUDEDIR'
1354 ac_subdirs_all='usrp2/firmware'
1356 # Initialize some variables set by options.
1358 ac_init_version=false
1359 ac_unrecognized_opts=
1360 ac_unrecognized_sep=
1361 # The variables have the same names as the options, with
1362 # dashes changed to underlines.
1363 cache_file=/dev/null
1370 program_transform_name=s,x,x,
1378 # Installation directory options.
1379 # These are left unexpanded so users can "make install exec_prefix=/foo"
1380 # and all the variables that are supposed to be based on exec_prefix
1381 # by default will actually change.
1382 # Use braces instead of parens because sh, perl, etc. also accept them.
1383 # (The list follows the same order as the GNU Coding Standards.)
1384 bindir='${exec_prefix}/bin'
1385 sbindir='${exec_prefix}/sbin'
1386 libexecdir='${exec_prefix}/libexec'
1387 datarootdir='${prefix}/share'
1388 datadir='${datarootdir}'
1389 sysconfdir='${prefix}/etc'
1390 sharedstatedir='${prefix}/com'
1391 localstatedir='${prefix}/var'
1392 includedir='${prefix}/include'
1393 oldincludedir='/usr/include'
1394 docdir='${datarootdir}/doc/${PACKAGE}'
1395 infodir='${datarootdir}/info'
1400 libdir='${exec_prefix}/lib'
1401 localedir='${datarootdir}/locale'
1402 mandir='${datarootdir}/man'
1408 # If the previous option needs an argument, assign it.
1409 if test -n "$ac_prev"; then
1410 eval $ac_prev=\$ac_option
1416 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1421 # Accept the important Cygnus configure options, so we can diagnose typos.
1423 case $ac_dashdash$ac_option in
1427 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1429 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1430 bindir=$ac_optarg ;;
1432 -build | --build | --buil | --bui | --bu)
1433 ac_prev=build_alias ;;
1434 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1435 build_alias=$ac_optarg ;;
1437 -cache-file | --cache-file | --cache-fil | --cache-fi \
1438 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1439 ac_prev=cache_file ;;
1440 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1441 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1442 cache_file=$ac_optarg ;;
1444 --config-cache | -C)
1445 cache_file=config.cache ;;
1447 -datadir | --datadir | --datadi | --datad)
1449 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1450 datadir=$ac_optarg ;;
1452 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1453 | --dataroo | --dataro | --datar)
1454 ac_prev=datarootdir ;;
1455 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1456 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1457 datarootdir=$ac_optarg ;;
1459 -disable-* | --disable-*)
1460 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1461 # Reject names that are not valid shell variable names.
1462 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1463 as_fn_error $? "invalid feature name: $ac_useropt"
1464 ac_useropt_orig=$ac_useropt
1465 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1466 case $ac_user_opts in
1468 "enable_$ac_useropt"
1470 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1471 ac_unrecognized_sep=', ';;
1473 eval enable_$ac_useropt=no ;;
1475 -docdir | --docdir | --docdi | --doc | --do)
1477 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1478 docdir=$ac_optarg ;;
1480 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1482 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1483 dvidir=$ac_optarg ;;
1485 -enable-* | --enable-*)
1486 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1487 # Reject names that are not valid shell variable names.
1488 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1489 as_fn_error $? "invalid feature name: $ac_useropt"
1490 ac_useropt_orig=$ac_useropt
1491 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1492 case $ac_user_opts in
1494 "enable_$ac_useropt"
1496 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1497 ac_unrecognized_sep=', ';;
1499 eval enable_$ac_useropt=\$ac_optarg ;;
1501 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1502 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1503 | --exec | --exe | --ex)
1504 ac_prev=exec_prefix ;;
1505 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1506 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1507 | --exec=* | --exe=* | --ex=*)
1508 exec_prefix=$ac_optarg ;;
1510 -gas | --gas | --ga | --g)
1511 # Obsolete; use --with-gas.
1514 -help | --help | --hel | --he | -h)
1515 ac_init_help=long ;;
1516 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1517 ac_init_help=recursive ;;
1518 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1519 ac_init_help=short ;;
1521 -host | --host | --hos | --ho)
1522 ac_prev=host_alias ;;
1523 -host=* | --host=* | --hos=* | --ho=*)
1524 host_alias=$ac_optarg ;;
1526 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1528 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1530 htmldir=$ac_optarg ;;
1532 -includedir | --includedir | --includedi | --included | --include \
1533 | --includ | --inclu | --incl | --inc)
1534 ac_prev=includedir ;;
1535 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1536 | --includ=* | --inclu=* | --incl=* | --inc=*)
1537 includedir=$ac_optarg ;;
1539 -infodir | --infodir | --infodi | --infod | --info | --inf)
1541 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1542 infodir=$ac_optarg ;;
1544 -libdir | --libdir | --libdi | --libd)
1546 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1547 libdir=$ac_optarg ;;
1549 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1550 | --libexe | --libex | --libe)
1551 ac_prev=libexecdir ;;
1552 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1553 | --libexe=* | --libex=* | --libe=*)
1554 libexecdir=$ac_optarg ;;
1556 -localedir | --localedir | --localedi | --localed | --locale)
1557 ac_prev=localedir ;;
1558 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1559 localedir=$ac_optarg ;;
1561 -localstatedir | --localstatedir | --localstatedi | --localstated \
1562 | --localstate | --localstat | --localsta | --localst | --locals)
1563 ac_prev=localstatedir ;;
1564 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1565 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1566 localstatedir=$ac_optarg ;;
1568 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1570 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1571 mandir=$ac_optarg ;;
1573 -nfp | --nfp | --nf)
1574 # Obsolete; use --without-fp.
1577 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1578 | --no-cr | --no-c | -n)
1581 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1582 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1585 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1586 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1587 | --oldin | --oldi | --old | --ol | --o)
1588 ac_prev=oldincludedir ;;
1589 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1590 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1591 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1592 oldincludedir=$ac_optarg ;;
1594 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1596 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1597 prefix=$ac_optarg ;;
1599 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1600 | --program-pre | --program-pr | --program-p)
1601 ac_prev=program_prefix ;;
1602 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1603 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1604 program_prefix=$ac_optarg ;;
1606 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1607 | --program-suf | --program-su | --program-s)
1608 ac_prev=program_suffix ;;
1609 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1610 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1611 program_suffix=$ac_optarg ;;
1613 -program-transform-name | --program-transform-name \
1614 | --program-transform-nam | --program-transform-na \
1615 | --program-transform-n | --program-transform- \
1616 | --program-transform | --program-transfor \
1617 | --program-transfo | --program-transf \
1618 | --program-trans | --program-tran \
1619 | --progr-tra | --program-tr | --program-t)
1620 ac_prev=program_transform_name ;;
1621 -program-transform-name=* | --program-transform-name=* \
1622 | --program-transform-nam=* | --program-transform-na=* \
1623 | --program-transform-n=* | --program-transform-=* \
1624 | --program-transform=* | --program-transfor=* \
1625 | --program-transfo=* | --program-transf=* \
1626 | --program-trans=* | --program-tran=* \
1627 | --progr-tra=* | --program-tr=* | --program-t=*)
1628 program_transform_name=$ac_optarg ;;
1630 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1632 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1633 pdfdir=$ac_optarg ;;
1635 -psdir | --psdir | --psdi | --psd | --ps)
1637 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1640 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1641 | -silent | --silent | --silen | --sile | --sil)
1644 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1646 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1648 sbindir=$ac_optarg ;;
1650 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1651 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1652 | --sharedst | --shareds | --shared | --share | --shar \
1654 ac_prev=sharedstatedir ;;
1655 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1656 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1657 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1659 sharedstatedir=$ac_optarg ;;
1661 -site | --site | --sit)
1663 -site=* | --site=* | --sit=*)
1666 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1668 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1669 srcdir=$ac_optarg ;;
1671 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1672 | --syscon | --sysco | --sysc | --sys | --sy)
1673 ac_prev=sysconfdir ;;
1674 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1675 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1676 sysconfdir=$ac_optarg ;;
1678 -target | --target | --targe | --targ | --tar | --ta | --t)
1679 ac_prev=target_alias ;;
1680 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1681 target_alias=$ac_optarg ;;
1683 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1686 -version | --version | --versio | --versi | --vers | -V)
1687 ac_init_version=: ;;
1690 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1691 # Reject names that are not valid shell variable names.
1692 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1693 as_fn_error $? "invalid package name: $ac_useropt"
1694 ac_useropt_orig=$ac_useropt
1695 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1696 case $ac_user_opts in
1700 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1701 ac_unrecognized_sep=', ';;
1703 eval with_$ac_useropt=\$ac_optarg ;;
1705 -without-* | --without-*)
1706 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1707 # Reject names that are not valid shell variable names.
1708 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1709 as_fn_error $? "invalid package name: $ac_useropt"
1710 ac_useropt_orig=$ac_useropt
1711 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1712 case $ac_user_opts in
1716 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1717 ac_unrecognized_sep=', ';;
1719 eval with_$ac_useropt=no ;;
1722 # Obsolete; use --with-x.
1725 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1726 | --x-incl | --x-inc | --x-in | --x-i)
1727 ac_prev=x_includes ;;
1728 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1729 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1730 x_includes=$ac_optarg ;;
1732 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1733 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1734 ac_prev=x_libraries ;;
1735 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1736 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1737 x_libraries=$ac_optarg ;;
1739 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1740 Try \`$0 --help' for more information"
1744 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1745 # Reject names that are not valid shell variable names.
1746 case $ac_envvar in #(
1747 '' | [0-9]* | *[!_$as_cr_alnum]* )
1748 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1750 eval $ac_envvar=\$ac_optarg
1751 export $ac_envvar ;;
1754 # FIXME: should be removed in autoconf 3.0.
1755 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1756 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1757 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1758 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1764 if test -n "$ac_prev"; then
1765 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1766 as_fn_error $? "missing argument to $ac_option"
1769 if test -n "$ac_unrecognized_opts"; then
1770 case $enable_option_checking in
1772 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1773 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1777 # Check all directory arguments for consistency.
1778 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1779 datadir sysconfdir sharedstatedir localstatedir includedir \
1780 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1781 libdir localedir mandir
1783 eval ac_val=\$$ac_var
1784 # Remove trailing slashes.
1787 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1788 eval $ac_var=\$ac_val;;
1790 # Be sure to have absolute directory names.
1792 [\\/$]* | ?:[\\/]* ) continue;;
1793 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1795 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1798 # There might be people who depend on the old broken behavior: `$host'
1799 # used to hold the argument of --host etc.
1800 # FIXME: To remove some day.
1803 target=$target_alias
1805 # FIXME: To remove some day.
1806 if test "x$host_alias" != x; then
1807 if test "x$build_alias" = x; then
1808 cross_compiling=maybe
1809 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1810 If a cross compiler is detected then cross compile mode will be used" >&2
1811 elif test "x$build_alias" != "x$host_alias"; then
1817 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1819 test "$silent" = yes && exec 6>/dev/null
1822 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1823 ac_ls_di=`ls -di .` &&
1824 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1825 as_fn_error $? "working directory cannot be determined"
1826 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1827 as_fn_error $? "pwd does not report name of working directory"
1830 # Find the source files, if location was not specified.
1831 if test -z "$srcdir"; then
1832 ac_srcdir_defaulted=yes
1833 # Try the directory containing this script, then the parent directory.
1834 ac_confdir=`$as_dirname -- "$as_myself" ||
1835 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1836 X"$as_myself" : 'X\(//\)[^/]' \| \
1837 X"$as_myself" : 'X\(//\)$' \| \
1838 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1839 $as_echo X"$as_myself" |
1840 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1858 if test ! -r "$srcdir/$ac_unique_file"; then
1862 ac_srcdir_defaulted=no
1864 if test ! -r "$srcdir/$ac_unique_file"; then
1865 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1866 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1868 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1870 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1872 # When building in place, set srcdir=.
1873 if test "$ac_abs_confdir" = "$ac_pwd"; then
1876 # Remove unnecessary trailing slashes from srcdir.
1877 # Double slashes in file names in object file debugging info
1878 # mess up M-x gdb in Emacs.
1880 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1882 for ac_var in $ac_precious_vars; do
1883 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1884 eval ac_env_${ac_var}_value=\$${ac_var}
1885 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1886 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1890 # Report the --help message.
1892 if test "$ac_init_help" = "long"; then
1893 # Omit some internal or obsolete options to make the list less imposing.
1894 # This message is too long to be a string in the A/UX 3.1 sh.
1896 \`configure' configures this package to adapt to many kinds of systems.
1898 Usage: $0 [OPTION]... [VAR=VALUE]...
1900 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1901 VAR=VALUE. See below for descriptions of some of the useful variables.
1903 Defaults for the options are specified in brackets.
1906 -h, --help display this help and exit
1907 --help=short display options specific to this package
1908 --help=recursive display the short help of all the included packages
1909 -V, --version display version information and exit
1910 -q, --quiet, --silent do not print \`checking ...' messages
1911 --cache-file=FILE cache test results in FILE [disabled]
1912 -C, --config-cache alias for \`--cache-file=config.cache'
1913 -n, --no-create do not create output files
1914 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1916 Installation directories:
1917 --prefix=PREFIX install architecture-independent files in PREFIX
1918 [$ac_default_prefix]
1919 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1922 By default, \`make install' will install all the files in
1923 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1924 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1925 for instance \`--prefix=\$HOME'.
1927 For better control, use the options below.
1929 Fine tuning of the installation directories:
1930 --bindir=DIR user executables [EPREFIX/bin]
1931 --sbindir=DIR system admin executables [EPREFIX/sbin]
1932 --libexecdir=DIR program executables [EPREFIX/libexec]
1933 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1934 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1935 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1936 --libdir=DIR object code libraries [EPREFIX/lib]
1937 --includedir=DIR C header files [PREFIX/include]
1938 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1939 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1940 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1941 --infodir=DIR info documentation [DATAROOTDIR/info]
1942 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1943 --mandir=DIR man documentation [DATAROOTDIR/man]
1944 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1945 --htmldir=DIR html documentation [DOCDIR]
1946 --dvidir=DIR dvi documentation [DOCDIR]
1947 --pdfdir=DIR pdf documentation [DOCDIR]
1948 --psdir=DIR ps documentation [DOCDIR]
1954 --program-prefix=PREFIX prepend PREFIX to installed program names
1955 --program-suffix=SUFFIX append SUFFIX to installed program names
1956 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1959 --build=BUILD configure for building on BUILD [guessed]
1960 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1961 --target=TARGET configure for building compilers for TARGET [HOST]
1965 if test -n "$ac_init_help"; then
1970 --disable-option-checking ignore unrecognized --enable/--with options
1971 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1972 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1973 --disable-dependency-tracking speeds up one-time build
1974 --enable-dependency-tracking do not reject slow dependency extractors
1975 --enable-shared[=PKGS] build shared libraries [default=yes]
1976 --enable-static[=PKGS] build static libraries [default=no]
1977 --enable-fast-install[=PKGS]
1978 optimize for fast installation [default=yes]
1979 --disable-libtool-lock avoid locking (might break parallel builds)
1980 --enable-python generate SWIG/Python components (default is yes)
1981 --enable-doxygen enable documentation generation with doxygen (auto)
1982 --enable-dot use 'dot' to generate graphs in doxygen (auto)
1983 --enable-altivec enable altivec on PowerPC (yes)
1984 --enable-all-components Build all configurable components (default), or stop on failed dependencies
1986 --enable-gruel Stop if gruel fails configuration
1987 --enable-gcell Stop if gcell fails configuration
1988 --enable-gnuradio-core Stop if gnuradio-core fails configuration
1989 --enable-usrp Stop if usrp fails configuration
1990 --enable-usrp2 Stop if usrp2 fails configuration
1991 --enable-gr-usrp Stop if gr-usrp fails configuration
1992 --enable-gr-usrp2 Stop if gr-usrp2 fails configuration
1993 --enable-gr-gcell Stop if gr-gcell fails configuration
1994 --enable-gr-msdd6000 Stop if gr-msdd6000 fails configuration
1995 --enable-gr-audio-alsa Stop if gr-audio-alsa fails configuration
1996 --enable-gr-audio-jack Stop if gr-audio-jack fails configuration
1997 --enable-gr-audio-oss Stop if gr-audio-oss fails configuration
1998 --enable-gr-audio-osx Stop if gr-audio-osx fails configuration
1999 --enable-gr-audio-portaudio
2000 Stop if gr-audio-portaudio fails configuration
2001 --enable-gr-audio-windows
2002 Stop if gr-audio-windows fails configuration
2003 --enable-gr-atsc Stop if gr-atsc fails configuration
2004 --enable-gr-comedi Stop if gr-comedi fails configuration
2005 --enable-gr-cvsd-vocoder
2006 Stop if gr-cvsd-vocoder fails configuration
2007 --enable-gr-gpio Stop if gr-gpio fails configuration
2008 --enable-gr-gsm-fr-vocoder
2009 Stop if gr-gsm-fr-vocoder fails configuration
2010 --enable-gr-noaa Stop if gr-noaa fails configuration
2011 --enable-gr-pager Stop if gr-pager fails configuration
2012 --enable-gr-radar-mono Stop if gr-radar-mono fails configuration
2013 --enable-gr-radio-astronomy
2014 Stop if gr-radio-astronomy fails configuration
2015 --enable-gr-trellis Stop if gr-trellis fails configuration
2016 --enable-gr-video-sdl Stop if gr-video-sdl fails configuration
2017 --disable-sdltest Do not try to compile and run a test SDL program
2018 --enable-gr-wxgui Stop if gr-wxgui fails configuration
2019 --enable-gr-qtgui Stop if gr-qtgui fails configuration
2020 --enable-gr-sounder Stop if gr-sounder fails configuration
2021 --enable-gr-utils Stop if gr-utils fails configuration
2022 --enable-gnuradio-examples
2023 Stop if gnuradio-examples fails configuration
2024 --enable-grc Stop if grc fails configuration
2025 --enable-docs Stop if docs fails configuration
2028 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2029 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2030 --with-gprof Turn on gprof profiling
2031 --with-prof Turn on prof profiling
2032 --with-pic try to use only PIC/non-PIC objects [default=use
2034 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2035 --with-pythondir=DIR python installation directory (cross-compiling)
2036 [[default=$prefix/lib/python2.5/site-packages]]
2037 --with-md-cpu=ARCH set machine dependent speedups (auto)
2038 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2039 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2040 --with-boost[=DIR] use boost (default is yes) - it is possible to
2041 specify the root directory for boost (optional)
2042 --with-boost-libdir=LIB_DIR
2043 Force given directory for boost libraries. Note that
2044 this will overwrite library path detection, so use
2045 this parameter only if default library detection
2046 fails and you know exactly where your boost
2047 libraries are located.
2048 --with-boost-thread[=special-lib]
2049 Use the thread library from
2050 boost. It is possible to specify a certain library
2051 to the linker. E.g.,
2052 --with-boost-thread=boost_thread-gcc41-mt-1_35
2053 --with-boost-date-time[=special-lib]
2054 Use the date_time library from
2055 boost. It is possible to specify a certain library
2056 to the linker. E.g.,
2057 --with-boost-date-time=boost_date_time-gcc41-mt-1_35
2058 --with-boost-program-options[=special-lib]
2059 Use the program_options library
2060 from boost. It is possible to specify a certain
2061 library to the linker. E.g.,
2062 --with-boost-program-options=boost_program_options-gcc41-mt-1_35
2063 --with-gruel[=PATH] Use package gruel if installed in PATH (if
2064 specified) or PKG_CONFIG_PATH (if PATH not
2065 specified); stop if gruel not found
2066 --with-gnuradio-core[=PATH]
2067 Use package gnuradio-core if installed in PATH (if
2068 specified) or PKG_CONFIG_PATH (if PATH not
2069 specified); stop if gnuradio-core not found
2070 --with-cblas=<lib> use CBLAS library <lib>
2071 --with-usrp[=PATH] Use package usrp if installed in PATH (if specified)
2072 or PKG_CONFIG_PATH (if PATH not specified); stop if
2074 --with-fusb-tech=OS Set fast USB technique (default=auto)
2075 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2076 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2077 --with-gr-wxgui[=PATH] Use package gr-wxgui if installed in PATH (if
2078 specified) or PKG_CONFIG_PATH (if PATH not
2079 specified); stop if gr-wxgui not found
2080 --with-qwt-libdir=path Prefix where QWT library is installed (optional)
2081 --with-qwt-incdir=path Prefix where QWT include files are (optional)
2082 --with-qwt-lib=library QWT library name (optional)
2083 --with-qwtplot3d-libdir=path Prefix where QWTPLOT3D library is installed (optional)
2084 --with-qwtplot3d-incdir=path Prefix where QWTPLOT3D include files are (optional)
2085 --with-qwtplot3d-lib=library QWT Plot3D library name (optional)
2087 Some influential environment variables:
2088 CC C compiler command
2089 CFLAGS C compiler flags
2090 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2091 nonstandard directory <lib dir>
2092 LIBS libraries to pass to the linker, e.g. -l<library>
2093 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2094 you have headers in a nonstandard directory <include dir>
2096 CXX C++ compiler command
2097 CXXFLAGS C++ compiler flags
2098 CXXCPP C++ preprocessor
2099 CCAS assembler compiler command (defaults to CC)
2100 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
2101 PKG_CONFIG path to pkg-config utility
2103 C compiler flags for FFTW3F, overriding pkg-config
2104 FFTW3F_LIBS linker flags for FFTW3F, overriding pkg-config
2106 includedir for FFTW3F, overriding pkg-config
2108 C compiler flags for CPPUNIT, overriding pkg-config
2110 linker flags for CPPUNIT, overriding pkg-config
2112 includedir for CPPUNIT, overriding pkg-config
2113 GSL_CFLAGS C compiler flags for GSL, overriding pkg-config
2114 GSL_LIBS linker flags for GSL, overriding pkg-config
2116 includedir for GSL, overriding pkg-config
2117 USB_CFLAGS C compiler flags for USB, overriding pkg-config
2118 USB_LIBS linker flags for USB, overriding pkg-config
2120 includedir for USB, overriding pkg-config
2121 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
2122 ALSA_LIBS linker flags for ALSA, overriding pkg-config
2124 includedir for ALSA, overriding pkg-config
2125 JACK_CFLAGS C compiler flags for JACK, overriding pkg-config
2126 JACK_LIBS linker flags for JACK, overriding pkg-config
2128 includedir for JACK, overriding pkg-config
2130 C compiler flags for PORTAUDIO, overriding pkg-config
2132 linker flags for PORTAUDIO, overriding pkg-config
2133 PORTAUDIO_INCLUDEDIR
2134 includedir for PORTAUDIO, overriding pkg-config
2136 C compiler flags for COMEDI, overriding pkg-config
2137 COMEDI_LIBS linker flags for COMEDI, overriding pkg-config
2139 includedir for COMEDI, overriding pkg-config
2140 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
2141 SDL_LIBS linker flags for SDL, overriding pkg-config
2143 includedir for SDL, overriding pkg-config
2145 C compiler flags for QTCORE, overriding pkg-config
2146 QTCORE_LIBS linker flags for QTCORE, overriding pkg-config
2148 includedir for QTCORE, overriding pkg-config
2150 C compiler flags for QTGUI, overriding pkg-config
2151 QTGUI_LIBS linker flags for QTGUI, overriding pkg-config
2153 includedir for QTGUI, overriding pkg-config
2155 C compiler flags for QTOPENGL, overriding pkg-config
2157 linker flags for QTOPENGL, overriding pkg-config
2159 includedir for QTOPENGL, overriding pkg-config
2161 Use these variables to override the choices made by `configure' or to help
2162 it to find libraries and programs with nonstandard names/locations.
2164 Report bugs to the package provider.
2169 if test "$ac_init_help" = "recursive"; then
2170 # If there are subdirs, report their specific --help.
2171 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2172 test -d "$ac_dir" ||
2173 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2178 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2180 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2181 # A ".." for each directory in $ac_dir_suffix.
2182 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2183 case $ac_top_builddir_sub in
2184 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2185 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2188 ac_abs_top_builddir=$ac_pwd
2189 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2190 # for backward compatibility:
2191 ac_top_builddir=$ac_top_build_prefix
2194 .) # We are building in place.
2196 ac_top_srcdir=$ac_top_builddir_sub
2197 ac_abs_top_srcdir=$ac_pwd ;;
2198 [\\/]* | ?:[\\/]* ) # Absolute name.
2199 ac_srcdir=$srcdir$ac_dir_suffix;
2200 ac_top_srcdir=$srcdir
2201 ac_abs_top_srcdir=$srcdir ;;
2203 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2204 ac_top_srcdir=$ac_top_build_prefix$srcdir
2205 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2207 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2209 cd "$ac_dir" || { ac_status=$?; continue; }
2210 # Check for guested configure.
2211 if test -f "$ac_srcdir/configure.gnu"; then
2213 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2214 elif test -f "$ac_srcdir/configure"; then
2216 $SHELL "$ac_srcdir/configure" --help=recursive
2218 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2220 cd "$ac_pwd" || { ac_status=$?; break; }
2224 test -n "$ac_init_help" && exit $ac_status
2225 if $ac_init_version; then
2228 generated by GNU Autoconf 2.67
2230 Copyright (C) 2010 Free Software Foundation, Inc.
2231 This configure script is free software; the Free Software Foundation
2232 gives unlimited permission to copy, distribute and modify it.
2237 ## ------------------------ ##
2238 ## Autoconf initialization. ##
2239 ## ------------------------ ##
2241 # ac_fn_c_try_compile LINENO
2242 # --------------------------
2243 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2244 ac_fn_c_try_compile ()
2246 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2247 rm -f conftest.$ac_objext
2248 if { { ac_try="$ac_compile"
2250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2251 *) ac_try_echo=$ac_try;;
2253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2254 $as_echo "$ac_try_echo"; } >&5
2255 (eval "$ac_compile") 2>conftest.err
2257 if test -s conftest.err; then
2258 grep -v '^ *+' conftest.err >conftest.er1
2259 cat conftest.er1 >&5
2260 mv -f conftest.er1 conftest.err
2262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2263 test $ac_status = 0; } && {
2264 test -z "$ac_c_werror_flag" ||
2265 test ! -s conftest.err
2266 } && test -s conftest.$ac_objext; then :
2269 $as_echo "$as_me: failed program was:" >&5
2270 sed 's/^/| /' conftest.$ac_ext >&5
2274 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2275 as_fn_set_status $ac_retval
2277 } # ac_fn_c_try_compile
2279 # ac_fn_c_try_cpp LINENO
2280 # ----------------------
2281 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2284 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2285 if { { ac_try="$ac_cpp conftest.$ac_ext"
2287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2288 *) ac_try_echo=$ac_try;;
2290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2291 $as_echo "$ac_try_echo"; } >&5
2292 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2294 if test -s conftest.err; then
2295 grep -v '^ *+' conftest.err >conftest.er1
2296 cat conftest.er1 >&5
2297 mv -f conftest.er1 conftest.err
2299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2300 test $ac_status = 0; } > conftest.i && {
2301 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2302 test ! -s conftest.err
2306 $as_echo "$as_me: failed program was:" >&5
2307 sed 's/^/| /' conftest.$ac_ext >&5
2311 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2312 as_fn_set_status $ac_retval
2316 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2317 # -------------------------------------------------------
2318 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2319 # the include files in INCLUDES and setting the cache variable VAR
2321 ac_fn_c_check_header_mongrel ()
2323 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2324 if eval "test \"\${$3+set}\"" = set; then :
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2326 $as_echo_n "checking for $2... " >&6; }
2327 if eval "test \"\${$3+set}\"" = set; then :
2328 $as_echo_n "(cached) " >&6
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2332 $as_echo "$ac_res" >&6; }
2334 # Is the header compilable?
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2336 $as_echo_n "checking $2 usability... " >&6; }
2337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2338 /* end confdefs.h. */
2342 if ac_fn_c_try_compile "$LINENO"; then :
2343 ac_header_compiler=yes
2345 ac_header_compiler=no
2347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2349 $as_echo "$ac_header_compiler" >&6; }
2351 # Is the header present?
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2353 $as_echo_n "checking $2 presence... " >&6; }
2354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2355 /* end confdefs.h. */
2358 if ac_fn_c_try_cpp "$LINENO"; then :
2359 ac_header_preproc=yes
2361 ac_header_preproc=no
2363 rm -f conftest.err conftest.i conftest.$ac_ext
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2365 $as_echo "$ac_header_preproc" >&6; }
2367 # So? What about this header?
2368 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2371 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2373 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2377 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2379 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2381 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2383 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2385 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2389 $as_echo_n "checking for $2... " >&6; }
2390 if eval "test \"\${$3+set}\"" = set; then :
2391 $as_echo_n "(cached) " >&6
2393 eval "$3=\$ac_header_compiler"
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2397 $as_echo "$ac_res" >&6; }
2399 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2401 } # ac_fn_c_check_header_mongrel
2403 # ac_fn_c_try_run LINENO
2404 # ----------------------
2405 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2406 # that executables *can* be run.
2409 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2410 if { { ac_try="$ac_link"
2412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2413 *) ac_try_echo=$ac_try;;
2415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2416 $as_echo "$ac_try_echo"; } >&5
2417 (eval "$ac_link") 2>&5
2419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2420 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2421 { { case "(($ac_try" in
2422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2423 *) ac_try_echo=$ac_try;;
2425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2426 $as_echo "$ac_try_echo"; } >&5
2427 (eval "$ac_try") 2>&5
2429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2430 test $ac_status = 0; }; }; then :
2433 $as_echo "$as_me: program exited with status $ac_status" >&5
2434 $as_echo "$as_me: failed program was:" >&5
2435 sed 's/^/| /' conftest.$ac_ext >&5
2437 ac_retval=$ac_status
2439 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2440 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2441 as_fn_set_status $ac_retval
2445 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2446 # -------------------------------------------------------
2447 # Tests whether HEADER exists and can be compiled using the include files in
2448 # INCLUDES, setting the cache variable VAR accordingly.
2449 ac_fn_c_check_header_compile ()
2451 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2453 $as_echo_n "checking for $2... " >&6; }
2454 if eval "test \"\${$3+set}\"" = set; then :
2455 $as_echo_n "(cached) " >&6
2457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2458 /* end confdefs.h. */
2462 if ac_fn_c_try_compile "$LINENO"; then :
2467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2471 $as_echo "$ac_res" >&6; }
2472 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2474 } # ac_fn_c_check_header_compile
2476 # ac_fn_c_try_link LINENO
2477 # -----------------------
2478 # Try to link conftest.$ac_ext, and return whether this succeeded.
2481 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2482 rm -f conftest.$ac_objext conftest$ac_exeext
2483 if { { ac_try="$ac_link"
2485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2486 *) ac_try_echo=$ac_try;;
2488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2489 $as_echo "$ac_try_echo"; } >&5
2490 (eval "$ac_link") 2>conftest.err
2492 if test -s conftest.err; then
2493 grep -v '^ *+' conftest.err >conftest.er1
2494 cat conftest.er1 >&5
2495 mv -f conftest.er1 conftest.err
2497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2498 test $ac_status = 0; } && {
2499 test -z "$ac_c_werror_flag" ||
2500 test ! -s conftest.err
2501 } && test -s conftest$ac_exeext && {
2502 test "$cross_compiling" = yes ||
2503 $as_test_x conftest$ac_exeext
2507 $as_echo "$as_me: failed program was:" >&5
2508 sed 's/^/| /' conftest.$ac_ext >&5
2512 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2513 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2514 # interfere with the next link command; also delete a directory that is
2515 # left behind by Apple's compiler. We do this before executing the actions.
2516 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2517 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2518 as_fn_set_status $ac_retval
2520 } # ac_fn_c_try_link
2522 # ac_fn_cxx_try_compile LINENO
2523 # ----------------------------
2524 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2525 ac_fn_cxx_try_compile ()
2527 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2528 rm -f conftest.$ac_objext
2529 if { { ac_try="$ac_compile"
2531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2532 *) ac_try_echo=$ac_try;;
2534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2535 $as_echo "$ac_try_echo"; } >&5
2536 (eval "$ac_compile") 2>conftest.err
2538 if test -s conftest.err; then
2539 grep -v '^ *+' conftest.err >conftest.er1
2540 cat conftest.er1 >&5
2541 mv -f conftest.er1 conftest.err
2543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2544 test $ac_status = 0; } && {
2545 test -z "$ac_cxx_werror_flag" ||
2546 test ! -s conftest.err
2547 } && test -s conftest.$ac_objext; then :
2550 $as_echo "$as_me: failed program was:" >&5
2551 sed 's/^/| /' conftest.$ac_ext >&5
2555 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2556 as_fn_set_status $ac_retval
2558 } # ac_fn_cxx_try_compile
2560 # ac_fn_cxx_try_cpp LINENO
2561 # ------------------------
2562 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2563 ac_fn_cxx_try_cpp ()
2565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2566 if { { ac_try="$ac_cpp conftest.$ac_ext"
2568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2569 *) ac_try_echo=$ac_try;;
2571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2572 $as_echo "$ac_try_echo"; } >&5
2573 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2575 if test -s conftest.err; then
2576 grep -v '^ *+' conftest.err >conftest.er1
2577 cat conftest.er1 >&5
2578 mv -f conftest.er1 conftest.err
2580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2581 test $ac_status = 0; } > conftest.i && {
2582 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2583 test ! -s conftest.err
2587 $as_echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.$ac_ext >&5
2592 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2593 as_fn_set_status $ac_retval
2595 } # ac_fn_cxx_try_cpp
2597 # ac_fn_c_check_func LINENO FUNC VAR
2598 # ----------------------------------
2599 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2600 ac_fn_c_check_func ()
2602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2604 $as_echo_n "checking for $2... " >&6; }
2605 if eval "test \"\${$3+set}\"" = set; then :
2606 $as_echo_n "(cached) " >&6
2608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h. */
2610 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2612 #define $2 innocuous_$2
2614 /* System header to define __stub macros and hopefully few prototypes,
2615 which can conflict with char $2 (); below.
2616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2617 <limits.h> exists even on freestanding compilers. */
2620 # include <limits.h>
2622 # include <assert.h>
2627 /* Override any GCC internal prototype to avoid an error.
2628 Use char because int might match the return type of a GCC
2629 builtin and then its argument prototype would still apply. */
2634 /* The GNU C library defines this for functions which it implements
2635 to always fail with ENOSYS. Some functions are actually named
2636 something starting with __ and the normal name is an alias. */
2637 #if defined __stub_$2 || defined __stub___$2
2649 if ac_fn_c_try_link "$LINENO"; then :
2654 rm -f core conftest.err conftest.$ac_objext \
2655 conftest$ac_exeext conftest.$ac_ext
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2659 $as_echo "$ac_res" >&6; }
2660 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2662 } # ac_fn_c_check_func
2664 # ac_fn_cxx_try_link LINENO
2665 # -------------------------
2666 # Try to link conftest.$ac_ext, and return whether this succeeded.
2667 ac_fn_cxx_try_link ()
2669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2670 rm -f conftest.$ac_objext conftest$ac_exeext
2671 if { { ac_try="$ac_link"
2673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674 *) ac_try_echo=$ac_try;;
2676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2677 $as_echo "$ac_try_echo"; } >&5
2678 (eval "$ac_link") 2>conftest.err
2680 if test -s conftest.err; then
2681 grep -v '^ *+' conftest.err >conftest.er1
2682 cat conftest.er1 >&5
2683 mv -f conftest.er1 conftest.err
2685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2686 test $ac_status = 0; } && {
2687 test -z "$ac_cxx_werror_flag" ||
2688 test ! -s conftest.err
2689 } && test -s conftest$ac_exeext && {
2690 test "$cross_compiling" = yes ||
2691 $as_test_x conftest$ac_exeext
2695 $as_echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.$ac_ext >&5
2700 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2701 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2702 # interfere with the next link command; also delete a directory that is
2703 # left behind by Apple's compiler. We do this before executing the actions.
2704 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2705 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2706 as_fn_set_status $ac_retval
2708 } # ac_fn_cxx_try_link
2710 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2711 # -------------------------------------------
2712 # Tests whether TYPE exists after having included INCLUDES, setting cache
2713 # variable VAR accordingly.
2714 ac_fn_c_check_type ()
2716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2718 $as_echo_n "checking for $2... " >&6; }
2719 if eval "test \"\${$3+set}\"" = set; then :
2720 $as_echo_n "(cached) " >&6
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2735 if ac_fn_c_try_compile "$LINENO"; then :
2736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2737 /* end confdefs.h. */
2748 if ac_fn_c_try_compile "$LINENO"; then :
2753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2759 $as_echo "$ac_res" >&6; }
2760 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2762 } # ac_fn_c_check_type
2764 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2765 # --------------------------------------------
2766 # Tries to find the compile-time value of EXPR in a program that includes
2767 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2769 ac_fn_c_compute_int ()
2771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2772 if test "$cross_compiling" = yes; then
2773 # Depending upon the size, compute the lo and hi bounds.
2774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2775 /* end confdefs.h. */
2780 static int test_array [1 - 2 * !(($2) >= 0)];
2787 if ac_fn_c_try_compile "$LINENO"; then :
2790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2791 /* end confdefs.h. */
2796 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2803 if ac_fn_c_try_compile "$LINENO"; then :
2804 ac_hi=$ac_mid; break
2806 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2807 if test $ac_lo -le $ac_mid; then
2811 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2817 /* end confdefs.h. */
2822 static int test_array [1 - 2 * !(($2) < 0)];
2829 if ac_fn_c_try_compile "$LINENO"; then :
2832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2833 /* end confdefs.h. */
2838 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2845 if ac_fn_c_try_compile "$LINENO"; then :
2846 ac_lo=$ac_mid; break
2848 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2849 if test $ac_mid -le $ac_hi; then
2853 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 # Binary search between lo and hi bounds.
2864 while test "x$ac_lo" != "x$ac_hi"; do
2865 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867 /* end confdefs.h. */
2872 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2879 if ac_fn_c_try_compile "$LINENO"; then :
2882 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2887 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2892 /* end confdefs.h. */
2894 static long int longval () { return $2; }
2895 static unsigned long int ulongval () { return $2; }
2902 FILE *f = fopen ("conftest.val", "w");
2907 long int i = longval ();
2910 fprintf (f, "%ld", i);
2914 unsigned long int i = ulongval ();
2917 fprintf (f, "%lu", i);
2919 /* Do not output a trailing newline, as this causes \r\n confusion
2920 on some platforms. */
2921 return ferror (f) || fclose (f) != 0;
2927 if ac_fn_c_try_run "$LINENO"; then :
2928 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2932 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2933 conftest.$ac_objext conftest.beam conftest.$ac_ext
2937 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2938 as_fn_set_status $ac_retval
2940 } # ac_fn_c_compute_int
2942 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2943 # ---------------------------------------------
2944 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2946 ac_fn_c_check_decl ()
2948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2949 as_decl_name=`echo $2|sed 's/ *(.*//'`
2950 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2952 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2953 if eval "test \"\${$3+set}\"" = set; then :
2954 $as_echo_n "(cached) " >&6
2956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2957 /* end confdefs.h. */
2962 #ifndef $as_decl_name
2964 (void) $as_decl_use;
2966 (void) $as_decl_name;
2974 if ac_fn_c_try_compile "$LINENO"; then :
2979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2983 $as_echo "$ac_res" >&6; }
2984 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2986 } # ac_fn_c_check_decl
2988 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2989 # ----------------------------------------------------
2990 # Tries to find if the field MEMBER exists in type AGGR, after including
2991 # INCLUDES, setting cache variable VAR accordingly.
2992 ac_fn_c_check_member ()
2994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2996 $as_echo_n "checking for $2.$3... " >&6; }
2997 if eval "test \"\${$4+set}\"" = set; then :
2998 $as_echo_n "(cached) " >&6
3000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3001 /* end confdefs.h. */
3013 if ac_fn_c_try_compile "$LINENO"; then :
3016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3017 /* end confdefs.h. */
3023 if (sizeof ac_aggr.$3)
3029 if ac_fn_c_try_compile "$LINENO"; then :
3034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3040 $as_echo "$ac_res" >&6; }
3041 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3043 } # ac_fn_c_check_member
3045 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3046 # ---------------------------------------------------------
3047 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3048 # the include files in INCLUDES and setting the cache variable VAR
3050 ac_fn_cxx_check_header_mongrel ()
3052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3053 if eval "test \"\${$3+set}\"" = set; then :
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3055 $as_echo_n "checking for $2... " >&6; }
3056 if eval "test \"\${$3+set}\"" = set; then :
3057 $as_echo_n "(cached) " >&6
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3061 $as_echo "$ac_res" >&6; }
3063 # Is the header compilable?
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3065 $as_echo_n "checking $2 usability... " >&6; }
3066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3067 /* end confdefs.h. */
3071 if ac_fn_cxx_try_compile "$LINENO"; then :
3072 ac_header_compiler=yes
3074 ac_header_compiler=no
3076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3078 $as_echo "$ac_header_compiler" >&6; }
3080 # Is the header present?
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3082 $as_echo_n "checking $2 presence... " >&6; }
3083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3084 /* end confdefs.h. */
3087 if ac_fn_cxx_try_cpp "$LINENO"; then :
3088 ac_header_preproc=yes
3090 ac_header_preproc=no
3092 rm -f conftest.err conftest.i conftest.$ac_ext
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3094 $as_echo "$ac_header_preproc" >&6; }
3096 # So? What about this header?
3097 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3100 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3102 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3106 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3108 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3110 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3112 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3114 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3118 $as_echo_n "checking for $2... " >&6; }
3119 if eval "test \"\${$3+set}\"" = set; then :
3120 $as_echo_n "(cached) " >&6
3122 eval "$3=\$ac_header_compiler"
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3126 $as_echo "$ac_res" >&6; }
3128 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3130 } # ac_fn_cxx_check_header_mongrel
3131 cat >config.log <<_ACEOF
3132 This file contains any messages produced by compilers while
3133 running configure, to aid debugging if configure makes a mistake.
3135 It was created by $as_me, which was
3136 generated by GNU Autoconf 2.67. Invocation command line was
3148 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3149 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3150 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3151 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3152 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3154 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3155 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3157 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3158 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3159 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3160 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3161 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3162 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3163 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3171 test -z "$as_dir" && as_dir=.
3172 $as_echo "PATH: $as_dir"
3188 # Keep a trace of the command line.
3189 # Strip out --no-create and --no-recursion so they do not pile up.
3190 # Strip out --silent because we don't want to record it for future runs.
3191 # Also quote any args containing shell meta-characters.
3192 # Make two passes to allow for proper duplicate-argument suppression.
3196 ac_must_keep_next=false
3202 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3203 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3204 | -silent | --silent | --silen | --sile | --sil)
3207 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3210 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3212 as_fn_append ac_configure_args1 " '$ac_arg'"
3213 if test $ac_must_keep_next = true; then
3214 ac_must_keep_next=false # Got value, back to normal.
3217 *=* | --config-cache | -C | -disable-* | --disable-* \
3218 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3219 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3220 | -with-* | --with-* | -without-* | --without-* | --x)
3221 case "$ac_configure_args0 " in
3222 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3225 -* ) ac_must_keep_next=true ;;
3228 as_fn_append ac_configure_args " '$ac_arg'"
3233 { ac_configure_args0=; unset ac_configure_args0;}
3234 { ac_configure_args1=; unset ac_configure_args1;}
3236 # When interrupted or exit'd, cleanup temporary files, and complete
3237 # config.log. We remove comments because anyway the quotes in there
3238 # would cause problems or look ugly.
3239 # WARNING: Use '\'' to represent an apostrophe within the trap.
3240 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3241 trap 'exit_status=$?
3242 # Save into config.log some information that might help in debugging.
3246 $as_echo "## ---------------- ##
3247 ## Cache variables. ##
3248 ## ---------------- ##"
3250 # The following way of writing the cache mishandles newlines in values,
3252 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3253 eval ac_val=\$$ac_var
3257 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3258 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3261 _ | IFS | as_nl) ;; #(
3262 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3263 *) { eval $ac_var=; unset $ac_var;} ;;
3268 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3269 *${as_nl}ac_space=\ *)
3271 "s/'\''/'\''\\\\'\'''\''/g;
3272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3275 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3282 $as_echo "## ----------------- ##
3283 ## Output variables. ##
3284 ## ----------------- ##"
3286 for ac_var in $ac_subst_vars
3288 eval ac_val=\$$ac_var
3290 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3292 $as_echo "$ac_var='\''$ac_val'\''"
3296 if test -n "$ac_subst_files"; then
3297 $as_echo "## ------------------- ##
3298 ## File substitutions. ##
3299 ## ------------------- ##"
3301 for ac_var in $ac_subst_files
3303 eval ac_val=\$$ac_var
3305 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3307 $as_echo "$ac_var='\''$ac_val'\''"
3312 if test -s confdefs.h; then
3313 $as_echo "## ----------- ##
3320 test "$ac_signal" != 0 &&
3321 $as_echo "$as_me: caught signal $ac_signal"
3322 $as_echo "$as_me: exit $exit_status"
3324 rm -f core *.core core.conftest.* &&
3325 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3328 for ac_signal in 1 2 13 15; do
3329 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3333 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3334 rm -f -r conftest* confdefs.h
3336 $as_echo "/* confdefs.h */" > confdefs.h
3338 # Predefined preprocessor variables.
3340 cat >>confdefs.h <<_ACEOF
3341 #define PACKAGE_NAME "$PACKAGE_NAME"
3344 cat >>confdefs.h <<_ACEOF
3345 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3348 cat >>confdefs.h <<_ACEOF
3349 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3352 cat >>confdefs.h <<_ACEOF
3353 #define PACKAGE_STRING "$PACKAGE_STRING"
3356 cat >>confdefs.h <<_ACEOF
3357 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3360 cat >>confdefs.h <<_ACEOF
3361 #define PACKAGE_URL "$PACKAGE_URL"
3365 # Let the site file select an alternate cache file if it wants to.
3366 # Prefer an explicitly selected file to automatically selected ones.
3369 if test -n "$CONFIG_SITE"; then
3370 # We do not want a PATH search for config.site.
3371 case $CONFIG_SITE in #((
3372 -*) ac_site_file1=./$CONFIG_SITE;;
3373 */*) ac_site_file1=$CONFIG_SITE;;
3374 *) ac_site_file1=./$CONFIG_SITE;;
3376 elif test "x$prefix" != xNONE; then
3377 ac_site_file1=$prefix/share/config.site
3378 ac_site_file2=$prefix/etc/config.site
3380 ac_site_file1=$ac_default_prefix/share/config.site
3381 ac_site_file2=$ac_default_prefix/etc/config.site
3383 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3385 test "x$ac_site_file" = xNONE && continue
3386 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3388 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3389 sed 's/^/| /' "$ac_site_file" >&5
3391 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3393 as_fn_error $? "failed to load site script $ac_site_file
3394 See \`config.log' for more details" "$LINENO" 5 ; }
3398 if test -r "$cache_file"; then
3399 # Some versions of bash will fail to source /dev/null (special files
3400 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3401 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3403 $as_echo "$as_me: loading cache $cache_file" >&6;}
3405 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3406 *) . "./$cache_file";;
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3411 $as_echo "$as_me: creating cache $cache_file" >&6;}
3415 # Check that the precious variables saved in the cache have kept the same
3417 ac_cache_corrupted=false
3418 for ac_var in $ac_precious_vars; do
3419 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3420 eval ac_new_set=\$ac_env_${ac_var}_set
3421 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3422 eval ac_new_val=\$ac_env_${ac_var}_value
3423 case $ac_old_set,$ac_new_set in
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3426 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3427 ac_cache_corrupted=: ;;
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3430 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3431 ac_cache_corrupted=: ;;
3434 if test "x$ac_old_val" != "x$ac_new_val"; then
3435 # differences in whitespace do not lead to failure.
3436 ac_old_val_w=`echo x $ac_old_val`
3437 ac_new_val_w=`echo x $ac_new_val`
3438 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3440 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3441 ac_cache_corrupted=:
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3444 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3445 eval $ac_var=\$ac_old_val
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3448 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3450 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3453 # Pass precious variables to config.status.
3454 if test "$ac_new_set" = set; then
3456 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3457 *) ac_arg=$ac_var=$ac_new_val ;;
3459 case " $ac_configure_args " in
3460 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3461 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3465 if $ac_cache_corrupted; then
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3469 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3470 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3472 ## -------------------- ##
3473 ## Main body of script. ##
3474 ## -------------------- ##
3477 ac_cpp='$CPP $CPPFLAGS'
3478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3484 ac_config_headers="$ac_config_headers config.h"
3489 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3490 if test -f "$ac_dir/install-sh"; then
3492 ac_install_sh="$ac_aux_dir/install-sh -c"
3494 elif test -f "$ac_dir/install.sh"; then
3496 ac_install_sh="$ac_aux_dir/install.sh -c"
3498 elif test -f "$ac_dir/shtool"; then
3500 ac_install_sh="$ac_aux_dir/shtool install -c"
3504 if test -z "$ac_aux_dir"; then
3505 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3508 # These three variables are undocumented and unsupported,
3509 # and are intended to be withdrawn in a future Autoconf release.
3510 # They can cause serious problems if a builder's source tree is in a directory
3511 # whose full name contains unusual characters.
3512 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3513 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3514 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3517 # Make sure we can run config.sub.
3518 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3519 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3522 $as_echo_n "checking build system type... " >&6; }
3523 if test "${ac_cv_build+set}" = set; then :
3524 $as_echo_n "(cached) " >&6
3526 ac_build_alias=$build_alias
3527 test "x$ac_build_alias" = x &&
3528 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3529 test "x$ac_build_alias" = x &&
3530 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3531 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3532 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3536 $as_echo "$ac_cv_build" >&6; }
3537 case $ac_cv_build in
3539 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3542 ac_save_IFS=$IFS; IFS='-'
3548 # Remember, the first character of IFS is used to create $*,
3549 # except with old shells:
3552 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3556 $as_echo_n "checking host system type... " >&6; }
3557 if test "${ac_cv_host+set}" = set; then :
3558 $as_echo_n "(cached) " >&6
3560 if test "x$host_alias" = x; then
3561 ac_cv_host=$ac_cv_build
3563 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3564 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3569 $as_echo "$ac_cv_host" >&6; }
3572 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3575 ac_save_IFS=$IFS; IFS='-'
3581 # Remember, the first character of IFS is used to create $*,
3582 # except with old shells:
3585 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3589 $as_echo_n "checking target system type... " >&6; }
3590 if test "${ac_cv_target+set}" = set; then :
3591 $as_echo_n "(cached) " >&6
3593 if test "x$target_alias" = x; then
3594 ac_cv_target=$ac_cv_host
3596 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3597 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3602 $as_echo "$ac_cv_target" >&6; }
3603 case $ac_cv_target in
3605 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
3607 target=$ac_cv_target
3608 ac_save_IFS=$IFS; IFS='-'
3614 # Remember, the first character of IFS is used to create $*,
3615 # except with old shells:
3618 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3621 # The aliases save the names the user supplied, while $host etc.
3622 # will get canonicalized.
3623 test -n "$target_alias" &&
3624 test "$program_prefix$program_suffix$program_transform_name" = \
3626 program_prefix=${target_alias}-
3629 . $srcdir/version.sh
3632 # Extract the first word of "git", so it can be a program name with args.
3633 set dummy git; ac_word=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if test "${ac_cv_path_GIT+set}" = set; then :
3637 $as_echo_n "(cached) " >&6
3641 ac_cv_path_GIT="$GIT" # Let the user override the test with a path.
3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3648 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651 ac_cv_path_GIT="$as_dir/$ac_word$ac_exec_ext"
3652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 if test -n "$GIT"; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
3665 $as_echo "$GIT" >&6; }
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3673 if test x$GIT != x ; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking existence of git version control directory" >&5
3675 $as_echo_n "checking existence of git version control directory... " >&6; }
3676 if test -d $srcdir/.git ; then
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
3678 $as_echo "ok" >&6; }
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking git description of current commit" >&5
3680 $as_echo_n "checking git description of current commit... " >&6; }
3681 if (cd $srcdir && $GIT describe >/dev/null 2>&1); then
3682 GIT_DESCRIBE=`cd $srcdir && $GIT describe --abbrev=8 --long`
3683 # Release candidate tags create an extra -rcX field
3684 case $GIT_DESCRIBE in
3686 GIT_TAG=`echo $GIT_DESCRIBE | cut -f -2 -d '-'`
3687 GIT_SEQNO=`echo $GIT_DESCRIBE | cut -f 3 -d '-'`
3688 GIT_COMMIT=`echo $GIT_DESCRIBE | cut -f 4 -d '-' | cut -f 2- -d 'g'`
3691 GIT_TAG=`echo $GIT_DESCRIBE | cut -f 1 -d '-'`
3692 GIT_SEQNO=`echo $GIT_DESCRIBE | cut -f 2 -d '-'`
3693 GIT_COMMIT=`echo $GIT_DESCRIBE | cut -f 3 -d '-' | cut -f 2- -d 'g'`
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT_DESCRIBE" >&5
3698 $as_echo "$GIT_DESCRIBE" >&6; }
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no tag in history, using current commit" >&5
3701 $as_echo "no tag in history, using current commit" >&6; }
3704 GIT_COMMIT=`cd $srcdir && $GIT describe --always --abbrev=8`
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
3708 $as_echo "not found" >&6; }
3718 if test "$MINOR_VERSION" == "git"; then
3719 RELEASE=$GIT_DESCRIBE
3720 DOCVER=$MAJOR_VERSION.$API_COMPAT$MINOR_VERSION
3721 LIBVER=$MAJOR_VERSION.$API_COMPAT$MINOR_VERSION
3723 if test "$MAINT_VERSION" == "git" ; then
3724 RELEASE=$GIT_DESCRIBE
3725 DOCVER=$MAJOR_VERSION.$API_COMPAT.$MINOR_VERSION$MAINT_VERSION
3726 LIBVER=$MAJOR_VERSION.$API_COMPAT.$MINOR_VERSION$MAINT_VERSION
3728 RELEASE=$MAJOR_VERSION.$API_COMPAT.$MINOR_VERSION
3729 if test "$MAINT_VERSION" != "0"; then
3730 RELEASE=$RELEASE.$MAINT_VERSION
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: GNU Radio Release $RELEASE" >&5
3739 $as_echo "$as_me: GNU Radio Release $RELEASE" >&6;}
3745 am__api_version='1.11'
3747 # Find a good install program. We prefer a C program (faster),
3748 # so one script is as good as another. But avoid the broken or
3749 # incompatible versions:
3750 # SysV /etc/install, /usr/sbin/install
3751 # SunOS /usr/etc/install
3752 # IRIX /sbin/install
3754 # AmigaOS /C/install, which installs bootblocks on floppy discs
3755 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3756 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3757 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3758 # OS/2's system install, which has a completely different semantic
3759 # ./install, which can be erroneously created by make from ./install.sh.
3760 # Reject install programs that cannot install multiple files.
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3762 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3763 if test -z "$INSTALL"; then
3764 if test "${ac_cv_path_install+set}" = set; then :
3765 $as_echo_n "(cached) " >&6
3767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir=.
3772 # Account for people who put trailing slashes in PATH elements.
3773 case $as_dir/ in #((
3774 ./ | .// | /[cC]/* | \
3775 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3776 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3779 # OSF1 and SCO ODT 3.0 have their own names for install.
3780 # Don't use installbsd from OSF since it installs stuff as root
3782 for ac_prog in ginstall scoinst install; do
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3785 if test $ac_prog = install &&
3786 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3787 # AIX install. It has an incompatible calling convention.
3789 elif test $ac_prog = install &&
3790 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3791 # program-specific install script used by HP pwplus--don't use.
3794 rm -rf conftest.one conftest.two conftest.dir
3795 echo one > conftest.one
3796 echo two > conftest.two
3798 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3799 test -s conftest.one && test -s conftest.two &&
3800 test -s conftest.dir/conftest.one &&
3801 test -s conftest.dir/conftest.two
3803 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3816 rm -rf conftest.one conftest.two conftest.dir
3819 if test "${ac_cv_path_install+set}" = set; then
3820 INSTALL=$ac_cv_path_install
3822 # As a last resort, use the slow shell script. Don't cache a
3823 # value for INSTALL within a source directory, because that will
3824 # break other packages using the cache if that directory is
3825 # removed, or if the value is a relative name.
3826 INSTALL=$ac_install_sh
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3830 $as_echo "$INSTALL" >&6; }
3832 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3833 # It thinks the first close brace ends the variable substitution.
3834 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3836 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3838 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3841 $as_echo_n "checking whether build environment is sane... " >&6; }
3844 echo timestamp > conftest.file
3845 # Reject unsafe characters in $srcdir or the absolute working directory
3846 # name. Accept space and tab only in the latter.
3850 *[\\\"\#\$\&\'\`$am_lf]*)
3851 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3854 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3855 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3858 # Do `set' in a subshell so we don't clobber the current shell's
3859 # arguments. Must try -L first in case configure is actually a
3860 # symlink; some systems play weird games with the mod time of symlinks
3861 # (eg FreeBSD returns the mod time of the symlink's containing
3864 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3865 if test "$*" = "X"; then
3867 set X `ls -t "$srcdir/configure" conftest.file`
3870 if test "$*" != "X $srcdir/configure conftest.file" \
3871 && test "$*" != "X conftest.file $srcdir/configure"; then
3873 # If neither matched, then we have a broken ls. This can happen
3874 # if, for instance, CONFIG_SHELL is bash and it inherits a
3875 # broken ls alias from the environment. This has actually
3876 # happened. Such a system could not be considered "sane".
3877 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3878 alias in your environment" "$LINENO" 5
3881 test "$2" = conftest.file
3887 as_fn_error $? "newly created file is older than distributed files!
3888 Check your system clock" "$LINENO" 5
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3891 $as_echo "yes" >&6; }
3892 test "$program_prefix" != NONE &&
3893 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3894 # Use a double $ so make ignores it.
3895 test "$program_suffix" != NONE &&
3896 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3897 # Double any \ or $.
3898 # By default was `s,x,x', remove it if useless.
3899 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3900 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3902 # expand $ac_aux_dir to an absolute path
3903 am_aux_dir=`cd $ac_aux_dir && pwd`
3905 if test x"${MISSING+set}" != xset; then
3908 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3910 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3913 # Use eval to expand $SHELL
3914 if eval "$MISSING --run true"; then
3915 am_missing_run="$MISSING --run "
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3919 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3922 if test x"${install_sh}" != xset; then
3925 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3927 install_sh="\${SHELL} $am_aux_dir/install-sh"
3931 # Installed binaries are usually stripped using `strip' when the user
3932 # run `make install-strip'. However `strip' might not be the right
3933 # tool to use in cross-compilation environments, therefore Automake
3934 # will honor the `STRIP' environment variable to overrule this program.
3935 if test "$cross_compiling" != no; then
3936 if test -n "$ac_tool_prefix"; then
3937 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3938 set dummy ${ac_tool_prefix}strip; ac_word=$2
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3940 $as_echo_n "checking for $ac_word... " >&6; }
3941 if test "${ac_cv_prog_STRIP+set}" = set; then :
3942 $as_echo_n "(cached) " >&6
3944 if test -n "$STRIP"; then
3945 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3951 test -z "$as_dir" && as_dir=.
3952 for ac_exec_ext in '' $ac_executable_extensions; do
3953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3954 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3964 STRIP=$ac_cv_prog_STRIP
3965 if test -n "$STRIP"; then
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3967 $as_echo "$STRIP" >&6; }
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3970 $as_echo "no" >&6; }
3975 if test -z "$ac_cv_prog_STRIP"; then
3977 # Extract the first word of "strip", so it can be a program name with args.
3978 set dummy strip; ac_word=$2
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3980 $as_echo_n "checking for $ac_word... " >&6; }
3981 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3982 $as_echo_n "(cached) " >&6
3984 if test -n "$ac_ct_STRIP"; then
3985 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 test -z "$as_dir" && as_dir=.
3992 for ac_exec_ext in '' $ac_executable_extensions; do
3993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3994 ac_cv_prog_ac_ct_STRIP="strip"
3995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4004 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4005 if test -n "$ac_ct_STRIP"; then
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4007 $as_echo "$ac_ct_STRIP" >&6; }
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4010 $as_echo "no" >&6; }
4013 if test "x$ac_ct_STRIP" = x; then
4016 case $cross_compiling:$ac_tool_warned in
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4020 ac_tool_warned=yes ;;
4025 STRIP="$ac_cv_prog_STRIP"
4029 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4032 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4033 if test -z "$MKDIR_P"; then
4034 if test "${ac_cv_path_mkdir+set}" = set; then :
4035 $as_echo_n "(cached) " >&6
4037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4038 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4041 test -z "$as_dir" && as_dir=.
4042 for ac_prog in mkdir gmkdir; do
4043 for ac_exec_ext in '' $ac_executable_extensions; do
4044 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
4045 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4046 'mkdir (GNU coreutils) '* | \
4047 'mkdir (coreutils) '* | \
4048 'mkdir (fileutils) '4.1*)
4049 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4059 test -d ./--version && rmdir ./--version
4060 if test "${ac_cv_path_mkdir+set}" = set; then
4061 MKDIR_P="$ac_cv_path_mkdir -p"
4063 # As a last resort, use the slow shell script. Don't cache a
4064 # value for MKDIR_P within a source directory, because that will
4065 # break other packages using the cache if that directory is
4066 # removed, or if the value is a relative name.
4067 MKDIR_P="$ac_install_sh -d"
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4071 $as_echo "$MKDIR_P" >&6; }
4075 [\\/$]* | ?:[\\/]*) ;;
4076 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4079 for ac_prog in gawk mawk nawk awk
4081 # Extract the first word of "$ac_prog", so it can be a program name with args.
4082 set dummy $ac_prog; ac_word=$2
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4084 $as_echo_n "checking for $ac_word... " >&6; }
4085 if test "${ac_cv_prog_AWK+set}" = set; then :
4086 $as_echo_n "(cached) " >&6
4088 if test -n "$AWK"; then
4089 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4095 test -z "$as_dir" && as_dir=.
4096 for ac_exec_ext in '' $ac_executable_extensions; do
4097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4098 ac_cv_prog_AWK="$ac_prog"
4099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 if test -n "$AWK"; then
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4111 $as_echo "$AWK" >&6; }
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4114 $as_echo "no" >&6; }
4118 test -n "$AWK" && break
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4122 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4124 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4125 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
4126 $as_echo_n "(cached) " >&6
4128 cat >conftest.make <<\_ACEOF
4131 @echo '@@@%%%=$(MAKE)=@@@%%%'
4133 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4134 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4136 eval ac_cv_prog_make_${ac_make}_set=yes;;
4138 eval ac_cv_prog_make_${ac_make}_set=no;;
4142 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4144 $as_echo "yes" >&6; }
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4148 $as_echo "no" >&6; }
4149 SET_MAKE="MAKE=${MAKE-make}"
4152 rm -rf .tst 2>/dev/null
4153 mkdir .tst 2>/dev/null
4154 if test -d .tst; then
4159 rmdir .tst 2>/dev/null
4161 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4162 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4163 # is not polluted with repeated "-I."
4164 am__isrc=' -I$(srcdir)'
4165 # test to see if srcdir already configured
4166 if test -f $srcdir/config.status; then
4167 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4171 # test whether we have cygpath
4172 if test -z "$CYGPATH_W"; then
4173 if (cygpath --version) >/dev/null 2>/dev/null; then
4174 CYGPATH_W='cygpath -w'
4181 # Define the identity of the package.
4186 cat >>confdefs.h <<_ACEOF
4187 #define PACKAGE "$PACKAGE"
4191 cat >>confdefs.h <<_ACEOF
4192 #define VERSION "$VERSION"
4195 # Some tools Automake needs.
4197 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4200 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4203 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4206 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4209 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4211 # We need awk for the "check" target. The system "awk" is bad on
4213 # Always define AMTAR for backward compatibility.
4215 AMTAR=${AMTAR-"${am_missing_run}tar"}
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
4219 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
4220 # Loop over all known methods to create a tar archive until one works.
4221 _am_tools='gnutar plaintar pax cpio none'
4222 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
4223 # Do not fold the above two line into one, because Tru64 sh and
4224 # Solaris sh will not grok spaces in the rhs of `-'.
4225 for _am_tool in $_am_tools
4229 for _am_tar in tar gnutar gtar;
4231 { echo "$as_me:$LINENO: $_am_tar --version" >&5
4232 ($_am_tar --version) >&5 2>&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); } && break
4237 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
4238 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
4239 am__untar="$_am_tar -xf -"
4242 # Must skip GNU tar: if it does not support --format= it doesn't create
4243 # ustar tarball either.
4244 (tar --version) >/dev/null 2>&1 && continue
4245 am__tar='tar chf - "$$tardir"'
4246 am__tar_='tar chf - "$tardir"'
4247 am__untar='tar xf -'
4250 am__tar='pax -L -x ustar -w "$$tardir"'
4251 am__tar_='pax -L -x ustar -w "$tardir"'
4255 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
4256 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
4257 am__untar='cpio -i -H ustar -d'
4266 # If the value was cached, stop now. We just wanted to have am__tar
4267 # and am__untar set.
4268 test -n "${am_cv_prog_tar_ustar}" && break
4270 # tar/untar a dummy directory, and stop if the command works
4273 echo GrepMe > conftest.dir/file
4274 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
4275 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); }
4280 if test -s conftest.tar; then
4281 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
4282 ($am__untar <conftest.tar) >&5 2>&5
4284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285 (exit $ac_status); }
4286 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
4291 if test "${am_cv_prog_tar_ustar+set}" = set; then :
4292 $as_echo_n "(cached) " >&6
4294 am_cv_prog_tar_ustar=$_am_tool
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
4298 $as_echo "$am_cv_prog_tar_ustar" >&6; }
4308 if test -n "${CFLAGS}"; then
4311 if test -n "${CXXFLAGS}"; then
4312 user_set_cxxflags=yes
4316 DEPDIR="${am__leading_dot}deps"
4318 ac_config_commands="$ac_config_commands depfiles"
4321 am_make=${MAKE-make}
4322 cat > confinc << 'END'
4324 @echo this is the am__doit target
4327 # If we don't find an include directive, just comment out the code.
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4329 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4333 # First try GNU make style include.
4334 echo "include confinc" > confmf
4335 # Ignore all kinds of additional output from `make'.
4336 case `$am_make -s -f confmf 2> /dev/null` in #(
4337 *the\ am__doit\ target*)
4343 # Now try BSD make style include.
4344 if test "$am__include" = "#"; then
4345 echo '.include "confinc"' > confmf
4346 case `$am_make -s -f confmf 2> /dev/null` in #(
4347 *the\ am__doit\ target*)
4348 am__include=.include
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4357 $as_echo "$_am_result" >&6; }
4358 rm -f confinc confmf
4360 # Check whether --enable-dependency-tracking was given.
4361 if test "${enable_dependency_tracking+set}" = set; then :
4362 enableval=$enable_dependency_tracking;
4365 if test "x$enable_dependency_tracking" != xno; then
4366 am_depcomp="$ac_aux_dir/depcomp"
4369 if test "x$enable_dependency_tracking" != xno; then
4379 ac_cpp='$CPP $CPPFLAGS'
4380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4383 if test -n "$ac_tool_prefix"; then
4384 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4385 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4387 $as_echo_n "checking for $ac_word... " >&6; }
4388 if test "${ac_cv_prog_CC+set}" = set; then :
4389 $as_echo_n "(cached) " >&6
4391 if test -n "$CC"; then
4392 ac_cv_prog_CC="$CC" # Let the user override the test.
4394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4398 test -z "$as_dir" && as_dir=.
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4401 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 if test -n "$CC"; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4414 $as_echo "$CC" >&6; }
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417 $as_echo "no" >&6; }
4422 if test -z "$ac_cv_prog_CC"; then
4424 # Extract the first word of "gcc", so it can be a program name with args.
4425 set dummy gcc; ac_word=$2
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4427 $as_echo_n "checking for $ac_word... " >&6; }
4428 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4429 $as_echo_n "(cached) " >&6
4431 if test -n "$ac_ct_CC"; then
4432 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438 test -z "$as_dir" && as_dir=.
4439 for ac_exec_ext in '' $ac_executable_extensions; do
4440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4441 ac_cv_prog_ac_ct_CC="gcc"
4442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4452 if test -n "$ac_ct_CC"; then
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4454 $as_echo "$ac_ct_CC" >&6; }
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4457 $as_echo "no" >&6; }
4460 if test "x$ac_ct_CC" = x; then
4463 case $cross_compiling:$ac_tool_warned in
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4467 ac_tool_warned=yes ;;
4475 if test -z "$CC"; then
4476 if test -n "$ac_tool_prefix"; then
4477 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4478 set dummy ${ac_tool_prefix}cc; ac_word=$2
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4480 $as_echo_n "checking for $ac_word... " >&6; }
4481 if test "${ac_cv_prog_CC+set}" = set; then :
4482 $as_echo_n "(cached) " >&6
4484 if test -n "$CC"; then
4485 ac_cv_prog_CC="$CC" # Let the user override the test.
4487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4491 test -z "$as_dir" && as_dir=.
4492 for ac_exec_ext in '' $ac_executable_extensions; do
4493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4494 ac_cv_prog_CC="${ac_tool_prefix}cc"
4495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4505 if test -n "$CC"; then
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4507 $as_echo "$CC" >&6; }
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4510 $as_echo "no" >&6; }
4516 if test -z "$CC"; then
4517 # Extract the first word of "cc", so it can be a program name with args.
4518 set dummy cc; ac_word=$2
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4520 $as_echo_n "checking for $ac_word... " >&6; }
4521 if test "${ac_cv_prog_CC+set}" = set; then :
4522 $as_echo_n "(cached) " >&6
4524 if test -n "$CC"; then
4525 ac_cv_prog_CC="$CC" # Let the user override the test.
4528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 test -z "$as_dir" && as_dir=.
4533 for ac_exec_ext in '' $ac_executable_extensions; do
4534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4535 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4536 ac_prog_rejected=yes
4540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4547 if test $ac_prog_rejected = yes; then
4548 # We found a bogon in the path, so make sure we never use it.
4549 set dummy $ac_cv_prog_CC
4551 if test $# != 0; then
4552 # We chose a different compiler from the bogus one.
4553 # However, it has the same basename, so the bogon will be chosen
4554 # first if we set CC to just the basename; use the full file name.
4556 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4562 if test -n "$CC"; then
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4564 $as_echo "$CC" >&6; }
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567 $as_echo "no" >&6; }
4572 if test -z "$CC"; then
4573 if test -n "$ac_tool_prefix"; then
4574 for ac_prog in cl.exe
4576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4577 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4579 $as_echo_n "checking for $ac_word... " >&6; }
4580 if test "${ac_cv_prog_CC+set}" = set; then :
4581 $as_echo_n "(cached) " >&6
4583 if test -n "$CC"; then
4584 ac_cv_prog_CC="$CC" # Let the user override the test.
4586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4590 test -z "$as_dir" && as_dir=.
4591 for ac_exec_ext in '' $ac_executable_extensions; do
4592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4593 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 if test -n "$CC"; then
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4606 $as_echo "$CC" >&6; }
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4609 $as_echo "no" >&6; }
4613 test -n "$CC" && break
4616 if test -z "$CC"; then
4618 for ac_prog in cl.exe
4620 # Extract the first word of "$ac_prog", so it can be a program name with args.
4621 set dummy $ac_prog; ac_word=$2
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4623 $as_echo_n "checking for $ac_word... " >&6; }
4624 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4625 $as_echo_n "(cached) " >&6
4627 if test -n "$ac_ct_CC"; then
4628 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4634 test -z "$as_dir" && as_dir=.
4635 for ac_exec_ext in '' $ac_executable_extensions; do
4636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4637 ac_cv_prog_ac_ct_CC="$ac_prog"
4638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4647 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4648 if test -n "$ac_ct_CC"; then
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4650 $as_echo "$ac_ct_CC" >&6; }
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4653 $as_echo "no" >&6; }
4657 test -n "$ac_ct_CC" && break
4660 if test "x$ac_ct_CC" = x; then
4663 case $cross_compiling:$ac_tool_warned in
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4666 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4667 ac_tool_warned=yes ;;
4676 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4678 as_fn_error $? "no acceptable C compiler found in \$PATH
4679 See \`config.log' for more details" "$LINENO" 5 ; }
4681 # Provide some information about the compiler.
4682 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4685 for ac_option in --version -v -V -qversion; do
4686 { { ac_try="$ac_compiler $ac_option >&5"
4688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4689 *) ac_try_echo=$ac_try;;
4691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4692 $as_echo "$ac_try_echo"; } >&5
4693 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4695 if test -s conftest.err; then
4697 ... rest of stderr output deleted ...
4698 10q' conftest.err >conftest.er1
4699 cat conftest.er1 >&5
4701 rm -f conftest.er1 conftest.err
4702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4703 test $ac_status = 0; }
4706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4707 /* end confdefs.h. */
4717 ac_clean_files_save=$ac_clean_files
4718 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4719 # Try to create an executable without -o first, disregard a.out.
4720 # It will help us diagnose broken compilers, and finding out an intuition
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4723 $as_echo_n "checking whether the C compiler works... " >&6; }
4724 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4726 # The possible output files:
4727 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4730 for ac_file in $ac_files
4733 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4734 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4739 if { { ac_try="$ac_link_default"
4741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4742 *) ac_try_echo=$ac_try;;
4744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4745 $as_echo "$ac_try_echo"; } >&5
4746 (eval "$ac_link_default") 2>&5
4748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4749 test $ac_status = 0; }; then :
4750 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4751 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4752 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4753 # so that the user can short-circuit this test for compilers unknown to
4755 for ac_file in $ac_files ''
4757 test -f "$ac_file" || continue
4759 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4762 # We found the default executable, but exeext='' is most
4766 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4768 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4770 # We set ac_cv_exeext here because the later test for it is not
4771 # safe: cross compilers may not add the suffix if given an `-o'
4772 # argument, so we may need to know it at that point already.
4773 # Even if this section looks crufty: it has the advantage of
4780 test "$ac_cv_exeext" = no && ac_cv_exeext=
4785 if test -z "$ac_file"; then :
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4788 $as_echo "$as_me: failed program was:" >&5
4789 sed 's/^/| /' conftest.$ac_ext >&5
4791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4793 as_fn_error 77 "C compiler cannot create executables
4794 See \`config.log' for more details" "$LINENO" 5 ; }
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4797 $as_echo "yes" >&6; }
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4800 $as_echo_n "checking for C compiler default output file name... " >&6; }
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4802 $as_echo "$ac_file" >&6; }
4803 ac_exeext=$ac_cv_exeext
4805 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4806 ac_clean_files=$ac_clean_files_save
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4808 $as_echo_n "checking for suffix of executables... " >&6; }
4809 if { { ac_try="$ac_link"
4811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4812 *) ac_try_echo=$ac_try;;
4814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4815 $as_echo "$ac_try_echo"; } >&5
4816 (eval "$ac_link") 2>&5
4818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4819 test $ac_status = 0; }; then :
4820 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4821 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4822 # work properly (i.e., refer to `conftest.exe'), while it won't with
4824 for ac_file in conftest.exe conftest conftest.*; do
4825 test -f "$ac_file" || continue
4827 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4828 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4836 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4837 See \`config.log' for more details" "$LINENO" 5 ; }
4839 rm -f conftest conftest$ac_cv_exeext
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4841 $as_echo "$ac_cv_exeext" >&6; }
4843 rm -f conftest.$ac_ext
4844 EXEEXT=$ac_cv_exeext
4846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4847 /* end confdefs.h. */
4852 FILE *f = fopen ("conftest.out", "w");
4853 return ferror (f) || fclose (f) != 0;
4859 ac_clean_files="$ac_clean_files conftest.out"
4860 # Check that the compiler produces executables we can run. If not, either
4861 # the compiler is broken, or we cross compile.
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4863 $as_echo_n "checking whether we are cross compiling... " >&6; }
4864 if test "$cross_compiling" != yes; then
4865 { { ac_try="$ac_link"
4867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4868 *) ac_try_echo=$ac_try;;
4870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4871 $as_echo "$ac_try_echo"; } >&5
4872 (eval "$ac_link") 2>&5
4874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4875 test $ac_status = 0; }
4876 if { ac_try='./conftest$ac_cv_exeext'
4877 { { case "(($ac_try" in
4878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4879 *) ac_try_echo=$ac_try;;
4881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4882 $as_echo "$ac_try_echo"; } >&5
4883 (eval "$ac_try") 2>&5
4885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4886 test $ac_status = 0; }; }; then
4889 if test "$cross_compiling" = maybe; then
4892 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4894 as_fn_error $? "cannot run C compiled programs.
4895 If you meant to cross compile, use \`--host'.
4896 See \`config.log' for more details" "$LINENO" 5 ; }
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4901 $as_echo "$cross_compiling" >&6; }
4903 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4904 ac_clean_files=$ac_clean_files_save
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4906 $as_echo_n "checking for suffix of object files... " >&6; }
4907 if test "${ac_cv_objext+set}" = set; then :
4908 $as_echo_n "(cached) " >&6
4910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4911 /* end confdefs.h. */
4921 rm -f conftest.o conftest.obj
4922 if { { ac_try="$ac_compile"
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4928 $as_echo "$ac_try_echo"; } >&5
4929 (eval "$ac_compile") 2>&5
4931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4932 test $ac_status = 0; }; then :
4933 for ac_file in conftest.o conftest.obj conftest.*; do
4934 test -f "$ac_file" || continue;
4936 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4937 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4942 $as_echo "$as_me: failed program was:" >&5
4943 sed 's/^/| /' conftest.$ac_ext >&5
4945 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4947 as_fn_error $? "cannot compute suffix of object files: cannot compile
4948 See \`config.log' for more details" "$LINENO" 5 ; }
4950 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4953 $as_echo "$ac_cv_objext" >&6; }
4954 OBJEXT=$ac_cv_objext
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4957 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4958 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4959 $as_echo_n "(cached) " >&6
4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4962 /* end confdefs.h. */
4975 if ac_fn_c_try_compile "$LINENO"; then :
4980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4981 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4985 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4986 if test $ac_compiler_gnu = yes; then
4991 ac_test_CFLAGS=${CFLAGS+set}
4992 ac_save_CFLAGS=$CFLAGS
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4994 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4995 if test "${ac_cv_prog_cc_g+set}" = set; then :
4996 $as_echo_n "(cached) " >&6
4998 ac_save_c_werror_flag=$ac_c_werror_flag
4999 ac_c_werror_flag=yes
5002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5003 /* end confdefs.h. */
5013 if ac_fn_c_try_compile "$LINENO"; then :
5017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5018 /* end confdefs.h. */
5028 if ac_fn_c_try_compile "$LINENO"; then :
5031 ac_c_werror_flag=$ac_save_c_werror_flag
5033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5034 /* end confdefs.h. */
5044 if ac_fn_c_try_compile "$LINENO"; then :
5047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5052 ac_c_werror_flag=$ac_save_c_werror_flag
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5055 $as_echo "$ac_cv_prog_cc_g" >&6; }
5056 if test "$ac_test_CFLAGS" = set; then
5057 CFLAGS=$ac_save_CFLAGS
5058 elif test $ac_cv_prog_cc_g = yes; then
5059 if test "$GCC" = yes; then
5065 if test "$GCC" = yes; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5072 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5073 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5074 $as_echo_n "(cached) " >&6
5076 ac_cv_prog_cc_c89=no
5078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5079 /* end confdefs.h. */
5082 #include <sys/types.h>
5083 #include <sys/stat.h>
5084 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5085 struct buf { int x; };
5086 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5087 static char *e (p, i)
5093 static char *f (char * (*g) (char **, int), char **p, ...)
5098 s = g (p, va_arg (v,int));
5103 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5104 function prototypes and stuff, but not '\xHH' hex character constants.
5105 These don't provoke an error unfortunately, instead are silently treated
5106 as 'x'. The following induces an error, until -std is added to get
5107 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5108 array size at least. It's necessary to write '\x00'==0 to get something
5109 that's true only with -std. */
5110 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5112 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5113 inside strings and character constants. */
5115 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5117 int test (int i, double x);
5118 struct s1 {int (*f) (int a);};
5119 struct s2 {int (*f) (double a);};
5120 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5126 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5131 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5132 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5134 CC="$ac_save_CC $ac_arg"
5135 if ac_fn_c_try_compile "$LINENO"; then :
5136 ac_cv_prog_cc_c89=$ac_arg
5138 rm -f core conftest.err conftest.$ac_objext
5139 test "x$ac_cv_prog_cc_c89" != "xno" && break
5141 rm -f conftest.$ac_ext
5146 case "x$ac_cv_prog_cc_c89" in
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5149 $as_echo "none needed" >&6; } ;;
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5152 $as_echo "unsupported" >&6; } ;;
5154 CC="$CC $ac_cv_prog_cc_c89"
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5156 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5158 if test "x$ac_cv_prog_cc_c89" != xno; then :
5163 ac_cpp='$CPP $CPPFLAGS'
5164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5168 depcc="$CC" am_compiler_list=
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5171 $as_echo_n "checking dependency style of $depcc... " >&6; }
5172 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5173 $as_echo_n "(cached) " >&6
5175 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5176 # We make a subdir and do the tests there. Otherwise we can end up
5177 # making bogus files that we don't know about and never remove. For
5178 # instance it was reported that on HP-UX the gcc test will end up
5179 # making a dummy file named `D' -- because `-MD' means `put the output
5182 # Copy depcomp to subdir because otherwise we won't find it if we're
5183 # using a relative directory.
5184 cp "$am_depcomp" conftest.dir
5186 # We will build objects and dependencies in a subdirectory because
5187 # it helps to detect inapplicable dependency modes. For instance
5188 # both Tru64's cc and ICC support -MD to output dependencies as a
5189 # side effect of compilation, but ICC will put the dependencies in
5190 # the current directory while Tru64 will put them in the object
5194 am_cv_CC_dependencies_compiler_type=none
5195 if test "$am_compiler_list" = ""; then
5196 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5199 case " $depcc " in #(
5200 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5203 for depmode in $am_compiler_list; do
5204 # Setup a source with many dependencies, because some compilers
5205 # like to wrap large dependency lists on column 80 (with \), and
5206 # we should not choose a depcomp mode which is confused by this.
5208 # We need to recreate these files for each test, as the compiler may
5209 # overwrite some of them when testing with obscure command lines.
5210 # This happens at least with the AIX C compiler.
5212 for i in 1 2 3 4 5 6; do
5213 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5214 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5215 # Solaris 8's {/usr,}/bin/sh.
5216 touch sub/conftst$i.h
5218 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5220 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5221 # mode. It turns out that the SunPro C++ compiler does not properly
5222 # handle `-M -o', and we need to detect this. Also, some Intel
5223 # versions had trouble with output in subdirs
5224 am__obj=sub/conftest.${OBJEXT-o}
5225 am__minus_obj="-o $am__obj"
5228 # This depmode causes a compiler race in universal mode.
5229 test "$am__universal" = false || continue
5232 # after this tag, mechanisms are not by side-effect, so they'll
5233 # only be used when explicitly requested
5234 if test "x$enable_dependency_tracking" = xyes; then
5240 msvisualcpp | msvcmsys)
5241 # This compiler won't grok `-c -o', but also, the minuso test has
5242 # not run yet. These depmodes are late enough in the game, and
5243 # so weak that their functioning should not be impacted.
5244 am__obj=conftest.${OBJEXT-o}
5249 if depmode=$depmode \
5250 source=sub/conftest.c object=$am__obj \
5251 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5252 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5253 >/dev/null 2>conftest.err &&
5254 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5255 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5256 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5257 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5258 # icc doesn't choke on unknown options, it will just issue warnings
5259 # or remarks (even with -Werror). So we grep stderr for any message
5260 # that says an option was ignored or not supported.
5261 # When given -MP, icc 7.0 and 7.1 complain thusly:
5262 # icc: Command line warning: ignoring option '-M'; no argument required
5263 # The diagnosis changed in icc 8.0:
5264 # icc: Command line remark: option '-MP' not supported
5265 if (grep 'ignoring option' conftest.err ||
5266 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5267 am_cv_CC_dependencies_compiler_type=$depmode
5276 am_cv_CC_dependencies_compiler_type=none
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5281 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5282 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5285 test "x$enable_dependency_tracking" != xno \
5286 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5288 am__fastdepCC_FALSE='#'
5290 am__fastdepCC_TRUE='#'
5291 am__fastdepCC_FALSE=
5296 ac_cpp='$CPP $CPPFLAGS'
5297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5301 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5302 # On Suns, sometimes $CPP names a directory.
5303 if test -n "$CPP" && test -d "$CPP"; then
5306 if test -z "$CPP"; then
5307 if test "${ac_cv_prog_CPP+set}" = set; then :
5308 $as_echo_n "(cached) " >&6
5310 # Double quotes because CPP needs to be expanded
5311 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5314 for ac_c_preproc_warn_flag in '' yes
5316 # Use a header file that comes with gcc, so configuring glibc
5317 # with a fresh cross-compiler works.
5318 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5319 # <limits.h> exists even on freestanding compilers.
5320 # On the NeXT, cc -E runs the code through the compiler's parser,
5321 # not just through cpp. "Syntax error" is here to catch this case.
5322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5323 /* end confdefs.h. */
5325 # include <limits.h>
5327 # include <assert.h>
5331 if ac_fn_c_try_cpp "$LINENO"; then :
5334 # Broken: fails on valid input.
5337 rm -f conftest.err conftest.i conftest.$ac_ext
5339 # OK, works on sane cases. Now check whether nonexistent headers
5340 # can be detected and how.
5341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5342 /* end confdefs.h. */
5343 #include <ac_nonexistent.h>
5345 if ac_fn_c_try_cpp "$LINENO"; then :
5346 # Broken: success on invalid input.
5349 # Passes both tests.
5353 rm -f conftest.err conftest.i conftest.$ac_ext
5356 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5357 rm -f conftest.i conftest.err conftest.$ac_ext
5358 if $ac_preproc_ok; then :
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5371 $as_echo "$CPP" >&6; }
5373 for ac_c_preproc_warn_flag in '' yes
5375 # Use a header file that comes with gcc, so configuring glibc
5376 # with a fresh cross-compiler works.
5377 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5378 # <limits.h> exists even on freestanding compilers.
5379 # On the NeXT, cc -E runs the code through the compiler's parser,
5380 # not just through cpp. "Syntax error" is here to catch this case.
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5384 # include <limits.h>
5386 # include <assert.h>
5390 if ac_fn_c_try_cpp "$LINENO"; then :
5393 # Broken: fails on valid input.
5396 rm -f conftest.err conftest.i conftest.$ac_ext
5398 # OK, works on sane cases. Now check whether nonexistent headers
5399 # can be detected and how.
5400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5401 /* end confdefs.h. */
5402 #include <ac_nonexistent.h>
5404 if ac_fn_c_try_cpp "$LINENO"; then :
5405 # Broken: success on invalid input.
5408 # Passes both tests.
5412 rm -f conftest.err conftest.i conftest.$ac_ext
5415 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5416 rm -f conftest.i conftest.err conftest.$ac_ext
5417 if $ac_preproc_ok; then :
5420 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5422 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5423 See \`config.log' for more details" "$LINENO" 5 ; }
5427 ac_cpp='$CPP $CPPFLAGS'
5428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5435 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5436 if test "${ac_cv_path_GREP+set}" = set; then :
5437 $as_echo_n "(cached) " >&6
5439 if test -z "$GREP"; then
5440 ac_path_GREP_found=false
5441 # Loop through the user's path and test for each of PROGNAME-LIST
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5446 test -z "$as_dir" && as_dir=.
5447 for ac_prog in grep ggrep; do
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5450 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5451 # Check for GNU ac_path_GREP and select it if it is found.
5452 # Check for GNU $ac_path_GREP
5453 case `"$ac_path_GREP" --version 2>&1` in
5455 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5458 $as_echo_n 0123456789 >"conftest.in"
5461 cat "conftest.in" "conftest.in" >"conftest.tmp"
5462 mv "conftest.tmp" "conftest.in"
5463 cp "conftest.in" "conftest.nl"
5464 $as_echo 'GREP' >> "conftest.nl"
5465 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5466 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5467 as_fn_arith $ac_count + 1 && ac_count=$as_val
5468 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5469 # Best one so far, save it but keep looking for a better one
5470 ac_cv_path_GREP="$ac_path_GREP"
5471 ac_path_GREP_max=$ac_count
5473 # 10*(2^10) chars as input seems more than enough
5474 test $ac_count -gt 10 && break
5476 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5479 $ac_path_GREP_found && break 3
5484 if test -z "$ac_cv_path_GREP"; then
5485 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5488 ac_cv_path_GREP=$GREP
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5493 $as_echo "$ac_cv_path_GREP" >&6; }
5494 GREP="$ac_cv_path_GREP"
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5498 $as_echo_n "checking for egrep... " >&6; }
5499 if test "${ac_cv_path_EGREP+set}" = set; then :
5500 $as_echo_n "(cached) " >&6
5502 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5503 then ac_cv_path_EGREP="$GREP -E"
5505 if test -z "$EGREP"; then
5506 ac_path_EGREP_found=false
5507 # Loop through the user's path and test for each of PROGNAME-LIST
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5512 test -z "$as_dir" && as_dir=.
5513 for ac_prog in egrep; do
5514 for ac_exec_ext in '' $ac_executable_extensions; do
5515 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5516 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5517 # Check for GNU ac_path_EGREP and select it if it is found.
5518 # Check for GNU $ac_path_EGREP
5519 case `"$ac_path_EGREP" --version 2>&1` in
5521 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5524 $as_echo_n 0123456789 >"conftest.in"
5527 cat "conftest.in" "conftest.in" >"conftest.tmp"
5528 mv "conftest.tmp" "conftest.in"
5529 cp "conftest.in" "conftest.nl"
5530 $as_echo 'EGREP' >> "conftest.nl"
5531 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5532 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5533 as_fn_arith $ac_count + 1 && ac_count=$as_val
5534 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5535 # Best one so far, save it but keep looking for a better one
5536 ac_cv_path_EGREP="$ac_path_EGREP"
5537 ac_path_EGREP_max=$ac_count
5539 # 10*(2^10) chars as input seems more than enough
5540 test $ac_count -gt 10 && break
5542 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5545 $ac_path_EGREP_found && break 3
5550 if test -z "$ac_cv_path_EGREP"; then
5551 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5554 ac_cv_path_EGREP=$EGREP
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5560 $as_echo "$ac_cv_path_EGREP" >&6; }
5561 EGREP="$ac_cv_path_EGREP"
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5565 $as_echo_n "checking for ANSI C header files... " >&6; }
5566 if test "${ac_cv_header_stdc+set}" = set; then :
5567 $as_echo_n "(cached) " >&6
5569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5570 /* end confdefs.h. */
5584 if ac_fn_c_try_compile "$LINENO"; then :
5585 ac_cv_header_stdc=yes
5587 ac_cv_header_stdc=no
5589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5591 if test $ac_cv_header_stdc = yes; then
5592 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5594 /* end confdefs.h. */
5598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5599 $EGREP "memchr" >/dev/null 2>&1; then :
5602 ac_cv_header_stdc=no
5608 if test $ac_cv_header_stdc = yes; then
5609 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5611 /* end confdefs.h. */
5615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5616 $EGREP "free" >/dev/null 2>&1; then :
5619 ac_cv_header_stdc=no
5625 if test $ac_cv_header_stdc = yes; then
5626 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5627 if test "$cross_compiling" = yes; then :
5630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5631 /* end confdefs.h. */
5634 #if ((' ' & 0x0FF) == 0x020)
5635 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5636 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5638 # define ISLOWER(c) \
5639 (('a' <= (c) && (c) <= 'i') \
5640 || ('j' <= (c) && (c) <= 'r') \
5641 || ('s' <= (c) && (c) <= 'z'))
5642 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5645 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5650 for (i = 0; i < 256; i++)
5651 if (XOR (islower (i), ISLOWER (i))
5652 || toupper (i) != TOUPPER (i))
5657 if ac_fn_c_try_run "$LINENO"; then :
5660 ac_cv_header_stdc=no
5662 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5663 conftest.$ac_objext conftest.beam conftest.$ac_ext
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5669 $as_echo "$ac_cv_header_stdc" >&6; }
5670 if test $ac_cv_header_stdc = yes; then
5672 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5676 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5677 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5678 inttypes.h stdint.h unistd.h
5680 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5681 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5683 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5684 cat >>confdefs.h <<_ACEOF
5685 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5694 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5695 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
5702 if test "$MINIX" = yes; then
5704 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5707 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5710 $as_echo "#define _MINIX 1" >>confdefs.h
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5716 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5717 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5718 $as_echo_n "(cached) " >&6
5720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5721 /* end confdefs.h. */
5723 # define __EXTENSIONS__ 1
5724 $ac_includes_default
5733 if ac_fn_c_try_compile "$LINENO"; then :
5734 ac_cv_safe_to_define___extensions__=yes
5736 ac_cv_safe_to_define___extensions__=no
5738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5741 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5742 test $ac_cv_safe_to_define___extensions__ = yes &&
5743 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5745 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5747 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5749 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5751 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
5756 $as_echo_n "checking for library containing strerror... " >&6; }
5757 if test "${ac_cv_search_strerror+set}" = set; then :
5758 $as_echo_n "(cached) " >&6
5760 ac_func_search_save_LIBS=$LIBS
5761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5762 /* end confdefs.h. */
5764 /* Override any GCC internal prototype to avoid an error.
5765 Use char because int might match the return type of a GCC
5766 builtin and then its argument prototype would still apply. */
5779 for ac_lib in '' cposix; do
5780 if test -z "$ac_lib"; then
5781 ac_res="none required"
5784 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5786 if ac_fn_c_try_link "$LINENO"; then :
5787 ac_cv_search_strerror=$ac_res
5789 rm -f core conftest.err conftest.$ac_objext \
5791 if test "${ac_cv_search_strerror+set}" = set; then :
5795 if test "${ac_cv_search_strerror+set}" = set; then :
5798 ac_cv_search_strerror=no
5801 LIBS=$ac_func_search_save_LIBS
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
5804 $as_echo "$ac_cv_search_strerror" >&6; }
5805 ac_res=$ac_cv_search_strerror
5806 if test "$ac_res" != no; then :
5807 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5814 ac_cpp='$CXXCPP $CPPFLAGS'
5815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5818 if test -z "$CXX"; then
5819 if test -n "$CCC"; then
5822 if test -n "$ac_tool_prefix"; then
5823 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5826 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5828 $as_echo_n "checking for $ac_word... " >&6; }
5829 if test "${ac_cv_prog_CXX+set}" = set; then :
5830 $as_echo_n "(cached) " >&6
5832 if test -n "$CXX"; then
5833 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5839 test -z "$as_dir" && as_dir=.
5840 for ac_exec_ext in '' $ac_executable_extensions; do
5841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5842 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 if test -n "$CXX"; then
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5855 $as_echo "$CXX" >&6; }
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858 $as_echo "no" >&6; }
5862 test -n "$CXX" && break
5865 if test -z "$CXX"; then
5867 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5869 # Extract the first word of "$ac_prog", so it can be a program name with args.
5870 set dummy $ac_prog; ac_word=$2
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5872 $as_echo_n "checking for $ac_word... " >&6; }
5873 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5874 $as_echo_n "(cached) " >&6
5876 if test -n "$ac_ct_CXX"; then
5877 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5886 ac_cv_prog_ac_ct_CXX="$ac_prog"
5887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5897 if test -n "$ac_ct_CXX"; then
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5899 $as_echo "$ac_ct_CXX" >&6; }
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902 $as_echo "no" >&6; }
5906 test -n "$ac_ct_CXX" && break
5909 if test "x$ac_ct_CXX" = x; then
5912 case $cross_compiling:$ac_tool_warned in
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5916 ac_tool_warned=yes ;;
5924 # Provide some information about the compiler.
5925 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5928 for ac_option in --version -v -V -qversion; do
5929 { { ac_try="$ac_compiler $ac_option >&5"
5931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5932 *) ac_try_echo=$ac_try;;
5934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5935 $as_echo "$ac_try_echo"; } >&5
5936 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5938 if test -s conftest.err; then
5940 ... rest of stderr output deleted ...
5941 10q' conftest.err >conftest.er1
5942 cat conftest.er1 >&5
5944 rm -f conftest.er1 conftest.err
5945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5946 test $ac_status = 0; }
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5950 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5951 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5952 $as_echo_n "(cached) " >&6
5954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5955 /* end confdefs.h. */
5968 if ac_fn_cxx_try_compile "$LINENO"; then :
5973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5974 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5978 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5979 if test $ac_compiler_gnu = yes; then
5984 ac_test_CXXFLAGS=${CXXFLAGS+set}
5985 ac_save_CXXFLAGS=$CXXFLAGS
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5987 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5988 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5989 $as_echo_n "(cached) " >&6
5991 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5992 ac_cxx_werror_flag=yes
5995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5996 /* end confdefs.h. */
6006 if ac_fn_cxx_try_compile "$LINENO"; then :
6007 ac_cv_prog_cxx_g=yes
6010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6011 /* end confdefs.h. */
6021 if ac_fn_cxx_try_compile "$LINENO"; then :
6024 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6027 /* end confdefs.h. */
6037 if ac_fn_cxx_try_compile "$LINENO"; then :
6038 ac_cv_prog_cxx_g=yes
6040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6045 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6048 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6049 if test "$ac_test_CXXFLAGS" = set; then
6050 CXXFLAGS=$ac_save_CXXFLAGS
6051 elif test $ac_cv_prog_cxx_g = yes; then
6052 if test "$GXX" = yes; then
6058 if test "$GXX" = yes; then
6065 ac_cpp='$CPP $CPPFLAGS'
6066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6070 depcc="$CXX" am_compiler_list=
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6073 $as_echo_n "checking dependency style of $depcc... " >&6; }
6074 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
6075 $as_echo_n "(cached) " >&6
6077 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6078 # We make a subdir and do the tests there. Otherwise we can end up
6079 # making bogus files that we don't know about and never remove. For
6080 # instance it was reported that on HP-UX the gcc test will end up
6081 # making a dummy file named `D' -- because `-MD' means `put the output
6084 # Copy depcomp to subdir because otherwise we won't find it if we're
6085 # using a relative directory.
6086 cp "$am_depcomp" conftest.dir
6088 # We will build objects and dependencies in a subdirectory because
6089 # it helps to detect inapplicable dependency modes. For instance
6090 # both Tru64's cc and ICC support -MD to output dependencies as a
6091 # side effect of compilation, but ICC will put the dependencies in
6092 # the current directory while Tru64 will put them in the object
6096 am_cv_CXX_dependencies_compiler_type=none
6097 if test "$am_compiler_list" = ""; then
6098 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6101 case " $depcc " in #(
6102 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6105 for depmode in $am_compiler_list; do
6106 # Setup a source with many dependencies, because some compilers
6107 # like to wrap large dependency lists on column 80 (with \), and
6108 # we should not choose a depcomp mode which is confused by this.
6110 # We need to recreate these files for each test, as the compiler may
6111 # overwrite some of them when testing with obscure command lines.
6112 # This happens at least with the AIX C compiler.
6114 for i in 1 2 3 4 5 6; do
6115 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6116 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6117 # Solaris 8's {/usr,}/bin/sh.
6118 touch sub/conftst$i.h
6120 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6122 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6123 # mode. It turns out that the SunPro C++ compiler does not properly
6124 # handle `-M -o', and we need to detect this. Also, some Intel
6125 # versions had trouble with output in subdirs
6126 am__obj=sub/conftest.${OBJEXT-o}
6127 am__minus_obj="-o $am__obj"
6130 # This depmode causes a compiler race in universal mode.
6131 test "$am__universal" = false || continue
6134 # after this tag, mechanisms are not by side-effect, so they'll
6135 # only be used when explicitly requested
6136 if test "x$enable_dependency_tracking" = xyes; then
6142 msvisualcpp | msvcmsys)
6143 # This compiler won't grok `-c -o', but also, the minuso test has
6144 # not run yet. These depmodes are late enough in the game, and
6145 # so weak that their functioning should not be impacted.
6146 am__obj=conftest.${OBJEXT-o}
6151 if depmode=$depmode \
6152 source=sub/conftest.c object=$am__obj \
6153 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6154 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6155 >/dev/null 2>conftest.err &&
6156 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6157 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6158 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6159 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6160 # icc doesn't choke on unknown options, it will just issue warnings
6161 # or remarks (even with -Werror). So we grep stderr for any message
6162 # that says an option was ignored or not supported.
6163 # When given -MP, icc 7.0 and 7.1 complain thusly:
6164 # icc: Command line warning: ignoring option '-M'; no argument required
6165 # The diagnosis changed in icc 8.0:
6166 # icc: Command line remark: option '-MP' not supported
6167 if (grep 'ignoring option' conftest.err ||
6168 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6169 am_cv_CXX_dependencies_compiler_type=$depmode
6178 am_cv_CXX_dependencies_compiler_type=none
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6183 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6184 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6187 test "x$enable_dependency_tracking" != xno \
6188 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6189 am__fastdepCXX_TRUE=
6190 am__fastdepCXX_FALSE='#'
6192 am__fastdepCXX_TRUE='#'
6193 am__fastdepCXX_FALSE=
6198 ac_cpp='$CXXCPP $CPPFLAGS'
6199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6203 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6204 if test -z "$CXXCPP"; then
6205 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
6206 $as_echo_n "(cached) " >&6
6208 # Double quotes because CXXCPP needs to be expanded
6209 for CXXCPP in "$CXX -E" "/lib/cpp"
6212 for ac_cxx_preproc_warn_flag in '' yes
6214 # Use a header file that comes with gcc, so configuring glibc
6215 # with a fresh cross-compiler works.
6216 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6217 # <limits.h> exists even on freestanding compilers.
6218 # On the NeXT, cc -E runs the code through the compiler's parser,
6219 # not just through cpp. "Syntax error" is here to catch this case.
6220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6221 /* end confdefs.h. */
6223 # include <limits.h>
6225 # include <assert.h>
6229 if ac_fn_cxx_try_cpp "$LINENO"; then :
6232 # Broken: fails on valid input.
6235 rm -f conftest.err conftest.i conftest.$ac_ext
6237 # OK, works on sane cases. Now check whether nonexistent headers
6238 # can be detected and how.
6239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6240 /* end confdefs.h. */
6241 #include <ac_nonexistent.h>
6243 if ac_fn_cxx_try_cpp "$LINENO"; then :
6244 # Broken: success on invalid input.
6247 # Passes both tests.
6251 rm -f conftest.err conftest.i conftest.$ac_ext
6254 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6255 rm -f conftest.i conftest.err conftest.$ac_ext
6256 if $ac_preproc_ok; then :
6261 ac_cv_prog_CXXCPP=$CXXCPP
6264 CXXCPP=$ac_cv_prog_CXXCPP
6266 ac_cv_prog_CXXCPP=$CXXCPP
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6269 $as_echo "$CXXCPP" >&6; }
6271 for ac_cxx_preproc_warn_flag in '' yes
6273 # Use a header file that comes with gcc, so configuring glibc
6274 # with a fresh cross-compiler works.
6275 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6276 # <limits.h> exists even on freestanding compilers.
6277 # On the NeXT, cc -E runs the code through the compiler's parser,
6278 # not just through cpp. "Syntax error" is here to catch this case.
6279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6280 /* end confdefs.h. */
6282 # include <limits.h>
6284 # include <assert.h>
6288 if ac_fn_cxx_try_cpp "$LINENO"; then :
6291 # Broken: fails on valid input.
6294 rm -f conftest.err conftest.i conftest.$ac_ext
6296 # OK, works on sane cases. Now check whether nonexistent headers
6297 # can be detected and how.
6298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6299 /* end confdefs.h. */
6300 #include <ac_nonexistent.h>
6302 if ac_fn_cxx_try_cpp "$LINENO"; then :
6303 # Broken: success on invalid input.
6306 # Passes both tests.
6310 rm -f conftest.err conftest.i conftest.$ac_ext
6313 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6314 rm -f conftest.i conftest.err conftest.$ac_ext
6315 if $ac_preproc_ok; then :
6318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6320 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
6321 See \`config.log' for more details" "$LINENO" 5 ; }
6325 ac_cpp='$CPP $CPPFLAGS'
6326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6337 ac_cpp='$CXXCPP $CPPFLAGS'
6338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ has std::isnan" >&5
6345 $as_echo_n "checking whether C++ has std::isnan... " >&6; }
6346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6347 /* end confdefs.h. */
6359 if ac_fn_cxx_try_compile "$LINENO"; then :
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6361 $as_echo "yes" >&6; }
6363 $as_echo "#define CXX_HAS_STD_ISNAN /**/" >>confdefs.h
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6367 $as_echo "no" >&6; }
6369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6372 ac_cpp='$CPP $CPPFLAGS'
6373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gr_libdir_suffix" >&5
6384 $as_echo_n "checking gr_libdir_suffix... " >&6; }
6389 linux*) is_linux=yes ;;
6393 if test "$is_linux" = no || test "$host_cpu" != "x86_64" && test "$host_cpu" != "powerpc64"; then
6395 elif test "$cross_compiling" = yes; then
6397 if test "$ac_cv_cxx_compiler_gnu" = "yes";
6399 gr_libdir_suffix=`$CXX -Wl,--verbose 2>/dev/null | sed -n -e '/SEARCH_DIR/{s/;.*$//; s,^.*/,,; s/".*$//; s/^lib//; p}'`
6402 elif test "$host_cpu" = "x86_64"; then
6403 if test -d /lib64 && test ! -L /lib64; then
6408 if test "$ac_cv_cxx_compiler_gnu" = "yes";
6410 gr_libdir_suffix=`$CXX -Wl,--verbose 2>/dev/null | sed -n -e '/SEARCH_DIR/{s/;.*$//; s,^.*/,,; s/".*$//; s/^lib//; p}'`
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gr_libdir_suffix" >&5
6415 $as_echo "$gr_libdir_suffix" >&6; }
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to append 64 to libdir" >&5
6419 $as_echo_n "checking whether to append 64 to libdir... " >&6; }
6421 if test "$t" != 64 && test "$gr_libdir_suffix" = "64"; then
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes. Setting libdir to $libdir" >&5
6424 $as_echo "yes. Setting libdir to $libdir" >&6; }
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6427 $as_echo "no" >&6; }
6431 if test "$user_set_cflags" != yes; then
6432 autoconf_default_CFLAGS="$CFLAGS"
6438 if test "$user_set_cxxflags" != yes; then
6439 autoconf_default_CXXFLAGS="$CXXFLAGS"
6441 if test "$GXX" = yes; then
6444 swig_CXXFLAGS="-g1 -O2 -Wno-strict-aliasing -Wno-parentheses"
6447 swig_CXXFLAGS="-g -O1 -Wno-strict-aliasing -Wno-parentheses"
6455 if test x${PKG_CONFIG_PATH} = x; then
6456 PKG_CONFIG_PATH=${prefix}/lib${gr_libdir_suffix}/pkgconfig
6458 PKG_CONFIG_PATH=${prefix}/lib${gr_libdir_suffix}/pkgconfig:${PKG_CONFIG_PATH}
6460 export PKG_CONFIG_PATH
6463 cc_warning_flags="-Wall -Werror-implicit-function-declaration"
6464 cxx_warning_flags="-Wall -Woverloaded-virtual"
6468 echo 'void f(){}' > conftest.c
6469 for i in $cc_warning_flags
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $i" >&5
6472 $as_echo_n "checking whether $CC accepts $i... " >&6; }
6473 if test -z "`${CC} $i -c conftest.c 2>&1`"
6475 lf_CFLAGS="${lf_CFLAGS} $i"
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6477 $as_echo "yes" >&6; }
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6480 $as_echo "no" >&6; }
6483 rm -f conftest.c conftest.o
6490 echo 'void f(){}' > conftest.cc
6491 for i in $cxx_warning_flags
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts $i" >&5
6494 $as_echo_n "checking whether $CXX accepts $i... " >&6; }
6495 if test -z "`${CXX} $i -c conftest.cc 2>&1`"
6497 lf_CXXFLAGS="${lf_CXXFLAGS} $i"
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6499 $as_echo "yes" >&6; }
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6502 $as_echo "no" >&6; }
6505 rm -f conftest.cc conftest.o
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether user wants gprof" >&5
6512 $as_echo_n "checking whether user wants gprof... " >&6; }
6514 # Check whether --with-gprof was given.
6515 if test "${with_gprof+set}" = set; then :
6516 withval=$with_gprof;
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gprof" >&5
6522 $as_echo "$with_gprof" >&6; }
6524 cc_profiling_flags="-pg"
6525 cxx_profiling_flags="-pg"
6526 ld_profiling_flags="-pg"
6527 if test $with_gprof = yes
6532 echo 'void f(){}' > conftest.c
6533 for i in $cc_profiling_flags
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $i" >&5
6536 $as_echo_n "checking whether $CC accepts $i... " >&6; }
6537 if test -z "`${CC} $i -c conftest.c 2>&1`"
6539 lf_CFLAGS="${lf_CFLAGS} $i"
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6541 $as_echo "yes" >&6; }
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6547 rm -f conftest.c conftest.o
6554 echo 'void f(){}' > conftest.cc
6555 for i in $cxx_profiling_flags
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts $i" >&5
6558 $as_echo_n "checking whether $CXX accepts $i... " >&6; }
6559 if test -z "`${CXX} $i -c conftest.cc 2>&1`"
6561 lf_CXXFLAGS="${lf_CXXFLAGS} $i"
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6563 $as_echo "yes" >&6; }
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566 $as_echo "no" >&6; }
6569 rm -f conftest.cc conftest.o
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether user wants prof" >&5
6577 $as_echo_n "checking whether user wants prof... " >&6; }
6579 # Check whether --with-prof was given.
6580 if test "${with_prof+set}" = set; then :
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_prof" >&5
6587 $as_echo "$with_prof" >&6; }
6589 cc_profiling_flags="-p"
6590 cxx_profiling_flags="-p"
6591 ld_profiling_flags="-p"
6592 if test $with_prof = yes
6597 echo 'void f(){}' > conftest.c
6598 for i in $cc_profiling_flags
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $i" >&5
6601 $as_echo_n "checking whether $CC accepts $i... " >&6; }
6602 if test -z "`${CC} $i -c conftest.c 2>&1`"
6604 lf_CFLAGS="${lf_CFLAGS} $i"
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6606 $as_echo "yes" >&6; }
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6609 $as_echo "no" >&6; }
6612 rm -f conftest.c conftest.o
6619 echo 'void f(){}' > conftest.cc
6620 for i in $cxx_profiling_flags
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts $i" >&5
6623 $as_echo_n "checking whether $CXX accepts $i... " >&6; }
6624 if test -z "`${CXX} $i -c conftest.cc 2>&1`"
6626 lf_CXXFLAGS="${lf_CXXFLAGS} $i"
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6628 $as_echo "yes" >&6; }
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6631 $as_echo "no" >&6; }
6634 rm -f conftest.cc conftest.o
6640 # By default we simply use the C compiler to build assembly code.
6642 test "${CCAS+set}" = set || CCAS=$CC
6643 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
6647 depcc="$CCAS" am_compiler_list=
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6650 $as_echo_n "checking dependency style of $depcc... " >&6; }
6651 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
6652 $as_echo_n "(cached) " >&6
6654 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6655 # We make a subdir and do the tests there. Otherwise we can end up
6656 # making bogus files that we don't know about and never remove. For
6657 # instance it was reported that on HP-UX the gcc test will end up
6658 # making a dummy file named `D' -- because `-MD' means `put the output
6661 # Copy depcomp to subdir because otherwise we won't find it if we're
6662 # using a relative directory.
6663 cp "$am_depcomp" conftest.dir
6665 # We will build objects and dependencies in a subdirectory because
6666 # it helps to detect inapplicable dependency modes. For instance
6667 # both Tru64's cc and ICC support -MD to output dependencies as a
6668 # side effect of compilation, but ICC will put the dependencies in
6669 # the current directory while Tru64 will put them in the object
6673 am_cv_CCAS_dependencies_compiler_type=none
6674 if test "$am_compiler_list" = ""; then
6675 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6680 for depmode in $am_compiler_list; do
6681 # Setup a source with many dependencies, because some compilers
6682 # like to wrap large dependency lists on column 80 (with \), and
6683 # we should not choose a depcomp mode which is confused by this.
6685 # We need to recreate these files for each test, as the compiler may
6686 # overwrite some of them when testing with obscure command lines.
6687 # This happens at least with the AIX C compiler.
6689 for i in 1 2 3 4 5 6; do
6690 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6691 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6692 # Solaris 8's {/usr,}/bin/sh.
6693 touch sub/conftst$i.h
6695 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6697 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6698 # mode. It turns out that the SunPro C++ compiler does not properly
6699 # handle `-M -o', and we need to detect this. Also, some Intel
6700 # versions had trouble with output in subdirs
6701 am__obj=sub/conftest.${OBJEXT-o}
6702 am__minus_obj="-o $am__obj"
6705 # This depmode causes a compiler race in universal mode.
6706 test "$am__universal" = false || continue
6709 # after this tag, mechanisms are not by side-effect, so they'll
6710 # only be used when explicitly requested
6711 if test "x$enable_dependency_tracking" = xyes; then
6717 msvisualcpp | msvcmsys)
6718 # This compiler won't grok `-c -o', but also, the minuso test has
6719 # not run yet. These depmodes are late enough in the game, and
6720 # so weak that their functioning should not be impacted.
6721 am__obj=conftest.${OBJEXT-o}
6726 if depmode=$depmode \
6727 source=sub/conftest.c object=$am__obj \
6728 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6729 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6730 >/dev/null 2>conftest.err &&
6731 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6732 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6733 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6734 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6735 # icc doesn't choke on unknown options, it will just issue warnings
6736 # or remarks (even with -Werror). So we grep stderr for any message
6737 # that says an option was ignored or not supported.
6738 # When given -MP, icc 7.0 and 7.1 complain thusly:
6739 # icc: Command line warning: ignoring option '-M'; no argument required
6740 # The diagnosis changed in icc 8.0:
6741 # icc: Command line remark: option '-MP' not supported
6742 if (grep 'ignoring option' conftest.err ||
6743 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6744 am_cv_CCAS_dependencies_compiler_type=$depmode
6753 am_cv_CCAS_dependencies_compiler_type=none
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
6758 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
6759 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
6762 test "x$enable_dependency_tracking" != xno \
6763 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
6764 am__fastdepCCAS_TRUE=
6765 am__fastdepCCAS_FALSE='#'
6767 am__fastdepCCAS_TRUE='#'
6768 am__fastdepCCAS_FALSE=
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6773 $as_echo_n "checking whether ln -s works... " >&6; }
6775 if test "$LN_S" = "ln -s"; then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6777 $as_echo "yes" >&6; }
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6780 $as_echo "no, using $LN_S" >&6; }
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6784 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6786 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6787 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
6788 $as_echo_n "(cached) " >&6
6790 cat >conftest.make <<\_ACEOF
6793 @echo '@@@%%%=$(MAKE)=@@@%%%'
6795 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6796 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6798 eval ac_cv_prog_make_${ac_make}_set=yes;;
6800 eval ac_cv_prog_make_${ac_make}_set=no;;
6804 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6806 $as_echo "yes" >&6; }
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6810 $as_echo "no" >&6; }
6811 SET_MAKE="MAKE=${MAKE-make}"
6817 # is a backport of autoconf-2.60's AC_PROG_MKDIR_P.
6818 # Remove this macro when we can assume autoconf >= 2.60.
6822 # Extract the first word of "rm", so it can be a program name with args.
6823 set dummy rm; ac_word=$2
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6825 $as_echo_n "checking for $ac_word... " >&6; }
6826 if test "${ac_cv_path_RM_PROG+set}" = set; then :
6827 $as_echo_n "(cached) " >&6
6831 ac_cv_path_RM_PROG="$RM_PROG" # Let the user override the test with a path.
6834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6838 test -z "$as_dir" && as_dir=.
6839 for ac_exec_ext in '' $ac_executable_extensions; do
6840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6841 ac_cv_path_RM_PROG="$as_dir/$ac_word$ac_exec_ext"
6842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6852 RM_PROG=$ac_cv_path_RM_PROG
6853 if test -n "$RM_PROG"; then
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM_PROG" >&5
6855 $as_echo "$RM_PROG" >&6; }
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6858 $as_echo "no" >&6; }
6863 enable_win32_dll=yes
6866 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
6867 if test -n "$ac_tool_prefix"; then
6868 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6869 set dummy ${ac_tool_prefix}as; ac_word=$2
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 $as_echo_n "checking for $ac_word... " >&6; }
6872 if test "${ac_cv_prog_AS+set}" = set; then :
6873 $as_echo_n "(cached) " >&6
6875 if test -n "$AS"; then
6876 ac_cv_prog_AS="$AS" # Let the user override the test.
6878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6882 test -z "$as_dir" && as_dir=.
6883 for ac_exec_ext in '' $ac_executable_extensions; do
6884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6885 ac_cv_prog_AS="${ac_tool_prefix}as"
6886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6896 if test -n "$AS"; then
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6898 $as_echo "$AS" >&6; }
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901 $as_echo "no" >&6; }
6906 if test -z "$ac_cv_prog_AS"; then
6908 # Extract the first word of "as", so it can be a program name with args.
6909 set dummy as; ac_word=$2
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6911 $as_echo_n "checking for $ac_word... " >&6; }
6912 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
6913 $as_echo_n "(cached) " >&6
6915 if test -n "$ac_ct_AS"; then
6916 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6922 test -z "$as_dir" && as_dir=.
6923 for ac_exec_ext in '' $ac_executable_extensions; do
6924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6925 ac_cv_prog_ac_ct_AS="as"
6926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6935 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6936 if test -n "$ac_ct_AS"; then
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6938 $as_echo "$ac_ct_AS" >&6; }
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6941 $as_echo "no" >&6; }
6944 if test "x$ac_ct_AS" = x; then
6947 case $cross_compiling:$ac_tool_warned in
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6951 ac_tool_warned=yes ;;
6959 if test -n "$ac_tool_prefix"; then
6960 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6961 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6963 $as_echo_n "checking for $ac_word... " >&6; }
6964 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6965 $as_echo_n "(cached) " >&6
6967 if test -n "$DLLTOOL"; then
6968 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6974 test -z "$as_dir" && as_dir=.
6975 for ac_exec_ext in '' $ac_executable_extensions; do
6976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6977 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6987 DLLTOOL=$ac_cv_prog_DLLTOOL
6988 if test -n "$DLLTOOL"; then
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6990 $as_echo "$DLLTOOL" >&6; }
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6993 $as_echo "no" >&6; }
6998 if test -z "$ac_cv_prog_DLLTOOL"; then
6999 ac_ct_DLLTOOL=$DLLTOOL
7000 # Extract the first word of "dlltool", so it can be a program name with args.
7001 set dummy dlltool; ac_word=$2
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7003 $as_echo_n "checking for $ac_word... " >&6; }
7004 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
7005 $as_echo_n "(cached) " >&6
7007 if test -n "$ac_ct_DLLTOOL"; then
7008 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7014 test -z "$as_dir" && as_dir=.
7015 for ac_exec_ext in '' $ac_executable_extensions; do
7016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7017 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7027 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7028 if test -n "$ac_ct_DLLTOOL"; then
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7030 $as_echo "$ac_ct_DLLTOOL" >&6; }
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7033 $as_echo "no" >&6; }
7036 if test "x$ac_ct_DLLTOOL" = x; then
7039 case $cross_compiling:$ac_tool_warned in
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7043 ac_tool_warned=yes ;;
7045 DLLTOOL=$ac_ct_DLLTOOL
7048 DLLTOOL="$ac_cv_prog_DLLTOOL"
7051 if test -n "$ac_tool_prefix"; then
7052 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7053 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7055 $as_echo_n "checking for $ac_word... " >&6; }
7056 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7057 $as_echo_n "(cached) " >&6
7059 if test -n "$OBJDUMP"; then
7060 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7066 test -z "$as_dir" && as_dir=.
7067 for ac_exec_ext in '' $ac_executable_extensions; do
7068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7069 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7079 OBJDUMP=$ac_cv_prog_OBJDUMP
7080 if test -n "$OBJDUMP"; then
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7082 $as_echo "$OBJDUMP" >&6; }
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7085 $as_echo "no" >&6; }
7090 if test -z "$ac_cv_prog_OBJDUMP"; then
7091 ac_ct_OBJDUMP=$OBJDUMP
7092 # Extract the first word of "objdump", so it can be a program name with args.
7093 set dummy objdump; ac_word=$2
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7095 $as_echo_n "checking for $ac_word... " >&6; }
7096 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7097 $as_echo_n "(cached) " >&6
7099 if test -n "$ac_ct_OBJDUMP"; then
7100 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7106 test -z "$as_dir" && as_dir=.
7107 for ac_exec_ext in '' $ac_executable_extensions; do
7108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7109 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7119 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7120 if test -n "$ac_ct_OBJDUMP"; then
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7122 $as_echo "$ac_ct_OBJDUMP" >&6; }
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7125 $as_echo "no" >&6; }
7128 if test "x$ac_ct_OBJDUMP" = x; then
7131 case $cross_compiling:$ac_tool_warned in
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7135 ac_tool_warned=yes ;;
7137 OBJDUMP=$ac_ct_OBJDUMP
7140 OBJDUMP="$ac_cv_prog_OBJDUMP"
7146 test -z "$AS" && AS=as
7152 test -z "$DLLTOOL" && DLLTOOL=dlltool
7158 test -z "$OBJDUMP" && OBJDUMP=objdump
7166 # Check whether --enable-shared was given.
7167 if test "${enable_shared+set}" = set; then :
7168 enableval=$enable_shared; p=${PACKAGE-default}
7170 yes) enable_shared=yes ;;
7171 no) enable_shared=no ;;
7174 # Look at the argument we got. We use all the common list separators.
7175 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7176 for pkg in $enableval; do
7178 if test "X$pkg" = "X$p"; then
7196 # Check whether --enable-static was given.
7197 if test "${enable_static+set}" = set; then :
7198 enableval=$enable_static; p=${PACKAGE-default}
7200 yes) enable_static=yes ;;
7201 no) enable_static=no ;;
7204 # Look at the argument we got. We use all the common list separators.
7205 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7206 for pkg in $enableval; do
7208 if test "X$pkg" = "X$p"; then
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7229 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7234 macro_version='2.2.6b'
7235 macro_revision='1.3017'
7249 ltmain="$ac_aux_dir/ltmain.sh"
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7252 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7253 if test "${ac_cv_path_SED+set}" = set; then :
7254 $as_echo_n "(cached) " >&6
7256 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7257 for ac_i in 1 2 3 4 5 6 7; do
7258 ac_script="$ac_script$as_nl$ac_script"
7260 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7261 { ac_script=; unset ac_script;}
7262 if test -z "$SED"; then
7263 ac_path_SED_found=false
7264 # Loop through the user's path and test for each of PROGNAME-LIST
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7269 test -z "$as_dir" && as_dir=.
7270 for ac_prog in sed gsed; do
7271 for ac_exec_ext in '' $ac_executable_extensions; do
7272 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7273 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7274 # Check for GNU ac_path_SED and select it if it is found.
7275 # Check for GNU $ac_path_SED
7276 case `"$ac_path_SED" --version 2>&1` in
7278 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7281 $as_echo_n 0123456789 >"conftest.in"
7284 cat "conftest.in" "conftest.in" >"conftest.tmp"
7285 mv "conftest.tmp" "conftest.in"
7286 cp "conftest.in" "conftest.nl"
7287 $as_echo '' >> "conftest.nl"
7288 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7289 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7290 as_fn_arith $ac_count + 1 && ac_count=$as_val
7291 if test $ac_count -gt ${ac_path_SED_max-0}; then
7292 # Best one so far, save it but keep looking for a better one
7293 ac_cv_path_SED="$ac_path_SED"
7294 ac_path_SED_max=$ac_count
7296 # 10*(2^10) chars as input seems more than enough
7297 test $ac_count -gt 10 && break
7299 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7302 $ac_path_SED_found && break 3
7307 if test -z "$ac_cv_path_SED"; then
7308 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7316 $as_echo "$ac_cv_path_SED" >&6; }
7317 SED="$ac_cv_path_SED"
7320 test -z "$SED" && SED=sed
7321 Xsed="$SED -e 1s/^X//"
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7334 $as_echo_n "checking for fgrep... " >&6; }
7335 if test "${ac_cv_path_FGREP+set}" = set; then :
7336 $as_echo_n "(cached) " >&6
7338 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7339 then ac_cv_path_FGREP="$GREP -F"
7341 if test -z "$FGREP"; then
7342 ac_path_FGREP_found=false
7343 # Loop through the user's path and test for each of PROGNAME-LIST
7344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7345 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7348 test -z "$as_dir" && as_dir=.
7349 for ac_prog in fgrep; do
7350 for ac_exec_ext in '' $ac_executable_extensions; do
7351 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7352 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7353 # Check for GNU ac_path_FGREP and select it if it is found.
7354 # Check for GNU $ac_path_FGREP
7355 case `"$ac_path_FGREP" --version 2>&1` in
7357 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7360 $as_echo_n 0123456789 >"conftest.in"
7363 cat "conftest.in" "conftest.in" >"conftest.tmp"
7364 mv "conftest.tmp" "conftest.in"
7365 cp "conftest.in" "conftest.nl"
7366 $as_echo 'FGREP' >> "conftest.nl"
7367 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7368 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7369 as_fn_arith $ac_count + 1 && ac_count=$as_val
7370 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7371 # Best one so far, save it but keep looking for a better one
7372 ac_cv_path_FGREP="$ac_path_FGREP"
7373 ac_path_FGREP_max=$ac_count
7375 # 10*(2^10) chars as input seems more than enough
7376 test $ac_count -gt 10 && break
7378 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7381 $ac_path_FGREP_found && break 3
7386 if test -z "$ac_cv_path_FGREP"; then
7387 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7390 ac_cv_path_FGREP=$FGREP
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7396 $as_echo "$ac_cv_path_FGREP" >&6; }
7397 FGREP="$ac_cv_path_FGREP"
7400 test -z "$GREP" && GREP=grep
7420 # Check whether --with-gnu-ld was given.
7421 if test "${with_gnu_ld+set}" = set; then :
7422 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7428 if test "$GCC" = yes; then
7429 # Check if gcc -print-prog-name=ld gives a path.
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7431 $as_echo_n "checking for ld used by $CC... " >&6; }
7434 # gcc leaves a trailing carriage return which upsets mingw
7435 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7437 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7440 # Accept absolute paths.
7442 re_direlt='/[^/][^/]*/\.\./'
7443 # Canonicalize the pathname of ld
7444 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7445 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7446 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7448 test -z "$LD" && LD="$ac_prog"
7451 # If it fails, then pretend we aren't using GCC.
7455 # If it is relative, then search for the first ld in PATH.
7459 elif test "$with_gnu_ld" = yes; then
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7461 $as_echo_n "checking for GNU ld... " >&6; }
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7464 $as_echo_n "checking for non-GNU ld... " >&6; }
7466 if test "${lt_cv_path_LD+set}" = set; then :
7467 $as_echo_n "(cached) " >&6
7469 if test -z "$LD"; then
7470 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7471 for ac_dir in $PATH; do
7473 test -z "$ac_dir" && ac_dir=.
7474 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7475 lt_cv_path_LD="$ac_dir/$ac_prog"
7476 # Check to see if the program is GNU ld. I'd rather use --version,
7477 # but apparently some variants of GNU ld only accept -v.
7478 # Break only if it was the GNU/non-GNU ld that we prefer.
7479 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7480 *GNU* | *'with BFD'*)
7481 test "$with_gnu_ld" != no && break
7484 test "$with_gnu_ld" != yes && break
7491 lt_cv_path_LD="$LD" # Let the user override the test with a path.
7496 if test -n "$LD"; then
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7498 $as_echo "$LD" >&6; }
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501 $as_echo "no" >&6; }
7503 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7505 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7506 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
7507 $as_echo_n "(cached) " >&6
7509 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7510 case `$LD -v 2>&1 </dev/null` in
7511 *GNU* | *'with BFD'*)
7512 lt_cv_prog_gnu_ld=yes
7515 lt_cv_prog_gnu_ld=no
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7520 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7521 with_gnu_ld=$lt_cv_prog_gnu_ld
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7532 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7533 if test "${lt_cv_path_NM+set}" = set; then :
7534 $as_echo_n "(cached) " >&6
7536 if test -n "$NM"; then
7537 # Let the user override the test.
7540 lt_nm_to_check="${ac_tool_prefix}nm"
7541 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7542 lt_nm_to_check="$lt_nm_to_check nm"
7544 for lt_tmp_nm in $lt_nm_to_check; do
7545 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7546 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7548 test -z "$ac_dir" && ac_dir=.
7549 tmp_nm="$ac_dir/$lt_tmp_nm"
7550 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7551 # Check to see if the nm accepts a BSD-compat flag.
7552 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7553 # nm: unknown option "B" ignored
7554 # Tru64's nm complains that /dev/null is an invalid object file
7555 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7556 */dev/null* | *'Invalid file or object type'*)
7557 lt_cv_path_NM="$tmp_nm -B"
7561 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7563 lt_cv_path_NM="$tmp_nm -p"
7567 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7568 continue # so that we can try to find one that supports BSD flags
7577 : ${lt_cv_path_NM=no}
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7581 $as_echo "$lt_cv_path_NM" >&6; }
7582 if test "$lt_cv_path_NM" != "no"; then
7585 # Didn't find any BSD compatible name lister, look for dumpbin.
7586 if test -n "$ac_tool_prefix"; then
7587 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
7589 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7590 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7592 $as_echo_n "checking for $ac_word... " >&6; }
7593 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
7594 $as_echo_n "(cached) " >&6
7596 if test -n "$DUMPBIN"; then
7597 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7603 test -z "$as_dir" && as_dir=.
7604 for ac_exec_ext in '' $ac_executable_extensions; do
7605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7606 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7616 DUMPBIN=$ac_cv_prog_DUMPBIN
7617 if test -n "$DUMPBIN"; then
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7619 $as_echo "$DUMPBIN" >&6; }
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7622 $as_echo "no" >&6; }
7626 test -n "$DUMPBIN" && break
7629 if test -z "$DUMPBIN"; then
7630 ac_ct_DUMPBIN=$DUMPBIN
7631 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
7633 # Extract the first word of "$ac_prog", so it can be a program name with args.
7634 set dummy $ac_prog; ac_word=$2
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7636 $as_echo_n "checking for $ac_word... " >&6; }
7637 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
7638 $as_echo_n "(cached) " >&6
7640 if test -n "$ac_ct_DUMPBIN"; then
7641 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647 test -z "$as_dir" && as_dir=.
7648 for ac_exec_ext in '' $ac_executable_extensions; do
7649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7650 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7660 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7661 if test -n "$ac_ct_DUMPBIN"; then
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7663 $as_echo "$ac_ct_DUMPBIN" >&6; }
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7666 $as_echo "no" >&6; }
7670 test -n "$ac_ct_DUMPBIN" && break
7673 if test "x$ac_ct_DUMPBIN" = x; then
7676 case $cross_compiling:$ac_tool_warned in
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7680 ac_tool_warned=yes ;;
7682 DUMPBIN=$ac_ct_DUMPBIN
7687 if test "$DUMPBIN" != ":"; then
7691 test -z "$NM" && NM=nm
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7699 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7700 if test "${lt_cv_nm_interface+set}" = set; then :
7701 $as_echo_n "(cached) " >&6
7703 lt_cv_nm_interface="BSD nm"
7704 echo "int some_variable = 0;" > conftest.$ac_ext
7705 (eval echo "\"\$as_me:7705: $ac_compile\"" >&5)
7706 (eval "$ac_compile" 2>conftest.err)
7707 cat conftest.err >&5
7708 (eval echo "\"\$as_me:7708: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7709 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7710 cat conftest.err >&5
7711 (eval echo "\"\$as_me:7711: output\"" >&5)
7712 cat conftest.out >&5
7713 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7714 lt_cv_nm_interface="MS dumpbin"
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7719 $as_echo "$lt_cv_nm_interface" >&6; }
7721 # find the maximum length of command line arguments
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7723 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7724 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7725 $as_echo_n "(cached) " >&6
7732 # On DJGPP, this test can blow up pretty badly due to problems in libc
7733 # (any single argument exceeding 2000 bytes causes a buffer overrun
7734 # during glob expansion). Even if it were fixed, the result of this
7735 # check would be larger than it should be.
7736 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7740 # Under GNU Hurd, this test is not required because there is
7741 # no limit to the length of command line arguments.
7742 # Libtool will interpret -1 as no limit whatsoever
7743 lt_cv_sys_max_cmd_len=-1;
7746 cygwin* | mingw* | cegcc*)
7747 # On Win9x/ME, this test blows up -- it succeeds, but takes
7748 # about 5 minutes as the teststring grows exponentially.
7749 # Worse, since 9x/ME are not pre-emptively multitasking,
7750 # you end up with a "frozen" computer, even though with patience
7751 # the test eventually succeeds (with a max line length of 256k).
7752 # Instead, let's just punt: use the minimum linelength reported by
7753 # all of the supported platforms: 8192 (on NT/2K/XP).
7754 lt_cv_sys_max_cmd_len=8192;
7758 # On AmigaOS with pdksh, this test takes hours, literally.
7759 # So we just punt and use a minimum line length of 8192.
7760 lt_cv_sys_max_cmd_len=8192;
7763 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7764 # This has been around since 386BSD, at least. Likely further.
7765 if test -x /sbin/sysctl; then
7766 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7767 elif test -x /usr/sbin/sysctl; then
7768 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7770 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7772 # And add a safety zone
7773 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7774 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7778 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7779 lt_cv_sys_max_cmd_len=196608
7783 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7784 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7785 # nice to cause kernel panics so lets avoid the loop below.
7786 # First set a reasonable default.
7787 lt_cv_sys_max_cmd_len=16384
7789 if test -x /sbin/sysconfig; then
7790 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7791 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7796 lt_cv_sys_max_cmd_len=102400
7798 sysv5* | sco5v6* | sysv4.2uw2*)
7799 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7800 if test -n "$kargmax"; then
7801 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7803 lt_cv_sys_max_cmd_len=32768
7807 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7808 if test -n "$lt_cv_sys_max_cmd_len"; then
7809 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7810 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7812 # Make teststring a little bigger before we do anything with it.
7813 # a 1K string should be a reasonable start.
7814 for i in 1 2 3 4 5 6 7 8 ; do
7815 teststring=$teststring$teststring
7817 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7818 # If test is not a shell built-in, we'll probably end up computing a
7819 # maximum length that is only half of the actual maximum length, but
7821 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
7822 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
7823 test $i != 17 # 1/2 MB should be enough
7826 teststring=$teststring$teststring
7828 # Only check the string length outside the loop.
7829 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7831 # Add a significant safety factor because C++ compilers can tack on
7832 # massive amounts of additional arguments before passing them to the
7833 # linker. It appears as though 1/2 is a usable value.
7834 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7841 if test -n $lt_cv_sys_max_cmd_len ; then
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7843 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7846 $as_echo "none" >&6; }
7848 max_cmd_len=$lt_cv_sys_max_cmd_len
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7860 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7861 # Try some XSI features
7864 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7866 && eval 'test $(( 1 + 1 )) -eq 2 \
7867 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7870 $as_echo "$xsi_shell" >&6; }
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7874 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7876 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7878 && lt_shell_append=yes
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7880 $as_echo "$lt_shell_append" >&6; }
7883 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7893 # test EBCDIC or ASCII
7894 case `echo X|tr X '\101'` in
7895 A) # ASCII based system
7896 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7897 lt_SP2NL='tr \040 \012'
7898 lt_NL2SP='tr \015\012 \040\040'
7900 *) # EBCDIC based system
7901 lt_SP2NL='tr \100 \n'
7902 lt_NL2SP='tr \r\n \100\100'
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7915 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7916 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7917 $as_echo_n "(cached) " >&6
7919 lt_cv_ld_reload_flag='-r'
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7922 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7923 reload_flag=$lt_cv_ld_reload_flag
7924 case $reload_flag in
7926 *) reload_flag=" $reload_flag" ;;
7928 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7931 if test "$GCC" = yes; then
7932 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7934 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7947 if test -n "$ac_tool_prefix"; then
7948 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7949 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7951 $as_echo_n "checking for $ac_word... " >&6; }
7952 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7953 $as_echo_n "(cached) " >&6
7955 if test -n "$OBJDUMP"; then
7956 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7962 test -z "$as_dir" && as_dir=.
7963 for ac_exec_ext in '' $ac_executable_extensions; do
7964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7965 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 OBJDUMP=$ac_cv_prog_OBJDUMP
7976 if test -n "$OBJDUMP"; then
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7978 $as_echo "$OBJDUMP" >&6; }
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7981 $as_echo "no" >&6; }
7986 if test -z "$ac_cv_prog_OBJDUMP"; then
7987 ac_ct_OBJDUMP=$OBJDUMP
7988 # Extract the first word of "objdump", so it can be a program name with args.
7989 set dummy objdump; ac_word=$2
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7991 $as_echo_n "checking for $ac_word... " >&6; }
7992 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7993 $as_echo_n "(cached) " >&6
7995 if test -n "$ac_ct_OBJDUMP"; then
7996 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8002 test -z "$as_dir" && as_dir=.
8003 for ac_exec_ext in '' $ac_executable_extensions; do
8004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8005 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8015 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8016 if test -n "$ac_ct_OBJDUMP"; then
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8018 $as_echo "$ac_ct_OBJDUMP" >&6; }
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8021 $as_echo "no" >&6; }
8024 if test "x$ac_ct_OBJDUMP" = x; then
8027 case $cross_compiling:$ac_tool_warned in
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8031 ac_tool_warned=yes ;;
8033 OBJDUMP=$ac_ct_OBJDUMP
8036 OBJDUMP="$ac_cv_prog_OBJDUMP"
8039 test -z "$OBJDUMP" && OBJDUMP=objdump
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8047 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8048 if test "${lt_cv_deplibs_check_method+set}" = set; then :
8049 $as_echo_n "(cached) " >&6
8051 lt_cv_file_magic_cmd='$MAGIC_CMD'
8052 lt_cv_file_magic_test_file=
8053 lt_cv_deplibs_check_method='unknown'
8054 # Need to set the preceding variable on all platforms that support
8055 # interlibrary dependencies.
8056 # 'none' -- dependencies not supported.
8057 # `unknown' -- same as none, but documents that we really don't know.
8058 # 'pass_all' -- all dependencies passed with no checks.
8059 # 'test_compile' -- check by making test program.
8060 # 'file_magic [[regex]]' -- check by looking for files in library path
8061 # which responds to the $file_magic_cmd with a given extended regex.
8062 # If you have `file' or equivalent on your system and you're not sure
8063 # whether `pass_all' will *always* work, you probably want this one.
8067 lt_cv_deplibs_check_method=pass_all
8071 lt_cv_deplibs_check_method=pass_all
8075 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8076 lt_cv_file_magic_cmd='/usr/bin/file -L'
8077 lt_cv_file_magic_test_file=/shlib/libc.so
8081 # func_win32_libid is a shell function defined in ltmain.sh
8082 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8083 lt_cv_file_magic_cmd='func_win32_libid'
8087 # Base MSYS/MinGW do not provide the 'file' command needed by
8088 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8089 # unless we find 'file', for example because we are cross-compiling.
8090 if ( file / ) >/dev/null 2>&1; then
8091 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8092 lt_cv_file_magic_cmd='func_win32_libid'
8094 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
8095 lt_cv_file_magic_cmd='$OBJDUMP -f'
8100 # use the weaker test based on 'objdump'. See mingw*.
8101 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8102 lt_cv_file_magic_cmd='$OBJDUMP -f'
8105 darwin* | rhapsody*)
8106 lt_cv_deplibs_check_method=pass_all
8109 freebsd* | dragonfly*)
8110 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8113 # Not sure whether the presence of OpenBSD here was a mistake.
8114 # Let's accept both of them until this is cleared up.
8115 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8116 lt_cv_file_magic_cmd=/usr/bin/file
8117 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8121 lt_cv_deplibs_check_method=pass_all
8126 lt_cv_deplibs_check_method=pass_all
8129 hpux10.20* | hpux11*)
8130 lt_cv_file_magic_cmd=/usr/bin/file
8133 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8134 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8137 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
8138 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8141 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
8142 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8148 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8149 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8152 irix5* | irix6* | nonstopux*)
8154 *-32|*"-32 ") libmagic=32-bit;;
8155 *-n32|*"-n32 ") libmagic=N32;;
8156 *-64|*"-64 ") libmagic=64-bit;;
8157 *) libmagic=never-match;;
8159 lt_cv_deplibs_check_method=pass_all
8162 # This must be Linux ELF.
8163 linux* | k*bsd*-gnu)
8164 lt_cv_deplibs_check_method=pass_all
8167 netbsd* | netbsdelf*-gnu)
8168 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8169 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8171 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8176 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8177 lt_cv_file_magic_cmd=/usr/bin/file
8178 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8182 lt_cv_deplibs_check_method=pass_all
8186 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8187 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8189 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8193 osf3* | osf4* | osf5*)
8194 lt_cv_deplibs_check_method=pass_all
8198 lt_cv_deplibs_check_method=pass_all
8202 lt_cv_deplibs_check_method=pass_all
8205 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8206 lt_cv_deplibs_check_method=pass_all
8210 case $host_vendor in
8212 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
8213 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8216 lt_cv_deplibs_check_method=pass_all
8219 lt_cv_file_magic_cmd='/bin/file'
8220 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8223 lt_cv_file_magic_cmd='/bin/file'
8224 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8225 lt_cv_file_magic_test_file=/lib/libc.so
8228 lt_cv_deplibs_check_method=pass_all
8231 lt_cv_deplibs_check_method=pass_all
8237 lt_cv_deplibs_check_method=pass_all
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8243 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8244 file_magic_cmd=$lt_cv_file_magic_cmd
8245 deplibs_check_method=$lt_cv_deplibs_check_method
8246 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8259 if test -n "$ac_tool_prefix"; then
8260 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8261 set dummy ${ac_tool_prefix}ar; ac_word=$2
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8263 $as_echo_n "checking for $ac_word... " >&6; }
8264 if test "${ac_cv_prog_AR+set}" = set; then :
8265 $as_echo_n "(cached) " >&6
8267 if test -n "$AR"; then
8268 ac_cv_prog_AR="$AR" # Let the user override the test.
8270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8274 test -z "$as_dir" && as_dir=.
8275 for ac_exec_ext in '' $ac_executable_extensions; do
8276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8277 ac_cv_prog_AR="${ac_tool_prefix}ar"
8278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8288 if test -n "$AR"; then
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8290 $as_echo "$AR" >&6; }
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8293 $as_echo "no" >&6; }
8298 if test -z "$ac_cv_prog_AR"; then
8300 # Extract the first word of "ar", so it can be a program name with args.
8301 set dummy ar; ac_word=$2
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8303 $as_echo_n "checking for $ac_word... " >&6; }
8304 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
8305 $as_echo_n "(cached) " >&6
8307 if test -n "$ac_ct_AR"; then
8308 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8314 test -z "$as_dir" && as_dir=.
8315 for ac_exec_ext in '' $ac_executable_extensions; do
8316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8317 ac_cv_prog_ac_ct_AR="ar"
8318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8327 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8328 if test -n "$ac_ct_AR"; then
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8330 $as_echo "$ac_ct_AR" >&6; }
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8333 $as_echo "no" >&6; }
8336 if test "x$ac_ct_AR" = x; then
8339 case $cross_compiling:$ac_tool_warned in
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8343 ac_tool_warned=yes ;;
8351 test -z "$AR" && AR=ar
8352 test -z "$AR_FLAGS" && AR_FLAGS=cru
8364 if test -n "$ac_tool_prefix"; then
8365 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8366 set dummy ${ac_tool_prefix}strip; ac_word=$2
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8368 $as_echo_n "checking for $ac_word... " >&6; }
8369 if test "${ac_cv_prog_STRIP+set}" = set; then :
8370 $as_echo_n "(cached) " >&6
8372 if test -n "$STRIP"; then
8373 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8379 test -z "$as_dir" && as_dir=.
8380 for ac_exec_ext in '' $ac_executable_extensions; do
8381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8382 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8392 STRIP=$ac_cv_prog_STRIP
8393 if test -n "$STRIP"; then
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8395 $as_echo "$STRIP" >&6; }
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8398 $as_echo "no" >&6; }
8403 if test -z "$ac_cv_prog_STRIP"; then
8405 # Extract the first word of "strip", so it can be a program name with args.
8406 set dummy strip; ac_word=$2
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8408 $as_echo_n "checking for $ac_word... " >&6; }
8409 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
8410 $as_echo_n "(cached) " >&6
8412 if test -n "$ac_ct_STRIP"; then
8413 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8419 test -z "$as_dir" && as_dir=.
8420 for ac_exec_ext in '' $ac_executable_extensions; do
8421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8422 ac_cv_prog_ac_ct_STRIP="strip"
8423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8432 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8433 if test -n "$ac_ct_STRIP"; then
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8435 $as_echo "$ac_ct_STRIP" >&6; }
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8438 $as_echo "no" >&6; }
8441 if test "x$ac_ct_STRIP" = x; then
8444 case $cross_compiling:$ac_tool_warned in
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8448 ac_tool_warned=yes ;;
8453 STRIP="$ac_cv_prog_STRIP"
8456 test -z "$STRIP" && STRIP=:
8463 if test -n "$ac_tool_prefix"; then
8464 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8465 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8467 $as_echo_n "checking for $ac_word... " >&6; }
8468 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8469 $as_echo_n "(cached) " >&6
8471 if test -n "$RANLIB"; then
8472 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8478 test -z "$as_dir" && as_dir=.
8479 for ac_exec_ext in '' $ac_executable_extensions; do
8480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8481 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8491 RANLIB=$ac_cv_prog_RANLIB
8492 if test -n "$RANLIB"; then
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8494 $as_echo "$RANLIB" >&6; }
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8497 $as_echo "no" >&6; }
8502 if test -z "$ac_cv_prog_RANLIB"; then
8503 ac_ct_RANLIB=$RANLIB
8504 # Extract the first word of "ranlib", so it can be a program name with args.
8505 set dummy ranlib; ac_word=$2
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8507 $as_echo_n "checking for $ac_word... " >&6; }
8508 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
8509 $as_echo_n "(cached) " >&6
8511 if test -n "$ac_ct_RANLIB"; then
8512 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8518 test -z "$as_dir" && as_dir=.
8519 for ac_exec_ext in '' $ac_executable_extensions; do
8520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8521 ac_cv_prog_ac_ct_RANLIB="ranlib"
8522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8531 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8532 if test -n "$ac_ct_RANLIB"; then
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8534 $as_echo "$ac_ct_RANLIB" >&6; }
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8537 $as_echo "no" >&6; }
8540 if test "x$ac_ct_RANLIB" = x; then
8543 case $cross_compiling:$ac_tool_warned in
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8547 ac_tool_warned=yes ;;
8549 RANLIB=$ac_ct_RANLIB
8552 RANLIB="$ac_cv_prog_RANLIB"
8555 test -z "$RANLIB" && RANLIB=:
8562 # Determine commands to create old-style static archives.
8563 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8564 old_postinstall_cmds='chmod 644 $oldlib'
8565 old_postuninstall_cmds=
8567 if test -n "$RANLIB"; then
8570 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8573 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8576 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8612 # If no C compiler was specified, use CC.
8615 # If no C compiler flags were specified, use CFLAGS.
8616 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8618 # Allow CC to be a program name with arguments.
8622 # Check for command to grab the raw symbol name followed by C symbol from nm.
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8624 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8625 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
8626 $as_echo_n "(cached) " >&6
8629 # These are sane defaults that work on at least a few old systems.
8630 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8632 # Character class describing NM global symbol codes.
8633 symcode='[BCDEGRST]'
8635 # Regexp to match symbols that can be accessed directly from C.
8636 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8638 # Define system-specific variables.
8643 cygwin* | mingw* | pw32* | cegcc*)
8644 symcode='[ABCDGISTW]'
8647 if test "$host_cpu" = ia64; then
8648 symcode='[ABCDEGRST]'
8652 symcode='[BCDEGRST]'
8655 symcode='[BCDEGQRST]'
8666 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8674 # If we're using GNU nm, then use its standard symbol codes.
8675 case `$NM -V 2>&1` in
8676 *GNU* | *'with BFD'*)
8677 symcode='[ABCDGIRSTW]' ;;
8680 # Transform an extracted symbol line into a proper C declaration.
8681 # Some systems (esp. on ia64) link data and code symbols differently,
8682 # so use this general approach.
8683 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8685 # Transform an extracted symbol line into symbol name and symbol address
8686 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8687 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
8689 # Handle CRLF in mingw tool chain
8693 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8697 # Try without a prefix underscore, then with it.
8698 for ac_symprfx in "" "_"; do
8700 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8701 symxfrm="\\1 $ac_symprfx\\2 \\2"
8703 # Write the raw and C identifiers.
8704 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8705 # Fake it for dumpbin and say T for any non-static function
8706 # and D for any global variable.
8707 # Also find C++ and __fastcall symbols from MSVC++,
8708 # which start with @ or ?.
8709 lt_cv_sys_global_symbol_pipe="$AWK '"\
8710 " {last_section=section; section=\$ 3};"\
8711 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8712 " \$ 0!~/External *\|/{next};"\
8713 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8714 " {if(hide[section]) next};"\
8715 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8716 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8717 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8718 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8719 " ' prfx=^$ac_symprfx"
8721 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8724 # Check to see that the pipe works correctly.
8728 cat > conftest.$ac_ext <<_LT_EOF
8733 void nm_test_func(void);
8734 void nm_test_func(void){}
8738 int main(){nm_test_var='a';nm_test_func();return(0);}
8741 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8742 (eval $ac_compile) 2>&5
8744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8745 test $ac_status = 0; }; then
8746 # Now try to grab the symbols.
8748 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
8749 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8752 test $ac_status = 0; } && test -s "$nlist"; then
8753 # Try sorting and uniquifying the output.
8754 if sort "$nlist" | uniq > "$nlist"T; then
8755 mv -f "$nlist"T "$nlist"
8760 # Make sure that we snagged all the symbols we need.
8761 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8762 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8763 cat <<_LT_EOF > conftest.$ac_ext
8769 # Now generate the symbol file.
8770 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8772 cat <<_LT_EOF >> conftest.$ac_ext
8774 /* The mapping between symbol names and symbols. */
8779 lt__PROGRAM__LTX_preloaded_symbols[] =
8781 { "@PROGRAM@", (void *) 0 },
8783 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8784 cat <<\_LT_EOF >> conftest.$ac_ext
8788 /* This works around a problem in FreeBSD linker */
8789 #ifdef FREEBSD_WORKAROUND
8790 static const void *lt_preloaded_setup() {
8791 return lt__PROGRAM__LTX_preloaded_symbols;
8799 # Now try linking the two files.
8800 mv conftest.$ac_objext conftstm.$ac_objext
8801 lt_save_LIBS="$LIBS"
8802 lt_save_CFLAGS="$CFLAGS"
8803 LIBS="conftstm.$ac_objext"
8804 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8805 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8806 (eval $ac_link) 2>&5
8808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8809 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8812 LIBS="$lt_save_LIBS"
8813 CFLAGS="$lt_save_CFLAGS"
8815 echo "cannot find nm_test_func in $nlist" >&5
8818 echo "cannot find nm_test_var in $nlist" >&5
8821 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8824 echo "$progname: failed program was:" >&5
8825 cat conftest.$ac_ext >&5
8827 rm -rf conftest* conftst*
8829 # Do not use the global_symbol_pipe unless it works.
8830 if test "$pipe_works" = yes; then
8833 lt_cv_sys_global_symbol_pipe=
8839 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8840 lt_cv_sys_global_symbol_to_cdecl=
8842 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8844 $as_echo "failed" >&6; }
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8847 $as_echo "ok" >&6; }
8871 # Check whether --enable-libtool-lock was given.
8872 if test "${enable_libtool_lock+set}" = set; then :
8873 enableval=$enable_libtool_lock;
8876 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8878 # Some flags need to be propagated to the compiler or linker for good
8882 # Find out which ABI we are using.
8883 echo 'int i;' > conftest.$ac_ext
8884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8885 (eval $ac_compile) 2>&5
8887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8888 test $ac_status = 0; }; then
8889 case `/usr/bin/file conftest.$ac_objext` in
8901 # Find out which ABI we are using.
8902 echo '#line 8902 "configure"' > conftest.$ac_ext
8903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8904 (eval $ac_compile) 2>&5
8906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8907 test $ac_status = 0; }; then
8908 if test "$lt_cv_prog_gnu_ld" = yes; then
8909 case `/usr/bin/file conftest.$ac_objext` in
8911 LD="${LD-ld} -melf32bsmip"
8914 LD="${LD-ld} -melf32bmipn32"
8917 LD="${LD-ld} -melf64bmip"
8921 case `/usr/bin/file conftest.$ac_objext` in
8937 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8938 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8939 # Find out which ABI we are using.
8940 echo 'int i;' > conftest.$ac_ext
8941 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8942 (eval $ac_compile) 2>&5
8944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8945 test $ac_status = 0; }; then
8946 case `/usr/bin/file conftest.o` in
8949 x86_64-*kfreebsd*-gnu)
8950 LD="${LD-ld} -m elf_i386_fbsd"
8953 LD="${LD-ld} -m elf_i386"
8955 ppc64-*linux*|powerpc64-*linux*)
8956 LD="${LD-ld} -m elf32ppclinux"
8959 LD="${LD-ld} -m elf_s390"
8962 LD="${LD-ld} -m elf32_sparc"
8968 x86_64-*kfreebsd*-gnu)
8969 LD="${LD-ld} -m elf_x86_64_fbsd"
8972 LD="${LD-ld} -m elf_x86_64"
8974 ppc*-*linux*|powerpc*-*linux*)
8975 LD="${LD-ld} -m elf64ppc"
8977 s390*-*linux*|s390*-*tpf*)
8978 LD="${LD-ld} -m elf64_s390"
8981 LD="${LD-ld} -m elf64_sparc"
8991 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8992 SAVE_CFLAGS="$CFLAGS"
8993 CFLAGS="$CFLAGS -belf"
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8995 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8996 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8997 $as_echo_n "(cached) " >&6
9000 ac_cpp='$CPP $CPPFLAGS'
9001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9006 /* end confdefs.h. */
9016 if ac_fn_c_try_link "$LINENO"; then :
9017 lt_cv_cc_needs_belf=yes
9019 lt_cv_cc_needs_belf=no
9021 rm -f core conftest.err conftest.$ac_objext \
9022 conftest$ac_exeext conftest.$ac_ext
9024 ac_cpp='$CPP $CPPFLAGS'
9025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9031 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9032 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9033 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9034 CFLAGS="$SAVE_CFLAGS"
9038 # Find out which ABI we are using.
9039 echo 'int i;' > conftest.$ac_ext
9040 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9041 (eval $ac_compile) 2>&5
9043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9044 test $ac_status = 0; }; then
9045 case `/usr/bin/file conftest.o` in
9047 case $lt_cv_prog_gnu_ld in
9048 yes*) LD="${LD-ld} -m elf64_sparc" ;;
9050 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9062 need_locks="$enable_libtool_lock"
9066 rhapsody* | darwin*)
9067 if test -n "$ac_tool_prefix"; then
9068 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9069 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9071 $as_echo_n "checking for $ac_word... " >&6; }
9072 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
9073 $as_echo_n "(cached) " >&6
9075 if test -n "$DSYMUTIL"; then
9076 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9082 test -z "$as_dir" && as_dir=.
9083 for ac_exec_ext in '' $ac_executable_extensions; do
9084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9085 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9095 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9096 if test -n "$DSYMUTIL"; then
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9098 $as_echo "$DSYMUTIL" >&6; }
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9101 $as_echo "no" >&6; }
9106 if test -z "$ac_cv_prog_DSYMUTIL"; then
9107 ac_ct_DSYMUTIL=$DSYMUTIL
9108 # Extract the first word of "dsymutil", so it can be a program name with args.
9109 set dummy dsymutil; ac_word=$2
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9111 $as_echo_n "checking for $ac_word... " >&6; }
9112 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
9113 $as_echo_n "(cached) " >&6
9115 if test -n "$ac_ct_DSYMUTIL"; then
9116 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9122 test -z "$as_dir" && as_dir=.
9123 for ac_exec_ext in '' $ac_executable_extensions; do
9124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9125 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9135 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9136 if test -n "$ac_ct_DSYMUTIL"; then
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9138 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9141 $as_echo "no" >&6; }
9144 if test "x$ac_ct_DSYMUTIL" = x; then
9147 case $cross_compiling:$ac_tool_warned in
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9151 ac_tool_warned=yes ;;
9153 DSYMUTIL=$ac_ct_DSYMUTIL
9156 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9159 if test -n "$ac_tool_prefix"; then
9160 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9161 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9163 $as_echo_n "checking for $ac_word... " >&6; }
9164 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
9165 $as_echo_n "(cached) " >&6
9167 if test -n "$NMEDIT"; then
9168 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9174 test -z "$as_dir" && as_dir=.
9175 for ac_exec_ext in '' $ac_executable_extensions; do
9176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9177 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9187 NMEDIT=$ac_cv_prog_NMEDIT
9188 if test -n "$NMEDIT"; then
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9190 $as_echo "$NMEDIT" >&6; }
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9193 $as_echo "no" >&6; }
9198 if test -z "$ac_cv_prog_NMEDIT"; then
9199 ac_ct_NMEDIT=$NMEDIT
9200 # Extract the first word of "nmedit", so it can be a program name with args.
9201 set dummy nmedit; ac_word=$2
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9203 $as_echo_n "checking for $ac_word... " >&6; }
9204 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
9205 $as_echo_n "(cached) " >&6
9207 if test -n "$ac_ct_NMEDIT"; then
9208 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9214 test -z "$as_dir" && as_dir=.
9215 for ac_exec_ext in '' $ac_executable_extensions; do
9216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9217 ac_cv_prog_ac_ct_NMEDIT="nmedit"
9218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9227 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9228 if test -n "$ac_ct_NMEDIT"; then
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9230 $as_echo "$ac_ct_NMEDIT" >&6; }
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9233 $as_echo "no" >&6; }
9236 if test "x$ac_ct_NMEDIT" = x; then
9239 case $cross_compiling:$ac_tool_warned in
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9243 ac_tool_warned=yes ;;
9245 NMEDIT=$ac_ct_NMEDIT
9248 NMEDIT="$ac_cv_prog_NMEDIT"
9251 if test -n "$ac_tool_prefix"; then
9252 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9253 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9255 $as_echo_n "checking for $ac_word... " >&6; }
9256 if test "${ac_cv_prog_LIPO+set}" = set; then :
9257 $as_echo_n "(cached) " >&6
9259 if test -n "$LIPO"; then
9260 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9266 test -z "$as_dir" && as_dir=.
9267 for ac_exec_ext in '' $ac_executable_extensions; do
9268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9269 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9279 LIPO=$ac_cv_prog_LIPO
9280 if test -n "$LIPO"; then
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9282 $as_echo "$LIPO" >&6; }
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9285 $as_echo "no" >&6; }
9290 if test -z "$ac_cv_prog_LIPO"; then
9292 # Extract the first word of "lipo", so it can be a program name with args.
9293 set dummy lipo; ac_word=$2
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9295 $as_echo_n "checking for $ac_word... " >&6; }
9296 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
9297 $as_echo_n "(cached) " >&6
9299 if test -n "$ac_ct_LIPO"; then
9300 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9306 test -z "$as_dir" && as_dir=.
9307 for ac_exec_ext in '' $ac_executable_extensions; do
9308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9309 ac_cv_prog_ac_ct_LIPO="lipo"
9310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9319 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9320 if test -n "$ac_ct_LIPO"; then
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9322 $as_echo "$ac_ct_LIPO" >&6; }
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9325 $as_echo "no" >&6; }
9328 if test "x$ac_ct_LIPO" = x; then
9331 case $cross_compiling:$ac_tool_warned in
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9335 ac_tool_warned=yes ;;
9340 LIPO="$ac_cv_prog_LIPO"
9343 if test -n "$ac_tool_prefix"; then
9344 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9345 set dummy ${ac_tool_prefix}otool; ac_word=$2
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9347 $as_echo_n "checking for $ac_word... " >&6; }
9348 if test "${ac_cv_prog_OTOOL+set}" = set; then :
9349 $as_echo_n "(cached) " >&6
9351 if test -n "$OTOOL"; then
9352 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9358 test -z "$as_dir" && as_dir=.
9359 for ac_exec_ext in '' $ac_executable_extensions; do
9360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9361 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9371 OTOOL=$ac_cv_prog_OTOOL
9372 if test -n "$OTOOL"; then
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9374 $as_echo "$OTOOL" >&6; }
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9377 $as_echo "no" >&6; }
9382 if test -z "$ac_cv_prog_OTOOL"; then
9384 # Extract the first word of "otool", so it can be a program name with args.
9385 set dummy otool; ac_word=$2
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9387 $as_echo_n "checking for $ac_word... " >&6; }
9388 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
9389 $as_echo_n "(cached) " >&6
9391 if test -n "$ac_ct_OTOOL"; then
9392 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9398 test -z "$as_dir" && as_dir=.
9399 for ac_exec_ext in '' $ac_executable_extensions; do
9400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9401 ac_cv_prog_ac_ct_OTOOL="otool"
9402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9411 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9412 if test -n "$ac_ct_OTOOL"; then
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9414 $as_echo "$ac_ct_OTOOL" >&6; }
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9417 $as_echo "no" >&6; }
9420 if test "x$ac_ct_OTOOL" = x; then
9423 case $cross_compiling:$ac_tool_warned in
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9427 ac_tool_warned=yes ;;
9432 OTOOL="$ac_cv_prog_OTOOL"
9435 if test -n "$ac_tool_prefix"; then
9436 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9437 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9439 $as_echo_n "checking for $ac_word... " >&6; }
9440 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
9441 $as_echo_n "(cached) " >&6
9443 if test -n "$OTOOL64"; then
9444 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9450 test -z "$as_dir" && as_dir=.
9451 for ac_exec_ext in '' $ac_executable_extensions; do
9452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9453 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9463 OTOOL64=$ac_cv_prog_OTOOL64
9464 if test -n "$OTOOL64"; then
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9466 $as_echo "$OTOOL64" >&6; }
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9469 $as_echo "no" >&6; }
9474 if test -z "$ac_cv_prog_OTOOL64"; then
9475 ac_ct_OTOOL64=$OTOOL64
9476 # Extract the first word of "otool64", so it can be a program name with args.
9477 set dummy otool64; ac_word=$2
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9479 $as_echo_n "checking for $ac_word... " >&6; }
9480 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
9481 $as_echo_n "(cached) " >&6
9483 if test -n "$ac_ct_OTOOL64"; then
9484 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9490 test -z "$as_dir" && as_dir=.
9491 for ac_exec_ext in '' $ac_executable_extensions; do
9492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9493 ac_cv_prog_ac_ct_OTOOL64="otool64"
9494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9503 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9504 if test -n "$ac_ct_OTOOL64"; then
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9506 $as_echo "$ac_ct_OTOOL64" >&6; }
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9509 $as_echo "no" >&6; }
9512 if test "x$ac_ct_OTOOL64" = x; then
9515 case $cross_compiling:$ac_tool_warned in
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9519 ac_tool_warned=yes ;;
9521 OTOOL64=$ac_ct_OTOOL64
9524 OTOOL64="$ac_cv_prog_OTOOL64"
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9554 $as_echo_n "checking for -single_module linker flag... " >&6; }
9555 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
9556 $as_echo_n "(cached) " >&6
9558 lt_cv_apple_cc_single_mod=no
9559 if test -z "${LT_MULTI_MODULE}"; then
9560 # By default we will add the -single_module flag. You can override
9561 # by either setting the environment variable LT_MULTI_MODULE
9562 # non-empty at configure time, or by adding -multi_module to the
9564 rm -rf libconftest.dylib*
9565 echo "int foo(void){return 1;}" > conftest.c
9566 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9567 -dynamiclib -Wl,-single_module conftest.c" >&5
9568 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9569 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9571 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9572 lt_cv_apple_cc_single_mod=yes
9574 cat conftest.err >&5
9576 rm -rf libconftest.dylib*
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9581 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9583 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9584 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
9585 $as_echo_n "(cached) " >&6
9587 lt_cv_ld_exported_symbols_list=no
9588 save_LDFLAGS=$LDFLAGS
9589 echo "_main" > conftest.sym
9590 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9592 /* end confdefs.h. */
9602 if ac_fn_c_try_link "$LINENO"; then :
9603 lt_cv_ld_exported_symbols_list=yes
9605 lt_cv_ld_exported_symbols_list=no
9607 rm -f core conftest.err conftest.$ac_objext \
9608 conftest$ac_exeext conftest.$ac_ext
9609 LDFLAGS="$save_LDFLAGS"
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9613 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9615 rhapsody* | darwin1.[012])
9616 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9618 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9619 darwin*) # darwin 5.x on
9620 # if running on 10.5 or later, the deployment target defaults
9621 # to the OS version, if on x86, and 10.4, the deployment
9622 # target defaults to 10.4. Don't you love it?
9623 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9624 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9625 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9627 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9629 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9633 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9634 _lt_dar_single_mod='$single_module'
9636 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9637 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9639 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9641 if test "$DSYMUTIL" != ":"; then
9642 _lt_dsymutil='~$DSYMUTIL $lib || :'
9649 for ac_header in dlfcn.h
9651 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9653 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
9654 cat >>confdefs.h <<_ACEOF
9655 #define HAVE_DLFCN_H 1
9665 ac_cpp='$CXXCPP $CPPFLAGS'
9666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9669 if test -z "$CXX"; then
9670 if test -n "$CCC"; then
9673 if test -n "$ac_tool_prefix"; then
9674 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
9676 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9677 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9679 $as_echo_n "checking for $ac_word... " >&6; }
9680 if test "${ac_cv_prog_CXX+set}" = set; then :
9681 $as_echo_n "(cached) " >&6
9683 if test -n "$CXX"; then
9684 ac_cv_prog_CXX="$CXX" # Let the user override the test.
9686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9690 test -z "$as_dir" && as_dir=.
9691 for ac_exec_ext in '' $ac_executable_extensions; do
9692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9693 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
9694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9704 if test -n "$CXX"; then
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
9706 $as_echo "$CXX" >&6; }
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9709 $as_echo "no" >&6; }
9713 test -n "$CXX" && break
9716 if test -z "$CXX"; then
9718 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
9720 # Extract the first word of "$ac_prog", so it can be a program name with args.
9721 set dummy $ac_prog; ac_word=$2
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9723 $as_echo_n "checking for $ac_word... " >&6; }
9724 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
9725 $as_echo_n "(cached) " >&6
9727 if test -n "$ac_ct_CXX"; then
9728 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
9730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9734 test -z "$as_dir" && as_dir=.
9735 for ac_exec_ext in '' $ac_executable_extensions; do
9736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9737 ac_cv_prog_ac_ct_CXX="$ac_prog"
9738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9747 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
9748 if test -n "$ac_ct_CXX"; then
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
9750 $as_echo "$ac_ct_CXX" >&6; }
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9753 $as_echo "no" >&6; }
9757 test -n "$ac_ct_CXX" && break
9760 if test "x$ac_ct_CXX" = x; then
9763 case $cross_compiling:$ac_tool_warned in
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9766 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9767 ac_tool_warned=yes ;;
9775 # Provide some information about the compiler.
9776 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
9779 for ac_option in --version -v -V -qversion; do
9780 { { ac_try="$ac_compiler $ac_option >&5"
9782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9783 *) ac_try_echo=$ac_try;;
9785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9786 $as_echo "$ac_try_echo"; } >&5
9787 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9789 if test -s conftest.err; then
9791 ... rest of stderr output deleted ...
9792 10q' conftest.err >conftest.er1
9793 cat conftest.er1 >&5
9795 rm -f conftest.er1 conftest.err
9796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9797 test $ac_status = 0; }
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
9801 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
9802 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
9803 $as_echo_n "(cached) " >&6
9805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9806 /* end confdefs.h. */
9819 if ac_fn_cxx_try_compile "$LINENO"; then :
9824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9825 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
9829 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
9830 if test $ac_compiler_gnu = yes; then
9835 ac_test_CXXFLAGS=${CXXFLAGS+set}
9836 ac_save_CXXFLAGS=$CXXFLAGS
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
9838 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
9839 if test "${ac_cv_prog_cxx_g+set}" = set; then :
9840 $as_echo_n "(cached) " >&6
9842 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
9843 ac_cxx_werror_flag=yes
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9857 if ac_fn_cxx_try_compile "$LINENO"; then :
9858 ac_cv_prog_cxx_g=yes
9861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9862 /* end confdefs.h. */
9872 if ac_fn_cxx_try_compile "$LINENO"; then :
9875 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9888 if ac_fn_cxx_try_compile "$LINENO"; then :
9889 ac_cv_prog_cxx_g=yes
9891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9896 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
9899 $as_echo "$ac_cv_prog_cxx_g" >&6; }
9900 if test "$ac_test_CXXFLAGS" = set; then
9901 CXXFLAGS=$ac_save_CXXFLAGS
9902 elif test $ac_cv_prog_cxx_g = yes; then
9903 if test "$GXX" = yes; then
9909 if test "$GXX" = yes; then
9916 ac_cpp='$CPP $CPPFLAGS'
9917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9921 depcc="$CXX" am_compiler_list=
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
9924 $as_echo_n "checking dependency style of $depcc... " >&6; }
9925 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
9926 $as_echo_n "(cached) " >&6
9928 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9929 # We make a subdir and do the tests there. Otherwise we can end up
9930 # making bogus files that we don't know about and never remove. For
9931 # instance it was reported that on HP-UX the gcc test will end up
9932 # making a dummy file named `D' -- because `-MD' means `put the output
9935 # Copy depcomp to subdir because otherwise we won't find it if we're
9936 # using a relative directory.
9937 cp "$am_depcomp" conftest.dir
9939 # We will build objects and dependencies in a subdirectory because
9940 # it helps to detect inapplicable dependency modes. For instance
9941 # both Tru64's cc and ICC support -MD to output dependencies as a
9942 # side effect of compilation, but ICC will put the dependencies in
9943 # the current directory while Tru64 will put them in the object
9947 am_cv_CXX_dependencies_compiler_type=none
9948 if test "$am_compiler_list" = ""; then
9949 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9952 case " $depcc " in #(
9953 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9956 for depmode in $am_compiler_list; do
9957 # Setup a source with many dependencies, because some compilers
9958 # like to wrap large dependency lists on column 80 (with \), and
9959 # we should not choose a depcomp mode which is confused by this.
9961 # We need to recreate these files for each test, as the compiler may
9962 # overwrite some of them when testing with obscure command lines.
9963 # This happens at least with the AIX C compiler.
9965 for i in 1 2 3 4 5 6; do
9966 echo '#include "conftst'$i'.h"' >> sub/conftest.c
9967 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
9968 # Solaris 8's {/usr,}/bin/sh.
9969 touch sub/conftst$i.h
9971 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9973 # We check with `-c' and `-o' for the sake of the "dashmstdout"
9974 # mode. It turns out that the SunPro C++ compiler does not properly
9975 # handle `-M -o', and we need to detect this. Also, some Intel
9976 # versions had trouble with output in subdirs
9977 am__obj=sub/conftest.${OBJEXT-o}
9978 am__minus_obj="-o $am__obj"
9981 # This depmode causes a compiler race in universal mode.
9982 test "$am__universal" = false || continue
9985 # after this tag, mechanisms are not by side-effect, so they'll
9986 # only be used when explicitly requested
9987 if test "x$enable_dependency_tracking" = xyes; then
9993 msvisualcpp | msvcmsys)
9994 # This compiler won't grok `-c -o', but also, the minuso test has
9995 # not run yet. These depmodes are late enough in the game, and
9996 # so weak that their functioning should not be impacted.
9997 am__obj=conftest.${OBJEXT-o}
10002 if depmode=$depmode \
10003 source=sub/conftest.c object=$am__obj \
10004 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10005 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
10006 >/dev/null 2>conftest.err &&
10007 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10008 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10009 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
10010 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10011 # icc doesn't choke on unknown options, it will just issue warnings
10012 # or remarks (even with -Werror). So we grep stderr for any message
10013 # that says an option was ignored or not supported.
10014 # When given -MP, icc 7.0 and 7.1 complain thusly:
10015 # icc: Command line warning: ignoring option '-M'; no argument required
10016 # The diagnosis changed in icc 8.0:
10017 # icc: Command line remark: option '-MP' not supported
10018 if (grep 'ignoring option' conftest.err ||
10019 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10020 am_cv_CXX_dependencies_compiler_type=$depmode
10027 rm -rf conftest.dir
10029 am_cv_CXX_dependencies_compiler_type=none
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
10034 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
10035 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
10038 test "x$enable_dependency_tracking" != xno \
10039 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
10040 am__fastdepCXX_TRUE=
10041 am__fastdepCXX_FALSE='#'
10043 am__fastdepCXX_TRUE='#'
10044 am__fastdepCXX_FALSE=
10048 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10049 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10050 (test "X$CXX" != "Xg++"))) ; then
10052 ac_cpp='$CXXCPP $CPPFLAGS'
10053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
10057 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
10058 if test -z "$CXXCPP"; then
10059 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
10060 $as_echo_n "(cached) " >&6
10062 # Double quotes because CXXCPP needs to be expanded
10063 for CXXCPP in "$CXX -E" "/lib/cpp"
10065 ac_preproc_ok=false
10066 for ac_cxx_preproc_warn_flag in '' yes
10068 # Use a header file that comes with gcc, so configuring glibc
10069 # with a fresh cross-compiler works.
10070 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10071 # <limits.h> exists even on freestanding compilers.
10072 # On the NeXT, cc -E runs the code through the compiler's parser,
10073 # not just through cpp. "Syntax error" is here to catch this case.
10074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10077 # include <limits.h>
10079 # include <assert.h>
10083 if ac_fn_cxx_try_cpp "$LINENO"; then :
10086 # Broken: fails on valid input.
10089 rm -f conftest.err conftest.i conftest.$ac_ext
10091 # OK, works on sane cases. Now check whether nonexistent headers
10092 # can be detected and how.
10093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10094 /* end confdefs.h. */
10095 #include <ac_nonexistent.h>
10097 if ac_fn_cxx_try_cpp "$LINENO"; then :
10098 # Broken: success on invalid input.
10101 # Passes both tests.
10105 rm -f conftest.err conftest.i conftest.$ac_ext
10108 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10109 rm -f conftest.i conftest.err conftest.$ac_ext
10110 if $ac_preproc_ok; then :
10115 ac_cv_prog_CXXCPP=$CXXCPP
10118 CXXCPP=$ac_cv_prog_CXXCPP
10120 ac_cv_prog_CXXCPP=$CXXCPP
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
10123 $as_echo "$CXXCPP" >&6; }
10124 ac_preproc_ok=false
10125 for ac_cxx_preproc_warn_flag in '' yes
10127 # Use a header file that comes with gcc, so configuring glibc
10128 # with a fresh cross-compiler works.
10129 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10130 # <limits.h> exists even on freestanding compilers.
10131 # On the NeXT, cc -E runs the code through the compiler's parser,
10132 # not just through cpp. "Syntax error" is here to catch this case.
10133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10134 /* end confdefs.h. */
10136 # include <limits.h>
10138 # include <assert.h>
10142 if ac_fn_cxx_try_cpp "$LINENO"; then :
10145 # Broken: fails on valid input.
10148 rm -f conftest.err conftest.i conftest.$ac_ext
10150 # OK, works on sane cases. Now check whether nonexistent headers
10151 # can be detected and how.
10152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10154 #include <ac_nonexistent.h>
10156 if ac_fn_cxx_try_cpp "$LINENO"; then :
10157 # Broken: success on invalid input.
10160 # Passes both tests.
10164 rm -f conftest.err conftest.i conftest.$ac_ext
10167 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10168 rm -f conftest.i conftest.err conftest.$ac_ext
10169 if $ac_preproc_ok; then :
10172 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10174 _lt_caught_CXX_error=yes; }
10178 ac_cpp='$CPP $CPPFLAGS'
10179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10184 _lt_caught_CXX_error=yes
10201 # Check whether --with-pic was given.
10202 if test "${with_pic+set}" = set; then :
10203 withval=$with_pic; pic_mode="$withval"
10209 test -z "$pic_mode" && pic_mode=default
10217 # Check whether --enable-fast-install was given.
10218 if test "${enable_fast_install+set}" = set; then :
10219 enableval=$enable_fast_install; p=${PACKAGE-default}
10221 yes) enable_fast_install=yes ;;
10222 no) enable_fast_install=no ;;
10224 enable_fast_install=no
10225 # Look at the argument we got. We use all the common list separators.
10226 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10227 for pkg in $enableval; do
10229 if test "X$pkg" = "X$p"; then
10230 enable_fast_install=yes
10237 enable_fast_install=yes
10250 # This can be used to rebuild libtool when needed
10251 LIBTOOL_DEPS="$ltmain"
10253 # Always use our own libtool.
10254 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10280 test -z "$LN_S" && LN_S="ln -s"
10295 if test -n "${ZSH_VERSION+set}" ; then
10296 setopt NO_GLOB_SUBST
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10300 $as_echo_n "checking for objdir... " >&6; }
10301 if test "${lt_cv_objdir+set}" = set; then :
10302 $as_echo_n "(cached) " >&6
10304 rm -f .libs 2>/dev/null
10305 mkdir .libs 2>/dev/null
10306 if test -d .libs; then
10309 # MS-DOS does not allow filenames that begin with a dot.
10312 rmdir .libs 2>/dev/null
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10315 $as_echo "$lt_cv_objdir" >&6; }
10316 objdir=$lt_cv_objdir
10322 cat >>confdefs.h <<_ACEOF
10323 #define LT_OBJDIR "$lt_cv_objdir/"
10344 # AIX sometimes has problems with the GCC collect2 program. For some
10345 # reason, if we set the COLLECT_NAMES environment variable, the problems
10346 # vanish in a puff of smoke.
10347 if test "X${COLLECT_NAMES+set}" != Xset; then
10349 export COLLECT_NAMES
10354 # Sed substitution that helps us do robust quoting. It backslashifies
10355 # metacharacters that are still active within double-quoted strings.
10356 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
10358 # Same as above, but do not quote variable references.
10359 double_quote_subst='s/\(["`\\]\)/\\\1/g'
10361 # Sed substitution to delay expansion of an escaped shell variable in a
10362 # double_quote_subst'ed string.
10363 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
10365 # Sed substitution to delay expansion of an escaped single quote.
10366 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
10368 # Sed substitution to avoid accidental globbing in evaled expressions
10369 no_glob_subst='s/\*/\\\*/g'
10371 # Global variables:
10373 can_build_shared=yes
10375 # All known linkers require a `.a' archive for static linking (except MSVC,
10376 # which needs '.lib').
10379 with_gnu_ld="$lt_cv_prog_gnu_ld"
10382 old_CFLAGS="$CFLAGS"
10384 # Set sane defaults for various variables
10385 test -z "$CC" && CC=cc
10386 test -z "$LTCC" && LTCC=$CC
10387 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10388 test -z "$LD" && LD=ld
10389 test -z "$ac_objext" && ac_objext=o
10391 for cc_temp in $compiler""; do
10393 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10394 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10399 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10402 # Only perform the check for file, if the check method requires it
10403 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10404 case $deplibs_check_method in
10406 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10408 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10409 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10410 $as_echo_n "(cached) " >&6
10414 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10417 lt_save_MAGIC_CMD="$MAGIC_CMD"
10418 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10419 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10420 for ac_dir in $ac_dummy; do
10422 test -z "$ac_dir" && ac_dir=.
10423 if test -f $ac_dir/${ac_tool_prefix}file; then
10424 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10425 if test -n "$file_magic_test_file"; then
10426 case $deplibs_check_method in
10428 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10429 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10430 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10431 $EGREP "$file_magic_regex" > /dev/null; then
10436 *** Warning: the command libtool uses to detect shared libraries,
10437 *** $file_magic_cmd, produces output that libtool cannot recognize.
10438 *** The result is that libtool may fail to recognize shared libraries
10439 *** as such. This will affect the creation of libtool libraries that
10440 *** depend on shared libraries, but programs linked with such libtool
10441 *** libraries will work regardless of this problem. Nevertheless, you
10442 *** may want to report the problem to your system manager and/or to
10443 *** bug-libtool@gnu.org
10453 MAGIC_CMD="$lt_save_MAGIC_CMD"
10458 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10459 if test -n "$MAGIC_CMD"; then
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10461 $as_echo "$MAGIC_CMD" >&6; }
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10464 $as_echo "no" >&6; }
10471 if test -z "$lt_cv_path_MAGIC_CMD"; then
10472 if test -n "$ac_tool_prefix"; then
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10474 $as_echo_n "checking for file... " >&6; }
10475 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10476 $as_echo_n "(cached) " >&6
10480 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10483 lt_save_MAGIC_CMD="$MAGIC_CMD"
10484 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10485 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10486 for ac_dir in $ac_dummy; do
10488 test -z "$ac_dir" && ac_dir=.
10489 if test -f $ac_dir/file; then
10490 lt_cv_path_MAGIC_CMD="$ac_dir/file"
10491 if test -n "$file_magic_test_file"; then
10492 case $deplibs_check_method in
10494 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10495 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10496 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10497 $EGREP "$file_magic_regex" > /dev/null; then
10502 *** Warning: the command libtool uses to detect shared libraries,
10503 *** $file_magic_cmd, produces output that libtool cannot recognize.
10504 *** The result is that libtool may fail to recognize shared libraries
10505 *** as such. This will affect the creation of libtool libraries that
10506 *** depend on shared libraries, but programs linked with such libtool
10507 *** libraries will work regardless of this problem. Nevertheless, you
10508 *** may want to report the problem to your system manager and/or to
10509 *** bug-libtool@gnu.org
10519 MAGIC_CMD="$lt_save_MAGIC_CMD"
10524 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10525 if test -n "$MAGIC_CMD"; then
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10527 $as_echo "$MAGIC_CMD" >&6; }
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10530 $as_echo "no" >&6; }
10543 # Use C for the default configuration in the libtool script
10547 ac_cpp='$CPP $CPPFLAGS'
10548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10553 # Source file extension for C test sources.
10556 # Object file extension for compiled C test sources.
10560 # Code to be used in simple compile tests
10561 lt_simple_compile_test_code="int some_variable = 0;"
10563 # Code to be used in simple link tests
10564 lt_simple_link_test_code='int main(){return(0);}'
10572 # If no C compiler was specified, use CC.
10575 # If no C compiler flags were specified, use CFLAGS.
10576 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10578 # Allow CC to be a program name with arguments.
10581 # Save the default compiler, since it gets overwritten when the other
10582 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10583 compiler_DEFAULT=$CC
10585 # save warnings/boilerplate of simple test code
10586 ac_outfile=conftest.$ac_objext
10587 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10588 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10589 _lt_compiler_boilerplate=`cat conftest.err`
10592 ac_outfile=conftest.$ac_objext
10593 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10594 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10595 _lt_linker_boilerplate=`cat conftest.err`
10600 ## There is no encapsulation within the following macros, do not change
10601 ## the running order or otherwise move them around unless you know exactly
10602 ## what you are doing...
10603 if test -n "$compiler"; then
10605 lt_prog_compiler_no_builtin_flag=
10607 if test "$GCC" = yes; then
10608 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10611 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10612 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
10613 $as_echo_n "(cached) " >&6
10615 lt_cv_prog_compiler_rtti_exceptions=no
10616 ac_outfile=conftest.$ac_objext
10617 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10618 lt_compiler_flag="-fno-rtti -fno-exceptions"
10619 # Insert the option either (1) after the last *FLAGS variable, or
10620 # (2) before a word containing "conftest.", or (3) at the end.
10621 # Note that $ac_compile itself does not contain backslashes and begins
10622 # with a dollar sign (not a hyphen), so the echo should work correctly.
10623 # The option is referenced via a variable to avoid confusing sed.
10624 lt_compile=`echo "$ac_compile" | $SED \
10625 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10626 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10627 -e 's:$: $lt_compiler_flag:'`
10628 (eval echo "\"\$as_me:10628: $lt_compile\"" >&5)
10629 (eval "$lt_compile" 2>conftest.err)
10631 cat conftest.err >&5
10632 echo "$as_me:10632: \$? = $ac_status" >&5
10633 if (exit $ac_status) && test -s "$ac_outfile"; then
10634 # The compiler can only warn and ignore the option if not recognized
10635 # So say no if there are warnings other than the usual output.
10636 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10637 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10638 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10639 lt_cv_prog_compiler_rtti_exceptions=yes
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10646 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10648 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10649 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10661 lt_prog_compiler_wl=
10662 lt_prog_compiler_pic=
10663 lt_prog_compiler_static=
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10666 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10668 if test "$GCC" = yes; then
10669 lt_prog_compiler_wl='-Wl,'
10670 lt_prog_compiler_static='-static'
10674 # All AIX code is PIC.
10675 if test "$host_cpu" = ia64; then
10676 # AIX 5 now supports IA64 processor
10677 lt_prog_compiler_static='-Bstatic'
10684 # see comment about AmigaOS4 .so support
10685 lt_prog_compiler_pic='-fPIC'
10688 # FIXME: we need at least 68020 code to build shared libraries, but
10689 # adding the `-m68020' flag to GCC prevents building anything better,
10691 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10696 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10697 # PIC is the default for these OSes.
10700 mingw* | cygwin* | pw32* | os2* | cegcc*)
10701 # This hack is so that the source file can tell whether it is being
10702 # built for inclusion in a dll (and should export symbols for example).
10703 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10704 # (--disable-auto-import) libraries
10705 lt_prog_compiler_pic='-DDLL_EXPORT'
10708 darwin* | rhapsody*)
10709 # PIC is the default on this platform
10710 # Common symbols not allowed in MH_DYLIB files
10711 lt_prog_compiler_pic='-fno-common'
10715 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10716 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10717 # sets the default TLS model and affects inlining.
10723 lt_prog_compiler_pic='-fPIC'
10729 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10730 # Instead, we relocate shared libraries at runtime.
10734 # Just because we use GCC doesn't mean we suddenly get shared libraries
10735 # on systems that don't support them.
10736 lt_prog_compiler_can_build_shared=no
10741 # QNX uses GNU C++, but need to define -shared option too, otherwise
10742 # it will coredump.
10743 lt_prog_compiler_pic='-fPIC -shared'
10747 if test -d /usr/nec; then
10748 lt_prog_compiler_pic=-Kconform_pic
10753 lt_prog_compiler_pic='-fPIC'
10757 # PORTME Check for flag to pass linker flags through the system compiler.
10760 lt_prog_compiler_wl='-Wl,'
10761 if test "$host_cpu" = ia64; then
10762 # AIX 5 now supports IA64 processor
10763 lt_prog_compiler_static='-Bstatic'
10765 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10769 mingw* | cygwin* | pw32* | os2* | cegcc*)
10770 # This hack is so that the source file can tell whether it is being
10771 # built for inclusion in a dll (and should export symbols for example).
10772 lt_prog_compiler_pic='-DDLL_EXPORT'
10775 hpux9* | hpux10* | hpux11*)
10776 lt_prog_compiler_wl='-Wl,'
10777 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10778 # not for PA HP-UX.
10784 lt_prog_compiler_pic='+Z'
10787 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10788 lt_prog_compiler_static='${wl}-a ${wl}archive'
10791 irix5* | irix6* | nonstopux*)
10792 lt_prog_compiler_wl='-Wl,'
10793 # PIC (with -KPIC) is the default.
10794 lt_prog_compiler_static='-non_shared'
10797 linux* | k*bsd*-gnu)
10798 case $cc_basename in
10799 # old Intel for x86_64 which still supported -KPIC.
10801 lt_prog_compiler_wl='-Wl,'
10802 lt_prog_compiler_pic='-KPIC'
10803 lt_prog_compiler_static='-static'
10805 # icc used to be incompatible with GCC.
10806 # ICC 10 doesn't accept -KPIC any more.
10808 lt_prog_compiler_wl='-Wl,'
10809 lt_prog_compiler_pic='-fPIC'
10810 lt_prog_compiler_static='-static'
10812 # Lahey Fortran 8.1.
10814 lt_prog_compiler_wl='-Wl,'
10815 lt_prog_compiler_pic='--shared'
10816 lt_prog_compiler_static='--static'
10818 pgcc* | pgf77* | pgf90* | pgf95*)
10819 # Portland Group compilers (*not* the Pentium gcc compiler,
10820 # which looks to be a dead project)
10821 lt_prog_compiler_wl='-Wl,'
10822 lt_prog_compiler_pic='-fpic'
10823 lt_prog_compiler_static='-Bstatic'
10826 lt_prog_compiler_wl='-Wl,'
10827 # All Alpha code is PIC.
10828 lt_prog_compiler_static='-non_shared'
10831 # IBM XL C 8.0/Fortran 10.1 on PPC
10832 lt_prog_compiler_wl='-Wl,'
10833 lt_prog_compiler_pic='-qpic'
10834 lt_prog_compiler_static='-qstaticlink'
10837 case `$CC -V 2>&1 | sed 5q` in
10840 lt_prog_compiler_pic='-KPIC'
10841 lt_prog_compiler_static='-Bstatic'
10842 lt_prog_compiler_wl='-Wl,'
10845 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10846 lt_prog_compiler_pic='-KPIC'
10847 lt_prog_compiler_static='-Bstatic'
10848 lt_prog_compiler_wl=''
10856 lt_prog_compiler_pic='-KPIC'
10857 lt_prog_compiler_static='-Bstatic'
10861 # QNX uses GNU C++, but need to define -shared option too, otherwise
10862 # it will coredump.
10863 lt_prog_compiler_pic='-fPIC -shared'
10866 osf3* | osf4* | osf5*)
10867 lt_prog_compiler_wl='-Wl,'
10868 # All OSF/1 code is PIC.
10869 lt_prog_compiler_static='-non_shared'
10873 lt_prog_compiler_static='-non_shared'
10877 lt_prog_compiler_pic='-KPIC'
10878 lt_prog_compiler_static='-Bstatic'
10879 case $cc_basename in
10880 f77* | f90* | f95*)
10881 lt_prog_compiler_wl='-Qoption ld ';;
10883 lt_prog_compiler_wl='-Wl,';;
10888 lt_prog_compiler_wl='-Qoption ld '
10889 lt_prog_compiler_pic='-PIC'
10890 lt_prog_compiler_static='-Bstatic'
10893 sysv4 | sysv4.2uw2* | sysv4.3*)
10894 lt_prog_compiler_wl='-Wl,'
10895 lt_prog_compiler_pic='-KPIC'
10896 lt_prog_compiler_static='-Bstatic'
10900 if test -d /usr/nec ;then
10901 lt_prog_compiler_pic='-Kconform_pic'
10902 lt_prog_compiler_static='-Bstatic'
10906 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10907 lt_prog_compiler_wl='-Wl,'
10908 lt_prog_compiler_pic='-KPIC'
10909 lt_prog_compiler_static='-Bstatic'
10913 lt_prog_compiler_wl='-Wl,'
10914 lt_prog_compiler_can_build_shared=no
10918 lt_prog_compiler_pic='-pic'
10919 lt_prog_compiler_static='-Bstatic'
10923 lt_prog_compiler_can_build_shared=no
10929 # For platforms which do not support PIC, -DPIC is meaningless:
10931 lt_prog_compiler_pic=
10934 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10938 $as_echo "$lt_prog_compiler_pic" >&6; }
10946 # Check to make sure the PIC flag actually works.
10948 if test -n "$lt_prog_compiler_pic"; then
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10950 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10951 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
10952 $as_echo_n "(cached) " >&6
10954 lt_cv_prog_compiler_pic_works=no
10955 ac_outfile=conftest.$ac_objext
10956 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10957 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10958 # Insert the option either (1) after the last *FLAGS variable, or
10959 # (2) before a word containing "conftest.", or (3) at the end.
10960 # Note that $ac_compile itself does not contain backslashes and begins
10961 # with a dollar sign (not a hyphen), so the echo should work correctly.
10962 # The option is referenced via a variable to avoid confusing sed.
10963 lt_compile=`echo "$ac_compile" | $SED \
10964 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10965 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10966 -e 's:$: $lt_compiler_flag:'`
10967 (eval echo "\"\$as_me:10967: $lt_compile\"" >&5)
10968 (eval "$lt_compile" 2>conftest.err)
10970 cat conftest.err >&5
10971 echo "$as_me:10971: \$? = $ac_status" >&5
10972 if (exit $ac_status) && test -s "$ac_outfile"; then
10973 # The compiler can only warn and ignore the option if not recognized
10974 # So say no if there are warnings other than the usual output.
10975 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10976 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10977 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10978 lt_cv_prog_compiler_pic_works=yes
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10985 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10987 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10988 case $lt_prog_compiler_pic in
10990 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10993 lt_prog_compiler_pic=
10994 lt_prog_compiler_can_build_shared=no
11005 # Check to make sure the static flag actually works.
11007 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11009 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11010 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
11011 $as_echo_n "(cached) " >&6
11013 lt_cv_prog_compiler_static_works=no
11014 save_LDFLAGS="$LDFLAGS"
11015 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11016 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11017 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11018 # The linker can only warn and ignore the option if not recognized
11019 # So say no if there are warnings
11020 if test -s conftest.err; then
11021 # Append any errors to the config.log.
11022 cat conftest.err 1>&5
11023 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11024 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11025 if diff conftest.exp conftest.er2 >/dev/null; then
11026 lt_cv_prog_compiler_static_works=yes
11029 lt_cv_prog_compiler_static_works=yes
11033 LDFLAGS="$save_LDFLAGS"
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11037 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11039 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11042 lt_prog_compiler_static=
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11052 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11053 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
11054 $as_echo_n "(cached) " >&6
11056 lt_cv_prog_compiler_c_o=no
11057 $RM -r conftest 2>/dev/null
11061 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11063 lt_compiler_flag="-o out/conftest2.$ac_objext"
11064 # Insert the option either (1) after the last *FLAGS variable, or
11065 # (2) before a word containing "conftest.", or (3) at the end.
11066 # Note that $ac_compile itself does not contain backslashes and begins
11067 # with a dollar sign (not a hyphen), so the echo should work correctly.
11068 lt_compile=`echo "$ac_compile" | $SED \
11069 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11070 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11071 -e 's:$: $lt_compiler_flag:'`
11072 (eval echo "\"\$as_me:11072: $lt_compile\"" >&5)
11073 (eval "$lt_compile" 2>out/conftest.err)
11075 cat out/conftest.err >&5
11076 echo "$as_me:11076: \$? = $ac_status" >&5
11077 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11079 # The compiler can only warn and ignore the option if not recognized
11080 # So say no if there are warnings
11081 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11082 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11083 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11084 lt_cv_prog_compiler_c_o=yes
11089 # SGI C++ compiler will create directory out/ii_files/ for
11090 # template instantiation
11091 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11092 $RM out/* && rmdir out
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11099 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11107 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11108 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
11109 $as_echo_n "(cached) " >&6
11111 lt_cv_prog_compiler_c_o=no
11112 $RM -r conftest 2>/dev/null
11116 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11118 lt_compiler_flag="-o out/conftest2.$ac_objext"
11119 # Insert the option either (1) after the last *FLAGS variable, or
11120 # (2) before a word containing "conftest.", or (3) at the end.
11121 # Note that $ac_compile itself does not contain backslashes and begins
11122 # with a dollar sign (not a hyphen), so the echo should work correctly.
11123 lt_compile=`echo "$ac_compile" | $SED \
11124 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11125 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11126 -e 's:$: $lt_compiler_flag:'`
11127 (eval echo "\"\$as_me:11127: $lt_compile\"" >&5)
11128 (eval "$lt_compile" 2>out/conftest.err)
11130 cat out/conftest.err >&5
11131 echo "$as_me:11131: \$? = $ac_status" >&5
11132 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11134 # The compiler can only warn and ignore the option if not recognized
11135 # So say no if there are warnings
11136 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11137 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11138 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11139 lt_cv_prog_compiler_c_o=yes
11144 # SGI C++ compiler will create directory out/ii_files/ for
11145 # template instantiation
11146 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11147 $RM out/* && rmdir out
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11154 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11159 hard_links="nottested"
11160 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11161 # do not overwrite the value of need_locks provided by the user
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11163 $as_echo_n "checking if we can lock with hard links... " >&6; }
11166 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11168 ln conftest.a conftest.b 2>&5 || hard_links=no
11169 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11171 $as_echo "$hard_links" >&6; }
11172 if test "$hard_links" = no; then
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11174 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11187 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11190 allow_undefined_flag=
11191 always_export_symbols=no
11193 archive_expsym_cmds=
11194 compiler_needs_object=no
11195 enable_shared_with_static_runtimes=no
11196 export_dynamic_flag_spec=
11197 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11198 hardcode_automatic=no
11200 hardcode_direct_absolute=no
11201 hardcode_libdir_flag_spec=
11202 hardcode_libdir_flag_spec_ld=
11203 hardcode_libdir_separator=
11204 hardcode_minus_L=no
11205 hardcode_shlibpath_var=unsupported
11207 link_all_deplibs=unknown
11209 module_expsym_cmds=
11210 old_archive_from_new_cmds=
11211 old_archive_from_expsyms_cmds=
11212 thread_safe_flag_spec=
11213 whole_archive_flag_spec=
11214 # include_expsyms should be a list of space-separated symbols to be *always*
11215 # included in the symbol list
11217 # exclude_expsyms can be an extended regexp of symbols to exclude
11218 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11219 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11220 # as well as any symbol that contains `d'.
11221 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11222 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11223 # platforms (ab)use it in PIC code, but their linkers get confused if
11224 # the symbol is explicitly referenced. Since portable code cannot
11225 # rely on this symbol name, it's probably fine to never include it in
11226 # preloaded symbol tables.
11227 # Exclude shared library initialization/finalization symbols.
11228 extract_expsyms_cmds=
11231 cygwin* | mingw* | pw32* | cegcc*)
11232 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11233 # When not using gcc, we currently assume that we are using
11234 # Microsoft Visual C++.
11235 if test "$GCC" != yes; then
11240 # we just hope/assume this is gcc and not c89 (= MSVC++)
11249 if test "$with_gnu_ld" = yes; then
11250 # If archive_cmds runs LD, not CC, wlarc should be empty
11253 # Set some defaults for GNU ld with shared library support. These
11254 # are reset later if shared libraries are not supported. Putting them
11255 # here allows them to be overridden if necessary.
11256 runpath_var=LD_RUN_PATH
11257 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11258 export_dynamic_flag_spec='${wl}--export-dynamic'
11259 # ancient GNU ld didn't support --whole-archive et. al.
11260 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11261 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11263 whole_archive_flag_spec=
11265 supports_anon_versioning=no
11266 case `$LD -v 2>&1` in
11267 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11268 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11269 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11270 *\ 2.11.*) ;; # other 2.11 versions
11271 *) supports_anon_versioning=yes ;;
11274 # See if GNU ld supports shared libraries.
11277 # On AIX/PPC, the GNU linker is very broken
11278 if test "$host_cpu" != ia64; then
11282 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11283 *** to be unable to reliably create shared libraries on AIX.
11284 *** Therefore, libtool is disabling shared libraries support. If you
11285 *** really care for shared libraries, you may want to modify your PATH
11286 *** so that a non-GNU linker is found, and then restart.
11295 # see comment about AmigaOS4 .so support
11296 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11297 archive_expsym_cmds=''
11300 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11301 hardcode_libdir_flag_spec='-L$libdir'
11302 hardcode_minus_L=yes
11308 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11309 allow_undefined_flag=unsupported
11310 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11311 # support --undefined. This deserves some investigation. FIXME
11312 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11318 cygwin* | mingw* | pw32* | cegcc*)
11319 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11320 # as there is no search path for DLLs.
11321 hardcode_libdir_flag_spec='-L$libdir'
11322 allow_undefined_flag=unsupported
11323 always_export_symbols=no
11324 enable_shared_with_static_runtimes=yes
11325 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11327 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11328 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11329 # If the export-symbols file already is a .def file (1st line
11330 # is EXPORTS), use it as is; otherwise, prepend...
11331 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11332 cp $export_symbols $output_objdir/$soname.def;
11334 echo EXPORTS > $output_objdir/$soname.def;
11335 cat $export_symbols >> $output_objdir/$soname.def;
11337 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11345 hardcode_shlibpath_var=no
11346 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11347 export_dynamic_flag_spec='${wl}-E'
11348 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11349 # Instead, shared libraries are loaded at an image base (0x10000000 by
11350 # default) and relocated if they conflict, which is a slow very memory
11351 # consuming and fragmenting process. To avoid this, we pick a random,
11352 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11353 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11354 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11355 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11358 gnu* | linux* | tpf* | k*bsd*-gnu)
11360 if test "$host_os" = linux-dietlibc; then
11361 case $cc_basename in
11362 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11365 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11366 && test "$tmp_diet" = no
11369 tmp_sharedflag='-shared'
11370 case $cc_basename,$host_cpu in
11371 pgcc*) # Portland Group C compiler
11372 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11373 tmp_addflag=' $pic_flag'
11375 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
11376 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11377 tmp_addflag=' $pic_flag -Mnomain' ;;
11378 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11379 tmp_addflag=' -i_dynamic' ;;
11380 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11381 tmp_addflag=' -i_dynamic -nofor_main' ;;
11382 ifc* | ifort*) # Intel Fortran compiler
11383 tmp_addflag=' -nofor_main' ;;
11384 lf95*) # Lahey Fortran 8.1
11385 whole_archive_flag_spec=
11386 tmp_sharedflag='--shared' ;;
11387 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11388 tmp_sharedflag='-qmkshrobj'
11391 case `$CC -V 2>&1 | sed 5q` in
11392 *Sun\ C*) # Sun C 5.9
11393 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11394 compiler_needs_object=yes
11395 tmp_sharedflag='-G' ;;
11396 *Sun\ F*) # Sun Fortran 8.3
11397 tmp_sharedflag='-G' ;;
11399 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11401 if test "x$supports_anon_versioning" = xyes; then
11402 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11403 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11404 echo "local: *; };" >> $output_objdir/$libname.ver~
11405 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11408 case $cc_basename in
11410 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11411 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11412 hardcode_libdir_flag_spec=
11413 hardcode_libdir_flag_spec_ld='-rpath $libdir'
11414 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
11415 if test "x$supports_anon_versioning" = xyes; then
11416 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11417 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11418 echo "local: *; };" >> $output_objdir/$libname.ver~
11419 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11428 netbsd* | netbsdelf*-gnu)
11429 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11430 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11433 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11434 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11439 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11443 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11444 *** create shared libraries on Solaris systems. Therefore, libtool
11445 *** is disabling shared libraries support. We urge you to upgrade GNU
11446 *** binutils to release 2.9.1 or newer. Another option is to modify
11447 *** your PATH or compiler configuration so that the native linker is
11448 *** used, and then restart.
11451 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11452 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11453 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11459 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11460 case `$LD -v 2>&1` in
11461 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11465 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11466 *** reliably create shared libraries on SCO systems. Therefore, libtool
11467 *** is disabling shared libraries support. We urge you to upgrade GNU
11468 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11469 *** your PATH or compiler configuration so that the native linker is
11470 *** used, and then restart.
11475 # For security reasons, it is highly recommended that you always
11476 # use absolute paths for naming shared libraries, and exclude the
11477 # DT_RUNPATH tag from executables and libraries. But doing so
11478 # requires that you compile everything twice, which is a pain.
11479 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11480 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11481 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11482 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11491 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11493 hardcode_direct=yes
11494 hardcode_shlibpath_var=no
11498 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11499 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11500 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11507 if test "$ld_shlibs" = no; then
11509 hardcode_libdir_flag_spec=
11510 export_dynamic_flag_spec=
11511 whole_archive_flag_spec=
11514 # PORTME fill in a description of your system's linker (not GNU ld)
11517 allow_undefined_flag=unsupported
11518 always_export_symbols=yes
11519 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
11520 # Note: this linker hardcodes the directories in LIBPATH if there
11521 # are no directories specified by -L.
11522 hardcode_minus_L=yes
11523 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11524 # Neither direct hardcoding nor static linking is supported with a
11526 hardcode_direct=unsupported
11531 if test "$host_cpu" = ia64; then
11532 # On IA64, the linker does run time linking by default, so we don't
11533 # have to do anything special.
11534 aix_use_runtimelinking=no
11535 exp_sym_flag='-Bexport'
11538 # If we're using GNU nm, then we don't want the "-C" option.
11539 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11540 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11541 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11543 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11545 aix_use_runtimelinking=no
11547 # Test if we are trying to use run time linking or normal
11548 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11549 # need to do runtime linking.
11550 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11551 for ld_flag in $LDFLAGS; do
11552 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11553 aix_use_runtimelinking=yes
11560 exp_sym_flag='-bexport'
11561 no_entry_flag='-bnoentry'
11564 # When large executables or shared objects are built, AIX ld can
11565 # have problems creating the table of contents. If linking a library
11566 # or program results in "error TOC overflow" add -mminimal-toc to
11567 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11568 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11571 hardcode_direct=yes
11572 hardcode_direct_absolute=yes
11573 hardcode_libdir_separator=':'
11574 link_all_deplibs=yes
11575 file_list_spec='${wl}-f,'
11577 if test "$GCC" = yes; then
11578 case $host_os in aix4.[012]|aix4.[012].*)
11579 # We only want to do this on AIX 4.2 and lower, the check
11580 # below for broken collect2 doesn't work under 4.3+
11581 collect2name=`${CC} -print-prog-name=collect2`
11582 if test -f "$collect2name" &&
11583 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11585 # We have reworked collect2
11588 # We have old collect2
11589 hardcode_direct=unsupported
11590 # It fails to find uninstalled libraries when the uninstalled
11591 # path is not listed in the libpath. Setting hardcode_minus_L
11592 # to unsupported forces relinking
11593 hardcode_minus_L=yes
11594 hardcode_libdir_flag_spec='-L$libdir'
11595 hardcode_libdir_separator=
11599 shared_flag='-shared'
11600 if test "$aix_use_runtimelinking" = yes; then
11601 shared_flag="$shared_flag "'${wl}-G'
11603 link_all_deplibs=no
11606 if test "$host_cpu" = ia64; then
11607 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11608 # chokes on -Wl,-G. The following line is correct:
11611 if test "$aix_use_runtimelinking" = yes; then
11612 shared_flag='${wl}-G'
11614 shared_flag='${wl}-bM:SRE'
11619 export_dynamic_flag_spec='${wl}-bexpall'
11620 # It seems that -bexpall does not export symbols beginning with
11621 # underscore (_), so it is better to generate a list of symbols to export.
11622 always_export_symbols=yes
11623 if test "$aix_use_runtimelinking" = yes; then
11624 # Warning - without using the other runtime loading flags (-brtl),
11625 # -berok will link without error, but may produce a broken library.
11626 allow_undefined_flag='-berok'
11627 # Determine the default libpath from the value encoded in an
11628 # empty executable.
11629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11630 /* end confdefs.h. */
11640 if ac_fn_c_try_link "$LINENO"; then :
11642 lt_aix_libpath_sed='
11643 /Import File Strings/,/^$/ {
11649 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11650 # Check for a 64-bit object if we didn't find anything.
11651 if test -z "$aix_libpath"; then
11652 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11655 rm -f core conftest.err conftest.$ac_objext \
11656 conftest$ac_exeext conftest.$ac_ext
11657 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11659 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11660 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11662 if test "$host_cpu" = ia64; then
11663 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11664 allow_undefined_flag="-z nodefs"
11665 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11667 # Determine the default libpath from the value encoded in an
11668 # empty executable.
11669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11670 /* end confdefs.h. */
11680 if ac_fn_c_try_link "$LINENO"; then :
11682 lt_aix_libpath_sed='
11683 /Import File Strings/,/^$/ {
11689 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11690 # Check for a 64-bit object if we didn't find anything.
11691 if test -z "$aix_libpath"; then
11692 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11695 rm -f core conftest.err conftest.$ac_objext \
11696 conftest$ac_exeext conftest.$ac_ext
11697 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11699 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11700 # Warning - without using the other run time loading flags,
11701 # -berok will link without error, but may produce a broken library.
11702 no_undefined_flag=' ${wl}-bernotok'
11703 allow_undefined_flag=' ${wl}-berok'
11704 # Exported symbols can be pulled into shared objects from archives
11705 whole_archive_flag_spec='$convenience'
11706 archive_cmds_need_lc=yes
11707 # This is similar to how AIX traditionally builds its shared libraries.
11708 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11716 # see comment about AmigaOS4 .so support
11717 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11718 archive_expsym_cmds=''
11721 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11722 hardcode_libdir_flag_spec='-L$libdir'
11723 hardcode_minus_L=yes
11729 export_dynamic_flag_spec=-rdynamic
11732 cygwin* | mingw* | pw32* | cegcc*)
11733 # When not using gcc, we currently assume that we are using
11734 # Microsoft Visual C++.
11735 # hardcode_libdir_flag_spec is actually meaningless, as there is
11736 # no search path for DLLs.
11737 hardcode_libdir_flag_spec=' '
11738 allow_undefined_flag=unsupported
11739 # Tell ltmain to make .lib files, not .a files.
11741 # Tell ltmain to make .dll files, not .so files.
11743 # FIXME: Setting linknames here is a bad hack.
11744 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11745 # The linker will automatically build a .lib file if we build a DLL.
11746 old_archive_from_new_cmds='true'
11747 # FIXME: Should let the user specify the lib program.
11748 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11749 fix_srcfile_path='`cygpath -w "$srcfile"`'
11750 enable_shared_with_static_runtimes=yes
11753 darwin* | rhapsody*)
11756 archive_cmds_need_lc=no
11758 hardcode_automatic=yes
11759 hardcode_shlibpath_var=unsupported
11760 whole_archive_flag_spec=''
11761 link_all_deplibs=yes
11762 allow_undefined_flag="$_lt_dar_allow_undefined"
11763 case $cc_basename in
11764 ifort*) _lt_dar_can_shared=yes ;;
11765 *) _lt_dar_can_shared=$GCC ;;
11767 if test "$_lt_dar_can_shared" = "yes"; then
11768 output_verbose_link_cmd=echo
11769 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11770 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11771 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11772 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11781 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11782 hardcode_libdir_flag_spec='-L$libdir'
11783 hardcode_shlibpath_var=no
11790 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11791 # support. Future versions do this automatically, but an explicit c++rt0.o
11792 # does not break anything, and helps significantly (at the cost of a little
11795 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11796 hardcode_libdir_flag_spec='-R$libdir'
11797 hardcode_direct=yes
11798 hardcode_shlibpath_var=no
11801 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11803 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11804 hardcode_direct=yes
11805 hardcode_minus_L=yes
11806 hardcode_shlibpath_var=no
11809 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11810 freebsd* | dragonfly*)
11811 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11812 hardcode_libdir_flag_spec='-R$libdir'
11813 hardcode_direct=yes
11814 hardcode_shlibpath_var=no
11818 if test "$GCC" = yes; then
11819 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11821 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11823 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11824 hardcode_libdir_separator=:
11825 hardcode_direct=yes
11827 # hardcode_minus_L: Not really in the search PATH,
11828 # but as the default location of the library.
11829 hardcode_minus_L=yes
11830 export_dynamic_flag_spec='${wl}-E'
11834 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11835 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11837 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11839 if test "$with_gnu_ld" = no; then
11840 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11841 hardcode_libdir_flag_spec_ld='+b $libdir'
11842 hardcode_libdir_separator=:
11843 hardcode_direct=yes
11844 hardcode_direct_absolute=yes
11845 export_dynamic_flag_spec='${wl}-E'
11846 # hardcode_minus_L: Not really in the search PATH,
11847 # but as the default location of the library.
11848 hardcode_minus_L=yes
11853 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11856 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11859 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11862 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11868 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11871 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11874 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11878 if test "$with_gnu_ld" = no; then
11879 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11880 hardcode_libdir_separator=:
11885 hardcode_shlibpath_var=no
11888 hardcode_direct=yes
11889 hardcode_direct_absolute=yes
11890 export_dynamic_flag_spec='${wl}-E'
11892 # hardcode_minus_L: Not really in the search PATH,
11893 # but as the default location of the library.
11894 hardcode_minus_L=yes
11900 irix5* | irix6* | nonstopux*)
11901 if test "$GCC" = yes; then
11902 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11903 # Try to use the -exported_symbol ld option, if it does not
11904 # work, assume that -exports_file does not work either and
11905 # implicitly export all symbols.
11906 save_LDFLAGS="$LDFLAGS"
11907 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11912 if ac_fn_c_try_link "$LINENO"; then :
11913 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11916 rm -f core conftest.err conftest.$ac_objext \
11917 conftest$ac_exeext conftest.$ac_ext
11918 LDFLAGS="$save_LDFLAGS"
11920 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11921 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
11923 archive_cmds_need_lc='no'
11924 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11925 hardcode_libdir_separator=:
11927 link_all_deplibs=yes
11930 netbsd* | netbsdelf*-gnu)
11931 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11932 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11934 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11936 hardcode_libdir_flag_spec='-R$libdir'
11937 hardcode_direct=yes
11938 hardcode_shlibpath_var=no
11942 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11943 hardcode_direct=yes
11944 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11945 hardcode_libdir_separator=:
11946 hardcode_shlibpath_var=no
11953 if test -f /usr/libexec/ld.so; then
11954 hardcode_direct=yes
11955 hardcode_shlibpath_var=no
11956 hardcode_direct_absolute=yes
11957 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11958 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11959 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11960 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11961 export_dynamic_flag_spec='${wl}-E'
11964 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11965 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11966 hardcode_libdir_flag_spec='-R$libdir'
11969 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11970 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11980 hardcode_libdir_flag_spec='-L$libdir'
11981 hardcode_minus_L=yes
11982 allow_undefined_flag=unsupported
11983 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
11984 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11988 if test "$GCC" = yes; then
11989 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11990 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11992 allow_undefined_flag=' -expect_unresolved \*'
11993 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11995 archive_cmds_need_lc='no'
11996 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11997 hardcode_libdir_separator=:
12000 osf4* | osf5*) # as osf3* with the addition of -msym flag
12001 if test "$GCC" = yes; then
12002 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12003 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12004 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12006 allow_undefined_flag=' -expect_unresolved \*'
12007 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12008 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
12009 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
12011 # Both c and cxx compiler support -rpath directly
12012 hardcode_libdir_flag_spec='-rpath $libdir'
12014 archive_cmds_need_lc='no'
12015 hardcode_libdir_separator=:
12019 no_undefined_flag=' -z defs'
12020 if test "$GCC" = yes; then
12022 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12023 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12024 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12026 case `$CC -V 2>&1` in
12029 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12030 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12031 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12035 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12036 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12037 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12041 hardcode_libdir_flag_spec='-R$libdir'
12042 hardcode_shlibpath_var=no
12044 solaris2.[0-5] | solaris2.[0-5].*) ;;
12046 # The compiler driver will combine and reorder linker options,
12047 # but understands `-z linker_flag'. GCC discards it without `$wl',
12048 # but is careful enough not to reorder.
12049 # Supported since Solaris 2.6 (maybe 2.5.1?)
12050 if test "$GCC" = yes; then
12051 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12053 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12057 link_all_deplibs=yes
12061 if test "x$host_vendor" = xsequent; then
12062 # Use $CC to link under sequent, because it throws in some extra .o
12063 # files that make .init and .fini sections work.
12064 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12066 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12068 hardcode_libdir_flag_spec='-L$libdir'
12069 hardcode_direct=yes
12070 hardcode_minus_L=yes
12071 hardcode_shlibpath_var=no
12075 case $host_vendor in
12077 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12078 hardcode_direct=yes # is this really true???
12081 ## LD is ld it makes a PLAMLIB
12082 ## CC just makes a GrossModule.
12083 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12084 reload_cmds='$CC -r -o $output$reload_objs'
12088 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12089 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12092 runpath_var='LD_RUN_PATH'
12093 hardcode_shlibpath_var=no
12097 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12098 hardcode_shlibpath_var=no
12099 export_dynamic_flag_spec='-Bexport'
12103 if test -d /usr/nec; then
12104 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12105 hardcode_shlibpath_var=no
12106 runpath_var=LD_RUN_PATH
12107 hardcode_runpath_var=yes
12112 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12113 no_undefined_flag='${wl}-z,text'
12114 archive_cmds_need_lc=no
12115 hardcode_shlibpath_var=no
12116 runpath_var='LD_RUN_PATH'
12118 if test "$GCC" = yes; then
12119 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12120 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12122 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12123 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12127 sysv5* | sco3.2v5* | sco5v6*)
12128 # Note: We can NOT use -z defs as we might desire, because we do not
12129 # link with -lc, and that would cause any symbols used from libc to
12130 # always be unresolved, which means just about no library would
12131 # ever link correctly. If we're not using GNU ld we use -z text
12132 # though, which does catch some bad symbols but isn't as heavy-handed
12134 no_undefined_flag='${wl}-z,text'
12135 allow_undefined_flag='${wl}-z,nodefs'
12136 archive_cmds_need_lc=no
12137 hardcode_shlibpath_var=no
12138 hardcode_libdir_flag_spec='${wl}-R,$libdir'
12139 hardcode_libdir_separator=':'
12140 link_all_deplibs=yes
12141 export_dynamic_flag_spec='${wl}-Bexport'
12142 runpath_var='LD_RUN_PATH'
12144 if test "$GCC" = yes; then
12145 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12146 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12148 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12149 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12154 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12155 hardcode_libdir_flag_spec='-L$libdir'
12156 hardcode_shlibpath_var=no
12164 if test x$host_vendor = xsni; then
12166 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12167 export_dynamic_flag_spec='${wl}-Blargedynsym'
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12174 $as_echo "$ld_shlibs" >&6; }
12175 test "$ld_shlibs" = no && can_build_shared=no
12177 with_gnu_ld=$with_gnu_ld
12194 # Do we need to explicitly link libc?
12196 case "x$archive_cmds_need_lc" in
12198 # Assume -lc should be added
12199 archive_cmds_need_lc=yes
12201 if test "$enable_shared" = yes && test "$GCC" = yes; then
12202 case $archive_cmds in
12204 # FIXME: we may have to deal with multi-command sequences.
12207 # Test whether the compiler implicitly links with -lc since on some
12208 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12209 # to ld, don't add -lc before -lgcc.
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12211 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12213 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12215 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12216 (eval $ac_compile) 2>&5
12218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12219 test $ac_status = 0; } 2>conftest.err; then
12222 libobjs=conftest.$ac_objext
12224 wl=$lt_prog_compiler_wl
12225 pic_flag=$lt_prog_compiler_pic
12231 lt_save_allow_undefined_flag=$allow_undefined_flag
12232 allow_undefined_flag=
12233 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12234 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12237 test $ac_status = 0; }
12239 archive_cmds_need_lc=no
12241 archive_cmds_need_lc=yes
12243 allow_undefined_flag=$lt_save_allow_undefined_flag
12245 cat conftest.err 1>&5
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
12249 $as_echo "$archive_cmds_need_lc" >&6; }
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12413 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12415 if test "$GCC" = yes; then
12417 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12418 *) lt_awk_arg="/^libraries:/" ;;
12420 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12421 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
12422 # if the path contains ";" then we assume it to be the separator
12423 # otherwise default to the standard path separator (i.e. ":") - it is
12424 # assumed that no part of a normal pathname contains ";" but that should
12425 # okay in the real world where ";" in dirpaths is itself problematic.
12426 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
12428 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12430 # Ok, now we have the path, separated by spaces, we can step through it
12431 # and add multilib dir if necessary.
12432 lt_tmp_lt_search_path_spec=
12433 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12434 for lt_sys_path in $lt_search_path_spec; do
12435 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12436 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12438 test -d "$lt_sys_path" && \
12439 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12442 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
12443 BEGIN {RS=" "; FS="/|\n";} {
12446 for (lt_i = NF; lt_i > 0; lt_i--) {
12447 if ($lt_i != "" && $lt_i != ".") {
12448 if ($lt_i == "..") {
12451 if (lt_count == 0) {
12452 lt_foo="/" $lt_i lt_foo;
12459 if (lt_foo != "") { lt_freq[lt_foo]++; }
12460 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12462 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
12464 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12466 library_names_spec=
12467 libname_spec='lib$name'
12471 postuninstall_cmds=
12475 shlibpath_overrides_runpath=unknown
12477 dynamic_linker="$host_os ld.so"
12478 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12479 need_lib_prefix=unknown
12480 hardcode_into_libs=no
12482 # when you set need_version to no, make sure it does not cause -set_version
12483 # flags to be left without arguments
12484 need_version=unknown
12489 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12490 shlibpath_var=LIBPATH
12492 # AIX 3 has no versioning support, so we append a major version to the name.
12493 soname_spec='${libname}${release}${shared_ext}$major'
12500 hardcode_into_libs=yes
12501 if test "$host_cpu" = ia64; then
12502 # AIX 5 supports IA64
12503 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12504 shlibpath_var=LD_LIBRARY_PATH
12506 # With GCC up to 2.95.x, collect2 would create an import file
12507 # for dependence libraries. The import file would start with
12508 # the line `#! .'. This would cause the generated library to
12509 # depend on `.', always an invalid library. This was fixed in
12510 # development snapshots of GCC prior to 3.0.
12512 aix4 | aix4.[01] | aix4.[01].*)
12513 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12515 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12518 can_build_shared=no
12522 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12523 # soname into executable. Probably we can add versioning support to
12524 # collect2, so additional links can be useful in future.
12525 if test "$aix_use_runtimelinking" = yes; then
12526 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12527 # instead of lib<name>.a to let people know that these are not
12528 # typical AIX shared libraries.
12529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12531 # We preserve .a as extension for shared libraries through AIX4.2
12532 # and later when we are not doing run time linking.
12533 library_names_spec='${libname}${release}.a $libname.a'
12534 soname_spec='${libname}${release}${shared_ext}$major'
12536 shlibpath_var=LIBPATH
12543 # Since July 2007 AmigaOS4 officially supports .so libraries.
12544 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12548 library_names_spec='$libname.ixlibrary $libname.a'
12549 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12550 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12556 library_names_spec='${libname}${shared_ext}'
12557 dynamic_linker="$host_os ld.so"
12558 shlibpath_var=LIBRARY_PATH
12564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12565 soname_spec='${libname}${release}${shared_ext}$major'
12566 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12567 shlibpath_var=LD_LIBRARY_PATH
12568 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12569 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12570 # the default ld.so.conf also contains /usr/contrib/lib and
12571 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12572 # libtool to hard-code these into programs
12575 cygwin* | mingw* | pw32* | cegcc*)
12576 version_type=windows
12581 case $GCC,$host_os in
12582 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
12583 library_names_spec='$libname.dll.a'
12584 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12585 postinstall_cmds='base_file=`basename \${file}`~
12586 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12587 dldir=$destdir/`dirname \$dlpath`~
12588 test -d \$dldir || mkdir -p \$dldir~
12589 $install_prog $dir/$dlname \$dldir/$dlname~
12590 chmod a+x \$dldir/$dlname~
12591 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12592 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12594 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12595 dlpath=$dir/\$dldll~
12597 shlibpath_overrides_runpath=yes
12601 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12602 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12603 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12606 # MinGW DLLs use traditional 'lib' prefix
12607 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12608 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12609 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12610 # It is most probably a Windows format PATH printed by
12611 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12612 # path with ; separators, and with drive letters. We can handle the
12613 # drive letters (cygwin fileutils understands them), so leave them,
12614 # especially as we might pass files found there to a mingw objdump,
12615 # which wouldn't understand a cygwinified path. Ahh.
12616 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12618 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12622 # pw32 DLLs use 'pw' prefix rather than 'lib'
12623 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12629 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12632 dynamic_linker='Win32 ld.exe'
12633 # FIXME: first we should search . and the directory the executable is in
12637 darwin* | rhapsody*)
12638 dynamic_linker="$host_os dyld"
12639 version_type=darwin
12642 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12643 soname_spec='${libname}${release}${major}$shared_ext'
12644 shlibpath_overrides_runpath=yes
12645 shlibpath_var=DYLD_LIBRARY_PATH
12646 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12648 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12649 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12657 soname_spec='${libname}${release}${shared_ext}$major'
12658 shlibpath_var=LD_LIBRARY_PATH
12665 freebsd* | dragonfly*)
12666 # DragonFly does not have aout. When/if they implement a new
12667 # versioning mechanism, adjust this.
12668 if test -x /usr/bin/objformat; then
12669 objformat=`/usr/bin/objformat`
12672 freebsd[123]*) objformat=aout ;;
12673 *) objformat=elf ;;
12676 version_type=freebsd-$objformat
12677 case $version_type in
12679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12684 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12688 shlibpath_var=LD_LIBRARY_PATH
12691 shlibpath_overrides_runpath=yes
12693 freebsd3.[01]* | freebsdelf3.[01]*)
12694 shlibpath_overrides_runpath=yes
12695 hardcode_into_libs=yes
12697 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12698 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12699 shlibpath_overrides_runpath=no
12700 hardcode_into_libs=yes
12702 *) # from 4.6 on, and DragonFly
12703 shlibpath_overrides_runpath=yes
12704 hardcode_into_libs=yes
12713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12714 soname_spec='${libname}${release}${shared_ext}$major'
12715 shlibpath_var=LD_LIBRARY_PATH
12716 hardcode_into_libs=yes
12719 hpux9* | hpux10* | hpux11*)
12720 # Give a soname corresponding to the major version so that dld.sl refuses to
12721 # link against other versions.
12728 hardcode_into_libs=yes
12729 dynamic_linker="$host_os dld.so"
12730 shlibpath_var=LD_LIBRARY_PATH
12731 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12733 soname_spec='${libname}${release}${shared_ext}$major'
12734 if test "X$HPUX_IA64_MODE" = X32; then
12735 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12737 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12739 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12743 hardcode_into_libs=yes
12744 dynamic_linker="$host_os dld.sl"
12745 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12746 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12748 soname_spec='${libname}${release}${shared_ext}$major'
12749 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12750 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12754 dynamic_linker="$host_os dld.sl"
12755 shlibpath_var=SHLIB_PATH
12756 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12758 soname_spec='${libname}${release}${shared_ext}$major'
12761 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12762 postinstall_cmds='chmod 555 $lib'
12769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12770 soname_spec='${libname}${release}${shared_ext}$major'
12771 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12772 shlibpath_var=LD_LIBRARY_PATH
12773 shlibpath_overrides_runpath=no
12774 hardcode_into_libs=yes
12777 irix5* | irix6* | nonstopux*)
12779 nonstopux*) version_type=nonstopux ;;
12781 if test "$lt_cv_prog_gnu_ld" = yes; then
12789 soname_spec='${libname}${release}${shared_ext}$major'
12790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12792 irix5* | nonstopux*)
12793 libsuff= shlibsuff=
12796 case $LD in # libtool.m4 will add one of these switches to LD
12797 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12798 libsuff= shlibsuff= libmagic=32-bit;;
12799 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12800 libsuff=32 shlibsuff=N32 libmagic=N32;;
12801 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12802 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12803 *) libsuff= shlibsuff= libmagic=never-match;;
12807 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12808 shlibpath_overrides_runpath=no
12809 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12810 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12811 hardcode_into_libs=yes
12814 # No shared lib support for Linux oldld, aout, or coff.
12815 linux*oldld* | linux*aout* | linux*coff*)
12819 # This must be Linux ELF.
12820 linux* | k*bsd*-gnu)
12824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12825 soname_spec='${libname}${release}${shared_ext}$major'
12826 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12827 shlibpath_var=LD_LIBRARY_PATH
12828 shlibpath_overrides_runpath=no
12829 # Some binutils ld are patched to set DT_RUNPATH
12830 save_LDFLAGS=$LDFLAGS
12831 save_libdir=$libdir
12832 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12833 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12835 /* end confdefs.h. */
12845 if ac_fn_c_try_link "$LINENO"; then :
12846 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12847 shlibpath_overrides_runpath=yes
12850 rm -f core conftest.err conftest.$ac_objext \
12851 conftest$ac_exeext conftest.$ac_ext
12852 LDFLAGS=$save_LDFLAGS
12853 libdir=$save_libdir
12855 # This implies no fast_install, which is unacceptable.
12856 # Some rework will be needed to allow for fast_install
12857 # before this can be enabled.
12858 hardcode_into_libs=yes
12860 # Append ld.so.conf contents to the search path
12861 if test -f /etc/ld.so.conf; then
12862 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12863 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12866 # We used to test for /lib/ld.so.1 and disable shared libraries on
12867 # powerpc, because MkLinux only supported shared libraries with the
12868 # GNU dynamic linker. Since this was broken with cross compilers,
12869 # most powerpc-linux boxes support dynamic linking these days and
12870 # people can always --disable-shared, the test was removed, and we
12871 # assume the GNU/Linux dynamic linker is in use.
12872 dynamic_linker='GNU/Linux ld.so'
12879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12880 soname_spec='${libname}${release}${shared_ext}$major'
12881 shlibpath_var=LD_LIBRARY_PATH
12882 shlibpath_overrides_runpath=no
12883 hardcode_into_libs=yes
12884 dynamic_linker='NetBSD ld.elf_so'
12891 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12893 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12894 dynamic_linker='NetBSD (a.out) ld.so'
12896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12897 soname_spec='${libname}${release}${shared_ext}$major'
12898 dynamic_linker='NetBSD ld.elf_so'
12900 shlibpath_var=LD_LIBRARY_PATH
12901 shlibpath_overrides_runpath=yes
12902 hardcode_into_libs=yes
12907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12908 shlibpath_var=LD_LIBRARY_PATH
12909 shlibpath_overrides_runpath=yes
12916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12917 soname_spec='${libname}${release}${shared_ext}$major'
12918 shlibpath_var=LD_LIBRARY_PATH
12919 shlibpath_overrides_runpath=no
12920 hardcode_into_libs=yes
12921 dynamic_linker='ldqnx.so'
12926 sys_lib_dlsearch_path_spec="/usr/lib"
12928 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12930 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12931 *) need_version=no ;;
12933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12934 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12935 shlibpath_var=LD_LIBRARY_PATH
12936 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12938 openbsd2.[89] | openbsd2.[89].*)
12939 shlibpath_overrides_runpath=no
12942 shlibpath_overrides_runpath=yes
12946 shlibpath_overrides_runpath=yes
12951 libname_spec='$name'
12954 library_names_spec='$libname${shared_ext} $libname.a'
12955 dynamic_linker='OS/2 ld.exe'
12956 shlibpath_var=LIBPATH
12959 osf3* | osf4* | osf5*)
12963 soname_spec='${libname}${release}${shared_ext}$major'
12964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12965 shlibpath_var=LD_LIBRARY_PATH
12966 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12967 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12979 soname_spec='${libname}${release}${shared_ext}$major'
12980 shlibpath_var=LD_LIBRARY_PATH
12981 shlibpath_overrides_runpath=yes
12982 hardcode_into_libs=yes
12983 # ldd complains unless libraries are executable
12984 postinstall_cmds='chmod +x $lib'
12989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12990 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12991 shlibpath_var=LD_LIBRARY_PATH
12992 shlibpath_overrides_runpath=yes
12993 if test "$with_gnu_ld" = yes; then
13001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13002 soname_spec='${libname}${release}${shared_ext}$major'
13003 shlibpath_var=LD_LIBRARY_PATH
13004 case $host_vendor in
13006 shlibpath_overrides_runpath=no
13008 runpath_var=LD_RUN_PATH
13016 shlibpath_overrides_runpath=no
13017 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13023 if test -d /usr/nec ;then
13025 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13026 soname_spec='$libname${shared_ext}.$major'
13027 shlibpath_var=LD_LIBRARY_PATH
13031 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13032 version_type=freebsd-elf
13035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13036 soname_spec='${libname}${release}${shared_ext}$major'
13037 shlibpath_var=LD_LIBRARY_PATH
13038 shlibpath_overrides_runpath=yes
13039 hardcode_into_libs=yes
13040 if test "$with_gnu_ld" = yes; then
13041 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13043 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13046 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13050 sys_lib_dlsearch_path_spec='/usr/lib'
13054 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13059 shlibpath_var=LD_LIBRARY_PATH
13060 shlibpath_overrides_runpath=no
13061 hardcode_into_libs=yes
13066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13067 soname_spec='${libname}${release}${shared_ext}$major'
13068 shlibpath_var=LD_LIBRARY_PATH
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13076 $as_echo "$dynamic_linker" >&6; }
13077 test "$dynamic_linker" = no && can_build_shared=no
13079 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13080 if test "$GCC" = yes; then
13081 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13084 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13085 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13087 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13088 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13178 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13180 if test -n "$hardcode_libdir_flag_spec" ||
13181 test -n "$runpath_var" ||
13182 test "X$hardcode_automatic" = "Xyes" ; then
13184 # We can hardcode non-existent directories.
13185 if test "$hardcode_direct" != no &&
13186 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13187 # have to relink, otherwise we might link with an installed library
13188 # when we should be linking with a yet-to-be-installed one
13189 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13190 test "$hardcode_minus_L" != no; then
13191 # Linking always hardcodes the temporary library directory.
13192 hardcode_action=relink
13194 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13195 hardcode_action=immediate
13198 # We cannot hardcode anything, or else we can only hardcode existing
13200 hardcode_action=unsupported
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13203 $as_echo "$hardcode_action" >&6; }
13205 if test "$hardcode_action" = relink ||
13206 test "$inherit_rpath" = yes; then
13207 # Fast installation is not supported
13208 enable_fast_install=no
13209 elif test "$shlibpath_overrides_runpath" = yes ||
13210 test "$enable_shared" = no; then
13211 # Fast installation is not necessary
13212 enable_fast_install=needless
13220 if test "x$enable_dlopen" != xyes; then
13221 enable_dlopen=unknown
13222 enable_dlopen_self=unknown
13223 enable_dlopen_self_static=unknown
13230 lt_cv_dlopen="load_add_on"
13232 lt_cv_dlopen_self=yes
13235 mingw* | pw32* | cegcc*)
13236 lt_cv_dlopen="LoadLibrary"
13241 lt_cv_dlopen="dlopen"
13246 # if libdl is installed we need to link against it
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13248 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13249 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13250 $as_echo_n "(cached) " >&6
13252 ac_check_lib_save_LIBS=$LIBS
13254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13255 /* end confdefs.h. */
13257 /* Override any GCC internal prototype to avoid an error.
13258 Use char because int might match the return type of a GCC
13259 builtin and then its argument prototype would still apply. */
13272 if ac_fn_c_try_link "$LINENO"; then :
13273 ac_cv_lib_dl_dlopen=yes
13275 ac_cv_lib_dl_dlopen=no
13277 rm -f core conftest.err conftest.$ac_objext \
13278 conftest$ac_exeext conftest.$ac_ext
13279 LIBS=$ac_check_lib_save_LIBS
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13282 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13283 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
13284 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13287 lt_cv_dlopen="dyld"
13289 lt_cv_dlopen_self=yes
13296 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13297 if test "x$ac_cv_func_shl_load" = x""yes; then :
13298 lt_cv_dlopen="shl_load"
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13301 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13302 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
13303 $as_echo_n "(cached) " >&6
13305 ac_check_lib_save_LIBS=$LIBS
13307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13308 /* end confdefs.h. */
13310 /* Override any GCC internal prototype to avoid an error.
13311 Use char because int might match the return type of a GCC
13312 builtin and then its argument prototype would still apply. */
13320 return shl_load ();
13325 if ac_fn_c_try_link "$LINENO"; then :
13326 ac_cv_lib_dld_shl_load=yes
13328 ac_cv_lib_dld_shl_load=no
13330 rm -f core conftest.err conftest.$ac_objext \
13331 conftest$ac_exeext conftest.$ac_ext
13332 LIBS=$ac_check_lib_save_LIBS
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13335 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13336 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
13337 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13339 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13340 if test "x$ac_cv_func_dlopen" = x""yes; then :
13341 lt_cv_dlopen="dlopen"
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13344 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13345 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13346 $as_echo_n "(cached) " >&6
13348 ac_check_lib_save_LIBS=$LIBS
13350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13351 /* end confdefs.h. */
13353 /* Override any GCC internal prototype to avoid an error.
13354 Use char because int might match the return type of a GCC
13355 builtin and then its argument prototype would still apply. */
13368 if ac_fn_c_try_link "$LINENO"; then :
13369 ac_cv_lib_dl_dlopen=yes
13371 ac_cv_lib_dl_dlopen=no
13373 rm -f core conftest.err conftest.$ac_objext \
13374 conftest$ac_exeext conftest.$ac_ext
13375 LIBS=$ac_check_lib_save_LIBS
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13378 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13379 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
13380 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13383 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13384 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
13385 $as_echo_n "(cached) " >&6
13387 ac_check_lib_save_LIBS=$LIBS
13388 LIBS="-lsvld $LIBS"
13389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13390 /* end confdefs.h. */
13392 /* Override any GCC internal prototype to avoid an error.
13393 Use char because int might match the return type of a GCC
13394 builtin and then its argument prototype would still apply. */
13407 if ac_fn_c_try_link "$LINENO"; then :
13408 ac_cv_lib_svld_dlopen=yes
13410 ac_cv_lib_svld_dlopen=no
13412 rm -f core conftest.err conftest.$ac_objext \
13413 conftest$ac_exeext conftest.$ac_ext
13414 LIBS=$ac_check_lib_save_LIBS
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13417 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13418 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
13419 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13422 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13423 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
13424 $as_echo_n "(cached) " >&6
13426 ac_check_lib_save_LIBS=$LIBS
13428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13429 /* end confdefs.h. */
13431 /* Override any GCC internal prototype to avoid an error.
13432 Use char because int might match the return type of a GCC
13433 builtin and then its argument prototype would still apply. */
13441 return dld_link ();
13446 if ac_fn_c_try_link "$LINENO"; then :
13447 ac_cv_lib_dld_dld_link=yes
13449 ac_cv_lib_dld_dld_link=no
13451 rm -f core conftest.err conftest.$ac_objext \
13452 conftest$ac_exeext conftest.$ac_ext
13453 LIBS=$ac_check_lib_save_LIBS
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13456 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13457 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
13458 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13479 if test "x$lt_cv_dlopen" != xno; then
13485 case $lt_cv_dlopen in
13487 save_CPPFLAGS="$CPPFLAGS"
13488 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13490 save_LDFLAGS="$LDFLAGS"
13491 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13494 LIBS="$lt_cv_dlopen_libs $LIBS"
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13497 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13498 if test "${lt_cv_dlopen_self+set}" = set; then :
13499 $as_echo_n "(cached) " >&6
13501 if test "$cross_compiling" = yes; then :
13502 lt_cv_dlopen_self=cross
13504 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13505 lt_status=$lt_dlunknown
13506 cat > conftest.$ac_ext <<_LT_EOF
13507 #line 13507 "configure"
13508 #include "confdefs.h"
13517 # define LT_DLGLOBAL RTLD_GLOBAL
13520 # define LT_DLGLOBAL DL_GLOBAL
13522 # define LT_DLGLOBAL 0
13526 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13527 find out it does not work in some platform. */
13528 #ifndef LT_DLLAZY_OR_NOW
13530 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13533 # define LT_DLLAZY_OR_NOW DL_LAZY
13536 # define LT_DLLAZY_OR_NOW RTLD_NOW
13539 # define LT_DLLAZY_OR_NOW DL_NOW
13541 # define LT_DLLAZY_OR_NOW 0
13548 void fnord() { int i=42;}
13551 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13552 int status = $lt_dlunknown;
13556 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13557 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13558 /* dlclose (self); */
13566 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13567 (eval $ac_link) 2>&5
13569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13570 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13571 (./conftest; exit; ) >&5 2>/dev/null
13573 case x$lt_status in
13574 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13575 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13576 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13579 # compilation failed
13580 lt_cv_dlopen_self=no
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13588 $as_echo "$lt_cv_dlopen_self" >&6; }
13590 if test "x$lt_cv_dlopen_self" = xyes; then
13591 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13593 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13594 if test "${lt_cv_dlopen_self_static+set}" = set; then :
13595 $as_echo_n "(cached) " >&6
13597 if test "$cross_compiling" = yes; then :
13598 lt_cv_dlopen_self_static=cross
13600 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13601 lt_status=$lt_dlunknown
13602 cat > conftest.$ac_ext <<_LT_EOF
13603 #line 13603 "configure"
13604 #include "confdefs.h"
13613 # define LT_DLGLOBAL RTLD_GLOBAL
13616 # define LT_DLGLOBAL DL_GLOBAL
13618 # define LT_DLGLOBAL 0
13622 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13623 find out it does not work in some platform. */
13624 #ifndef LT_DLLAZY_OR_NOW
13626 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13629 # define LT_DLLAZY_OR_NOW DL_LAZY
13632 # define LT_DLLAZY_OR_NOW RTLD_NOW
13635 # define LT_DLLAZY_OR_NOW DL_NOW
13637 # define LT_DLLAZY_OR_NOW 0
13644 void fnord() { int i=42;}
13647 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13648 int status = $lt_dlunknown;
13652 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13653 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13654 /* dlclose (self); */
13662 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13663 (eval $ac_link) 2>&5
13665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13666 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13667 (./conftest; exit; ) >&5 2>/dev/null
13669 case x$lt_status in
13670 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13671 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13672 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13675 # compilation failed
13676 lt_cv_dlopen_self_static=no
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13684 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13687 CPPFLAGS="$save_CPPFLAGS"
13688 LDFLAGS="$save_LDFLAGS"
13693 case $lt_cv_dlopen_self in
13694 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13695 *) enable_dlopen_self=unknown ;;
13698 case $lt_cv_dlopen_self_static in
13699 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13700 *) enable_dlopen_self_static=unknown ;;
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13723 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13724 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13725 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13726 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13728 $as_echo "yes" >&6; }
13730 # FIXME - insert some real tests, host_os isn't really good enough
13733 if test -n "$STRIP" ; then
13734 striplib="$STRIP -x"
13735 old_striplib="$STRIP -S"
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13737 $as_echo "yes" >&6; }
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13740 $as_echo "no" >&6; }
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13745 $as_echo "no" >&6; }
13761 # Report which library types will actually be built
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13763 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13765 $as_echo "$can_build_shared" >&6; }
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13768 $as_echo_n "checking whether to build shared libraries... " >&6; }
13769 test "$can_build_shared" = "no" && enable_shared=no
13771 # On AIX, shared libraries and static libraries use the same namespace, and
13772 # are all built from PIC.
13775 test "$enable_shared" = yes && enable_static=no
13776 if test -n "$RANLIB"; then
13777 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13778 postinstall_cmds='$RANLIB $lib'
13783 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13784 test "$enable_shared" = yes && enable_static=no
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13789 $as_echo "$enable_shared" >&6; }
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13792 $as_echo_n "checking whether to build static libraries... " >&6; }
13793 # Make sure either enable_shared or enable_static is yes.
13794 test "$enable_shared" = yes || enable_static=yes
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13796 $as_echo "$enable_static" >&6; }
13803 ac_cpp='$CPP $CPPFLAGS'
13804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13812 ac_cpp='$CXXCPP $CPPFLAGS'
13813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13817 archive_cmds_need_lc_CXX=no
13818 allow_undefined_flag_CXX=
13819 always_export_symbols_CXX=no
13820 archive_expsym_cmds_CXX=
13821 compiler_needs_object_CXX=no
13822 export_dynamic_flag_spec_CXX=
13823 hardcode_direct_CXX=no
13824 hardcode_direct_absolute_CXX=no
13825 hardcode_libdir_flag_spec_CXX=
13826 hardcode_libdir_flag_spec_ld_CXX=
13827 hardcode_libdir_separator_CXX=
13828 hardcode_minus_L_CXX=no
13829 hardcode_shlibpath_var_CXX=unsupported
13830 hardcode_automatic_CXX=no
13831 inherit_rpath_CXX=no
13833 module_expsym_cmds_CXX=
13834 link_all_deplibs_CXX=unknown
13835 old_archive_cmds_CXX=$old_archive_cmds
13836 no_undefined_flag_CXX=
13837 whole_archive_flag_spec_CXX=
13838 enable_shared_with_static_runtimes_CXX=no
13840 # Source file extension for C++ test sources.
13843 # Object file extension for compiled C++ test sources.
13847 # No sense in running all these tests if we already determined that
13848 # the CXX compiler isn't working. Some variables (like enable_shared)
13849 # are currently assumed to apply to all compilers on this platform,
13850 # and will be corrupted by setting them based on a non-working compiler.
13851 if test "$_lt_caught_CXX_error" != yes; then
13852 # Code to be used in simple compile tests
13853 lt_simple_compile_test_code="int some_variable = 0;"
13855 # Code to be used in simple link tests
13856 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13858 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13865 # If no C compiler was specified, use CC.
13868 # If no C compiler flags were specified, use CFLAGS.
13869 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13871 # Allow CC to be a program name with arguments.
13875 # save warnings/boilerplate of simple test code
13876 ac_outfile=conftest.$ac_objext
13877 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13878 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13879 _lt_compiler_boilerplate=`cat conftest.err`
13882 ac_outfile=conftest.$ac_objext
13883 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13884 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13885 _lt_linker_boilerplate=`cat conftest.err`
13889 # Allow CC to be a program name with arguments.
13894 lt_save_with_gnu_ld=$with_gnu_ld
13895 lt_save_path_LD=$lt_cv_path_LD
13896 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13897 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13899 $as_unset lt_cv_prog_gnu_ld
13901 if test -n "${lt_cv_path_LDCXX+set}"; then
13902 lt_cv_path_LD=$lt_cv_path_LDCXX
13904 $as_unset lt_cv_path_LD
13906 test -z "${LDCXX+set}" || LD=$LDCXX
13910 for cc_temp in $compiler""; do
13912 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13913 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13918 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13921 if test -n "$compiler"; then
13922 # We don't want -fno-exception when compiling C++ code, so set the
13923 # no_builtin_flag separately
13924 if test "$GXX" = yes; then
13925 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13927 lt_prog_compiler_no_builtin_flag_CXX=
13930 if test "$GXX" = yes; then
13931 # Set up default GNU C++ configuration
13935 # Check whether --with-gnu-ld was given.
13936 if test "${with_gnu_ld+set}" = set; then :
13937 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13943 if test "$GCC" = yes; then
13944 # Check if gcc -print-prog-name=ld gives a path.
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13946 $as_echo_n "checking for ld used by $CC... " >&6; }
13949 # gcc leaves a trailing carriage return which upsets mingw
13950 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13952 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13955 # Accept absolute paths.
13957 re_direlt='/[^/][^/]*/\.\./'
13958 # Canonicalize the pathname of ld
13959 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13960 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13961 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13963 test -z "$LD" && LD="$ac_prog"
13966 # If it fails, then pretend we aren't using GCC.
13970 # If it is relative, then search for the first ld in PATH.
13971 with_gnu_ld=unknown
13974 elif test "$with_gnu_ld" = yes; then
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13976 $as_echo_n "checking for GNU ld... " >&6; }
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13979 $as_echo_n "checking for non-GNU ld... " >&6; }
13981 if test "${lt_cv_path_LD+set}" = set; then :
13982 $as_echo_n "(cached) " >&6
13984 if test -z "$LD"; then
13985 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13986 for ac_dir in $PATH; do
13988 test -z "$ac_dir" && ac_dir=.
13989 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13990 lt_cv_path_LD="$ac_dir/$ac_prog"
13991 # Check to see if the program is GNU ld. I'd rather use --version,
13992 # but apparently some variants of GNU ld only accept -v.
13993 # Break only if it was the GNU/non-GNU ld that we prefer.
13994 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13995 *GNU* | *'with BFD'*)
13996 test "$with_gnu_ld" != no && break
13999 test "$with_gnu_ld" != yes && break
14006 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14010 LD="$lt_cv_path_LD"
14011 if test -n "$LD"; then
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14013 $as_echo "$LD" >&6; }
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14016 $as_echo "no" >&6; }
14018 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14020 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14021 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14022 $as_echo_n "(cached) " >&6
14024 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14025 case `$LD -v 2>&1 </dev/null` in
14026 *GNU* | *'with BFD'*)
14027 lt_cv_prog_gnu_ld=yes
14030 lt_cv_prog_gnu_ld=no
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14035 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14036 with_gnu_ld=$lt_cv_prog_gnu_ld
14044 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14045 # archiving commands below assume that GNU ld is being used.
14046 if test "$with_gnu_ld" = yes; then
14047 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14048 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14050 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14051 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14053 # If archive_cmds runs LD, not CC, wlarc should be empty
14054 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14055 # investigate it a little bit more. (MM)
14058 # ancient GNU ld didn't support --whole-archive et. al.
14059 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14060 $GREP 'no-whole-archive' > /dev/null; then
14061 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14063 whole_archive_flag_spec_CXX=
14069 # A generic and very simple default shared library creation
14070 # command for GNU C++ for the case where it uses the native
14071 # linker, instead of GNU ld. If possible, this setting should
14072 # overridden to take advantage of the native linker features on
14073 # the platform it is being used on.
14074 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14077 # Commands to make compiler produce verbose output that lists
14078 # what "hidden" libraries, object files and flags are used when
14079 # linking a shared library.
14080 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14088 # PORTME: fill in a description of your system's C++ link characteristics
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14090 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14094 # FIXME: insert proper C++ library support
14098 if test "$host_cpu" = ia64; then
14099 # On IA64, the linker does run time linking by default, so we don't
14100 # have to do anything special.
14101 aix_use_runtimelinking=no
14102 exp_sym_flag='-Bexport'
14105 aix_use_runtimelinking=no
14107 # Test if we are trying to use run time linking or normal
14108 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14109 # need to do runtime linking.
14110 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14111 for ld_flag in $LDFLAGS; do
14114 aix_use_runtimelinking=yes
14122 exp_sym_flag='-bexport'
14123 no_entry_flag='-bnoentry'
14126 # When large executables or shared objects are built, AIX ld can
14127 # have problems creating the table of contents. If linking a library
14128 # or program results in "error TOC overflow" add -mminimal-toc to
14129 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14130 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14132 archive_cmds_CXX=''
14133 hardcode_direct_CXX=yes
14134 hardcode_direct_absolute_CXX=yes
14135 hardcode_libdir_separator_CXX=':'
14136 link_all_deplibs_CXX=yes
14137 file_list_spec_CXX='${wl}-f,'
14139 if test "$GXX" = yes; then
14140 case $host_os in aix4.[012]|aix4.[012].*)
14141 # We only want to do this on AIX 4.2 and lower, the check
14142 # below for broken collect2 doesn't work under 4.3+
14143 collect2name=`${CC} -print-prog-name=collect2`
14144 if test -f "$collect2name" &&
14145 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14147 # We have reworked collect2
14150 # We have old collect2
14151 hardcode_direct_CXX=unsupported
14152 # It fails to find uninstalled libraries when the uninstalled
14153 # path is not listed in the libpath. Setting hardcode_minus_L
14154 # to unsupported forces relinking
14155 hardcode_minus_L_CXX=yes
14156 hardcode_libdir_flag_spec_CXX='-L$libdir'
14157 hardcode_libdir_separator_CXX=
14160 shared_flag='-shared'
14161 if test "$aix_use_runtimelinking" = yes; then
14162 shared_flag="$shared_flag "'${wl}-G'
14166 if test "$host_cpu" = ia64; then
14167 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14168 # chokes on -Wl,-G. The following line is correct:
14171 if test "$aix_use_runtimelinking" = yes; then
14172 shared_flag='${wl}-G'
14174 shared_flag='${wl}-bM:SRE'
14179 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14180 # It seems that -bexpall does not export symbols beginning with
14181 # underscore (_), so it is better to generate a list of symbols to
14183 always_export_symbols_CXX=yes
14184 if test "$aix_use_runtimelinking" = yes; then
14185 # Warning - without using the other runtime loading flags (-brtl),
14186 # -berok will link without error, but may produce a broken library.
14187 allow_undefined_flag_CXX='-berok'
14188 # Determine the default libpath from the value encoded in an empty
14190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14191 /* end confdefs.h. */
14201 if ac_fn_cxx_try_link "$LINENO"; then :
14203 lt_aix_libpath_sed='
14204 /Import File Strings/,/^$/ {
14210 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14211 # Check for a 64-bit object if we didn't find anything.
14212 if test -z "$aix_libpath"; then
14213 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14216 rm -f core conftest.err conftest.$ac_objext \
14217 conftest$ac_exeext conftest.$ac_ext
14218 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14220 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14222 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14224 if test "$host_cpu" = ia64; then
14225 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14226 allow_undefined_flag_CXX="-z nodefs"
14227 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14229 # Determine the default libpath from the value encoded in an
14230 # empty executable.
14231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14232 /* end confdefs.h. */
14242 if ac_fn_cxx_try_link "$LINENO"; then :
14244 lt_aix_libpath_sed='
14245 /Import File Strings/,/^$/ {
14251 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14252 # Check for a 64-bit object if we didn't find anything.
14253 if test -z "$aix_libpath"; then
14254 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14257 rm -f core conftest.err conftest.$ac_objext \
14258 conftest$ac_exeext conftest.$ac_ext
14259 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14261 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14262 # Warning - without using the other run time loading flags,
14263 # -berok will link without error, but may produce a broken library.
14264 no_undefined_flag_CXX=' ${wl}-bernotok'
14265 allow_undefined_flag_CXX=' ${wl}-berok'
14266 # Exported symbols can be pulled into shared objects from archives
14267 whole_archive_flag_spec_CXX='$convenience'
14268 archive_cmds_need_lc_CXX=yes
14269 # This is similar to how AIX traditionally builds its shared
14271 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14277 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14278 allow_undefined_flag_CXX=unsupported
14279 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14280 # support --undefined. This deserves some investigation. FIXME
14281 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14288 case $cc_basename in
14290 # FIXME: insert proper C++ library support
14296 cygwin* | mingw* | pw32* | cegcc*)
14297 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14298 # as there is no search path for DLLs.
14299 hardcode_libdir_flag_spec_CXX='-L$libdir'
14300 allow_undefined_flag_CXX=unsupported
14301 always_export_symbols_CXX=no
14302 enable_shared_with_static_runtimes_CXX=yes
14304 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14305 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14306 # If the export-symbols file already is a .def file (1st line
14307 # is EXPORTS), use it as is; otherwise, prepend...
14308 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14309 cp $export_symbols $output_objdir/$soname.def;
14311 echo EXPORTS > $output_objdir/$soname.def;
14312 cat $export_symbols >> $output_objdir/$soname.def;
14314 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14319 darwin* | rhapsody*)
14322 archive_cmds_need_lc_CXX=no
14323 hardcode_direct_CXX=no
14324 hardcode_automatic_CXX=yes
14325 hardcode_shlibpath_var_CXX=unsupported
14326 whole_archive_flag_spec_CXX=''
14327 link_all_deplibs_CXX=yes
14328 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14329 case $cc_basename in
14330 ifort*) _lt_dar_can_shared=yes ;;
14331 *) _lt_dar_can_shared=$GCC ;;
14333 if test "$_lt_dar_can_shared" = "yes"; then
14334 output_verbose_link_cmd=echo
14335 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14336 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14337 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14338 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14339 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14340 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
14341 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
14351 case $cc_basename in
14353 # FIXME: insert proper C++ library support
14357 # Green Hills C++ Compiler
14358 # FIXME: insert proper C++ library support
14362 # FIXME: insert proper C++ library support
14369 # C++ shared libraries reported to be fairly broken before
14375 archive_cmds_need_lc_CXX=no
14378 freebsd* | dragonfly*)
14379 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14388 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14389 hardcode_libdir_separator_CXX=:
14390 export_dynamic_flag_spec_CXX='${wl}-E'
14391 hardcode_direct_CXX=yes
14392 hardcode_minus_L_CXX=yes # Not in the search PATH,
14393 # but as the default
14394 # location of the library.
14396 case $cc_basename in
14398 # FIXME: insert proper C++ library support
14402 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14403 # Commands to make compiler produce verbose output that lists
14404 # what "hidden" libraries, object files and flags are used when
14405 # linking a shared library.
14407 # There doesn't appear to be a way to prevent this compiler from
14408 # explicitly linking system object files so we need to strip them
14409 # from the output so that they don't get included in the library
14411 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14414 if test "$GXX" = yes; then
14415 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14417 # FIXME: insert proper C++ library support
14425 if test $with_gnu_ld = no; then
14426 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14427 hardcode_libdir_separator_CXX=:
14433 export_dynamic_flag_spec_CXX='${wl}-E'
14439 hardcode_direct_CXX=no
14440 hardcode_shlibpath_var_CXX=no
14443 hardcode_direct_CXX=yes
14444 hardcode_direct_absolute_CXX=yes
14445 hardcode_minus_L_CXX=yes # Not in the search PATH,
14446 # but as the default
14447 # location of the library.
14451 case $cc_basename in
14453 # FIXME: insert proper C++ library support
14459 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14462 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14465 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14468 # Commands to make compiler produce verbose output that lists
14469 # what "hidden" libraries, object files and flags are used when
14470 # linking a shared library.
14472 # There doesn't appear to be a way to prevent this compiler from
14473 # explicitly linking system object files so we need to strip them
14474 # from the output so that they don't get included in the library
14476 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14479 if test "$GXX" = yes; then
14480 if test $with_gnu_ld = no; then
14483 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14486 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14489 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14494 # FIXME: insert proper C++ library support
14502 hardcode_direct_CXX=no
14503 hardcode_shlibpath_var_CXX=no
14504 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14505 export_dynamic_flag_spec_CXX='${wl}-E'
14506 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14507 # Instead, shared libraries are loaded at an image base (0x10000000 by
14508 # default) and relocated if they conflict, which is a slow very memory
14509 # consuming and fragmenting process. To avoid this, we pick a random,
14510 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14511 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14512 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14513 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14516 case $cc_basename in
14519 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14521 # Archives containing C++ object files must be created using
14522 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14523 # necessary to make sure instantiated templates are included
14525 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14528 if test "$GXX" = yes; then
14529 if test "$with_gnu_ld" = no; then
14530 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14532 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
14535 link_all_deplibs_CXX=yes
14538 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14539 hardcode_libdir_separator_CXX=:
14540 inherit_rpath_CXX=yes
14543 linux* | k*bsd*-gnu)
14544 case $cc_basename in
14546 # Kuck and Associates, Inc. (KAI) C++ Compiler
14548 # KCC will only create a shared library if the output file
14549 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14550 # to its proper name (with version) after linking.
14551 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14552 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
14553 # Commands to make compiler produce verbose output that lists
14554 # what "hidden" libraries, object files and flags are used when
14555 # linking a shared library.
14557 # There doesn't appear to be a way to prevent this compiler from
14558 # explicitly linking system object files so we need to strip them
14559 # from the output so that they don't get included in the library
14561 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14563 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14564 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14566 # Archives containing C++ object files must be created using
14567 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14568 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14573 # version 8.0 and above of icpc choke on multiply defined symbols
14574 # if we add $predep_objects and $postdep_objects, however 7.1 and
14575 # earlier do not add the objects themselves.
14576 case `$CC -V 2>&1` in
14578 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14579 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14581 *) # Version 8.0 or newer
14584 ia64*) tmp_idyn=' -i_dynamic';;
14586 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14587 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14590 archive_cmds_need_lc_CXX=no
14591 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14592 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14593 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14596 # Portland Group C++ compiler
14598 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
14599 prelink_cmds_CXX='tpldir=Template.dir~
14601 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14602 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14603 old_archive_cmds_CXX='tpldir=Template.dir~
14605 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14606 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14608 archive_cmds_CXX='tpldir=Template.dir~
14610 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14611 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14612 archive_expsym_cmds_CXX='tpldir=Template.dir~
14614 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14615 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14617 *) # Version 6 will use weak symbols
14618 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14619 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14623 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14624 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14625 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14629 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14630 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
14632 runpath_var=LD_RUN_PATH
14633 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14634 hardcode_libdir_separator_CXX=:
14636 # Commands to make compiler produce verbose output that lists
14637 # what "hidden" libraries, object files and flags are used when
14638 # linking a shared library.
14640 # There doesn't appear to be a way to prevent this compiler from
14641 # explicitly linking system object files so we need to strip them
14642 # from the output so that they don't get included in the library
14644 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14647 # IBM XL 8.0 on PPC, with GNU ld
14648 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14649 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14650 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14651 if test "x$supports_anon_versioning" = xyes; then
14652 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14653 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14654 echo "local: *; };" >> $output_objdir/$libname.ver~
14655 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14659 case `$CC -V 2>&1 | sed 5q` in
14662 no_undefined_flag_CXX=' -zdefs'
14663 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14664 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
14665 hardcode_libdir_flag_spec_CXX='-R$libdir'
14666 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14667 compiler_needs_object_CXX=yes
14669 # Not sure whether something based on
14670 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14672 output_verbose_link_cmd='echo'
14674 # Archives containing C++ object files must be created using
14675 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14676 # necessary to make sure instantiated templates are included
14678 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14686 # FIXME: insert proper C++ library support
14691 # FIXME: insert proper C++ library support
14696 case $cc_basename in
14698 # FIXME: insert proper C++ library support
14702 # FIXME: insert proper C++ library support
14709 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14710 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14712 hardcode_libdir_flag_spec_CXX='-R$libdir'
14713 hardcode_direct_CXX=yes
14714 hardcode_shlibpath_var_CXX=no
14716 # Workaround some broken pre-1.5 toolchains
14717 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14725 # C++ shared libraries are fairly broken
14730 if test -f /usr/libexec/ld.so; then
14731 hardcode_direct_CXX=yes
14732 hardcode_shlibpath_var_CXX=no
14733 hardcode_direct_absolute_CXX=yes
14734 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14735 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14736 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14737 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14738 export_dynamic_flag_spec_CXX='${wl}-E'
14739 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14741 output_verbose_link_cmd=echo
14747 osf3* | osf4* | osf5*)
14748 case $cc_basename in
14750 # Kuck and Associates, Inc. (KAI) C++ Compiler
14752 # KCC will only create a shared library if the output file
14753 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14754 # to its proper name (with version) after linking.
14755 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14757 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14758 hardcode_libdir_separator_CXX=:
14760 # Archives containing C++ object files must be created using
14761 # the KAI C++ compiler.
14763 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14764 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14768 # Rational C++ 2.4.1
14769 # FIXME: insert proper C++ library support
14775 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14776 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14777 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14780 allow_undefined_flag_CXX=' -expect_unresolved \*'
14781 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14782 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14783 echo "-hidden">> $lib.exp~
14784 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
14786 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14790 hardcode_libdir_separator_CXX=:
14792 # Commands to make compiler produce verbose output that lists
14793 # what "hidden" libraries, object files and flags are used when
14794 # linking a shared library.
14796 # There doesn't appear to be a way to prevent this compiler from
14797 # explicitly linking system object files so we need to strip them
14798 # from the output so that they don't get included in the library
14800 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14803 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14804 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14807 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14810 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14814 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14815 hardcode_libdir_separator_CXX=:
14817 # Commands to make compiler produce verbose output that lists
14818 # what "hidden" libraries, object files and flags are used when
14819 # linking a shared library.
14820 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14823 # FIXME: insert proper C++ library support
14831 # FIXME: insert proper C++ library support
14836 case $cc_basename in
14839 # FIXME: insert proper C++ library support
14844 # FIXME: insert proper C++ library support
14848 # FIXME: insert proper C++ library support
14855 case $cc_basename in
14857 # Sun C++ 4.2, 5.x and Centerline C++
14858 archive_cmds_need_lc_CXX=yes
14859 no_undefined_flag_CXX=' -zdefs'
14860 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14861 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14862 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14864 hardcode_libdir_flag_spec_CXX='-R$libdir'
14865 hardcode_shlibpath_var_CXX=no
14867 solaris2.[0-5] | solaris2.[0-5].*) ;;
14869 # The compiler driver will combine and reorder linker options,
14870 # but understands `-z linker_flag'.
14871 # Supported since Solaris 2.6 (maybe 2.5.1?)
14872 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14875 link_all_deplibs_CXX=yes
14877 output_verbose_link_cmd='echo'
14879 # Archives containing C++ object files must be created using
14880 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14881 # necessary to make sure instantiated templates are included
14883 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14886 # Green Hills C++ Compiler
14887 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14889 # The C++ compiler must be used to create the archive.
14890 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14893 # GNU C++ compiler with Solaris linker
14894 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14895 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14896 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14897 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14898 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14899 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14901 # Commands to make compiler produce verbose output that lists
14902 # what "hidden" libraries, object files and flags are used when
14903 # linking a shared library.
14904 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14906 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14908 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14909 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14910 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14912 # Commands to make compiler produce verbose output that lists
14913 # what "hidden" libraries, object files and flags are used when
14914 # linking a shared library.
14915 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14918 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14920 solaris2.[0-5] | solaris2.[0-5].*) ;;
14922 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14930 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14931 no_undefined_flag_CXX='${wl}-z,text'
14932 archive_cmds_need_lc_CXX=no
14933 hardcode_shlibpath_var_CXX=no
14934 runpath_var='LD_RUN_PATH'
14936 case $cc_basename in
14938 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14939 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14942 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14943 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14948 sysv5* | sco3.2v5* | sco5v6*)
14949 # Note: We can NOT use -z defs as we might desire, because we do not
14950 # link with -lc, and that would cause any symbols used from libc to
14951 # always be unresolved, which means just about no library would
14952 # ever link correctly. If we're not using GNU ld we use -z text
14953 # though, which does catch some bad symbols but isn't as heavy-handed
14955 no_undefined_flag_CXX='${wl}-z,text'
14956 allow_undefined_flag_CXX='${wl}-z,nodefs'
14957 archive_cmds_need_lc_CXX=no
14958 hardcode_shlibpath_var_CXX=no
14959 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14960 hardcode_libdir_separator_CXX=':'
14961 link_all_deplibs_CXX=yes
14962 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14963 runpath_var='LD_RUN_PATH'
14965 case $cc_basename in
14967 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14968 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14971 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14972 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14978 case $cc_basename in
14980 # NonStop-UX NCC 3.20
14981 # FIXME: insert proper C++ library support
14985 # FIXME: insert proper C++ library support
14992 # FIXME: insert proper C++ library support
14997 # FIXME: insert proper C++ library support
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15003 $as_echo "$ld_shlibs_CXX" >&6; }
15004 test "$ld_shlibs_CXX" = no && can_build_shared=no
15010 ## There is no encapsulation within the following macros, do not change
15011 ## the running order or otherwise move them around unless you know exactly
15012 ## what you are doing...
15013 # Dependencies to place before and after the object being linked:
15014 predep_objects_CXX=
15015 postdep_objects_CXX=
15018 compiler_lib_search_path_CXX=
15020 cat > conftest.$ac_ext <<_LT_EOF
15024 Foo (void) { a = 0; }
15030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15031 (eval $ac_compile) 2>&5
15033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15034 test $ac_status = 0; }; then
15035 # Parse the compiler output and extract the necessary
15036 # objects, libraries and library flags.
15038 # Sentinel used to keep track of whether or not we are before
15039 # the conftest object file.
15040 pre_test_object_deps_done=no
15042 for p in `eval "$output_verbose_link_cmd"`; do
15046 # Some compilers place space between "-{L,R}" and the path.
15047 # Remove the space.
15048 if test $p = "-L" ||
15049 test $p = "-R"; then
15056 if test "$pre_test_object_deps_done" = no; then
15059 # Internal compiler library paths should come after those
15060 # provided the user. The postdeps already come after the
15061 # user supplied libs so there is no need to process them.
15062 if test -z "$compiler_lib_search_path_CXX"; then
15063 compiler_lib_search_path_CXX="${prev}${p}"
15065 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15068 # The "-l" case would never come before the object being
15069 # linked, so don't bother handling this case.
15072 if test -z "$postdeps_CXX"; then
15073 postdeps_CXX="${prev}${p}"
15075 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15081 # This assumes that the test object file only shows up
15082 # once in the compiler output.
15083 if test "$p" = "conftest.$objext"; then
15084 pre_test_object_deps_done=yes
15088 if test "$pre_test_object_deps_done" = no; then
15089 if test -z "$predep_objects_CXX"; then
15090 predep_objects_CXX="$p"
15092 predep_objects_CXX="$predep_objects_CXX $p"
15095 if test -z "$postdep_objects_CXX"; then
15096 postdep_objects_CXX="$p"
15098 postdep_objects_CXX="$postdep_objects_CXX $p"
15103 *) ;; # Ignore the rest.
15111 echo "libtool.m4: error: problem compiling CXX test program"
15114 $RM -f confest.$objext
15116 # PORTME: override above test on systems where it is broken
15119 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15120 # hack all around it, let's just trust "g++" to DTRT.
15121 predep_objects_CXX=
15122 postdep_objects_CXX=
15127 case `$CC -V 2>&1 | sed 5q` in
15131 # The more standards-conforming stlport4 library is
15132 # incompatible with the Cstd library. Avoid specifying
15133 # it if it's in CXXFLAGS. Ignore libCrun as
15134 # -library=stlport4 depends on it.
15135 case " $CXX $CXXFLAGS " in
15136 *" -library=stlport4 "*)
15137 solaris_use_stlport4=yes
15141 if test "$solaris_use_stlport4" != yes; then
15142 postdeps_CXX='-library=Cstd -library=Crun'
15149 case $cc_basename in
15151 # The more standards-conforming stlport4 library is
15152 # incompatible with the Cstd library. Avoid specifying
15153 # it if it's in CXXFLAGS. Ignore libCrun as
15154 # -library=stlport4 depends on it.
15155 case " $CXX $CXXFLAGS " in
15156 *" -library=stlport4 "*)
15157 solaris_use_stlport4=yes
15161 # Adding this requires a known-good setup of shared libraries for
15162 # Sun compiler versions before 5.6, else PIC objects from an old
15163 # archive will be linked into the output, leading to subtle bugs.
15164 if test "$solaris_use_stlport4" != yes; then
15165 postdeps_CXX='-library=Cstd -library=Crun'
15173 case " $postdeps_CXX " in
15174 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15176 compiler_lib_search_dirs_CXX=
15177 if test -n "${compiler_lib_search_path_CXX}"; then
15178 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15211 lt_prog_compiler_wl_CXX=
15212 lt_prog_compiler_pic_CXX=
15213 lt_prog_compiler_static_CXX=
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15216 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15218 # C++ specific cases for pic, static, wl, etc.
15219 if test "$GXX" = yes; then
15220 lt_prog_compiler_wl_CXX='-Wl,'
15221 lt_prog_compiler_static_CXX='-static'
15225 # All AIX code is PIC.
15226 if test "$host_cpu" = ia64; then
15227 # AIX 5 now supports IA64 processor
15228 lt_prog_compiler_static_CXX='-Bstatic'
15235 # see comment about AmigaOS4 .so support
15236 lt_prog_compiler_pic_CXX='-fPIC'
15239 # FIXME: we need at least 68020 code to build shared libraries, but
15240 # adding the `-m68020' flag to GCC prevents building anything better,
15242 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15247 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15248 # PIC is the default for these OSes.
15250 mingw* | cygwin* | os2* | pw32* | cegcc*)
15251 # This hack is so that the source file can tell whether it is being
15252 # built for inclusion in a dll (and should export symbols for example).
15253 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15254 # (--disable-auto-import) libraries
15255 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15257 darwin* | rhapsody*)
15258 # PIC is the default on this platform
15259 # Common symbols not allowed in MH_DYLIB files
15260 lt_prog_compiler_pic_CXX='-fno-common'
15263 # DJGPP does not support shared libraries at all
15264 lt_prog_compiler_pic_CXX=
15267 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15268 # Instead, we relocate shared libraries at runtime.
15271 if test -d /usr/nec; then
15272 lt_prog_compiler_pic_CXX=-Kconform_pic
15276 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15277 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15278 # sets the default TLS model and affects inlining.
15283 lt_prog_compiler_pic_CXX='-fPIC'
15288 # QNX uses GNU C++, but need to define -shared option too, otherwise
15289 # it will coredump.
15290 lt_prog_compiler_pic_CXX='-fPIC -shared'
15293 lt_prog_compiler_pic_CXX='-fPIC'
15299 # All AIX code is PIC.
15300 if test "$host_cpu" = ia64; then
15301 # AIX 5 now supports IA64 processor
15302 lt_prog_compiler_static_CXX='-Bstatic'
15304 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15308 case $cc_basename in
15310 # Green Hills C++ Compiler
15311 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15316 case $cc_basename in
15318 lt_prog_compiler_pic_CXX='-KPIC'
15321 # Green Hills C++ Compiler
15322 lt_prog_compiler_pic_CXX='-pic'
15328 freebsd* | dragonfly*)
15329 # FreeBSD uses GNU C++
15331 hpux9* | hpux10* | hpux11*)
15332 case $cc_basename in
15334 lt_prog_compiler_wl_CXX='-Wl,'
15335 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15336 if test "$host_cpu" != ia64; then
15337 lt_prog_compiler_pic_CXX='+Z'
15341 lt_prog_compiler_wl_CXX='-Wl,'
15342 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15348 lt_prog_compiler_pic_CXX='+Z'
15357 # This is c89, which is MS Visual C++ (no shared libs)
15358 # Anyone wants to do a port?
15360 irix5* | irix6* | nonstopux*)
15361 case $cc_basename in
15363 lt_prog_compiler_wl_CXX='-Wl,'
15364 lt_prog_compiler_static_CXX='-non_shared'
15365 # CC pic flag -KPIC is the default.
15371 linux* | k*bsd*-gnu)
15372 case $cc_basename in
15375 lt_prog_compiler_wl_CXX='--backend -Wl,'
15376 lt_prog_compiler_pic_CXX='-fPIC'
15379 # old Intel C++ for x86_64 which still supported -KPIC.
15380 lt_prog_compiler_wl_CXX='-Wl,'
15381 lt_prog_compiler_pic_CXX='-KPIC'
15382 lt_prog_compiler_static_CXX='-static'
15385 # Intel C++, used to be incompatible with GCC.
15386 # ICC 10 doesn't accept -KPIC any more.
15387 lt_prog_compiler_wl_CXX='-Wl,'
15388 lt_prog_compiler_pic_CXX='-fPIC'
15389 lt_prog_compiler_static_CXX='-static'
15392 # Portland Group C++ compiler
15393 lt_prog_compiler_wl_CXX='-Wl,'
15394 lt_prog_compiler_pic_CXX='-fpic'
15395 lt_prog_compiler_static_CXX='-Bstatic'
15399 # Make sure the PIC flag is empty. It appears that all Alpha
15400 # Linux and Compaq Tru64 Unix objects are PIC.
15401 lt_prog_compiler_pic_CXX=
15402 lt_prog_compiler_static_CXX='-non_shared'
15405 # IBM XL 8.0 on PPC
15406 lt_prog_compiler_wl_CXX='-Wl,'
15407 lt_prog_compiler_pic_CXX='-qpic'
15408 lt_prog_compiler_static_CXX='-qstaticlink'
15411 case `$CC -V 2>&1 | sed 5q` in
15414 lt_prog_compiler_pic_CXX='-KPIC'
15415 lt_prog_compiler_static_CXX='-Bstatic'
15416 lt_prog_compiler_wl_CXX='-Qoption ld '
15427 case $cc_basename in
15429 lt_prog_compiler_pic_CXX='-W c,exportall'
15435 netbsd* | netbsdelf*-gnu)
15438 # QNX uses GNU C++, but need to define -shared option too, otherwise
15439 # it will coredump.
15440 lt_prog_compiler_pic_CXX='-fPIC -shared'
15442 osf3* | osf4* | osf5*)
15443 case $cc_basename in
15445 lt_prog_compiler_wl_CXX='--backend -Wl,'
15448 # Rational C++ 2.4.1
15449 lt_prog_compiler_pic_CXX='-pic'
15452 # Digital/Compaq C++
15453 lt_prog_compiler_wl_CXX='-Wl,'
15454 # Make sure the PIC flag is empty. It appears that all Alpha
15455 # Linux and Compaq Tru64 Unix objects are PIC.
15456 lt_prog_compiler_pic_CXX=
15457 lt_prog_compiler_static_CXX='-non_shared'
15466 case $cc_basename in
15468 # Sun C++ 4.2, 5.x and Centerline C++
15469 lt_prog_compiler_pic_CXX='-KPIC'
15470 lt_prog_compiler_static_CXX='-Bstatic'
15471 lt_prog_compiler_wl_CXX='-Qoption ld '
15474 # Green Hills C++ Compiler
15475 lt_prog_compiler_pic_CXX='-PIC'
15482 case $cc_basename in
15485 lt_prog_compiler_pic_CXX='-pic'
15486 lt_prog_compiler_static_CXX='-Bstatic'
15490 lt_prog_compiler_pic_CXX='-pic'
15496 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15497 case $cc_basename in
15499 lt_prog_compiler_wl_CXX='-Wl,'
15500 lt_prog_compiler_pic_CXX='-KPIC'
15501 lt_prog_compiler_static_CXX='-Bstatic'
15506 case $cc_basename in
15508 # NonStop-UX NCC 3.20
15509 lt_prog_compiler_pic_CXX='-KPIC'
15518 lt_prog_compiler_can_build_shared_CXX=no
15524 # For platforms which do not support PIC, -DPIC is meaningless:
15526 lt_prog_compiler_pic_CXX=
15529 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15533 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15538 # Check to make sure the PIC flag actually works.
15540 if test -n "$lt_prog_compiler_pic_CXX"; then
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15542 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15543 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15544 $as_echo_n "(cached) " >&6
15546 lt_cv_prog_compiler_pic_works_CXX=no
15547 ac_outfile=conftest.$ac_objext
15548 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15549 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15550 # Insert the option either (1) after the last *FLAGS variable, or
15551 # (2) before a word containing "conftest.", or (3) at the end.
15552 # Note that $ac_compile itself does not contain backslashes and begins
15553 # with a dollar sign (not a hyphen), so the echo should work correctly.
15554 # The option is referenced via a variable to avoid confusing sed.
15555 lt_compile=`echo "$ac_compile" | $SED \
15556 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15557 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15558 -e 's:$: $lt_compiler_flag:'`
15559 (eval echo "\"\$as_me:15559: $lt_compile\"" >&5)
15560 (eval "$lt_compile" 2>conftest.err)
15562 cat conftest.err >&5
15563 echo "$as_me:15563: \$? = $ac_status" >&5
15564 if (exit $ac_status) && test -s "$ac_outfile"; then
15565 # The compiler can only warn and ignore the option if not recognized
15566 # So say no if there are warnings other than the usual output.
15567 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15568 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15569 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15570 lt_cv_prog_compiler_pic_works_CXX=yes
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15577 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15579 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15580 case $lt_prog_compiler_pic_CXX in
15582 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15585 lt_prog_compiler_pic_CXX=
15586 lt_prog_compiler_can_build_shared_CXX=no
15594 # Check to make sure the static flag actually works.
15596 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15598 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15599 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15600 $as_echo_n "(cached) " >&6
15602 lt_cv_prog_compiler_static_works_CXX=no
15603 save_LDFLAGS="$LDFLAGS"
15604 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15605 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15606 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15607 # The linker can only warn and ignore the option if not recognized
15608 # So say no if there are warnings
15609 if test -s conftest.err; then
15610 # Append any errors to the config.log.
15611 cat conftest.err 1>&5
15612 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15613 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15614 if diff conftest.exp conftest.er2 >/dev/null; then
15615 lt_cv_prog_compiler_static_works_CXX=yes
15618 lt_cv_prog_compiler_static_works_CXX=yes
15622 LDFLAGS="$save_LDFLAGS"
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15626 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15628 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15631 lt_prog_compiler_static_CXX=
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15638 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15639 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15640 $as_echo_n "(cached) " >&6
15642 lt_cv_prog_compiler_c_o_CXX=no
15643 $RM -r conftest 2>/dev/null
15647 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15649 lt_compiler_flag="-o out/conftest2.$ac_objext"
15650 # Insert the option either (1) after the last *FLAGS variable, or
15651 # (2) before a word containing "conftest.", or (3) at the end.
15652 # Note that $ac_compile itself does not contain backslashes and begins
15653 # with a dollar sign (not a hyphen), so the echo should work correctly.
15654 lt_compile=`echo "$ac_compile" | $SED \
15655 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15656 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15657 -e 's:$: $lt_compiler_flag:'`
15658 (eval echo "\"\$as_me:15658: $lt_compile\"" >&5)
15659 (eval "$lt_compile" 2>out/conftest.err)
15661 cat out/conftest.err >&5
15662 echo "$as_me:15662: \$? = $ac_status" >&5
15663 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15665 # The compiler can only warn and ignore the option if not recognized
15666 # So say no if there are warnings
15667 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15668 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15669 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15670 lt_cv_prog_compiler_c_o_CXX=yes
15675 # SGI C++ compiler will create directory out/ii_files/ for
15676 # template instantiation
15677 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15678 $RM out/* && rmdir out
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15685 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15690 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15691 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15692 $as_echo_n "(cached) " >&6
15694 lt_cv_prog_compiler_c_o_CXX=no
15695 $RM -r conftest 2>/dev/null
15699 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15701 lt_compiler_flag="-o out/conftest2.$ac_objext"
15702 # Insert the option either (1) after the last *FLAGS variable, or
15703 # (2) before a word containing "conftest.", or (3) at the end.
15704 # Note that $ac_compile itself does not contain backslashes and begins
15705 # with a dollar sign (not a hyphen), so the echo should work correctly.
15706 lt_compile=`echo "$ac_compile" | $SED \
15707 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15708 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15709 -e 's:$: $lt_compiler_flag:'`
15710 (eval echo "\"\$as_me:15710: $lt_compile\"" >&5)
15711 (eval "$lt_compile" 2>out/conftest.err)
15713 cat out/conftest.err >&5
15714 echo "$as_me:15714: \$? = $ac_status" >&5
15715 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15717 # The compiler can only warn and ignore the option if not recognized
15718 # So say no if there are warnings
15719 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15720 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15721 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15722 lt_cv_prog_compiler_c_o_CXX=yes
15727 # SGI C++ compiler will create directory out/ii_files/ for
15728 # template instantiation
15729 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15730 $RM out/* && rmdir out
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15737 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15742 hard_links="nottested"
15743 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15744 # do not overwrite the value of need_locks provided by the user
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15746 $as_echo_n "checking if we can lock with hard links... " >&6; }
15749 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15751 ln conftest.a conftest.b 2>&5 || hard_links=no
15752 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15754 $as_echo "$hard_links" >&6; }
15755 if test "$hard_links" = no; then
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15757 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15767 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15769 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15772 # If we're using GNU nm, then we don't want the "-C" option.
15773 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15774 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15775 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15777 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15781 export_symbols_cmds_CXX="$ltdll_cmds"
15783 cygwin* | mingw* | cegcc*)
15784 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15786 linux* | k*bsd*-gnu)
15787 link_all_deplibs_CXX=no
15790 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15793 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15796 $as_echo "$ld_shlibs_CXX" >&6; }
15797 test "$ld_shlibs_CXX" = no && can_build_shared=no
15799 with_gnu_ld_CXX=$with_gnu_ld
15807 # Do we need to explicitly link libc?
15809 case "x$archive_cmds_need_lc_CXX" in
15811 # Assume -lc should be added
15812 archive_cmds_need_lc_CXX=yes
15814 if test "$enable_shared" = yes && test "$GCC" = yes; then
15815 case $archive_cmds_CXX in
15817 # FIXME: we may have to deal with multi-command sequences.
15820 # Test whether the compiler implicitly links with -lc since on some
15821 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15822 # to ld, don't add -lc before -lgcc.
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15824 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15826 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15828 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15829 (eval $ac_compile) 2>&5
15831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15832 test $ac_status = 0; } 2>conftest.err; then
15835 libobjs=conftest.$ac_objext
15837 wl=$lt_prog_compiler_wl_CXX
15838 pic_flag=$lt_prog_compiler_pic_CXX
15844 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15845 allow_undefined_flag_CXX=
15846 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15847 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15850 test $ac_status = 0; }
15852 archive_cmds_need_lc_CXX=no
15854 archive_cmds_need_lc_CXX=yes
15856 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15858 cat conftest.err 1>&5
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
15862 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15933 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15935 library_names_spec=
15936 libname_spec='lib$name'
15940 postuninstall_cmds=
15944 shlibpath_overrides_runpath=unknown
15946 dynamic_linker="$host_os ld.so"
15947 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15948 need_lib_prefix=unknown
15949 hardcode_into_libs=no
15951 # when you set need_version to no, make sure it does not cause -set_version
15952 # flags to be left without arguments
15953 need_version=unknown
15958 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15959 shlibpath_var=LIBPATH
15961 # AIX 3 has no versioning support, so we append a major version to the name.
15962 soname_spec='${libname}${release}${shared_ext}$major'
15969 hardcode_into_libs=yes
15970 if test "$host_cpu" = ia64; then
15971 # AIX 5 supports IA64
15972 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15973 shlibpath_var=LD_LIBRARY_PATH
15975 # With GCC up to 2.95.x, collect2 would create an import file
15976 # for dependence libraries. The import file would start with
15977 # the line `#! .'. This would cause the generated library to
15978 # depend on `.', always an invalid library. This was fixed in
15979 # development snapshots of GCC prior to 3.0.
15981 aix4 | aix4.[01] | aix4.[01].*)
15982 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15984 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15987 can_build_shared=no
15991 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15992 # soname into executable. Probably we can add versioning support to
15993 # collect2, so additional links can be useful in future.
15994 if test "$aix_use_runtimelinking" = yes; then
15995 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15996 # instead of lib<name>.a to let people know that these are not
15997 # typical AIX shared libraries.
15998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16000 # We preserve .a as extension for shared libraries through AIX4.2
16001 # and later when we are not doing run time linking.
16002 library_names_spec='${libname}${release}.a $libname.a'
16003 soname_spec='${libname}${release}${shared_ext}$major'
16005 shlibpath_var=LIBPATH
16012 # Since July 2007 AmigaOS4 officially supports .so libraries.
16013 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16017 library_names_spec='$libname.ixlibrary $libname.a'
16018 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16019 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16025 library_names_spec='${libname}${shared_ext}'
16026 dynamic_linker="$host_os ld.so"
16027 shlibpath_var=LIBRARY_PATH
16033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16034 soname_spec='${libname}${release}${shared_ext}$major'
16035 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16036 shlibpath_var=LD_LIBRARY_PATH
16037 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16038 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16039 # the default ld.so.conf also contains /usr/contrib/lib and
16040 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16041 # libtool to hard-code these into programs
16044 cygwin* | mingw* | pw32* | cegcc*)
16045 version_type=windows
16050 case $GCC,$host_os in
16051 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
16052 library_names_spec='$libname.dll.a'
16053 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16054 postinstall_cmds='base_file=`basename \${file}`~
16055 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16056 dldir=$destdir/`dirname \$dlpath`~
16057 test -d \$dldir || mkdir -p \$dldir~
16058 $install_prog $dir/$dlname \$dldir/$dlname~
16059 chmod a+x \$dldir/$dlname~
16060 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16061 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16063 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16064 dlpath=$dir/\$dldll~
16066 shlibpath_overrides_runpath=yes
16070 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16071 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16072 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16075 # MinGW DLLs use traditional 'lib' prefix
16076 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16077 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16078 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16079 # It is most probably a Windows format PATH printed by
16080 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16081 # path with ; separators, and with drive letters. We can handle the
16082 # drive letters (cygwin fileutils understands them), so leave them,
16083 # especially as we might pass files found there to a mingw objdump,
16084 # which wouldn't understand a cygwinified path. Ahh.
16085 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16087 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16091 # pw32 DLLs use 'pw' prefix rather than 'lib'
16092 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16098 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16101 dynamic_linker='Win32 ld.exe'
16102 # FIXME: first we should search . and the directory the executable is in
16106 darwin* | rhapsody*)
16107 dynamic_linker="$host_os dyld"
16108 version_type=darwin
16111 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16112 soname_spec='${libname}${release}${major}$shared_ext'
16113 shlibpath_overrides_runpath=yes
16114 shlibpath_var=DYLD_LIBRARY_PATH
16115 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16117 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16125 soname_spec='${libname}${release}${shared_ext}$major'
16126 shlibpath_var=LD_LIBRARY_PATH
16133 freebsd* | dragonfly*)
16134 # DragonFly does not have aout. When/if they implement a new
16135 # versioning mechanism, adjust this.
16136 if test -x /usr/bin/objformat; then
16137 objformat=`/usr/bin/objformat`
16140 freebsd[123]*) objformat=aout ;;
16141 *) objformat=elf ;;
16144 version_type=freebsd-$objformat
16145 case $version_type in
16147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16152 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16156 shlibpath_var=LD_LIBRARY_PATH
16159 shlibpath_overrides_runpath=yes
16161 freebsd3.[01]* | freebsdelf3.[01]*)
16162 shlibpath_overrides_runpath=yes
16163 hardcode_into_libs=yes
16165 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16166 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16167 shlibpath_overrides_runpath=no
16168 hardcode_into_libs=yes
16170 *) # from 4.6 on, and DragonFly
16171 shlibpath_overrides_runpath=yes
16172 hardcode_into_libs=yes
16181 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16182 soname_spec='${libname}${release}${shared_ext}$major'
16183 shlibpath_var=LD_LIBRARY_PATH
16184 hardcode_into_libs=yes
16187 hpux9* | hpux10* | hpux11*)
16188 # Give a soname corresponding to the major version so that dld.sl refuses to
16189 # link against other versions.
16196 hardcode_into_libs=yes
16197 dynamic_linker="$host_os dld.so"
16198 shlibpath_var=LD_LIBRARY_PATH
16199 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16201 soname_spec='${libname}${release}${shared_ext}$major'
16202 if test "X$HPUX_IA64_MODE" = X32; then
16203 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16205 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16207 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16211 hardcode_into_libs=yes
16212 dynamic_linker="$host_os dld.sl"
16213 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16214 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16216 soname_spec='${libname}${release}${shared_ext}$major'
16217 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16218 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16222 dynamic_linker="$host_os dld.sl"
16223 shlibpath_var=SHLIB_PATH
16224 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16226 soname_spec='${libname}${release}${shared_ext}$major'
16229 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16230 postinstall_cmds='chmod 555 $lib'
16237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16238 soname_spec='${libname}${release}${shared_ext}$major'
16239 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16240 shlibpath_var=LD_LIBRARY_PATH
16241 shlibpath_overrides_runpath=no
16242 hardcode_into_libs=yes
16245 irix5* | irix6* | nonstopux*)
16247 nonstopux*) version_type=nonstopux ;;
16249 if test "$lt_cv_prog_gnu_ld" = yes; then
16257 soname_spec='${libname}${release}${shared_ext}$major'
16258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16260 irix5* | nonstopux*)
16261 libsuff= shlibsuff=
16264 case $LD in # libtool.m4 will add one of these switches to LD
16265 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16266 libsuff= shlibsuff= libmagic=32-bit;;
16267 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16268 libsuff=32 shlibsuff=N32 libmagic=N32;;
16269 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16270 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16271 *) libsuff= shlibsuff= libmagic=never-match;;
16275 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16276 shlibpath_overrides_runpath=no
16277 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16278 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16279 hardcode_into_libs=yes
16282 # No shared lib support for Linux oldld, aout, or coff.
16283 linux*oldld* | linux*aout* | linux*coff*)
16287 # This must be Linux ELF.
16288 linux* | k*bsd*-gnu)
16292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16293 soname_spec='${libname}${release}${shared_ext}$major'
16294 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16295 shlibpath_var=LD_LIBRARY_PATH
16296 shlibpath_overrides_runpath=no
16297 # Some binutils ld are patched to set DT_RUNPATH
16298 save_LDFLAGS=$LDFLAGS
16299 save_libdir=$libdir
16300 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16301 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16313 if ac_fn_cxx_try_link "$LINENO"; then :
16314 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16315 shlibpath_overrides_runpath=yes
16318 rm -f core conftest.err conftest.$ac_objext \
16319 conftest$ac_exeext conftest.$ac_ext
16320 LDFLAGS=$save_LDFLAGS
16321 libdir=$save_libdir
16323 # This implies no fast_install, which is unacceptable.
16324 # Some rework will be needed to allow for fast_install
16325 # before this can be enabled.
16326 hardcode_into_libs=yes
16328 # Append ld.so.conf contents to the search path
16329 if test -f /etc/ld.so.conf; then
16330 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16331 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16334 # We used to test for /lib/ld.so.1 and disable shared libraries on
16335 # powerpc, because MkLinux only supported shared libraries with the
16336 # GNU dynamic linker. Since this was broken with cross compilers,
16337 # most powerpc-linux boxes support dynamic linking these days and
16338 # people can always --disable-shared, the test was removed, and we
16339 # assume the GNU/Linux dynamic linker is in use.
16340 dynamic_linker='GNU/Linux ld.so'
16347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16348 soname_spec='${libname}${release}${shared_ext}$major'
16349 shlibpath_var=LD_LIBRARY_PATH
16350 shlibpath_overrides_runpath=no
16351 hardcode_into_libs=yes
16352 dynamic_linker='NetBSD ld.elf_so'
16359 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16361 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16362 dynamic_linker='NetBSD (a.out) ld.so'
16364 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16365 soname_spec='${libname}${release}${shared_ext}$major'
16366 dynamic_linker='NetBSD ld.elf_so'
16368 shlibpath_var=LD_LIBRARY_PATH
16369 shlibpath_overrides_runpath=yes
16370 hardcode_into_libs=yes
16375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16376 shlibpath_var=LD_LIBRARY_PATH
16377 shlibpath_overrides_runpath=yes
16384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16385 soname_spec='${libname}${release}${shared_ext}$major'
16386 shlibpath_var=LD_LIBRARY_PATH
16387 shlibpath_overrides_runpath=no
16388 hardcode_into_libs=yes
16389 dynamic_linker='ldqnx.so'
16394 sys_lib_dlsearch_path_spec="/usr/lib"
16396 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16398 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16399 *) need_version=no ;;
16401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16402 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16403 shlibpath_var=LD_LIBRARY_PATH
16404 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16406 openbsd2.[89] | openbsd2.[89].*)
16407 shlibpath_overrides_runpath=no
16410 shlibpath_overrides_runpath=yes
16414 shlibpath_overrides_runpath=yes
16419 libname_spec='$name'
16422 library_names_spec='$libname${shared_ext} $libname.a'
16423 dynamic_linker='OS/2 ld.exe'
16424 shlibpath_var=LIBPATH
16427 osf3* | osf4* | osf5*)
16431 soname_spec='${libname}${release}${shared_ext}$major'
16432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16433 shlibpath_var=LD_LIBRARY_PATH
16434 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16435 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16447 soname_spec='${libname}${release}${shared_ext}$major'
16448 shlibpath_var=LD_LIBRARY_PATH
16449 shlibpath_overrides_runpath=yes
16450 hardcode_into_libs=yes
16451 # ldd complains unless libraries are executable
16452 postinstall_cmds='chmod +x $lib'
16457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16458 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16459 shlibpath_var=LD_LIBRARY_PATH
16460 shlibpath_overrides_runpath=yes
16461 if test "$with_gnu_ld" = yes; then
16469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16470 soname_spec='${libname}${release}${shared_ext}$major'
16471 shlibpath_var=LD_LIBRARY_PATH
16472 case $host_vendor in
16474 shlibpath_overrides_runpath=no
16476 runpath_var=LD_RUN_PATH
16484 shlibpath_overrides_runpath=no
16485 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16491 if test -d /usr/nec ;then
16493 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16494 soname_spec='$libname${shared_ext}.$major'
16495 shlibpath_var=LD_LIBRARY_PATH
16499 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16500 version_type=freebsd-elf
16503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16504 soname_spec='${libname}${release}${shared_ext}$major'
16505 shlibpath_var=LD_LIBRARY_PATH
16506 shlibpath_overrides_runpath=yes
16507 hardcode_into_libs=yes
16508 if test "$with_gnu_ld" = yes; then
16509 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16511 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16514 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16518 sys_lib_dlsearch_path_spec='/usr/lib'
16522 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16527 shlibpath_var=LD_LIBRARY_PATH
16528 shlibpath_overrides_runpath=no
16529 hardcode_into_libs=yes
16534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16535 soname_spec='${libname}${release}${shared_ext}$major'
16536 shlibpath_var=LD_LIBRARY_PATH
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16544 $as_echo "$dynamic_linker" >&6; }
16545 test "$dynamic_linker" = no && can_build_shared=no
16547 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16548 if test "$GCC" = yes; then
16549 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16552 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16553 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16555 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16556 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16595 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16596 hardcode_action_CXX=
16597 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16598 test -n "$runpath_var_CXX" ||
16599 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16601 # We can hardcode non-existent directories.
16602 if test "$hardcode_direct_CXX" != no &&
16603 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16604 # have to relink, otherwise we might link with an installed library
16605 # when we should be linking with a yet-to-be-installed one
16606 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16607 test "$hardcode_minus_L_CXX" != no; then
16608 # Linking always hardcodes the temporary library directory.
16609 hardcode_action_CXX=relink
16611 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16612 hardcode_action_CXX=immediate
16615 # We cannot hardcode anything, or else we can only hardcode existing
16617 hardcode_action_CXX=unsupported
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16620 $as_echo "$hardcode_action_CXX" >&6; }
16622 if test "$hardcode_action_CXX" = relink ||
16623 test "$inherit_rpath_CXX" = yes; then
16624 # Fast installation is not supported
16625 enable_fast_install=no
16626 elif test "$shlibpath_overrides_runpath" = yes ||
16627 test "$enable_shared" = no; then
16628 # Fast installation is not necessary
16629 enable_fast_install=needless
16638 fi # test -n "$compiler"
16644 with_gnu_ld=$lt_save_with_gnu_ld
16645 lt_cv_path_LDCXX=$lt_cv_path_LD
16646 lt_cv_path_LD=$lt_save_path_LD
16647 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16648 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16649 fi # test "$_lt_caught_CXX_error" != yes
16652 ac_cpp='$CPP $CPPFLAGS'
16653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16669 ac_config_commands="$ac_config_commands libtool"
16674 # Only expand once:
16681 case "${host_os}" in
16682 *mingw* | *cygwin*)
16684 # on MinGW/Cygwin extra LDFLAGS are required
16685 no_undefined="-no-undefined"
16688 NO_UNDEFINED=$no_undefined
16695 # Find any Python interpreter.
16696 if test -z "$PYTHON"; then
16697 for ac_prog in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
16699 # Extract the first word of "$ac_prog", so it can be a program name with args.
16700 set dummy $ac_prog; ac_word=$2
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16702 $as_echo_n "checking for $ac_word... " >&6; }
16703 if test "${ac_cv_path_PYTHON+set}" = set; then :
16704 $as_echo_n "(cached) " >&6
16708 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
16711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16712 for as_dir in $PATH
16715 test -z "$as_dir" && as_dir=.
16716 for ac_exec_ext in '' $ac_executable_extensions; do
16717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16718 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
16719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16729 PYTHON=$ac_cv_path_PYTHON
16730 if test -n "$PYTHON"; then
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
16732 $as_echo "$PYTHON" >&6; }
16734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16735 $as_echo "no" >&6; }
16739 test -n "$PYTHON" && break
16741 test -n "$PYTHON" || PYTHON=":"
16744 am_display_PYTHON=python
16747 if test "$PYTHON" = :; then
16748 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
16753 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
16754 if test "${am_cv_python_version+set}" = set; then :
16755 $as_echo_n "(cached) " >&6
16757 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
16760 $as_echo "$am_cv_python_version" >&6; }
16761 PYTHON_VERSION=$am_cv_python_version
16765 PYTHON_PREFIX='${prefix}'
16767 PYTHON_EXEC_PREFIX='${exec_prefix}'
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
16772 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
16773 if test "${am_cv_python_platform+set}" = set; then :
16774 $as_echo_n "(cached) " >&6
16776 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
16779 $as_echo "$am_cv_python_platform" >&6; }
16780 PYTHON_PLATFORM=$am_cv_python_platform
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
16786 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
16787 if test "${am_cv_python_pythondir+set}" = set; then :
16788 $as_echo_n "(cached) " >&6
16790 if test "x$prefix" = xNONE
16792 am_py_prefix=$ac_default_prefix
16794 am_py_prefix=$prefix
16796 am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
16797 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
16798 case $am_cv_python_pythondir in
16800 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
16801 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
16804 case $am_py_prefix in
16807 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
16815 $as_echo "$am_cv_python_pythondir" >&6; }
16816 pythondir=$am_cv_python_pythondir
16820 pkgpythondir=\${pythondir}/$PACKAGE
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
16824 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
16825 if test "${am_cv_python_pyexecdir+set}" = set; then :
16826 $as_echo_n "(cached) " >&6
16828 if test "x$exec_prefix" = xNONE
16830 am_py_exec_prefix=$am_py_prefix
16832 am_py_exec_prefix=$exec_prefix
16834 am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
16835 echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
16836 case $am_cv_python_pyexecdir in
16837 $am_py_exec_prefix*)
16838 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
16839 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
16842 case $am_py_exec_prefix in
16845 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
16853 $as_echo "$am_cv_python_pyexecdir" >&6; }
16854 pyexecdir=$am_cv_python_pyexecdir
16858 pkgpyexecdir=\${pyexecdir}/$PACKAGE
16870 # Check whether --with-pythondir was given.
16871 if test "${with_pythondir+set}" = set; then :
16872 withval=$with_pythondir; with_pythondir=${withval}
16874 with_pythondir=${prefix}/lib/python2.5/site-packages
16878 # if we're cross-compiling, asking the host python about any of
16879 # this is completely useless...
16881 if test x$cross_compiling != xno
16883 pythondir=$with_pythondir
16884 pyexecdir=$with_pythondir
16889 # For Fedora Core 5 and 6, see ticket:39 in Trac
16890 if test -f '/etc/redhat-release'; then
16891 if (echo $pyexecdir | grep -q lib64); then
16892 pythondir="$pyexecdir"
16896 # Check for Python include path
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5
16898 $as_echo_n "checking for Python include path... " >&6; }
16899 if test -z "$PYTHON" ; then
16900 as_fn_error $? "cannot find Python path" "$LINENO" 5
16903 # ask distutils which include path we should use
16905 import distutils.sysconfig
16907 path = distutils.sysconfig.get_python_inc(plat_specific=False)
16909 path = path.replace("\\", "/")
16912 python_path=`$PYTHON -c "$python_cmd"`
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $python_path" >&5
16914 $as_echo "$python_path" >&6; }
16915 if test -z "$python_path" ; then
16916 as_fn_error $? "cannot find Python include path" "$LINENO" 5
16919 PYTHON_CPPFLAGS=-I$python_path
16922 # Check for Python headers usability
16923 python_save_CPPFLAGS=$CPPFLAGS
16924 CPPFLAGS="$CPPFLAGS $PYTHON_CPPFLAGS"
16925 for ac_header in Python.h
16927 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
16928 if test "x$ac_cv_header_Python_h" = x""yes; then :
16929 cat >>confdefs.h <<_ACEOF
16930 #define HAVE_PYTHON_H 1
16934 as_fn_error $? "cannot find usable Python headers" "$LINENO" 5
16939 CPPFLAGS="$python_save_CPPFLAGS"
16941 # Only set this on mingw and cygwin hosts, (only implemented
16942 # for mingw host, for crosscompiling you need to trick this)
16946 *mingw* | *cygwin* )
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python LDFLAGS" >&5
16948 $as_echo_n "checking for Python LDFLAGS... " >&6; }
16951 import distutils.sysconfig
16953 path = distutils.sysconfig.get_config_var("LIBPL")
16955 path = distutils.sysconfig.PREFIX + "/libs"
16957 path = path.replace("\\", "/")
16960 python_stdlib_path=`$PYTHON -c "$python_cmd"`
16962 python_version_nodot=`echo $PYTHON_VERSION | sed "s,\.,,"`
16963 libpython_name="python$PYTHON_VERSION"
16965 # Standard install of python for win32 has libpython24.a
16966 # instead of libpython2.4.a so we check for the library
16967 # without the dot in the version number.
16969 python_stdlib_filename=`find $python_stdlib_path -type f -name libpython$python_version_nodot.* -print | sed "1q"`
16970 if test -n "$python_stdlib_filename" ; then
16971 libpython_name="python$python_version_nodot"
16974 PYTHON_LDFLAGS="-L$python_stdlib_path -l$libpython_name"
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
16976 $as_echo "$PYTHON_LDFLAGS" >&6; }
16977 # Replace all backslashes in PYTHON Paths with forward slashes
16978 pythondir=`echo $pythondir |sed 's,\\\\,/,g'`
16979 pkgpythondir=`echo $pkgpythondir |sed 's,\\\\,/,g'`
16980 pyexecdir=`echo $pyexecdir |sed 's,\\\\,/,g'`
16981 pkgpyexecdir=`echo $pkgpyexecdir |sed 's,\\\\,/,g'`
16987 # Python 2.5 requires ".pyd" instead of ".dll" for extensions
16988 PYTHON_LDFLAGS="-shrext .pyd ${PYTHON_LDFLAGS}"
17001 # Extract the first word of "swig", so it can be a program name with args.
17002 set dummy swig; ac_word=$2
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17004 $as_echo_n "checking for $ac_word... " >&6; }
17005 if test "${ac_cv_prog_SWIG+set}" = set; then :
17006 $as_echo_n "(cached) " >&6
17008 if test -n "$SWIG"; then
17009 ac_cv_prog_SWIG="$SWIG" # Let the user override the test.
17011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17012 for as_dir in $PATH
17015 test -z "$as_dir" && as_dir=.
17016 for ac_exec_ext in '' $ac_executable_extensions; do
17017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17018 ac_cv_prog_SWIG="`which swig`"
17019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17028 SWIG=$ac_cv_prog_SWIG
17029 if test -n "$SWIG"; then
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
17031 $as_echo "$SWIG" >&6; }
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17034 $as_echo "no" >&6; }
17038 if test -z "$SWIG" ; then
17039 as_fn_error $? "Cannot find 'swig' program. SWIG version >= 1.3.31 required" "$LINENO" 5
17041 elif test -n "1.3.31" ; then
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWIG version" >&5
17043 $as_echo_n "checking for SWIG version... " >&6; }
17044 swig_version=`$SWIG -version 2>&1 | \
17045 awk '/^SWIG Version [0-9]+\.[0-9]+\.[0-9]+.*$/ { split($3,a,"[^.0-9]"); print a[1] }'`
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
17047 $as_echo "$swig_version" >&6; }
17048 if test -n "$swig_version" ; then
17049 swig_version=`echo $swig_version | \
17050 awk '{ split($1,a,"\."); print a[1]*1000000+a[2]*1000+a[3] }' 2>/dev/null`
17051 swig_required_version=`echo 1.3.31 | \
17052 awk '{ split($1,a,"\."); print a[1]*1000000+a[2]*1000+a[3] }' 2>/dev/null`
17053 if test $swig_required_version -gt $swig_version ; then
17054 as_fn_error $? "SWIG version >= 1.3.31 required" "$LINENO" 5
17057 as_fn_error $? "cannot determine SWIG version" "$LINENO" 5
17064 if test "$SWIG" != "false" ; then
17071 if test "$SWIG" != "false" ; then
17072 SWIG_PYTHON_LIB=-lswigpy
17074 SWIG_PYTHON_OPT=-python
17077 SWIG_PYTHON_CPPFLAGS=$PYTHON_CPPFLAGS
17082 # Allow user to choose whether to generate SWIG/Python
17083 # Default is enabled
17084 # Check whether --enable-python was given.
17085 if test "${enable_python+set}" = set; then :
17086 enableval=$enable_python; case "${enableval}" in
17087 yes) enable_python=yes ;;
17088 no) enable_python=no ;;
17089 *) as_fn_error $? "bad value ${enableval} for --enable-python" "$LINENO" 5 ;;
17096 if test x$enable_python = xyes; then
17105 # Extract the first word of "xmlto", so it can be a program name with args.
17106 set dummy xmlto; ac_word=$2
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17108 $as_echo_n "checking for $ac_word... " >&6; }
17109 if test "${ac_cv_prog_XMLTO+set}" = set; then :
17110 $as_echo_n "(cached) " >&6
17112 if test -n "$XMLTO"; then
17113 ac_cv_prog_XMLTO="$XMLTO" # Let the user override the test.
17115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17116 for as_dir in $PATH
17119 test -z "$as_dir" && as_dir=.
17120 for ac_exec_ext in '' $ac_executable_extensions; do
17121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17122 ac_cv_prog_XMLTO="yes"
17123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17132 XMLTO=$ac_cv_prog_XMLTO
17133 if test -n "$XMLTO"; then
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
17135 $as_echo "$XMLTO" >&6; }
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17138 $as_echo "no" >&6; }
17142 if test x$XMLTO = xyes; then
17144 HAS_XMLTO_FALSE='#'
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
17152 $as_echo_n "checking for socket in -lsocket... " >&6; }
17153 if test "${ac_cv_lib_socket_socket+set}" = set; then :
17154 $as_echo_n "(cached) " >&6
17156 ac_check_lib_save_LIBS=$LIBS
17157 LIBS="-lsocket $LIBS"
17158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17159 /* end confdefs.h. */
17161 /* Override any GCC internal prototype to avoid an error.
17162 Use char because int might match the return type of a GCC
17163 builtin and then its argument prototype would still apply. */
17176 if ac_fn_c_try_link "$LINENO"; then :
17177 ac_cv_lib_socket_socket=yes
17179 ac_cv_lib_socket_socket=no
17181 rm -f core conftest.err conftest.$ac_objext \
17182 conftest$ac_exeext conftest.$ac_ext
17183 LIBS=$ac_check_lib_save_LIBS
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
17186 $as_echo "$ac_cv_lib_socket_socket" >&6; }
17187 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
17188 cat >>confdefs.h <<_ACEOF
17189 #define HAVE_LIBSOCKET 1
17192 LIBS="-lsocket $LIBS"
17197 if test x$CXX_FOR_BUILD = x
17199 if test x$cross_compiling = xno; then
17200 CXX_FOR_BUILD=${CXX}
17210 ac_cpp='$CPP $CPPFLAGS'
17211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17216 for ac_header in sys/ipc.h sys/shm.h
17218 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17219 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17220 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17221 cat >>confdefs.h <<_ACEOF
17222 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shmat" >&5
17232 $as_echo_n "checking for library containing shmat... " >&6; }
17233 if test "${ac_cv_search_shmat+set}" = set; then :
17234 $as_echo_n "(cached) " >&6
17236 ac_func_search_save_LIBS=$LIBS
17237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17238 /* end confdefs.h. */
17240 /* Override any GCC internal prototype to avoid an error.
17241 Use char because int might match the return type of a GCC
17242 builtin and then its argument prototype would still apply. */
17255 for ac_lib in '' cygipc ipc; do
17256 if test -z "$ac_lib"; then
17257 ac_res="none required"
17260 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17262 if ac_fn_c_try_link "$LINENO"; then :
17263 ac_cv_search_shmat=$ac_res
17265 rm -f core conftest.err conftest.$ac_objext \
17267 if test "${ac_cv_search_shmat+set}" = set; then :
17271 if test "${ac_cv_search_shmat+set}" = set; then :
17274 ac_cv_search_shmat=no
17276 rm conftest.$ac_ext
17277 LIBS=$ac_func_search_save_LIBS
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shmat" >&5
17280 $as_echo "$ac_cv_search_shmat" >&6; }
17281 ac_res=$ac_cv_search_shmat
17282 if test "$ac_res" != no; then :
17283 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SystemV IPC support not found. " >&5
17287 $as_echo "$as_me: WARNING: SystemV IPC support not found. " >&2;}
17294 ac_cpp='$CPP $CPPFLAGS'
17295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17303 $as_echo_n "checking for ANSI C header files... " >&6; }
17304 if test "${ac_cv_header_stdc+set}" = set; then :
17305 $as_echo_n "(cached) " >&6
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 #include <stdlib.h>
17310 #include <stdarg.h>
17311 #include <string.h>
17322 if ac_fn_c_try_compile "$LINENO"; then :
17323 ac_cv_header_stdc=yes
17325 ac_cv_header_stdc=no
17327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17329 if test $ac_cv_header_stdc = yes; then
17330 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h. */
17333 #include <string.h>
17336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17337 $EGREP "memchr" >/dev/null 2>&1; then :
17340 ac_cv_header_stdc=no
17346 if test $ac_cv_header_stdc = yes; then
17347 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17350 #include <stdlib.h>
17353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17354 $EGREP "free" >/dev/null 2>&1; then :
17357 ac_cv_header_stdc=no
17363 if test $ac_cv_header_stdc = yes; then
17364 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17365 if test "$cross_compiling" = yes; then :
17368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17369 /* end confdefs.h. */
17371 #include <stdlib.h>
17372 #if ((' ' & 0x0FF) == 0x020)
17373 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17374 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17376 # define ISLOWER(c) \
17377 (('a' <= (c) && (c) <= 'i') \
17378 || ('j' <= (c) && (c) <= 'r') \
17379 || ('s' <= (c) && (c) <= 'z'))
17380 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17383 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17388 for (i = 0; i < 256; i++)
17389 if (XOR (islower (i), ISLOWER (i))
17390 || toupper (i) != TOUPPER (i))
17395 if ac_fn_c_try_run "$LINENO"; then :
17398 ac_cv_header_stdc=no
17400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17401 conftest.$ac_objext conftest.beam conftest.$ac_ext
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
17407 $as_echo "$ac_cv_header_stdc" >&6; }
17408 if test $ac_cv_header_stdc = yes; then
17410 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
17415 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
17416 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
17417 $as_echo_n "(cached) " >&6
17419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17420 /* end confdefs.h. */
17421 #include <sys/types.h>
17422 #include <sys/wait.h>
17423 #ifndef WEXITSTATUS
17424 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
17427 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
17435 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
17440 if ac_fn_c_try_compile "$LINENO"; then :
17441 ac_cv_header_sys_wait_h=yes
17443 ac_cv_header_sys_wait_h=no
17445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
17448 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
17449 if test $ac_cv_header_sys_wait_h = yes; then
17451 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
17455 for ac_header in fcntl.h limits.h strings.h time.h sys/ioctl.h sys/time.h unistd.h
17457 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17458 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17459 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17460 cat >>confdefs.h <<_ACEOF
17461 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17468 for ac_header in linux/ppdev.h dev/ppbus/ppi.h sys/mman.h sys/select.h sys/types.h
17470 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17471 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17472 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17473 cat >>confdefs.h <<_ACEOF
17474 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17481 for ac_header in sys/resource.h stdint.h sched.h signal.h sys/syscall.h malloc.h
17483 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17484 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17485 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17486 cat >>confdefs.h <<_ACEOF
17487 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17494 for ac_header in windows.h
17496 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
17497 if test "x$ac_cv_header_windows_h" = x""yes; then :
17498 cat >>confdefs.h <<_ACEOF
17499 #define HAVE_WINDOWS_H 1
17506 for ac_header in vec_types.h
17508 ac_fn_c_check_header_mongrel "$LINENO" "vec_types.h" "ac_cv_header_vec_types_h" "$ac_includes_default"
17509 if test "x$ac_cv_header_vec_types_h" = x""yes; then :
17510 cat >>confdefs.h <<_ACEOF
17511 #define HAVE_VEC_TYPES_H 1
17518 for ac_header in netdb.h netinet/in.h arpa/inet.h sys/types.h sys/socket.h
17520 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17521 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17522 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17523 cat >>confdefs.h <<_ACEOF
17524 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17533 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17534 if test "${ac_cv_c_const+set}" = set; then :
17535 $as_echo_n "(cached) " >&6
17537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17538 /* end confdefs.h. */
17543 /* FIXME: Include the comments suggested by Paul. */
17544 #ifndef __cplusplus
17545 /* Ultrix mips cc rejects this. */
17546 typedef int charset[2];
17548 /* SunOS 4.1.1 cc rejects this. */
17549 char const *const *pcpcc;
17551 /* NEC SVR4.0.2 mips cc rejects this. */
17552 struct point {int x, y;};
17553 static struct point const zero = {0,0};
17554 /* AIX XL C 1.02.0.0 rejects this.
17555 It does not let you subtract one const X* pointer from another in
17556 an arm of an if-expression whose if-part is not a constant
17558 const char *g = "string";
17559 pcpcc = &g + (g ? g-g : 0);
17560 /* HPUX 7.0 cc rejects these. */
17562 ppc = (char**) pcpcc;
17563 pcpcc = (char const *const *) ppc;
17564 { /* SCO 3.2v4 cc rejects this. */
17566 char const *s = 0 ? (char *) 0 : (char const *) 0;
17571 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17572 int x[] = {25, 17};
17573 const int *foo = &x[0];
17576 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17577 typedef const int *iptr;
17581 { /* AIX XL C 1.02.0.0 rejects this saying
17582 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17583 struct s { int j; const int *ap[3]; };
17584 struct s *b; b->j = 5;
17586 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17587 const int foo = 10;
17588 if (!foo) return 0;
17590 return !cs[0] && !zero.x;
17597 if ac_fn_c_try_compile "$LINENO"; then :
17602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17605 $as_echo "$ac_cv_c_const" >&6; }
17606 if test $ac_cv_c_const = no; then
17608 $as_echo "#define const /**/" >>confdefs.h
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17613 $as_echo_n "checking for inline... " >&6; }
17614 if test "${ac_cv_c_inline+set}" = set; then :
17615 $as_echo_n "(cached) " >&6
17618 for ac_kw in inline __inline__ __inline; do
17619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17620 /* end confdefs.h. */
17621 #ifndef __cplusplus
17623 static $ac_kw foo_t static_foo () {return 0; }
17624 $ac_kw foo_t foo () {return 0; }
17628 if ac_fn_c_try_compile "$LINENO"; then :
17629 ac_cv_c_inline=$ac_kw
17631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17632 test "$ac_cv_c_inline" != no && break
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17637 $as_echo "$ac_cv_c_inline" >&6; }
17639 case $ac_cv_c_inline in
17642 case $ac_cv_c_inline in
17644 *) ac_val=$ac_cv_c_inline;;
17646 cat >>confdefs.h <<_ACEOF
17647 #ifndef __cplusplus
17648 #define inline $ac_val
17654 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17655 if test "x$ac_cv_type_size_t" = x""yes; then :
17659 cat >>confdefs.h <<_ACEOF
17660 #define size_t unsigned int
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
17666 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
17667 if test "${ac_cv_header_time+set}" = set; then :
17668 $as_echo_n "(cached) " >&6
17670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17671 /* end confdefs.h. */
17672 #include <sys/types.h>
17673 #include <sys/time.h>
17679 if ((struct tm *) 0)
17685 if ac_fn_c_try_compile "$LINENO"; then :
17686 ac_cv_header_time=yes
17688 ac_cv_header_time=no
17690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
17693 $as_echo "$ac_cv_header_time" >&6; }
17694 if test $ac_cv_header_time = yes; then
17696 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
17701 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
17702 if test "${ac_cv_c_bigendian+set}" = set; then :
17703 $as_echo_n "(cached) " >&6
17705 ac_cv_c_bigendian=unknown
17706 # See if we're dealing with a universal compiler.
17707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17708 /* end confdefs.h. */
17709 #ifndef __APPLE_CC__
17710 not a universal capable compiler
17715 if ac_fn_c_try_compile "$LINENO"; then :
17717 # Check for potential -arch flags. It is not universal unless
17718 # there are at least two -arch flags with different values.
17721 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
17722 if test -n "$ac_prev"; then
17724 i?86 | x86_64 | ppc | ppc64)
17725 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
17728 ac_cv_c_bigendian=universal
17734 elif test "x$ac_word" = "x-arch"; then
17739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17740 if test $ac_cv_c_bigendian = unknown; then
17741 # See if sys/param.h defines the BYTE_ORDER macro.
17742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17743 /* end confdefs.h. */
17744 #include <sys/types.h>
17745 #include <sys/param.h>
17750 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
17751 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
17753 bogus endian macros
17760 if ac_fn_c_try_compile "$LINENO"; then :
17761 # It does; now see whether it defined to BIG_ENDIAN or not.
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17764 #include <sys/types.h>
17765 #include <sys/param.h>
17770 #if BYTE_ORDER != BIG_ENDIAN
17778 if ac_fn_c_try_compile "$LINENO"; then :
17779 ac_cv_c_bigendian=yes
17781 ac_cv_c_bigendian=no
17783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17787 if test $ac_cv_c_bigendian = unknown; then
17788 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
17789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17790 /* end confdefs.h. */
17791 #include <limits.h>
17796 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
17797 bogus endian macros
17804 if ac_fn_c_try_compile "$LINENO"; then :
17805 # It does; now see whether it defined to _BIG_ENDIAN or not.
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17808 #include <limits.h>
17813 #ifndef _BIG_ENDIAN
17821 if ac_fn_c_try_compile "$LINENO"; then :
17822 ac_cv_c_bigendian=yes
17824 ac_cv_c_bigendian=no
17826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17830 if test $ac_cv_c_bigendian = unknown; then
17831 # Compile a test program.
17832 if test "$cross_compiling" = yes; then :
17833 # Try to guess by grepping values from an object file.
17834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17835 /* end confdefs.h. */
17836 short int ascii_mm[] =
17837 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
17838 short int ascii_ii[] =
17839 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
17840 int use_ascii (int i) {
17841 return ascii_mm[i] + ascii_ii[i];
17843 short int ebcdic_ii[] =
17844 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
17845 short int ebcdic_mm[] =
17846 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
17847 int use_ebcdic (int i) {
17848 return ebcdic_mm[i] + ebcdic_ii[i];
17855 return use_ascii (foo) == use_ebcdic (foo);
17860 if ac_fn_c_try_compile "$LINENO"; then :
17861 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
17862 ac_cv_c_bigendian=yes
17864 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
17865 if test "$ac_cv_c_bigendian" = unknown; then
17866 ac_cv_c_bigendian=no
17868 # finding both strings is unlikely to happen, but who knows?
17869 ac_cv_c_bigendian=unknown
17873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17876 /* end confdefs.h. */
17877 $ac_includes_default
17882 /* Are we little or big endian? From Harbison&Steele. */
17886 char c[sizeof (long int)];
17889 return u.c[sizeof (long int) - 1] == 1;
17895 if ac_fn_c_try_run "$LINENO"; then :
17896 ac_cv_c_bigendian=no
17898 ac_cv_c_bigendian=yes
17900 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17901 conftest.$ac_objext conftest.beam conftest.$ac_ext
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
17907 $as_echo "$ac_cv_c_bigendian" >&6; }
17908 case $ac_cv_c_bigendian in #(
17910 GR_ARCH_BIGENDIAN=1;; #(
17912 GR_ARCH_BIGENDIAN=0 ;; #(
17915 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
17919 as_fn_error $? "unknown endianness
17920 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
17925 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
17926 if test "${ac_cv_struct_tm+set}" = set; then :
17927 $as_echo_n "(cached) " >&6
17929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17930 /* end confdefs.h. */
17931 #include <sys/types.h>
17938 int *p = &tm.tm_sec;
17944 if ac_fn_c_try_compile "$LINENO"; then :
17945 ac_cv_struct_tm=time.h
17947 ac_cv_struct_tm=sys/time.h
17949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
17952 $as_echo "$ac_cv_struct_tm" >&6; }
17953 if test $ac_cv_struct_tm = sys/time.h; then
17955 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
17960 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
17961 # for constant arguments. Useless!
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
17963 $as_echo_n "checking for working alloca.h... " >&6; }
17964 if test "${ac_cv_working_alloca_h+set}" = set; then :
17965 $as_echo_n "(cached) " >&6
17967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17968 /* end confdefs.h. */
17969 #include <alloca.h>
17973 char *p = (char *) alloca (2 * sizeof (int));
17979 if ac_fn_c_try_link "$LINENO"; then :
17980 ac_cv_working_alloca_h=yes
17982 ac_cv_working_alloca_h=no
17984 rm -f core conftest.err conftest.$ac_objext \
17985 conftest$ac_exeext conftest.$ac_ext
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
17988 $as_echo "$ac_cv_working_alloca_h" >&6; }
17989 if test $ac_cv_working_alloca_h = yes; then
17991 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
17996 $as_echo_n "checking for alloca... " >&6; }
17997 if test "${ac_cv_func_alloca_works+set}" = set; then :
17998 $as_echo_n "(cached) " >&6
18000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18001 /* end confdefs.h. */
18003 # define alloca __builtin_alloca
18006 # include <malloc.h>
18007 # define alloca _alloca
18009 # ifdef HAVE_ALLOCA_H
18010 # include <alloca.h>
18015 # ifndef alloca /* predefined by HP cc +Olibcalls */
18026 char *p = (char *) alloca (1);
18032 if ac_fn_c_try_link "$LINENO"; then :
18033 ac_cv_func_alloca_works=yes
18035 ac_cv_func_alloca_works=no
18037 rm -f core conftest.err conftest.$ac_objext \
18038 conftest$ac_exeext conftest.$ac_ext
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
18041 $as_echo "$ac_cv_func_alloca_works" >&6; }
18043 if test $ac_cv_func_alloca_works = yes; then
18045 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
18048 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
18049 # that cause trouble. Some versions do not even contain alloca or
18050 # contain a buggy version. If you still want to use their alloca,
18051 # use ar to extract alloca.o from them instead of compiling alloca.c.
18053 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
18055 $as_echo "#define C_ALLOCA 1" >>confdefs.h
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
18059 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
18060 if test "${ac_cv_os_cray+set}" = set; then :
18061 $as_echo_n "(cached) " >&6
18063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18064 /* end confdefs.h. */
18065 #if defined CRAY && ! defined CRAY2
18072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18073 $EGREP "webecray" >/dev/null 2>&1; then :
18081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
18082 $as_echo "$ac_cv_os_cray" >&6; }
18083 if test $ac_cv_os_cray = yes; then
18084 for ac_func in _getb67 GETB67 getb67; do
18085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18087 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18089 cat >>confdefs.h <<_ACEOF
18090 #define CRAY_STACKSEG_END $ac_func
18099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
18100 $as_echo_n "checking stack direction for C alloca... " >&6; }
18101 if test "${ac_cv_c_stack_direction+set}" = set; then :
18102 $as_echo_n "(cached) " >&6
18104 if test "$cross_compiling" = yes; then :
18105 ac_cv_c_stack_direction=0
18107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18108 /* end confdefs.h. */
18109 $ac_includes_default
18111 find_stack_direction ()
18113 static char *addr = 0;
18118 return find_stack_direction ();
18121 return (&dummy > addr) ? 1 : -1;
18127 return find_stack_direction () < 0;
18130 if ac_fn_c_try_run "$LINENO"; then :
18131 ac_cv_c_stack_direction=1
18133 ac_cv_c_stack_direction=-1
18135 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18136 conftest.$ac_objext conftest.beam conftest.$ac_ext
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
18141 $as_echo "$ac_cv_c_stack_direction" >&6; }
18142 cat >>confdefs.h <<_ACEOF
18143 #define STACK_DIRECTION $ac_cv_c_stack_direction
18152 # Check for allocing memory alignment functions
18153 # If 'posix_memalign' is available, use it solely.
18154 for ac_func in posix_memalign
18156 ac_fn_c_check_func "$LINENO" "posix_memalign" "ac_cv_func_posix_memalign"
18157 if test "x$ac_cv_func_posix_memalign" = x""yes; then :
18158 cat >>confdefs.h <<_ACEOF
18159 #define HAVE_POSIX_MEMALIGN 1
18164 # Otherwise, check for valloc and the
18165 # (a-priori known) alignment of 'malloc'
18166 for ac_func in valloc
18168 ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc"
18169 if test "x$ac_cv_func_valloc" = x""yes; then :
18170 cat >>confdefs.h <<_ACEOF
18171 #define HAVE_VALLOC 1
18178 # 'malloc' is 16-byte aligned on (at least) Darwin 8 and 9
18180 darwin8*) aligned_malloc=16 ;;
18181 darwin9*) aligned_malloc=16 ;;
18184 if test $aligned_malloc = 0; then
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: malloc has unknown alignment." >&5
18186 $as_echo "malloc has unknown alignment." >&6; }
18188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: malloc is $aligned_malloc-byte aligned." >&5
18189 $as_echo "malloc is $aligned_malloc-byte aligned." >&6; }
18192 cat >>confdefs.h <<_ACEOF
18193 #define ALIGNED_MALLOC $aligned_malloc
18201 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
18202 $as_echo_n "(cached) " >&6
18204 ac_cv_func_setvbuf_reversed=no
18208 for ac_func in vprintf
18210 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
18211 if test "x$ac_cv_func_vprintf" = x""yes; then :
18212 cat >>confdefs.h <<_ACEOF
18213 #define HAVE_VPRINTF 1
18216 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
18217 if test "x$ac_cv_func__doprnt" = x""yes; then :
18219 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
18227 for ac_func in mmap select socket strcspn strerror strspn getpagesize sysconf
18229 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18230 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18231 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18232 cat >>confdefs.h <<_ACEOF
18233 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18239 for ac_func in snprintf gettimeofday nanosleep sched_setscheduler
18241 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18242 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18243 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18244 cat >>confdefs.h <<_ACEOF
18245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18251 for ac_func in modf sqrt sigaction sigprocmask pthread_sigmask
18253 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18254 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18255 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18256 cat >>confdefs.h <<_ACEOF
18257 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18263 for ac_func in sched_setaffinity
18265 ac_fn_c_check_func "$LINENO" "sched_setaffinity" "ac_cv_func_sched_setaffinity"
18266 if test "x$ac_cv_func_sched_setaffinity" = x""yes; then :
18267 cat >>confdefs.h <<_ACEOF
18268 #define HAVE_SCHED_SETAFFINITY 1
18275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos in -lm" >&5
18276 $as_echo_n "checking for sincos in -lm... " >&6; }
18277 if test "${ac_cv_lib_m_sincos+set}" = set; then :
18278 $as_echo_n "(cached) " >&6
18280 ac_check_lib_save_LIBS=$LIBS
18282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18283 /* end confdefs.h. */
18285 /* Override any GCC internal prototype to avoid an error.
18286 Use char because int might match the return type of a GCC
18287 builtin and then its argument prototype would still apply. */
18300 if ac_fn_c_try_link "$LINENO"; then :
18301 ac_cv_lib_m_sincos=yes
18303 ac_cv_lib_m_sincos=no
18305 rm -f core conftest.err conftest.$ac_objext \
18306 conftest$ac_exeext conftest.$ac_ext
18307 LIBS=$ac_check_lib_save_LIBS
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sincos" >&5
18310 $as_echo "$ac_cv_lib_m_sincos" >&6; }
18311 if test "x$ac_cv_lib_m_sincos" = x""yes; then :
18313 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf in -lm" >&5
18318 $as_echo_n "checking for sincosf in -lm... " >&6; }
18319 if test "${ac_cv_lib_m_sincosf+set}" = set; then :
18320 $as_echo_n "(cached) " >&6
18322 ac_check_lib_save_LIBS=$LIBS
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18327 /* Override any GCC internal prototype to avoid an error.
18328 Use char because int might match the return type of a GCC
18329 builtin and then its argument prototype would still apply. */
18342 if ac_fn_c_try_link "$LINENO"; then :
18343 ac_cv_lib_m_sincosf=yes
18345 ac_cv_lib_m_sincosf=no
18347 rm -f core conftest.err conftest.$ac_objext \
18348 conftest$ac_exeext conftest.$ac_ext
18349 LIBS=$ac_check_lib_save_LIBS
18351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sincosf" >&5
18352 $as_echo "$ac_cv_lib_m_sincosf" >&6; }
18353 if test "x$ac_cv_lib_m_sincosf" = x""yes; then :
18355 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
18360 $as_echo_n "checking for sinf in -lm... " >&6; }
18361 if test "${ac_cv_lib_m_sinf+set}" = set; then :
18362 $as_echo_n "(cached) " >&6
18364 ac_check_lib_save_LIBS=$LIBS
18366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18367 /* end confdefs.h. */
18369 /* Override any GCC internal prototype to avoid an error.
18370 Use char because int might match the return type of a GCC
18371 builtin and then its argument prototype would still apply. */
18384 if ac_fn_c_try_link "$LINENO"; then :
18385 ac_cv_lib_m_sinf=yes
18387 ac_cv_lib_m_sinf=no
18389 rm -f core conftest.err conftest.$ac_objext \
18390 conftest$ac_exeext conftest.$ac_ext
18391 LIBS=$ac_check_lib_save_LIBS
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
18394 $as_echo "$ac_cv_lib_m_sinf" >&6; }
18395 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
18397 $as_echo "#define HAVE_SINF 1" >>confdefs.h
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
18402 $as_echo_n "checking for cosf in -lm... " >&6; }
18403 if test "${ac_cv_lib_m_cosf+set}" = set; then :
18404 $as_echo_n "(cached) " >&6
18406 ac_check_lib_save_LIBS=$LIBS
18408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18409 /* end confdefs.h. */
18411 /* Override any GCC internal prototype to avoid an error.
18412 Use char because int might match the return type of a GCC
18413 builtin and then its argument prototype would still apply. */
18426 if ac_fn_c_try_link "$LINENO"; then :
18427 ac_cv_lib_m_cosf=yes
18429 ac_cv_lib_m_cosf=no
18431 rm -f core conftest.err conftest.$ac_objext \
18432 conftest$ac_exeext conftest.$ac_ext
18433 LIBS=$ac_check_lib_save_LIBS
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
18436 $as_echo "$ac_cv_lib_m_cosf" >&6; }
18437 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
18439 $as_echo "#define HAVE_COSF 1" >>confdefs.h
18443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
18444 $as_echo_n "checking for trunc in -lm... " >&6; }
18445 if test "${ac_cv_lib_m_trunc+set}" = set; then :
18446 $as_echo_n "(cached) " >&6
18448 ac_check_lib_save_LIBS=$LIBS
18450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18451 /* end confdefs.h. */
18453 /* Override any GCC internal prototype to avoid an error.
18454 Use char because int might match the return type of a GCC
18455 builtin and then its argument prototype would still apply. */
18468 if ac_fn_c_try_link "$LINENO"; then :
18469 ac_cv_lib_m_trunc=yes
18471 ac_cv_lib_m_trunc=no
18473 rm -f core conftest.err conftest.$ac_objext \
18474 conftest$ac_exeext conftest.$ac_ext
18475 LIBS=$ac_check_lib_save_LIBS
18477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
18478 $as_echo "$ac_cv_lib_m_trunc" >&6; }
18479 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
18481 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp10 in -lm" >&5
18486 $as_echo_n "checking for exp10 in -lm... " >&6; }
18487 if test "${ac_cv_lib_m_exp10+set}" = set; then :
18488 $as_echo_n "(cached) " >&6
18490 ac_check_lib_save_LIBS=$LIBS
18492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18493 /* end confdefs.h. */
18495 /* Override any GCC internal prototype to avoid an error.
18496 Use char because int might match the return type of a GCC
18497 builtin and then its argument prototype would still apply. */
18510 if ac_fn_c_try_link "$LINENO"; then :
18511 ac_cv_lib_m_exp10=yes
18513 ac_cv_lib_m_exp10=no
18515 rm -f core conftest.err conftest.$ac_objext \
18516 conftest$ac_exeext conftest.$ac_ext
18517 LIBS=$ac_check_lib_save_LIBS
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp10" >&5
18520 $as_echo "$ac_cv_lib_m_exp10" >&6; }
18521 if test "x$ac_cv_lib_m_exp10" = x""yes; then :
18523 $as_echo "#define HAVE_EXP10 1" >>confdefs.h
18527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log2 in -lm" >&5
18528 $as_echo_n "checking for log2 in -lm... " >&6; }
18529 if test "${ac_cv_lib_m_log2+set}" = set; then :
18530 $as_echo_n "(cached) " >&6
18532 ac_check_lib_save_LIBS=$LIBS
18534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18535 /* end confdefs.h. */
18537 /* Override any GCC internal prototype to avoid an error.
18538 Use char because int might match the return type of a GCC
18539 builtin and then its argument prototype would still apply. */
18552 if ac_fn_c_try_link "$LINENO"; then :
18553 ac_cv_lib_m_log2=yes
18555 ac_cv_lib_m_log2=no
18557 rm -f core conftest.err conftest.$ac_objext \
18558 conftest$ac_exeext conftest.$ac_ext
18559 LIBS=$ac_check_lib_save_LIBS
18561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log2" >&5
18562 $as_echo "$ac_cv_lib_m_log2" >&6; }
18563 if test "x$ac_cv_lib_m_log2" = x""yes; then :
18565 $as_echo "#define HAVE_LOG2 1" >>confdefs.h
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shm_open" >&5
18577 $as_echo_n "checking for library containing shm_open... " >&6; }
18578 if test "${ac_cv_search_shm_open+set}" = set; then :
18579 $as_echo_n "(cached) " >&6
18581 ac_func_search_save_LIBS=$LIBS
18582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18583 /* end confdefs.h. */
18585 /* Override any GCC internal prototype to avoid an error.
18586 Use char because int might match the return type of a GCC
18587 builtin and then its argument prototype would still apply. */
18595 return shm_open ();
18600 for ac_lib in '' rt; do
18601 if test -z "$ac_lib"; then
18602 ac_res="none required"
18605 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18607 if ac_fn_c_try_link "$LINENO"; then :
18608 ac_cv_search_shm_open=$ac_res
18610 rm -f core conftest.err conftest.$ac_objext \
18612 if test "${ac_cv_search_shm_open+set}" = set; then :
18616 if test "${ac_cv_search_shm_open+set}" = set; then :
18619 ac_cv_search_shm_open=no
18621 rm conftest.$ac_ext
18622 LIBS=$ac_func_search_save_LIBS
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shm_open" >&5
18625 $as_echo "$ac_cv_search_shm_open" >&6; }
18626 ac_res=$ac_cv_search_shm_open
18627 if test "$ac_res" != no; then :
18628 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18629 SHM_OPEN_LIBS="$LIBS"
18632 for ac_func in shm_open
18634 ac_fn_c_check_func "$LINENO" "shm_open" "ac_cv_func_shm_open"
18635 if test "x$ac_cv_func_shm_open" = x""yes; then :
18636 cat >>confdefs.h <<_ACEOF
18637 #define HAVE_SHM_OPEN 1
18648 # Check whether --with-gnu-ld was given.
18649 if test "${with_gnu_ld+set}" = set; then :
18650 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18656 if test "$GCC" = yes; then
18657 # Check if gcc -print-prog-name=ld gives a path.
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
18659 $as_echo_n "checking for ld used by $CC... " >&6; }
18662 # gcc leaves a trailing carriage return which upsets mingw
18663 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18665 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18668 # Accept absolute paths.
18670 re_direlt='/[^/][^/]*/\.\./'
18671 # Canonicalize the pathname of ld
18672 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18673 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18674 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18676 test -z "$LD" && LD="$ac_prog"
18679 # If it fails, then pretend we aren't using GCC.
18683 # If it is relative, then search for the first ld in PATH.
18684 with_gnu_ld=unknown
18687 elif test "$with_gnu_ld" = yes; then
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
18689 $as_echo_n "checking for GNU ld... " >&6; }
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
18692 $as_echo_n "checking for non-GNU ld... " >&6; }
18694 if test "${lt_cv_path_LD+set}" = set; then :
18695 $as_echo_n "(cached) " >&6
18697 if test -z "$LD"; then
18698 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18699 for ac_dir in $PATH; do
18701 test -z "$ac_dir" && ac_dir=.
18702 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18703 lt_cv_path_LD="$ac_dir/$ac_prog"
18704 # Check to see if the program is GNU ld. I'd rather use --version,
18705 # but apparently some variants of GNU ld only accept -v.
18706 # Break only if it was the GNU/non-GNU ld that we prefer.
18707 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18708 *GNU* | *'with BFD'*)
18709 test "$with_gnu_ld" != no && break
18712 test "$with_gnu_ld" != yes && break
18719 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18723 LD="$lt_cv_path_LD"
18724 if test -n "$LD"; then
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18726 $as_echo "$LD" >&6; }
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18729 $as_echo "no" >&6; }
18731 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
18732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18733 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18734 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
18735 $as_echo_n "(cached) " >&6
18737 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18738 case `$LD -v 2>&1 </dev/null` in
18739 *GNU* | *'with BFD'*)
18740 lt_cv_prog_gnu_ld=yes
18743 lt_cv_prog_gnu_ld=no
18747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
18748 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
18749 with_gnu_ld=$lt_cv_prog_gnu_ld
18758 # on Mingw32 extra LDFLAGS are required to ease global variable linking
18759 LIBGNURADIO_CORE_EXTRA_LDFLAGS=""
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts --enable-runtime-pseudo-reloc" >&5
18762 $as_echo_n "checking whether $LD accepts --enable-runtime-pseudo-reloc... " >&6; }
18763 if ${LD} --enable-runtime-pseudo-reloc --version >/dev/null 2>&1
18765 # libtool requires the quotes
18766 LIBGNURADIO_CORE_EXTRA_LDFLAGS="\"-Wl,--enable-runtime-pseudo-reloc\""
18767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18768 $as_echo "yes" >&6; }
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18771 $as_echo "no" >&6; }
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CreateFileMapping function" >&5
18779 $as_echo_n "checking for CreateFileMapping function... " >&6; }
18780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18781 /* end confdefs.h. */
18783 #include <windows.h>
18784 int main (int argc, char **argv)
18788 char seg_name[1024];
18789 handle = CreateFileMapping(
18790 INVALID_HANDLE_VALUE, // use paging file
18791 NULL, // default security
18792 PAGE_READWRITE, // read/write access
18793 0, // max. object size
18794 size, // buffer size
18795 seg_name); // name of mapping object
18800 if ac_fn_c_try_compile "$LINENO"; then :
18801 HAVE_CREATEFILEMAPPING=yes
18803 $as_echo "#define HAVE_CREATEFILEMAPPING 1" >>confdefs.h
18806 HAVE_CREATEFILEMAPPING=no
18808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CREATEFILEMAPPING" >&5
18811 $as_echo "$HAVE_CREATEFILEMAPPING" >&6; }
18812 if test x$HAVE_CREATEFILEMAPPING = xyes; then
18813 HAVE_CREATEFILEMAPPING_TRUE=
18814 HAVE_CREATEFILEMAPPING_FALSE='#'
18816 HAVE_CREATEFILEMAPPING_TRUE='#'
18817 HAVE_CREATEFILEMAPPING_FALSE=
18824 for ac_header in sys/types.h fcntl.h io.h
18826 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18827 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18828 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18829 cat >>confdefs.h <<_ACEOF
18830 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18837 for ac_header in windows.h
18839 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
18840 if test "x$ac_cv_header_windows_h" = x""yes; then :
18841 cat >>confdefs.h <<_ACEOF
18842 #define HAVE_WINDOWS_H 1
18849 for ac_header in winioctl.h winbase.h
18851 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18852 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
18854 #include <windows.h>
18858 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18859 cat >>confdefs.h <<_ACEOF
18860 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18868 for ac_func in getopt usleep gettimeofday nanosleep rand srand random srandom sleep sigaction
18870 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18871 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18872 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18873 cat >>confdefs.h <<_ACEOF
18874 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18880 ac_fn_c_check_type "$LINENO" "struct timezone" "ac_cv_type_struct_timezone" "
18881 #if HAVE_SYS_TYPES_H
18882 # include <sys/types.h>
18884 #if TIME_WITH_SYS_TIME
18885 # include <sys/time.h>
18888 # if HAVE_SYS_TIME_H
18889 # include <sys/time.h>
18896 if test "x$ac_cv_type_struct_timezone" = x""yes; then :
18898 cat >>confdefs.h <<_ACEOF
18899 #define HAVE_STRUCT_TIMEZONE 1
18904 ac_fn_c_check_type "$LINENO" "struct timespec" "ac_cv_type_struct_timespec" "
18905 #if HAVE_SYS_TYPES_H
18906 # include <sys/types.h>
18908 #if TIME_WITH_SYS_TIME
18909 # include <sys/time.h>
18912 # if HAVE_SYS_TIME_H
18913 # include <sys/time.h>
18920 if test "x$ac_cv_type_struct_timespec" = x""yes; then :
18922 cat >>confdefs.h <<_ACEOF
18923 #define HAVE_STRUCT_TIMESPEC 1
18928 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "
18929 #if HAVE_SYS_TYPES_H
18930 # include <sys/types.h>
18932 #if TIME_WITH_SYS_TIME
18933 # include <sys/time.h>
18936 # if HAVE_SYS_TIME_H
18937 # include <sys/time.h>
18944 if test "x$ac_cv_type_ssize_t" = x""yes; then :
18946 cat >>confdefs.h <<_ACEOF
18947 #define HAVE_SSIZE_T 1
18954 ac_fn_c_check_func "$LINENO" "getopt" "ac_cv_func_getopt"
18955 if test "x$ac_cv_func_getopt" = x""yes; then :
18956 $as_echo "#define HAVE_GETOPT 1" >>confdefs.h
18959 case " $LIBOBJS " in
18960 *" getopt.$ac_objext "* ) ;;
18961 *) LIBOBJS="$LIBOBJS getopt.$ac_objext"
18967 ac_fn_c_check_func "$LINENO" "usleep" "ac_cv_func_usleep"
18968 if test "x$ac_cv_func_usleep" = x""yes; then :
18969 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
18972 case " $LIBOBJS " in
18973 *" usleep.$ac_objext "* ) ;;
18974 *) LIBOBJS="$LIBOBJS usleep.$ac_objext"
18980 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
18981 if test "x$ac_cv_func_gettimeofday" = x""yes; then :
18982 $as_echo "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
18985 case " $LIBOBJS " in
18986 *" gettimeofday.$ac_objext "* ) ;;
18987 *) LIBOBJS="$LIBOBJS gettimeofday.$ac_objext"
18996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
18997 $as_echo_n "checking for Sleep... " >&6; }
18998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18999 /* end confdefs.h. */
19000 #include <windows.h>
19001 #include <winbase.h>
19011 if ac_fn_c_try_link "$LINENO"; then :
19013 $as_echo "#define HAVE_SSLEEP 1" >>confdefs.h
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19016 $as_echo "yes" >&6; }
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19019 $as_echo "no" >&6; }
19022 rm -f core conftest.err conftest.$ac_objext \
19023 conftest$ac_exeext conftest.$ac_ext
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir accepts only one arg" >&5
19026 $as_echo_n "checking whether mkdir accepts only one arg... " >&6; }
19027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19028 /* end confdefs.h. */
19029 #include <sys/types.h>
19030 #include <sys/stat.h>
19042 if ac_fn_c_try_compile "$LINENO"; then :
19043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19044 $as_echo "yes" >&6; }
19046 $as_echo "#define MKDIR_TAKES_ONE_ARG /**/" >>confdefs.h
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19050 $as_echo "no" >&6; }
19053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19060 # Extract the first word of "dot", so it can be a program name with args.
19061 set dummy dot; ac_word=$2
19062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19063 $as_echo_n "checking for $ac_word... " >&6; }
19064 if test "${ac_cv_prog_HAVE_DOT+set}" = set; then :
19065 $as_echo_n "(cached) " >&6
19067 if test -n "$HAVE_DOT"; then
19068 ac_cv_prog_HAVE_DOT="$HAVE_DOT" # Let the user override the test.
19070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19071 for as_dir in $PATH
19074 test -z "$as_dir" && as_dir=.
19075 for ac_exec_ext in '' $ac_executable_extensions; do
19076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19077 ac_cv_prog_HAVE_DOT="YES"
19078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19085 test -z "$ac_cv_prog_HAVE_DOT" && ac_cv_prog_HAVE_DOT="NO"
19088 HAVE_DOT=$ac_cv_prog_HAVE_DOT
19089 if test -n "$HAVE_DOT"; then
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOT" >&5
19091 $as_echo "$HAVE_DOT" >&6; }
19093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19094 $as_echo "no" >&6; }
19101 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19102 if test -n "$ac_tool_prefix"; then
19103 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19104 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19106 $as_echo_n "checking for $ac_word... " >&6; }
19107 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19108 $as_echo_n "(cached) " >&6
19110 case $PKG_CONFIG in
19112 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19116 for as_dir in $PATH
19119 test -z "$as_dir" && as_dir=.
19120 for ac_exec_ext in '' $ac_executable_extensions; do
19121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19122 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19133 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19134 if test -n "$PKG_CONFIG"; then
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19136 $as_echo "$PKG_CONFIG" >&6; }
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19139 $as_echo "no" >&6; }
19144 if test -z "$ac_cv_path_PKG_CONFIG"; then
19145 ac_pt_PKG_CONFIG=$PKG_CONFIG
19146 # Extract the first word of "pkg-config", so it can be a program name with args.
19147 set dummy pkg-config; ac_word=$2
19148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19149 $as_echo_n "checking for $ac_word... " >&6; }
19150 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
19151 $as_echo_n "(cached) " >&6
19153 case $ac_pt_PKG_CONFIG in
19155 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19159 for as_dir in $PATH
19162 test -z "$as_dir" && as_dir=.
19163 for ac_exec_ext in '' $ac_executable_extensions; do
19164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19165 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19176 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19177 if test -n "$ac_pt_PKG_CONFIG"; then
19178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19179 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19182 $as_echo "no" >&6; }
19185 if test "x$ac_pt_PKG_CONFIG" = x; then
19188 case $cross_compiling:$ac_tool_warned in
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19192 ac_tool_warned=yes ;;
19194 PKG_CONFIG=$ac_pt_PKG_CONFIG
19197 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19201 if test -n "$PKG_CONFIG"; then
19202 _pkg_min_version=0.18
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19204 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19205 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19207 $as_echo "yes" >&6; }
19209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19210 $as_echo "no" >&6; }
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFTW3F" >&5
19220 $as_echo_n "checking for FFTW3F... " >&6; }
19222 if test -n "$PKG_CONFIG"; then
19223 if test -n "$FFTW3F_CFLAGS"; then
19224 pkg_cv_FFTW3F_CFLAGS="$FFTW3F_CFLAGS"
19226 if test -n "$PKG_CONFIG" && \
19227 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f >= 3.0\""; } >&5
19228 ($PKG_CONFIG --exists --print-errors "fftw3f >= 3.0") 2>&5
19230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19231 test $ac_status = 0; }; then
19232 pkg_cv_FFTW3F_CFLAGS=`$PKG_CONFIG --cflags "fftw3f >= 3.0" 2>/dev/null`
19241 if test x$cross_compiling = xyes
19243 if test -n "$PKG_CONFIG"; then
19244 if test -n "$FFTW3F_LIBS"; then
19245 pkg_cv_FFTW3F_LIBS="$FFTW3F_LIBS"
19247 if test -n "$PKG_CONFIG" && \
19248 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f >= 3.0\""; } >&5
19249 ($PKG_CONFIG --exists --print-errors "fftw3f >= 3.0") 2>&5
19251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19252 test $ac_status = 0; }; then
19253 pkg_cv_FFTW3F_LIBS=`$PKG_CONFIG --libs --static "fftw3f >= 3.0" 2>/dev/null`
19262 for flag in $pkg_cv_FFTW3F_LIBS; do
19264 (-L/lib* | -L/usr/lib* ) ;; # ignore
19265 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
19268 pkg_cv_FFTW3F_LIBS="$_pkg_tmp"
19270 if test -n "$PKG_CONFIG"; then
19271 if test -n "$FFTW3F_LIBS"; then
19272 pkg_cv_FFTW3F_LIBS="$FFTW3F_LIBS"
19274 if test -n "$PKG_CONFIG" && \
19275 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f >= 3.0\""; } >&5
19276 ($PKG_CONFIG --exists --print-errors "fftw3f >= 3.0") 2>&5
19278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19279 test $ac_status = 0; }; then
19280 pkg_cv_FFTW3F_LIBS=`$PKG_CONFIG --libs --static "fftw3f >= 3.0" 2>/dev/null`
19290 if test -n "$PKG_CONFIG"; then
19291 if test -n "$FFTW3F_INCLUDEDIR"; then
19292 pkg_cv_FFTW3F_INCLUDEDIR="$FFTW3F_INCLUDEDIR"
19294 if test -n "$PKG_CONFIG" && \
19295 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f >= 3.0\""; } >&5
19296 ($PKG_CONFIG --exists --print-errors "fftw3f >= 3.0") 2>&5
19298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19299 test $ac_status = 0; }; then
19300 pkg_cv_FFTW3F_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "fftw3f >= 3.0" 2>/dev/null`
19312 if test $pkg_failed = yes; then
19314 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19315 _pkg_short_errors_supported=yes
19317 _pkg_short_errors_supported=no
19319 if test $_pkg_short_errors_supported = yes; then
19320 FFTW3F_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fftw3f >= 3.0"`
19322 FFTW3F_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fftw3f >= 3.0"`
19324 # Put the nasty error message in config.log where it belongs
19325 echo "$FFTW3F_PKG_ERRORS" >&5
19327 as_fn_error $? "Package requirements (fftw3f >= 3.0) were not met:
19331 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19332 installed software in a non-standard prefix.
19334 Alternatively, you may set the environment variables FFTW3F_CFLAGS
19335 and FFTW3F_LIBS to avoid the need to call pkg-config.
19336 See the pkg-config man page for more details.
19338 elif test $pkg_failed = untried; then
19339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19341 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19342 is in your PATH or set the PKG_CONFIG environment variable to the full
19343 path to pkg-config.
19345 Alternatively, you may set the environment variables FFTW3F_CFLAGS
19346 and FFTW3F_LIBS to avoid the need to call pkg-config.
19347 See the pkg-config man page for more details.
19349 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19350 See \`config.log' for more details" "$LINENO" 5 ; }
19352 FFTW3F_CFLAGS=$pkg_cv_FFTW3F_CFLAGS
19353 FFTW3F_LIBS=$pkg_cv_FFTW3F_LIBS
19354 FFTW3F_INCLUDEDIR=$pkg_cv_FFTW3F_INCLUDEDIR
19357 for flag in $FFTW3F_CFLAGS; do
19359 -I* | -D* | -U*) FFTW3F_CPPFLAGS="$FFTW3F_CPPFLAGS $flag" ;;
19362 pkg_cv_FFTW3F_CPPFLAGS=$FFTW3F_CPPFLAGS
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19366 $as_echo "yes" >&6; }
19372 # Check whether --enable-doxygen was given.
19373 if test "${enable_doxygen+set}" = set; then :
19374 enableval=$enable_doxygen;
19377 # Check whether --enable-dot was given.
19378 if test "${enable_dot+set}" = set; then :
19379 enableval=$enable_dot;
19383 if test "x$enable_doxygen" = xno; then
19386 # Extract the first word of "doxygen", so it can be a program name with args.
19387 set dummy doxygen; ac_word=$2
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19389 $as_echo_n "checking for $ac_word... " >&6; }
19390 if test "${ac_cv_path_DOXYGEN+set}" = set; then :
19391 $as_echo_n "(cached) " >&6
19395 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
19398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19399 for as_dir in $PATH
19402 test -z "$as_dir" && as_dir=.
19403 for ac_exec_ext in '' $ac_executable_extensions; do
19404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19405 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
19406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19416 DOXYGEN=$ac_cv_path_DOXYGEN
19417 if test -n "$DOXYGEN"; then
19418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
19419 $as_echo "$DOXYGEN" >&6; }
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19422 $as_echo "no" >&6; }
19426 if test x$DOXYGEN = x; then
19427 if test "x$enable_doxygen" = xyes; then
19428 as_fn_error $? "could not find doxygen" "$LINENO" 5
19435 # Extract the first word of "dot", so it can be a program name with args.
19436 set dummy dot; ac_word=$2
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19438 $as_echo_n "checking for $ac_word... " >&6; }
19439 if test "${ac_cv_path_DOT+set}" = set; then :
19440 $as_echo_n "(cached) " >&6
19444 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
19447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19448 for as_dir in $PATH
19451 test -z "$as_dir" && as_dir=.
19452 for ac_exec_ext in '' $ac_executable_extensions; do
19453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19454 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
19455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19465 DOT=$ac_cv_path_DOT
19466 if test -n "$DOT"; then
19467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
19468 $as_echo "$DOT" >&6; }
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19471 $as_echo "no" >&6; }
19478 if test x$enable_doc = xyes; then
19487 if test x$DOT = x; then
19488 if test "x$enable_dot" = xyes; then
19489 as_fn_error $? "could not find dot" "$LINENO" 5
19496 enable_xml_docs=YES
19498 enable_html_docs=YES
19500 enable_latex_docs=NO
19507 # Check whether --with-md-cpu was given.
19508 if test "${with_md_cpu+set}" = set; then :
19509 withval=$with_md_cpu; cf_with_md_cpu="$withval"
19512 if test "$cross_compiling" != no; then
19513 cf_with_md_cpu="$host_cpu"
19517 # The cast to long int works around a bug in the HP C Compiler
19518 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19519 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19520 # This bug is HP SR number 8606223364.
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
19522 $as_echo_n "checking size of void*... " >&6; }
19523 if test "${ac_cv_sizeof_voidp+set}" = set; then :
19524 $as_echo_n "(cached) " >&6
19526 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
19529 if test "$ac_cv_type_voidp" = yes; then
19530 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19532 as_fn_error 77 "cannot compute sizeof (void*)
19533 See \`config.log' for more details" "$LINENO" 5 ; }
19535 ac_cv_sizeof_voidp=0
19540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
19541 $as_echo "$ac_cv_sizeof_voidp" >&6; }
19545 cat >>confdefs.h <<_ACEOF
19546 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
19550 if test "$ac_cv_sizeof_voidp" = 4; then
19551 cf_with_md_cpu="i386"
19553 cf_with_md_cpu="x86_64"
19557 cf_with_md_cpu="$host_cpu"
19564 case "$cf_with_md_cpu" in
19565 x86 | i[3-7]86) MD_CPU=x86 MD_SUBCPU=x86 ;;
19566 x86_64) MD_CPU=x86 MD_SUBCPU=x86_64 ;;
19567 powerpc*) MD_CPU=powerpc ;;
19570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19571 /* end confdefs.h. */
19572 #ifndef __ARM_ARCH_5__
19584 if ac_fn_c_try_compile "$LINENO"; then :
19589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19592 /* end confdefs.h. */
19593 #ifndef __ARM_ARCH_7A__
19594 #error "Not armv7-a"
19605 if ac_fn_c_try_compile "$LINENO"; then :
19610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19613 if test $is_armv5 = yes; then MD_CPU=armv5;
19614 elif test $is_armv7_a = yes; then MD_CPU=armv7_a;
19615 else MD_CPU=generic; fi
19617 *) MD_CPU=generic ;;
19620 # Check whether --enable-altivec was given.
19621 if test "${enable_altivec+set}" = set; then :
19622 enableval=$enable_altivec; if test $MD_CPU = powerpc; then
19623 case "$enableval" in
19624 (no) MD_CPU=generic ;;
19627 echo 'void f(){}' > conftest.c
19628 for i in -mabi=altivec -maltivec
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $i" >&5
19631 $as_echo_n "checking whether $CC accepts $i... " >&6; }
19632 if test -z "`${CC} $i -c conftest.c 2>&1`"
19634 lf_CFLAGS="${lf_CFLAGS} $i"
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19636 $as_echo "yes" >&6; }
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19639 $as_echo "no" >&6; }
19642 rm -f conftest.c conftest.o
19646 echo 'void f(){}' > conftest.cc
19647 for i in -mabi=altivec -maltivec
19649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts $i" >&5
19650 $as_echo_n "checking whether $CXX accepts $i... " >&6; }
19651 if test -z "`${CXX} $i -c conftest.cc 2>&1`"
19653 lf_CXXFLAGS="${lf_CXXFLAGS} $i"
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19655 $as_echo "yes" >&6; }
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19658 $as_echo "no" >&6; }
19661 rm -f conftest.cc conftest.o
19665 (*) as_fn_error $? "Invalid argument ($enableval) to --enable-altivec" "$LINENO" 5 ;;
19669 if test $MD_CPU = powerpc; then
19671 echo 'void f(){}' > conftest.c
19672 for i in -mabi=altivec -maltivec
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $i" >&5
19675 $as_echo_n "checking whether $CC accepts $i... " >&6; }
19676 if test -z "`${CC} $i -c conftest.c 2>&1`"
19678 lf_CFLAGS="${lf_CFLAGS} $i"
19679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19680 $as_echo "yes" >&6; }
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19683 $as_echo "no" >&6; }
19686 rm -f conftest.c conftest.o
19690 echo 'void f(){}' > conftest.cc
19691 for i in -mabi=altivec -maltivec
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts $i" >&5
19694 $as_echo_n "checking whether $CXX accepts $i... " >&6; }
19695 if test -z "`${CXX} $i -c conftest.cc 2>&1`"
19697 lf_CXXFLAGS="${lf_CXXFLAGS} $i"
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19699 $as_echo "yes" >&6; }
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19702 $as_echo "no" >&6; }
19705 rm -f conftest.cc conftest.o
19713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for machine dependent speedups" >&5
19714 $as_echo_n "checking for machine dependent speedups... " >&6; }
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MD_CPU" >&5
19716 $as_echo "$MD_CPU" >&6; }
19720 if test "$MD_CPU" = "x86"; then
19722 MD_CPU_x86_FALSE='#'
19724 MD_CPU_x86_TRUE='#'
19728 if test "$MD_SUBCPU" = "x86_64"; then
19729 MD_SUBCPU_x86_64_TRUE=
19730 MD_SUBCPU_x86_64_FALSE='#'
19732 MD_SUBCPU_x86_64_TRUE='#'
19733 MD_SUBCPU_x86_64_FALSE=
19736 if test "$MD_CPU" = "powerpc"; then
19737 MD_CPU_powerpc_TRUE=
19738 MD_CPU_powerpc_FALSE='#'
19740 MD_CPU_powerpc_TRUE='#'
19741 MD_CPU_powerpc_FALSE=
19744 if test "$MD_CPU" = "armv5"; then
19746 MD_CPU_armv5_FALSE='#'
19748 MD_CPU_armv5_TRUE='#'
19749 MD_CPU_armv5_FALSE=
19752 if test "$MD_CPU" = "armv7_a"; then
19753 MD_CPU_armv7_a_TRUE=
19754 MD_CPU_armv7_a_FALSE='#'
19756 MD_CPU_armv7_a_TRUE='#'
19757 MD_CPU_armv7_a_FALSE=
19760 if test "$MD_CPU" = "generic"; then
19761 MD_CPU_generic_TRUE=
19762 MD_CPU_generic_FALSE='#'
19764 MD_CPU_generic_TRUE='#'
19765 MD_CPU_generic_FALSE=
19770 if test -n "$PKG_CONFIG" && \
19771 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit\""; } >&5
19772 ($PKG_CONFIG --exists --print-errors "cppunit") 2>&5
19774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19775 test $ac_status = 0; }; then
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CPPUNIT" >&5
19781 $as_echo_n "checking for CPPUNIT... " >&6; }
19783 if test -n "$PKG_CONFIG"; then
19784 if test -n "$CPPUNIT_CFLAGS"; then
19785 pkg_cv_CPPUNIT_CFLAGS="$CPPUNIT_CFLAGS"
19787 if test -n "$PKG_CONFIG" && \
19788 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit >= 1.9.14\""; } >&5
19789 ($PKG_CONFIG --exists --print-errors "cppunit >= 1.9.14") 2>&5
19791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19792 test $ac_status = 0; }; then
19793 pkg_cv_CPPUNIT_CFLAGS=`$PKG_CONFIG --cflags "cppunit >= 1.9.14" 2>/dev/null`
19802 if test x$cross_compiling = xyes
19804 if test -n "$PKG_CONFIG"; then
19805 if test -n "$CPPUNIT_LIBS"; then
19806 pkg_cv_CPPUNIT_LIBS="$CPPUNIT_LIBS"
19808 if test -n "$PKG_CONFIG" && \
19809 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit >= 1.9.14\""; } >&5
19810 ($PKG_CONFIG --exists --print-errors "cppunit >= 1.9.14") 2>&5
19812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19813 test $ac_status = 0; }; then
19814 pkg_cv_CPPUNIT_LIBS=`$PKG_CONFIG --libs --static "cppunit >= 1.9.14" 2>/dev/null`
19823 for flag in $pkg_cv_CPPUNIT_LIBS; do
19825 (-L/lib* | -L/usr/lib* ) ;; # ignore
19826 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
19829 pkg_cv_CPPUNIT_LIBS="$_pkg_tmp"
19831 if test -n "$PKG_CONFIG"; then
19832 if test -n "$CPPUNIT_LIBS"; then
19833 pkg_cv_CPPUNIT_LIBS="$CPPUNIT_LIBS"
19835 if test -n "$PKG_CONFIG" && \
19836 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit >= 1.9.14\""; } >&5
19837 ($PKG_CONFIG --exists --print-errors "cppunit >= 1.9.14") 2>&5
19839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19840 test $ac_status = 0; }; then
19841 pkg_cv_CPPUNIT_LIBS=`$PKG_CONFIG --libs --static "cppunit >= 1.9.14" 2>/dev/null`
19851 if test -n "$PKG_CONFIG"; then
19852 if test -n "$CPPUNIT_INCLUDEDIR"; then
19853 pkg_cv_CPPUNIT_INCLUDEDIR="$CPPUNIT_INCLUDEDIR"
19855 if test -n "$PKG_CONFIG" && \
19856 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit >= 1.9.14\""; } >&5
19857 ($PKG_CONFIG --exists --print-errors "cppunit >= 1.9.14") 2>&5
19859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19860 test $ac_status = 0; }; then
19861 pkg_cv_CPPUNIT_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "cppunit >= 1.9.14" 2>/dev/null`
19873 if test $pkg_failed = yes; then
19875 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19876 _pkg_short_errors_supported=yes
19878 _pkg_short_errors_supported=no
19880 if test $_pkg_short_errors_supported = yes; then
19881 CPPUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cppunit >= 1.9.14"`
19883 CPPUNIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cppunit >= 1.9.14"`
19885 # Put the nasty error message in config.log where it belongs
19886 echo "$CPPUNIT_PKG_ERRORS" >&5
19888 as_fn_error $? "Package requirements (cppunit >= 1.9.14) were not met:
19890 $CPPUNIT_PKG_ERRORS
19892 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19893 installed software in a non-standard prefix.
19895 Alternatively, you may set the environment variables CPPUNIT_CFLAGS
19896 and CPPUNIT_LIBS to avoid the need to call pkg-config.
19897 See the pkg-config man page for more details.
19899 elif test $pkg_failed = untried; then
19900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19902 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19903 is in your PATH or set the PKG_CONFIG environment variable to the full
19904 path to pkg-config.
19906 Alternatively, you may set the environment variables CPPUNIT_CFLAGS
19907 and CPPUNIT_LIBS to avoid the need to call pkg-config.
19908 See the pkg-config man page for more details.
19910 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19911 See \`config.log' for more details" "$LINENO" 5 ; }
19913 CPPUNIT_CFLAGS=$pkg_cv_CPPUNIT_CFLAGS
19914 CPPUNIT_LIBS=$pkg_cv_CPPUNIT_LIBS
19915 CPPUNIT_INCLUDEDIR=$pkg_cv_CPPUNIT_INCLUDEDIR
19917 CPPUNIT_CPPFLAGS=""
19918 for flag in $CPPUNIT_CFLAGS; do
19920 -I* | -D* | -U*) CPPUNIT_CPPFLAGS="$CPPUNIT_CPPFLAGS $flag" ;;
19923 pkg_cv_CPPUNIT_CPPFLAGS=$CPPUNIT_CPPFLAGS
19926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19927 $as_echo "yes" >&6; }
19934 # Check whether --with-cppunit-prefix was given.
19935 if test "${with_cppunit_prefix+set}" = set; then :
19936 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
19938 cppunit_config_prefix=""
19942 # Check whether --with-cppunit-exec-prefix was given.
19943 if test "${with_cppunit_exec_prefix+set}" = set; then :
19944 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
19946 cppunit_config_exec_prefix=""
19950 if test x$cppunit_config_exec_prefix != x ; then
19951 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
19952 if test x${CPPUNIT_CONFIG+set} != xset ; then
19953 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
19956 if test x$cppunit_config_prefix != x ; then
19957 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
19958 if test x${CPPUNIT_CONFIG+set} != xset ; then
19959 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
19963 # Extract the first word of "cppunit-config", so it can be a program name with args.
19964 set dummy cppunit-config; ac_word=$2
19965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19966 $as_echo_n "checking for $ac_word... " >&6; }
19967 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then :
19968 $as_echo_n "(cached) " >&6
19970 case $CPPUNIT_CONFIG in
19972 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
19975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19976 for as_dir in $PATH
19979 test -z "$as_dir" && as_dir=.
19980 for ac_exec_ext in '' $ac_executable_extensions; do
19981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19982 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19990 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
19994 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
19995 if test -n "$CPPUNIT_CONFIG"; then
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
19997 $as_echo "$CPPUNIT_CONFIG" >&6; }
19999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20000 $as_echo "no" >&6; }
20004 cppunit_version_min=1.9.14
20006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
20007 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
20009 if test "$CPPUNIT_CONFIG" = "no" ; then
20012 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
20013 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
20014 cppunit_version=`$CPPUNIT_CONFIG --version`
20016 cppunit_major_version=`echo $cppunit_version | \
20017 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20018 cppunit_minor_version=`echo $cppunit_version | \
20019 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20020 cppunit_micro_version=`echo $cppunit_version | \
20021 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20023 cppunit_major_min=`echo $cppunit_version_min | \
20024 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20025 cppunit_minor_min=`echo $cppunit_version_min | \
20026 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20027 cppunit_micro_min=`echo $cppunit_version_min | \
20028 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20030 cppunit_version_proper=`expr \
20031 $cppunit_major_version \> $cppunit_major_min \| \
20032 $cppunit_major_version \= $cppunit_major_min \& \
20033 $cppunit_minor_version \> $cppunit_minor_min \| \
20034 $cppunit_major_version \= $cppunit_major_min \& \
20035 $cppunit_minor_version \= $cppunit_minor_min \& \
20036 $cppunit_micro_version \>= $cppunit_micro_min `
20038 if test "$cppunit_version_proper" = "1" ; then
20039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
20040 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
20042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20043 $as_echo "no" >&6; }
20048 if test "x$no_cppunit" = x ; then
20053 as_fn_error $? "GNU Radio requires cppunit. Stop" "$LINENO" 5
20061 CPPUNIT_INCLUDES=$CPPUNIT_CFLAGS
20064 # Extract the first word of "guile", so it can be a program name with args.
20065 set dummy guile; ac_word=$2
20066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20067 $as_echo_n "checking for $ac_word... " >&6; }
20068 if test "${ac_cv_path_GUILE+set}" = set; then :
20069 $as_echo_n "(cached) " >&6
20073 ac_cv_path_GUILE="$GUILE" # Let the user override the test with a path.
20076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20077 for as_dir in $PATH
20080 test -z "$as_dir" && as_dir=.
20081 for ac_exec_ext in '' $ac_executable_extensions; do
20082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20083 ac_cv_path_GUILE="$as_dir/$ac_word$ac_exec_ext"
20084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20094 GUILE=$ac_cv_path_GUILE
20095 if test -n "$GUILE"; then
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE" >&5
20097 $as_echo "$GUILE" >&6; }
20099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20100 $as_echo "no" >&6; }
20110 # Check whether --with-boost was given.
20111 if test "${with_boost+set}" = set; then :
20112 withval=$with_boost;
20113 if test "$withval" = "no"; then
20115 elif test "$withval" = "yes"; then
20120 ac_boost_path="$withval"
20130 # Check whether --with-boost-libdir was given.
20131 if test "${with_boost_libdir+set}" = set; then :
20132 withval=$with_boost_libdir;
20133 if test -d $withval
20135 ac_boost_lib_path="$withval"
20137 as_fn_error $? "--with-boost-libdir expected directory name" "$LINENO" 5
20141 ac_boost_lib_path=""
20146 if test "x$want_boost" = "xyes"; then
20147 boost_lib_version_req=1.37
20148 boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([0-9]*\.[0-9]*\)'`
20149 boost_lib_version_req_major=`expr $boost_lib_version_req : '\([0-9]*\)'`
20150 boost_lib_version_req_minor=`expr $boost_lib_version_req : '[0-9]*\.\([0-9]*\)'`
20151 boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
20152 if test "x$boost_lib_version_req_sub_minor" = "x" ; then
20153 boost_lib_version_req_sub_minor="0"
20155 WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
20156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boost >= $boost_lib_version_req" >&5
20157 $as_echo_n "checking for boost >= $boost_lib_version_req... " >&6; }
20160 if test "$ac_boost_path" != ""; then
20161 if test -d "$ac_boost_path/lib${gr_libdir_suffix}"; then
20162 BOOST_LDFLAGS="-L$ac_boost_path/lib${gr_libdir_suffix}"
20164 BOOST_LDFLAGS="-L$ac_boost_path/lib"
20166 BOOST_CPPFLAGS="-I$ac_boost_path/include"
20168 for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
20169 if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
20170 if test -d "$ac_boost_path_tmp/lib${gr_libdir_suffix}"; then
20171 BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib${gr_libdir_suffix}"
20173 BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib"
20175 BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
20181 if test "$ac_boost_lib_path" != ""; then
20182 BOOST_LDFLAGS="-L$ac_boost_lib_path"
20185 CPPFLAGS_SAVED="$CPPFLAGS"
20186 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20189 LDFLAGS_SAVED="$LDFLAGS"
20190 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
20194 ac_cpp='$CXXCPP $CPPFLAGS'
20195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20200 /* end confdefs.h. */
20202 #include <boost/version.hpp>
20208 #if BOOST_VERSION >= $WANT_BOOST_VERSION
20209 // Everything is okay
20211 # error Boost version is too old
20218 if ac_fn_cxx_try_compile "$LINENO"; then :
20219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20220 $as_echo "yes" >&6; }
20225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20227 ac_cpp='$CPP $CPPFLAGS'
20228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20232 CPPFLAGS="$CPPFLAGS_SAVED"
20233 LDFLAGS="$LDFLAGS_SAVED"
20236 if test "$succeeded" != "yes"; then
20239 if test "$ac_boost_path" != ""; then
20240 path_list="$ac_boost_path"
20242 path_list="/usr /usr/local /opt /opt/local"
20244 for ac_boost_path in $path_list ; do
20245 if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
20246 for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
20247 _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's,/include/boost-,,; s,_,.,'`
20248 V_CHECK=`expr $_version_tmp \> $_version`
20249 if test "$V_CHECK" = "1" ; then
20250 _version=$_version_tmp
20251 best_path=$ac_boost_path
20257 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
20258 BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
20260 if test "$ac_boost_lib_path" = ""; then
20261 if test -d "$best_path/lib${gr_libdir_suffix}"; then
20262 BOOST_LDFLAGS="-L$best_path/lib${gr_libdir_suffix}"
20264 BOOST_LDFLAGS="-L$best_path/lib"
20268 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20270 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
20274 ac_cpp='$CXXCPP $CPPFLAGS'
20275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20280 /* end confdefs.h. */
20282 #include <boost/version.hpp>
20288 #if BOOST_VERSION >= $WANT_BOOST_VERSION
20289 // Everything is okay
20291 # error Boost version is too old
20298 if ac_fn_cxx_try_compile "$LINENO"; then :
20299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20300 $as_echo "yes" >&6; }
20305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20307 ac_cpp='$CPP $CPPFLAGS'
20308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20312 CPPFLAGS="$CPPFLAGS_SAVED"
20313 LDFLAGS="$LDFLAGS_SAVED"
20316 if test "$succeeded" != "yes" ; then
20317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20318 $as_echo "no" >&6; }
20319 if test "$_version" = "0" ; then
20320 as_fn_error $? "we could not detect the boost libraries (version $boost_lib_version_req_shorten or higher).
20321 If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>." "$LINENO" 5
20323 as_fn_error $? "your boost libraries seem to old (version $_version)." "$LINENO" 5
20329 $as_echo "#define HAVE_BOOST 1" >>confdefs.h
20339 # Check whether --with-boost was given.
20340 if test "${with_boost+set}" = set; then :
20341 withval=$with_boost;
20342 if test "$withval" = "no"; then
20344 elif test "$withval" = "yes"; then
20349 ac_boost_path="$withval"
20359 # Check whether --with-boost-libdir was given.
20360 if test "${with_boost_libdir+set}" = set; then :
20361 withval=$with_boost_libdir;
20362 if test -d $withval
20364 ac_boost_lib_path="$withval"
20366 as_fn_error $? "--with-boost-libdir expected directory name" "$LINENO" 5
20370 ac_boost_lib_path=""
20375 if test "x$want_boost" = "xyes"; then
20376 boost_lib_version_req=1.35
20377 boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([0-9]*\.[0-9]*\)'`
20378 boost_lib_version_req_major=`expr $boost_lib_version_req : '\([0-9]*\)'`
20379 boost_lib_version_req_minor=`expr $boost_lib_version_req : '[0-9]*\.\([0-9]*\)'`
20380 boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
20381 if test "x$boost_lib_version_req_sub_minor" = "x" ; then
20382 boost_lib_version_req_sub_minor="0"
20384 WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boost >= $boost_lib_version_req" >&5
20386 $as_echo_n "checking for boost >= $boost_lib_version_req... " >&6; }
20389 if test "$ac_boost_path" != ""; then
20390 if test -d "$ac_boost_path/lib${gr_libdir_suffix}"; then
20391 BOOST_LDFLAGS="-L$ac_boost_path/lib${gr_libdir_suffix}"
20393 BOOST_LDFLAGS="-L$ac_boost_path/lib"
20395 BOOST_CPPFLAGS="-I$ac_boost_path/include"
20397 for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
20398 if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
20399 if test -d "$ac_boost_path_tmp/lib${gr_libdir_suffix}"; then
20400 BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib${gr_libdir_suffix}"
20402 BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib"
20404 BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
20410 if test "$ac_boost_lib_path" != ""; then
20411 BOOST_LDFLAGS="-L$ac_boost_lib_path"
20414 CPPFLAGS_SAVED="$CPPFLAGS"
20415 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20418 LDFLAGS_SAVED="$LDFLAGS"
20419 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
20423 ac_cpp='$CXXCPP $CPPFLAGS'
20424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20429 /* end confdefs.h. */
20431 #include <boost/version.hpp>
20437 #if BOOST_VERSION >= $WANT_BOOST_VERSION
20438 // Everything is okay
20440 # error Boost version is too old
20447 if ac_fn_cxx_try_compile "$LINENO"; then :
20448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20449 $as_echo "yes" >&6; }
20454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20456 ac_cpp='$CPP $CPPFLAGS'
20457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20461 CPPFLAGS="$CPPFLAGS_SAVED"
20462 LDFLAGS="$LDFLAGS_SAVED"
20465 if test "$succeeded" != "yes"; then
20468 if test "$ac_boost_path" != ""; then
20469 path_list="$ac_boost_path"
20471 path_list="/usr /usr/local /opt /opt/local"
20473 for ac_boost_path in $path_list ; do
20474 if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
20475 for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
20476 _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's,/include/boost-,,; s,_,.,'`
20477 V_CHECK=`expr $_version_tmp \> $_version`
20478 if test "$V_CHECK" = "1" ; then
20479 _version=$_version_tmp
20480 best_path=$ac_boost_path
20486 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
20487 BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
20489 if test "$ac_boost_lib_path" = ""; then
20490 if test -d "$best_path/lib${gr_libdir_suffix}"; then
20491 BOOST_LDFLAGS="-L$best_path/lib${gr_libdir_suffix}"
20493 BOOST_LDFLAGS="-L$best_path/lib"
20497 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20499 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
20503 ac_cpp='$CXXCPP $CPPFLAGS'
20504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20509 /* end confdefs.h. */
20511 #include <boost/version.hpp>
20517 #if BOOST_VERSION >= $WANT_BOOST_VERSION
20518 // Everything is okay
20520 # error Boost version is too old
20527 if ac_fn_cxx_try_compile "$LINENO"; then :
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20529 $as_echo "yes" >&6; }
20534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20536 ac_cpp='$CPP $CPPFLAGS'
20537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20541 CPPFLAGS="$CPPFLAGS_SAVED"
20542 LDFLAGS="$LDFLAGS_SAVED"
20545 if test "$succeeded" != "yes" ; then
20546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20547 $as_echo "no" >&6; }
20548 if test "$_version" = "0" ; then
20549 as_fn_error $? "we could not detect the boost libraries (version $boost_lib_version_req_shorten or higher).
20550 If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>." "$LINENO" 5
20552 as_fn_error $? "your boost libraries seem to old (version $_version)." "$LINENO" 5
20558 $as_echo "#define HAVE_BOOST 1" >>confdefs.h
20570 ac_cpp='$CPP $CPPFLAGS'
20571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20577 # We used to check for pthread.h first, but this fails if pthread.h
20578 # requires special compiler flags (e.g. on True64 or Sequent).
20579 # It gets checked for in the link test anyway.
20581 # First of all, check if the user has set any of the PTHREAD_LIBS,
20582 # etcetera environment variables, and if threads linking works using
20584 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
20585 save_CFLAGS="$CFLAGS"
20586 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
20588 LIBS="$PTHREAD_LIBS $LIBS"
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
20590 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
20591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20592 /* end confdefs.h. */
20594 /* Override any GCC internal prototype to avoid an error.
20595 Use char because int might match the return type of a GCC
20596 builtin and then its argument prototype would still apply. */
20600 char pthread_join ();
20604 return pthread_join ();
20609 if ac_fn_c_try_link "$LINENO"; then :
20612 rm -f core conftest.err conftest.$ac_objext \
20613 conftest$ac_exeext conftest.$ac_ext
20614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
20615 $as_echo "$acx_pthread_ok" >&6; }
20616 if test x"$acx_pthread_ok" = xno; then
20621 CFLAGS="$save_CFLAGS"
20624 # We must check for the threads library under a number of different
20625 # names; the ordering is very important because some systems
20626 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
20627 # libraries is broken (non-POSIX).
20629 # Create a list of thread flags to try. Items starting with a "-" are
20630 # C compiler flags, and other items are library names, except for "none"
20631 # which indicates that we try without any flags at all, and "pthread-config"
20632 # which is a program returning the flags for the Pth emulation library.
20634 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
20636 # The ordering *is* (sometimes) important. Some notes on the
20637 # individual items follow:
20639 # pthreads: AIX (must check this before -lpthread)
20640 # none: in case threads are in libc; should be tried before -Kthread and
20641 # other compiler flags to prevent continual compiler warnings
20642 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
20643 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
20644 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
20645 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
20646 # -pthreads: Solaris/gcc
20647 # -mthreads: Mingw32/gcc, Lynx/gcc
20648 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
20649 # doesn't hurt to check since this sometimes defines pthreads too;
20650 # also defines -D_REENTRANT)
20651 # ... -mt is also the pthreads flag for HP/aCC
20652 # pthread: Linux, etcetera
20653 # --thread-safe: KAI C++
20654 # pthread-config: use pthread-config program (for GNU Pth library)
20656 case "${host_cpu}-${host_os}" in
20659 # On Solaris (at least, for some versions), libc contains stubbed
20660 # (non-functional) versions of the pthreads routines, so link-based
20661 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
20662 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
20663 # a function called by this macro, so we could check for that, but
20664 # who knows whether they'll stub that too in a future libc.) So,
20665 # we'll just look for -pthreads and -lpthread first:
20667 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
20671 if test x"$acx_pthread_ok" = xno; then
20672 for flag in $acx_pthread_flags; do
20676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
20677 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
20682 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
20683 PTHREAD_CFLAGS="$flag"
20687 # Extract the first word of "pthread-config", so it can be a program name with args.
20688 set dummy pthread-config; ac_word=$2
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20690 $as_echo_n "checking for $ac_word... " >&6; }
20691 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
20692 $as_echo_n "(cached) " >&6
20694 if test -n "$acx_pthread_config"; then
20695 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
20697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20698 for as_dir in $PATH
20701 test -z "$as_dir" && as_dir=.
20702 for ac_exec_ext in '' $ac_executable_extensions; do
20703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20704 ac_cv_prog_acx_pthread_config="yes"
20705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20712 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
20715 acx_pthread_config=$ac_cv_prog_acx_pthread_config
20716 if test -n "$acx_pthread_config"; then
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
20718 $as_echo "$acx_pthread_config" >&6; }
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20721 $as_echo "no" >&6; }
20725 if test x"$acx_pthread_config" = xno; then continue; fi
20726 PTHREAD_CFLAGS="`pthread-config --cflags`"
20727 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
20731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
20732 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
20733 PTHREAD_LIBS="-l$flag"
20738 save_CFLAGS="$CFLAGS"
20739 LIBS="$PTHREAD_LIBS $LIBS"
20740 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
20742 # Check for various functions. We must include pthread.h,
20743 # since some functions may be macros. (On the Sequent, we
20744 # need a special flag -Kthread to make this header compile.)
20745 # We check for pthread_join because it is in -lpthread on IRIX
20746 # while pthread_create is in libc. We check for pthread_attr_init
20747 # due to DEC craziness with -lpthreads. We check for
20748 # pthread_cleanup_push because it is one of the few pthread
20749 # functions on Solaris that doesn't have a non-functional libc stub.
20750 # We try pthread_create on general principles.
20751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20752 /* end confdefs.h. */
20753 #include <pthread.h>
20757 pthread_t th; pthread_join(th, 0);
20758 pthread_attr_init(0); pthread_cleanup_push(0, 0);
20759 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
20764 if ac_fn_c_try_link "$LINENO"; then :
20767 rm -f core conftest.err conftest.$ac_objext \
20768 conftest$ac_exeext conftest.$ac_ext
20771 CFLAGS="$save_CFLAGS"
20773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
20774 $as_echo "$acx_pthread_ok" >&6; }
20775 if test "x$acx_pthread_ok" = xyes; then
20784 # Various other checks:
20785 if test "x$acx_pthread_ok" = xyes; then
20787 LIBS="$PTHREAD_LIBS $LIBS"
20788 save_CFLAGS="$CFLAGS"
20789 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
20791 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
20793 $as_echo_n "checking for joinable pthread attribute... " >&6; }
20795 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
20796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20797 /* end confdefs.h. */
20798 #include <pthread.h>
20802 int attr=$attr; return attr;
20807 if ac_fn_c_try_link "$LINENO"; then :
20808 attr_name=$attr; break
20810 rm -f core conftest.err conftest.$ac_objext \
20811 conftest$ac_exeext conftest.$ac_ext
20813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
20814 $as_echo "$attr_name" >&6; }
20815 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
20817 cat >>confdefs.h <<_ACEOF
20818 #define PTHREAD_CREATE_JOINABLE $attr_name
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
20824 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
20826 case "${host_cpu}-${host_os}" in
20827 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
20828 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
20831 $as_echo "${flag}" >&6; }
20832 if test "x$flag" != xno; then
20833 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
20837 CFLAGS="$save_CFLAGS"
20839 # More AIX lossage: must compile with xlc_r or cc_r
20840 if test x"$GCC" != xyes; then
20841 for ac_prog in xlc_r cc_r
20843 # Extract the first word of "$ac_prog", so it can be a program name with args.
20844 set dummy $ac_prog; ac_word=$2
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20846 $as_echo_n "checking for $ac_word... " >&6; }
20847 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
20848 $as_echo_n "(cached) " >&6
20850 if test -n "$PTHREAD_CC"; then
20851 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
20853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20854 for as_dir in $PATH
20857 test -z "$as_dir" && as_dir=.
20858 for ac_exec_ext in '' $ac_executable_extensions; do
20859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20860 ac_cv_prog_PTHREAD_CC="$ac_prog"
20861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20870 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
20871 if test -n "$PTHREAD_CC"; then
20872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
20873 $as_echo "$PTHREAD_CC" >&6; }
20875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20876 $as_echo "no" >&6; }
20880 test -n "$PTHREAD_CC" && break
20882 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
20895 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
20896 if test x"$acx_pthread_ok" = xyes; then
20898 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
20906 ac_cpp='$CPP $CPPFLAGS'
20907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20918 # Check whether --with-boost-thread was given.
20919 if test "${with_boost_thread+set}" = set; then :
20920 withval=$with_boost_thread;
20921 if test "$withval" = "no"; then
20923 elif test "$withval" = "yes"; then
20925 ax_boost_user_lib=""
20928 ax_boost_user_lib="$withval"
20938 if test "$want_boost" = "yes"; then
20943 CPPFLAGS_SAVED="$CPPFLAGS"
20944 LDFLAGS_SAVED="$LDFLAGS"
20945 CXXFLAGS_SAVED="$CXXFLAGS"
20947 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
20948 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS $PTHREAD_LIBS"
20949 CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the boost::thread includes are available" >&5
20952 $as_echo_n "checking whether the boost::thread includes are available... " >&6; }
20953 if test "${ax_cv_boost_thread+set}" = set; then :
20954 $as_echo_n "(cached) " >&6
20957 ac_cpp='$CXXCPP $CPPFLAGS'
20958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20963 /* end confdefs.h. */
20964 #include <boost/thread/thread.hpp>
20968 boost::thread_group thrds;
20974 if ac_fn_cxx_try_compile "$LINENO"; then :
20975 ax_cv_boost_thread=yes
20977 ax_cv_boost_thread=no
20979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20981 ac_cpp='$CPP $CPPFLAGS'
20982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_thread" >&5
20989 $as_echo "$ax_cv_boost_thread" >&6; }
20991 if test "$ax_cv_boost_thread" = "yes"; then
20992 BOOST_CXXFLAGS="$PTHREAD_CFLAGS"
20997 ac_cpp='$CXXCPP $CPPFLAGS'
20998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21003 $as_echo "#define HAVE_BOOST_THREAD 1" >>confdefs.h
21005 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
21008 if test "$ax_boost_user_lib" != ""; then
21009 for ax_lib in $ax_boost_user_lib boost_thread-${ax_boost_user_lib}; do
21010 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
21011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
21012 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
21013 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
21014 $as_echo_n "(cached) " >&6
21016 ac_check_lib_save_LIBS=$LIBS
21017 LIBS="-l$ax_lib $LIBS"
21018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21019 /* end confdefs.h. */
21021 /* Override any GCC internal prototype to avoid an error.
21022 Use char because int might match the return type of a GCC
21023 builtin and then its argument prototype would still apply. */
21036 if ac_fn_cxx_try_link "$LINENO"; then :
21037 eval "$as_ac_Lib=yes"
21039 eval "$as_ac_Lib=no"
21041 rm -f core conftest.err conftest.$ac_objext \
21042 conftest$ac_exeext conftest.$ac_ext
21043 LIBS=$ac_check_lib_save_LIBS
21045 eval ac_res=\$$as_ac_Lib
21046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21047 $as_echo "$ac_res" >&6; }
21048 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
21049 BOOST_THREAD_LIB="-l$ax_lib"; link_ok="yes"; break
21054 head=$BOOSTLIBDIR/libboost_thread
21055 for f in ${head}*.so* ${head}*.a* ${head}*.dll* ${head}*.dylib; do
21059 f=`echo $f | sed -e 's,.*/,,' -e 's,^lib,,'`
21060 f=`echo $f | sed -e 's,\(boost_thread.*\)\.so.*$,\1,' -e 's,\(boost_thread.*\)\.a.*$,\1,' -e 's,\(boost_thread.*\)\.dll.*$,\1,' -e 's,\(boost_thread.*\)\.dylib.*$,\1,'`
21063 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
21065 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
21066 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
21067 $as_echo_n "(cached) " >&6
21069 ac_check_lib_save_LIBS=$LIBS
21070 LIBS="-l$ax_lib $LIBS"
21071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21072 /* end confdefs.h. */
21074 /* Override any GCC internal prototype to avoid an error.
21075 Use char because int might match the return type of a GCC
21076 builtin and then its argument prototype would still apply. */
21089 if ac_fn_cxx_try_link "$LINENO"; then :
21090 eval "$as_ac_Lib=yes"
21092 eval "$as_ac_Lib=no"
21094 rm -f core conftest.err conftest.$ac_objext \
21095 conftest$ac_exeext conftest.$ac_ext
21096 LIBS=$ac_check_lib_save_LIBS
21098 eval ac_res=\$$as_ac_Lib
21099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21100 $as_echo "$ac_res" >&6; }
21101 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
21102 BOOST_THREAD_LIB="-l$ax_lib"; link_ok="yes"; break
21108 if test "$link_ok" != "yes"; then
21109 as_fn_error $? "Could not link against libboost_thread!" "$LINENO" 5
21112 ac_cpp='$CPP $CPPFLAGS'
21113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21119 if test "$link_ok" = "yes" && test -n "$PTHREAD_LIBS"; then
21120 BOOST_THREAD_LIB="$BOOST_THREAD_LIB $PTHREAD_LIBS"
21124 CPPFLAGS="$CPPFLAGS_SAVED"
21125 LDFLAGS="$LDFLAGS_SAVED"
21126 CXXFLAGS="$CXXFLAGS_SAVED"
21129 CXXFLAGS="$CXXFLAGS $BOOST_CXXFLAGS" CFLAGS="$CFLAGS $BOOST_CXXFLAGS"
21137 # Check whether --with-boost-date-time was given.
21138 if test "${with_boost_date_time+set}" = set; then :
21139 withval=$with_boost_date_time;
21140 if test "$withval" = "no"; then
21142 elif test "$withval" = "yes"; then
21144 ax_boost_user_lib=""
21147 ax_boost_user_lib="$withval"
21156 if test "$want_boost" = "yes"; then
21159 CPPFLAGS_SAVED="$CPPFLAGS"
21160 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
21161 LDFLAGS_SAVED="$LDFLAGS"
21162 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
21163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the boost::date_time includes are available" >&5
21164 $as_echo_n "checking whether the boost::date_time includes are available... " >&6; }
21165 if test "${ax_cv_boost_date_time+set}" = set; then :
21166 $as_echo_n "(cached) " >&6
21169 ac_cpp='$CXXCPP $CPPFLAGS'
21170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21175 /* end confdefs.h. */
21176 #include <boost/date_time/gregorian/gregorian_types.hpp>
21180 using namespace boost::gregorian; date d(2002,Jan,10); return 0;
21185 if ac_fn_cxx_try_compile "$LINENO"; then :
21186 ax_cv_boost_date_time=yes
21188 ax_cv_boost_date_time=no
21190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21192 ac_cpp='$CPP $CPPFLAGS'
21193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_date_time" >&5
21200 $as_echo "$ax_cv_boost_date_time" >&6; }
21201 if test "$ax_cv_boost_date_time" = "yes"; then
21205 ac_cpp='$CXXCPP $CPPFLAGS'
21206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21211 $as_echo "#define HAVE_BOOST_DATE_TIME 1" >>confdefs.h
21213 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
21216 if test "$ax_boost_user_lib" != ""; then
21217 for ax_lib in $ax_boost_user_lib boost_date_time-${ax_boost_user_lib}; do
21218 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
21220 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
21221 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
21222 $as_echo_n "(cached) " >&6
21224 ac_check_lib_save_LIBS=$LIBS
21225 LIBS="-l$ax_lib $LIBS"
21226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21227 /* end confdefs.h. */
21229 /* Override any GCC internal prototype to avoid an error.
21230 Use char because int might match the return type of a GCC
21231 builtin and then its argument prototype would still apply. */
21244 if ac_fn_cxx_try_link "$LINENO"; then :
21245 eval "$as_ac_Lib=yes"
21247 eval "$as_ac_Lib=no"
21249 rm -f core conftest.err conftest.$ac_objext \
21250 conftest$ac_exeext conftest.$ac_ext
21251 LIBS=$ac_check_lib_save_LIBS
21253 eval ac_res=\$$as_ac_Lib
21254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21255 $as_echo "$ac_res" >&6; }
21256 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
21257 BOOST_DATE_TIME_LIB="-l$ax_lib"; link_ok="yes"; break
21262 head=$BOOSTLIBDIR/libboost_date_time
21263 for f in ${head}*.so* ${head}*.a* ${head}*.dll* ${head}*.dylib; do
21267 f=`echo $f | sed -e 's,.*/,,' -e 's,^lib,,'`
21268 f=`echo $f | sed -e 's,\(boost_date_time.*\)\.so.*$,\1,' -e 's,\(boost_date_time.*\)\.a.*$,\1,' -e 's,\(boost_date_time.*\)\.dll.*$,\1,' -e 's,\(boost_date_time.*\)\.dylib.*$,\1,'`
21271 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
21272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
21273 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
21274 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
21275 $as_echo_n "(cached) " >&6
21277 ac_check_lib_save_LIBS=$LIBS
21278 LIBS="-l$ax_lib $LIBS"
21279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21280 /* end confdefs.h. */
21282 /* Override any GCC internal prototype to avoid an error.
21283 Use char because int might match the return type of a GCC
21284 builtin and then its argument prototype would still apply. */
21297 if ac_fn_cxx_try_link "$LINENO"; then :
21298 eval "$as_ac_Lib=yes"
21300 eval "$as_ac_Lib=no"
21302 rm -f core conftest.err conftest.$ac_objext \
21303 conftest$ac_exeext conftest.$ac_ext
21304 LIBS=$ac_check_lib_save_LIBS
21306 eval ac_res=\$$as_ac_Lib
21307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21308 $as_echo "$ac_res" >&6; }
21309 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
21310 BOOST_DATE_TIME_LIB="-l$ax_lib"; link_ok="yes"; break
21316 if test "$link_ok" != "yes"; then
21317 as_fn_error $? "Could not link against libboost_date_time!" "$LINENO" 5
21320 ac_cpp='$CPP $CPPFLAGS'
21321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21328 CPPFLAGS="$CPPFLAGS_SAVED"
21329 LDFLAGS="$LDFLAGS_SAVED"
21341 # Check whether --with-boost-program-options was given.
21342 if test "${with_boost_program_options+set}" = set; then :
21343 withval=$with_boost_program_options;
21344 if test "$withval" = "no"; then
21346 elif test "$withval" = "yes"; then
21348 ax_boost_user_lib=""
21351 ax_boost_user_lib="$withval"
21360 if test "$want_boost" = "yes"; then
21363 CPPFLAGS_SAVED="$CPPFLAGS"
21364 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
21365 LDFLAGS_SAVED="$LDFLAGS"
21366 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the boost::program_options includes are available" >&5
21368 $as_echo_n "checking whether the boost::program_options includes are available... " >&6; }
21369 if test "${ax_cv_boost_program_options+set}" = set; then :
21370 $as_echo_n "(cached) " >&6
21373 ac_cpp='$CXXCPP $CPPFLAGS'
21374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21379 /* end confdefs.h. */
21380 #include <boost/program_options.hpp>
21384 boost::program_options::options_description generic("Generic options");
21390 if ac_fn_cxx_try_compile "$LINENO"; then :
21391 ax_cv_boost_program_options=yes
21393 ax_cv_boost_program_options=no
21395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21397 ac_cpp='$CPP $CPPFLAGS'
21398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_program_options" >&5
21405 $as_echo "$ax_cv_boost_program_options" >&6; }
21406 if test "$ax_cv_boost_program_options" = "yes"; then
21410 ac_cpp='$CXXCPP $CPPFLAGS'
21411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21416 $as_echo "#define HAVE_BOOST_PROGRAM_OPTIONS 1" >>confdefs.h
21418 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
21421 if test "$ax_boost_user_lib" != ""; then
21422 for ax_lib in $ax_boost_user_lib boost_program_options-${ax_boost_user_lib}; do
21423 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
21424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
21425 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
21426 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
21427 $as_echo_n "(cached) " >&6
21429 ac_check_lib_save_LIBS=$LIBS
21430 LIBS="-l$ax_lib $LIBS"
21431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21432 /* end confdefs.h. */
21434 /* Override any GCC internal prototype to avoid an error.
21435 Use char because int might match the return type of a GCC
21436 builtin and then its argument prototype would still apply. */
21449 if ac_fn_cxx_try_link "$LINENO"; then :
21450 eval "$as_ac_Lib=yes"
21452 eval "$as_ac_Lib=no"
21454 rm -f core conftest.err conftest.$ac_objext \
21455 conftest$ac_exeext conftest.$ac_ext
21456 LIBS=$ac_check_lib_save_LIBS
21458 eval ac_res=\$$as_ac_Lib
21459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21460 $as_echo "$ac_res" >&6; }
21461 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
21462 BOOST_PROGRAM_OPTIONS_LIB="-l$ax_lib"; link_ok="yes"; break
21467 head=$BOOSTLIBDIR/libboost_program_options
21468 for f in ${head}*.so* ${head}*.a* ${head}*.dll* ${head}*.dylib; do
21472 f=`echo $f | sed -e 's,.*/,,' -e 's,^lib,,'`
21473 f=`echo $f | sed -e 's,\(boost_program_options.*\)\.so.*$,\1,' -e 's,\(boost_program_options.*\)\.a.*$,\1,' -e 's,\(boost_program_options.*\)\.dll.*$,\1,' -e 's,\(boost_program_options.*\)\.dylib.*$,\1,'`
21476 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
21478 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
21479 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
21480 $as_echo_n "(cached) " >&6
21482 ac_check_lib_save_LIBS=$LIBS
21483 LIBS="-l$ax_lib $LIBS"
21484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21485 /* end confdefs.h. */
21487 /* Override any GCC internal prototype to avoid an error.
21488 Use char because int might match the return type of a GCC
21489 builtin and then its argument prototype would still apply. */
21502 if ac_fn_cxx_try_link "$LINENO"; then :
21503 eval "$as_ac_Lib=yes"
21505 eval "$as_ac_Lib=no"
21507 rm -f core conftest.err conftest.$ac_objext \
21508 conftest$ac_exeext conftest.$ac_ext
21509 LIBS=$ac_check_lib_save_LIBS
21511 eval ac_res=\$$as_ac_Lib
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21513 $as_echo "$ac_res" >&6; }
21514 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
21515 BOOST_PROGRAM_OPTIONS_LIB="-l$ax_lib"; link_ok="yes"; break
21521 if test "$link_ok" != "yes"; then
21522 as_fn_error $? "Could not link against libboost_program_options!" "$LINENO" 5
21525 ac_cpp='$CPP $CPPFLAGS'
21526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21533 CPPFLAGS="$CPPFLAGS_SAVED"
21534 LDFLAGS="$LDFLAGS_SAVED"
21540 BUILD_DATE=`date -u +"%a, %d %b %Y %R:%S"`
21543 if test "${sysconfdir}" == "\${prefix}/etc" ; then
21544 if test "${prefix}" == "NONE" ; then
21545 SYSCONFDIR="$ac_default_prefix/etc"
21547 SYSCONFDIR="${prefix}/etc"
21550 SYSCONFDIR=${sysconfdir}
21554 GR_PREFSDIR=$SYSCONFDIR/${PACKAGE}/conf.d
21558 # Check whether --enable-all-components was given.
21559 if test "${enable_all_components+set}" = set; then :
21560 enableval=$enable_all_components;
21564 build_dirs="config"
21569 # Check whether --enable-gruel was given.
21570 if test "${enable_gruel+set}" = set; then :
21571 enableval=$enable_gruel;
21574 enable_gruel=$enable_all_components
21575 if test x$enable_all_components = xno; then
21584 if test x = x; then
21585 pc_comp_name="gruel"
21591 # Check whether --with-gruel was given.
21592 if test "${with_gruel+set}" = set; then :
21593 withval=$with_gruel; if test "x$withval" != "xyes"; then
21594 with_gruel_val=$withval
21599 if test x$with_gruel = xyes; then
21600 if test x$enable_gruel = xyes; then
21601 as_fn_error $? "Component gruel: Cannot use both --enable and --with" "$LINENO" 5
21604 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
21606 l_PKG_CONFIG_PATH=$with_gruel_val
21607 if test "x$l_PKG_CONFIG_PATH" != "x"; then
21608 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
21610 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
21611 as_fn_error $? "Component gruel: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." "$LINENO" 5
21615 if test -n "$PKG_CONFIG" && \
21616 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
21617 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
21619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21620 test $ac_status = 0; }; then
21621 passed=with; check1=yes
21625 if test "x$l_PKG_CONFIG_PATH" != "x"; then
21626 if test "x$s_PKG_CONFIG_PATH" != "x"; then
21627 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
21628 if test -n "$PKG_CONFIG" && \
21629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
21630 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
21632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21633 test $ac_status = 0; }; then
21640 if test $passed != with; then
21641 as_fn_error $? "Component gruel: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." "$LINENO" 5
21643 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
21647 gruel_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
21648 gruel_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
21649 gruel_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
21651 if test x$check1 = xyes; then
21652 if test "x$s_PKG_CONFIG_PATH" != "x"; then
21653 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
21663 if test $passed = yes; then
21665 if test x"$GUILE" = x; then
21666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gruel requires guile, which was not found." >&5
21667 $as_echo "Component gruel requires guile, which was not found." >&6; }
21672 if test $passed != with; then
21674 -I\${abs_top_srcdir}/gruel/src/include \
21675 -I\${abs_top_builddir}/gruel/src/include"
21676 gruel_LA="\${abs_top_builddir}/gruel/src/lib/libgruel.la"
21677 gruel_LIBDIRPATH="\${abs_top_builddir}/gruel/src/lib:\${abs_top_builddir}/gruel/src/lib/.libs"
21680 ac_config_files="$ac_config_files gruel/Makefile gruel/gruel.pc gruel/src/Makefile gruel/src/include/Makefile gruel/src/include/gruel/Makefile gruel/src/include/gruel/inet.h gruel/src/lib/Makefile gruel/src/lib/pmt/Makefile gruel/src/lib/msg/Makefile gruel/src/scheme/Makefile gruel/src/scheme/gnuradio/Makefile"
21683 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
21684 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then :
21685 GR_HAVE_ARPA_INET=1
21687 GR_HAVE_ARPA_INET=0
21691 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
21692 if test "x$ac_cv_header_netinet_in_h" = x""yes; then :
21693 GR_HAVE_NETINET_IN=1
21695 GR_HAVE_NETINET_IN=0
21699 ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
21700 if test "x$ac_cv_header_byteswap_h" = x""yes; then :
21714 if test $passed = no; then
21715 if test x$enable_gruel = xyes; then
21716 as_fn_error $? "Component gruel has errors; stopping." "$LINENO" 5
21718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gruel." >&5
21719 $as_echo "Not building component gruel." >&6; }
21722 if test $passed = with; then
21723 with_dirs="$with_dirs gruel"
21725 if test "x${gruel_INCLUDES}" != "x"; then
21726 if test "x$with_INCLUDES" = "x"; then
21727 with_INCLUDES="${gruel_INCLUDES}"
21729 with_INCLUDES="${gruel_INCLUDES}"" ""$with_INCLUDES"
21735 if test "x${gruel_SWIG_INCLUDES}" != "x"; then
21736 if test "x$with_SWIG_INCLUDES" = "x"; then
21737 with_SWIG_INCLUDES="${gruel_SWIG_INCLUDES}"
21739 with_SWIG_INCLUDES="${gruel_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
21741 gruel_SWIG_INCLUDES=
21745 if test "x${gruel_PYDIRPATH}" != "x"; then
21746 if test "x$with_PYDIRPATH" = "x"; then
21747 with_PYDIRPATH="${gruel_PYDIRPATH}"
21749 with_PYDIRPATH="${gruel_PYDIRPATH}"":""$with_PYDIRPATH"
21755 if test "x${gruel_SWIGDIRPATH}" != "x"; then
21756 if test "x$with_SWIGDIRPATH" = "x"; then
21757 with_SWIGDIRPATH="${gruel_SWIGDIRPATH}"
21759 with_SWIGDIRPATH="${gruel_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
21765 if test "x${gruel_LIBDIRPATH}" != "x"; then
21766 if test "x$with_LIBDIRPATH" = "x"; then
21767 with_LIBDIRPATH="${gruel_LIBDIRPATH}"
21769 with_LIBDIRPATH="${gruel_LIBDIRPATH}"":""$with_LIBDIRPATH"
21774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gruel will be included from a pre-installed library and includes." >&5
21775 $as_echo "Component gruel will be included from a pre-installed library and includes." >&6; }
21779 if test x$enable_gruel != xno; then
21781 build_dirs="$build_dirs gruel"
21782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gruel passed configuration checks; building." >&5
21783 $as_echo "Component gruel passed configuration checks; building." >&6; }
21786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gruel passed configuration checks; but not building." >&5
21787 $as_echo "Component gruel passed configuration checks; but not building." >&6; }
21791 if test $passed = no; then
21792 skipped_dirs="$skipped_dirs gruel"
21808 # Check whether --enable-gcell was given.
21809 if test "${enable_gcell+set}" = set; then :
21810 enableval=$enable_gcell;
21813 enable_gcell=$enable_all_components
21814 if test x$enable_all_components = xno; then
21823 if test $passed = yes; then
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether host_cpu is powerpc*" >&5
21825 $as_echo_n "checking whether host_cpu is powerpc*... " >&6; }
21826 case "$host_cpu" in
21828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21829 $as_echo "yes" >&6; }
21833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21834 $as_echo "no" >&6; }
21838 # Extract the first word of "spu-gcc", so it can be a program name with args.
21839 set dummy spu-gcc; ac_word=$2
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21841 $as_echo_n "checking for $ac_word... " >&6; }
21842 if test "${ac_cv_prog_SPU_GCC_PROG+set}" = set; then :
21843 $as_echo_n "(cached) " >&6
21845 if test -n "$SPU_GCC_PROG"; then
21846 ac_cv_prog_SPU_GCC_PROG="$SPU_GCC_PROG" # Let the user override the test.
21848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21849 for as_dir in $PATH
21852 test -z "$as_dir" && as_dir=.
21853 for ac_exec_ext in '' $ac_executable_extensions; do
21854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21855 ac_cv_prog_SPU_GCC_PROG="yes"
21856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21863 test -z "$ac_cv_prog_SPU_GCC_PROG" && ac_cv_prog_SPU_GCC_PROG="no"
21866 SPU_GCC_PROG=$ac_cv_prog_SPU_GCC_PROG
21867 if test -n "$SPU_GCC_PROG"; then
21868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPU_GCC_PROG" >&5
21869 $as_echo "$SPU_GCC_PROG" >&6; }
21871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21872 $as_echo "no" >&6; }
21876 if test $SPU_GCC_PROG = no; then
21881 if test $passed != with; then
21882 gcell_INCLUDES="-I\${abs_top_srcdir}/gcell/include"
21883 gcell_LA="\${abs_top_builddir}/gcell/lib/libgcell.la"
21884 gcell_spu_INCLUDES="-I\${abs_top_srcdir}/gcell/include"
21885 gcell_spu_LA="\${abs_top_builddir}/gcell/lib/spu/libgcell_spu.a"
21891 ac_config_files="$ac_config_files gcell/Makefile gcell/gcell.pc gcell/gcell_spu.pc gcell/include/Makefile gcell/include/gcell/Makefile gcell/include/gcell/spu/Makefile gcell/lib/Makefile gcell/lib/spu/Makefile gcell/lib/general/Makefile gcell/lib/wrapper/Makefile gcell/lib/runtime/Makefile gcell/apps/Makefile gcell/apps/spu/Makefile gcell/ibm/Makefile"
21897 if test $passed = no; then
21898 if test x$enable_gcell = xyes; then
21899 as_fn_error $? "Component gcell has errors; stopping." "$LINENO" 5
21901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gcell." >&5
21902 $as_echo "Not building component gcell." >&6; }
21905 if test $passed = with; then
21906 with_dirs="$with_dirs gcell"
21908 if test "x${gcell_INCLUDES}" != "x"; then
21909 if test "x$with_INCLUDES" = "x"; then
21910 with_INCLUDES="${gcell_INCLUDES}"
21912 with_INCLUDES="${gcell_INCLUDES}"" ""$with_INCLUDES"
21918 if test "x${gcell_SWIG_INCLUDES}" != "x"; then
21919 if test "x$with_SWIG_INCLUDES" = "x"; then
21920 with_SWIG_INCLUDES="${gcell_SWIG_INCLUDES}"
21922 with_SWIG_INCLUDES="${gcell_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
21924 gcell_SWIG_INCLUDES=
21928 if test "x${gcell_PYDIRPATH}" != "x"; then
21929 if test "x$with_PYDIRPATH" = "x"; then
21930 with_PYDIRPATH="${gcell_PYDIRPATH}"
21932 with_PYDIRPATH="${gcell_PYDIRPATH}"":""$with_PYDIRPATH"
21938 if test "x${gcell_SWIGDIRPATH}" != "x"; then
21939 if test "x$with_SWIGDIRPATH" = "x"; then
21940 with_SWIGDIRPATH="${gcell_SWIGDIRPATH}"
21942 with_SWIGDIRPATH="${gcell_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
21948 if test "x${gcell_LIBDIRPATH}" != "x"; then
21949 if test "x$with_LIBDIRPATH" = "x"; then
21950 with_LIBDIRPATH="${gcell_LIBDIRPATH}"
21952 with_LIBDIRPATH="${gcell_LIBDIRPATH}"":""$with_LIBDIRPATH"
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gcell will be included from a pre-installed library and includes." >&5
21958 $as_echo "Component gcell will be included from a pre-installed library and includes." >&6; }
21962 if test x$enable_gcell != xno; then
21964 build_dirs="$build_dirs gcell"
21965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gcell passed configuration checks; building." >&5
21966 $as_echo "Component gcell passed configuration checks; building." >&6; }
21969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gcell passed configuration checks; but not building." >&5
21970 $as_echo "Component gcell passed configuration checks; but not building." >&6; }
21974 if test $passed = no; then
21975 skipped_dirs="$skipped_dirs gcell"
21992 # Check whether --enable-gnuradio-core was given.
21993 if test "${enable_gnuradio_core+set}" = set; then :
21994 enableval=$enable_gnuradio_core;
21997 enable_gnuradio_core=$enable_all_components
21998 if test x$enable_all_components = xno; then
22008 if test x = x; then
22009 pc_comp_name="gnuradio-core"
22015 # Check whether --with-gnuradio-core was given.
22016 if test "${with_gnuradio_core+set}" = set; then :
22017 withval=$with_gnuradio_core; if test "x$withval" != "xyes"; then
22018 with_gnuradio_core_val=$withval
22019 with_gnuradio_core=yes
22023 if test x$with_gnuradio_core = xyes; then
22024 if test x$enable_gnuradio_core = xyes; then
22025 as_fn_error $? "Component gnuradio-core: Cannot use both --enable and --with" "$LINENO" 5
22028 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
22030 l_PKG_CONFIG_PATH=$with_gnuradio_core_val
22031 if test "x$l_PKG_CONFIG_PATH" != "x"; then
22032 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
22034 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
22035 as_fn_error $? "Component gnuradio-core: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." "$LINENO" 5
22039 if test -n "$PKG_CONFIG" && \
22040 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
22041 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
22043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22044 test $ac_status = 0; }; then
22045 passed=with; check1=yes
22049 if test "x$l_PKG_CONFIG_PATH" != "x"; then
22050 if test "x$s_PKG_CONFIG_PATH" != "x"; then
22051 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
22052 if test -n "$PKG_CONFIG" && \
22053 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
22054 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
22056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22057 test $ac_status = 0; }; then
22064 if test $passed != with; then
22065 as_fn_error $? "Component gnuradio-core: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." "$LINENO" 5
22067 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
22071 gnuradio_core_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
22072 gnuradio_core_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
22073 gnuradio_core_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
22075 if test x$check1 = xyes; then
22076 if test "x$s_PKG_CONFIG_PATH" != "x"; then
22077 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
22082 gnuradio_core_SWIGDIRPATH="$gnuradio_core_INCLUDEDIR/swig"
22083 gnuradio_core_I="$gnuradio_core_SWIGDIRPATH/gnuradio.i"
22084 gnuradio_core_SWIG_INCLUDES="-I$gnuradio_core_SWIGDIRPATH"
22085 gnuradio_core_PYDIRPATH=$pythondir
22093 if test $passed != no; then
22094 if test $passed = yes; then
22095 if test x$gruel_skipped = xyes; then
22096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gnuradio-core requires gruel, which is not being built or specified via pre-installed files." >&5
22097 $as_echo "Component gnuradio-core requires gruel, which is not being built or specified via pre-installed files." >&6; }
22101 if test x$gruel_with = xno; then
22102 as_fn_error $? "Component gnuradio-core requires gruel to be included as --with-gruel[=arg]" "$LINENO" 5
22108 if test $passed = yes; then
22115 # Check whether --with-cblas was given.
22116 if test "${with_cblas+set}" = set; then :
22117 withval=$with_cblas;
22120 case $with_cblas in
22122 no) acx_cblas_ok=disable ;;
22123 -* | */* | *.a | *.so | *.so.* | *.o) CBLAS_LIBS="$with_cblas" ;;
22124 *) CBLAS_LIBS="-l$with_cblas" ;;
22128 acx_cblas_save_LIBS="$LIBS"
22129 LIBS="$LIBS $FLIBS"
22131 # First, check CBLAS_LIBS environment variable
22132 if test $acx_cblas_ok = no; then
22133 if test "x$CBLAS_LIBS" != x; then
22134 save_LIBS="$LIBS"; LIBS="$CBLAS_LIBS $LIBS"
22135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in $CBLAS_LIBS" >&5
22136 $as_echo_n "checking for cblas_sgemm in $CBLAS_LIBS... " >&6; }
22137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22138 /* end confdefs.h. */
22140 /* Override any GCC internal prototype to avoid an error.
22141 Use char because int might match the return type of a GCC
22142 builtin and then its argument prototype would still apply. */
22146 char cblas_sgemm ();
22150 return cblas_sgemm ();
22155 if ac_fn_c_try_link "$LINENO"; then :
22160 rm -f core conftest.err conftest.$ac_objext \
22161 conftest$ac_exeext conftest.$ac_ext
22162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cblas_ok" >&5
22163 $as_echo "$acx_cblas_ok" >&6; }
22168 # CBLAS linked to by default? (happens on some supercomputers)
22169 if test $acx_cblas_ok = no; then
22170 save_LIBS="$LIBS"; LIBS="$LIBS"
22171 ac_fn_c_check_func "$LINENO" "cblas_sgemm" "ac_cv_func_cblas_sgemm"
22172 if test "x$ac_cv_func_cblas_sgemm" = x""yes; then :
22179 # CBLAS in ATLAS library? (http://math-atlas.sourceforge.net/)
22180 if test $acx_cblas_ok = no; then
22181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATL_xerbla in -latlas" >&5
22182 $as_echo_n "checking for ATL_xerbla in -latlas... " >&6; }
22183 if test "${ac_cv_lib_atlas_ATL_xerbla+set}" = set; then :
22184 $as_echo_n "(cached) " >&6
22186 ac_check_lib_save_LIBS=$LIBS
22187 LIBS="-latlas -latlas $LIBS"
22188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22189 /* end confdefs.h. */
22191 /* Override any GCC internal prototype to avoid an error.
22192 Use char because int might match the return type of a GCC
22193 builtin and then its argument prototype would still apply. */
22197 char ATL_xerbla ();
22201 return ATL_xerbla ();
22206 if ac_fn_c_try_link "$LINENO"; then :
22207 ac_cv_lib_atlas_ATL_xerbla=yes
22209 ac_cv_lib_atlas_ATL_xerbla=no
22211 rm -f core conftest.err conftest.$ac_objext \
22212 conftest$ac_exeext conftest.$ac_ext
22213 LIBS=$ac_check_lib_save_LIBS
22215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atlas_ATL_xerbla" >&5
22216 $as_echo "$ac_cv_lib_atlas_ATL_xerbla" >&6; }
22217 if test "x$ac_cv_lib_atlas_ATL_xerbla" = x""yes; then :
22218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_dgemm in -lcblas" >&5
22219 $as_echo_n "checking for cblas_dgemm in -lcblas... " >&6; }
22220 if test "${ac_cv_lib_cblas_cblas_dgemm+set}" = set; then :
22221 $as_echo_n "(cached) " >&6
22223 ac_check_lib_save_LIBS=$LIBS
22224 LIBS="-lcblas -latlas $LIBS"
22225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22226 /* end confdefs.h. */
22228 /* Override any GCC internal prototype to avoid an error.
22229 Use char because int might match the return type of a GCC
22230 builtin and then its argument prototype would still apply. */
22234 char cblas_dgemm ();
22238 return cblas_dgemm ();
22243 if ac_fn_c_try_link "$LINENO"; then :
22244 ac_cv_lib_cblas_cblas_dgemm=yes
22246 ac_cv_lib_cblas_cblas_dgemm=no
22248 rm -f core conftest.err conftest.$ac_objext \
22249 conftest$ac_exeext conftest.$ac_ext
22250 LIBS=$ac_check_lib_save_LIBS
22252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cblas_cblas_dgemm" >&5
22253 $as_echo "$ac_cv_lib_cblas_cblas_dgemm" >&6; }
22254 if test "x$ac_cv_lib_cblas_cblas_dgemm" = x""yes; then :
22256 CBLAS_LIBS="-lcblas -latlas"
22263 # CBLAS in ATLAS library in /usr/lib64/atlas (if not cross-compiling)
22264 if test $acx_cblas_ok = no && test "$cross_compiling" = no; then
22265 unset ac_cv_lib_atlas_ATL_xerbla
22266 unset ac_cv_lib_cblas_cblas_dgemm
22267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATL_xerbla in -latlas" >&5
22268 $as_echo_n "checking for ATL_xerbla in -latlas... " >&6; }
22269 if test "${ac_cv_lib_atlas_ATL_xerbla+set}" = set; then :
22270 $as_echo_n "(cached) " >&6
22272 ac_check_lib_save_LIBS=$LIBS
22273 LIBS="-latlas -L/usr/lib64/atlas -latlas $LIBS"
22274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22275 /* end confdefs.h. */
22277 /* Override any GCC internal prototype to avoid an error.
22278 Use char because int might match the return type of a GCC
22279 builtin and then its argument prototype would still apply. */
22283 char ATL_xerbla ();
22287 return ATL_xerbla ();
22292 if ac_fn_c_try_link "$LINENO"; then :
22293 ac_cv_lib_atlas_ATL_xerbla=yes
22295 ac_cv_lib_atlas_ATL_xerbla=no
22297 rm -f core conftest.err conftest.$ac_objext \
22298 conftest$ac_exeext conftest.$ac_ext
22299 LIBS=$ac_check_lib_save_LIBS
22301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atlas_ATL_xerbla" >&5
22302 $as_echo "$ac_cv_lib_atlas_ATL_xerbla" >&6; }
22303 if test "x$ac_cv_lib_atlas_ATL_xerbla" = x""yes; then :
22304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_dgemm in -lcblas" >&5
22305 $as_echo_n "checking for cblas_dgemm in -lcblas... " >&6; }
22306 if test "${ac_cv_lib_cblas_cblas_dgemm+set}" = set; then :
22307 $as_echo_n "(cached) " >&6
22309 ac_check_lib_save_LIBS=$LIBS
22310 LIBS="-lcblas -L/usr/lib64/atlas -latlas $LIBS"
22311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22312 /* end confdefs.h. */
22314 /* Override any GCC internal prototype to avoid an error.
22315 Use char because int might match the return type of a GCC
22316 builtin and then its argument prototype would still apply. */
22320 char cblas_dgemm ();
22324 return cblas_dgemm ();
22329 if ac_fn_c_try_link "$LINENO"; then :
22330 ac_cv_lib_cblas_cblas_dgemm=yes
22332 ac_cv_lib_cblas_cblas_dgemm=no
22334 rm -f core conftest.err conftest.$ac_objext \
22335 conftest$ac_exeext conftest.$ac_ext
22336 LIBS=$ac_check_lib_save_LIBS
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cblas_cblas_dgemm" >&5
22339 $as_echo "$ac_cv_lib_cblas_cblas_dgemm" >&6; }
22340 if test "x$ac_cv_lib_cblas_cblas_dgemm" = x""yes; then :
22342 CBLAS_LIBS="-L/usr/lib64/atlas -lcblas -latlas"
22349 # CBLAS in ATLAS library in /usr/lib/atlas (if not cross-compiling)
22350 if test $acx_cblas_ok = no && test "$cross_compiling" = no; then
22351 unset ac_cv_lib_atlas_ATL_xerbla
22352 unset ac_cv_lib_cblas_cblas_dgemm
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATL_xerbla in -latlas" >&5
22354 $as_echo_n "checking for ATL_xerbla in -latlas... " >&6; }
22355 if test "${ac_cv_lib_atlas_ATL_xerbla+set}" = set; then :
22356 $as_echo_n "(cached) " >&6
22358 ac_check_lib_save_LIBS=$LIBS
22359 LIBS="-latlas -L/usr/lib/atlas -latlas $LIBS"
22360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22361 /* end confdefs.h. */
22363 /* Override any GCC internal prototype to avoid an error.
22364 Use char because int might match the return type of a GCC
22365 builtin and then its argument prototype would still apply. */
22369 char ATL_xerbla ();
22373 return ATL_xerbla ();
22378 if ac_fn_c_try_link "$LINENO"; then :
22379 ac_cv_lib_atlas_ATL_xerbla=yes
22381 ac_cv_lib_atlas_ATL_xerbla=no
22383 rm -f core conftest.err conftest.$ac_objext \
22384 conftest$ac_exeext conftest.$ac_ext
22385 LIBS=$ac_check_lib_save_LIBS
22387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atlas_ATL_xerbla" >&5
22388 $as_echo "$ac_cv_lib_atlas_ATL_xerbla" >&6; }
22389 if test "x$ac_cv_lib_atlas_ATL_xerbla" = x""yes; then :
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_dgemm in -lcblas" >&5
22391 $as_echo_n "checking for cblas_dgemm in -lcblas... " >&6; }
22392 if test "${ac_cv_lib_cblas_cblas_dgemm+set}" = set; then :
22393 $as_echo_n "(cached) " >&6
22395 ac_check_lib_save_LIBS=$LIBS
22396 LIBS="-lcblas -L/usr/lib/atlas -latlas $LIBS"
22397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22398 /* end confdefs.h. */
22400 /* Override any GCC internal prototype to avoid an error.
22401 Use char because int might match the return type of a GCC
22402 builtin and then its argument prototype would still apply. */
22406 char cblas_dgemm ();
22410 return cblas_dgemm ();
22415 if ac_fn_c_try_link "$LINENO"; then :
22416 ac_cv_lib_cblas_cblas_dgemm=yes
22418 ac_cv_lib_cblas_cblas_dgemm=no
22420 rm -f core conftest.err conftest.$ac_objext \
22421 conftest$ac_exeext conftest.$ac_ext
22422 LIBS=$ac_check_lib_save_LIBS
22424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cblas_cblas_dgemm" >&5
22425 $as_echo "$ac_cv_lib_cblas_cblas_dgemm" >&6; }
22426 if test "x$ac_cv_lib_cblas_cblas_dgemm" = x""yes; then :
22428 CBLAS_LIBS="-L/usr/lib/atlas -lcblas -latlas"
22436 # CBLAS in PhiPACK libraries? (requires generic BLAS lib, too)
22437 if test $acx_cblas_ok = no; then
22438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lcblas" >&5
22439 $as_echo_n "checking for cblas_sgemm in -lcblas... " >&6; }
22440 if test "${ac_cv_lib_cblas_cblas_sgemm+set}" = set; then :
22441 $as_echo_n "(cached) " >&6
22443 ac_check_lib_save_LIBS=$LIBS
22444 LIBS="-lcblas $LIBS"
22445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22446 /* end confdefs.h. */
22448 /* Override any GCC internal prototype to avoid an error.
22449 Use char because int might match the return type of a GCC
22450 builtin and then its argument prototype would still apply. */
22454 char cblas_sgemm ();
22458 return cblas_sgemm ();
22463 if ac_fn_c_try_link "$LINENO"; then :
22464 ac_cv_lib_cblas_cblas_sgemm=yes
22466 ac_cv_lib_cblas_cblas_sgemm=no
22468 rm -f core conftest.err conftest.$ac_objext \
22469 conftest$ac_exeext conftest.$ac_ext
22470 LIBS=$ac_check_lib_save_LIBS
22472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cblas_cblas_sgemm" >&5
22473 $as_echo "$ac_cv_lib_cblas_cblas_sgemm" >&6; }
22474 if test "x$ac_cv_lib_cblas_cblas_sgemm" = x""yes; then :
22475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_dgemm in -ldgemm" >&5
22476 $as_echo_n "checking for cblas_dgemm in -ldgemm... " >&6; }
22477 if test "${ac_cv_lib_dgemm_cblas_dgemm+set}" = set; then :
22478 $as_echo_n "(cached) " >&6
22480 ac_check_lib_save_LIBS=$LIBS
22481 LIBS="-ldgemm -lblas $LIBS"
22482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22483 /* end confdefs.h. */
22485 /* Override any GCC internal prototype to avoid an error.
22486 Use char because int might match the return type of a GCC
22487 builtin and then its argument prototype would still apply. */
22491 char cblas_dgemm ();
22495 return cblas_dgemm ();
22500 if ac_fn_c_try_link "$LINENO"; then :
22501 ac_cv_lib_dgemm_cblas_dgemm=yes
22503 ac_cv_lib_dgemm_cblas_dgemm=no
22505 rm -f core conftest.err conftest.$ac_objext \
22506 conftest$ac_exeext conftest.$ac_ext
22507 LIBS=$ac_check_lib_save_LIBS
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgemm_cblas_dgemm" >&5
22510 $as_echo "$ac_cv_lib_dgemm_cblas_dgemm" >&6; }
22511 if test "x$ac_cv_lib_dgemm_cblas_dgemm" = x""yes; then :
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lsgemm" >&5
22513 $as_echo_n "checking for cblas_sgemm in -lsgemm... " >&6; }
22514 if test "${ac_cv_lib_sgemm_cblas_sgemm+set}" = set; then :
22515 $as_echo_n "(cached) " >&6
22517 ac_check_lib_save_LIBS=$LIBS
22518 LIBS="-lsgemm -lblas $LIBS"
22519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22520 /* end confdefs.h. */
22522 /* Override any GCC internal prototype to avoid an error.
22523 Use char because int might match the return type of a GCC
22524 builtin and then its argument prototype would still apply. */
22528 char cblas_sgemm ();
22532 return cblas_sgemm ();
22537 if ac_fn_c_try_link "$LINENO"; then :
22538 ac_cv_lib_sgemm_cblas_sgemm=yes
22540 ac_cv_lib_sgemm_cblas_sgemm=no
22542 rm -f core conftest.err conftest.$ac_objext \
22543 conftest$ac_exeext conftest.$ac_ext
22544 LIBS=$ac_check_lib_save_LIBS
22546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sgemm_cblas_sgemm" >&5
22547 $as_echo "$ac_cv_lib_sgemm_cblas_sgemm" >&6; }
22548 if test "x$ac_cv_lib_sgemm_cblas_sgemm" = x""yes; then :
22549 acx_cblas_ok=yes; CBLAS_LIBS="-lsgemm -ldgemm -lblas"
22558 # BLAS in Intel MKL library?
22559 if test $acx_cblas_ok = no; then
22560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lmkl" >&5
22561 $as_echo_n "checking for cblas_sgemm in -lmkl... " >&6; }
22562 if test "${ac_cv_lib_mkl_cblas_sgemm+set}" = set; then :
22563 $as_echo_n "(cached) " >&6
22565 ac_check_lib_save_LIBS=$LIBS
22567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22568 /* end confdefs.h. */
22570 /* Override any GCC internal prototype to avoid an error.
22571 Use char because int might match the return type of a GCC
22572 builtin and then its argument prototype would still apply. */
22576 char cblas_sgemm ();
22580 return cblas_sgemm ();
22585 if ac_fn_c_try_link "$LINENO"; then :
22586 ac_cv_lib_mkl_cblas_sgemm=yes
22588 ac_cv_lib_mkl_cblas_sgemm=no
22590 rm -f core conftest.err conftest.$ac_objext \
22591 conftest$ac_exeext conftest.$ac_ext
22592 LIBS=$ac_check_lib_save_LIBS
22594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mkl_cblas_sgemm" >&5
22595 $as_echo "$ac_cv_lib_mkl_cblas_sgemm" >&6; }
22596 if test "x$ac_cv_lib_mkl_cblas_sgemm" = x""yes; then :
22597 acx_cblas_ok=yes;CBLAS_LIBS="-lmkl"
22602 # CBLAS in Apple vecLib library?
22603 if test $acx_cblas_ok = no; then
22604 save_LIBS="$LIBS"; LIBS="-framework vecLib $LIBS"
22605 ac_fn_c_check_func "$LINENO" "cblas_sgemm" "ac_cv_func_cblas_sgemm"
22606 if test "x$ac_cv_func_cblas_sgemm" = x""yes; then :
22607 acx_cblas_ok=yes;CBLAS_LIBS="-framework vecLib"
22613 # CBLAS in Alpha CXML library?
22614 if test $acx_cblas_ok = no; then
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lcxml" >&5
22616 $as_echo_n "checking for cblas_sgemm in -lcxml... " >&6; }
22617 if test "${ac_cv_lib_cxml_cblas_sgemm+set}" = set; then :
22618 $as_echo_n "(cached) " >&6
22620 ac_check_lib_save_LIBS=$LIBS
22621 LIBS="-lcxml $LIBS"
22622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22623 /* end confdefs.h. */
22625 /* Override any GCC internal prototype to avoid an error.
22626 Use char because int might match the return type of a GCC
22627 builtin and then its argument prototype would still apply. */
22631 char cblas_sgemm ();
22635 return cblas_sgemm ();
22640 if ac_fn_c_try_link "$LINENO"; then :
22641 ac_cv_lib_cxml_cblas_sgemm=yes
22643 ac_cv_lib_cxml_cblas_sgemm=no
22645 rm -f core conftest.err conftest.$ac_objext \
22646 conftest$ac_exeext conftest.$ac_ext
22647 LIBS=$ac_check_lib_save_LIBS
22649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cxml_cblas_sgemm" >&5
22650 $as_echo "$ac_cv_lib_cxml_cblas_sgemm" >&6; }
22651 if test "x$ac_cv_lib_cxml_cblas_sgemm" = x""yes; then :
22652 acx_cblas_ok=yes;CBLAS_LIBS="-lcxml"
22657 # CBLAS in Alpha DXML library? (now called CXML, see above)
22658 if test $acx_cblas_ok = no; then
22659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -ldxml" >&5
22660 $as_echo_n "checking for cblas_sgemm in -ldxml... " >&6; }
22661 if test "${ac_cv_lib_dxml_cblas_sgemm+set}" = set; then :
22662 $as_echo_n "(cached) " >&6
22664 ac_check_lib_save_LIBS=$LIBS
22665 LIBS="-ldxml $LIBS"
22666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22667 /* end confdefs.h. */
22669 /* Override any GCC internal prototype to avoid an error.
22670 Use char because int might match the return type of a GCC
22671 builtin and then its argument prototype would still apply. */
22675 char cblas_sgemm ();
22679 return cblas_sgemm ();
22684 if ac_fn_c_try_link "$LINENO"; then :
22685 ac_cv_lib_dxml_cblas_sgemm=yes
22687 ac_cv_lib_dxml_cblas_sgemm=no
22689 rm -f core conftest.err conftest.$ac_objext \
22690 conftest$ac_exeext conftest.$ac_ext
22691 LIBS=$ac_check_lib_save_LIBS
22693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dxml_cblas_sgemm" >&5
22694 $as_echo "$ac_cv_lib_dxml_cblas_sgemm" >&6; }
22695 if test "x$ac_cv_lib_dxml_cblas_sgemm" = x""yes; then :
22696 acx_cblas_ok=yes;CBLAS_LIBS="-ldxml"
22701 # CBLAS in Sun Performance library?
22702 if test $acx_cblas_ok = no; then
22703 if test "x$GCC" != xyes; then # only works with Sun CC
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosp in -lsunmath" >&5
22705 $as_echo_n "checking for acosp in -lsunmath... " >&6; }
22706 if test "${ac_cv_lib_sunmath_acosp+set}" = set; then :
22707 $as_echo_n "(cached) " >&6
22709 ac_check_lib_save_LIBS=$LIBS
22710 LIBS="-lsunmath $LIBS"
22711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22712 /* end confdefs.h. */
22714 /* Override any GCC internal prototype to avoid an error.
22715 Use char because int might match the return type of a GCC
22716 builtin and then its argument prototype would still apply. */
22729 if ac_fn_c_try_link "$LINENO"; then :
22730 ac_cv_lib_sunmath_acosp=yes
22732 ac_cv_lib_sunmath_acosp=no
22734 rm -f core conftest.err conftest.$ac_objext \
22735 conftest$ac_exeext conftest.$ac_ext
22736 LIBS=$ac_check_lib_save_LIBS
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sunmath_acosp" >&5
22739 $as_echo "$ac_cv_lib_sunmath_acosp" >&6; }
22740 if test "x$ac_cv_lib_sunmath_acosp" = x""yes; then :
22741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lsunperf" >&5
22742 $as_echo_n "checking for cblas_sgemm in -lsunperf... " >&6; }
22743 if test "${ac_cv_lib_sunperf_cblas_sgemm+set}" = set; then :
22744 $as_echo_n "(cached) " >&6
22746 ac_check_lib_save_LIBS=$LIBS
22747 LIBS="-lsunperf -lsunmath $LIBS"
22748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22749 /* end confdefs.h. */
22751 /* Override any GCC internal prototype to avoid an error.
22752 Use char because int might match the return type of a GCC
22753 builtin and then its argument prototype would still apply. */
22757 char cblas_sgemm ();
22761 return cblas_sgemm ();
22766 if ac_fn_c_try_link "$LINENO"; then :
22767 ac_cv_lib_sunperf_cblas_sgemm=yes
22769 ac_cv_lib_sunperf_cblas_sgemm=no
22771 rm -f core conftest.err conftest.$ac_objext \
22772 conftest$ac_exeext conftest.$ac_ext
22773 LIBS=$ac_check_lib_save_LIBS
22775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sunperf_cblas_sgemm" >&5
22776 $as_echo "$ac_cv_lib_sunperf_cblas_sgemm" >&6; }
22777 if test "x$ac_cv_lib_sunperf_cblas_sgemm" = x""yes; then :
22778 CBLAS_LIBS="-xlic_lib=sunperf -lsunmath"
22787 # CBLAS in SCSL library? (SGI/Cray Scientific Library)
22788 if test $acx_cblas_ok = no; then
22789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lscs" >&5
22790 $as_echo_n "checking for cblas_sgemm in -lscs... " >&6; }
22791 if test "${ac_cv_lib_scs_cblas_sgemm+set}" = set; then :
22792 $as_echo_n "(cached) " >&6
22794 ac_check_lib_save_LIBS=$LIBS
22796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22797 /* end confdefs.h. */
22799 /* Override any GCC internal prototype to avoid an error.
22800 Use char because int might match the return type of a GCC
22801 builtin and then its argument prototype would still apply. */
22805 char cblas_sgemm ();
22809 return cblas_sgemm ();
22814 if ac_fn_c_try_link "$LINENO"; then :
22815 ac_cv_lib_scs_cblas_sgemm=yes
22817 ac_cv_lib_scs_cblas_sgemm=no
22819 rm -f core conftest.err conftest.$ac_objext \
22820 conftest$ac_exeext conftest.$ac_ext
22821 LIBS=$ac_check_lib_save_LIBS
22823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_scs_cblas_sgemm" >&5
22824 $as_echo "$ac_cv_lib_scs_cblas_sgemm" >&6; }
22825 if test "x$ac_cv_lib_scs_cblas_sgemm" = x""yes; then :
22826 acx_cblas_ok=yes; CBLAS_LIBS="-lscs"
22831 # CBLAS in SGIMATH library?
22832 if test $acx_cblas_ok = no; then
22833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lcomplib.sgimath" >&5
22834 $as_echo_n "checking for cblas_sgemm in -lcomplib.sgimath... " >&6; }
22835 if test "${ac_cv_lib_complib_sgimath_cblas_sgemm+set}" = set; then :
22836 $as_echo_n "(cached) " >&6
22838 ac_check_lib_save_LIBS=$LIBS
22839 LIBS="-lcomplib.sgimath $LIBS"
22840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22841 /* end confdefs.h. */
22843 /* Override any GCC internal prototype to avoid an error.
22844 Use char because int might match the return type of a GCC
22845 builtin and then its argument prototype would still apply. */
22849 char cblas_sgemm ();
22853 return cblas_sgemm ();
22858 if ac_fn_c_try_link "$LINENO"; then :
22859 ac_cv_lib_complib_sgimath_cblas_sgemm=yes
22861 ac_cv_lib_complib_sgimath_cblas_sgemm=no
22863 rm -f core conftest.err conftest.$ac_objext \
22864 conftest$ac_exeext conftest.$ac_ext
22865 LIBS=$ac_check_lib_save_LIBS
22867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_complib_sgimath_cblas_sgemm" >&5
22868 $as_echo "$ac_cv_lib_complib_sgimath_cblas_sgemm" >&6; }
22869 if test "x$ac_cv_lib_complib_sgimath_cblas_sgemm" = x""yes; then :
22870 acx_cblas_ok=yes; CBLAS_LIBS="-lcomplib.sgimath"
22875 # CBLAS in IBM ESSL library? (requires generic CBLAS lib, too)
22876 if test $acx_cblas_ok = no; then
22877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lcblas" >&5
22878 $as_echo_n "checking for cblas_sgemm in -lcblas... " >&6; }
22879 if test "${ac_cv_lib_cblas_cblas_sgemm+set}" = set; then :
22880 $as_echo_n "(cached) " >&6
22882 ac_check_lib_save_LIBS=$LIBS
22883 LIBS="-lcblas $LIBS"
22884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22885 /* end confdefs.h. */
22887 /* Override any GCC internal prototype to avoid an error.
22888 Use char because int might match the return type of a GCC
22889 builtin and then its argument prototype would still apply. */
22893 char cblas_sgemm ();
22897 return cblas_sgemm ();
22902 if ac_fn_c_try_link "$LINENO"; then :
22903 ac_cv_lib_cblas_cblas_sgemm=yes
22905 ac_cv_lib_cblas_cblas_sgemm=no
22907 rm -f core conftest.err conftest.$ac_objext \
22908 conftest$ac_exeext conftest.$ac_ext
22909 LIBS=$ac_check_lib_save_LIBS
22911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cblas_cblas_sgemm" >&5
22912 $as_echo "$ac_cv_lib_cblas_cblas_sgemm" >&6; }
22913 if test "x$ac_cv_lib_cblas_cblas_sgemm" = x""yes; then :
22914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lessl" >&5
22915 $as_echo_n "checking for cblas_sgemm in -lessl... " >&6; }
22916 if test "${ac_cv_lib_essl_cblas_sgemm+set}" = set; then :
22917 $as_echo_n "(cached) " >&6
22919 ac_check_lib_save_LIBS=$LIBS
22920 LIBS="-lessl -lblas $FLIBS $LIBS"
22921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22922 /* end confdefs.h. */
22924 /* Override any GCC internal prototype to avoid an error.
22925 Use char because int might match the return type of a GCC
22926 builtin and then its argument prototype would still apply. */
22930 char cblas_sgemm ();
22934 return cblas_sgemm ();
22939 if ac_fn_c_try_link "$LINENO"; then :
22940 ac_cv_lib_essl_cblas_sgemm=yes
22942 ac_cv_lib_essl_cblas_sgemm=no
22944 rm -f core conftest.err conftest.$ac_objext \
22945 conftest$ac_exeext conftest.$ac_ext
22946 LIBS=$ac_check_lib_save_LIBS
22948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_essl_cblas_sgemm" >&5
22949 $as_echo "$ac_cv_lib_essl_cblas_sgemm" >&6; }
22950 if test "x$ac_cv_lib_essl_cblas_sgemm" = x""yes; then :
22951 acx_cblas_ok=yes; CBLAS_LIBS="-lessl -lblas"
22958 # Generic CBLAS library?
22959 if test $acx_cblas_ok = no; then
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lcblas" >&5
22961 $as_echo_n "checking for cblas_sgemm in -lcblas... " >&6; }
22962 if test "${ac_cv_lib_cblas_cblas_sgemm+set}" = set; then :
22963 $as_echo_n "(cached) " >&6
22965 ac_check_lib_save_LIBS=$LIBS
22966 LIBS="-lcblas $LIBS"
22967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22968 /* end confdefs.h. */
22970 /* Override any GCC internal prototype to avoid an error.
22971 Use char because int might match the return type of a GCC
22972 builtin and then its argument prototype would still apply. */
22976 char cblas_sgemm ();
22980 return cblas_sgemm ();
22985 if ac_fn_c_try_link "$LINENO"; then :
22986 ac_cv_lib_cblas_cblas_sgemm=yes
22988 ac_cv_lib_cblas_cblas_sgemm=no
22990 rm -f core conftest.err conftest.$ac_objext \
22991 conftest$ac_exeext conftest.$ac_ext
22992 LIBS=$ac_check_lib_save_LIBS
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cblas_cblas_sgemm" >&5
22995 $as_echo "$ac_cv_lib_cblas_cblas_sgemm" >&6; }
22996 if test "x$ac_cv_lib_cblas_cblas_sgemm" = x""yes; then :
22997 acx_cblas_ok=yes; CBLAS_LIBS="-lcblas"
23002 # Generic BLAS library?
23003 if test $acx_cblas_ok = no; then
23004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lblas" >&5
23005 $as_echo_n "checking for cblas_sgemm in -lblas... " >&6; }
23006 if test "${ac_cv_lib_blas_cblas_sgemm+set}" = set; then :
23007 $as_echo_n "(cached) " >&6
23009 ac_check_lib_save_LIBS=$LIBS
23010 LIBS="-lblas $LIBS"
23011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23012 /* end confdefs.h. */
23014 /* Override any GCC internal prototype to avoid an error.
23015 Use char because int might match the return type of a GCC
23016 builtin and then its argument prototype would still apply. */
23020 char cblas_sgemm ();
23024 return cblas_sgemm ();
23029 if ac_fn_c_try_link "$LINENO"; then :
23030 ac_cv_lib_blas_cblas_sgemm=yes
23032 ac_cv_lib_blas_cblas_sgemm=no
23034 rm -f core conftest.err conftest.$ac_objext \
23035 conftest$ac_exeext conftest.$ac_ext
23036 LIBS=$ac_check_lib_save_LIBS
23038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blas_cblas_sgemm" >&5
23039 $as_echo "$ac_cv_lib_blas_cblas_sgemm" >&6; }
23040 if test "x$ac_cv_lib_blas_cblas_sgemm" = x""yes; then :
23041 acx_cblas_ok=yes; CBLAS_LIBS="-lblas"
23046 # GSL generic CBLAS library?
23047 if test $acx_cblas_ok = no; then
23048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lgslcblas" >&5
23049 $as_echo_n "checking for cblas_sgemm in -lgslcblas... " >&6; }
23050 if test "${ac_cv_lib_gslcblas_cblas_sgemm+set}" = set; then :
23051 $as_echo_n "(cached) " >&6
23053 ac_check_lib_save_LIBS=$LIBS
23054 LIBS="-lgslcblas $LIBS"
23055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23056 /* end confdefs.h. */
23058 /* Override any GCC internal prototype to avoid an error.
23059 Use char because int might match the return type of a GCC
23060 builtin and then its argument prototype would still apply. */
23064 char cblas_sgemm ();
23068 return cblas_sgemm ();
23073 if ac_fn_c_try_link "$LINENO"; then :
23074 ac_cv_lib_gslcblas_cblas_sgemm=yes
23076 ac_cv_lib_gslcblas_cblas_sgemm=no
23078 rm -f core conftest.err conftest.$ac_objext \
23079 conftest$ac_exeext conftest.$ac_ext
23080 LIBS=$ac_check_lib_save_LIBS
23082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gslcblas_cblas_sgemm" >&5
23083 $as_echo "$ac_cv_lib_gslcblas_cblas_sgemm" >&6; }
23084 if test "x$ac_cv_lib_gslcblas_cblas_sgemm" = x""yes; then :
23085 acx_cblas_ok=yes; CBLAS_LIBS="-lgslcblas"
23092 LIBS="$acx_cblas_save_LIBS"
23094 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
23095 if test x"$acx_cblas_ok" = xyes; then
23097 $as_echo "#define HAVE_CBLAS 1" >>confdefs.h
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSL" >&5
23110 $as_echo_n "checking for GSL... " >&6; }
23112 if test -n "$PKG_CONFIG"; then
23113 if test -n "$GSL_CFLAGS"; then
23114 pkg_cv_GSL_CFLAGS="$GSL_CFLAGS"
23116 if test -n "$PKG_CONFIG" && \
23117 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gsl >= 1.10\""; } >&5
23118 ($PKG_CONFIG --exists --print-errors "gsl >= 1.10") 2>&5
23120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23121 test $ac_status = 0; }; then
23122 pkg_cv_GSL_CFLAGS=`$PKG_CONFIG --cflags "gsl >= 1.10" 2>/dev/null`
23131 if test x$cross_compiling = xyes
23133 if test -n "$PKG_CONFIG"; then
23134 if test -n "$GSL_LIBS"; then
23135 pkg_cv_GSL_LIBS="$GSL_LIBS"
23137 if test -n "$PKG_CONFIG" && \
23138 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gsl >= 1.10\""; } >&5
23139 ($PKG_CONFIG --exists --print-errors "gsl >= 1.10") 2>&5
23141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23142 test $ac_status = 0; }; then
23143 pkg_cv_GSL_LIBS=`$PKG_CONFIG --libs --static "gsl >= 1.10" 2>/dev/null`
23152 for flag in $pkg_cv_GSL_LIBS; do
23154 (-L/lib* | -L/usr/lib* ) ;; # ignore
23155 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
23158 pkg_cv_GSL_LIBS="$_pkg_tmp"
23160 if test -n "$PKG_CONFIG"; then
23161 if test -n "$GSL_LIBS"; then
23162 pkg_cv_GSL_LIBS="$GSL_LIBS"
23164 if test -n "$PKG_CONFIG" && \
23165 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gsl >= 1.10\""; } >&5
23166 ($PKG_CONFIG --exists --print-errors "gsl >= 1.10") 2>&5
23168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23169 test $ac_status = 0; }; then
23170 pkg_cv_GSL_LIBS=`$PKG_CONFIG --libs --static "gsl >= 1.10" 2>/dev/null`
23180 if test -n "$PKG_CONFIG"; then
23181 if test -n "$GSL_INCLUDEDIR"; then
23182 pkg_cv_GSL_INCLUDEDIR="$GSL_INCLUDEDIR"
23184 if test -n "$PKG_CONFIG" && \
23185 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gsl >= 1.10\""; } >&5
23186 ($PKG_CONFIG --exists --print-errors "gsl >= 1.10") 2>&5
23188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23189 test $ac_status = 0; }; then
23190 pkg_cv_GSL_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "gsl >= 1.10" 2>/dev/null`
23202 if test $pkg_failed = yes; then
23204 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23205 _pkg_short_errors_supported=yes
23207 _pkg_short_errors_supported=no
23209 if test $_pkg_short_errors_supported = yes; then
23210 GSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gsl >= 1.10"`
23212 GSL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gsl >= 1.10"`
23214 # Put the nasty error message in config.log where it belongs
23215 echo "$GSL_PKG_ERRORS" >&5
23217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23218 $as_echo "no" >&6; }
23219 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gnuradio-core requires package gsl >= 1.10, not found." >&5
23220 $as_echo "gnuradio-core requires package gsl >= 1.10, not found." >&6; }
23221 elif test $pkg_failed = untried; then
23222 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gnuradio-core requires package gsl >= 1.10, not found." >&5
23223 $as_echo "gnuradio-core requires package gsl >= 1.10, not found." >&6; }
23225 GSL_CFLAGS=$pkg_cv_GSL_CFLAGS
23226 GSL_LIBS=$pkg_cv_GSL_LIBS
23227 GSL_INCLUDEDIR=$pkg_cv_GSL_INCLUDEDIR
23230 for flag in $GSL_CFLAGS; do
23232 -I* | -D* | -U*) GSL_CPPFLAGS="$GSL_CPPFLAGS $flag" ;;
23235 pkg_cv_GSL_CPPFLAGS=$GSL_CPPFLAGS
23238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23239 $as_echo "yes" >&6; }
23244 if test $passed != with; then
23245 gnuradio_core_INCLUDES="\
23246 -I\${abs_top_srcdir}/gnuradio-core/src/lib/runtime \
23247 -I\${abs_top_srcdir}/gnuradio-core/src/lib/general \
23248 -I\${abs_top_builddir}/gnuradio-core/src/lib/general \
23249 -I\${abs_top_srcdir}/gnuradio-core/src/lib/gengen \
23250 -I\${abs_top_builddir}/gnuradio-core/src/lib/gengen \
23251 -I\${abs_top_srcdir}/gnuradio-core/src/lib/filter \
23252 -I\${abs_top_builddir}/gnuradio-core/src/lib/filter \
23253 -I\${abs_top_srcdir}/gnuradio-core/src/lib/missing \
23254 -I\${abs_top_srcdir}/gnuradio-core/src/lib/reed-solomon \
23255 -I\${abs_top_srcdir}/gnuradio-core/src/lib/viterbi \
23256 -I\${abs_top_srcdir}/gnuradio-core/src/lib/io \
23257 -I\${abs_top_srcdir}/gnuradio-core/src/lib/g72x \
23258 -I\${abs_top_srcdir}/gnuradio-core/src/lib/swig \
23259 -I\${abs_top_srcdir}/gnuradio-core/src/lib/hier \
23260 -I\${abs_top_builddir}/gnuradio-core/src/lib/swig \
23261 \$(FFTW3F_CFLAGS) \
23263 gnuradio_core_LA="\${abs_top_builddir}/gnuradio-core/src/lib/libgnuradio-core.la"
23264 gnuradio_core_LIBDIRPATH="\${abs_top_builddir}/gnuradio-core/src/lib:\${abs_top_builddir}/gnuradio-core/src/lib/.libs"
23265 gnuradio_core_SWIGDIRPATH="\${abs_top_builddir}/gnuradio-core/src/lib/swig:\${abs_top_builddir}/gnuradio-core/src/lib/swig/.libs:\${abs_top_srcdir}/gnuradio-core/src/lib/swig"
23266 gnuradio_core_PYDIRPATH="\${abs_top_srcdir}/gnuradio-core/src/python"
23273 ac_config_files="$ac_config_files gnuradio-core/Makefile gnuradio-core/gnuradio-core.pc gnuradio-core/src/Makefile gnuradio-core/src/gen_interpolator_taps/Makefile gnuradio-core/src/lib/Makefile gnuradio-core/src/lib/filter/Makefile gnuradio-core/src/lib/g72x/Makefile gnuradio-core/src/lib/general/Makefile gnuradio-core/src/lib/general/gr_constants.cc gnuradio-core/src/lib/gengen/Makefile gnuradio-core/src/lib/io/Makefile gnuradio-core/src/lib/missing/Makefile gnuradio-core/src/lib/reed-solomon/Makefile gnuradio-core/src/lib/viterbi/Makefile gnuradio-core/src/lib/runtime/Makefile gnuradio-core/src/lib/hier/Makefile gnuradio-core/src/lib/swig/Makefile gnuradio-core/src/python/Makefile gnuradio-core/src/python/bin/Makefile gnuradio-core/src/python/gnuradio/Makefile gnuradio-core/src/python/gnuradio/blks2/Makefile gnuradio-core/src/python/gnuradio/blks2impl/Makefile gnuradio-core/src/python/gnuradio/gr/Makefile gnuradio-core/src/python/gnuradio/gr/run_tests gnuradio-core/src/python/gnuradio/gru/Makefile gnuradio-core/src/python/gnuradio/gruimpl/Makefile gnuradio-core/src/python/gnuradio/vocoder/Makefile gnuradio-core/src/tests/Makefile gnuradio-core/src/utils/Makefile"
23278 gnuradio_core_with=no
23279 if test $passed = no; then
23280 if test x$enable_gnuradio_core = xyes; then
23281 as_fn_error $? "Component gnuradio-core has errors; stopping." "$LINENO" 5
23283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gnuradio-core." >&5
23284 $as_echo "Not building component gnuradio-core." >&6; }
23287 if test $passed = with; then
23288 with_dirs="$with_dirs gnuradio-core"
23290 if test "x${gnuradio_core_INCLUDES}" != "x"; then
23291 if test "x$with_INCLUDES" = "x"; then
23292 with_INCLUDES="${gnuradio_core_INCLUDES}"
23294 with_INCLUDES="${gnuradio_core_INCLUDES}"" ""$with_INCLUDES"
23296 gnuradio_core_INCLUDES=
23300 if test "x${gnuradio_core_SWIG_INCLUDES}" != "x"; then
23301 if test "x$with_SWIG_INCLUDES" = "x"; then
23302 with_SWIG_INCLUDES="${gnuradio_core_SWIG_INCLUDES}"
23304 with_SWIG_INCLUDES="${gnuradio_core_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
23306 gnuradio_core_SWIG_INCLUDES=
23310 if test "x${gnuradio_core_PYDIRPATH}" != "x"; then
23311 if test "x$with_PYDIRPATH" = "x"; then
23312 with_PYDIRPATH="${gnuradio_core_PYDIRPATH}"
23314 with_PYDIRPATH="${gnuradio_core_PYDIRPATH}"":""$with_PYDIRPATH"
23316 gnuradio_core_PYDIRPATH=
23320 if test "x${gnuradio_core_SWIGDIRPATH}" != "x"; then
23321 if test "x$with_SWIGDIRPATH" = "x"; then
23322 with_SWIGDIRPATH="${gnuradio_core_SWIGDIRPATH}"
23324 with_SWIGDIRPATH="${gnuradio_core_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
23326 gnuradio_core_SWIGDIRPATH=
23330 if test "x${gnuradio_core_LIBDIRPATH}" != "x"; then
23331 if test "x$with_LIBDIRPATH" = "x"; then
23332 with_LIBDIRPATH="${gnuradio_core_LIBDIRPATH}"
23334 with_LIBDIRPATH="${gnuradio_core_LIBDIRPATH}"":""$with_LIBDIRPATH"
23336 gnuradio_core_LIBDIRPATH=
23339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gnuradio-core will be included from a pre-installed library and includes." >&5
23340 $as_echo "Component gnuradio-core will be included from a pre-installed library and includes." >&6; }
23341 gnuradio_core_with=yes
23343 gnuradio_core_LDFLAG=
23344 if test x$enable_gnuradio_core != xno; then
23345 ac_config_commands="$ac_config_commands run_tests_core"
23348 build_dirs="$build_dirs gnuradio-core"
23349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gnuradio-core passed configuration checks; building." >&5
23350 $as_echo "Component gnuradio-core passed configuration checks; building." >&6; }
23353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gnuradio-core passed configuration checks; but not building." >&5
23354 $as_echo "Component gnuradio-core passed configuration checks; but not building." >&6; }
23358 if test $passed = no; then
23359 skipped_dirs="$skipped_dirs gnuradio-core"
23360 gnuradio_core_skipped=yes
23362 gnuradio_core_skipped=no
23372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
23373 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
23374 if test "${ac_cv_header_stat_broken+set}" = set; then :
23375 $as_echo_n "(cached) " >&6
23377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23378 /* end confdefs.h. */
23379 #include <sys/types.h>
23380 #include <sys/stat.h>
23382 #if defined S_ISBLK && defined S_IFDIR
23383 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
23386 #if defined S_ISBLK && defined S_IFCHR
23387 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
23390 #if defined S_ISLNK && defined S_IFREG
23391 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
23394 #if defined S_ISSOCK && defined S_IFREG
23395 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
23399 if ac_fn_c_try_compile "$LINENO"; then :
23400 ac_cv_header_stat_broken=no
23402 ac_cv_header_stat_broken=yes
23404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
23407 $as_echo "$ac_cv_header_stat_broken" >&6; }
23408 if test $ac_cv_header_stat_broken = yes; then
23410 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
23415 for ac_header in fcntl.h
23417 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
23418 if test "x$ac_cv_header_fcntl_h" = x""yes; then :
23419 cat >>confdefs.h <<_ACEOF
23420 #define HAVE_FCNTL_H 1
23429 for ac_header in sys/time.h
23431 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
23432 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
23433 cat >>confdefs.h <<_ACEOF
23434 #define HAVE_SYS_TIME_H 1
23443 for ac_header in unistd.h
23445 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
23446 if test "x$ac_cv_header_unistd_h" = x""yes; then :
23447 cat >>confdefs.h <<_ACEOF
23448 #define HAVE_UNISTD_H 1
23457 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
23458 if test "x$ac_cv_have_decl_getenv" = x""yes; then :
23464 cat >>confdefs.h <<_ACEOF
23465 #define HAVE_DECL_GETENV $ac_have_decl
23473 # Check whether --enable-usrp was given.
23474 if test "${enable_usrp+set}" = set; then :
23475 enableval=$enable_usrp;
23478 enable_usrp=$enable_all_components
23479 if test x$enable_all_components = xno; then
23489 if test x = x; then
23490 pc_comp_name="usrp"
23496 # Check whether --with-usrp was given.
23497 if test "${with_usrp+set}" = set; then :
23498 withval=$with_usrp; if test "x$withval" != "xyes"; then
23499 with_usrp_val=$withval
23504 if test x$with_usrp = xyes; then
23505 if test x$enable_usrp = xyes; then
23506 as_fn_error $? "Component usrp: Cannot use both --enable and --with" "$LINENO" 5
23509 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
23511 l_PKG_CONFIG_PATH=$with_usrp_val
23512 if test "x$l_PKG_CONFIG_PATH" != "x"; then
23513 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
23515 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
23516 as_fn_error $? "Component usrp: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." "$LINENO" 5
23520 if test -n "$PKG_CONFIG" && \
23521 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
23522 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
23524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23525 test $ac_status = 0; }; then
23526 passed=with; check1=yes
23530 if test "x$l_PKG_CONFIG_PATH" != "x"; then
23531 if test "x$s_PKG_CONFIG_PATH" != "x"; then
23532 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
23533 if test -n "$PKG_CONFIG" && \
23534 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
23535 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
23537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23538 test $ac_status = 0; }; then
23545 if test $passed != with; then
23546 as_fn_error $? "Component usrp: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." "$LINENO" 5
23548 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
23552 usrp_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
23553 usrp_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
23554 usrp_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
23556 if test x$check1 = xyes; then
23557 if test "x$s_PKG_CONFIG_PATH" != "x"; then
23558 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
23569 if test $passed != no; then
23570 if test $passed = yes; then
23571 if test x$gruel_skipped = xyes; then
23572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp requires gruel, which is not being built or specified via pre-installed files." >&5
23573 $as_echo "Component usrp requires gruel, which is not being built or specified via pre-installed files." >&6; }
23577 if test x$gruel_with = xno; then
23578 as_fn_error $? "Component usrp requires gruel to be included as --with-gruel[=arg]" "$LINENO" 5
23588 # Check whether --with-fusb-tech was given.
23589 if test "${with_fusb_tech+set}" = set; then :
23590 withval=$with_fusb_tech; cf_with_fusb_tech="$withval"
23592 cf_with_fusb_tech="$host_os"
23595 if test x${enable_usrp} != xno; then
23596 case "$cf_with_fusb_tech" in
23603 ac_fn_c_check_header_mongrel "$LINENO" "linux/usbdevice_fs.h" "ac_cv_header_linux_usbdevice_fs_h" "$ac_includes_default"
23604 if test "x$ac_cv_header_linux_usbdevice_fs_h" = x""yes; then :
23605 x_have_usbdevice_fs_h=yes
23607 x_have_usbdevice_fs_h=no
23611 if test x${x_have_usbdevice_fs_h} = xyes; then
23620 cygwin*|win*|mingw*)
23624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RA/WB" >&5
23625 $as_echo_n "checking for RA/WB... " >&6; }
23626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23627 /* end confdefs.h. */
23628 #include <dev/usb/usb.h>
23632 struct usb_bulk_ra_wb_opt o;
23633 ioctl(0, USB_SET_BULK_RA, &o);
23638 if ac_fn_c_try_compile "$LINENO"; then :
23643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fast usb technique to use" >&5
23651 $as_echo_n "checking for fast usb technique to use... " >&6; }
23652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FUSB_TECH" >&5
23653 $as_echo "$FUSB_TECH" >&6; }
23657 if test x$FUSB_TECH = xdarwin; then
23658 FUSB_TECH_darwin_TRUE=
23659 FUSB_TECH_darwin_FALSE='#'
23661 FUSB_TECH_darwin_TRUE='#'
23662 FUSB_TECH_darwin_FALSE=
23665 if test x$FUSB_TECH = xwin32; then
23666 FUSB_TECH_win32_TRUE=
23667 FUSB_TECH_win32_FALSE='#'
23669 FUSB_TECH_win32_TRUE='#'
23670 FUSB_TECH_win32_FALSE=
23673 if test x$FUSB_TECH = xgeneric; then
23674 FUSB_TECH_generic_TRUE=
23675 FUSB_TECH_generic_FALSE='#'
23677 FUSB_TECH_generic_TRUE='#'
23678 FUSB_TECH_generic_FALSE=
23681 if test x$FUSB_TECH = xlinux; then
23682 FUSB_TECH_linux_TRUE=
23683 FUSB_TECH_linux_FALSE='#'
23685 FUSB_TECH_linux_TRUE='#'
23686 FUSB_TECH_linux_FALSE=
23689 if test x$FUSB_TECH = xlibusb1; then
23690 FUSB_TECH_libusb1_TRUE=
23691 FUSB_TECH_libusb1_FALSE='#'
23693 FUSB_TECH_libusb1_TRUE='#'
23694 FUSB_TECH_libusb1_FALSE=
23697 if test x$FUSB_TECH = xra_wb; then
23698 FUSB_TECH_ra_wb_TRUE=
23699 FUSB_TECH_ra_wb_FALSE='#'
23701 FUSB_TECH_ra_wb_TRUE='#'
23702 FUSB_TECH_ra_wb_FALSE=
23707 ac_config_files="$ac_config_files usrp/host/include/usrp/libusb_types.h"
23711 if test $passed = yes; then
23712 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
23713 if test "x$ac_cv_func_mkstemp" = x""yes; then :
23714 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
23717 case " $LIBOBJS " in
23718 *" mkstemp.$ac_objext "* ) ;;
23719 *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
23726 if test $ac_cv_func_mkstemp = no; then
23727 utils_cv_func_mkstemp_limitations=yes
23729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mkstemp limitations" >&5
23730 $as_echo_n "checking for mkstemp limitations... " >&6; }
23731 if test "${utils_cv_func_mkstemp_limitations+set}" = set; then :
23732 $as_echo_n "(cached) " >&6
23735 if test "$cross_compiling" = yes; then :
23736 utils_cv_func_mkstemp_limitations=yes
23739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23740 /* end confdefs.h. */
23742 # include <stdlib.h>
23746 for (i = 0; i < 70; i++)
23748 char template[] = "conftestXXXXXX";
23749 int fd = mkstemp (template);
23758 if ac_fn_c_try_run "$LINENO"; then :
23759 utils_cv_func_mkstemp_limitations=no
23761 utils_cv_func_mkstemp_limitations=yes
23763 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23764 conftest.$ac_objext conftest.beam conftest.$ac_ext
23770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $utils_cv_func_mkstemp_limitations" >&5
23771 $as_echo "$utils_cv_func_mkstemp_limitations" >&6; }
23774 if test $utils_cv_func_mkstemp_limitations = yes; then
23775 case " $LIBOBJS " in
23776 *" mkstemp.$ac_objext "* ) ;;
23777 *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
23781 case " $LIBOBJS " in
23782 *" tempname.$ac_objext "* ) ;;
23783 *) LIBOBJS="$LIBOBJS tempname.$ac_objext"
23788 $as_echo "#define mkstemp rpl_mkstemp" >>confdefs.h
23808 for ac_header in stdint.h
23810 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
23811 if test "x$ac_cv_header_stdint_h" = x""yes; then :
23812 cat >>confdefs.h <<_ACEOF
23813 #define HAVE_STDINT_H 1
23820 for ac_func in __secure_getenv gettimeofday lstat
23822 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23823 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23824 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23825 cat >>confdefs.h <<_ACEOF
23826 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23839 # AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
23841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir accepts only one arg" >&5
23842 $as_echo_n "checking whether mkdir accepts only one arg... " >&6; }
23843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23844 /* end confdefs.h. */
23845 #include <sys/types.h>
23846 #include <sys/stat.h>
23858 if ac_fn_c_try_compile "$LINENO"; then :
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23860 $as_echo "yes" >&6; }
23862 $as_echo "#define MKDIR_TAKES_ONE_ARG /**/" >>confdefs.h
23865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23866 $as_echo "no" >&6; }
23869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
23875 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
23876 if test "${ac_cv_c_bigendian+set}" = set; then :
23877 $as_echo_n "(cached) " >&6
23879 ac_cv_c_bigendian=unknown
23880 # See if we're dealing with a universal compiler.
23881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23882 /* end confdefs.h. */
23883 #ifndef __APPLE_CC__
23884 not a universal capable compiler
23889 if ac_fn_c_try_compile "$LINENO"; then :
23891 # Check for potential -arch flags. It is not universal unless
23892 # there are at least two -arch flags with different values.
23895 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
23896 if test -n "$ac_prev"; then
23898 i?86 | x86_64 | ppc | ppc64)
23899 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
23902 ac_cv_c_bigendian=universal
23908 elif test "x$ac_word" = "x-arch"; then
23913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23914 if test $ac_cv_c_bigendian = unknown; then
23915 # See if sys/param.h defines the BYTE_ORDER macro.
23916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23917 /* end confdefs.h. */
23918 #include <sys/types.h>
23919 #include <sys/param.h>
23924 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
23925 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
23927 bogus endian macros
23934 if ac_fn_c_try_compile "$LINENO"; then :
23935 # It does; now see whether it defined to BIG_ENDIAN or not.
23936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23937 /* end confdefs.h. */
23938 #include <sys/types.h>
23939 #include <sys/param.h>
23944 #if BYTE_ORDER != BIG_ENDIAN
23952 if ac_fn_c_try_compile "$LINENO"; then :
23953 ac_cv_c_bigendian=yes
23955 ac_cv_c_bigendian=no
23957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23961 if test $ac_cv_c_bigendian = unknown; then
23962 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
23963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23964 /* end confdefs.h. */
23965 #include <limits.h>
23970 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
23971 bogus endian macros
23978 if ac_fn_c_try_compile "$LINENO"; then :
23979 # It does; now see whether it defined to _BIG_ENDIAN or not.
23980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23981 /* end confdefs.h. */
23982 #include <limits.h>
23987 #ifndef _BIG_ENDIAN
23995 if ac_fn_c_try_compile "$LINENO"; then :
23996 ac_cv_c_bigendian=yes
23998 ac_cv_c_bigendian=no
24000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24004 if test $ac_cv_c_bigendian = unknown; then
24005 # Compile a test program.
24006 if test "$cross_compiling" = yes; then :
24007 # Try to guess by grepping values from an object file.
24008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24009 /* end confdefs.h. */
24010 short int ascii_mm[] =
24011 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
24012 short int ascii_ii[] =
24013 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
24014 int use_ascii (int i) {
24015 return ascii_mm[i] + ascii_ii[i];
24017 short int ebcdic_ii[] =
24018 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
24019 short int ebcdic_mm[] =
24020 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
24021 int use_ebcdic (int i) {
24022 return ebcdic_mm[i] + ebcdic_ii[i];
24029 return use_ascii (foo) == use_ebcdic (foo);
24034 if ac_fn_c_try_compile "$LINENO"; then :
24035 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
24036 ac_cv_c_bigendian=yes
24038 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
24039 if test "$ac_cv_c_bigendian" = unknown; then
24040 ac_cv_c_bigendian=no
24042 # finding both strings is unlikely to happen, but who knows?
24043 ac_cv_c_bigendian=unknown
24047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24050 /* end confdefs.h. */
24051 $ac_includes_default
24056 /* Are we little or big endian? From Harbison&Steele. */
24060 char c[sizeof (long int)];
24063 return u.c[sizeof (long int) - 1] == 1;
24069 if ac_fn_c_try_run "$LINENO"; then :
24070 ac_cv_c_bigendian=no
24072 ac_cv_c_bigendian=yes
24074 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24075 conftest.$ac_objext conftest.beam conftest.$ac_ext
24080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
24081 $as_echo "$ac_cv_c_bigendian" >&6; }
24082 case $ac_cv_c_bigendian in #(
24084 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
24090 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
24094 as_fn_error $? "unknown endianness
24095 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
24098 for ac_header in byteswap.h linux/compiler.h
24100 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24101 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24102 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
24103 cat >>confdefs.h <<_ACEOF
24104 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24111 for ac_func in getrusage sched_setscheduler pthread_setschedparam
24113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24115 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24116 cat >>confdefs.h <<_ACEOF
24117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24123 for ac_func in sigaction snprintf
24125 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24126 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24127 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
24128 cat >>confdefs.h <<_ACEOF
24129 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24140 LIBUSB_PKG_CONFIG_NAME=''
24141 if test x$req_libusb1 = xyes; then
24146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for USB" >&5
24147 $as_echo_n "checking for USB... " >&6; }
24149 if test -n "$PKG_CONFIG"; then
24150 if test -n "$USB_CFLAGS"; then
24151 pkg_cv_USB_CFLAGS="$USB_CFLAGS"
24153 if test -n "$PKG_CONFIG" && \
24154 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0\""; } >&5
24155 ($PKG_CONFIG --exists --print-errors "libusb-1.0") 2>&5
24157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24158 test $ac_status = 0; }; then
24159 pkg_cv_USB_CFLAGS=`$PKG_CONFIG --cflags "libusb-1.0" 2>/dev/null`
24168 if test x$cross_compiling = xyes
24170 if test -n "$PKG_CONFIG"; then
24171 if test -n "$USB_LIBS"; then
24172 pkg_cv_USB_LIBS="$USB_LIBS"
24174 if test -n "$PKG_CONFIG" && \
24175 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0\""; } >&5
24176 ($PKG_CONFIG --exists --print-errors "libusb-1.0") 2>&5
24178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24179 test $ac_status = 0; }; then
24180 pkg_cv_USB_LIBS=`$PKG_CONFIG --libs --static "libusb-1.0" 2>/dev/null`
24189 for flag in $pkg_cv_USB_LIBS; do
24191 (-L/lib* | -L/usr/lib* ) ;; # ignore
24192 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
24195 pkg_cv_USB_LIBS="$_pkg_tmp"
24197 if test -n "$PKG_CONFIG"; then
24198 if test -n "$USB_LIBS"; then
24199 pkg_cv_USB_LIBS="$USB_LIBS"
24201 if test -n "$PKG_CONFIG" && \
24202 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0\""; } >&5
24203 ($PKG_CONFIG --exists --print-errors "libusb-1.0") 2>&5
24205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24206 test $ac_status = 0; }; then
24207 pkg_cv_USB_LIBS=`$PKG_CONFIG --libs --static "libusb-1.0" 2>/dev/null`
24217 if test -n "$PKG_CONFIG"; then
24218 if test -n "$USB_INCLUDEDIR"; then
24219 pkg_cv_USB_INCLUDEDIR="$USB_INCLUDEDIR"
24221 if test -n "$PKG_CONFIG" && \
24222 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0\""; } >&5
24223 ($PKG_CONFIG --exists --print-errors "libusb-1.0") 2>&5
24225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24226 test $ac_status = 0; }; then
24227 pkg_cv_USB_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "libusb-1.0" 2>/dev/null`
24239 if test $pkg_failed = yes; then
24241 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24242 _pkg_short_errors_supported=yes
24244 _pkg_short_errors_supported=no
24246 if test $_pkg_short_errors_supported = yes; then
24247 USB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libusb-1.0"`
24249 USB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libusb-1.0"`
24251 # Put the nasty error message in config.log where it belongs
24252 echo "$USB_PKG_ERRORS" >&5
24254 as_fn_error $? "Package requirements (libusb-1.0) were not met:
24258 Consider adjusting the PKG_CONFIG_PATH environment variable if you
24259 installed software in a non-standard prefix.
24261 Alternatively, you may set the environment variables USB_CFLAGS
24262 and USB_LIBS to avoid the need to call pkg-config.
24263 See the pkg-config man page for more details.
24265 elif test $pkg_failed = untried; then
24266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24268 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
24269 is in your PATH or set the PKG_CONFIG environment variable to the full
24270 path to pkg-config.
24272 Alternatively, you may set the environment variables USB_CFLAGS
24273 and USB_LIBS to avoid the need to call pkg-config.
24274 See the pkg-config man page for more details.
24276 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24277 See \`config.log' for more details" "$LINENO" 5 ; }
24279 USB_CFLAGS=$pkg_cv_USB_CFLAGS
24280 USB_LIBS=$pkg_cv_USB_LIBS
24281 USB_INCLUDEDIR=$pkg_cv_USB_INCLUDEDIR
24284 for flag in $USB_CFLAGS; do
24286 -I* | -D* | -U*) USB_CPPFLAGS="$USB_CPPFLAGS $flag" ;;
24289 pkg_cv_USB_CPPFLAGS=$USB_CPPFLAGS
24292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24293 $as_echo "yes" >&6; }
24297 usb_header='libusb-1.0/libusb.h'
24298 usb_lib_func='libusb_bulk_transfer'
24299 usb_lib_name='usb-1.0'
24300 LIBUSB_PKG_CONFIG_NAME='libusb-1.0'
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for USB" >&5
24310 $as_echo_n "checking for USB... " >&6; }
24312 if test -n "$PKG_CONFIG"; then
24313 if test -n "$USB_CFLAGS"; then
24314 pkg_cv_USB_CFLAGS="$USB_CFLAGS"
24316 if test -n "$PKG_CONFIG" && \
24317 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb\""; } >&5
24318 ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
24320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24321 test $ac_status = 0; }; then
24322 pkg_cv_USB_CFLAGS=`$PKG_CONFIG --cflags "libusb" 2>/dev/null`
24331 if test x$cross_compiling = xyes
24333 if test -n "$PKG_CONFIG"; then
24334 if test -n "$USB_LIBS"; then
24335 pkg_cv_USB_LIBS="$USB_LIBS"
24337 if test -n "$PKG_CONFIG" && \
24338 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb\""; } >&5
24339 ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
24341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24342 test $ac_status = 0; }; then
24343 pkg_cv_USB_LIBS=`$PKG_CONFIG --libs --static "libusb" 2>/dev/null`
24352 for flag in $pkg_cv_USB_LIBS; do
24354 (-L/lib* | -L/usr/lib* ) ;; # ignore
24355 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
24358 pkg_cv_USB_LIBS="$_pkg_tmp"
24360 if test -n "$PKG_CONFIG"; then
24361 if test -n "$USB_LIBS"; then
24362 pkg_cv_USB_LIBS="$USB_LIBS"
24364 if test -n "$PKG_CONFIG" && \
24365 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb\""; } >&5
24366 ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
24368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24369 test $ac_status = 0; }; then
24370 pkg_cv_USB_LIBS=`$PKG_CONFIG --libs --static "libusb" 2>/dev/null`
24380 if test -n "$PKG_CONFIG"; then
24381 if test -n "$USB_INCLUDEDIR"; then
24382 pkg_cv_USB_INCLUDEDIR="$USB_INCLUDEDIR"
24384 if test -n "$PKG_CONFIG" && \
24385 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb\""; } >&5
24386 ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
24388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24389 test $ac_status = 0; }; then
24390 pkg_cv_USB_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "libusb" 2>/dev/null`
24402 if test $pkg_failed = yes; then
24404 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24405 _pkg_short_errors_supported=yes
24407 _pkg_short_errors_supported=no
24409 if test $_pkg_short_errors_supported = yes; then
24410 USB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libusb"`
24412 USB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libusb"`
24414 # Put the nasty error message in config.log where it belongs
24415 echo "$USB_PKG_ERRORS" >&5
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24418 $as_echo "no" >&6; }
24420 elif test $pkg_failed = untried; then
24423 USB_CFLAGS=$pkg_cv_USB_CFLAGS
24424 USB_LIBS=$pkg_cv_USB_LIBS
24425 USB_INCLUDEDIR=$pkg_cv_USB_INCLUDEDIR
24428 for flag in $USB_CFLAGS; do
24430 -I* | -D* | -U*) USB_CPPFLAGS="$USB_CPPFLAGS $flag" ;;
24433 pkg_cv_USB_CPPFLAGS=$USB_CPPFLAGS
24436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24437 $as_echo "yes" >&6; }
24440 LIBUSB_PKG_CONFIG_NAME='libusb'
24443 if test $libusbok = no; then
24448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for USB" >&5
24449 $as_echo_n "checking for USB... " >&6; }
24451 if test -n "$PKG_CONFIG"; then
24452 if test -n "$USB_CFLAGS"; then
24453 pkg_cv_USB_CFLAGS="$USB_CFLAGS"
24455 if test -n "$PKG_CONFIG" && \
24456 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-legacy\""; } >&5
24457 ($PKG_CONFIG --exists --print-errors "libusb-legacy") 2>&5
24459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24460 test $ac_status = 0; }; then
24461 pkg_cv_USB_CFLAGS=`$PKG_CONFIG --cflags "libusb-legacy" 2>/dev/null`
24470 if test x$cross_compiling = xyes
24472 if test -n "$PKG_CONFIG"; then
24473 if test -n "$USB_LIBS"; then
24474 pkg_cv_USB_LIBS="$USB_LIBS"
24476 if test -n "$PKG_CONFIG" && \
24477 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-legacy\""; } >&5
24478 ($PKG_CONFIG --exists --print-errors "libusb-legacy") 2>&5
24480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24481 test $ac_status = 0; }; then
24482 pkg_cv_USB_LIBS=`$PKG_CONFIG --libs --static "libusb-legacy" 2>/dev/null`
24491 for flag in $pkg_cv_USB_LIBS; do
24493 (-L/lib* | -L/usr/lib* ) ;; # ignore
24494 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
24497 pkg_cv_USB_LIBS="$_pkg_tmp"
24499 if test -n "$PKG_CONFIG"; then
24500 if test -n "$USB_LIBS"; then
24501 pkg_cv_USB_LIBS="$USB_LIBS"
24503 if test -n "$PKG_CONFIG" && \
24504 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-legacy\""; } >&5
24505 ($PKG_CONFIG --exists --print-errors "libusb-legacy") 2>&5
24507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24508 test $ac_status = 0; }; then
24509 pkg_cv_USB_LIBS=`$PKG_CONFIG --libs --static "libusb-legacy" 2>/dev/null`
24519 if test -n "$PKG_CONFIG"; then
24520 if test -n "$USB_INCLUDEDIR"; then
24521 pkg_cv_USB_INCLUDEDIR="$USB_INCLUDEDIR"
24523 if test -n "$PKG_CONFIG" && \
24524 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-legacy\""; } >&5
24525 ($PKG_CONFIG --exists --print-errors "libusb-legacy") 2>&5
24527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24528 test $ac_status = 0; }; then
24529 pkg_cv_USB_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "libusb-legacy" 2>/dev/null`
24541 if test $pkg_failed = yes; then
24543 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24544 _pkg_short_errors_supported=yes
24546 _pkg_short_errors_supported=no
24548 if test $_pkg_short_errors_supported = yes; then
24549 USB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libusb-legacy"`
24551 USB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libusb-legacy"`
24553 # Put the nasty error message in config.log where it belongs
24554 echo "$USB_PKG_ERRORS" >&5
24556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24557 $as_echo "no" >&6; }
24559 elif test $pkg_failed = untried; then
24562 USB_CFLAGS=$pkg_cv_USB_CFLAGS
24563 USB_LIBS=$pkg_cv_USB_LIBS
24564 USB_INCLUDEDIR=$pkg_cv_USB_INCLUDEDIR
24567 for flag in $USB_CFLAGS; do
24569 -I* | -D* | -U*) USB_CPPFLAGS="$USB_CPPFLAGS $flag" ;;
24572 pkg_cv_USB_CPPFLAGS=$USB_CPPFLAGS
24575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24576 $as_echo "yes" >&6; }
24579 LIBUSB_PKG_CONFIG_NAME='libusb-legacy'
24584 usb_lib_func='usb_bulk_write'
24588 if test x$req_libusb1 != xyes || test $have_libusb1 = yes; then
24594 ac_cpp='$CPP $CPPFLAGS'
24595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24599 save_CPPFLAGS="$CPPFLAGS"
24600 if test x$USB_INCLUDEDIR != x; then
24601 USB_INCLUDES="-I$USB_INCLUDEDIR"
24602 CPPFLAGS="$CPPFLAGS $USB_INCLUDES"
24605 for ac_header in $usb_header
24607 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24608 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24609 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
24610 cat >>confdefs.h <<_ACEOF
24611 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24620 CPPFLAGS="$save_CPPFLAGS"
24622 ac_cpp='$CPP $CPPFLAGS'
24623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24628 if test $libusbok = no; then
24629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: USRP requires libusb header '$usb_header' which was not found or was not usable. See http://www.libusb.org" >&5
24630 $as_echo "USRP requires libusb header '$usb_header' which was not found or was not usable. See http://www.libusb.org" >&6; }
24635 ac_cpp='$CPP $CPPFLAGS'
24636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24644 USB_LIBS="$USB_LIBS -lIOKit"
24649 as_ac_Lib=`$as_echo "ac_cv_lib_$usb_lib_name''_$usb_lib_func" | $as_tr_sh`
24650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $usb_lib_func in -l$usb_lib_name" >&5
24651 $as_echo_n "checking for $usb_lib_func in -l$usb_lib_name... " >&6; }
24652 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
24653 $as_echo_n "(cached) " >&6
24655 ac_check_lib_save_LIBS=$LIBS
24656 LIBS="-l$usb_lib_name $LIBS"
24657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24658 /* end confdefs.h. */
24660 /* Override any GCC internal prototype to avoid an error.
24661 Use char because int might match the return type of a GCC
24662 builtin and then its argument prototype would still apply. */
24666 char $usb_lib_func ();
24670 return $usb_lib_func ();
24675 if ac_fn_c_try_link "$LINENO"; then :
24676 eval "$as_ac_Lib=yes"
24678 eval "$as_ac_Lib=no"
24680 rm -f core conftest.err conftest.$ac_objext \
24681 conftest$ac_exeext conftest.$ac_ext
24682 LIBS=$ac_check_lib_save_LIBS
24684 eval ac_res=\$$as_ac_Lib
24685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24686 $as_echo "$ac_res" >&6; }
24687 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
24688 cat >>confdefs.h <<_ACEOF
24689 #define `$as_echo "HAVE_LIB$usb_lib_name" | $as_tr_cpp` 1
24692 LIBS="-l$usb_lib_name $LIBS"
24697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: USRP requires library '$usb_lib_name' with function '$usb_lib_func', which was either not found or was not usable. See http://www.libusb.org" >&5
24698 $as_echo "USRP requires library '$usb_lib_name' with function '$usb_lib_func', which was either not found or was not usable. See http://www.libusb.org" >&6; }
24710 ac_cpp='$CPP $CPPFLAGS'
24711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24717 if test $libusbok = yes; then
24723 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Unable to find dependency libusb." >&5
24724 $as_echo "Unable to find dependency libusb." >&6; }
24730 # Extract the first word of "sdcc", so it can be a program name with args.
24731 set dummy sdcc; ac_word=$2
24732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24733 $as_echo_n "checking for $ac_word... " >&6; }
24734 if test "${ac_cv_prog_XCC+set}" = set; then :
24735 $as_echo_n "(cached) " >&6
24737 if test -n "$XCC"; then
24738 ac_cv_prog_XCC="$XCC" # Let the user override the test.
24740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24741 for as_dir in $PATH
24744 test -z "$as_dir" && as_dir=.
24745 for ac_exec_ext in '' $ac_executable_extensions; do
24746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24747 ac_cv_prog_XCC="sdcc -mmcs51 --no-xinit-opt"
24748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24755 test -z "$ac_cv_prog_XCC" && ac_cv_prog_XCC="no"
24758 XCC=$ac_cv_prog_XCC
24759 if test -n "$XCC"; then
24760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCC" >&5
24761 $as_echo "$XCC" >&6; }
24763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24764 $as_echo "no" >&6; }
24768 # Extract the first word of "asx8051", so it can be a program name with args.
24769 set dummy asx8051; ac_word=$2
24770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24771 $as_echo_n "checking for $ac_word... " >&6; }
24772 if test "${ac_cv_prog_XAS+set}" = set; then :
24773 $as_echo_n "(cached) " >&6
24775 if test -n "$XAS"; then
24776 ac_cv_prog_XAS="$XAS" # Let the user override the test.
24778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24779 for as_dir in $PATH
24782 test -z "$as_dir" && as_dir=.
24783 for ac_exec_ext in '' $ac_executable_extensions; do
24784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24785 ac_cv_prog_XAS="asx8051 -plosgff"
24786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24793 test -z "$ac_cv_prog_XAS" && ac_cv_prog_XAS="no"
24796 XAS=$ac_cv_prog_XAS
24797 if test -n "$XAS"; then
24798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAS" >&5
24799 $as_echo "$XAS" >&6; }
24801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24802 $as_echo "no" >&6; }
24807 if test "$XCC" = "no" -o "$XAS" = "no" ; then
24808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: USRP requires sdcc. sdcc not found. See http://sdcc.sf.net" >&5
24809 $as_echo "USRP requires sdcc. sdcc not found. See http://sdcc.sf.net" >&6; }
24812 sdcc_version_min=2.4.0
24814 sdcc_version=`sdcc --version 2>&1 | \
24815 sed 's/\(SDCC.* \)\([0-9]*\.[0-9]*\.[0-9]*\)\( .*$\)/\2/'`
24817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sdcc_version \"$sdcc_version\"" >&5
24818 $as_echo_n "checking sdcc_version \"$sdcc_version\"... " >&6; }
24820 sdcc_major_version=`echo $sdcc_version | \
24821 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24822 sdcc_minor_version=`echo $sdcc_version | \
24823 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24824 sdcc_micro_version=`echo $sdcc_version | \
24825 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24827 sdcc_major_min=`echo $sdcc_version_min | \
24828 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24829 sdcc_minor_min=`echo $sdcc_version_min | \
24830 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24831 sdcc_micro_min=`echo $sdcc_version_min | \
24832 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24834 sdcc_version_proper=`expr \
24835 "$sdcc_major_version" \> "$sdcc_major_min" \| \
24836 "$sdcc_major_version" \= "$sdcc_major_min" \& \
24837 "$sdcc_minor_version" \> "$sdcc_minor_min" \| \
24838 "$sdcc_major_version" \= "$sdcc_major_min" \& \
24839 "$sdcc_minor_version" \= "$sdcc_minor_min" \& \
24840 "$sdcc_micro_version" \>= "$sdcc_micro_min" `
24842 if test "$sdcc_version_proper" = "1" ; then
24843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sdcc_major_version.$sdcc_minor_version.$sdcc_micro_version" >&5
24844 $as_echo "$sdcc_major_version.$sdcc_minor_version.$sdcc_micro_version" >&6; }
24847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: USRP requires sdcc >= $sdcc_version_min. sdcc not found. See http://sdcc.sf.net" >&5
24848 $as_echo "USRP requires sdcc >= $sdcc_version_min. sdcc not found. See http://sdcc.sf.net" >&6; }
24855 if test $sdccok = yes; then
24858 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Unable to find firmware compiler SDCC." >&5
24859 $as_echo "Unable to find firmware compiler SDCC." >&6; }
24863 if test $passed != with; then
24865 -I\${abs_top_srcdir}/usrp/host/include \
24866 -I\${abs_top_builddir}/usrp/host/include \
24867 -I\${abs_top_srcdir}/usrp/firmware/include"
24868 usrp_LA="\${abs_top_builddir}/usrp/host/lib/libusrp.la"
24871 ac_config_files="$ac_config_files usrp/Makefile usrp/usrp.pc usrp/usrp.iss usrp/doc/Doxyfile usrp/doc/Makefile usrp/doc/other/Makefile usrp/host/Makefile usrp/host/include/Makefile usrp/host/include/usrp/Makefile usrp/host/misc/Makefile usrp/host/lib/Makefile usrp/host/lib/std_paths.h usrp/host/swig/Makefile usrp/host/apps/Makefile usrp/firmware/Makefile usrp/firmware/include/Makefile usrp/firmware/lib/Makefile usrp/firmware/src/Makefile usrp/firmware/src/common/Makefile usrp/firmware/src/usrp2/Makefile usrp/fpga/Makefile usrp/fpga/rbf/Makefile usrp/fpga/rbf/rev2/Makefile usrp/fpga/rbf/rev4/Makefile"
24877 if test $passed = no; then
24878 if test x$enable_usrp = xyes; then
24879 as_fn_error $? "Component usrp has errors; stopping." "$LINENO" 5
24881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component usrp." >&5
24882 $as_echo "Not building component usrp." >&6; }
24885 if test $passed = with; then
24886 with_dirs="$with_dirs usrp"
24888 if test "x${usrp_INCLUDES}" != "x"; then
24889 if test "x$with_INCLUDES" = "x"; then
24890 with_INCLUDES="${usrp_INCLUDES}"
24892 with_INCLUDES="${usrp_INCLUDES}"" ""$with_INCLUDES"
24898 if test "x${usrp_SWIG_INCLUDES}" != "x"; then
24899 if test "x$with_SWIG_INCLUDES" = "x"; then
24900 with_SWIG_INCLUDES="${usrp_SWIG_INCLUDES}"
24902 with_SWIG_INCLUDES="${usrp_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
24904 usrp_SWIG_INCLUDES=
24908 if test "x${usrp_PYDIRPATH}" != "x"; then
24909 if test "x$with_PYDIRPATH" = "x"; then
24910 with_PYDIRPATH="${usrp_PYDIRPATH}"
24912 with_PYDIRPATH="${usrp_PYDIRPATH}"":""$with_PYDIRPATH"
24918 if test "x${usrp_SWIGDIRPATH}" != "x"; then
24919 if test "x$with_SWIGDIRPATH" = "x"; then
24920 with_SWIGDIRPATH="${usrp_SWIGDIRPATH}"
24922 with_SWIGDIRPATH="${usrp_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
24928 if test "x${usrp_LIBDIRPATH}" != "x"; then
24929 if test "x$with_LIBDIRPATH" = "x"; then
24930 with_LIBDIRPATH="${usrp_LIBDIRPATH}"
24932 with_LIBDIRPATH="${usrp_LIBDIRPATH}"":""$with_LIBDIRPATH"
24937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp will be included from a pre-installed library and includes." >&5
24938 $as_echo "Component usrp will be included from a pre-installed library and includes." >&6; }
24942 if test x$enable_usrp != xno; then
24944 build_dirs="$build_dirs usrp"
24945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp passed configuration checks; building." >&5
24946 $as_echo "Component usrp passed configuration checks; building." >&6; }
24949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp passed configuration checks; but not building." >&5
24950 $as_echo "Component usrp passed configuration checks; but not building." >&6; }
24954 if test $passed = no; then
24955 skipped_dirs="$skipped_dirs usrp"
24974 # Check whether --enable-usrp2 was given.
24975 if test "${enable_usrp2+set}" = set; then :
24976 enableval=$enable_usrp2;
24979 enable_usrp2=$enable_all_components
24980 if test x$enable_all_components = xno; then
24989 subdirs="$subdirs usrp2/firmware"
24993 if test $passed != no; then
24994 if test $passed = yes; then
24995 if test x$gruel_skipped = xyes; then
24996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 requires gruel, which is not being built or specified via pre-installed files." >&5
24997 $as_echo "Component usrp2 requires gruel, which is not being built or specified via pre-installed files." >&6; }
25001 if test x$gruel_with = xno; then
25002 as_fn_error $? "Component usrp2 requires gruel to be included as --with-gruel[=arg]" "$LINENO" 5
25008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether host_os is linux*" >&5
25009 $as_echo_n "checking whether host_os is linux*... " >&6; }
25012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25013 $as_echo "yes" >&6; }
25016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25017 $as_echo "no" >&6; }
25018 { $as_echo "$as_me:${as_lineno-$LINENO}: USRP2 currently requires Linux host OS, not found" >&5
25019 $as_echo "$as_me: USRP2 currently requires Linux host OS, not found" >&6;}
25024 if test $passed = yes; then
25025 for ac_header in arpa/inet.h byteswap.h linux/if_packet.h sys/socket.h sys/un.h
25027 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25028 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25029 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25030 cat >>confdefs.h <<_ACEOF
25031 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25038 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "#define __USE_GNU 1
25039 #include <sys/types.h>
25040 #include <sys/socket.h>
25041 #include <sys/un.h>
25043 if test "x$ac_cv_member_struct_msghdr_msg_control" = x""yes; then :
25045 cat >>confdefs.h <<_ACEOF
25046 #define HAVE_STRUCT_MSGHDR_MSG_CONTROL 1
25051 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#define __USE_GNU 1
25052 #include <sys/types.h>
25053 #include <sys/socket.h>
25054 #include <sys/un.h>
25056 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = x""yes; then :
25058 cat >>confdefs.h <<_ACEOF
25059 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
25064 ac_fn_c_check_member "$LINENO" "struct cmsgcred" "cmcred_uid" "ac_cv_member_struct_cmsgcred_cmcred_uid" "#define __USE_GNU 1
25065 #include <sys/types.h>
25066 #include <sys/socket.h>
25067 #include <sys/un.h>
25069 if test "x$ac_cv_member_struct_cmsgcred_cmcred_uid" = x""yes; then :
25071 cat >>confdefs.h <<_ACEOF
25072 #define HAVE_STRUCT_CMSGCRED_CMCRED_UID 1
25077 ac_fn_c_check_member "$LINENO" "struct ucred" "uid" "ac_cv_member_struct_ucred_uid" "#define __USE_GNU 1
25078 #include <sys/types.h>
25079 #include <sys/socket.h>
25080 #include <sys/un.h>
25082 if test "x$ac_cv_member_struct_ucred_uid" = x""yes; then :
25084 cat >>confdefs.h <<_ACEOF
25085 #define HAVE_STRUCT_UCRED_UID 1
25092 if test $passed != with; then
25093 USRP2_INCLUDES="-I\${abs_top_srcdir}/usrp2/host/include \
25094 -I\${abs_top_srcdir}/usrp2/firmware/include"
25095 USRP2_LA="\${abs_top_builddir}/usrp2/host/lib/libusrp2.la"
25101 ac_config_files="$ac_config_files usrp2/Makefile usrp2/host/Makefile usrp2/host/usrp2.pc usrp2/host/include/Makefile usrp2/host/include/usrp2/Makefile usrp2/host/lib/Makefile usrp2/host/apps/Makefile"
25107 if test $passed = no; then
25108 if test x$enable_usrp2 = xyes; then
25109 as_fn_error $? "Component usrp2 has errors; stopping." "$LINENO" 5
25111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component usrp2." >&5
25112 $as_echo "Not building component usrp2." >&6; }
25115 if test $passed = with; then
25116 with_dirs="$with_dirs usrp2"
25118 if test "x${usrp2_INCLUDES}" != "x"; then
25119 if test "x$with_INCLUDES" = "x"; then
25120 with_INCLUDES="${usrp2_INCLUDES}"
25122 with_INCLUDES="${usrp2_INCLUDES}"" ""$with_INCLUDES"
25128 if test "x${usrp2_SWIG_INCLUDES}" != "x"; then
25129 if test "x$with_SWIG_INCLUDES" = "x"; then
25130 with_SWIG_INCLUDES="${usrp2_SWIG_INCLUDES}"
25132 with_SWIG_INCLUDES="${usrp2_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
25134 usrp2_SWIG_INCLUDES=
25138 if test "x${usrp2_PYDIRPATH}" != "x"; then
25139 if test "x$with_PYDIRPATH" = "x"; then
25140 with_PYDIRPATH="${usrp2_PYDIRPATH}"
25142 with_PYDIRPATH="${usrp2_PYDIRPATH}"":""$with_PYDIRPATH"
25148 if test "x${usrp2_SWIGDIRPATH}" != "x"; then
25149 if test "x$with_SWIGDIRPATH" = "x"; then
25150 with_SWIGDIRPATH="${usrp2_SWIGDIRPATH}"
25152 with_SWIGDIRPATH="${usrp2_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
25158 if test "x${usrp2_LIBDIRPATH}" != "x"; then
25159 if test "x$with_LIBDIRPATH" = "x"; then
25160 with_LIBDIRPATH="${usrp2_LIBDIRPATH}"
25162 with_LIBDIRPATH="${usrp2_LIBDIRPATH}"":""$with_LIBDIRPATH"
25167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 will be included from a pre-installed library and includes." >&5
25168 $as_echo "Component usrp2 will be included from a pre-installed library and includes." >&6; }
25172 if test x$enable_usrp2 != xno; then
25174 build_dirs="$build_dirs usrp2"
25175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 passed configuration checks; building." >&5
25176 $as_echo "Component usrp2 passed configuration checks; building." >&6; }
25179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 passed configuration checks; but not building." >&5
25180 $as_echo "Component usrp2 passed configuration checks; but not building." >&6; }
25184 if test $passed = no; then
25185 skipped_dirs="$skipped_dirs usrp2"
25202 # Check whether --enable-gr-usrp was given.
25203 if test "${enable_gr_usrp+set}" = set; then :
25204 enableval=$enable_gr_usrp;
25207 enable_gr_usrp=$enable_all_components
25208 if test x$enable_all_components = xno; then
25218 if test $passed != no; then
25219 if test $passed = yes; then
25220 if test x$usrp_skipped = xyes; then
25221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-usrp requires usrp, which is not being built or specified via pre-installed files." >&5
25222 $as_echo "Component gr-usrp requires usrp, which is not being built or specified via pre-installed files." >&6; }
25226 if test x$usrp_with = xno; then
25227 as_fn_error $? "Component gr-usrp requires usrp to be included as --with-usrp[=arg]" "$LINENO" 5
25233 if test $passed != no; then
25234 if test $passed = yes; then
25235 if test x$gnuradio_core_skipped = xyes; then
25236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-usrp requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
25237 $as_echo "Component gr-usrp requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
25241 if test x$gnuradio_core_with = xno; then
25242 as_fn_error $? "Component gr-usrp requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
25248 ac_config_files="$ac_config_files gr-usrp/Makefile gr-usrp/gnuradio-usrp.pc gr-usrp/src/Makefile gr-usrp/src/run_tests gr-usrp/apps/Makefile"
25254 if test $passed = no; then
25255 if test x$enable_gr_usrp = xyes; then
25256 as_fn_error $? "Component gr-usrp has errors; stopping." "$LINENO" 5
25258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-usrp." >&5
25259 $as_echo "Not building component gr-usrp." >&6; }
25262 if test $passed = with; then
25263 with_dirs="$with_dirs gr-usrp"
25265 if test "x${gr_usrp_INCLUDES}" != "x"; then
25266 if test "x$with_INCLUDES" = "x"; then
25267 with_INCLUDES="${gr_usrp_INCLUDES}"
25269 with_INCLUDES="${gr_usrp_INCLUDES}"" ""$with_INCLUDES"
25275 if test "x${gr_usrp_SWIG_INCLUDES}" != "x"; then
25276 if test "x$with_SWIG_INCLUDES" = "x"; then
25277 with_SWIG_INCLUDES="${gr_usrp_SWIG_INCLUDES}"
25279 with_SWIG_INCLUDES="${gr_usrp_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
25281 gr_usrp_SWIG_INCLUDES=
25285 if test "x${gr_usrp_PYDIRPATH}" != "x"; then
25286 if test "x$with_PYDIRPATH" = "x"; then
25287 with_PYDIRPATH="${gr_usrp_PYDIRPATH}"
25289 with_PYDIRPATH="${gr_usrp_PYDIRPATH}"":""$with_PYDIRPATH"
25295 if test "x${gr_usrp_SWIGDIRPATH}" != "x"; then
25296 if test "x$with_SWIGDIRPATH" = "x"; then
25297 with_SWIGDIRPATH="${gr_usrp_SWIGDIRPATH}"
25299 with_SWIGDIRPATH="${gr_usrp_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
25301 gr_usrp_SWIGDIRPATH=
25305 if test "x${gr_usrp_LIBDIRPATH}" != "x"; then
25306 if test "x$with_LIBDIRPATH" = "x"; then
25307 with_LIBDIRPATH="${gr_usrp_LIBDIRPATH}"
25309 with_LIBDIRPATH="${gr_usrp_LIBDIRPATH}"":""$with_LIBDIRPATH"
25311 gr_usrp_LIBDIRPATH=
25314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-usrp will be included from a pre-installed library and includes." >&5
25315 $as_echo "Component gr-usrp will be included from a pre-installed library and includes." >&6; }
25319 if test x$enable_gr_usrp != xno; then
25320 ac_config_commands="$ac_config_commands run_tests_usrp"
25323 build_dirs="$build_dirs gr-usrp"
25324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-usrp passed configuration checks; building." >&5
25325 $as_echo "Component gr-usrp passed configuration checks; building." >&6; }
25328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-usrp passed configuration checks; but not building." >&5
25329 $as_echo "Component gr-usrp passed configuration checks; but not building." >&6; }
25333 if test $passed = no; then
25334 skipped_dirs="$skipped_dirs gr-usrp"
25335 gr_usrp_skipped=yes
25350 # Check whether --enable-gr-usrp2 was given.
25351 if test "${enable_gr_usrp2+set}" = set; then :
25352 enableval=$enable_gr_usrp2;
25355 enable_gr_usrp2=$enable_all_components
25356 if test x$enable_all_components = xno; then
25366 if test $passed != no; then
25367 if test $passed = yes; then
25368 if test x$usrp2_skipped = xyes; then
25369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-usrp2 requires usrp2, which is not being built or specified via pre-installed files." >&5
25370 $as_echo "Component gr-usrp2 requires usrp2, which is not being built or specified via pre-installed files." >&6; }
25374 if test x$usrp2_with = xno; then
25375 as_fn_error $? "Component gr-usrp2 requires usrp2 to be included as --with-usrp2[=arg]" "$LINENO" 5
25381 if test $passed != no; then
25382 if test $passed = yes; then
25383 if test x$gnuradio_core_skipped = xyes; then
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-usrp2 requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
25385 $as_echo "Component gr-usrp2 requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
25389 if test x$gnuradio_core_with = xno; then
25390 as_fn_error $? "Component gr-usrp2 requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
25396 ac_config_files="$ac_config_files gr-usrp2/Makefile gr-usrp2/gnuradio-usrp2.pc gr-usrp2/src/Makefile gr-usrp2/src/run_tests"
25402 if test $passed = no; then
25403 if test x$enable_gr_usrp2 = xyes; then
25404 as_fn_error $? "Component gr-usrp2 has errors; stopping." "$LINENO" 5
25406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-usrp2." >&5
25407 $as_echo "Not building component gr-usrp2." >&6; }
25410 if test $passed = with; then
25411 with_dirs="$with_dirs gr-usrp2"
25413 if test "x${gr_usrp2_INCLUDES}" != "x"; then
25414 if test "x$with_INCLUDES" = "x"; then
25415 with_INCLUDES="${gr_usrp2_INCLUDES}"
25417 with_INCLUDES="${gr_usrp2_INCLUDES}"" ""$with_INCLUDES"
25423 if test "x${gr_usrp2_SWIG_INCLUDES}" != "x"; then
25424 if test "x$with_SWIG_INCLUDES" = "x"; then
25425 with_SWIG_INCLUDES="${gr_usrp2_SWIG_INCLUDES}"
25427 with_SWIG_INCLUDES="${gr_usrp2_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
25429 gr_usrp2_SWIG_INCLUDES=
25433 if test "x${gr_usrp2_PYDIRPATH}" != "x"; then
25434 if test "x$with_PYDIRPATH" = "x"; then
25435 with_PYDIRPATH="${gr_usrp2_PYDIRPATH}"
25437 with_PYDIRPATH="${gr_usrp2_PYDIRPATH}"":""$with_PYDIRPATH"
25439 gr_usrp2_PYDIRPATH=
25443 if test "x${gr_usrp2_SWIGDIRPATH}" != "x"; then
25444 if test "x$with_SWIGDIRPATH" = "x"; then
25445 with_SWIGDIRPATH="${gr_usrp2_SWIGDIRPATH}"
25447 with_SWIGDIRPATH="${gr_usrp2_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
25449 gr_usrp2_SWIGDIRPATH=
25453 if test "x${gr_usrp2_LIBDIRPATH}" != "x"; then
25454 if test "x$with_LIBDIRPATH" = "x"; then
25455 with_LIBDIRPATH="${gr_usrp2_LIBDIRPATH}"
25457 with_LIBDIRPATH="${gr_usrp2_LIBDIRPATH}"":""$with_LIBDIRPATH"
25459 gr_usrp2_LIBDIRPATH=
25462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-usrp2 will be included from a pre-installed library and includes." >&5
25463 $as_echo "Component gr-usrp2 will be included from a pre-installed library and includes." >&6; }
25467 if test x$enable_gr_usrp2 != xno; then
25468 ac_config_commands="$ac_config_commands run_tests_usrp2"
25471 build_dirs="$build_dirs gr-usrp2"
25472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-usrp2 passed configuration checks; building." >&5
25473 $as_echo "Component gr-usrp2 passed configuration checks; building." >&6; }
25476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-usrp2 passed configuration checks; but not building." >&5
25477 $as_echo "Component gr-usrp2 passed configuration checks; but not building." >&6; }
25481 if test $passed = no; then
25482 skipped_dirs="$skipped_dirs gr-usrp2"
25483 gr_usrp2_skipped=yes
25485 gr_usrp2_skipped=no
25499 # Check whether --enable-gr-gcell was given.
25500 if test "${enable_gr_gcell+set}" = set; then :
25501 enableval=$enable_gr_gcell;
25504 enable_gr_gcell=$enable_all_components
25505 if test x$enable_all_components = xno; then
25515 if test $passed != no; then
25516 if test $passed = yes; then
25517 if test x$gcell_skipped = xyes; then
25518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gcell requires gcell, which is not being built or specified via pre-installed files." >&5
25519 $as_echo "Component gr-gcell requires gcell, which is not being built or specified via pre-installed files." >&6; }
25523 if test x$gcell_with = xno; then
25524 as_fn_error $? "Component gr-gcell requires gcell to be included as --with-gcell[=arg]" "$LINENO" 5
25530 if test $passed != no; then
25531 if test $passed = yes; then
25532 if test x$gnuradio_core_skipped = xyes; then
25533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gcell requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
25534 $as_echo "Component gr-gcell requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
25538 if test x$gnuradio_core_with = xno; then
25539 as_fn_error $? "Component gr-gcell requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
25545 ac_config_files="$ac_config_files gr-gcell/Makefile gr-gcell/src/Makefile gr-gcell/src/examples/Makefile gr-gcell/src/run_tests"
25551 if test $passed = no; then
25552 if test x$enable_gr_gcell = xyes; then
25553 as_fn_error $? "Component gr-gcell has errors; stopping." "$LINENO" 5
25555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-gcell." >&5
25556 $as_echo "Not building component gr-gcell." >&6; }
25559 if test $passed = with; then
25560 with_dirs="$with_dirs gr-gcell"
25562 if test "x${gr_gcell_INCLUDES}" != "x"; then
25563 if test "x$with_INCLUDES" = "x"; then
25564 with_INCLUDES="${gr_gcell_INCLUDES}"
25566 with_INCLUDES="${gr_gcell_INCLUDES}"" ""$with_INCLUDES"
25572 if test "x${gr_gcell_SWIG_INCLUDES}" != "x"; then
25573 if test "x$with_SWIG_INCLUDES" = "x"; then
25574 with_SWIG_INCLUDES="${gr_gcell_SWIG_INCLUDES}"
25576 with_SWIG_INCLUDES="${gr_gcell_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
25578 gr_gcell_SWIG_INCLUDES=
25582 if test "x${gr_gcell_PYDIRPATH}" != "x"; then
25583 if test "x$with_PYDIRPATH" = "x"; then
25584 with_PYDIRPATH="${gr_gcell_PYDIRPATH}"
25586 with_PYDIRPATH="${gr_gcell_PYDIRPATH}"":""$with_PYDIRPATH"
25588 gr_gcell_PYDIRPATH=
25592 if test "x${gr_gcell_SWIGDIRPATH}" != "x"; then
25593 if test "x$with_SWIGDIRPATH" = "x"; then
25594 with_SWIGDIRPATH="${gr_gcell_SWIGDIRPATH}"
25596 with_SWIGDIRPATH="${gr_gcell_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
25598 gr_gcell_SWIGDIRPATH=
25602 if test "x${gr_gcell_LIBDIRPATH}" != "x"; then
25603 if test "x$with_LIBDIRPATH" = "x"; then
25604 with_LIBDIRPATH="${gr_gcell_LIBDIRPATH}"
25606 with_LIBDIRPATH="${gr_gcell_LIBDIRPATH}"":""$with_LIBDIRPATH"
25608 gr_gcell_LIBDIRPATH=
25611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gcell will be included from a pre-installed library and includes." >&5
25612 $as_echo "Component gr-gcell will be included from a pre-installed library and includes." >&6; }
25616 if test x$enable_gr_gcell != xno; then
25617 ac_config_commands="$ac_config_commands run_tests_gcell"
25620 build_dirs="$build_dirs gr-gcell"
25621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gcell passed configuration checks; building." >&5
25622 $as_echo "Component gr-gcell passed configuration checks; building." >&6; }
25625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gcell passed configuration checks; but not building." >&5
25626 $as_echo "Component gr-gcell passed configuration checks; but not building." >&6; }
25630 if test $passed = no; then
25631 skipped_dirs="$skipped_dirs gr-gcell"
25632 gr_gcell_skipped=yes
25634 gr_gcell_skipped=no
25647 # Check whether --enable-gr-msdd6000 was given.
25648 if test "${enable_gr_msdd6000+set}" = set; then :
25649 enableval=$enable_gr_msdd6000;
25652 enable_gr_msdd6000=$enable_all_components
25653 if test x$enable_all_components = xno; then
25662 ac_config_files="$ac_config_files gr-msdd6000/Makefile gr-msdd6000/gnuradio-msdd6000.pc gr-msdd6000/src/Makefile"
25666 if test $passed != no; then
25667 if test $passed = yes; then
25668 if test x$gnuradio_core_skipped = xyes; then
25669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-msdd6000 requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
25670 $as_echo "Component gr-msdd6000 requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
25674 if test x$gnuradio_core_with = xno; then
25675 as_fn_error $? "Component gr-msdd6000 requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
25681 for ac_header in netinet/in.h arpa/inet.h sys/socket.h netdb.h
25683 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25684 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25685 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25686 cat >>confdefs.h <<_ACEOF
25687 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25699 gr_msdd6000_with=no
25700 if test $passed = no; then
25701 if test x$enable_gr_msdd6000 = xyes; then
25702 as_fn_error $? "Component gr-msdd6000 has errors; stopping." "$LINENO" 5
25704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-msdd6000." >&5
25705 $as_echo "Not building component gr-msdd6000." >&6; }
25708 if test $passed = with; then
25709 with_dirs="$with_dirs gr-msdd6000"
25711 if test "x${gr_msdd6000_INCLUDES}" != "x"; then
25712 if test "x$with_INCLUDES" = "x"; then
25713 with_INCLUDES="${gr_msdd6000_INCLUDES}"
25715 with_INCLUDES="${gr_msdd6000_INCLUDES}"" ""$with_INCLUDES"
25717 gr_msdd6000_INCLUDES=
25721 if test "x${gr_msdd6000_SWIG_INCLUDES}" != "x"; then
25722 if test "x$with_SWIG_INCLUDES" = "x"; then
25723 with_SWIG_INCLUDES="${gr_msdd6000_SWIG_INCLUDES}"
25725 with_SWIG_INCLUDES="${gr_msdd6000_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
25727 gr_msdd6000_SWIG_INCLUDES=
25731 if test "x${gr_msdd6000_PYDIRPATH}" != "x"; then
25732 if test "x$with_PYDIRPATH" = "x"; then
25733 with_PYDIRPATH="${gr_msdd6000_PYDIRPATH}"
25735 with_PYDIRPATH="${gr_msdd6000_PYDIRPATH}"":""$with_PYDIRPATH"
25737 gr_msdd6000_PYDIRPATH=
25741 if test "x${gr_msdd6000_SWIGDIRPATH}" != "x"; then
25742 if test "x$with_SWIGDIRPATH" = "x"; then
25743 with_SWIGDIRPATH="${gr_msdd6000_SWIGDIRPATH}"
25745 with_SWIGDIRPATH="${gr_msdd6000_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
25747 gr_msdd6000_SWIGDIRPATH=
25751 if test "x${gr_msdd6000_LIBDIRPATH}" != "x"; then
25752 if test "x$with_LIBDIRPATH" = "x"; then
25753 with_LIBDIRPATH="${gr_msdd6000_LIBDIRPATH}"
25755 with_LIBDIRPATH="${gr_msdd6000_LIBDIRPATH}"":""$with_LIBDIRPATH"
25757 gr_msdd6000_LIBDIRPATH=
25760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-msdd6000 will be included from a pre-installed library and includes." >&5
25761 $as_echo "Component gr-msdd6000 will be included from a pre-installed library and includes." >&6; }
25762 gr_msdd6000_with=yes
25764 gr_msdd6000_LDFLAG=
25765 if test x$enable_gr_msdd6000 != xno; then
25767 build_dirs="$build_dirs gr-msdd6000"
25768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-msdd6000 passed configuration checks; building." >&5
25769 $as_echo "Component gr-msdd6000 passed configuration checks; building." >&6; }
25772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-msdd6000 passed configuration checks; but not building." >&5
25773 $as_echo "Component gr-msdd6000 passed configuration checks; but not building." >&6; }
25777 if test $passed = no; then
25778 skipped_dirs="$skipped_dirs gr-msdd6000"
25779 gr_msdd6000_skipped=yes
25781 gr_msdd6000_skipped=no
25795 # Check whether --enable-gr-audio-alsa was given.
25796 if test "${enable_gr_audio_alsa+set}" = set; then :
25797 enableval=$enable_gr_audio_alsa;
25800 enable_gr_audio_alsa=$enable_all_components
25801 if test x$enable_all_components = xno; then
25811 if test $passed != no; then
25812 if test $passed = yes; then
25813 if test x$gnuradio_core_skipped = xyes; then
25814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-alsa requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
25815 $as_echo "Component gr-audio-alsa requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
25819 if test x$gnuradio_core_with = xno; then
25820 as_fn_error $? "Component gr-audio-alsa requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
25826 if test $passed = yes; then
25831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
25832 $as_echo_n "checking for ALSA... " >&6; }
25834 if test -n "$PKG_CONFIG"; then
25835 if test -n "$ALSA_CFLAGS"; then
25836 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
25838 if test -n "$PKG_CONFIG" && \
25839 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9\""; } >&5
25840 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9") 2>&5
25842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25843 test $ac_status = 0; }; then
25844 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 0.9" 2>/dev/null`
25853 if test x$cross_compiling = xyes
25855 if test -n "$PKG_CONFIG"; then
25856 if test -n "$ALSA_LIBS"; then
25857 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
25859 if test -n "$PKG_CONFIG" && \
25860 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9\""; } >&5
25861 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9") 2>&5
25863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25864 test $ac_status = 0; }; then
25865 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs --static "alsa >= 0.9" 2>/dev/null`
25874 for flag in $pkg_cv_ALSA_LIBS; do
25876 (-L/lib* | -L/usr/lib* ) ;; # ignore
25877 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
25880 pkg_cv_ALSA_LIBS="$_pkg_tmp"
25882 if test -n "$PKG_CONFIG"; then
25883 if test -n "$ALSA_LIBS"; then
25884 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
25886 if test -n "$PKG_CONFIG" && \
25887 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9\""; } >&5
25888 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9") 2>&5
25890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25891 test $ac_status = 0; }; then
25892 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs --static "alsa >= 0.9" 2>/dev/null`
25902 if test -n "$PKG_CONFIG"; then
25903 if test -n "$ALSA_INCLUDEDIR"; then
25904 pkg_cv_ALSA_INCLUDEDIR="$ALSA_INCLUDEDIR"
25906 if test -n "$PKG_CONFIG" && \
25907 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9\""; } >&5
25908 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9") 2>&5
25910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25911 test $ac_status = 0; }; then
25912 pkg_cv_ALSA_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "alsa >= 0.9" 2>/dev/null`
25924 if test $pkg_failed = yes; then
25926 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25927 _pkg_short_errors_supported=yes
25929 _pkg_short_errors_supported=no
25931 if test $_pkg_short_errors_supported = yes; then
25932 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "alsa >= 0.9"`
25934 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa >= 0.9"`
25936 # Put the nasty error message in config.log where it belongs
25937 echo "$ALSA_PKG_ERRORS" >&5
25939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25940 $as_echo "no" >&6; }
25941 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-alsa requires package alsa, not found." >&5
25942 $as_echo "gr-audio-alsa requires package alsa, not found." >&6; }
25943 elif test $pkg_failed = untried; then
25944 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-alsa requires package alsa, not found." >&5
25945 $as_echo "gr-audio-alsa requires package alsa, not found." >&6; }
25947 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
25948 ALSA_LIBS=$pkg_cv_ALSA_LIBS
25949 ALSA_INCLUDEDIR=$pkg_cv_ALSA_INCLUDEDIR
25952 for flag in $ALSA_CFLAGS; do
25954 -I* | -D* | -U*) ALSA_CPPFLAGS="$ALSA_CPPFLAGS $flag" ;;
25957 pkg_cv_ALSA_CPPFLAGS=$ALSA_CPPFLAGS
25960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25961 $as_echo "yes" >&6; }
25966 ac_config_files="$ac_config_files gr-audio-alsa/Makefile gr-audio-alsa/gnuradio-audio-alsa.pc gr-audio-alsa/src/Makefile gr-audio-alsa/src/run_tests"
25971 gr_audio_alsa_with=no
25972 if test $passed = no; then
25973 if test x$enable_gr_audio_alsa = xyes; then
25974 as_fn_error $? "Component gr-audio-alsa has errors; stopping." "$LINENO" 5
25976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-audio-alsa." >&5
25977 $as_echo "Not building component gr-audio-alsa." >&6; }
25980 if test $passed = with; then
25981 with_dirs="$with_dirs gr-audio-alsa"
25983 if test "x${gr_audio_alsa_INCLUDES}" != "x"; then
25984 if test "x$with_INCLUDES" = "x"; then
25985 with_INCLUDES="${gr_audio_alsa_INCLUDES}"
25987 with_INCLUDES="${gr_audio_alsa_INCLUDES}"" ""$with_INCLUDES"
25989 gr_audio_alsa_INCLUDES=
25993 if test "x${gr_audio_alsa_SWIG_INCLUDES}" != "x"; then
25994 if test "x$with_SWIG_INCLUDES" = "x"; then
25995 with_SWIG_INCLUDES="${gr_audio_alsa_SWIG_INCLUDES}"
25997 with_SWIG_INCLUDES="${gr_audio_alsa_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
25999 gr_audio_alsa_SWIG_INCLUDES=
26003 if test "x${gr_audio_alsa_PYDIRPATH}" != "x"; then
26004 if test "x$with_PYDIRPATH" = "x"; then
26005 with_PYDIRPATH="${gr_audio_alsa_PYDIRPATH}"
26007 with_PYDIRPATH="${gr_audio_alsa_PYDIRPATH}"":""$with_PYDIRPATH"
26009 gr_audio_alsa_PYDIRPATH=
26013 if test "x${gr_audio_alsa_SWIGDIRPATH}" != "x"; then
26014 if test "x$with_SWIGDIRPATH" = "x"; then
26015 with_SWIGDIRPATH="${gr_audio_alsa_SWIGDIRPATH}"
26017 with_SWIGDIRPATH="${gr_audio_alsa_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
26019 gr_audio_alsa_SWIGDIRPATH=
26023 if test "x${gr_audio_alsa_LIBDIRPATH}" != "x"; then
26024 if test "x$with_LIBDIRPATH" = "x"; then
26025 with_LIBDIRPATH="${gr_audio_alsa_LIBDIRPATH}"
26027 with_LIBDIRPATH="${gr_audio_alsa_LIBDIRPATH}"":""$with_LIBDIRPATH"
26029 gr_audio_alsa_LIBDIRPATH=
26032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-alsa will be included from a pre-installed library and includes." >&5
26033 $as_echo "Component gr-audio-alsa will be included from a pre-installed library and includes." >&6; }
26034 gr_audio_alsa_with=yes
26036 gr_audio_alsa_LDFLAG=
26037 if test x$enable_gr_audio_alsa != xno; then
26038 ac_config_commands="$ac_config_commands run_tests_alsa"
26041 build_dirs="$build_dirs gr-audio-alsa"
26042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-alsa passed configuration checks; building." >&5
26043 $as_echo "Component gr-audio-alsa passed configuration checks; building." >&6; }
26046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-alsa passed configuration checks; but not building." >&5
26047 $as_echo "Component gr-audio-alsa passed configuration checks; but not building." >&6; }
26051 if test $passed = no; then
26052 skipped_dirs="$skipped_dirs gr-audio-alsa"
26053 gr_audio_alsa_skipped=yes
26055 gr_audio_alsa_skipped=no
26069 # Check whether --enable-gr-audio-jack was given.
26070 if test "${enable_gr_audio_jack+set}" = set; then :
26071 enableval=$enable_gr_audio_jack;
26074 enable_gr_audio_jack=$enable_all_components
26075 if test x$enable_all_components = xno; then
26085 if test $passed != no; then
26086 if test $passed = yes; then
26087 if test x$gnuradio_core_skipped = xyes; then
26088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-jack requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
26089 $as_echo "Component gr-audio-jack requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
26093 if test x$gnuradio_core_with = xno; then
26094 as_fn_error $? "Component gr-audio-jack requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
26100 if test $passed = yes; then
26105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5
26106 $as_echo_n "checking for JACK... " >&6; }
26108 if test -n "$PKG_CONFIG"; then
26109 if test -n "$JACK_CFLAGS"; then
26110 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
26112 if test -n "$PKG_CONFIG" && \
26113 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.8\""; } >&5
26114 ($PKG_CONFIG --exists --print-errors "jack >= 0.8") 2>&5
26116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26117 test $ac_status = 0; }; then
26118 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.8" 2>/dev/null`
26127 if test x$cross_compiling = xyes
26129 if test -n "$PKG_CONFIG"; then
26130 if test -n "$JACK_LIBS"; then
26131 pkg_cv_JACK_LIBS="$JACK_LIBS"
26133 if test -n "$PKG_CONFIG" && \
26134 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.8\""; } >&5
26135 ($PKG_CONFIG --exists --print-errors "jack >= 0.8") 2>&5
26137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26138 test $ac_status = 0; }; then
26139 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs --static "jack >= 0.8" 2>/dev/null`
26148 for flag in $pkg_cv_JACK_LIBS; do
26150 (-L/lib* | -L/usr/lib* ) ;; # ignore
26151 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
26154 pkg_cv_JACK_LIBS="$_pkg_tmp"
26156 if test -n "$PKG_CONFIG"; then
26157 if test -n "$JACK_LIBS"; then
26158 pkg_cv_JACK_LIBS="$JACK_LIBS"
26160 if test -n "$PKG_CONFIG" && \
26161 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.8\""; } >&5
26162 ($PKG_CONFIG --exists --print-errors "jack >= 0.8") 2>&5
26164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26165 test $ac_status = 0; }; then
26166 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs --static "jack >= 0.8" 2>/dev/null`
26176 if test -n "$PKG_CONFIG"; then
26177 if test -n "$JACK_INCLUDEDIR"; then
26178 pkg_cv_JACK_INCLUDEDIR="$JACK_INCLUDEDIR"
26180 if test -n "$PKG_CONFIG" && \
26181 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.8\""; } >&5
26182 ($PKG_CONFIG --exists --print-errors "jack >= 0.8") 2>&5
26184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26185 test $ac_status = 0; }; then
26186 pkg_cv_JACK_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "jack >= 0.8" 2>/dev/null`
26198 if test $pkg_failed = yes; then
26200 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26201 _pkg_short_errors_supported=yes
26203 _pkg_short_errors_supported=no
26205 if test $_pkg_short_errors_supported = yes; then
26206 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "jack >= 0.8"`
26208 JACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "jack >= 0.8"`
26210 # Put the nasty error message in config.log where it belongs
26211 echo "$JACK_PKG_ERRORS" >&5
26213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26214 $as_echo "no" >&6; }
26215 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-jack requires package jack, not found." >&5
26216 $as_echo "gr-audio-jack requires package jack, not found." >&6; }
26217 elif test $pkg_failed = untried; then
26218 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-jack requires package jack, not found." >&5
26219 $as_echo "gr-audio-jack requires package jack, not found." >&6; }
26221 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
26222 JACK_LIBS=$pkg_cv_JACK_LIBS
26223 JACK_INCLUDEDIR=$pkg_cv_JACK_INCLUDEDIR
26226 for flag in $JACK_CFLAGS; do
26228 -I* | -D* | -U*) JACK_CPPFLAGS="$JACK_CPPFLAGS $flag" ;;
26231 pkg_cv_JACK_CPPFLAGS=$JACK_CPPFLAGS
26234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26235 $as_echo "yes" >&6; }
26240 ac_config_files="$ac_config_files gr-audio-jack/Makefile gr-audio-jack/gnuradio-audio-jack.pc gr-audio-jack/src/Makefile gr-audio-jack/src/run_tests"
26245 gr_audio_jack_with=no
26246 if test $passed = no; then
26247 if test x$enable_gr_audio_jack = xyes; then
26248 as_fn_error $? "Component gr-audio-jack has errors; stopping." "$LINENO" 5
26250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-audio-jack." >&5
26251 $as_echo "Not building component gr-audio-jack." >&6; }
26254 if test $passed = with; then
26255 with_dirs="$with_dirs gr-audio-jack"
26257 if test "x${gr_audio_jack_INCLUDES}" != "x"; then
26258 if test "x$with_INCLUDES" = "x"; then
26259 with_INCLUDES="${gr_audio_jack_INCLUDES}"
26261 with_INCLUDES="${gr_audio_jack_INCLUDES}"" ""$with_INCLUDES"
26263 gr_audio_jack_INCLUDES=
26267 if test "x${gr_audio_jack_SWIG_INCLUDES}" != "x"; then
26268 if test "x$with_SWIG_INCLUDES" = "x"; then
26269 with_SWIG_INCLUDES="${gr_audio_jack_SWIG_INCLUDES}"
26271 with_SWIG_INCLUDES="${gr_audio_jack_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
26273 gr_audio_jack_SWIG_INCLUDES=
26277 if test "x${gr_audio_jack_PYDIRPATH}" != "x"; then
26278 if test "x$with_PYDIRPATH" = "x"; then
26279 with_PYDIRPATH="${gr_audio_jack_PYDIRPATH}"
26281 with_PYDIRPATH="${gr_audio_jack_PYDIRPATH}"":""$with_PYDIRPATH"
26283 gr_audio_jack_PYDIRPATH=
26287 if test "x${gr_audio_jack_SWIGDIRPATH}" != "x"; then
26288 if test "x$with_SWIGDIRPATH" = "x"; then
26289 with_SWIGDIRPATH="${gr_audio_jack_SWIGDIRPATH}"
26291 with_SWIGDIRPATH="${gr_audio_jack_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
26293 gr_audio_jack_SWIGDIRPATH=
26297 if test "x${gr_audio_jack_LIBDIRPATH}" != "x"; then
26298 if test "x$with_LIBDIRPATH" = "x"; then
26299 with_LIBDIRPATH="${gr_audio_jack_LIBDIRPATH}"
26301 with_LIBDIRPATH="${gr_audio_jack_LIBDIRPATH}"":""$with_LIBDIRPATH"
26303 gr_audio_jack_LIBDIRPATH=
26306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-jack will be included from a pre-installed library and includes." >&5
26307 $as_echo "Component gr-audio-jack will be included from a pre-installed library and includes." >&6; }
26308 gr_audio_jack_with=yes
26310 gr_audio_jack_LDFLAG=
26311 if test x$enable_gr_audio_jack != xno; then
26312 ac_config_commands="$ac_config_commands run_tests_jack"
26315 build_dirs="$build_dirs gr-audio-jack"
26316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-jack passed configuration checks; building." >&5
26317 $as_echo "Component gr-audio-jack passed configuration checks; building." >&6; }
26320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-jack passed configuration checks; but not building." >&5
26321 $as_echo "Component gr-audio-jack passed configuration checks; but not building." >&6; }
26325 if test $passed = no; then
26326 skipped_dirs="$skipped_dirs gr-audio-jack"
26327 gr_audio_jack_skipped=yes
26329 gr_audio_jack_skipped=no
26343 # Check whether --enable-gr-audio-oss was given.
26344 if test "${enable_gr_audio_oss+set}" = set; then :
26345 enableval=$enable_gr_audio_oss;
26348 enable_gr_audio_oss=$enable_all_components
26349 if test x$enable_all_components = xno; then
26359 if test $passed != no; then
26360 if test $passed = yes; then
26361 if test x$gnuradio_core_skipped = xyes; then
26362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-oss requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
26363 $as_echo "Component gr-audio-oss requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
26367 if test x$gnuradio_core_with = xno; then
26368 as_fn_error $? "Component gr-audio-oss requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
26374 if test $passed = yes; then
26377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lossaudio" >&5
26378 $as_echo_n "checking for main in -lossaudio... " >&6; }
26379 if test "${ac_cv_lib_ossaudio_main+set}" = set; then :
26380 $as_echo_n "(cached) " >&6
26382 ac_check_lib_save_LIBS=$LIBS
26383 LIBS="-lossaudio $LIBS"
26384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26385 /* end confdefs.h. */
26396 if ac_fn_c_try_link "$LINENO"; then :
26397 ac_cv_lib_ossaudio_main=yes
26399 ac_cv_lib_ossaudio_main=no
26401 rm -f core conftest.err conftest.$ac_objext \
26402 conftest$ac_exeext conftest.$ac_ext
26403 LIBS=$ac_check_lib_save_LIBS
26405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio_main" >&5
26406 $as_echo "$ac_cv_lib_ossaudio_main" >&6; }
26407 if test "x$ac_cv_lib_ossaudio_main" = x""yes; then :
26408 cat >>confdefs.h <<_ACEOF
26409 #define HAVE_LIBOSSAUDIO 1
26412 LIBS="-lossaudio $LIBS"
26415 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-oss requires library ossaudio, not found." >&5
26416 $as_echo "gr-audio-oss requires library ossaudio, not found." >&6; }
26418 ac_cv_lib_ossaudio=ac_cv_lib_ossaudio_main
26420 if test $passed != no; then
26421 OSS_LIBS=-lossaudio
26423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using OSS library $OSS_LIBS" >&5
26424 $as_echo "Using OSS library $OSS_LIBS" >&6; }
26431 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
26432 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then :
26435 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-oss requires sys/soundcard.h, not found." >&5
26436 $as_echo "gr-audio-oss requires sys/soundcard.h, not found." >&6; }
26443 ac_config_files="$ac_config_files gr-audio-oss/Makefile gr-audio-oss/gnuradio-audio-oss.pc gr-audio-oss/src/Makefile gr-audio-oss/src/run_tests"
26448 gr_audio_oss_with=no
26449 if test $passed = no; then
26450 if test x$enable_gr_audio_oss = xyes; then
26451 as_fn_error $? "Component gr-audio-oss has errors; stopping." "$LINENO" 5
26453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-audio-oss." >&5
26454 $as_echo "Not building component gr-audio-oss." >&6; }
26457 if test $passed = with; then
26458 with_dirs="$with_dirs gr-audio-oss"
26460 if test "x${gr_audio_oss_INCLUDES}" != "x"; then
26461 if test "x$with_INCLUDES" = "x"; then
26462 with_INCLUDES="${gr_audio_oss_INCLUDES}"
26464 with_INCLUDES="${gr_audio_oss_INCLUDES}"" ""$with_INCLUDES"
26466 gr_audio_oss_INCLUDES=
26470 if test "x${gr_audio_oss_SWIG_INCLUDES}" != "x"; then
26471 if test "x$with_SWIG_INCLUDES" = "x"; then
26472 with_SWIG_INCLUDES="${gr_audio_oss_SWIG_INCLUDES}"
26474 with_SWIG_INCLUDES="${gr_audio_oss_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
26476 gr_audio_oss_SWIG_INCLUDES=
26480 if test "x${gr_audio_oss_PYDIRPATH}" != "x"; then
26481 if test "x$with_PYDIRPATH" = "x"; then
26482 with_PYDIRPATH="${gr_audio_oss_PYDIRPATH}"
26484 with_PYDIRPATH="${gr_audio_oss_PYDIRPATH}"":""$with_PYDIRPATH"
26486 gr_audio_oss_PYDIRPATH=
26490 if test "x${gr_audio_oss_SWIGDIRPATH}" != "x"; then
26491 if test "x$with_SWIGDIRPATH" = "x"; then
26492 with_SWIGDIRPATH="${gr_audio_oss_SWIGDIRPATH}"
26494 with_SWIGDIRPATH="${gr_audio_oss_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
26496 gr_audio_oss_SWIGDIRPATH=
26500 if test "x${gr_audio_oss_LIBDIRPATH}" != "x"; then
26501 if test "x$with_LIBDIRPATH" = "x"; then
26502 with_LIBDIRPATH="${gr_audio_oss_LIBDIRPATH}"
26504 with_LIBDIRPATH="${gr_audio_oss_LIBDIRPATH}"":""$with_LIBDIRPATH"
26506 gr_audio_oss_LIBDIRPATH=
26509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-oss will be included from a pre-installed library and includes." >&5
26510 $as_echo "Component gr-audio-oss will be included from a pre-installed library and includes." >&6; }
26511 gr_audio_oss_with=yes
26513 gr_audio_oss_LDFLAG=
26514 if test x$enable_gr_audio_oss != xno; then
26515 ac_config_commands="$ac_config_commands run_tests_oss"
26518 build_dirs="$build_dirs gr-audio-oss"
26519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-oss passed configuration checks; building." >&5
26520 $as_echo "Component gr-audio-oss passed configuration checks; building." >&6; }
26523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-oss passed configuration checks; but not building." >&5
26524 $as_echo "Component gr-audio-oss passed configuration checks; but not building." >&6; }
26528 if test $passed = no; then
26529 skipped_dirs="$skipped_dirs gr-audio-oss"
26530 gr_audio_oss_skipped=yes
26532 gr_audio_oss_skipped=no
26546 # Check whether --enable-gr-audio-osx was given.
26547 if test "${enable_gr_audio_osx+set}" = set; then :
26548 enableval=$enable_gr_audio_osx;
26551 enable_gr_audio_osx=$enable_all_components
26552 if test x$enable_all_components = xno; then
26562 if test $passed != no; then
26563 if test $passed = yes; then
26564 if test x$gnuradio_core_skipped = xyes; then
26565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-osx requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
26566 $as_echo "Component gr-audio-osx requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
26570 if test x$gnuradio_core_with = xno; then
26571 as_fn_error $? "Component gr-audio-osx requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
26577 if test $passed = yes; then
26586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-osx requires darwin or MacOS X." >&5
26587 $as_echo "gr-audio-osx requires darwin or MacOS X." >&6; }
26590 for ac_header in AudioUnit/AudioUnit.h
26592 ac_fn_c_check_header_mongrel "$LINENO" "AudioUnit/AudioUnit.h" "ac_cv_header_AudioUnit_AudioUnit_h" "$ac_includes_default"
26593 if test "x$ac_cv_header_AudioUnit_AudioUnit_h" = x""yes; then :
26594 cat >>confdefs.h <<_ACEOF
26595 #define HAVE_AUDIOUNIT_AUDIOUNIT_H 1
26599 audiounitok=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-osx requires AudioUnit/AudioUnit.h, which is available on MacOS X." >&5
26600 $as_echo "gr-audio-osx requires AudioUnit/AudioUnit.h, which is available on MacOS X." >&6; }
26606 for ac_header in AudioToolbox/AudioToolbox.h
26608 ac_fn_c_check_header_mongrel "$LINENO" "AudioToolbox/AudioToolbox.h" "ac_cv_header_AudioToolbox_AudioToolbox_h" "$ac_includes_default"
26609 if test "x$ac_cv_header_AudioToolbox_AudioToolbox_h" = x""yes; then :
26610 cat >>confdefs.h <<_ACEOF
26611 #define HAVE_AUDIOTOOLBOX_AUDIOTOOLBOX_H 1
26615 audiounitok=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-osx requires AudioToolbox/AudioToolbox.h, which is available on MacOS X." >&5
26616 $as_echo "gr-audio-osx requires AudioToolbox/AudioToolbox.h, which is available on MacOS X." >&6; }
26622 if test $audiounitok = yes; then
26625 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-osx requires AudioUnit, not found." >&5
26626 $as_echo "gr-audio-osx requires AudioUnit, not found." >&6; }
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-osx will build on Mac OS X and Darwin only." >&5
26632 $as_echo "gr-audio-osx will build on Mac OS X and Darwin only." >&6; }
26638 ac_config_files="$ac_config_files gr-audio-osx/Makefile gr-audio-osx/src/Makefile gr-audio-osx/src/run_tests"
26643 gr_audio_osx_with=no
26644 if test $passed = no; then
26645 if test x$enable_gr_audio_osx = xyes; then
26646 as_fn_error $? "Component gr-audio-osx has errors; stopping." "$LINENO" 5
26648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-audio-osx." >&5
26649 $as_echo "Not building component gr-audio-osx." >&6; }
26652 if test $passed = with; then
26653 with_dirs="$with_dirs gr-audio-osx"
26655 if test "x${gr_audio_osx_INCLUDES}" != "x"; then
26656 if test "x$with_INCLUDES" = "x"; then
26657 with_INCLUDES="${gr_audio_osx_INCLUDES}"
26659 with_INCLUDES="${gr_audio_osx_INCLUDES}"" ""$with_INCLUDES"
26661 gr_audio_osx_INCLUDES=
26665 if test "x${gr_audio_osx_SWIG_INCLUDES}" != "x"; then
26666 if test "x$with_SWIG_INCLUDES" = "x"; then
26667 with_SWIG_INCLUDES="${gr_audio_osx_SWIG_INCLUDES}"
26669 with_SWIG_INCLUDES="${gr_audio_osx_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
26671 gr_audio_osx_SWIG_INCLUDES=
26675 if test "x${gr_audio_osx_PYDIRPATH}" != "x"; then
26676 if test "x$with_PYDIRPATH" = "x"; then
26677 with_PYDIRPATH="${gr_audio_osx_PYDIRPATH}"
26679 with_PYDIRPATH="${gr_audio_osx_PYDIRPATH}"":""$with_PYDIRPATH"
26681 gr_audio_osx_PYDIRPATH=
26685 if test "x${gr_audio_osx_SWIGDIRPATH}" != "x"; then
26686 if test "x$with_SWIGDIRPATH" = "x"; then
26687 with_SWIGDIRPATH="${gr_audio_osx_SWIGDIRPATH}"
26689 with_SWIGDIRPATH="${gr_audio_osx_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
26691 gr_audio_osx_SWIGDIRPATH=
26695 if test "x${gr_audio_osx_LIBDIRPATH}" != "x"; then
26696 if test "x$with_LIBDIRPATH" = "x"; then
26697 with_LIBDIRPATH="${gr_audio_osx_LIBDIRPATH}"
26699 with_LIBDIRPATH="${gr_audio_osx_LIBDIRPATH}"":""$with_LIBDIRPATH"
26701 gr_audio_osx_LIBDIRPATH=
26704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-osx will be included from a pre-installed library and includes." >&5
26705 $as_echo "Component gr-audio-osx will be included from a pre-installed library and includes." >&6; }
26706 gr_audio_osx_with=yes
26708 gr_audio_osx_LDFLAG=
26709 if test x$enable_gr_audio_osx != xno; then
26710 ac_config_commands="$ac_config_commands run_tests_osx"
26713 build_dirs="$build_dirs gr-audio-osx"
26714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-osx passed configuration checks; building." >&5
26715 $as_echo "Component gr-audio-osx passed configuration checks; building." >&6; }
26718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-osx passed configuration checks; but not building." >&5
26719 $as_echo "Component gr-audio-osx passed configuration checks; but not building." >&6; }
26723 if test $passed = no; then
26724 skipped_dirs="$skipped_dirs gr-audio-osx"
26725 gr_audio_osx_skipped=yes
26727 gr_audio_osx_skipped=no
26741 # Check whether --enable-gr-audio-portaudio was given.
26742 if test "${enable_gr_audio_portaudio+set}" = set; then :
26743 enableval=$enable_gr_audio_portaudio;
26746 enable_gr_audio_portaudio=$enable_all_components
26747 if test x$enable_all_components = xno; then
26757 if test $passed != no; then
26758 if test $passed = yes; then
26759 if test x$gnuradio_core_skipped = xyes; then
26760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-portaudio requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
26761 $as_echo "Component gr-audio-portaudio requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
26765 if test x$gnuradio_core_with = xno; then
26766 as_fn_error $? "Component gr-audio-portaudio requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
26772 if test $passed = yes; then
26777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PORTAUDIO" >&5
26778 $as_echo_n "checking for PORTAUDIO... " >&6; }
26780 if test -n "$PKG_CONFIG"; then
26781 if test -n "$PORTAUDIO_CFLAGS"; then
26782 pkg_cv_PORTAUDIO_CFLAGS="$PORTAUDIO_CFLAGS"
26784 if test -n "$PKG_CONFIG" && \
26785 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"portaudio-2.0 >= 19\""; } >&5
26786 ($PKG_CONFIG --exists --print-errors "portaudio-2.0 >= 19") 2>&5
26788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26789 test $ac_status = 0; }; then
26790 pkg_cv_PORTAUDIO_CFLAGS=`$PKG_CONFIG --cflags "portaudio-2.0 >= 19" 2>/dev/null`
26799 if test x$cross_compiling = xyes
26801 if test -n "$PKG_CONFIG"; then
26802 if test -n "$PORTAUDIO_LIBS"; then
26803 pkg_cv_PORTAUDIO_LIBS="$PORTAUDIO_LIBS"
26805 if test -n "$PKG_CONFIG" && \
26806 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"portaudio-2.0 >= 19\""; } >&5
26807 ($PKG_CONFIG --exists --print-errors "portaudio-2.0 >= 19") 2>&5
26809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26810 test $ac_status = 0; }; then
26811 pkg_cv_PORTAUDIO_LIBS=`$PKG_CONFIG --libs --static "portaudio-2.0 >= 19" 2>/dev/null`
26820 for flag in $pkg_cv_PORTAUDIO_LIBS; do
26822 (-L/lib* | -L/usr/lib* ) ;; # ignore
26823 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
26826 pkg_cv_PORTAUDIO_LIBS="$_pkg_tmp"
26828 if test -n "$PKG_CONFIG"; then
26829 if test -n "$PORTAUDIO_LIBS"; then
26830 pkg_cv_PORTAUDIO_LIBS="$PORTAUDIO_LIBS"
26832 if test -n "$PKG_CONFIG" && \
26833 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"portaudio-2.0 >= 19\""; } >&5
26834 ($PKG_CONFIG --exists --print-errors "portaudio-2.0 >= 19") 2>&5
26836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26837 test $ac_status = 0; }; then
26838 pkg_cv_PORTAUDIO_LIBS=`$PKG_CONFIG --libs --static "portaudio-2.0 >= 19" 2>/dev/null`
26848 if test -n "$PKG_CONFIG"; then
26849 if test -n "$PORTAUDIO_INCLUDEDIR"; then
26850 pkg_cv_PORTAUDIO_INCLUDEDIR="$PORTAUDIO_INCLUDEDIR"
26852 if test -n "$PKG_CONFIG" && \
26853 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"portaudio-2.0 >= 19\""; } >&5
26854 ($PKG_CONFIG --exists --print-errors "portaudio-2.0 >= 19") 2>&5
26856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26857 test $ac_status = 0; }; then
26858 pkg_cv_PORTAUDIO_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "portaudio-2.0 >= 19" 2>/dev/null`
26870 if test $pkg_failed = yes; then
26872 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26873 _pkg_short_errors_supported=yes
26875 _pkg_short_errors_supported=no
26877 if test $_pkg_short_errors_supported = yes; then
26878 PORTAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "portaudio-2.0 >= 19"`
26880 PORTAUDIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "portaudio-2.0 >= 19"`
26882 # Put the nasty error message in config.log where it belongs
26883 echo "$PORTAUDIO_PKG_ERRORS" >&5
26885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26886 $as_echo "no" >&6; }
26887 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-portaudio requires package portaudio, not found." >&5
26888 $as_echo "gr-audio-portaudio requires package portaudio, not found." >&6; }
26889 elif test $pkg_failed = untried; then
26890 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-portaudio requires package portaudio, not found." >&5
26891 $as_echo "gr-audio-portaudio requires package portaudio, not found." >&6; }
26893 PORTAUDIO_CFLAGS=$pkg_cv_PORTAUDIO_CFLAGS
26894 PORTAUDIO_LIBS=$pkg_cv_PORTAUDIO_LIBS
26895 PORTAUDIO_INCLUDEDIR=$pkg_cv_PORTAUDIO_INCLUDEDIR
26897 PORTAUDIO_CPPFLAGS=""
26898 for flag in $PORTAUDIO_CFLAGS; do
26900 -I* | -D* | -U*) PORTAUDIO_CPPFLAGS="$PORTAUDIO_CPPFLAGS $flag" ;;
26903 pkg_cv_PORTAUDIO_CPPFLAGS=$PORTAUDIO_CPPFLAGS
26906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26907 $as_echo "yes" >&6; }
26912 ac_config_files="$ac_config_files gr-audio-portaudio/Makefile gr-audio-portaudio/gnuradio-audio-portaudio.pc gr-audio-portaudio/src/Makefile gr-audio-portaudio/src/run_tests"
26917 gr_audio_portaudio_with=no
26918 if test $passed = no; then
26919 if test x$enable_gr_audio_portaudio = xyes; then
26920 as_fn_error $? "Component gr-audio-portaudio has errors; stopping." "$LINENO" 5
26922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-audio-portaudio." >&5
26923 $as_echo "Not building component gr-audio-portaudio." >&6; }
26926 if test $passed = with; then
26927 with_dirs="$with_dirs gr-audio-portaudio"
26929 if test "x${gr_audio_portaudio_INCLUDES}" != "x"; then
26930 if test "x$with_INCLUDES" = "x"; then
26931 with_INCLUDES="${gr_audio_portaudio_INCLUDES}"
26933 with_INCLUDES="${gr_audio_portaudio_INCLUDES}"" ""$with_INCLUDES"
26935 gr_audio_portaudio_INCLUDES=
26939 if test "x${gr_audio_portaudio_SWIG_INCLUDES}" != "x"; then
26940 if test "x$with_SWIG_INCLUDES" = "x"; then
26941 with_SWIG_INCLUDES="${gr_audio_portaudio_SWIG_INCLUDES}"
26943 with_SWIG_INCLUDES="${gr_audio_portaudio_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
26945 gr_audio_portaudio_SWIG_INCLUDES=
26949 if test "x${gr_audio_portaudio_PYDIRPATH}" != "x"; then
26950 if test "x$with_PYDIRPATH" = "x"; then
26951 with_PYDIRPATH="${gr_audio_portaudio_PYDIRPATH}"
26953 with_PYDIRPATH="${gr_audio_portaudio_PYDIRPATH}"":""$with_PYDIRPATH"
26955 gr_audio_portaudio_PYDIRPATH=
26959 if test "x${gr_audio_portaudio_SWIGDIRPATH}" != "x"; then
26960 if test "x$with_SWIGDIRPATH" = "x"; then
26961 with_SWIGDIRPATH="${gr_audio_portaudio_SWIGDIRPATH}"
26963 with_SWIGDIRPATH="${gr_audio_portaudio_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
26965 gr_audio_portaudio_SWIGDIRPATH=
26969 if test "x${gr_audio_portaudio_LIBDIRPATH}" != "x"; then
26970 if test "x$with_LIBDIRPATH" = "x"; then
26971 with_LIBDIRPATH="${gr_audio_portaudio_LIBDIRPATH}"
26973 with_LIBDIRPATH="${gr_audio_portaudio_LIBDIRPATH}"":""$with_LIBDIRPATH"
26975 gr_audio_portaudio_LIBDIRPATH=
26978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-portaudio will be included from a pre-installed library and includes." >&5
26979 $as_echo "Component gr-audio-portaudio will be included from a pre-installed library and includes." >&6; }
26980 gr_audio_portaudio_with=yes
26982 gr_audio_portaudio_LDFLAG=
26983 if test x$enable_gr_audio_portaudio != xno; then
26984 ac_config_commands="$ac_config_commands run_tests_portaudio"
26987 build_dirs="$build_dirs gr-audio-portaudio"
26988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-portaudio passed configuration checks; building." >&5
26989 $as_echo "Component gr-audio-portaudio passed configuration checks; building." >&6; }
26992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-portaudio passed configuration checks; but not building." >&5
26993 $as_echo "Component gr-audio-portaudio passed configuration checks; but not building." >&6; }
26997 if test $passed = no; then
26998 skipped_dirs="$skipped_dirs gr-audio-portaudio"
26999 gr_audio_portaudio_skipped=yes
27001 gr_audio_portaudio_skipped=no
27015 # Check whether --enable-gr-audio-windows was given.
27016 if test "${enable_gr_audio_windows+set}" = set; then :
27017 enableval=$enable_gr_audio_windows;
27020 enable_gr_audio_windows=$enable_all_components
27021 if test x$enable_all_components = xno; then
27031 if test $passed != no; then
27032 if test $passed = yes; then
27033 if test x$gnuradio_core_skipped = xyes; then
27034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-windows requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
27035 $as_echo "Component gr-audio-windows requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
27039 if test x$gnuradio_core_with = xno; then
27040 as_fn_error $? "Component gr-audio-windows requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
27046 if test $passed = yes; then
27048 cygwin*|win*|mingw*)
27049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lwinmm" >&5
27050 $as_echo_n "checking for main in -lwinmm... " >&6; }
27051 if test "${ac_cv_lib_winmm_main+set}" = set; then :
27052 $as_echo_n "(cached) " >&6
27054 ac_check_lib_save_LIBS=$LIBS
27055 LIBS="-lwinmm $LIBS"
27056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27057 /* end confdefs.h. */
27068 if ac_fn_c_try_link "$LINENO"; then :
27069 ac_cv_lib_winmm_main=yes
27071 ac_cv_lib_winmm_main=no
27073 rm -f core conftest.err conftest.$ac_objext \
27074 conftest$ac_exeext conftest.$ac_ext
27075 LIBS=$ac_check_lib_save_LIBS
27077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_main" >&5
27078 $as_echo "$ac_cv_lib_winmm_main" >&6; }
27079 if test "x$ac_cv_lib_winmm_main" = x""yes; then :
27080 cat >>confdefs.h <<_ACEOF
27081 #define HAVE_LIBWINMM 1
27084 LIBS="-lwinmm $LIBS"
27087 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-windows requires library winmm, not found." >&5
27088 $as_echo "gr-audio-windows requires library winmm, not found." >&6; }
27090 ac_cv_lib_winmm=ac_cv_lib_winmm_main
27094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-windows will build on a Windows Unix environment only." >&5
27095 $as_echo "gr-audio-windows will build on a Windows Unix environment only." >&6; }
27101 ac_config_files="$ac_config_files gr-audio-windows/Makefile gr-audio-windows/src/Makefile gr-audio-windows/src/run_tests"
27106 gr_audio_windows_with=no
27107 if test $passed = no; then
27108 if test x$enable_gr_audio_windows = xyes; then
27109 as_fn_error $? "Component gr-audio-windows has errors; stopping." "$LINENO" 5
27111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-audio-windows." >&5
27112 $as_echo "Not building component gr-audio-windows." >&6; }
27115 if test $passed = with; then
27116 with_dirs="$with_dirs gr-audio-windows"
27118 if test "x${gr_audio_windows_INCLUDES}" != "x"; then
27119 if test "x$with_INCLUDES" = "x"; then
27120 with_INCLUDES="${gr_audio_windows_INCLUDES}"
27122 with_INCLUDES="${gr_audio_windows_INCLUDES}"" ""$with_INCLUDES"
27124 gr_audio_windows_INCLUDES=
27128 if test "x${gr_audio_windows_SWIG_INCLUDES}" != "x"; then
27129 if test "x$with_SWIG_INCLUDES" = "x"; then
27130 with_SWIG_INCLUDES="${gr_audio_windows_SWIG_INCLUDES}"
27132 with_SWIG_INCLUDES="${gr_audio_windows_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
27134 gr_audio_windows_SWIG_INCLUDES=
27138 if test "x${gr_audio_windows_PYDIRPATH}" != "x"; then
27139 if test "x$with_PYDIRPATH" = "x"; then
27140 with_PYDIRPATH="${gr_audio_windows_PYDIRPATH}"
27142 with_PYDIRPATH="${gr_audio_windows_PYDIRPATH}"":""$with_PYDIRPATH"
27144 gr_audio_windows_PYDIRPATH=
27148 if test "x${gr_audio_windows_SWIGDIRPATH}" != "x"; then
27149 if test "x$with_SWIGDIRPATH" = "x"; then
27150 with_SWIGDIRPATH="${gr_audio_windows_SWIGDIRPATH}"
27152 with_SWIGDIRPATH="${gr_audio_windows_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
27154 gr_audio_windows_SWIGDIRPATH=
27158 if test "x${gr_audio_windows_LIBDIRPATH}" != "x"; then
27159 if test "x$with_LIBDIRPATH" = "x"; then
27160 with_LIBDIRPATH="${gr_audio_windows_LIBDIRPATH}"
27162 with_LIBDIRPATH="${gr_audio_windows_LIBDIRPATH}"":""$with_LIBDIRPATH"
27164 gr_audio_windows_LIBDIRPATH=
27167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-windows will be included from a pre-installed library and includes." >&5
27168 $as_echo "Component gr-audio-windows will be included from a pre-installed library and includes." >&6; }
27169 gr_audio_windows_with=yes
27171 gr_audio_windows_LDFLAG=
27172 if test x$enable_gr_audio_windows != xno; then
27173 WINAUDIO_LIBS=-lwinmm
27175 ac_config_commands="$ac_config_commands run_tests_audio_windows"
27178 build_dirs="$build_dirs gr-audio-windows"
27179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-windows passed configuration checks; building." >&5
27180 $as_echo "Component gr-audio-windows passed configuration checks; building." >&6; }
27183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-windows passed configuration checks; but not building." >&5
27184 $as_echo "Component gr-audio-windows passed configuration checks; but not building." >&6; }
27188 if test $passed = no; then
27189 skipped_dirs="$skipped_dirs gr-audio-windows"
27190 gr_audio_windows_skipped=yes
27192 gr_audio_windows_skipped=no
27206 # Check whether --enable-gr-atsc was given.
27207 if test "${enable_gr_atsc+set}" = set; then :
27208 enableval=$enable_gr_atsc;
27211 enable_gr_atsc=$enable_all_components
27212 if test x$enable_all_components = xno; then
27222 if test $passed != no; then
27223 if test $passed = yes; then
27224 if test x$gnuradio_core_skipped = xyes; then
27225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-atsc requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
27226 $as_echo "Component gr-atsc requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
27230 if test x$gnuradio_core_with = xno; then
27231 as_fn_error $? "Component gr-atsc requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
27237 ac_config_files="$ac_config_files gr-atsc/Makefile gr-atsc/gnuradio-atsc.pc gr-atsc/doc/Makefile gr-atsc/src/Makefile gr-atsc/src/lib/Makefile gr-atsc/src/python/Makefile gr-atsc/src/python/run_tests"
27243 if test $passed = no; then
27244 if test x$enable_gr_atsc = xyes; then
27245 as_fn_error $? "Component gr-atsc has errors; stopping." "$LINENO" 5
27247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-atsc." >&5
27248 $as_echo "Not building component gr-atsc." >&6; }
27251 if test $passed = with; then
27252 with_dirs="$with_dirs gr-atsc"
27254 if test "x${gr_atsc_INCLUDES}" != "x"; then
27255 if test "x$with_INCLUDES" = "x"; then
27256 with_INCLUDES="${gr_atsc_INCLUDES}"
27258 with_INCLUDES="${gr_atsc_INCLUDES}"" ""$with_INCLUDES"
27264 if test "x${gr_atsc_SWIG_INCLUDES}" != "x"; then
27265 if test "x$with_SWIG_INCLUDES" = "x"; then
27266 with_SWIG_INCLUDES="${gr_atsc_SWIG_INCLUDES}"
27268 with_SWIG_INCLUDES="${gr_atsc_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
27270 gr_atsc_SWIG_INCLUDES=
27274 if test "x${gr_atsc_PYDIRPATH}" != "x"; then
27275 if test "x$with_PYDIRPATH" = "x"; then
27276 with_PYDIRPATH="${gr_atsc_PYDIRPATH}"
27278 with_PYDIRPATH="${gr_atsc_PYDIRPATH}"":""$with_PYDIRPATH"
27284 if test "x${gr_atsc_SWIGDIRPATH}" != "x"; then
27285 if test "x$with_SWIGDIRPATH" = "x"; then
27286 with_SWIGDIRPATH="${gr_atsc_SWIGDIRPATH}"
27288 with_SWIGDIRPATH="${gr_atsc_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
27290 gr_atsc_SWIGDIRPATH=
27294 if test "x${gr_atsc_LIBDIRPATH}" != "x"; then
27295 if test "x$with_LIBDIRPATH" = "x"; then
27296 with_LIBDIRPATH="${gr_atsc_LIBDIRPATH}"
27298 with_LIBDIRPATH="${gr_atsc_LIBDIRPATH}"":""$with_LIBDIRPATH"
27300 gr_atsc_LIBDIRPATH=
27303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-atsc will be included from a pre-installed library and includes." >&5
27304 $as_echo "Component gr-atsc will be included from a pre-installed library and includes." >&6; }
27308 if test x$enable_gr_atsc != xno; then
27309 ac_config_commands="$ac_config_commands run_tests_atsc"
27312 build_dirs="$build_dirs gr-atsc"
27313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-atsc passed configuration checks; building." >&5
27314 $as_echo "Component gr-atsc passed configuration checks; building." >&6; }
27317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-atsc passed configuration checks; but not building." >&5
27318 $as_echo "Component gr-atsc passed configuration checks; but not building." >&6; }
27322 if test $passed = no; then
27323 skipped_dirs="$skipped_dirs gr-atsc"
27324 gr_atsc_skipped=yes
27340 # Check whether --enable-gr-comedi was given.
27341 if test "${enable_gr_comedi+set}" = set; then :
27342 enableval=$enable_gr_comedi;
27345 enable_gr_comedi=$enable_all_components
27346 if test x$enable_all_components = xno; then
27356 if test $passed != no; then
27357 if test $passed = yes; then
27358 if test x$gnuradio_core_skipped = xyes; then
27359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-comedi requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
27360 $as_echo "Component gr-comedi requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
27364 if test x$gnuradio_core_with = xno; then
27365 as_fn_error $? "Component gr-comedi requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
27371 if test $passed = yes; then
27376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for COMEDI" >&5
27377 $as_echo_n "checking for COMEDI... " >&6; }
27379 if test -n "$PKG_CONFIG"; then
27380 if test -n "$COMEDI_CFLAGS"; then
27381 pkg_cv_COMEDI_CFLAGS="$COMEDI_CFLAGS"
27383 if test -n "$PKG_CONFIG" && \
27384 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"comedilib < 0.8\""; } >&5
27385 ($PKG_CONFIG --exists --print-errors "comedilib < 0.8") 2>&5
27387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27388 test $ac_status = 0; }; then
27389 pkg_cv_COMEDI_CFLAGS=`$PKG_CONFIG --cflags "comedilib < 0.8" 2>/dev/null`
27398 if test x$cross_compiling = xyes
27400 if test -n "$PKG_CONFIG"; then
27401 if test -n "$COMEDI_LIBS"; then
27402 pkg_cv_COMEDI_LIBS="$COMEDI_LIBS"
27404 if test -n "$PKG_CONFIG" && \
27405 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"comedilib < 0.8\""; } >&5
27406 ($PKG_CONFIG --exists --print-errors "comedilib < 0.8") 2>&5
27408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27409 test $ac_status = 0; }; then
27410 pkg_cv_COMEDI_LIBS=`$PKG_CONFIG --libs --static "comedilib < 0.8" 2>/dev/null`
27419 for flag in $pkg_cv_COMEDI_LIBS; do
27421 (-L/lib* | -L/usr/lib* ) ;; # ignore
27422 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
27425 pkg_cv_COMEDI_LIBS="$_pkg_tmp"
27427 if test -n "$PKG_CONFIG"; then
27428 if test -n "$COMEDI_LIBS"; then
27429 pkg_cv_COMEDI_LIBS="$COMEDI_LIBS"
27431 if test -n "$PKG_CONFIG" && \
27432 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"comedilib < 0.8\""; } >&5
27433 ($PKG_CONFIG --exists --print-errors "comedilib < 0.8") 2>&5
27435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27436 test $ac_status = 0; }; then
27437 pkg_cv_COMEDI_LIBS=`$PKG_CONFIG --libs --static "comedilib < 0.8" 2>/dev/null`
27447 if test -n "$PKG_CONFIG"; then
27448 if test -n "$COMEDI_INCLUDEDIR"; then
27449 pkg_cv_COMEDI_INCLUDEDIR="$COMEDI_INCLUDEDIR"
27451 if test -n "$PKG_CONFIG" && \
27452 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"comedilib < 0.8\""; } >&5
27453 ($PKG_CONFIG --exists --print-errors "comedilib < 0.8") 2>&5
27455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27456 test $ac_status = 0; }; then
27457 pkg_cv_COMEDI_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "comedilib < 0.8" 2>/dev/null`
27469 if test $pkg_failed = yes; then
27471 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27472 _pkg_short_errors_supported=yes
27474 _pkg_short_errors_supported=no
27476 if test $_pkg_short_errors_supported = yes; then
27477 COMEDI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "comedilib < 0.8"`
27479 COMEDI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "comedilib < 0.8"`
27481 # Put the nasty error message in config.log where it belongs
27482 echo "$COMEDI_PKG_ERRORS" >&5
27484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27485 $as_echo "no" >&6; }
27486 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-comedi requires comedilib, not found." >&5
27487 $as_echo "gr-comedi requires comedilib, not found." >&6; }
27488 elif test $pkg_failed = untried; then
27489 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-comedi requires comedilib, not found." >&5
27490 $as_echo "gr-comedi requires comedilib, not found." >&6; }
27492 COMEDI_CFLAGS=$pkg_cv_COMEDI_CFLAGS
27493 COMEDI_LIBS=$pkg_cv_COMEDI_LIBS
27494 COMEDI_INCLUDEDIR=$pkg_cv_COMEDI_INCLUDEDIR
27497 for flag in $COMEDI_CFLAGS; do
27499 -I* | -D* | -U*) COMEDI_CPPFLAGS="$COMEDI_CPPFLAGS $flag" ;;
27502 pkg_cv_COMEDI_CPPFLAGS=$COMEDI_CPPFLAGS
27505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27506 $as_echo "yes" >&6; }
27511 ac_config_files="$ac_config_files gr-comedi/Makefile gr-comedi/gnuradio-comedi.pc gr-comedi/src/Makefile gr-comedi/src/run_tests"
27517 if test $passed = no; then
27518 if test x$enable_gr_comedi = xyes; then
27519 as_fn_error $? "Component gr-comedi has errors; stopping." "$LINENO" 5
27521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-comedi." >&5
27522 $as_echo "Not building component gr-comedi." >&6; }
27525 if test $passed = with; then
27526 with_dirs="$with_dirs gr-comedi"
27528 if test "x${gr_comedi_INCLUDES}" != "x"; then
27529 if test "x$with_INCLUDES" = "x"; then
27530 with_INCLUDES="${gr_comedi_INCLUDES}"
27532 with_INCLUDES="${gr_comedi_INCLUDES}"" ""$with_INCLUDES"
27534 gr_comedi_INCLUDES=
27538 if test "x${gr_comedi_SWIG_INCLUDES}" != "x"; then
27539 if test "x$with_SWIG_INCLUDES" = "x"; then
27540 with_SWIG_INCLUDES="${gr_comedi_SWIG_INCLUDES}"
27542 with_SWIG_INCLUDES="${gr_comedi_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
27544 gr_comedi_SWIG_INCLUDES=
27548 if test "x${gr_comedi_PYDIRPATH}" != "x"; then
27549 if test "x$with_PYDIRPATH" = "x"; then
27550 with_PYDIRPATH="${gr_comedi_PYDIRPATH}"
27552 with_PYDIRPATH="${gr_comedi_PYDIRPATH}"":""$with_PYDIRPATH"
27554 gr_comedi_PYDIRPATH=
27558 if test "x${gr_comedi_SWIGDIRPATH}" != "x"; then
27559 if test "x$with_SWIGDIRPATH" = "x"; then
27560 with_SWIGDIRPATH="${gr_comedi_SWIGDIRPATH}"
27562 with_SWIGDIRPATH="${gr_comedi_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
27564 gr_comedi_SWIGDIRPATH=
27568 if test "x${gr_comedi_LIBDIRPATH}" != "x"; then
27569 if test "x$with_LIBDIRPATH" = "x"; then
27570 with_LIBDIRPATH="${gr_comedi_LIBDIRPATH}"
27572 with_LIBDIRPATH="${gr_comedi_LIBDIRPATH}"":""$with_LIBDIRPATH"
27574 gr_comedi_LIBDIRPATH=
27577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-comedi will be included from a pre-installed library and includes." >&5
27578 $as_echo "Component gr-comedi will be included from a pre-installed library and includes." >&6; }
27582 if test x$enable_gr_comedi != xno; then
27583 ac_config_commands="$ac_config_commands run_tests_comedi"
27586 build_dirs="$build_dirs gr-comedi"
27587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-comedi passed configuration checks; building." >&5
27588 $as_echo "Component gr-comedi passed configuration checks; building." >&6; }
27591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-comedi passed configuration checks; but not building." >&5
27592 $as_echo "Component gr-comedi passed configuration checks; but not building." >&6; }
27596 if test $passed = no; then
27597 skipped_dirs="$skipped_dirs gr-comedi"
27598 gr_comedi_skipped=yes
27600 gr_comedi_skipped=no
27614 # Check whether --enable-gr-cvsd-vocoder was given.
27615 if test "${enable_gr_cvsd_vocoder+set}" = set; then :
27616 enableval=$enable_gr_cvsd_vocoder;
27619 enable_gr_cvsd_vocoder=$enable_all_components
27620 if test x$enable_all_components = xno; then
27630 if test $passed != no; then
27631 if test $passed = yes; then
27632 if test x$gnuradio_core_skipped = xyes; then
27633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-cvsd-vocoder requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
27634 $as_echo "Component gr-cvsd-vocoder requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
27638 if test x$gnuradio_core_with = xno; then
27639 as_fn_error $? "Component gr-cvsd-vocoder requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
27645 ac_config_files="$ac_config_files gr-cvsd-vocoder/Makefile gr-cvsd-vocoder/gnuradio-cvsd-vocoder.pc gr-cvsd-vocoder/src/Makefile gr-cvsd-vocoder/src/lib/Makefile gr-cvsd-vocoder/src/python/Makefile gr-cvsd-vocoder/src/python/run_tests"
27650 gr_cvsd_vocoder_with=no
27651 if test $passed = no; then
27652 if test x$enable_gr_cvsd_vocoder = xyes; then
27653 as_fn_error $? "Component gr-cvsd-vocoder has errors; stopping." "$LINENO" 5
27655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-cvsd-vocoder." >&5
27656 $as_echo "Not building component gr-cvsd-vocoder." >&6; }
27659 if test $passed = with; then
27660 with_dirs="$with_dirs gr-cvsd-vocoder"
27662 if test "x${gr_cvsd_vocoder_INCLUDES}" != "x"; then
27663 if test "x$with_INCLUDES" = "x"; then
27664 with_INCLUDES="${gr_cvsd_vocoder_INCLUDES}"
27666 with_INCLUDES="${gr_cvsd_vocoder_INCLUDES}"" ""$with_INCLUDES"
27668 gr_cvsd_vocoder_INCLUDES=
27672 if test "x${gr_cvsd_vocoder_SWIG_INCLUDES}" != "x"; then
27673 if test "x$with_SWIG_INCLUDES" = "x"; then
27674 with_SWIG_INCLUDES="${gr_cvsd_vocoder_SWIG_INCLUDES}"
27676 with_SWIG_INCLUDES="${gr_cvsd_vocoder_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
27678 gr_cvsd_vocoder_SWIG_INCLUDES=
27682 if test "x${gr_cvsd_vocoder_PYDIRPATH}" != "x"; then
27683 if test "x$with_PYDIRPATH" = "x"; then
27684 with_PYDIRPATH="${gr_cvsd_vocoder_PYDIRPATH}"
27686 with_PYDIRPATH="${gr_cvsd_vocoder_PYDIRPATH}"":""$with_PYDIRPATH"
27688 gr_cvsd_vocoder_PYDIRPATH=
27692 if test "x${gr_cvsd_vocoder_SWIGDIRPATH}" != "x"; then
27693 if test "x$with_SWIGDIRPATH" = "x"; then
27694 with_SWIGDIRPATH="${gr_cvsd_vocoder_SWIGDIRPATH}"
27696 with_SWIGDIRPATH="${gr_cvsd_vocoder_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
27698 gr_cvsd_vocoder_SWIGDIRPATH=
27702 if test "x${gr_cvsd_vocoder_LIBDIRPATH}" != "x"; then
27703 if test "x$with_LIBDIRPATH" = "x"; then
27704 with_LIBDIRPATH="${gr_cvsd_vocoder_LIBDIRPATH}"
27706 with_LIBDIRPATH="${gr_cvsd_vocoder_LIBDIRPATH}"":""$with_LIBDIRPATH"
27708 gr_cvsd_vocoder_LIBDIRPATH=
27711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-cvsd-vocoder will be included from a pre-installed library and includes." >&5
27712 $as_echo "Component gr-cvsd-vocoder will be included from a pre-installed library and includes." >&6; }
27713 gr_cvsd_vocoder_with=yes
27715 gr_cvsd_vocoder_LDFLAG=
27716 if test x$enable_gr_cvsd_vocoder != xno; then
27717 ac_config_commands="$ac_config_commands run_tests_cvsd"
27720 build_dirs="$build_dirs gr-cvsd-vocoder"
27721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-cvsd-vocoder passed configuration checks; building." >&5
27722 $as_echo "Component gr-cvsd-vocoder passed configuration checks; building." >&6; }
27725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-cvsd-vocoder passed configuration checks; but not building." >&5
27726 $as_echo "Component gr-cvsd-vocoder passed configuration checks; but not building." >&6; }
27730 if test $passed = no; then
27731 skipped_dirs="$skipped_dirs gr-cvsd-vocoder"
27732 gr_cvsd_vocoder_skipped=yes
27734 gr_cvsd_vocoder_skipped=no
27748 # Check whether --enable-gr-gpio was given.
27749 if test "${enable_gr_gpio+set}" = set; then :
27750 enableval=$enable_gr_gpio;
27753 enable_gr_gpio=$enable_all_components
27754 if test x$enable_all_components = xno; then
27764 if test $passed != no; then
27765 if test $passed = yes; then
27766 if test x$usrp_skipped = xyes; then
27767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gpio requires usrp, which is not being built or specified via pre-installed files." >&5
27768 $as_echo "Component gr-gpio requires usrp, which is not being built or specified via pre-installed files." >&6; }
27772 if test x$usrp_with = xno; then
27773 as_fn_error $? "Component gr-gpio requires usrp to be included as --with-usrp[=arg]" "$LINENO" 5
27779 ac_config_files="$ac_config_files gr-gpio/Makefile gr-gpio/src/Makefile gr-gpio/src/fpga/Makefile gr-gpio/src/fpga/include/Makefile gr-gpio/src/fpga/top/Makefile gr-gpio/src/fpga/lib/Makefile gr-gpio/src/fpga/rbf/Makefile gr-gpio/src/python/Makefile"
27785 if test $passed = no; then
27786 if test x$enable_gr_gpio = xyes; then
27787 as_fn_error $? "Component gr-gpio has errors; stopping." "$LINENO" 5
27789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-gpio." >&5
27790 $as_echo "Not building component gr-gpio." >&6; }
27793 if test $passed = with; then
27794 with_dirs="$with_dirs gr-gpio"
27796 if test "x${gr_gpio_INCLUDES}" != "x"; then
27797 if test "x$with_INCLUDES" = "x"; then
27798 with_INCLUDES="${gr_gpio_INCLUDES}"
27800 with_INCLUDES="${gr_gpio_INCLUDES}"" ""$with_INCLUDES"
27806 if test "x${gr_gpio_SWIG_INCLUDES}" != "x"; then
27807 if test "x$with_SWIG_INCLUDES" = "x"; then
27808 with_SWIG_INCLUDES="${gr_gpio_SWIG_INCLUDES}"
27810 with_SWIG_INCLUDES="${gr_gpio_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
27812 gr_gpio_SWIG_INCLUDES=
27816 if test "x${gr_gpio_PYDIRPATH}" != "x"; then
27817 if test "x$with_PYDIRPATH" = "x"; then
27818 with_PYDIRPATH="${gr_gpio_PYDIRPATH}"
27820 with_PYDIRPATH="${gr_gpio_PYDIRPATH}"":""$with_PYDIRPATH"
27826 if test "x${gr_gpio_SWIGDIRPATH}" != "x"; then
27827 if test "x$with_SWIGDIRPATH" = "x"; then
27828 with_SWIGDIRPATH="${gr_gpio_SWIGDIRPATH}"
27830 with_SWIGDIRPATH="${gr_gpio_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
27832 gr_gpio_SWIGDIRPATH=
27836 if test "x${gr_gpio_LIBDIRPATH}" != "x"; then
27837 if test "x$with_LIBDIRPATH" = "x"; then
27838 with_LIBDIRPATH="${gr_gpio_LIBDIRPATH}"
27840 with_LIBDIRPATH="${gr_gpio_LIBDIRPATH}"":""$with_LIBDIRPATH"
27842 gr_gpio_LIBDIRPATH=
27845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gpio will be included from a pre-installed library and includes." >&5
27846 $as_echo "Component gr-gpio will be included from a pre-installed library and includes." >&6; }
27850 if test x$enable_gr_gpio != xno; then
27852 build_dirs="$build_dirs gr-gpio"
27853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gpio passed configuration checks; building." >&5
27854 $as_echo "Component gr-gpio passed configuration checks; building." >&6; }
27857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gpio passed configuration checks; but not building." >&5
27858 $as_echo "Component gr-gpio passed configuration checks; but not building." >&6; }
27862 if test $passed = no; then
27863 skipped_dirs="$skipped_dirs gr-gpio"
27864 gr_gpio_skipped=yes
27880 # Check whether --enable-gr-gsm-fr-vocoder was given.
27881 if test "${enable_gr_gsm_fr_vocoder+set}" = set; then :
27882 enableval=$enable_gr_gsm_fr_vocoder;
27885 enable_gr_gsm_fr_vocoder=$enable_all_components
27886 if test x$enable_all_components = xno; then
27896 if test $passed != no; then
27897 if test $passed = yes; then
27898 if test x$gnuradio_core_skipped = xyes; then
27899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gsm-fr-vocoder requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
27900 $as_echo "Component gr-gsm-fr-vocoder requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
27904 if test x$gnuradio_core_with = xno; then
27905 as_fn_error $? "Component gr-gsm-fr-vocoder requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
27911 ac_config_files="$ac_config_files gr-gsm-fr-vocoder/Makefile gr-gsm-fr-vocoder/gnuradio-gsm-fr-vocoder.pc gr-gsm-fr-vocoder/src/Makefile gr-gsm-fr-vocoder/src/lib/Makefile gr-gsm-fr-vocoder/src/lib/gsm/Makefile gr-gsm-fr-vocoder/src/python/Makefile gr-gsm-fr-vocoder/src/python/run_tests"
27916 gr_gsm_fr_vocoder_with=no
27917 if test $passed = no; then
27918 if test x$enable_gr_gsm_fr_vocoder = xyes; then
27919 as_fn_error $? "Component gr-gsm-fr-vocoder has errors; stopping." "$LINENO" 5
27921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-gsm-fr-vocoder." >&5
27922 $as_echo "Not building component gr-gsm-fr-vocoder." >&6; }
27925 if test $passed = with; then
27926 with_dirs="$with_dirs gr-gsm-fr-vocoder"
27928 if test "x${gr_gsm_fr_vocoder_INCLUDES}" != "x"; then
27929 if test "x$with_INCLUDES" = "x"; then
27930 with_INCLUDES="${gr_gsm_fr_vocoder_INCLUDES}"
27932 with_INCLUDES="${gr_gsm_fr_vocoder_INCLUDES}"" ""$with_INCLUDES"
27934 gr_gsm_fr_vocoder_INCLUDES=
27938 if test "x${gr_gsm_fr_vocoder_SWIG_INCLUDES}" != "x"; then
27939 if test "x$with_SWIG_INCLUDES" = "x"; then
27940 with_SWIG_INCLUDES="${gr_gsm_fr_vocoder_SWIG_INCLUDES}"
27942 with_SWIG_INCLUDES="${gr_gsm_fr_vocoder_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
27944 gr_gsm_fr_vocoder_SWIG_INCLUDES=
27948 if test "x${gr_gsm_fr_vocoder_PYDIRPATH}" != "x"; then
27949 if test "x$with_PYDIRPATH" = "x"; then
27950 with_PYDIRPATH="${gr_gsm_fr_vocoder_PYDIRPATH}"
27952 with_PYDIRPATH="${gr_gsm_fr_vocoder_PYDIRPATH}"":""$with_PYDIRPATH"
27954 gr_gsm_fr_vocoder_PYDIRPATH=
27958 if test "x${gr_gsm_fr_vocoder_SWIGDIRPATH}" != "x"; then
27959 if test "x$with_SWIGDIRPATH" = "x"; then
27960 with_SWIGDIRPATH="${gr_gsm_fr_vocoder_SWIGDIRPATH}"
27962 with_SWIGDIRPATH="${gr_gsm_fr_vocoder_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
27964 gr_gsm_fr_vocoder_SWIGDIRPATH=
27968 if test "x${gr_gsm_fr_vocoder_LIBDIRPATH}" != "x"; then
27969 if test "x$with_LIBDIRPATH" = "x"; then
27970 with_LIBDIRPATH="${gr_gsm_fr_vocoder_LIBDIRPATH}"
27972 with_LIBDIRPATH="${gr_gsm_fr_vocoder_LIBDIRPATH}"":""$with_LIBDIRPATH"
27974 gr_gsm_fr_vocoder_LIBDIRPATH=
27977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gsm-fr-vocoder will be included from a pre-installed library and includes." >&5
27978 $as_echo "Component gr-gsm-fr-vocoder will be included from a pre-installed library and includes." >&6; }
27979 gr_gsm_fr_vocoder_with=yes
27981 gr_gsm_fr_vocoder_LDFLAG=
27982 if test x$enable_gr_gsm_fr_vocoder != xno; then
27983 ac_config_commands="$ac_config_commands run_tests_gsm"
27986 build_dirs="$build_dirs gr-gsm-fr-vocoder"
27987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gsm-fr-vocoder passed configuration checks; building." >&5
27988 $as_echo "Component gr-gsm-fr-vocoder passed configuration checks; building." >&6; }
27991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gsm-fr-vocoder passed configuration checks; but not building." >&5
27992 $as_echo "Component gr-gsm-fr-vocoder passed configuration checks; but not building." >&6; }
27996 if test $passed = no; then
27997 skipped_dirs="$skipped_dirs gr-gsm-fr-vocoder"
27998 gr_gsm_fr_vocoder_skipped=yes
28000 gr_gsm_fr_vocoder_skipped=no
28014 # Check whether --enable-gr-noaa was given.
28015 if test "${enable_gr_noaa+set}" = set; then :
28016 enableval=$enable_gr_noaa;
28019 enable_gr_noaa=$enable_all_components
28020 if test x$enable_all_components = xno; then
28030 if test $passed != no; then
28031 if test $passed = yes; then
28032 if test x$gnuradio_core_skipped = xyes; then
28033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-noaa requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
28034 $as_echo "Component gr-noaa requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
28038 if test x$gnuradio_core_with = xno; then
28039 as_fn_error $? "Component gr-noaa requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
28045 if test $passed != no; then
28046 if test $passed = yes; then
28047 if test x$gr_wxgui_skipped = xyes; then
28048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-noaa requires gr-wxgui, which is not being built or specified via pre-installed files." >&5
28049 $as_echo "Component gr-noaa requires gr-wxgui, which is not being built or specified via pre-installed files." >&6; }
28053 if test x$gr_wxgui_with = xno; then
28054 as_fn_error $? "Component gr-noaa requires gr-wxgui to be included as --with-gr-wxgui[=arg]" "$LINENO" 5
28060 if test $passed != no; then
28061 if test $passed = yes; then
28062 if test x$grc_skipped = xyes; then
28063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-noaa requires grc, which is not being built or specified via pre-installed files." >&5
28064 $as_echo "Component gr-noaa requires grc, which is not being built or specified via pre-installed files." >&6; }
28068 if test x$grc_with = xno; then
28069 as_fn_error $? "Component gr-noaa requires grc to be included as --with-grc[=arg]" "$LINENO" 5
28075 ac_config_files="$ac_config_files gr-noaa/Makefile gr-noaa/apps/Makefile gr-noaa/grc/Makefile gr-noaa/lib/Makefile gr-noaa/oct/Makefile gr-noaa/python/Makefile gr-noaa/swig/Makefile"
28081 if test $passed = no; then
28082 if test x$enable_gr_noaa = xyes; then
28083 as_fn_error $? "Component gr-noaa has errors; stopping." "$LINENO" 5
28085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-noaa." >&5
28086 $as_echo "Not building component gr-noaa." >&6; }
28089 if test $passed = with; then
28090 with_dirs="$with_dirs gr-noaa"
28092 if test "x${gr_noaa_INCLUDES}" != "x"; then
28093 if test "x$with_INCLUDES" = "x"; then
28094 with_INCLUDES="${gr_noaa_INCLUDES}"
28096 with_INCLUDES="${gr_noaa_INCLUDES}"" ""$with_INCLUDES"
28102 if test "x${gr_noaa_SWIG_INCLUDES}" != "x"; then
28103 if test "x$with_SWIG_INCLUDES" = "x"; then
28104 with_SWIG_INCLUDES="${gr_noaa_SWIG_INCLUDES}"
28106 with_SWIG_INCLUDES="${gr_noaa_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
28108 gr_noaa_SWIG_INCLUDES=
28112 if test "x${gr_noaa_PYDIRPATH}" != "x"; then
28113 if test "x$with_PYDIRPATH" = "x"; then
28114 with_PYDIRPATH="${gr_noaa_PYDIRPATH}"
28116 with_PYDIRPATH="${gr_noaa_PYDIRPATH}"":""$with_PYDIRPATH"
28122 if test "x${gr_noaa_SWIGDIRPATH}" != "x"; then
28123 if test "x$with_SWIGDIRPATH" = "x"; then
28124 with_SWIGDIRPATH="${gr_noaa_SWIGDIRPATH}"
28126 with_SWIGDIRPATH="${gr_noaa_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
28128 gr_noaa_SWIGDIRPATH=
28132 if test "x${gr_noaa_LIBDIRPATH}" != "x"; then
28133 if test "x$with_LIBDIRPATH" = "x"; then
28134 with_LIBDIRPATH="${gr_noaa_LIBDIRPATH}"
28136 with_LIBDIRPATH="${gr_noaa_LIBDIRPATH}"":""$with_LIBDIRPATH"
28138 gr_noaa_LIBDIRPATH=
28141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-noaa will be included from a pre-installed library and includes." >&5
28142 $as_echo "Component gr-noaa will be included from a pre-installed library and includes." >&6; }
28146 if test x$enable_gr_noaa != xno; then
28147 #AC_CONFIG_COMMANDS([run_tests_noaa], [chmod +x gr-pager/lib/run_tests])
28149 build_dirs="$build_dirs gr-noaa"
28150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-noaa passed configuration checks; building." >&5
28151 $as_echo "Component gr-noaa passed configuration checks; building." >&6; }
28154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-noaa passed configuration checks; but not building." >&5
28155 $as_echo "Component gr-noaa passed configuration checks; but not building." >&6; }
28159 if test $passed = no; then
28160 skipped_dirs="$skipped_dirs gr-noaa"
28161 gr_noaa_skipped=yes
28177 # Check whether --enable-gr-pager was given.
28178 if test "${enable_gr_pager+set}" = set; then :
28179 enableval=$enable_gr_pager;
28182 enable_gr_pager=$enable_all_components
28183 if test x$enable_all_components = xno; then
28193 if test $passed != no; then
28194 if test $passed = yes; then
28195 if test x$gnuradio_core_skipped = xyes; then
28196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-pager requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
28197 $as_echo "Component gr-pager requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
28201 if test x$gnuradio_core_with = xno; then
28202 as_fn_error $? "Component gr-pager requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
28208 ac_config_files="$ac_config_files gr-pager/Makefile gr-pager/gnuradio-pager.pc gr-pager/apps/Makefile gr-pager/grc/Makefile gr-pager/lib/Makefile gr-pager/python/Makefile gr-pager/python/run_tests gr-pager/swig/Makefile"
28214 if test $passed = no; then
28215 if test x$enable_gr_pager = xyes; then
28216 as_fn_error $? "Component gr-pager has errors; stopping." "$LINENO" 5
28218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-pager." >&5
28219 $as_echo "Not building component gr-pager." >&6; }
28222 if test $passed = with; then
28223 with_dirs="$with_dirs gr-pager"
28225 if test "x${gr_pager_INCLUDES}" != "x"; then
28226 if test "x$with_INCLUDES" = "x"; then
28227 with_INCLUDES="${gr_pager_INCLUDES}"
28229 with_INCLUDES="${gr_pager_INCLUDES}"" ""$with_INCLUDES"
28235 if test "x${gr_pager_SWIG_INCLUDES}" != "x"; then
28236 if test "x$with_SWIG_INCLUDES" = "x"; then
28237 with_SWIG_INCLUDES="${gr_pager_SWIG_INCLUDES}"
28239 with_SWIG_INCLUDES="${gr_pager_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
28241 gr_pager_SWIG_INCLUDES=
28245 if test "x${gr_pager_PYDIRPATH}" != "x"; then
28246 if test "x$with_PYDIRPATH" = "x"; then
28247 with_PYDIRPATH="${gr_pager_PYDIRPATH}"
28249 with_PYDIRPATH="${gr_pager_PYDIRPATH}"":""$with_PYDIRPATH"
28251 gr_pager_PYDIRPATH=
28255 if test "x${gr_pager_SWIGDIRPATH}" != "x"; then
28256 if test "x$with_SWIGDIRPATH" = "x"; then
28257 with_SWIGDIRPATH="${gr_pager_SWIGDIRPATH}"
28259 with_SWIGDIRPATH="${gr_pager_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
28261 gr_pager_SWIGDIRPATH=
28265 if test "x${gr_pager_LIBDIRPATH}" != "x"; then
28266 if test "x$with_LIBDIRPATH" = "x"; then
28267 with_LIBDIRPATH="${gr_pager_LIBDIRPATH}"
28269 with_LIBDIRPATH="${gr_pager_LIBDIRPATH}"":""$with_LIBDIRPATH"
28271 gr_pager_LIBDIRPATH=
28274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-pager will be included from a pre-installed library and includes." >&5
28275 $as_echo "Component gr-pager will be included from a pre-installed library and includes." >&6; }
28279 if test x$enable_gr_pager != xno; then
28280 ac_config_commands="$ac_config_commands run_tests_pager"
28283 build_dirs="$build_dirs gr-pager"
28284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-pager passed configuration checks; building." >&5
28285 $as_echo "Component gr-pager passed configuration checks; building." >&6; }
28288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-pager passed configuration checks; but not building." >&5
28289 $as_echo "Component gr-pager passed configuration checks; but not building." >&6; }
28293 if test $passed = no; then
28294 skipped_dirs="$skipped_dirs gr-pager"
28295 gr_pager_skipped=yes
28297 gr_pager_skipped=no
28311 # Check whether --enable-gr-radar-mono was given.
28312 if test "${enable_gr_radar_mono+set}" = set; then :
28313 enableval=$enable_gr_radar_mono;
28316 enable_gr_radar_mono=$enable_all_components
28317 if test x$enable_all_components = xno; then
28327 if test $passed != no; then
28328 if test $passed = yes; then
28329 if test x$usrp_skipped = xyes; then
28330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-radar-mono requires usrp, which is not being built or specified via pre-installed files." >&5
28331 $as_echo "Component gr-radar-mono requires usrp, which is not being built or specified via pre-installed files." >&6; }
28335 if test x$usrp_with = xno; then
28336 as_fn_error $? "Component gr-radar-mono requires usrp to be included as --with-usrp[=arg]" "$LINENO" 5
28342 if test $passed != no; then
28343 if test $passed = yes; then
28344 if test x$gnuradio_core_skipped = xyes; then
28345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-radar-mono requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
28346 $as_echo "Component gr-radar-mono requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
28350 if test x$gnuradio_core_with = xno; then
28351 as_fn_error $? "Component gr-radar-mono requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
28357 ac_config_files="$ac_config_files gr-radar-mono/Makefile gr-radar-mono/doc/Makefile gr-radar-mono/src/Makefile gr-radar-mono/src/fpga/Makefile gr-radar-mono/src/fpga/top/Makefile gr-radar-mono/src/fpga/lib/Makefile gr-radar-mono/src/fpga/models/Makefile gr-radar-mono/src/fpga/tb/Makefile gr-radar-mono/src/lib/Makefile gr-radar-mono/src/python/Makefile gr-radar-mono/src/python/run_tests"
28362 gr_radar_mono_with=no
28363 if test $passed = no; then
28364 if test x$enable_gr_radar_mono = xyes; then
28365 as_fn_error $? "Component gr-radar-mono has errors; stopping." "$LINENO" 5
28367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-radar-mono." >&5
28368 $as_echo "Not building component gr-radar-mono." >&6; }
28371 if test $passed = with; then
28372 with_dirs="$with_dirs gr-radar-mono"
28374 if test "x${gr_radar_mono_INCLUDES}" != "x"; then
28375 if test "x$with_INCLUDES" = "x"; then
28376 with_INCLUDES="${gr_radar_mono_INCLUDES}"
28378 with_INCLUDES="${gr_radar_mono_INCLUDES}"" ""$with_INCLUDES"
28380 gr_radar_mono_INCLUDES=
28384 if test "x${gr_radar_mono_SWIG_INCLUDES}" != "x"; then
28385 if test "x$with_SWIG_INCLUDES" = "x"; then
28386 with_SWIG_INCLUDES="${gr_radar_mono_SWIG_INCLUDES}"
28388 with_SWIG_INCLUDES="${gr_radar_mono_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
28390 gr_radar_mono_SWIG_INCLUDES=
28394 if test "x${gr_radar_mono_PYDIRPATH}" != "x"; then
28395 if test "x$with_PYDIRPATH" = "x"; then
28396 with_PYDIRPATH="${gr_radar_mono_PYDIRPATH}"
28398 with_PYDIRPATH="${gr_radar_mono_PYDIRPATH}"":""$with_PYDIRPATH"
28400 gr_radar_mono_PYDIRPATH=
28404 if test "x${gr_radar_mono_SWIGDIRPATH}" != "x"; then
28405 if test "x$with_SWIGDIRPATH" = "x"; then
28406 with_SWIGDIRPATH="${gr_radar_mono_SWIGDIRPATH}"
28408 with_SWIGDIRPATH="${gr_radar_mono_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
28410 gr_radar_mono_SWIGDIRPATH=
28414 if test "x${gr_radar_mono_LIBDIRPATH}" != "x"; then
28415 if test "x$with_LIBDIRPATH" = "x"; then
28416 with_LIBDIRPATH="${gr_radar_mono_LIBDIRPATH}"
28418 with_LIBDIRPATH="${gr_radar_mono_LIBDIRPATH}"":""$with_LIBDIRPATH"
28420 gr_radar_mono_LIBDIRPATH=
28423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-radar-mono will be included from a pre-installed library and includes." >&5
28424 $as_echo "Component gr-radar-mono will be included from a pre-installed library and includes." >&6; }
28425 gr_radar_mono_with=yes
28427 gr_radar_mono_LDFLAG=
28428 if test x$enable_gr_radar_mono != xno; then
28429 ac_config_commands="$ac_config_commands run_tests_radar_mono"
28432 build_dirs="$build_dirs gr-radar-mono"
28433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-radar-mono passed configuration checks; building." >&5
28434 $as_echo "Component gr-radar-mono passed configuration checks; building." >&6; }
28437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-radar-mono passed configuration checks; but not building." >&5
28438 $as_echo "Component gr-radar-mono passed configuration checks; but not building." >&6; }
28442 if test $passed = no; then
28443 skipped_dirs="$skipped_dirs gr-radar-mono"
28444 gr_radar_mono_skipped=yes
28446 gr_radar_mono_skipped=no
28460 # Check whether --enable-gr-radio-astronomy was given.
28461 if test "${enable_gr_radio_astronomy+set}" = set; then :
28462 enableval=$enable_gr_radio_astronomy;
28465 enable_gr_radio_astronomy=$enable_all_components
28466 if test x$enable_all_components = xno; then
28476 if test $passed != no; then
28477 if test $passed = yes; then
28478 if test x$gnuradio_core_skipped = xyes; then
28479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-radio-astronomy requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
28480 $as_echo "Component gr-radio-astronomy requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
28484 if test x$gnuradio_core_with = xno; then
28485 as_fn_error $? "Component gr-radio-astronomy requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
28491 ac_config_files="$ac_config_files gr-radio-astronomy/Makefile gr-radio-astronomy/src/Makefile gr-radio-astronomy/src/lib/Makefile gr-radio-astronomy/src/python/Makefile gr-radio-astronomy/src/python/run_tests"
28496 gr_radio_astronomy_with=no
28497 if test $passed = no; then
28498 if test x$enable_gr_radio_astronomy = xyes; then
28499 as_fn_error $? "Component gr-radio-astronomy has errors; stopping." "$LINENO" 5
28501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-radio-astronomy." >&5
28502 $as_echo "Not building component gr-radio-astronomy." >&6; }
28505 if test $passed = with; then
28506 with_dirs="$with_dirs gr-radio-astronomy"
28508 if test "x${gr_radio_astronomy_INCLUDES}" != "x"; then
28509 if test "x$with_INCLUDES" = "x"; then
28510 with_INCLUDES="${gr_radio_astronomy_INCLUDES}"
28512 with_INCLUDES="${gr_radio_astronomy_INCLUDES}"" ""$with_INCLUDES"
28514 gr_radio_astronomy_INCLUDES=
28518 if test "x${gr_radio_astronomy_SWIG_INCLUDES}" != "x"; then
28519 if test "x$with_SWIG_INCLUDES" = "x"; then
28520 with_SWIG_INCLUDES="${gr_radio_astronomy_SWIG_INCLUDES}"
28522 with_SWIG_INCLUDES="${gr_radio_astronomy_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
28524 gr_radio_astronomy_SWIG_INCLUDES=
28528 if test "x${gr_radio_astronomy_PYDIRPATH}" != "x"; then
28529 if test "x$with_PYDIRPATH" = "x"; then
28530 with_PYDIRPATH="${gr_radio_astronomy_PYDIRPATH}"
28532 with_PYDIRPATH="${gr_radio_astronomy_PYDIRPATH}"":""$with_PYDIRPATH"
28534 gr_radio_astronomy_PYDIRPATH=
28538 if test "x${gr_radio_astronomy_SWIGDIRPATH}" != "x"; then
28539 if test "x$with_SWIGDIRPATH" = "x"; then
28540 with_SWIGDIRPATH="${gr_radio_astronomy_SWIGDIRPATH}"
28542 with_SWIGDIRPATH="${gr_radio_astronomy_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
28544 gr_radio_astronomy_SWIGDIRPATH=
28548 if test "x${gr_radio_astronomy_LIBDIRPATH}" != "x"; then
28549 if test "x$with_LIBDIRPATH" = "x"; then
28550 with_LIBDIRPATH="${gr_radio_astronomy_LIBDIRPATH}"
28552 with_LIBDIRPATH="${gr_radio_astronomy_LIBDIRPATH}"":""$with_LIBDIRPATH"
28554 gr_radio_astronomy_LIBDIRPATH=
28557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-radio-astronomy will be included from a pre-installed library and includes." >&5
28558 $as_echo "Component gr-radio-astronomy will be included from a pre-installed library and includes." >&6; }
28559 gr_radio_astronomy_with=yes
28561 gr_radio_astronomy_LDFLAG=
28562 if test x$enable_gr_radio_astronomy != xno; then
28563 ac_config_commands="$ac_config_commands run_tests_astronomy"
28566 build_dirs="$build_dirs gr-radio-astronomy"
28567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-radio-astronomy passed configuration checks; building." >&5
28568 $as_echo "Component gr-radio-astronomy passed configuration checks; building." >&6; }
28571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-radio-astronomy passed configuration checks; but not building." >&5
28572 $as_echo "Component gr-radio-astronomy passed configuration checks; but not building." >&6; }
28576 if test $passed = no; then
28577 skipped_dirs="$skipped_dirs gr-radio-astronomy"
28578 gr_radio_astronomy_skipped=yes
28580 gr_radio_astronomy_skipped=no
28594 # Check whether --enable-gr-trellis was given.
28595 if test "${enable_gr_trellis+set}" = set; then :
28596 enableval=$enable_gr_trellis;
28599 enable_gr_trellis=$enable_all_components
28600 if test x$enable_all_components = xno; then
28610 if test $passed != no; then
28611 if test $passed = yes; then
28612 if test x$gnuradio_core_skipped = xyes; then
28613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-trellis requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
28614 $as_echo "Component gr-trellis requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
28618 if test x$gnuradio_core_with = xno; then
28619 as_fn_error $? "Component gr-trellis requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
28625 ac_config_files="$ac_config_files gr-trellis/Makefile gr-trellis/gnuradio-trellis.pc gr-trellis/doc/Makefile gr-trellis/src/Makefile gr-trellis/src/lib/Makefile gr-trellis/src/python/Makefile gr-trellis/src/python/run_tests gr-trellis/src/examples/Makefile gr-trellis/src/examples/fsm_files/Makefile"
28631 if test $passed = no; then
28632 if test x$enable_gr_trellis = xyes; then
28633 as_fn_error $? "Component gr-trellis has errors; stopping." "$LINENO" 5
28635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-trellis." >&5
28636 $as_echo "Not building component gr-trellis." >&6; }
28639 if test $passed = with; then
28640 with_dirs="$with_dirs gr-trellis"
28642 if test "x${gr_trellis_INCLUDES}" != "x"; then
28643 if test "x$with_INCLUDES" = "x"; then
28644 with_INCLUDES="${gr_trellis_INCLUDES}"
28646 with_INCLUDES="${gr_trellis_INCLUDES}"" ""$with_INCLUDES"
28648 gr_trellis_INCLUDES=
28652 if test "x${gr_trellis_SWIG_INCLUDES}" != "x"; then
28653 if test "x$with_SWIG_INCLUDES" = "x"; then
28654 with_SWIG_INCLUDES="${gr_trellis_SWIG_INCLUDES}"
28656 with_SWIG_INCLUDES="${gr_trellis_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
28658 gr_trellis_SWIG_INCLUDES=
28662 if test "x${gr_trellis_PYDIRPATH}" != "x"; then
28663 if test "x$with_PYDIRPATH" = "x"; then
28664 with_PYDIRPATH="${gr_trellis_PYDIRPATH}"
28666 with_PYDIRPATH="${gr_trellis_PYDIRPATH}"":""$with_PYDIRPATH"
28668 gr_trellis_PYDIRPATH=
28672 if test "x${gr_trellis_SWIGDIRPATH}" != "x"; then
28673 if test "x$with_SWIGDIRPATH" = "x"; then
28674 with_SWIGDIRPATH="${gr_trellis_SWIGDIRPATH}"
28676 with_SWIGDIRPATH="${gr_trellis_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
28678 gr_trellis_SWIGDIRPATH=
28682 if test "x${gr_trellis_LIBDIRPATH}" != "x"; then
28683 if test "x$with_LIBDIRPATH" = "x"; then
28684 with_LIBDIRPATH="${gr_trellis_LIBDIRPATH}"
28686 with_LIBDIRPATH="${gr_trellis_LIBDIRPATH}"":""$with_LIBDIRPATH"
28688 gr_trellis_LIBDIRPATH=
28691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-trellis will be included from a pre-installed library and includes." >&5
28692 $as_echo "Component gr-trellis will be included from a pre-installed library and includes." >&6; }
28693 gr_trellis_with=yes
28696 if test x$enable_gr_trellis != xno; then
28697 ac_config_commands="$ac_config_commands run_tests_gr_trellis"
28700 build_dirs="$build_dirs gr-trellis"
28701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-trellis passed configuration checks; building." >&5
28702 $as_echo "Component gr-trellis passed configuration checks; building." >&6; }
28705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-trellis passed configuration checks; but not building." >&5
28706 $as_echo "Component gr-trellis passed configuration checks; but not building." >&6; }
28710 if test $passed = no; then
28711 skipped_dirs="$skipped_dirs gr-trellis"
28712 gr_trellis_skipped=yes
28714 gr_trellis_skipped=no
28728 # Check whether --enable-gr-video-sdl was given.
28729 if test "${enable_gr_video_sdl+set}" = set; then :
28730 enableval=$enable_gr_video_sdl;
28733 enable_gr_video_sdl=$enable_all_components
28734 if test x$enable_all_components = xno; then
28744 if test $passed != no; then
28745 if test $passed = yes; then
28746 if test x$gnuradio_core_skipped = xyes; then
28747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-video-sdl requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
28748 $as_echo "Component gr-video-sdl requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
28752 if test x$gnuradio_core_with = xno; then
28753 as_fn_error $? "Component gr-video-sdl requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
28759 if test $passed = yes; then
28764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
28765 $as_echo_n "checking for SDL... " >&6; }
28767 if test -n "$PKG_CONFIG"; then
28768 if test -n "$SDL_CFLAGS"; then
28769 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
28771 if test -n "$PKG_CONFIG" && \
28772 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
28773 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
28775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28776 test $ac_status = 0; }; then
28777 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
28786 if test x$cross_compiling = xyes
28788 if test -n "$PKG_CONFIG"; then
28789 if test -n "$SDL_LIBS"; then
28790 pkg_cv_SDL_LIBS="$SDL_LIBS"
28792 if test -n "$PKG_CONFIG" && \
28793 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
28794 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
28796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28797 test $ac_status = 0; }; then
28798 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs --static "sdl >= 1.2.0" 2>/dev/null`
28807 for flag in $pkg_cv_SDL_LIBS; do
28809 (-L/lib* | -L/usr/lib* ) ;; # ignore
28810 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
28813 pkg_cv_SDL_LIBS="$_pkg_tmp"
28815 if test -n "$PKG_CONFIG"; then
28816 if test -n "$SDL_LIBS"; then
28817 pkg_cv_SDL_LIBS="$SDL_LIBS"
28819 if test -n "$PKG_CONFIG" && \
28820 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
28821 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
28823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28824 test $ac_status = 0; }; then
28825 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs --static "sdl >= 1.2.0" 2>/dev/null`
28835 if test -n "$PKG_CONFIG"; then
28836 if test -n "$SDL_INCLUDEDIR"; then
28837 pkg_cv_SDL_INCLUDEDIR="$SDL_INCLUDEDIR"
28839 if test -n "$PKG_CONFIG" && \
28840 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
28841 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
28843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28844 test $ac_status = 0; }; then
28845 pkg_cv_SDL_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "sdl >= 1.2.0" 2>/dev/null`
28857 if test $pkg_failed = yes; then
28859 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28860 _pkg_short_errors_supported=yes
28862 _pkg_short_errors_supported=no
28864 if test $_pkg_short_errors_supported = yes; then
28865 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sdl >= 1.2.0"`
28867 SDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sdl >= 1.2.0"`
28869 # Put the nasty error message in config.log where it belongs
28870 echo "$SDL_PKG_ERRORS" >&5
28872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28873 $as_echo "no" >&6; }
28876 # Check whether --with-sdl-prefix was given.
28877 if test "${with_sdl_prefix+set}" = set; then :
28878 withval=$with_sdl_prefix; sdl_prefix="$withval"
28884 # Check whether --with-sdl-exec-prefix was given.
28885 if test "${with_sdl_exec_prefix+set}" = set; then :
28886 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
28891 # Check whether --enable-sdltest was given.
28892 if test "${enable_sdltest+set}" = set; then :
28893 enableval=$enable_sdltest;
28899 if test x$sdl_exec_prefix != x ; then
28900 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
28901 if test x${SDL_CONFIG+set} != xset ; then
28902 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
28905 if test x$sdl_prefix != x ; then
28906 sdl_args="$sdl_args --prefix=$sdl_prefix"
28907 if test x${SDL_CONFIG+set} != xset ; then
28908 SDL_CONFIG=$sdl_prefix/bin/sdl-config
28913 TMP_PATH="$prefix/bin:$prefix/usr/bin:$PATH"
28914 # Extract the first word of "sdl-config", so it can be a program name with args.
28915 set dummy sdl-config; ac_word=$2
28916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28917 $as_echo_n "checking for $ac_word... " >&6; }
28918 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
28919 $as_echo_n "(cached) " >&6
28921 case $SDL_CONFIG in
28923 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
28926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28927 for as_dir in $TMP_PATH
28930 test -z "$as_dir" && as_dir=.
28931 for ac_exec_ext in '' $ac_executable_extensions; do
28932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28933 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28941 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
28945 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
28946 if test -n "$SDL_CONFIG"; then
28947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
28948 $as_echo "$SDL_CONFIG" >&6; }
28950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28951 $as_echo "no" >&6; }
28955 min_sdl_version=$SDL_VERSION
28956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
28957 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
28959 if test "$SDL_CONFIG" = "no" ; then
28962 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
28963 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
28965 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
28966 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28967 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
28968 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28969 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
28970 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28971 if test "x$enable_sdltest" = "xyes" ; then
28972 ac_save_CFLAGS="$CFLAGS"
28973 ac_save_LIBS="$LIBS"
28974 CFLAGS="$CFLAGS $SDL_CFLAGS"
28975 LIBS="$LIBS $SDL_LIBS"
28977 if test "$cross_compiling" = yes; then :
28978 echo $ac_n "cross compiling; assumed OK... $ac_c"
28980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28981 /* end confdefs.h. */
28984 #include <stdlib.h>
28985 #include <string.h>
28989 my_strdup (char *str)
28995 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
28996 strcpy (new_str, str);
29004 int main (int argc, char *argv[])
29006 int major, minor, micro;
29009 /* This hangs on some systems (?)
29010 system ("touch conf.sdltest");
29012 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
29014 /* HP/UX 9 (%@#!) writes to sscanf strings */
29015 tmp_version = my_strdup("$min_sdl_version");
29016 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29017 printf("%s, bad version string\n", "$min_sdl_version");
29021 if (($sdl_major_version > major) ||
29022 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
29023 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
29029 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
29030 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
29031 printf("*** best to upgrade to the required version.\n");
29032 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
29033 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
29034 printf("*** config.cache before re-running configure\n");
29041 if ac_fn_c_try_run "$LINENO"; then :
29046 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29047 conftest.$ac_objext conftest.beam conftest.$ac_ext
29050 CFLAGS="$ac_save_CFLAGS"
29051 LIBS="$ac_save_LIBS"
29054 if test "x$no_sdl" = x ; then
29055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29056 $as_echo "yes" >&6; }
29059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29060 $as_echo "no" >&6; }
29061 if test "$SDL_CONFIG" = "no" ; then
29062 echo "*** The sdl-config script installed by SDL could not be found"
29063 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
29064 echo "*** your path, or set the SDL_CONFIG environment variable to the"
29065 echo "*** full path to sdl-config."
29067 if test -f conf.sdltest ; then
29070 echo "*** Could not run SDL test program, checking why..."
29071 CFLAGS="$CFLAGS $SDL_CFLAGS"
29072 LIBS="$LIBS $SDL_LIBS"
29073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29074 /* end confdefs.h. */
29079 int main(int argc, char *argv[])
29082 #define main K_and_R_C_main
29092 if ac_fn_c_try_link "$LINENO"; then :
29093 echo "*** The test program compiled, but did not run. This usually means"
29094 echo "*** that the run-time linker is not finding SDL or finding the wrong"
29095 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
29096 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29097 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29098 echo "*** is required on your system"
29100 echo "*** If you have an old version installed, it is best to remove it, although"
29101 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29103 echo "*** The test program failed to compile or link. See the file config.log for the"
29104 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
29105 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
29106 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
29108 rm -f core conftest.err conftest.$ac_objext \
29109 conftest$ac_exeext conftest.$ac_ext
29110 CFLAGS="$ac_save_CFLAGS"
29111 LIBS="$ac_save_LIBS"
29117 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-video-sdl requires library sdl, not found or failed test." >&5
29118 $as_echo "gr-video-sdl requires library sdl, not found or failed test." >&6; }
29124 elif test $pkg_failed = untried; then
29127 # Check whether --with-sdl-prefix was given.
29128 if test "${with_sdl_prefix+set}" = set; then :
29129 withval=$with_sdl_prefix; sdl_prefix="$withval"
29135 # Check whether --with-sdl-exec-prefix was given.
29136 if test "${with_sdl_exec_prefix+set}" = set; then :
29137 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
29142 # Check whether --enable-sdltest was given.
29143 if test "${enable_sdltest+set}" = set; then :
29144 enableval=$enable_sdltest;
29150 if test x$sdl_exec_prefix != x ; then
29151 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
29152 if test x${SDL_CONFIG+set} != xset ; then
29153 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
29156 if test x$sdl_prefix != x ; then
29157 sdl_args="$sdl_args --prefix=$sdl_prefix"
29158 if test x${SDL_CONFIG+set} != xset ; then
29159 SDL_CONFIG=$sdl_prefix/bin/sdl-config
29164 TMP_PATH="$prefix/bin:$prefix/usr/bin:$PATH"
29165 # Extract the first word of "sdl-config", so it can be a program name with args.
29166 set dummy sdl-config; ac_word=$2
29167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29168 $as_echo_n "checking for $ac_word... " >&6; }
29169 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
29170 $as_echo_n "(cached) " >&6
29172 case $SDL_CONFIG in
29174 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
29177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29178 for as_dir in $TMP_PATH
29181 test -z "$as_dir" && as_dir=.
29182 for ac_exec_ext in '' $ac_executable_extensions; do
29183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29184 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29192 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
29196 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
29197 if test -n "$SDL_CONFIG"; then
29198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
29199 $as_echo "$SDL_CONFIG" >&6; }
29201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29202 $as_echo "no" >&6; }
29206 min_sdl_version=$SDL_VERSION
29207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
29208 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
29210 if test "$SDL_CONFIG" = "no" ; then
29213 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
29214 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
29216 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
29217 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29218 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
29219 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29220 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
29221 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29222 if test "x$enable_sdltest" = "xyes" ; then
29223 ac_save_CFLAGS="$CFLAGS"
29224 ac_save_LIBS="$LIBS"
29225 CFLAGS="$CFLAGS $SDL_CFLAGS"
29226 LIBS="$LIBS $SDL_LIBS"
29228 if test "$cross_compiling" = yes; then :
29229 echo $ac_n "cross compiling; assumed OK... $ac_c"
29231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29232 /* end confdefs.h. */
29235 #include <stdlib.h>
29236 #include <string.h>
29240 my_strdup (char *str)
29246 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
29247 strcpy (new_str, str);
29255 int main (int argc, char *argv[])
29257 int major, minor, micro;
29260 /* This hangs on some systems (?)
29261 system ("touch conf.sdltest");
29263 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
29265 /* HP/UX 9 (%@#!) writes to sscanf strings */
29266 tmp_version = my_strdup("$min_sdl_version");
29267 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29268 printf("%s, bad version string\n", "$min_sdl_version");
29272 if (($sdl_major_version > major) ||
29273 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
29274 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
29280 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
29281 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
29282 printf("*** best to upgrade to the required version.\n");
29283 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
29284 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
29285 printf("*** config.cache before re-running configure\n");
29292 if ac_fn_c_try_run "$LINENO"; then :
29297 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29298 conftest.$ac_objext conftest.beam conftest.$ac_ext
29301 CFLAGS="$ac_save_CFLAGS"
29302 LIBS="$ac_save_LIBS"
29305 if test "x$no_sdl" = x ; then
29306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29307 $as_echo "yes" >&6; }
29310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29311 $as_echo "no" >&6; }
29312 if test "$SDL_CONFIG" = "no" ; then
29313 echo "*** The sdl-config script installed by SDL could not be found"
29314 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
29315 echo "*** your path, or set the SDL_CONFIG environment variable to the"
29316 echo "*** full path to sdl-config."
29318 if test -f conf.sdltest ; then
29321 echo "*** Could not run SDL test program, checking why..."
29322 CFLAGS="$CFLAGS $SDL_CFLAGS"
29323 LIBS="$LIBS $SDL_LIBS"
29324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29325 /* end confdefs.h. */
29330 int main(int argc, char *argv[])
29333 #define main K_and_R_C_main
29343 if ac_fn_c_try_link "$LINENO"; then :
29344 echo "*** The test program compiled, but did not run. This usually means"
29345 echo "*** that the run-time linker is not finding SDL or finding the wrong"
29346 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
29347 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29348 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29349 echo "*** is required on your system"
29351 echo "*** If you have an old version installed, it is best to remove it, although"
29352 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29354 echo "*** The test program failed to compile or link. See the file config.log for the"
29355 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
29356 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
29357 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
29359 rm -f core conftest.err conftest.$ac_objext \
29360 conftest$ac_exeext conftest.$ac_ext
29361 CFLAGS="$ac_save_CFLAGS"
29362 LIBS="$ac_save_LIBS"
29368 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-video-sdl requires library sdl, not found or failed test." >&5
29369 $as_echo "gr-video-sdl requires library sdl, not found or failed test." >&6; }
29376 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
29377 SDL_LIBS=$pkg_cv_SDL_LIBS
29378 SDL_INCLUDEDIR=$pkg_cv_SDL_INCLUDEDIR
29381 for flag in $SDL_CFLAGS; do
29383 -I* | -D* | -U*) SDL_CPPFLAGS="$SDL_CPPFLAGS $flag" ;;
29386 pkg_cv_SDL_CPPFLAGS=$SDL_CPPFLAGS
29389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29390 $as_echo "yes" >&6; }
29395 ac_config_files="$ac_config_files gr-video-sdl/Makefile gr-video-sdl/gnuradio-video-sdl.pc gr-video-sdl/src/Makefile gr-video-sdl/src/run_tests"
29400 gr_video_sdl_with=no
29401 if test $passed = no; then
29402 if test x$enable_gr_video_sdl = xyes; then
29403 as_fn_error $? "Component gr-video-sdl has errors; stopping." "$LINENO" 5
29405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-video-sdl." >&5
29406 $as_echo "Not building component gr-video-sdl." >&6; }
29409 if test $passed = with; then
29410 with_dirs="$with_dirs gr-video-sdl"
29412 if test "x${gr_video_sdl_INCLUDES}" != "x"; then
29413 if test "x$with_INCLUDES" = "x"; then
29414 with_INCLUDES="${gr_video_sdl_INCLUDES}"
29416 with_INCLUDES="${gr_video_sdl_INCLUDES}"" ""$with_INCLUDES"
29418 gr_video_sdl_INCLUDES=
29422 if test "x${gr_video_sdl_SWIG_INCLUDES}" != "x"; then
29423 if test "x$with_SWIG_INCLUDES" = "x"; then
29424 with_SWIG_INCLUDES="${gr_video_sdl_SWIG_INCLUDES}"
29426 with_SWIG_INCLUDES="${gr_video_sdl_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
29428 gr_video_sdl_SWIG_INCLUDES=
29432 if test "x${gr_video_sdl_PYDIRPATH}" != "x"; then
29433 if test "x$with_PYDIRPATH" = "x"; then
29434 with_PYDIRPATH="${gr_video_sdl_PYDIRPATH}"
29436 with_PYDIRPATH="${gr_video_sdl_PYDIRPATH}"":""$with_PYDIRPATH"
29438 gr_video_sdl_PYDIRPATH=
29442 if test "x${gr_video_sdl_SWIGDIRPATH}" != "x"; then
29443 if test "x$with_SWIGDIRPATH" = "x"; then
29444 with_SWIGDIRPATH="${gr_video_sdl_SWIGDIRPATH}"
29446 with_SWIGDIRPATH="${gr_video_sdl_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
29448 gr_video_sdl_SWIGDIRPATH=
29452 if test "x${gr_video_sdl_LIBDIRPATH}" != "x"; then
29453 if test "x$with_LIBDIRPATH" = "x"; then
29454 with_LIBDIRPATH="${gr_video_sdl_LIBDIRPATH}"
29456 with_LIBDIRPATH="${gr_video_sdl_LIBDIRPATH}"":""$with_LIBDIRPATH"
29458 gr_video_sdl_LIBDIRPATH=
29461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-video-sdl will be included from a pre-installed library and includes." >&5
29462 $as_echo "Component gr-video-sdl will be included from a pre-installed library and includes." >&6; }
29463 gr_video_sdl_with=yes
29465 gr_video_sdl_LDFLAG=
29466 if test x$enable_gr_video_sdl != xno; then
29467 ac_config_commands="$ac_config_commands run_tests_sdl"
29470 build_dirs="$build_dirs gr-video-sdl"
29471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-video-sdl passed configuration checks; building." >&5
29472 $as_echo "Component gr-video-sdl passed configuration checks; building." >&6; }
29475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-video-sdl passed configuration checks; but not building." >&5
29476 $as_echo "Component gr-video-sdl passed configuration checks; but not building." >&6; }
29480 if test $passed = no; then
29481 skipped_dirs="$skipped_dirs gr-video-sdl"
29482 gr_video_sdl_skipped=yes
29484 gr_video_sdl_skipped=no
29498 # Check whether --enable-gr-wxgui was given.
29499 if test "${enable_gr_wxgui+set}" = set; then :
29500 enableval=$enable_gr_wxgui;
29503 enable_gr_wxgui=$enable_all_components
29504 if test x$enable_all_components = xno; then
29513 if test x = x; then
29514 pc_comp_name="gr-wxgui"
29520 # Check whether --with-gr-wxgui was given.
29521 if test "${with_gr_wxgui+set}" = set; then :
29522 withval=$with_gr_wxgui; if test "x$withval" != "xyes"; then
29523 with_gr_wxgui_val=$withval
29528 if test x$with_gr_wxgui = xyes; then
29529 if test x$enable_gr_wxgui = xyes; then
29530 as_fn_error $? "Component gr-wxgui: Cannot use both --enable and --with" "$LINENO" 5
29533 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
29535 l_PKG_CONFIG_PATH=$with_gr_wxgui_val
29536 if test "x$l_PKG_CONFIG_PATH" != "x"; then
29537 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
29539 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
29540 as_fn_error $? "Component gr-wxgui: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." "$LINENO" 5
29544 if test -n "$PKG_CONFIG" && \
29545 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
29546 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
29548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29549 test $ac_status = 0; }; then
29550 passed=with; check1=yes
29554 if test "x$l_PKG_CONFIG_PATH" != "x"; then
29555 if test "x$s_PKG_CONFIG_PATH" != "x"; then
29556 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
29557 if test -n "$PKG_CONFIG" && \
29558 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
29559 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
29561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29562 test $ac_status = 0; }; then
29569 if test $passed != with; then
29570 as_fn_error $? "Component gr-wxgui: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." "$LINENO" 5
29572 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
29576 gr_wxgui_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
29577 gr_wxgui_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
29578 gr_wxgui_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
29580 if test x$check1 = xyes; then
29581 if test "x$s_PKG_CONFIG_PATH" != "x"; then
29582 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
29593 if test $passed != no; then
29594 if test $passed = yes; then
29595 if test x$gnuradio_core_skipped = xyes; then
29596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-wxgui requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
29597 $as_echo "Component gr-wxgui requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
29601 if test x$gnuradio_core_with = xno; then
29602 as_fn_error $? "Component gr-wxgui requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
29608 if test $passed = yes; then
29610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python wxWidgets wrappers >= 2.8" >&5
29611 $as_echo_n "checking for Python wxWidgets wrappers >= 2.8... " >&6; }
29612 if test "wx.version().split()[0] >= "2.8""; then
29616 assert wx.version().split()[0] >= "2.8"
29623 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
29624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29625 $as_echo "no" >&6; }
29628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29629 $as_echo "yes" >&6; }
29634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Numeric Python extensions" >&5
29635 $as_echo_n "checking for Numeric Python extensions... " >&6; }
29647 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
29648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29649 $as_echo "no" >&6; }
29652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29653 $as_echo "yes" >&6; }
29659 ac_config_files="$ac_config_files gr-wxgui/Makefile gr-wxgui/gr-wxgui.pc gr-wxgui/src/Makefile gr-wxgui/src/python/Makefile gr-wxgui/src/python/plotter/Makefile"
29665 if test $passed = no; then
29666 if test x$enable_gr_wxgui = xyes; then
29667 as_fn_error $? "Component gr-wxgui has errors; stopping." "$LINENO" 5
29669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-wxgui." >&5
29670 $as_echo "Not building component gr-wxgui." >&6; }
29673 if test $passed = with; then
29674 with_dirs="$with_dirs gr-wxgui"
29676 if test "x${gr_wxgui_INCLUDES}" != "x"; then
29677 if test "x$with_INCLUDES" = "x"; then
29678 with_INCLUDES="${gr_wxgui_INCLUDES}"
29680 with_INCLUDES="${gr_wxgui_INCLUDES}"" ""$with_INCLUDES"
29686 if test "x${gr_wxgui_SWIG_INCLUDES}" != "x"; then
29687 if test "x$with_SWIG_INCLUDES" = "x"; then
29688 with_SWIG_INCLUDES="${gr_wxgui_SWIG_INCLUDES}"
29690 with_SWIG_INCLUDES="${gr_wxgui_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
29692 gr_wxgui_SWIG_INCLUDES=
29696 if test "x${gr_wxgui_PYDIRPATH}" != "x"; then
29697 if test "x$with_PYDIRPATH" = "x"; then
29698 with_PYDIRPATH="${gr_wxgui_PYDIRPATH}"
29700 with_PYDIRPATH="${gr_wxgui_PYDIRPATH}"":""$with_PYDIRPATH"
29702 gr_wxgui_PYDIRPATH=
29706 if test "x${gr_wxgui_SWIGDIRPATH}" != "x"; then
29707 if test "x$with_SWIGDIRPATH" = "x"; then
29708 with_SWIGDIRPATH="${gr_wxgui_SWIGDIRPATH}"
29710 with_SWIGDIRPATH="${gr_wxgui_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
29712 gr_wxgui_SWIGDIRPATH=
29716 if test "x${gr_wxgui_LIBDIRPATH}" != "x"; then
29717 if test "x$with_LIBDIRPATH" = "x"; then
29718 with_LIBDIRPATH="${gr_wxgui_LIBDIRPATH}"
29720 with_LIBDIRPATH="${gr_wxgui_LIBDIRPATH}"":""$with_LIBDIRPATH"
29722 gr_wxgui_LIBDIRPATH=
29725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-wxgui will be included from a pre-installed library and includes." >&5
29726 $as_echo "Component gr-wxgui will be included from a pre-installed library and includes." >&6; }
29730 if test x$enable_gr_wxgui != xno; then
29732 build_dirs="$build_dirs gr-wxgui"
29733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-wxgui passed configuration checks; building." >&5
29734 $as_echo "Component gr-wxgui passed configuration checks; building." >&6; }
29737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-wxgui passed configuration checks; but not building." >&5
29738 $as_echo "Component gr-wxgui passed configuration checks; but not building." >&6; }
29742 if test $passed = no; then
29743 skipped_dirs="$skipped_dirs gr-wxgui"
29744 gr_wxgui_skipped=yes
29746 gr_wxgui_skipped=no
29761 # Check whether --enable-gr-qtgui was given.
29762 if test "${enable_gr_qtgui+set}" = set; then :
29763 enableval=$enable_gr_qtgui;
29766 enable_gr_qtgui=$enable_all_components
29767 if test x$enable_all_components = xno; then
29777 if test $passed != no; then
29778 if test $passed = yes; then
29779 if test x$gnuradio_core_skipped = xyes; then
29780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-qtgui requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
29781 $as_echo "Component gr-qtgui requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
29785 if test x$gnuradio_core_with = xno; then
29786 as_fn_error $? "Component gr-qtgui requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
29794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PyQt4 for Qt4" >&5
29795 $as_echo_n "checking for PyQt4 for Qt4... " >&6; }
29797 PyQt4.QtCore.PYQT_VERSION >= 260000"; then
29800 import PyQt4.QtCore
29802 PyQt4.QtCore.PYQT_VERSION >= 260000
29806 try: import PyQt4.QtCore
29809 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
29810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29811 $as_echo "no" >&6; }
29814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29815 $as_echo "yes" >&6; }
29821 # Enable this if we want to test for PyQwt, too
29822 #PYTHON_CHECK_MODULE([PyQt4.Qwt5], [PyQwt5 for Qt4], \
29823 # [passed=yes], [passed=no], \
29824 # [PyQt4.Qwt5.QWT_VERSION >= 327000])
29834 # qt4-core, qt4-gui, qwt5-qt4, qwt5-qt4-dev, libqwtplot3d-qt4, libqwtplot3d-qt4-dev, qt4-dev-tools
29836 if test $passed = yes; then
29841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QTCORE" >&5
29842 $as_echo_n "checking for QTCORE... " >&6; }
29844 if test -n "$PKG_CONFIG"; then
29845 if test -n "$QTCORE_CFLAGS"; then
29846 pkg_cv_QTCORE_CFLAGS="$QTCORE_CFLAGS"
29848 if test -n "$PKG_CONFIG" && \
29849 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.2\""; } >&5
29850 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.2") 2>&5
29852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29853 test $ac_status = 0; }; then
29854 pkg_cv_QTCORE_CFLAGS=`$PKG_CONFIG --cflags "QtCore >= 4.2" 2>/dev/null`
29863 if test x$cross_compiling = xyes
29865 if test -n "$PKG_CONFIG"; then
29866 if test -n "$QTCORE_LIBS"; then
29867 pkg_cv_QTCORE_LIBS="$QTCORE_LIBS"
29869 if test -n "$PKG_CONFIG" && \
29870 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.2\""; } >&5
29871 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.2") 2>&5
29873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29874 test $ac_status = 0; }; then
29875 pkg_cv_QTCORE_LIBS=`$PKG_CONFIG --libs --static "QtCore >= 4.2" 2>/dev/null`
29884 for flag in $pkg_cv_QTCORE_LIBS; do
29886 (-L/lib* | -L/usr/lib* ) ;; # ignore
29887 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
29890 pkg_cv_QTCORE_LIBS="$_pkg_tmp"
29892 if test -n "$PKG_CONFIG"; then
29893 if test -n "$QTCORE_LIBS"; then
29894 pkg_cv_QTCORE_LIBS="$QTCORE_LIBS"
29896 if test -n "$PKG_CONFIG" && \
29897 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.2\""; } >&5
29898 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.2") 2>&5
29900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29901 test $ac_status = 0; }; then
29902 pkg_cv_QTCORE_LIBS=`$PKG_CONFIG --libs --static "QtCore >= 4.2" 2>/dev/null`
29912 if test -n "$PKG_CONFIG"; then
29913 if test -n "$QTCORE_INCLUDEDIR"; then
29914 pkg_cv_QTCORE_INCLUDEDIR="$QTCORE_INCLUDEDIR"
29916 if test -n "$PKG_CONFIG" && \
29917 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.2\""; } >&5
29918 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.2") 2>&5
29920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29921 test $ac_status = 0; }; then
29922 pkg_cv_QTCORE_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "QtCore >= 4.2" 2>/dev/null`
29934 if test $pkg_failed = yes; then
29936 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29937 _pkg_short_errors_supported=yes
29939 _pkg_short_errors_supported=no
29941 if test $_pkg_short_errors_supported = yes; then
29942 QTCORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtCore >= 4.2"`
29944 QTCORE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore >= 4.2"`
29946 # Put the nasty error message in config.log where it belongs
29947 echo "$QTCORE_PKG_ERRORS" >&5
29949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29950 $as_echo "no" >&6; }
29951 passed=no; { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-qtgui requires libQtCore >= 4.2." >&5
29952 $as_echo "gr-qtgui requires libQtCore >= 4.2." >&6; }
29953 elif test $pkg_failed = untried; then
29954 passed=no; { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-qtgui requires libQtCore >= 4.2." >&5
29955 $as_echo "gr-qtgui requires libQtCore >= 4.2." >&6; }
29957 QTCORE_CFLAGS=$pkg_cv_QTCORE_CFLAGS
29958 QTCORE_LIBS=$pkg_cv_QTCORE_LIBS
29959 QTCORE_INCLUDEDIR=$pkg_cv_QTCORE_INCLUDEDIR
29962 for flag in $QTCORE_CFLAGS; do
29964 -I* | -D* | -U*) QTCORE_CPPFLAGS="$QTCORE_CPPFLAGS $flag" ;;
29967 pkg_cv_QTCORE_CPPFLAGS=$QTCORE_CPPFLAGS
29970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29971 $as_echo "yes" >&6; }
29978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QTGUI" >&5
29979 $as_echo_n "checking for QTGUI... " >&6; }
29981 if test -n "$PKG_CONFIG"; then
29982 if test -n "$QTGUI_CFLAGS"; then
29983 pkg_cv_QTGUI_CFLAGS="$QTGUI_CFLAGS"
29985 if test -n "$PKG_CONFIG" && \
29986 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.2\""; } >&5
29987 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.2") 2>&5
29989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29990 test $ac_status = 0; }; then
29991 pkg_cv_QTGUI_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.2" 2>/dev/null`
30000 if test x$cross_compiling = xyes
30002 if test -n "$PKG_CONFIG"; then
30003 if test -n "$QTGUI_LIBS"; then
30004 pkg_cv_QTGUI_LIBS="$QTGUI_LIBS"
30006 if test -n "$PKG_CONFIG" && \
30007 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.2\""; } >&5
30008 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.2") 2>&5
30010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30011 test $ac_status = 0; }; then
30012 pkg_cv_QTGUI_LIBS=`$PKG_CONFIG --libs --static "QtGui >= 4.2" 2>/dev/null`
30021 for flag in $pkg_cv_QTGUI_LIBS; do
30023 (-L/lib* | -L/usr/lib* ) ;; # ignore
30024 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
30027 pkg_cv_QTGUI_LIBS="$_pkg_tmp"
30029 if test -n "$PKG_CONFIG"; then
30030 if test -n "$QTGUI_LIBS"; then
30031 pkg_cv_QTGUI_LIBS="$QTGUI_LIBS"
30033 if test -n "$PKG_CONFIG" && \
30034 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.2\""; } >&5
30035 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.2") 2>&5
30037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30038 test $ac_status = 0; }; then
30039 pkg_cv_QTGUI_LIBS=`$PKG_CONFIG --libs --static "QtGui >= 4.2" 2>/dev/null`
30049 if test -n "$PKG_CONFIG"; then
30050 if test -n "$QTGUI_INCLUDEDIR"; then
30051 pkg_cv_QTGUI_INCLUDEDIR="$QTGUI_INCLUDEDIR"
30053 if test -n "$PKG_CONFIG" && \
30054 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.2\""; } >&5
30055 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.2") 2>&5
30057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30058 test $ac_status = 0; }; then
30059 pkg_cv_QTGUI_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "QtGui >= 4.2" 2>/dev/null`
30071 if test $pkg_failed = yes; then
30073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30074 _pkg_short_errors_supported=yes
30076 _pkg_short_errors_supported=no
30078 if test $_pkg_short_errors_supported = yes; then
30079 QTGUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtGui >= 4.2"`
30081 QTGUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.2"`
30083 # Put the nasty error message in config.log where it belongs
30084 echo "$QTGUI_PKG_ERRORS" >&5
30086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30087 $as_echo "no" >&6; }
30088 passed=no; { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-qtgui requires libQtGui >= 4.2." >&5
30089 $as_echo "gr-qtgui requires libQtGui >= 4.2." >&6; }
30090 elif test $pkg_failed = untried; then
30091 passed=no; { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-qtgui requires libQtGui >= 4.2." >&5
30092 $as_echo "gr-qtgui requires libQtGui >= 4.2." >&6; }
30094 QTGUI_CFLAGS=$pkg_cv_QTGUI_CFLAGS
30095 QTGUI_LIBS=$pkg_cv_QTGUI_LIBS
30096 QTGUI_INCLUDEDIR=$pkg_cv_QTGUI_INCLUDEDIR
30099 for flag in $QTGUI_CFLAGS; do
30101 -I* | -D* | -U*) QTGUI_CPPFLAGS="$QTGUI_CPPFLAGS $flag" ;;
30104 pkg_cv_QTGUI_CPPFLAGS=$QTGUI_CPPFLAGS
30107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30108 $as_echo "yes" >&6; }
30115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QTOPENGL" >&5
30116 $as_echo_n "checking for QTOPENGL... " >&6; }
30118 if test -n "$PKG_CONFIG"; then
30119 if test -n "$QTOPENGL_CFLAGS"; then
30120 pkg_cv_QTOPENGL_CFLAGS="$QTOPENGL_CFLAGS"
30122 if test -n "$PKG_CONFIG" && \
30123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtOpenGL >= 4.2\""; } >&5
30124 ($PKG_CONFIG --exists --print-errors "QtOpenGL >= 4.2") 2>&5
30126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30127 test $ac_status = 0; }; then
30128 pkg_cv_QTOPENGL_CFLAGS=`$PKG_CONFIG --cflags "QtOpenGL >= 4.2" 2>/dev/null`
30137 if test x$cross_compiling = xyes
30139 if test -n "$PKG_CONFIG"; then
30140 if test -n "$QTOPENGL_LIBS"; then
30141 pkg_cv_QTOPENGL_LIBS="$QTOPENGL_LIBS"
30143 if test -n "$PKG_CONFIG" && \
30144 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtOpenGL >= 4.2\""; } >&5
30145 ($PKG_CONFIG --exists --print-errors "QtOpenGL >= 4.2") 2>&5
30147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30148 test $ac_status = 0; }; then
30149 pkg_cv_QTOPENGL_LIBS=`$PKG_CONFIG --libs --static "QtOpenGL >= 4.2" 2>/dev/null`
30158 for flag in $pkg_cv_QTOPENGL_LIBS; do
30160 (-L/lib* | -L/usr/lib* ) ;; # ignore
30161 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
30164 pkg_cv_QTOPENGL_LIBS="$_pkg_tmp"
30166 if test -n "$PKG_CONFIG"; then
30167 if test -n "$QTOPENGL_LIBS"; then
30168 pkg_cv_QTOPENGL_LIBS="$QTOPENGL_LIBS"
30170 if test -n "$PKG_CONFIG" && \
30171 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtOpenGL >= 4.2\""; } >&5
30172 ($PKG_CONFIG --exists --print-errors "QtOpenGL >= 4.2") 2>&5
30174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30175 test $ac_status = 0; }; then
30176 pkg_cv_QTOPENGL_LIBS=`$PKG_CONFIG --libs --static "QtOpenGL >= 4.2" 2>/dev/null`
30186 if test -n "$PKG_CONFIG"; then
30187 if test -n "$QTOPENGL_INCLUDEDIR"; then
30188 pkg_cv_QTOPENGL_INCLUDEDIR="$QTOPENGL_INCLUDEDIR"
30190 if test -n "$PKG_CONFIG" && \
30191 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtOpenGL >= 4.2\""; } >&5
30192 ($PKG_CONFIG --exists --print-errors "QtOpenGL >= 4.2") 2>&5
30194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30195 test $ac_status = 0; }; then
30196 pkg_cv_QTOPENGL_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "QtOpenGL >= 4.2" 2>/dev/null`
30208 if test $pkg_failed = yes; then
30210 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30211 _pkg_short_errors_supported=yes
30213 _pkg_short_errors_supported=no
30215 if test $_pkg_short_errors_supported = yes; then
30216 QTOPENGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtOpenGL >= 4.2"`
30218 QTOPENGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtOpenGL >= 4.2"`
30220 # Put the nasty error message in config.log where it belongs
30221 echo "$QTOPENGL_PKG_ERRORS" >&5
30223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30224 $as_echo "no" >&6; }
30225 passed=no; { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-qtgui requires libQtOpenGL >- 4.2." >&5
30226 $as_echo "gr-qtgui requires libQtOpenGL >- 4.2." >&6; }
30227 elif test $pkg_failed = untried; then
30228 passed=no; { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-qtgui requires libQtOpenGL >- 4.2." >&5
30229 $as_echo "gr-qtgui requires libQtOpenGL >- 4.2." >&6; }
30231 QTOPENGL_CFLAGS=$pkg_cv_QTOPENGL_CFLAGS
30232 QTOPENGL_LIBS=$pkg_cv_QTOPENGL_LIBS
30233 QTOPENGL_INCLUDEDIR=$pkg_cv_QTOPENGL_INCLUDEDIR
30235 QTOPENGL_CPPFLAGS=""
30236 for flag in $QTOPENGL_CFLAGS; do
30238 -I* | -D* | -U*) QTOPENGL_CPPFLAGS="$QTOPENGL_CPPFLAGS $flag" ;;
30241 pkg_cv_QTOPENGL_CPPFLAGS=$QTOPENGL_CPPFLAGS
30244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30245 $as_echo "yes" >&6; }
30250 QWT_LIBRARY1=-lqwt-qt4
30254 ac_cpp='$CXXCPP $CPPFLAGS'
30255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30259 qwt_save_CPPFLAGS="$CPPFLAGS"
30260 qwt_save_LIBS="$LIBS"
30264 # Check whether --with-qwt-libdir was given.
30265 if test "${with_qwt_libdir+set}" = set; then :
30266 withval=$with_qwt_libdir; qwt_libdir="$withval"
30273 # Check whether --with-qwt-incdir was given.
30274 if test "${with_qwt_incdir+set}" = set; then :
30275 withval=$with_qwt_incdir; qwt_incdir="$withval"
30281 # Check whether --with-qwt-lib was given.
30282 if test "${with_qwt_lib+set}" = set; then :
30283 withval=$with_qwt_lib; qwt_lib="$withval"
30289 CPPFLAGS="$CPPFLAGS $QTCORE_CFLAGS"
30291 if test "$qwt_incdir" = "" ; then
30292 ac_fn_cxx_check_header_mongrel "$LINENO" "qwt/qwt.h" "ac_cv_header_qwt_qwt_h" "$ac_includes_default"
30293 if test "x$ac_cv_header_qwt_qwt_h" = x""yes; then :
30301 if test "$qwt_qwt_h" = "yes" ; then
30302 QWT_CFLAGS="$QWT_CFLAGS -I/usr/include/qwt"
30304 ac_fn_cxx_check_header_mongrel "$LINENO" "qwt-qt4/qwt.h" "ac_cv_header_qwt_qt4_qwt_h" "$ac_includes_default"
30305 if test "x$ac_cv_header_qwt_qt4_qwt_h" = x""yes; then :
30313 if test "$qwt_qt4_qwt_h" = "yes" ; then
30314 QWT_CFLAGS="$QWT_CFLAGS -I/usr/include/qwt-qt4"
30320 QWT_CFLAGS="$QWT_CFLAGS -I$qwt_incdir"
30321 as_ac_Header=`$as_echo "ac_cv_header_$qwt_incdir/qwt.h" | $as_tr_sh`
30322 ac_fn_cxx_check_header_mongrel "$LINENO" "$qwt_incdir/qwt.h" "$as_ac_Header" "$ac_includes_default"
30323 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
30332 if test "$libqwt_ok" = "yes" ; then
30335 if test "$qwt_libdir" != "" ; then
30336 QWT_LIBS="-L$qwt_libdir $QWT_LIBS"
30339 CPPFLAGS="$CPPFLAGS $QWT_CFLAGS"
30340 LIBS="$qwt_save_LIBS $QT_LIBS $QWT_LIBS -lqwt"
30342 if test "$qwt_lib" != "" ; then
30343 as_ac_Lib=`$as_echo "ac_cv_lib_$qwt_lib''_main" | $as_tr_sh`
30344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$qwt_lib" >&5
30345 $as_echo_n "checking for main in -l$qwt_lib... " >&6; }
30346 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
30347 $as_echo_n "(cached) " >&6
30349 ac_check_lib_save_LIBS=$LIBS
30350 LIBS="-l$qwt_lib $LIBS"
30351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30352 /* end confdefs.h. */
30363 if ac_fn_cxx_try_link "$LINENO"; then :
30364 eval "$as_ac_Lib=yes"
30366 eval "$as_ac_Lib=no"
30368 rm -f core conftest.err conftest.$ac_objext \
30369 conftest$ac_exeext conftest.$ac_ext
30370 LIBS=$ac_check_lib_save_LIBS
30372 eval ac_res=\$$as_ac_Lib
30373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30374 $as_echo "$ac_res" >&6; }
30375 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
30383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lqwt" >&5
30384 $as_echo_n "checking for main in -lqwt... " >&6; }
30385 if test "${ac_cv_lib_qwt_main+set}" = set; then :
30386 $as_echo_n "(cached) " >&6
30388 ac_check_lib_save_LIBS=$LIBS
30390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30391 /* end confdefs.h. */
30402 if ac_fn_cxx_try_link "$LINENO"; then :
30403 ac_cv_lib_qwt_main=yes
30405 ac_cv_lib_qwt_main=no
30407 rm -f core conftest.err conftest.$ac_objext \
30408 conftest$ac_exeext conftest.$ac_ext
30409 LIBS=$ac_check_lib_save_LIBS
30411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_qwt_main" >&5
30412 $as_echo "$ac_cv_lib_qwt_main" >&6; }
30413 if test "x$ac_cv_lib_qwt_main" = x""yes; then :
30420 if test "$libqwt_ok" = "yes" ; then
30421 QWT_LIBS="$QWT_LIBS -lqwt"
30423 LIBS="$qwt_save_LIBS $QT_LIBS $QWT_LIBS -lqwt-qt4"
30424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lqwt-qt4" >&5
30425 $as_echo_n "checking for main in -lqwt-qt4... " >&6; }
30426 if test "${ac_cv_lib_qwt_qt4_main+set}" = set; then :
30427 $as_echo_n "(cached) " >&6
30429 ac_check_lib_save_LIBS=$LIBS
30430 LIBS="-lqwt-qt4 $LIBS"
30431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30432 /* end confdefs.h. */
30443 if ac_fn_cxx_try_link "$LINENO"; then :
30444 ac_cv_lib_qwt_qt4_main=yes
30446 ac_cv_lib_qwt_qt4_main=no
30448 rm -f core conftest.err conftest.$ac_objext \
30449 conftest$ac_exeext conftest.$ac_ext
30450 LIBS=$ac_check_lib_save_LIBS
30452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_qwt_qt4_main" >&5
30453 $as_echo "$ac_cv_lib_qwt_qt4_main" >&6; }
30454 if test "x$ac_cv_lib_qwt_qt4_main" = x""yes; then :
30460 if test "$libqwt_ok" = "yes" ; then
30461 QWT_LIBS="$QWT_LIBS -lqwt-qt4"
30463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Could not link to libqwt.so" >&5
30464 $as_echo "Could not link to libqwt.so" >&6; }
30469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Could not find qwt headers" >&5
30470 $as_echo "Could not find qwt headers" >&6; }
30473 LIBS="$qwt_save_LIBS"
30474 CPPFLAGS="$qwt_save_CPPFLAGS"
30476 ac_cpp='$CPP $CPPFLAGS'
30477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30482 if test "x$libqwt_ok" = "xyes" ; then
30494 if test "$passed" = "yes"; then
30498 ac_cpp='$CXXCPP $CPPFLAGS'
30499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30503 qwtplot3d_save_CPPFLAGS="$CPPFLAGS"
30504 qwtplot3d_save_LIBS="$LIBS"
30505 libqwtplot3d_ok=yes
30508 # Check whether --with-qwtplot3d-libdir was given.
30509 if test "${with_qwtplot3d_libdir+set}" = set; then :
30510 withval=$with_qwtplot3d_libdir; qwtplot3d_libdir="$withval"
30512 qwtplot3d_libdir=""
30517 # Check whether --with-qwtplot3d-incdir was given.
30518 if test "${with_qwtplot3d_incdir+set}" = set; then :
30519 withval=$with_qwtplot3d_incdir; qwtplot3d_incdir="$withval"
30521 qwtplot3d_incdir=""
30526 # Check whether --with-qwtplot3d-lib was given.
30527 if test "${with_qwtplot3d_lib+set}" = set; then :
30528 withval=$with_qwtplot3d_lib; qwtplot3d_lib="$withval"
30535 CPPFLAGS="$CPPFLAGS $QTCORE_CFLAGS $QTGUI_CFLAGS $QWT_CFLAGS"
30537 if test "$qwtplot3d_incdir" = "" ; then
30538 ac_fn_cxx_check_header_mongrel "$LINENO" "qwtplot3d/qwt3d_plot.h" "ac_cv_header_qwtplot3d_qwt3d_plot_h" "$ac_includes_default"
30539 if test "x$ac_cv_header_qwtplot3d_qwt3d_plot_h" = x""yes; then :
30540 qwtplot3d_qwtplot3d_h=yes
30542 qwtplot3d_qwtplot3d_h=no
30547 if test "$qwtplot3d_qwtplot3d_h" = "yes" ; then
30548 QWTPLOT3D_CFLAGS="$QWTPLOT3D_CFLAGS -I/usr/include/qwtplot3d"
30550 ac_fn_cxx_check_header_mongrel "$LINENO" "qwtplot3d-qt4/qwt3d_plot.h" "ac_cv_header_qwtplot3d_qt4_qwt3d_plot_h" "$ac_includes_default"
30551 if test "x$ac_cv_header_qwtplot3d_qt4_qwt3d_plot_h" = x""yes; then :
30552 qwtplot3d_qt4_qwtplot3d_h=yes
30554 qwtplot3d_qt4_qwtplot3d_h=no
30559 if test "$qwtplot3d_qt4_qwtplot3d_h" = "yes" ; then
30560 QWTPLOT3D_CFLAGS="$QWTPLOT3D_CFLAGS -I/usr/include/qwtplot3d-qt4"
30566 QWTPLOT3D_CFLAGS="$QWTPLOT3D_CFLAGS -I$qwtplot3d_incdir"
30567 as_ac_Header=`$as_echo "ac_cv_header_$qwtplot3d_incdir/qwt3d_plot.h" | $as_tr_sh`
30568 ac_fn_cxx_check_header_mongrel "$LINENO" "$qwtplot3d_incdir/qwt3d_plot.h" "$as_ac_Header" "$ac_includes_default"
30569 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
30578 if test "$libqwtplot3d_ok" = "yes" ; then
30581 if test "$qwtplot3d_libdir" != "" ; then
30582 QWTPLOT3D_LIBS="-L$qwtplot3d_libdir $QWTPLOT3D_LIBS"
30585 CPPFLAGS="$CPPFLAGS $QWTPLOT3D_CFLAGS"
30586 LIBS="$qwtplot3d_save_LIBS $QT_LIBS $QWTPLOT3D_LIBS -lqwtplot3d-qt4"
30588 if test "$qwtplot3d_lib" != "" ; then
30589 as_ac_Lib=`$as_echo "ac_cv_lib_$qwtplot3d_lib''_main" | $as_tr_sh`
30590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$qwtplot3d_lib" >&5
30591 $as_echo_n "checking for main in -l$qwtplot3d_lib... " >&6; }
30592 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
30593 $as_echo_n "(cached) " >&6
30595 ac_check_lib_save_LIBS=$LIBS
30596 LIBS="-l$qwtplot3d_lib $LIBS"
30597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30598 /* end confdefs.h. */
30609 if ac_fn_cxx_try_link "$LINENO"; then :
30610 eval "$as_ac_Lib=yes"
30612 eval "$as_ac_Lib=no"
30614 rm -f core conftest.err conftest.$ac_objext \
30615 conftest$ac_exeext conftest.$ac_ext
30616 LIBS=$ac_check_lib_save_LIBS
30618 eval ac_res=\$$as_ac_Lib
30619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30620 $as_echo "$ac_res" >&6; }
30621 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
30622 libqwtplot3d_ok=yes
30629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lqwtplot3d-qt4" >&5
30630 $as_echo_n "checking for main in -lqwtplot3d-qt4... " >&6; }
30631 if test "${ac_cv_lib_qwtplot3d_qt4_main+set}" = set; then :
30632 $as_echo_n "(cached) " >&6
30634 ac_check_lib_save_LIBS=$LIBS
30635 LIBS="-lqwtplot3d-qt4 $LIBS"
30636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30637 /* end confdefs.h. */
30648 if ac_fn_cxx_try_link "$LINENO"; then :
30649 ac_cv_lib_qwtplot3d_qt4_main=yes
30651 ac_cv_lib_qwtplot3d_qt4_main=no
30653 rm -f core conftest.err conftest.$ac_objext \
30654 conftest$ac_exeext conftest.$ac_ext
30655 LIBS=$ac_check_lib_save_LIBS
30657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_qwtplot3d_qt4_main" >&5
30658 $as_echo "$ac_cv_lib_qwtplot3d_qt4_main" >&6; }
30659 if test "x$ac_cv_lib_qwtplot3d_qt4_main" = x""yes; then :
30660 libqwtplot3d_ok=yes
30666 if test "$libqwtplot3d_ok" = "yes" ; then
30667 QWTPLOT3D_LIBS="$QWTPLOT3D_LIBS -lqwtplot3d-qt4"
30669 LIBS="$qwtplot3d_save_LIBS $QT_LIBS $QWTPLOT3D_LIBS -lqwtplot3d"
30670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lqwtplot3d" >&5
30671 $as_echo_n "checking for main in -lqwtplot3d... " >&6; }
30672 if test "${ac_cv_lib_qwtplot3d_main+set}" = set; then :
30673 $as_echo_n "(cached) " >&6
30675 ac_check_lib_save_LIBS=$LIBS
30676 LIBS="-lqwtplot3d $LIBS"
30677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30678 /* end confdefs.h. */
30689 if ac_fn_cxx_try_link "$LINENO"; then :
30690 ac_cv_lib_qwtplot3d_main=yes
30692 ac_cv_lib_qwtplot3d_main=no
30694 rm -f core conftest.err conftest.$ac_objext \
30695 conftest$ac_exeext conftest.$ac_ext
30696 LIBS=$ac_check_lib_save_LIBS
30698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_qwtplot3d_main" >&5
30699 $as_echo "$ac_cv_lib_qwtplot3d_main" >&6; }
30700 if test "x$ac_cv_lib_qwtplot3d_main" = x""yes; then :
30701 libqwtplot3d_ok=yes
30706 if test "$libqwtplot3d_ok" = "yes" ; then
30707 QWTPLOT3D_LIBS="$QWTPLOT3D_LIBS -lqwtplot3d"
30709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Could not link to libqwtplot3d.so" >&5
30710 $as_echo "Could not link to libqwtplot3d.so" >&6; }
30715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Could not find qwtplot3d headers" >&5
30716 $as_echo "Could not find qwtplot3d headers" >&6; }
30719 LIBS="$qwtplot3d_save_LIBS"
30720 CPPFLAGS="$qwtplot3d_save_CPPFLAGS"
30722 ac_cpp='$CPP $CPPFLAGS'
30723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30728 if test "x$libqwtplot3d_ok" = "xyes" ; then
30731 QWTPLOT3D_CFLAGS=""
30732 QWTPLOT3D_LIBDIRS=""
30741 QT_INCLUDES="$QWT_CFLAGS $QWTPLOT3D_CFLAGS $QTCORE_CFLAGS $QTGUI_CFLAGS"
30742 QT_LIBS="$QWT_LIBS $QWTPLOT3D_LIBS $QTOPENGL_LIBS"
30744 for i in $QWT_CFLAGS $QWTPLOT3D_CFLAGS; do
30745 QMAKE_INCLUDES="$QMAKE_INCLUDES ${i##-I}"
30748 QT_MOC_EXEC=`pkg-config --variable=moc_location QtCore`
30749 QT_UIC_EXEC=`pkg-config --variable=uic_location QtCore`
30758 ac_config_files="$ac_config_files gr-qtgui/Makefile gr-qtgui/src/Makefile gr-qtgui/src/lib/Makefile gr-qtgui/src/python/Makefile"
30764 if test $passed = no; then
30765 if test x$enable_gr_qtgui = xyes; then
30766 as_fn_error $? "Component gr-qtgui has errors; stopping." "$LINENO" 5
30768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-qtgui." >&5
30769 $as_echo "Not building component gr-qtgui." >&6; }
30772 if test $passed = with; then
30773 with_dirs="$with_dirs gr-qtgui"
30775 if test "x${gr_qtgui_INCLUDES}" != "x"; then
30776 if test "x$with_INCLUDES" = "x"; then
30777 with_INCLUDES="${gr_qtgui_INCLUDES}"
30779 with_INCLUDES="${gr_qtgui_INCLUDES}"" ""$with_INCLUDES"
30785 if test "x${gr_qtgui_SWIG_INCLUDES}" != "x"; then
30786 if test "x$with_SWIG_INCLUDES" = "x"; then
30787 with_SWIG_INCLUDES="${gr_qtgui_SWIG_INCLUDES}"
30789 with_SWIG_INCLUDES="${gr_qtgui_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
30791 gr_qtgui_SWIG_INCLUDES=
30795 if test "x${gr_qtgui_PYDIRPATH}" != "x"; then
30796 if test "x$with_PYDIRPATH" = "x"; then
30797 with_PYDIRPATH="${gr_qtgui_PYDIRPATH}"
30799 with_PYDIRPATH="${gr_qtgui_PYDIRPATH}"":""$with_PYDIRPATH"
30801 gr_qtgui_PYDIRPATH=
30805 if test "x${gr_qtgui_SWIGDIRPATH}" != "x"; then
30806 if test "x$with_SWIGDIRPATH" = "x"; then
30807 with_SWIGDIRPATH="${gr_qtgui_SWIGDIRPATH}"
30809 with_SWIGDIRPATH="${gr_qtgui_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
30811 gr_qtgui_SWIGDIRPATH=
30815 if test "x${gr_qtgui_LIBDIRPATH}" != "x"; then
30816 if test "x$with_LIBDIRPATH" = "x"; then
30817 with_LIBDIRPATH="${gr_qtgui_LIBDIRPATH}"
30819 with_LIBDIRPATH="${gr_qtgui_LIBDIRPATH}"":""$with_LIBDIRPATH"
30821 gr_qtgui_LIBDIRPATH=
30824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-qtgui will be included from a pre-installed library and includes." >&5
30825 $as_echo "Component gr-qtgui will be included from a pre-installed library and includes." >&6; }
30829 if test x$enable_gr_qtgui != xno; then
30831 build_dirs="$build_dirs gr-qtgui"
30832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-qtgui passed configuration checks; building." >&5
30833 $as_echo "Component gr-qtgui passed configuration checks; building." >&6; }
30836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-qtgui passed configuration checks; but not building." >&5
30837 $as_echo "Component gr-qtgui passed configuration checks; but not building." >&6; }
30841 if test $passed = no; then
30842 skipped_dirs="$skipped_dirs gr-qtgui"
30843 gr_qtgui_skipped=yes
30845 gr_qtgui_skipped=no
30859 # Check whether --enable-gr-sounder was given.
30860 if test "${enable_gr_sounder+set}" = set; then :
30861 enableval=$enable_gr_sounder;
30864 enable_gr_sounder=$enable_all_components
30865 if test x$enable_all_components = xno; then
30875 if test $passed != no; then
30876 if test $passed = yes; then
30877 if test x$usrp_skipped = xyes; then
30878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-sounder requires usrp, which is not being built or specified via pre-installed files." >&5
30879 $as_echo "Component gr-sounder requires usrp, which is not being built or specified via pre-installed files." >&6; }
30883 if test x$usrp_with = xno; then
30884 as_fn_error $? "Component gr-sounder requires usrp to be included as --with-usrp[=arg]" "$LINENO" 5
30890 if test $passed != no; then
30891 if test $passed = yes; then
30892 if test x$gnuradio_core_skipped = xyes; then
30893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-sounder requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
30894 $as_echo "Component gr-sounder requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
30898 if test x$gnuradio_core_with = xno; then
30899 as_fn_error $? "Component gr-sounder requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
30905 ac_config_files="$ac_config_files gr-sounder/Makefile gr-sounder/doc/Makefile gr-sounder/src/Makefile gr-sounder/src/fpga/Makefile gr-sounder/src/fpga/top/Makefile gr-sounder/src/fpga/lib/Makefile gr-sounder/src/fpga/tb/Makefile gr-sounder/src/lib/Makefile gr-sounder/src/python/Makefile gr-sounder/src/python/run_tests"
30911 if test $passed = no; then
30912 if test x$enable_gr_sounder = xyes; then
30913 as_fn_error $? "Component gr-sounder has errors; stopping." "$LINENO" 5
30915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-sounder." >&5
30916 $as_echo "Not building component gr-sounder." >&6; }
30919 if test $passed = with; then
30920 with_dirs="$with_dirs gr-sounder"
30922 if test "x${gr_sounder_INCLUDES}" != "x"; then
30923 if test "x$with_INCLUDES" = "x"; then
30924 with_INCLUDES="${gr_sounder_INCLUDES}"
30926 with_INCLUDES="${gr_sounder_INCLUDES}"" ""$with_INCLUDES"
30928 gr_sounder_INCLUDES=
30932 if test "x${gr_sounder_SWIG_INCLUDES}" != "x"; then
30933 if test "x$with_SWIG_INCLUDES" = "x"; then
30934 with_SWIG_INCLUDES="${gr_sounder_SWIG_INCLUDES}"
30936 with_SWIG_INCLUDES="${gr_sounder_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
30938 gr_sounder_SWIG_INCLUDES=
30942 if test "x${gr_sounder_PYDIRPATH}" != "x"; then
30943 if test "x$with_PYDIRPATH" = "x"; then
30944 with_PYDIRPATH="${gr_sounder_PYDIRPATH}"
30946 with_PYDIRPATH="${gr_sounder_PYDIRPATH}"":""$with_PYDIRPATH"
30948 gr_sounder_PYDIRPATH=
30952 if test "x${gr_sounder_SWIGDIRPATH}" != "x"; then
30953 if test "x$with_SWIGDIRPATH" = "x"; then
30954 with_SWIGDIRPATH="${gr_sounder_SWIGDIRPATH}"
30956 with_SWIGDIRPATH="${gr_sounder_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
30958 gr_sounder_SWIGDIRPATH=
30962 if test "x${gr_sounder_LIBDIRPATH}" != "x"; then
30963 if test "x$with_LIBDIRPATH" = "x"; then
30964 with_LIBDIRPATH="${gr_sounder_LIBDIRPATH}"
30966 with_LIBDIRPATH="${gr_sounder_LIBDIRPATH}"":""$with_LIBDIRPATH"
30968 gr_sounder_LIBDIRPATH=
30971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-sounder will be included from a pre-installed library and includes." >&5
30972 $as_echo "Component gr-sounder will be included from a pre-installed library and includes." >&6; }
30973 gr_sounder_with=yes
30976 if test x$enable_gr_sounder != xno; then
30977 ac_config_commands="$ac_config_commands run_tests_sounder"
30980 build_dirs="$build_dirs gr-sounder"
30981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-sounder passed configuration checks; building." >&5
30982 $as_echo "Component gr-sounder passed configuration checks; building." >&6; }
30985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-sounder passed configuration checks; but not building." >&5
30986 $as_echo "Component gr-sounder passed configuration checks; but not building." >&6; }
30990 if test $passed = no; then
30991 skipped_dirs="$skipped_dirs gr-sounder"
30992 gr_sounder_skipped=yes
30994 gr_sounder_skipped=no
31007 # Check whether --enable-gr-utils was given.
31008 if test "${enable_gr_utils+set}" = set; then :
31009 enableval=$enable_gr_utils;
31012 enable_gr_utils=$enable_all_components
31013 if test x$enable_all_components = xno; then
31023 if test $passed != no; then
31024 if test $passed = yes; then
31025 if test x$gnuradio_core_skipped = xyes; then
31026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-utils requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
31027 $as_echo "Component gr-utils requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
31031 if test x$gnuradio_core_with = xno; then
31032 as_fn_error $? "Component gr-utils requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
31038 if test $passed != no; then
31039 if test $passed = yes; then
31040 if test x$usrp_skipped = xyes; then
31041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-utils requires usrp, which is not being built or specified via pre-installed files." >&5
31042 $as_echo "Component gr-utils requires usrp, which is not being built or specified via pre-installed files." >&6; }
31046 if test x$usrp_with = xno; then
31047 as_fn_error $? "Component gr-utils requires usrp to be included as --with-usrp[=arg]" "$LINENO" 5
31053 if test $passed != no; then
31054 if test $passed = yes; then
31055 if test x$gr_wxgui_skipped = xyes; then
31056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-utils requires gr-wxgui, which is not being built or specified via pre-installed files." >&5
31057 $as_echo "Component gr-utils requires gr-wxgui, which is not being built or specified via pre-installed files." >&6; }
31061 if test x$gr_wxgui_with = xno; then
31062 as_fn_error $? "Component gr-utils requires gr-wxgui to be included as --with-gr-wxgui[=arg]" "$LINENO" 5
31068 ac_config_files="$ac_config_files gr-utils/Makefile gr-utils/src/Makefile gr-utils/src/lib/Makefile gr-utils/src/python/Makefile"
31074 if test $passed = no; then
31075 if test x$enable_gr_utils = xyes; then
31076 as_fn_error $? "Component gr-utils has errors; stopping." "$LINENO" 5
31078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-utils." >&5
31079 $as_echo "Not building component gr-utils." >&6; }
31082 if test $passed = with; then
31083 with_dirs="$with_dirs gr-utils"
31085 if test "x${gr_utils_INCLUDES}" != "x"; then
31086 if test "x$with_INCLUDES" = "x"; then
31087 with_INCLUDES="${gr_utils_INCLUDES}"
31089 with_INCLUDES="${gr_utils_INCLUDES}"" ""$with_INCLUDES"
31095 if test "x${gr_utils_SWIG_INCLUDES}" != "x"; then
31096 if test "x$with_SWIG_INCLUDES" = "x"; then
31097 with_SWIG_INCLUDES="${gr_utils_SWIG_INCLUDES}"
31099 with_SWIG_INCLUDES="${gr_utils_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
31101 gr_utils_SWIG_INCLUDES=
31105 if test "x${gr_utils_PYDIRPATH}" != "x"; then
31106 if test "x$with_PYDIRPATH" = "x"; then
31107 with_PYDIRPATH="${gr_utils_PYDIRPATH}"
31109 with_PYDIRPATH="${gr_utils_PYDIRPATH}"":""$with_PYDIRPATH"
31111 gr_utils_PYDIRPATH=
31115 if test "x${gr_utils_SWIGDIRPATH}" != "x"; then
31116 if test "x$with_SWIGDIRPATH" = "x"; then
31117 with_SWIGDIRPATH="${gr_utils_SWIGDIRPATH}"
31119 with_SWIGDIRPATH="${gr_utils_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
31121 gr_utils_SWIGDIRPATH=
31125 if test "x${gr_utils_LIBDIRPATH}" != "x"; then
31126 if test "x$with_LIBDIRPATH" = "x"; then
31127 with_LIBDIRPATH="${gr_utils_LIBDIRPATH}"
31129 with_LIBDIRPATH="${gr_utils_LIBDIRPATH}"":""$with_LIBDIRPATH"
31131 gr_utils_LIBDIRPATH=
31134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-utils will be included from a pre-installed library and includes." >&5
31135 $as_echo "Component gr-utils will be included from a pre-installed library and includes." >&6; }
31139 if test x$enable_gr_utils != xno; then
31141 build_dirs="$build_dirs gr-utils"
31142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-utils passed configuration checks; building." >&5
31143 $as_echo "Component gr-utils passed configuration checks; building." >&6; }
31146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-utils passed configuration checks; but not building." >&5
31147 $as_echo "Component gr-utils passed configuration checks; but not building." >&6; }
31151 if test $passed = no; then
31152 skipped_dirs="$skipped_dirs gr-utils"
31153 gr_utils_skipped=yes
31155 gr_utils_skipped=no
31168 # Check whether --enable-gnuradio-examples was given.
31169 if test "${enable_gnuradio_examples+set}" = set; then :
31170 enableval=$enable_gnuradio_examples;
31173 enable_gnuradio_examples=$enable_all_components
31174 if test x$enable_all_components = xno; then
31184 if test $passed != no; then
31185 if test $passed = yes; then
31186 if test x$gnuradio_core_skipped = xyes; then
31187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gnuradio-examples requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
31188 $as_echo "Component gnuradio-examples requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
31192 if test x$gnuradio_core_with = xno; then
31193 as_fn_error $? "Component gnuradio-examples requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
31199 ac_config_files="$ac_config_files gnuradio-examples/Makefile gnuradio-examples/c++/Makefile gnuradio-examples/python/Makefile gnuradio-examples/grc/Makefile gnuradio-examples/python/apps/hf_explorer/Makefile gnuradio-examples/python/apps/hf_radio/Makefile gnuradio-examples/python/apps/Makefile gnuradio-examples/python/audio/Makefile gnuradio-examples/python/digital/Makefile gnuradio-examples/python/digital_voice/Makefile gnuradio-examples/python/digital-bert/Makefile gnuradio-examples/python/mp-sched/Makefile gnuradio-examples/python/multi-antenna/Makefile gnuradio-examples/python/multi_usrp/Makefile gnuradio-examples/python/network/Makefile gnuradio-examples/python/ofdm/Makefile gnuradio-examples/python/pfb/Makefile gnuradio-examples/python/usrp/Makefile gnuradio-examples/python/usrp2/Makefile"
31204 gnuradio_examples_with=no
31205 if test $passed = no; then
31206 if test x$enable_gnuradio_examples = xyes; then
31207 as_fn_error $? "Component gnuradio-examples has errors; stopping." "$LINENO" 5
31209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gnuradio-examples." >&5
31210 $as_echo "Not building component gnuradio-examples." >&6; }
31213 if test $passed = with; then
31214 with_dirs="$with_dirs gnuradio-examples"
31216 if test "x${gnuradio_examples_INCLUDES}" != "x"; then
31217 if test "x$with_INCLUDES" = "x"; then
31218 with_INCLUDES="${gnuradio_examples_INCLUDES}"
31220 with_INCLUDES="${gnuradio_examples_INCLUDES}"" ""$with_INCLUDES"
31222 gnuradio_examples_INCLUDES=
31226 if test "x${gnuradio_examples_SWIG_INCLUDES}" != "x"; then
31227 if test "x$with_SWIG_INCLUDES" = "x"; then
31228 with_SWIG_INCLUDES="${gnuradio_examples_SWIG_INCLUDES}"
31230 with_SWIG_INCLUDES="${gnuradio_examples_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
31232 gnuradio_examples_SWIG_INCLUDES=
31236 if test "x${gnuradio_examples_PYDIRPATH}" != "x"; then
31237 if test "x$with_PYDIRPATH" = "x"; then
31238 with_PYDIRPATH="${gnuradio_examples_PYDIRPATH}"
31240 with_PYDIRPATH="${gnuradio_examples_PYDIRPATH}"":""$with_PYDIRPATH"
31242 gnuradio_examples_PYDIRPATH=
31246 if test "x${gnuradio_examples_SWIGDIRPATH}" != "x"; then
31247 if test "x$with_SWIGDIRPATH" = "x"; then
31248 with_SWIGDIRPATH="${gnuradio_examples_SWIGDIRPATH}"
31250 with_SWIGDIRPATH="${gnuradio_examples_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
31252 gnuradio_examples_SWIGDIRPATH=
31256 if test "x${gnuradio_examples_LIBDIRPATH}" != "x"; then
31257 if test "x$with_LIBDIRPATH" = "x"; then
31258 with_LIBDIRPATH="${gnuradio_examples_LIBDIRPATH}"
31260 with_LIBDIRPATH="${gnuradio_examples_LIBDIRPATH}"":""$with_LIBDIRPATH"
31262 gnuradio_examples_LIBDIRPATH=
31265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gnuradio-examples will be included from a pre-installed library and includes." >&5
31266 $as_echo "Component gnuradio-examples will be included from a pre-installed library and includes." >&6; }
31267 gnuradio_examples_with=yes
31269 gnuradio_examples_LDFLAG=
31270 if test x$enable_gnuradio_examples != xno; then
31272 build_dirs="$build_dirs gnuradio-examples"
31273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gnuradio-examples passed configuration checks; building." >&5
31274 $as_echo "Component gnuradio-examples passed configuration checks; building." >&6; }
31277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gnuradio-examples passed configuration checks; but not building." >&5
31278 $as_echo "Component gnuradio-examples passed configuration checks; but not building." >&6; }
31282 if test $passed = no; then
31283 skipped_dirs="$skipped_dirs gnuradio-examples"
31284 gnuradio_examples_skipped=yes
31286 gnuradio_examples_skipped=no
31299 # Check whether --enable-grc was given.
31300 if test "${enable_grc+set}" = set; then :
31301 enableval=$enable_grc;
31304 enable_grc=$enable_all_components
31305 if test x$enable_all_components = xno; then
31315 if test $passed != no; then
31316 if test $passed = yes; then
31317 if test x$gr_wxgui_skipped = xyes; then
31318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component grc requires gr-wxgui, which is not being built or specified via pre-installed files." >&5
31319 $as_echo "Component grc requires gr-wxgui, which is not being built or specified via pre-installed files." >&6; }
31323 if test x$gr_wxgui_with = xno; then
31324 as_fn_error $? "Component grc requires gr-wxgui to be included as --with-gr-wxgui[=arg]" "$LINENO" 5
31330 # Extract the first word of "xdg-mime", so it can be a program name with args.
31331 set dummy xdg-mime; ac_word=$2
31332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31333 $as_echo_n "checking for $ac_word... " >&6; }
31334 if test "${ac_cv_prog_XDG_UTILS+set}" = set; then :
31335 $as_echo_n "(cached) " >&6
31337 if test -n "$XDG_UTILS"; then
31338 ac_cv_prog_XDG_UTILS="$XDG_UTILS" # Let the user override the test.
31340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31341 for as_dir in $PATH
31344 test -z "$as_dir" && as_dir=.
31345 for ac_exec_ext in '' $ac_executable_extensions; do
31346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31347 ac_cv_prog_XDG_UTILS="true"
31348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
31355 test -z "$ac_cv_prog_XDG_UTILS" && ac_cv_prog_XDG_UTILS="false"
31358 XDG_UTILS=$ac_cv_prog_XDG_UTILS
31359 if test -n "$XDG_UTILS"; then
31360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XDG_UTILS" >&5
31361 $as_echo "$XDG_UTILS" >&6; }
31363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31364 $as_echo "no" >&6; }
31368 if $XDG_UTILS; then
31370 XDG_UTILS_FALSE='#'
31377 if test $passed = yes; then
31379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python >= 2.5" >&5
31380 $as_echo_n "checking for Python >= 2.5... " >&6; }
31381 if test "sys.version.split()[0] >= "2.5""; then
31385 assert sys.version.split()[0] >= "2.5"
31392 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
31393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31394 $as_echo "no" >&6; }
31397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31398 $as_echo "yes" >&6; }
31403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python Cheetah templates >= 2.0.0" >&5
31404 $as_echo_n "checking for Python Cheetah templates >= 2.0.0... " >&6; }
31405 if test "Cheetah.Version >= "2.0.0""; then
31409 assert Cheetah.Version >= "2.0.0"
31413 try: import Cheetah
31416 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
31417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31418 $as_echo "no" >&6; }
31421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31422 $as_echo "yes" >&6; }
31427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python lxml wrappers >= 1.3.6" >&5
31428 $as_echo_n "checking for Python lxml wrappers >= 1.3.6... " >&6; }
31429 if test "lxml.etree.LXML_VERSION >= (1, 3, 6, 0)"; then
31433 assert lxml.etree.LXML_VERSION >= (1, 3, 6, 0)
31437 try: import lxml.etree
31440 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
31441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31442 $as_echo "no" >&6; }
31445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31446 $as_echo "yes" >&6; }
31451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python gtk wrappers >= 2.10.0" >&5
31452 $as_echo_n "checking for Python gtk wrappers >= 2.10.0... " >&6; }
31453 if test "gtk.pygtk_version >= (2, 10, 0)"; then
31457 assert gtk.pygtk_version >= (2, 10, 0)
31464 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
31465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31466 $as_echo "no" >&6; }
31469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31470 $as_echo "yes" >&6; }
31476 if test `${PYTHON} -c "import sys; print sys.platform"` = 'darwin'; then
31483 ac_config_files="$ac_config_files grc/Makefile grc/base/Makefile grc/blocks/Makefile grc/freedesktop/Makefile grc/grc_gnuradio/Makefile grc/gui/Makefile grc/python/Makefile grc/scripts/Makefile"
31489 if test $passed = no; then
31490 if test x$enable_grc = xyes; then
31491 as_fn_error $? "Component grc has errors; stopping." "$LINENO" 5
31493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component grc." >&5
31494 $as_echo "Not building component grc." >&6; }
31497 if test $passed = with; then
31498 with_dirs="$with_dirs grc"
31500 if test "x${grc_INCLUDES}" != "x"; then
31501 if test "x$with_INCLUDES" = "x"; then
31502 with_INCLUDES="${grc_INCLUDES}"
31504 with_INCLUDES="${grc_INCLUDES}"" ""$with_INCLUDES"
31510 if test "x${grc_SWIG_INCLUDES}" != "x"; then
31511 if test "x$with_SWIG_INCLUDES" = "x"; then
31512 with_SWIG_INCLUDES="${grc_SWIG_INCLUDES}"
31514 with_SWIG_INCLUDES="${grc_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
31520 if test "x${grc_PYDIRPATH}" != "x"; then
31521 if test "x$with_PYDIRPATH" = "x"; then
31522 with_PYDIRPATH="${grc_PYDIRPATH}"
31524 with_PYDIRPATH="${grc_PYDIRPATH}"":""$with_PYDIRPATH"
31530 if test "x${grc_SWIGDIRPATH}" != "x"; then
31531 if test "x$with_SWIGDIRPATH" = "x"; then
31532 with_SWIGDIRPATH="${grc_SWIGDIRPATH}"
31534 with_SWIGDIRPATH="${grc_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
31540 if test "x${grc_LIBDIRPATH}" != "x"; then
31541 if test "x$with_LIBDIRPATH" = "x"; then
31542 with_LIBDIRPATH="${grc_LIBDIRPATH}"
31544 with_LIBDIRPATH="${grc_LIBDIRPATH}"":""$with_LIBDIRPATH"
31549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component grc will be included from a pre-installed library and includes." >&5
31550 $as_echo "Component grc will be included from a pre-installed library and includes." >&6; }
31554 if test x$enable_grc != xno; then
31556 build_dirs="$build_dirs grc"
31557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component grc passed configuration checks; building." >&5
31558 $as_echo "Component grc passed configuration checks; building." >&6; }
31561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component grc passed configuration checks; but not building." >&5
31562 $as_echo "Component grc passed configuration checks; but not building." >&6; }
31566 if test $passed = no; then
31567 skipped_dirs="$skipped_dirs grc"
31584 # Check whether --enable-docs was given.
31585 if test "${enable_docs+set}" = set; then :
31586 enableval=$enable_docs;
31589 enable_docs=$enable_all_components
31590 if test x$enable_all_components = xno; then
31599 ac_config_files="$ac_config_files docs/Makefile docs/doxygen/Doxyfile docs/doxygen/Makefile docs/doxygen/other/Makefile docs/doxygen/xml-swig/Makefile"
31605 if test $passed = no; then
31606 if test x$enable_docs = xyes; then
31607 as_fn_error $? "Component docs has errors; stopping." "$LINENO" 5
31609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component docs." >&5
31610 $as_echo "Not building component docs." >&6; }
31613 if test $passed = with; then
31614 with_dirs="$with_dirs docs"
31616 if test "x${docs_INCLUDES}" != "x"; then
31617 if test "x$with_INCLUDES" = "x"; then
31618 with_INCLUDES="${docs_INCLUDES}"
31620 with_INCLUDES="${docs_INCLUDES}"" ""$with_INCLUDES"
31626 if test "x${docs_SWIG_INCLUDES}" != "x"; then
31627 if test "x$with_SWIG_INCLUDES" = "x"; then
31628 with_SWIG_INCLUDES="${docs_SWIG_INCLUDES}"
31630 with_SWIG_INCLUDES="${docs_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
31632 docs_SWIG_INCLUDES=
31636 if test "x${docs_PYDIRPATH}" != "x"; then
31637 if test "x$with_PYDIRPATH" = "x"; then
31638 with_PYDIRPATH="${docs_PYDIRPATH}"
31640 with_PYDIRPATH="${docs_PYDIRPATH}"":""$with_PYDIRPATH"
31646 if test "x${docs_SWIGDIRPATH}" != "x"; then
31647 if test "x$with_SWIGDIRPATH" = "x"; then
31648 with_SWIGDIRPATH="${docs_SWIGDIRPATH}"
31650 with_SWIGDIRPATH="${docs_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
31656 if test "x${docs_LIBDIRPATH}" != "x"; then
31657 if test "x$with_LIBDIRPATH" = "x"; then
31658 with_LIBDIRPATH="${docs_LIBDIRPATH}"
31660 with_LIBDIRPATH="${docs_LIBDIRPATH}"":""$with_LIBDIRPATH"
31665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component docs will be included from a pre-installed library and includes." >&5
31666 $as_echo "Component docs will be included from a pre-installed library and includes." >&6; }
31670 if test x$enable_docs != xno; then
31672 build_dirs="$build_dirs docs"
31673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component docs passed configuration checks; building." >&5
31674 $as_echo "Component docs passed configuration checks; building." >&6; }
31677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component docs passed configuration checks; but not building." >&5
31678 $as_echo "Component docs passed configuration checks; but not building." >&6; }
31682 if test $passed = no; then
31683 skipped_dirs="$skipped_dirs docs"
31697 # Each component is now either to be built, was skipped, will be
31698 # included from pre-installed libraries and includes, or failed
31700 build_dirs=$build_dirs
31702 skipped_dirs=$skipped_dirs
31704 with_dirs=$with_dirs
31707 # fix for older autotools that don't define these by default
31712 # 'with' variables - the pre-installed libraries, includes, and paths
31713 # - must always come last in the lists, so they require special
31721 # Local files tweaked by AC
31722 ac_config_files="$ac_config_files Makefile run_tests.sh config/Makefile"
31725 ac_config_commands="$ac_config_commands run_tests_build"
31728 cat >confcache <<\_ACEOF
31729 # This file is a shell script that caches the results of configure
31730 # tests run on this system so they can be shared between configure
31731 # scripts and configure runs, see configure's option --config-cache.
31732 # It is not useful on other systems. If it contains results you don't
31733 # want to keep, you may remove or edit it.
31735 # config.status only pays attention to the cache file if you give it
31736 # the --recheck option to rerun configure.
31738 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31739 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31740 # following values.
31744 # The following way of writing the cache mishandles newlines in values,
31745 # but we know of no workaround that is simple, portable, and efficient.
31746 # So, we kill variables containing newlines.
31747 # Ultrix sh set writes to stderr and can't be redirected directly,
31748 # and sets the high bit in the cache file unless we assign to the vars.
31750 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31751 eval ac_val=\$$ac_var
31755 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31756 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31759 _ | IFS | as_nl) ;; #(
31760 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31761 *) { eval $ac_var=; unset $ac_var;} ;;
31767 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31768 *${as_nl}ac_space=\ *)
31769 # `set' does not quote correctly, so add quotes: double-quote
31770 # substitution turns \\\\ into \\, and sed turns \\ into \.
31773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31776 # `set' quotes correctly as required by POSIX, so do not add quotes.
31777 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31786 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31788 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31790 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31791 if test -w "$cache_file"; then
31792 test "x$cache_file" != "x/dev/null" &&
31793 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31794 $as_echo "$as_me: updating cache $cache_file" >&6;}
31795 cat confcache >$cache_file
31797 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31798 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31803 test "x$prefix" = xNONE && prefix=$ac_default_prefix
31804 # Let make expand exec_prefix.
31805 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
31807 DEFS=-DHAVE_CONFIG_H
31812 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
31813 # 1. Remove the extension, and $U if already installed.
31814 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
31815 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
31816 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31817 # will be set to the directory where LIBOBJS objects are built.
31818 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31819 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
31821 LIBOBJS=$ac_libobjs
31823 LTLIBOBJS=$ac_ltlibobjs
31826 if test -n "$EXEEXT"; then
31828 am__EXEEXT_FALSE='#'
31830 am__EXEEXT_TRUE='#'
31834 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31835 as_fn_error $? "conditional \"AMDEP\" was never defined.
31836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31838 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31839 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31842 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
31843 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
31844 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31846 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
31847 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
31848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31850 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
31851 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
31852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31854 if test -z "${PYTHON_TRUE}" && test -z "${PYTHON_FALSE}"; then
31855 as_fn_error $? "conditional \"PYTHON\" was never defined.
31856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31858 if test -z "${HAS_XMLTO_TRUE}" && test -z "${HAS_XMLTO_FALSE}"; then
31859 as_fn_error $? "conditional \"HAS_XMLTO\" was never defined.
31860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31863 if test -z "${HAVE_CREATEFILEMAPPING_TRUE}" && test -z "${HAVE_CREATEFILEMAPPING_FALSE}"; then
31864 as_fn_error $? "conditional \"HAVE_CREATEFILEMAPPING\" was never defined.
31865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31867 if test -z "${DOC_TRUE}" && test -z "${DOC_FALSE}"; then
31868 as_fn_error $? "conditional \"DOC\" was never defined.
31869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31871 if test -z "${MD_CPU_x86_TRUE}" && test -z "${MD_CPU_x86_FALSE}"; then
31872 as_fn_error $? "conditional \"MD_CPU_x86\" was never defined.
31873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31875 if test -z "${MD_SUBCPU_x86_64_TRUE}" && test -z "${MD_SUBCPU_x86_64_FALSE}"; then
31876 as_fn_error $? "conditional \"MD_SUBCPU_x86_64\" was never defined.
31877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31879 if test -z "${MD_CPU_powerpc_TRUE}" && test -z "${MD_CPU_powerpc_FALSE}"; then
31880 as_fn_error $? "conditional \"MD_CPU_powerpc\" was never defined.
31881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31883 if test -z "${MD_CPU_armv5_TRUE}" && test -z "${MD_CPU_armv5_FALSE}"; then
31884 as_fn_error $? "conditional \"MD_CPU_armv5\" was never defined.
31885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31887 if test -z "${MD_CPU_armv7_a_TRUE}" && test -z "${MD_CPU_armv7_a_FALSE}"; then
31888 as_fn_error $? "conditional \"MD_CPU_armv7_a\" was never defined.
31889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31891 if test -z "${MD_CPU_generic_TRUE}" && test -z "${MD_CPU_generic_FALSE}"; then
31892 as_fn_error $? "conditional \"MD_CPU_generic\" was never defined.
31893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31895 if test -z "${FUSB_TECH_darwin_TRUE}" && test -z "${FUSB_TECH_darwin_FALSE}"; then
31896 as_fn_error $? "conditional \"FUSB_TECH_darwin\" was never defined.
31897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31899 if test -z "${FUSB_TECH_win32_TRUE}" && test -z "${FUSB_TECH_win32_FALSE}"; then
31900 as_fn_error $? "conditional \"FUSB_TECH_win32\" was never defined.
31901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31903 if test -z "${FUSB_TECH_generic_TRUE}" && test -z "${FUSB_TECH_generic_FALSE}"; then
31904 as_fn_error $? "conditional \"FUSB_TECH_generic\" was never defined.
31905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31907 if test -z "${FUSB_TECH_linux_TRUE}" && test -z "${FUSB_TECH_linux_FALSE}"; then
31908 as_fn_error $? "conditional \"FUSB_TECH_linux\" was never defined.
31909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31911 if test -z "${FUSB_TECH_libusb1_TRUE}" && test -z "${FUSB_TECH_libusb1_FALSE}"; then
31912 as_fn_error $? "conditional \"FUSB_TECH_libusb1\" was never defined.
31913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31915 if test -z "${FUSB_TECH_ra_wb_TRUE}" && test -z "${FUSB_TECH_ra_wb_FALSE}"; then
31916 as_fn_error $? "conditional \"FUSB_TECH_ra_wb\" was never defined.
31917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31920 if test -z "${XDG_UTILS_TRUE}" && test -z "${XDG_UTILS_FALSE}"; then
31921 as_fn_error $? "conditional \"XDG_UTILS\" was never defined.
31922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31925 : ${CONFIG_STATUS=./config.status}
31927 ac_clean_files_save=$ac_clean_files
31928 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
31929 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31930 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31932 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31934 # Generated by $as_me.
31935 # Run this file to recreate the current configuration.
31936 # Compiler output produced by configure, useful for debugging
31937 # configure, is in config.log if it exists.
31940 ac_cs_recheck=false
31943 SHELL=\${CONFIG_SHELL-$SHELL}
31946 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
31947 ## -------------------- ##
31948 ## M4sh Initialization. ##
31949 ## -------------------- ##
31951 # Be more Bourne compatible
31952 DUALCASE=1; export DUALCASE # for MKS sh
31953 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
31956 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31957 # is contrary to our usage. Disable this feature.
31958 alias -g '${1+"$@"}'='"$@"'
31959 setopt NO_GLOB_SUBST
31961 case `(set -o) 2>/dev/null` in #(
31973 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31974 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31975 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31976 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31977 # Prefer a ksh shell builtin over an external printf program on Solaris,
31978 # but without wasting forks for bash or zsh.
31979 if test -z "$BASH_VERSION$ZSH_VERSION" \
31980 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31981 as_echo='print -r --'
31982 as_echo_n='print -rn --'
31983 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31984 as_echo='printf %s\n'
31985 as_echo_n='printf %s'
31987 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31988 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
31989 as_echo_n='/usr/ucb/echo -n'
31991 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31992 as_echo_n_body='eval
31996 expr "X$arg" : "X\\(.*\\)$as_nl";
31997 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31999 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
32001 export as_echo_n_body
32002 as_echo_n='sh -c $as_echo_n_body as_echo'
32004 export as_echo_body
32005 as_echo='sh -c $as_echo_body as_echo'
32008 # The user is always right.
32009 if test "${PATH_SEPARATOR+set}" != set; then
32011 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
32012 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
32019 # We need space, tab and new line, in precisely that order. Quoting is
32020 # there to prevent editors from complaining about space-tab.
32021 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
32022 # splitting by setting IFS to empty value.)
32025 # Find who we are. Look in the path if we contain no directory separator.
32027 *[\\/]* ) as_myself=$0 ;;
32028 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32029 for as_dir in $PATH
32032 test -z "$as_dir" && as_dir=.
32033 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
32039 # We did not find ourselves, most probably we were run as `sh COMMAND'
32040 # in which case we are not to be found in the path.
32041 if test "x$as_myself" = x; then
32044 if test ! -f "$as_myself"; then
32045 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
32049 # Unset variables that we do not need and which cause bugs (e.g. in
32050 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
32051 # suppresses any "Segmentation fault" message there. '((' could
32052 # trigger a bug in pdksh 5.2.14.
32053 for as_var in BASH_ENV ENV MAIL MAILPATH
32054 do eval test x\${$as_var+set} = xset \
32055 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
32068 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32071 # as_fn_error STATUS ERROR [LINENO LOG_FD]
32072 # ----------------------------------------
32073 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
32074 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
32075 # script with STATUS, using 1 if that was 0.
32078 as_status=$1; test $as_status -eq 0 && as_status=1
32080 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
32081 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
32083 $as_echo "$as_me: error: $2" >&2
32084 as_fn_exit $as_status
32088 # as_fn_set_status STATUS
32089 # -----------------------
32090 # Set $? to STATUS, without forking.
32091 as_fn_set_status ()
32094 } # as_fn_set_status
32096 # as_fn_exit STATUS
32097 # -----------------
32098 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
32102 as_fn_set_status $1
32108 # Portably unset VAR.
32111 { eval $1=; unset $1;}
32113 as_unset=as_fn_unset
32114 # as_fn_append VAR VALUE
32115 # ----------------------
32116 # Append the text in VALUE to the end of the definition contained in VAR. Take
32117 # advantage of any shell optimizations that allow amortized linear growth over
32118 # repeated appends, instead of the typical quadratic growth present in naive
32120 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
32121 eval 'as_fn_append ()
32132 # as_fn_arith ARG...
32133 # ------------------
32134 # Perform arithmetic evaluation on the ARGs, and store the result in the
32135 # global $as_val. Take advantage of shells that can avoid forks. The arguments
32136 # must be portable across $(()) and expr.
32137 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
32138 eval 'as_fn_arith ()
32145 as_val=`expr "$@" || test $? -eq 1`
32150 if expr a : '\(a\)' >/dev/null 2>&1 &&
32151 test "X`expr 00001 : '.*\(...\)'`" = X001; then
32157 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
32158 as_basename=basename
32163 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
32169 as_me=`$as_basename -- "$0" ||
32170 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
32171 X"$0" : 'X\(//\)$' \| \
32172 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
32174 sed '/^.*\/\([^/][^/]*\)\/*$/{
32188 # Avoid depending upon Character Ranges.
32189 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
32190 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32191 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
32192 as_cr_digits='0123456789'
32193 as_cr_alnum=$as_cr_Letters$as_cr_digits
32195 ECHO_C= ECHO_N= ECHO_T=
32196 case `echo -n x` in #(((((
32198 case `echo 'xy\c'` in
32199 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
32201 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
32208 rm -f conf$$ conf$$.exe conf$$.file
32209 if test -d conf$$.dir; then
32210 rm -f conf$$.dir/conf$$.file
32213 mkdir conf$$.dir 2>/dev/null
32215 if (echo >conf$$.file) 2>/dev/null; then
32216 if ln -s conf$$.file conf$$ 2>/dev/null; then
32218 # ... but there are two gotchas:
32219 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
32220 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
32221 # In both cases, we have to default to `cp -p'.
32222 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
32224 elif ln conf$$.file conf$$ 2>/dev/null; then
32232 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
32233 rmdir conf$$.dir 2>/dev/null
32238 # Create "$as_dir" as a directory, including parents if necessary.
32243 -*) as_dir=./$as_dir;;
32245 test -d "$as_dir" || eval $as_mkdir_p || {
32249 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32250 *) as_qdir=$as_dir;;
32252 as_dirs="'$as_qdir' $as_dirs"
32253 as_dir=`$as_dirname -- "$as_dir" ||
32254 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32255 X"$as_dir" : 'X\(//\)[^/]' \| \
32256 X"$as_dir" : 'X\(//\)$' \| \
32257 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32258 $as_echo X"$as_dir" |
32259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32263 /^X\(\/\/\)[^/].*/{
32276 test -d "$as_dir" && break
32278 test -z "$as_dirs" || eval "mkdir $as_dirs"
32279 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
32283 if mkdir -p . 2>/dev/null; then
32284 as_mkdir_p='mkdir -p "$as_dir"'
32286 test -d ./-p && rmdir ./-p
32290 if test -x / >/dev/null 2>&1; then
32291 as_test_x='test -x'
32293 if ls -dL / >/dev/null 2>&1; then
32300 if test -d "$1"; then
32306 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
32307 ???[sx]*):;;*)false;;esac;fi
32311 as_executable_p=$as_test_x
32313 # Sed expression to map a string onto a valid CPP name.
32314 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32316 # Sed expression to map a string onto a valid variable name.
32317 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32321 ## ----------------------------------- ##
32322 ## Main body of $CONFIG_STATUS script. ##
32323 ## ----------------------------------- ##
32325 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
32327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32328 # Save the log message, to keep $0 and so on meaningful, and to
32329 # report actual input values of CONFIG_FILES etc. instead of their
32330 # values after options handling.
32332 This file was extended by $as_me, which was
32333 generated by GNU Autoconf 2.67. Invocation command line was
32335 CONFIG_FILES = $CONFIG_FILES
32336 CONFIG_HEADERS = $CONFIG_HEADERS
32337 CONFIG_LINKS = $CONFIG_LINKS
32338 CONFIG_COMMANDS = $CONFIG_COMMANDS
32341 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32346 case $ac_config_files in *"
32347 "*) set x $ac_config_files; shift; ac_config_files=$*;;
32350 case $ac_config_headers in *"
32351 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
32355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32356 # Files that config.status was made for.
32357 config_files="$ac_config_files"
32358 config_headers="$ac_config_headers"
32359 config_commands="$ac_config_commands"
32363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32365 \`$as_me' instantiates files and other configuration actions
32366 from templates according to the current configuration. Unless the files
32367 and actions are specified as TAGs, all are instantiated by default.
32369 Usage: $0 [OPTION]... [TAG]...
32371 -h, --help print this help, then exit
32372 -V, --version print version number and configuration settings, then exit
32373 --config print configuration, then exit
32374 -q, --quiet, --silent
32375 do not print progress messages
32376 -d, --debug don't remove temporary files
32377 --recheck update $as_me by reconfiguring in the same conditions
32378 --file=FILE[:TEMPLATE]
32379 instantiate the configuration file FILE
32380 --header=FILE[:TEMPLATE]
32381 instantiate the configuration header FILE
32383 Configuration files:
32386 Configuration headers:
32389 Configuration commands:
32392 Report bugs to the package provider."
32395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32396 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32399 configured by $0, generated by GNU Autoconf 2.67,
32400 with options \\"\$ac_cs_config\\"
32402 Copyright (C) 2010 Free Software Foundation, Inc.
32403 This config.status script is free software; the Free Software Foundation
32404 gives unlimited permission to copy, distribute and modify it."
32411 test -n "\$AWK" || AWK=awk
32414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32415 # The default lists apply if the user does not specify any file.
32421 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32422 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32426 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32438 # Handling of the options.
32439 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32441 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32442 $as_echo "$ac_cs_version"; exit ;;
32443 --config | --confi | --conf | --con | --co | --c )
32444 $as_echo "$ac_cs_config"; exit ;;
32445 --debug | --debu | --deb | --de | --d | -d )
32447 --file | --fil | --fi | --f )
32450 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32451 '') as_fn_error $? "missing file argument" ;;
32453 as_fn_append CONFIG_FILES " '$ac_optarg'"
32454 ac_need_defaults=false;;
32455 --header | --heade | --head | --hea )
32458 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32460 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
32461 ac_need_defaults=false;;
32463 # Conflict between --help and --header
32464 as_fn_error $? "ambiguous option: \`$1'
32465 Try \`$0 --help' for more information.";;
32466 --help | --hel | -h )
32467 $as_echo "$ac_cs_usage"; exit ;;
32468 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32469 | -silent | --silent | --silen | --sile | --sil | --si | --s)
32472 # This is an error.
32473 -*) as_fn_error $? "unrecognized option: \`$1'
32474 Try \`$0 --help' for more information." ;;
32476 *) as_fn_append ac_config_targets " $1"
32477 ac_need_defaults=false ;;
32483 ac_configure_extra_args=
32485 if $ac_cs_silent; then
32487 ac_configure_extra_args="$ac_configure_extra_args --silent"
32491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32492 if \$ac_cs_recheck; then
32493 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32495 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32496 CONFIG_SHELL='$SHELL'
32497 export CONFIG_SHELL
32502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32506 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32507 ## Running $as_me. ##
32513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32517 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32520 # The HP-UX ksh and POSIX shell print the target directory to stdout
32521 # if CDPATH is set.
32522 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32524 sed_quote_subst='$sed_quote_subst'
32525 double_quote_subst='$double_quote_subst'
32526 delay_variable_subst='$delay_variable_subst'
32527 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
32528 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
32529 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
32530 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
32531 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
32532 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
32533 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
32534 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
32535 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
32536 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
32537 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
32538 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
32539 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
32540 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
32541 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
32542 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
32543 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
32544 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
32545 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
32546 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
32547 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
32548 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
32549 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
32550 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
32551 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
32552 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
32553 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
32554 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
32555 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
32556 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
32557 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32558 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
32559 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
32560 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
32561 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
32562 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
32563 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
32564 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32565 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32566 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32567 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
32568 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
32569 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
32570 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
32571 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
32572 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
32573 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
32574 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
32575 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
32576 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
32577 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
32578 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
32579 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
32580 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
32581 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
32582 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
32583 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
32584 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
32585 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
32586 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
32587 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
32588 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
32589 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
32590 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
32591 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32592 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32593 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
32594 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
32595 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
32596 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
32597 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
32598 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32599 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32600 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32601 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32602 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32603 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32604 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
32605 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
32606 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
32607 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
32608 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
32609 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
32610 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
32611 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
32612 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
32613 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
32614 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
32615 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
32616 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
32617 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
32618 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
32619 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32620 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
32621 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
32622 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32623 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
32624 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
32625 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
32626 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
32627 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
32628 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
32629 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
32630 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
32631 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
32632 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
32633 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
32634 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32635 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32636 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32637 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
32638 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
32639 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
32640 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
32641 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
32642 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
32643 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
32644 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
32645 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
32646 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
32647 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
32648 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
32649 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
32650 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
32651 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
32652 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
32653 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32654 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32655 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32656 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32657 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32658 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32659 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32660 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32661 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32662 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32663 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32664 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32665 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32666 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32667 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32668 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32669 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32670 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32671 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32672 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32673 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32674 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32675 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32676 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32677 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32678 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32679 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32680 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32681 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32682 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32683 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32684 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32685 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32686 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32687 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32688 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32689 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32690 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32691 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32692 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32693 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32694 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32695 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32696 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32697 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32698 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32699 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32702 LTCFLAGS='$LTCFLAGS'
32703 compiler='$compiler_DEFAULT'
32705 # Quote evaled strings.
32716 deplibs_check_method \
32725 lt_cv_sys_global_symbol_pipe \
32726 lt_cv_sys_global_symbol_to_cdecl \
32727 lt_cv_sys_global_symbol_to_c_name_address \
32728 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32731 lt_prog_compiler_no_builtin_flag \
32732 lt_prog_compiler_wl \
32733 lt_prog_compiler_pic \
32734 lt_prog_compiler_static \
32735 lt_cv_prog_compiler_c_o \
32743 export_dynamic_flag_spec \
32744 whole_archive_flag_spec \
32745 compiler_needs_object \
32747 allow_undefined_flag \
32748 no_undefined_flag \
32749 hardcode_libdir_flag_spec \
32750 hardcode_libdir_flag_spec_ld \
32751 hardcode_libdir_separator \
32756 variables_saved_for_relink \
32758 library_names_spec \
32763 compiler_lib_search_dirs \
32768 compiler_lib_search_path \
32771 lt_prog_compiler_no_builtin_flag_CXX \
32772 lt_prog_compiler_wl_CXX \
32773 lt_prog_compiler_pic_CXX \
32774 lt_prog_compiler_static_CXX \
32775 lt_cv_prog_compiler_c_o_CXX \
32776 export_dynamic_flag_spec_CXX \
32777 whole_archive_flag_spec_CXX \
32778 compiler_needs_object_CXX \
32780 allow_undefined_flag_CXX \
32781 no_undefined_flag_CXX \
32782 hardcode_libdir_flag_spec_CXX \
32783 hardcode_libdir_flag_spec_ld_CXX \
32784 hardcode_libdir_separator_CXX \
32785 fix_srcfile_path_CXX \
32786 exclude_expsyms_CXX \
32787 include_expsyms_CXX \
32788 file_list_spec_CXX \
32789 compiler_lib_search_dirs_CXX \
32790 predep_objects_CXX \
32791 postdep_objects_CXX \
32794 compiler_lib_search_path_CXX; do
32795 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
32796 *[\\\\\\\`\\"\\\$]*)
32797 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32800 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32805 # Double-quote double-evaled strings.
32806 for var in reload_cmds \
32807 old_postinstall_cmds \
32808 old_postuninstall_cmds \
32810 extract_expsyms_cmds \
32811 old_archive_from_new_cmds \
32812 old_archive_from_expsyms_cmds \
32814 archive_expsym_cmds \
32816 module_expsym_cmds \
32817 export_symbols_cmds \
32820 postuninstall_cmds \
32822 sys_lib_search_path_spec \
32823 sys_lib_dlsearch_path_spec \
32824 old_archive_cmds_CXX \
32825 old_archive_from_new_cmds_CXX \
32826 old_archive_from_expsyms_cmds_CXX \
32828 archive_expsym_cmds_CXX \
32830 module_expsym_cmds_CXX \
32831 export_symbols_cmds_CXX \
32832 prelink_cmds_CXX; do
32833 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
32834 *[\\\\\\\`\\"\\\$]*)
32835 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32838 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32843 # Fix-up fallback echo if it was mangled by the above quoting rules.
32845 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
32849 ac_aux_dir='$ac_aux_dir'
32850 xsi_shell='$xsi_shell'
32851 lt_shell_append='$lt_shell_append'
32853 # See if we are running on zsh, and set the options which allow our
32854 # commands through without removal of \ escapes INIT.
32855 if test -n "\${ZSH_VERSION+set}" ; then
32856 setopt NO_GLOB_SUBST
32862 TIMESTAMP='$TIMESTAMP'
32873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32875 # Handling of arguments.
32876 for ac_config_target in $ac_config_targets
32878 case $ac_config_target in
32879 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
32880 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
32881 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
32882 "gruel/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/Makefile" ;;
32883 "gruel/gruel.pc") CONFIG_FILES="$CONFIG_FILES gruel/gruel.pc" ;;
32884 "gruel/src/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/src/Makefile" ;;
32885 "gruel/src/include/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/src/include/Makefile" ;;
32886 "gruel/src/include/gruel/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/src/include/gruel/Makefile" ;;
32887 "gruel/src/include/gruel/inet.h") CONFIG_FILES="$CONFIG_FILES gruel/src/include/gruel/inet.h" ;;
32888 "gruel/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/src/lib/Makefile" ;;
32889 "gruel/src/lib/pmt/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/src/lib/pmt/Makefile" ;;
32890 "gruel/src/lib/msg/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/src/lib/msg/Makefile" ;;
32891 "gruel/src/scheme/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/src/scheme/Makefile" ;;
32892 "gruel/src/scheme/gnuradio/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/src/scheme/gnuradio/Makefile" ;;
32893 "gcell/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/Makefile" ;;
32894 "gcell/gcell.pc") CONFIG_FILES="$CONFIG_FILES gcell/gcell.pc" ;;
32895 "gcell/gcell_spu.pc") CONFIG_FILES="$CONFIG_FILES gcell/gcell_spu.pc" ;;
32896 "gcell/include/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/include/Makefile" ;;
32897 "gcell/include/gcell/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/include/gcell/Makefile" ;;
32898 "gcell/include/gcell/spu/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/include/gcell/spu/Makefile" ;;
32899 "gcell/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/lib/Makefile" ;;
32900 "gcell/lib/spu/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/lib/spu/Makefile" ;;
32901 "gcell/lib/general/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/lib/general/Makefile" ;;
32902 "gcell/lib/wrapper/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/lib/wrapper/Makefile" ;;
32903 "gcell/lib/runtime/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/lib/runtime/Makefile" ;;
32904 "gcell/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/apps/Makefile" ;;
32905 "gcell/apps/spu/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/apps/spu/Makefile" ;;
32906 "gcell/ibm/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/ibm/Makefile" ;;
32907 "gnuradio-core/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/Makefile" ;;
32908 "gnuradio-core/gnuradio-core.pc") CONFIG_FILES="$CONFIG_FILES gnuradio-core/gnuradio-core.pc" ;;
32909 "gnuradio-core/src/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/Makefile" ;;
32910 "gnuradio-core/src/gen_interpolator_taps/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/gen_interpolator_taps/Makefile" ;;
32911 "gnuradio-core/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/Makefile" ;;
32912 "gnuradio-core/src/lib/filter/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/filter/Makefile" ;;
32913 "gnuradio-core/src/lib/g72x/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/g72x/Makefile" ;;
32914 "gnuradio-core/src/lib/general/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/general/Makefile" ;;
32915 "gnuradio-core/src/lib/general/gr_constants.cc") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/general/gr_constants.cc" ;;
32916 "gnuradio-core/src/lib/gengen/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/gengen/Makefile" ;;
32917 "gnuradio-core/src/lib/io/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/io/Makefile" ;;
32918 "gnuradio-core/src/lib/missing/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/missing/Makefile" ;;
32919 "gnuradio-core/src/lib/reed-solomon/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/reed-solomon/Makefile" ;;
32920 "gnuradio-core/src/lib/viterbi/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/viterbi/Makefile" ;;
32921 "gnuradio-core/src/lib/runtime/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/runtime/Makefile" ;;
32922 "gnuradio-core/src/lib/hier/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/hier/Makefile" ;;
32923 "gnuradio-core/src/lib/swig/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/swig/Makefile" ;;
32924 "gnuradio-core/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/Makefile" ;;
32925 "gnuradio-core/src/python/bin/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/bin/Makefile" ;;
32926 "gnuradio-core/src/python/gnuradio/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/Makefile" ;;
32927 "gnuradio-core/src/python/gnuradio/blks2/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/blks2/Makefile" ;;
32928 "gnuradio-core/src/python/gnuradio/blks2impl/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/blks2impl/Makefile" ;;
32929 "gnuradio-core/src/python/gnuradio/gr/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/gr/Makefile" ;;
32930 "gnuradio-core/src/python/gnuradio/gr/run_tests") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/gr/run_tests" ;;
32931 "gnuradio-core/src/python/gnuradio/gru/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/gru/Makefile" ;;
32932 "gnuradio-core/src/python/gnuradio/gruimpl/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/gruimpl/Makefile" ;;
32933 "gnuradio-core/src/python/gnuradio/vocoder/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/vocoder/Makefile" ;;
32934 "gnuradio-core/src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/tests/Makefile" ;;
32935 "gnuradio-core/src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/utils/Makefile" ;;
32936 "run_tests_core") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_core" ;;
32937 "usrp/host/include/usrp/libusb_types.h") CONFIG_FILES="$CONFIG_FILES usrp/host/include/usrp/libusb_types.h" ;;
32938 "usrp/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/Makefile" ;;
32939 "usrp/usrp.pc") CONFIG_FILES="$CONFIG_FILES usrp/usrp.pc" ;;
32940 "usrp/usrp.iss") CONFIG_FILES="$CONFIG_FILES usrp/usrp.iss" ;;
32941 "usrp/doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES usrp/doc/Doxyfile" ;;
32942 "usrp/doc/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/doc/Makefile" ;;
32943 "usrp/doc/other/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/doc/other/Makefile" ;;
32944 "usrp/host/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/Makefile" ;;
32945 "usrp/host/include/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/include/Makefile" ;;
32946 "usrp/host/include/usrp/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/include/usrp/Makefile" ;;
32947 "usrp/host/misc/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/misc/Makefile" ;;
32948 "usrp/host/lib/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/lib/Makefile" ;;
32949 "usrp/host/lib/std_paths.h") CONFIG_FILES="$CONFIG_FILES usrp/host/lib/std_paths.h" ;;
32950 "usrp/host/swig/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/swig/Makefile" ;;
32951 "usrp/host/apps/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/apps/Makefile" ;;
32952 "usrp/firmware/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/Makefile" ;;
32953 "usrp/firmware/include/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/include/Makefile" ;;
32954 "usrp/firmware/lib/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/lib/Makefile" ;;
32955 "usrp/firmware/src/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/src/Makefile" ;;
32956 "usrp/firmware/src/common/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/src/common/Makefile" ;;
32957 "usrp/firmware/src/usrp2/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/src/usrp2/Makefile" ;;
32958 "usrp/fpga/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/fpga/Makefile" ;;
32959 "usrp/fpga/rbf/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/fpga/rbf/Makefile" ;;
32960 "usrp/fpga/rbf/rev2/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/fpga/rbf/rev2/Makefile" ;;
32961 "usrp/fpga/rbf/rev4/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/fpga/rbf/rev4/Makefile" ;;
32962 "usrp2/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/Makefile" ;;
32963 "usrp2/host/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/host/Makefile" ;;
32964 "usrp2/host/usrp2.pc") CONFIG_FILES="$CONFIG_FILES usrp2/host/usrp2.pc" ;;
32965 "usrp2/host/include/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/host/include/Makefile" ;;
32966 "usrp2/host/include/usrp2/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/host/include/usrp2/Makefile" ;;
32967 "usrp2/host/lib/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/host/lib/Makefile" ;;
32968 "usrp2/host/apps/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/host/apps/Makefile" ;;
32969 "gr-usrp/Makefile") CONFIG_FILES="$CONFIG_FILES gr-usrp/Makefile" ;;
32970 "gr-usrp/gnuradio-usrp.pc") CONFIG_FILES="$CONFIG_FILES gr-usrp/gnuradio-usrp.pc" ;;
32971 "gr-usrp/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-usrp/src/Makefile" ;;
32972 "gr-usrp/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-usrp/src/run_tests" ;;
32973 "gr-usrp/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gr-usrp/apps/Makefile" ;;
32974 "run_tests_usrp") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_usrp" ;;
32975 "gr-usrp2/Makefile") CONFIG_FILES="$CONFIG_FILES gr-usrp2/Makefile" ;;
32976 "gr-usrp2/gnuradio-usrp2.pc") CONFIG_FILES="$CONFIG_FILES gr-usrp2/gnuradio-usrp2.pc" ;;
32977 "gr-usrp2/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-usrp2/src/Makefile" ;;
32978 "gr-usrp2/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-usrp2/src/run_tests" ;;
32979 "run_tests_usrp2") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_usrp2" ;;
32980 "gr-gcell/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gcell/Makefile" ;;
32981 "gr-gcell/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gcell/src/Makefile" ;;
32982 "gr-gcell/src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gcell/src/examples/Makefile" ;;
32983 "gr-gcell/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-gcell/src/run_tests" ;;
32984 "run_tests_gcell") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_gcell" ;;
32985 "gr-msdd6000/Makefile") CONFIG_FILES="$CONFIG_FILES gr-msdd6000/Makefile" ;;
32986 "gr-msdd6000/gnuradio-msdd6000.pc") CONFIG_FILES="$CONFIG_FILES gr-msdd6000/gnuradio-msdd6000.pc" ;;
32987 "gr-msdd6000/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-msdd6000/src/Makefile" ;;
32988 "gr-audio-alsa/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-alsa/Makefile" ;;
32989 "gr-audio-alsa/gnuradio-audio-alsa.pc") CONFIG_FILES="$CONFIG_FILES gr-audio-alsa/gnuradio-audio-alsa.pc" ;;
32990 "gr-audio-alsa/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-alsa/src/Makefile" ;;
32991 "gr-audio-alsa/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-alsa/src/run_tests" ;;
32992 "run_tests_alsa") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_alsa" ;;
32993 "gr-audio-jack/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-jack/Makefile" ;;
32994 "gr-audio-jack/gnuradio-audio-jack.pc") CONFIG_FILES="$CONFIG_FILES gr-audio-jack/gnuradio-audio-jack.pc" ;;
32995 "gr-audio-jack/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-jack/src/Makefile" ;;
32996 "gr-audio-jack/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-jack/src/run_tests" ;;
32997 "run_tests_jack") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_jack" ;;
32998 "gr-audio-oss/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-oss/Makefile" ;;
32999 "gr-audio-oss/gnuradio-audio-oss.pc") CONFIG_FILES="$CONFIG_FILES gr-audio-oss/gnuradio-audio-oss.pc" ;;
33000 "gr-audio-oss/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-oss/src/Makefile" ;;
33001 "gr-audio-oss/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-oss/src/run_tests" ;;
33002 "run_tests_oss") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_oss" ;;
33003 "gr-audio-osx/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-osx/Makefile" ;;
33004 "gr-audio-osx/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-osx/src/Makefile" ;;
33005 "gr-audio-osx/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-osx/src/run_tests" ;;
33006 "run_tests_osx") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_osx" ;;
33007 "gr-audio-portaudio/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-portaudio/Makefile" ;;
33008 "gr-audio-portaudio/gnuradio-audio-portaudio.pc") CONFIG_FILES="$CONFIG_FILES gr-audio-portaudio/gnuradio-audio-portaudio.pc" ;;
33009 "gr-audio-portaudio/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-portaudio/src/Makefile" ;;
33010 "gr-audio-portaudio/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-portaudio/src/run_tests" ;;
33011 "run_tests_portaudio") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_portaudio" ;;
33012 "gr-audio-windows/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-windows/Makefile" ;;
33013 "gr-audio-windows/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-windows/src/Makefile" ;;
33014 "gr-audio-windows/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-windows/src/run_tests" ;;
33015 "run_tests_audio_windows") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_audio_windows" ;;
33016 "gr-atsc/Makefile") CONFIG_FILES="$CONFIG_FILES gr-atsc/Makefile" ;;
33017 "gr-atsc/gnuradio-atsc.pc") CONFIG_FILES="$CONFIG_FILES gr-atsc/gnuradio-atsc.pc" ;;
33018 "gr-atsc/doc/Makefile") CONFIG_FILES="$CONFIG_FILES gr-atsc/doc/Makefile" ;;
33019 "gr-atsc/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-atsc/src/Makefile" ;;
33020 "gr-atsc/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-atsc/src/lib/Makefile" ;;
33021 "gr-atsc/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-atsc/src/python/Makefile" ;;
33022 "gr-atsc/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-atsc/src/python/run_tests" ;;
33023 "run_tests_atsc") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_atsc" ;;
33024 "gr-comedi/Makefile") CONFIG_FILES="$CONFIG_FILES gr-comedi/Makefile" ;;
33025 "gr-comedi/gnuradio-comedi.pc") CONFIG_FILES="$CONFIG_FILES gr-comedi/gnuradio-comedi.pc" ;;
33026 "gr-comedi/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-comedi/src/Makefile" ;;
33027 "gr-comedi/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-comedi/src/run_tests" ;;
33028 "run_tests_comedi") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_comedi" ;;
33029 "gr-cvsd-vocoder/Makefile") CONFIG_FILES="$CONFIG_FILES gr-cvsd-vocoder/Makefile" ;;
33030 "gr-cvsd-vocoder/gnuradio-cvsd-vocoder.pc") CONFIG_FILES="$CONFIG_FILES gr-cvsd-vocoder/gnuradio-cvsd-vocoder.pc" ;;
33031 "gr-cvsd-vocoder/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-cvsd-vocoder/src/Makefile" ;;
33032 "gr-cvsd-vocoder/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-cvsd-vocoder/src/lib/Makefile" ;;
33033 "gr-cvsd-vocoder/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-cvsd-vocoder/src/python/Makefile" ;;
33034 "gr-cvsd-vocoder/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-cvsd-vocoder/src/python/run_tests" ;;
33035 "run_tests_cvsd") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_cvsd" ;;
33036 "gr-gpio/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/Makefile" ;;
33037 "gr-gpio/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/Makefile" ;;
33038 "gr-gpio/src/fpga/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/fpga/Makefile" ;;
33039 "gr-gpio/src/fpga/include/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/fpga/include/Makefile" ;;
33040 "gr-gpio/src/fpga/top/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/fpga/top/Makefile" ;;
33041 "gr-gpio/src/fpga/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/fpga/lib/Makefile" ;;
33042 "gr-gpio/src/fpga/rbf/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/fpga/rbf/Makefile" ;;
33043 "gr-gpio/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/python/Makefile" ;;
33044 "gr-gsm-fr-vocoder/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/Makefile" ;;
33045 "gr-gsm-fr-vocoder/gnuradio-gsm-fr-vocoder.pc") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/gnuradio-gsm-fr-vocoder.pc" ;;
33046 "gr-gsm-fr-vocoder/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/src/Makefile" ;;
33047 "gr-gsm-fr-vocoder/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/src/lib/Makefile" ;;
33048 "gr-gsm-fr-vocoder/src/lib/gsm/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/src/lib/gsm/Makefile" ;;
33049 "gr-gsm-fr-vocoder/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/src/python/Makefile" ;;
33050 "gr-gsm-fr-vocoder/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/src/python/run_tests" ;;
33051 "run_tests_gsm") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_gsm" ;;
33052 "gr-noaa/Makefile") CONFIG_FILES="$CONFIG_FILES gr-noaa/Makefile" ;;
33053 "gr-noaa/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gr-noaa/apps/Makefile" ;;
33054 "gr-noaa/grc/Makefile") CONFIG_FILES="$CONFIG_FILES gr-noaa/grc/Makefile" ;;
33055 "gr-noaa/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-noaa/lib/Makefile" ;;
33056 "gr-noaa/oct/Makefile") CONFIG_FILES="$CONFIG_FILES gr-noaa/oct/Makefile" ;;
33057 "gr-noaa/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-noaa/python/Makefile" ;;
33058 "gr-noaa/swig/Makefile") CONFIG_FILES="$CONFIG_FILES gr-noaa/swig/Makefile" ;;
33059 "gr-pager/Makefile") CONFIG_FILES="$CONFIG_FILES gr-pager/Makefile" ;;
33060 "gr-pager/gnuradio-pager.pc") CONFIG_FILES="$CONFIG_FILES gr-pager/gnuradio-pager.pc" ;;
33061 "gr-pager/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gr-pager/apps/Makefile" ;;
33062 "gr-pager/grc/Makefile") CONFIG_FILES="$CONFIG_FILES gr-pager/grc/Makefile" ;;
33063 "gr-pager/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-pager/lib/Makefile" ;;
33064 "gr-pager/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-pager/python/Makefile" ;;
33065 "gr-pager/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-pager/python/run_tests" ;;
33066 "gr-pager/swig/Makefile") CONFIG_FILES="$CONFIG_FILES gr-pager/swig/Makefile" ;;
33067 "run_tests_pager") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_pager" ;;
33068 "gr-radar-mono/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/Makefile" ;;
33069 "gr-radar-mono/doc/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/doc/Makefile" ;;
33070 "gr-radar-mono/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/Makefile" ;;
33071 "gr-radar-mono/src/fpga/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/fpga/Makefile" ;;
33072 "gr-radar-mono/src/fpga/top/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/fpga/top/Makefile" ;;
33073 "gr-radar-mono/src/fpga/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/fpga/lib/Makefile" ;;
33074 "gr-radar-mono/src/fpga/models/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/fpga/models/Makefile" ;;
33075 "gr-radar-mono/src/fpga/tb/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/fpga/tb/Makefile" ;;
33076 "gr-radar-mono/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/lib/Makefile" ;;
33077 "gr-radar-mono/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/python/Makefile" ;;
33078 "gr-radar-mono/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/python/run_tests" ;;
33079 "run_tests_radar_mono") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_radar_mono" ;;
33080 "gr-radio-astronomy/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radio-astronomy/Makefile" ;;
33081 "gr-radio-astronomy/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radio-astronomy/src/Makefile" ;;
33082 "gr-radio-astronomy/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radio-astronomy/src/lib/Makefile" ;;
33083 "gr-radio-astronomy/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radio-astronomy/src/python/Makefile" ;;
33084 "gr-radio-astronomy/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-radio-astronomy/src/python/run_tests" ;;
33085 "run_tests_astronomy") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_astronomy" ;;
33086 "gr-trellis/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/Makefile" ;;
33087 "gr-trellis/gnuradio-trellis.pc") CONFIG_FILES="$CONFIG_FILES gr-trellis/gnuradio-trellis.pc" ;;
33088 "gr-trellis/doc/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/doc/Makefile" ;;
33089 "gr-trellis/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/Makefile" ;;
33090 "gr-trellis/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/lib/Makefile" ;;
33091 "gr-trellis/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/python/Makefile" ;;
33092 "gr-trellis/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/python/run_tests" ;;
33093 "gr-trellis/src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/examples/Makefile" ;;
33094 "gr-trellis/src/examples/fsm_files/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/examples/fsm_files/Makefile" ;;
33095 "run_tests_gr_trellis") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_gr_trellis" ;;
33096 "gr-video-sdl/Makefile") CONFIG_FILES="$CONFIG_FILES gr-video-sdl/Makefile" ;;
33097 "gr-video-sdl/gnuradio-video-sdl.pc") CONFIG_FILES="$CONFIG_FILES gr-video-sdl/gnuradio-video-sdl.pc" ;;
33098 "gr-video-sdl/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-video-sdl/src/Makefile" ;;
33099 "gr-video-sdl/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-video-sdl/src/run_tests" ;;
33100 "run_tests_sdl") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_sdl" ;;
33101 "gr-wxgui/Makefile") CONFIG_FILES="$CONFIG_FILES gr-wxgui/Makefile" ;;
33102 "gr-wxgui/gr-wxgui.pc") CONFIG_FILES="$CONFIG_FILES gr-wxgui/gr-wxgui.pc" ;;
33103 "gr-wxgui/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-wxgui/src/Makefile" ;;
33104 "gr-wxgui/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-wxgui/src/python/Makefile" ;;
33105 "gr-wxgui/src/python/plotter/Makefile") CONFIG_FILES="$CONFIG_FILES gr-wxgui/src/python/plotter/Makefile" ;;
33106 "gr-qtgui/Makefile") CONFIG_FILES="$CONFIG_FILES gr-qtgui/Makefile" ;;
33107 "gr-qtgui/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-qtgui/src/Makefile" ;;
33108 "gr-qtgui/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-qtgui/src/lib/Makefile" ;;
33109 "gr-qtgui/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-qtgui/src/python/Makefile" ;;
33110 "gr-sounder/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/Makefile" ;;
33111 "gr-sounder/doc/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/doc/Makefile" ;;
33112 "gr-sounder/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/Makefile" ;;
33113 "gr-sounder/src/fpga/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/fpga/Makefile" ;;
33114 "gr-sounder/src/fpga/top/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/fpga/top/Makefile" ;;
33115 "gr-sounder/src/fpga/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/fpga/lib/Makefile" ;;
33116 "gr-sounder/src/fpga/tb/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/fpga/tb/Makefile" ;;
33117 "gr-sounder/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/lib/Makefile" ;;
33118 "gr-sounder/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/python/Makefile" ;;
33119 "gr-sounder/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/python/run_tests" ;;
33120 "run_tests_sounder") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_sounder" ;;
33121 "gr-utils/Makefile") CONFIG_FILES="$CONFIG_FILES gr-utils/Makefile" ;;
33122 "gr-utils/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-utils/src/Makefile" ;;
33123 "gr-utils/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-utils/src/lib/Makefile" ;;
33124 "gr-utils/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-utils/src/python/Makefile" ;;
33125 "gnuradio-examples/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/Makefile" ;;
33126 "gnuradio-examples/c++/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/c++/Makefile" ;;
33127 "gnuradio-examples/python/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/Makefile" ;;
33128 "gnuradio-examples/grc/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/grc/Makefile" ;;
33129 "gnuradio-examples/python/apps/hf_explorer/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/apps/hf_explorer/Makefile" ;;
33130 "gnuradio-examples/python/apps/hf_radio/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/apps/hf_radio/Makefile" ;;
33131 "gnuradio-examples/python/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/apps/Makefile" ;;
33132 "gnuradio-examples/python/audio/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/audio/Makefile" ;;
33133 "gnuradio-examples/python/digital/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/digital/Makefile" ;;
33134 "gnuradio-examples/python/digital_voice/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/digital_voice/Makefile" ;;
33135 "gnuradio-examples/python/digital-bert/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/digital-bert/Makefile" ;;
33136 "gnuradio-examples/python/mp-sched/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/mp-sched/Makefile" ;;
33137 "gnuradio-examples/python/multi-antenna/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/multi-antenna/Makefile" ;;
33138 "gnuradio-examples/python/multi_usrp/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/multi_usrp/Makefile" ;;
33139 "gnuradio-examples/python/network/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/network/Makefile" ;;
33140 "gnuradio-examples/python/ofdm/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/ofdm/Makefile" ;;
33141 "gnuradio-examples/python/pfb/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/pfb/Makefile" ;;
33142 "gnuradio-examples/python/usrp/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/usrp/Makefile" ;;
33143 "gnuradio-examples/python/usrp2/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/usrp2/Makefile" ;;
33144 "grc/Makefile") CONFIG_FILES="$CONFIG_FILES grc/Makefile" ;;
33145 "grc/base/Makefile") CONFIG_FILES="$CONFIG_FILES grc/base/Makefile" ;;
33146 "grc/blocks/Makefile") CONFIG_FILES="$CONFIG_FILES grc/blocks/Makefile" ;;
33147 "grc/freedesktop/Makefile") CONFIG_FILES="$CONFIG_FILES grc/freedesktop/Makefile" ;;
33148 "grc/grc_gnuradio/Makefile") CONFIG_FILES="$CONFIG_FILES grc/grc_gnuradio/Makefile" ;;
33149 "grc/gui/Makefile") CONFIG_FILES="$CONFIG_FILES grc/gui/Makefile" ;;
33150 "grc/python/Makefile") CONFIG_FILES="$CONFIG_FILES grc/python/Makefile" ;;
33151 "grc/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES grc/scripts/Makefile" ;;
33152 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
33153 "docs/doxygen/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/doxygen/Doxyfile" ;;
33154 "docs/doxygen/Makefile") CONFIG_FILES="$CONFIG_FILES docs/doxygen/Makefile" ;;
33155 "docs/doxygen/other/Makefile") CONFIG_FILES="$CONFIG_FILES docs/doxygen/other/Makefile" ;;
33156 "docs/doxygen/xml-swig/Makefile") CONFIG_FILES="$CONFIG_FILES docs/doxygen/xml-swig/Makefile" ;;
33157 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33158 "run_tests.sh") CONFIG_FILES="$CONFIG_FILES run_tests.sh" ;;
33159 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
33160 "run_tests_build") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_build" ;;
33162 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
33167 # If the user did not use the arguments to specify the items to instantiate,
33168 # then the envvar interface is used. Set only those that are not.
33169 # We use the long form for the default assignment because of an extremely
33170 # bizarre bug on SunOS 4.1.3.
33171 if $ac_need_defaults; then
33172 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33173 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33174 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33177 # Have a temporary directory for convenience. Make it in the build tree
33178 # simply because there is no reason against having it here, and in addition,
33179 # creating and moving files from /tmp can sometimes cause problems.
33180 # Hook for its removal unless debugging.
33181 # Note that there is a small window in which the directory will not be cleaned:
33182 # after its creation but before its name has been assigned to `$tmp'.
33186 trap 'exit_status=$?
33187 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
33189 trap 'as_fn_exit 1' 1 2 13 15
33191 # Create a (secure) tmp directory for tmp files.
33194 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33195 test -n "$tmp" && test -d "$tmp"
33198 tmp=./conf$$-$RANDOM
33199 (umask 077 && mkdir "$tmp")
33200 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
33202 # Set up the scripts for CONFIG_FILES section.
33203 # No need to generate them if there are no CONFIG_FILES.
33204 # This happens for instance with `./config.status config.h'.
33205 if test -n "$CONFIG_FILES"; then
33208 ac_cr=`echo X | tr X '\015'`
33209 # On cygwin, bash can eat \r inside `` if the user requested igncr.
33210 # But we know of no other shell where ac_cr would be empty at this
33211 # point, so we can use a bashism as a fallback.
33212 if test "x$ac_cr" = x; then
33213 eval ac_cr=\$\'\\r\'
33215 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
33216 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
33219 ac_cs_awk_cr=$ac_cr
33222 echo 'BEGIN {' >"$tmp/subs1.awk" &&
33227 echo "cat >conf$$subs.awk <<_ACEOF" &&
33228 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
33230 } >conf$$subs.sh ||
33231 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33232 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
33234 for ac_last_try in false false false false false :; do
33235 . ./conf$$subs.sh ||
33236 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33238 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
33239 if test $ac_delim_n = $ac_delim_num; then
33241 elif $ac_last_try; then
33242 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33244 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33247 rm -f conf$$subs.sh
33249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33250 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
33254 s/^/S["/; s/!.*/"]=/
33264 s/\(.\{148\}\)..*/\1/
33266 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
33271 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
33278 s/\(.\{148\}\)..*/\1/
33280 s/["\\]/\\&/g; s/^/"/; s/$/"/
33284 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
33289 ' <conf$$subs.awk | sed '
33294 ' >>$CONFIG_STATUS || ac_write_fail=1
33295 rm -f conf$$subs.awk
33296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33298 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
33299 for (key in S) S_is_set[key] = 1
33305 nfields = split(line, field, "@")
33307 len = length(field[1])
33308 for (i = 2; i < nfields; i++) {
33310 keylen = length(key)
33311 if (S_is_set[key]) {
33313 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
33314 len += length(value) + length(field[++i])
33325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33326 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
33327 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
33330 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
33331 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
33334 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
33335 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
33336 # trailing colons and then remove the whole line if VPATH becomes empty
33337 # (actually we leave an empty line to preserve line numbers).
33338 if test "x$srcdir" = x.; then
33339 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
33357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33358 fi # test -n "$CONFIG_FILES"
33360 # Set up the scripts for CONFIG_HEADERS section.
33361 # No need to generate them if there are no CONFIG_HEADERS.
33362 # This happens for instance with `./config.status Makefile'.
33363 if test -n "$CONFIG_HEADERS"; then
33364 cat >"$tmp/defines.awk" <<\_ACAWK ||
33368 # Transform confdefs.h into an awk script `defines.awk', embedded as
33369 # here-document in config.status, that substitutes the proper values into
33370 # config.h.in to produce config.h.
33372 # Create a delimiter string that does not exist in confdefs.h, to ease
33373 # handling of long lines.
33375 for ac_last_try in false false :; do
33376 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
33377 if test -z "$ac_t"; then
33379 elif $ac_last_try; then
33380 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
33382 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33386 # For the awk script, D is an array of macro values keyed by name,
33387 # likewise P contains macro parameters if any. Preserve backslash
33388 # newline sequences.
33390 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
33392 s/.\{148\}/&'"$ac_delim"'/g
33395 s/^[ ]*#[ ]*define[ ][ ]*/ /
33402 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
33404 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
33408 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
33409 D["\1"]=" \3\\\\\\n"\\/p
33411 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
33416 s/.\{148\}/&'"$ac_delim"'/g
33421 s/["\\]/\\&/g; s/^/"/; s/$/"/p
33424 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
33426 ' <confdefs.h | sed '
33427 s/'"$ac_delim"'/"\\\
33428 "/g' >>$CONFIG_STATUS || ac_write_fail=1
33430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33431 for (key in D) D_is_set[key] = 1
33434 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
33436 split(line, arg, " ")
33437 if (arg[1] == "#") {
33441 defundef = substr(arg[1], 2)
33444 split(mac1, mac2, "(") #)
33446 prefix = substr(line, 1, index(line, defundef) - 1)
33447 if (D_is_set[macro]) {
33448 # Preserve the white space surrounding the "#".
33449 print prefix "define", macro P[macro] D[macro]
33452 # Replace #undef with comments. This is necessary, for example,
33453 # in the case of _POSIX_SOURCE, which is predefined and required
33454 # on some systems where configure will not decide to define it.
33455 if (defundef == "undef") {
33456 print "/*", prefix defundef, macro, "*/"
33464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33465 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
33466 fi # test -n "$CONFIG_HEADERS"
33469 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
33474 :[FHLC]) ac_mode=$ac_tag; continue;;
33476 case $ac_mode$ac_tag in
33478 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
33479 :[FH]-) ac_tag=-:-;;
33480 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
33497 -) ac_f="$tmp/stdin";;
33498 *) # Look for the file first in the build tree, then in the source tree
33499 # (if the path is not absolute). The absolute path cannot be DOS-style,
33500 # because $ac_f cannot contain `:'.
33504 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
33506 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
33508 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
33509 as_fn_append ac_file_inputs " '$ac_f'"
33512 # Let's still pretend it is `configure' which instantiates (i.e., don't
33513 # use $as_me), people would be surprised to read:
33514 # /* config.h. Generated by config.status. */
33515 configure_input='Generated from '`
33516 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
33518 if test x"$ac_file" != x-; then
33519 configure_input="$ac_file. $configure_input"
33520 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
33521 $as_echo "$as_me: creating $ac_file" >&6;}
33523 # Neutralize special characters interpreted by sed in replacement strings.
33524 case $configure_input in #(
33525 *\&* | *\|* | *\\* )
33526 ac_sed_conf_input=`$as_echo "$configure_input" |
33527 sed 's/[\\\\&|]/\\\\&/g'`;; #(
33528 *) ac_sed_conf_input=$configure_input;;
33532 *:-:* | *:-) cat >"$tmp/stdin" \
33533 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
33538 ac_dir=`$as_dirname -- "$ac_file" ||
33539 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33540 X"$ac_file" : 'X\(//\)[^/]' \| \
33541 X"$ac_file" : 'X\(//\)$' \| \
33542 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
33543 $as_echo X"$ac_file" |
33544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33548 /^X\(\/\/\)[^/].*/{
33561 as_dir="$ac_dir"; as_fn_mkdir_p
33565 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
33567 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
33568 # A ".." for each directory in $ac_dir_suffix.
33569 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
33570 case $ac_top_builddir_sub in
33571 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
33572 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
33575 ac_abs_top_builddir=$ac_pwd
33576 ac_abs_builddir=$ac_pwd$ac_dir_suffix
33577 # for backward compatibility:
33578 ac_top_builddir=$ac_top_build_prefix
33581 .) # We are building in place.
33583 ac_top_srcdir=$ac_top_builddir_sub
33584 ac_abs_top_srcdir=$ac_pwd ;;
33585 [\\/]* | ?:[\\/]* ) # Absolute name.
33586 ac_srcdir=$srcdir$ac_dir_suffix;
33587 ac_top_srcdir=$srcdir
33588 ac_abs_top_srcdir=$srcdir ;;
33589 *) # Relative name.
33590 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
33591 ac_top_srcdir=$ac_top_build_prefix$srcdir
33592 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
33594 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
33604 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
33605 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
33607 ac_MKDIR_P=$MKDIR_P
33609 [\\/$]* | ?:[\\/]* ) ;;
33610 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
33614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33615 # If the template does not know about datarootdir, expand it.
33616 # FIXME: This hack should be removed a few years after 2.60.
33617 ac_datarootdir_hack=; ac_datarootdir_seen=
33628 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33629 *datarootdir*) ac_datarootdir_seen=yes;;
33630 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
33631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33632 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33635 ac_datarootdir_hack='
33636 s&@datadir@&$datadir&g
33637 s&@docdir@&$docdir&g
33638 s&@infodir@&$infodir&g
33639 s&@localedir@&$localedir&g
33640 s&@mandir@&$mandir&g
33641 s&\\\${datarootdir}&$datarootdir&g' ;;
33645 # Neutralize VPATH when `$srcdir' = `.'.
33646 # Shell code in configure.ac might set extrasub.
33647 # FIXME: do we really want to maintain this feature?
33648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33649 ac_sed_extra="$ac_vpsub
33652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33654 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33655 s|@configure_input@|$ac_sed_conf_input|;t t
33656 s&@top_builddir@&$ac_top_builddir_sub&;t t
33657 s&@top_build_prefix@&$ac_top_build_prefix&;t t
33658 s&@srcdir@&$ac_srcdir&;t t
33659 s&@abs_srcdir@&$ac_abs_srcdir&;t t
33660 s&@top_srcdir@&$ac_top_srcdir&;t t
33661 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
33662 s&@builddir@&$ac_builddir&;t t
33663 s&@abs_builddir@&$ac_abs_builddir&;t t
33664 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
33665 s&@INSTALL@&$ac_INSTALL&;t t
33666 s&@MKDIR_P@&$ac_MKDIR_P&;t t
33667 $ac_datarootdir_hack
33669 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
33670 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33672 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33673 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
33674 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
33675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33676 which seems to be undefined. Please make sure it is defined" >&5
33677 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33678 which seems to be undefined. Please make sure it is defined" >&2;}
33682 -) cat "$tmp/out" && rm -f "$tmp/out";;
33683 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
33685 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33691 if test x"$ac_file" != x-; then
33693 $as_echo "/* $configure_input */" \
33694 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
33695 } >"$tmp/config.h" \
33696 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33697 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
33698 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33699 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33702 mv "$tmp/config.h" "$ac_file" \
33703 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33706 $as_echo "/* $configure_input */" \
33707 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
33708 || as_fn_error $? "could not create -" "$LINENO" 5
33710 # Compute "$ac_file"'s index in $config_headers.
33713 for _am_header in $config_headers :; do
33714 case $_am_header in
33715 $_am_arg | $_am_arg:* )
33718 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
33721 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33722 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33723 X"$_am_arg" : 'X\(//\)[^/]' \| \
33724 X"$_am_arg" : 'X\(//\)$' \| \
33725 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33726 $as_echo X"$_am_arg" |
33727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33731 /^X\(\/\/\)[^/].*/{
33743 s/.*/./; q'`/stamp-h$_am_stamp_count
33746 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33747 $as_echo "$as_me: executing $ac_file commands" >&6;}
33752 case $ac_file$ac_mode in
33753 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
33754 # Autoconf 2.62 quotes --file arguments for eval, but not when files
33755 # are listed without --file. Let's play safe and only enable the eval
33756 # if we detect the quoting.
33757 case $CONFIG_FILES in
33758 *\'*) eval set x "$CONFIG_FILES" ;;
33759 *) set x $CONFIG_FILES ;;
33764 # Strip MF so we end up with the name of the file.
33765 mf=`echo "$mf" | sed -e 's/:.*$//'`
33766 # Check whether this is an Automake generated Makefile or not.
33767 # We used to match only the files named `Makefile.in', but
33768 # some people rename them; so instead we look at the file content.
33769 # Grep'ing the first line is not enough: some people post-process
33770 # each Makefile.in and add a new line on top of each file to say so.
33771 # Grep'ing the whole file is not good either: AIX grep has a line
33772 # limit of 2048, but all sed's we know have understand at least 4000.
33773 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
33774 dirpart=`$as_dirname -- "$mf" ||
33775 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33776 X"$mf" : 'X\(//\)[^/]' \| \
33777 X"$mf" : 'X\(//\)$' \| \
33778 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33784 /^X\(\/\/\)[^/].*/{
33800 # Extract the definition of DEPDIR, am__include, and am__quote
33801 # from the Makefile without running `make'.
33802 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
33803 test -z "$DEPDIR" && continue
33804 am__include=`sed -n 's/^am__include = //p' < "$mf"`
33805 test -z "am__include" && continue
33806 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
33807 # When using ansi2knr, U may be empty or an underscore; expand it
33808 U=`sed -n 's/^U = //p' < "$mf"`
33809 # Find all dependency output files, they are included files with
33810 # $(DEPDIR) in their names. We invoke sed twice because it is the
33811 # simplest approach to changing $(DEPDIR) to its actual value in the
33813 for file in `sed -n "
33814 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33815 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
33816 # Make sure the directory exists.
33817 test -f "$dirpart/$file" && continue
33818 fdir=`$as_dirname -- "$file" ||
33819 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33820 X"$file" : 'X\(//\)[^/]' \| \
33821 X"$file" : 'X\(//\)$' \| \
33822 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33823 $as_echo X"$file" |
33824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33828 /^X\(\/\/\)[^/].*/{
33841 as_dir=$dirpart/$fdir; as_fn_mkdir_p
33842 # echo "creating $dirpart/$file"
33843 echo '# dummy' > "$dirpart/$file"
33850 # See if we are running on zsh, and set the options which allow our
33851 # commands through without removal of \ escapes.
33852 if test -n "${ZSH_VERSION+set}" ; then
33853 setopt NO_GLOB_SUBST
33856 cfgfile="${ofile}T"
33857 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33860 cat <<_LT_EOF >> "$cfgfile"
33863 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33864 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33865 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33866 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33868 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33869 # 2006, 2007, 2008 Free Software Foundation, Inc.
33870 # Written by Gordon Matzigkeit, 1996
33872 # This file is part of GNU Libtool.
33874 # GNU Libtool is free software; you can redistribute it and/or
33875 # modify it under the terms of the GNU General Public License as
33876 # published by the Free Software Foundation; either version 2 of
33877 # the License, or (at your option) any later version.
33879 # As a special exception to the GNU General Public License,
33880 # if you distribute this file as part of a program or library that
33881 # is built using GNU Libtool, you may include this file under the
33882 # same distribution terms that you use for the rest of that program.
33884 # GNU Libtool is distributed in the hope that it will be useful,
33885 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33886 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33887 # GNU General Public License for more details.
33889 # You should have received a copy of the GNU General Public License
33890 # along with GNU Libtool; see the file COPYING. If not, a copy
33891 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33892 # obtained by writing to the Free Software Foundation, Inc.,
33893 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33896 # The names of the tagged configurations supported by this script.
33897 available_tags="CXX "
33899 # ### BEGIN LIBTOOL CONFIG
33901 # Assembler program.
33904 # DLL creation program.
33907 # Object dumper program.
33910 # Whether or not to build shared libraries.
33911 build_libtool_libs=$enable_shared
33913 # Whether or not to build static libraries.
33914 build_old_libs=$enable_static
33916 # Which release of libtool.m4 was used?
33917 macro_version=$macro_version
33918 macro_revision=$macro_revision
33920 # What type of objects to build.
33923 # Whether or not to optimize for fast installation.
33924 fast_install=$enable_fast_install
33927 host_alias=$host_alias
33931 # The build system.
33932 build_alias=$build_alias
33936 # A sed program that does not truncate output.
33939 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
33940 Xsed="\$SED -e 1s/^X//"
33942 # A grep program that handles long lines.
33948 # A literal string matcher.
33951 # A BSD- or MS-compatible name lister.
33954 # Whether we need soft or hard links.
33957 # What is the maximum length of a command?
33958 max_cmd_len=$max_cmd_len
33960 # Object file suffix (normally "o").
33963 # Executable file suffix (normally "").
33966 # whether the shell understands "unset".
33969 # turn spaces into newlines.
33972 # turn newlines into spaces.
33975 # How to create reloadable object files.
33976 reload_flag=$lt_reload_flag
33977 reload_cmds=$lt_reload_cmds
33979 # Method to check whether dependent libraries are shared objects.
33980 deplibs_check_method=$lt_deplibs_check_method
33982 # Command to use when deplibs_check_method == "file_magic".
33983 file_magic_cmd=$lt_file_magic_cmd
33987 AR_FLAGS=$lt_AR_FLAGS
33989 # A symbol stripping program.
33992 # Commands used to install an old-style archive.
33994 old_postinstall_cmds=$lt_old_postinstall_cmds
33995 old_postuninstall_cmds=$lt_old_postuninstall_cmds
34000 # LTCC compiler flags.
34001 LTCFLAGS=$lt_CFLAGS
34003 # Take the output of nm and produce a listing of raw symbols and C names.
34004 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
34006 # Transform the output of nm in a proper C declaration.
34007 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
34009 # Transform the output of nm in a C name address pair.
34010 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
34012 # Transform the output of nm in a C name address pair when lib prefix is needed.
34013 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
34015 # The name of the directory that contains temporary libtool files.
34018 # Shell to use when invoking shell scripts.
34021 # An echo program that does not interpret backslashes.
34024 # Used to examine libraries when file_magic_cmd begins with "file".
34025 MAGIC_CMD=$MAGIC_CMD
34027 # Must we lock files when doing compilation?
34028 need_locks=$lt_need_locks
34030 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
34031 DSYMUTIL=$lt_DSYMUTIL
34033 # Tool to change global to local symbols on Mac OS X.
34036 # Tool to manipulate fat objects and archives on Mac OS X.
34039 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
34042 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
34043 OTOOL64=$lt_OTOOL64
34045 # Old archive suffix (normally "a").
34048 # Shared library suffix (normally ".so").
34049 shrext_cmds=$lt_shrext_cmds
34051 # The commands to extract the exported symbol list from a shared archive.
34052 extract_expsyms_cmds=$lt_extract_expsyms_cmds
34054 # Variables whose values should be saved in libtool wrapper scripts and
34055 # restored at link time.
34056 variables_saved_for_relink=$lt_variables_saved_for_relink
34058 # Do we need the "lib" prefix for modules?
34059 need_lib_prefix=$need_lib_prefix
34061 # Do we need a version for libraries?
34062 need_version=$need_version
34064 # Library versioning type.
34065 version_type=$version_type
34067 # Shared library runtime path variable.
34068 runpath_var=$runpath_var
34070 # Shared library path variable.
34071 shlibpath_var=$shlibpath_var
34073 # Is shlibpath searched before the hard-coded library search path?
34074 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
34076 # Format of library name prefix.
34077 libname_spec=$lt_libname_spec
34079 # List of archive names. First name is the real one, the rest are links.
34080 # The last name is the one that the linker finds with -lNAME
34081 library_names_spec=$lt_library_names_spec
34083 # The coded name of the library, if different from the real name.
34084 soname_spec=$lt_soname_spec
34086 # Command to use after installation of a shared archive.
34087 postinstall_cmds=$lt_postinstall_cmds
34089 # Command to use after uninstallation of a shared archive.
34090 postuninstall_cmds=$lt_postuninstall_cmds
34092 # Commands used to finish a libtool library installation in a directory.
34093 finish_cmds=$lt_finish_cmds
34095 # As "finish_cmds", except a single script fragment to be evaled but
34097 finish_eval=$lt_finish_eval
34099 # Whether we should hardcode library paths into libraries.
34100 hardcode_into_libs=$hardcode_into_libs
34102 # Compile-time system search path for libraries.
34103 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
34105 # Run-time system search path for libraries.
34106 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
34108 # Whether dlopen is supported.
34109 dlopen_support=$enable_dlopen
34111 # Whether dlopen of programs is supported.
34112 dlopen_self=$enable_dlopen_self
34114 # Whether dlopen of statically linked programs is supported.
34115 dlopen_self_static=$enable_dlopen_self_static
34117 # Commands to strip libraries.
34118 old_striplib=$lt_old_striplib
34119 striplib=$lt_striplib
34122 # The linker used to build libraries.
34125 # Commands used to build an old-style archive.
34126 old_archive_cmds=$lt_old_archive_cmds
34128 # A language specific compiler.
34131 # Is the compiler the GNU compiler?
34134 # Compiler flag to turn off builtin functions.
34135 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
34137 # How to pass a linker flag through the compiler.
34138 wl=$lt_lt_prog_compiler_wl
34140 # Additional compiler flags for building library objects.
34141 pic_flag=$lt_lt_prog_compiler_pic
34143 # Compiler flag to prevent dynamic linking.
34144 link_static_flag=$lt_lt_prog_compiler_static
34146 # Does compiler simultaneously support -c and -o options?
34147 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
34149 # Whether or not to add -lc for building shared libraries.
34150 build_libtool_need_lc=$archive_cmds_need_lc
34152 # Whether or not to disallow shared libs when runtime libs are static.
34153 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
34155 # Compiler flag to allow reflexive dlopens.
34156 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
34158 # Compiler flag to generate shared objects directly from archives.
34159 whole_archive_flag_spec=$lt_whole_archive_flag_spec
34161 # Whether the compiler copes with passing no objects directly.
34162 compiler_needs_object=$lt_compiler_needs_object
34164 # Create an old-style archive from a shared archive.
34165 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
34167 # Create a temporary old-style archive to link instead of a shared archive.
34168 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
34170 # Commands used to build a shared archive.
34171 archive_cmds=$lt_archive_cmds
34172 archive_expsym_cmds=$lt_archive_expsym_cmds
34174 # Commands used to build a loadable module if different from building
34175 # a shared archive.
34176 module_cmds=$lt_module_cmds
34177 module_expsym_cmds=$lt_module_expsym_cmds
34179 # Whether we are building with GNU ld or not.
34180 with_gnu_ld=$lt_with_gnu_ld
34182 # Flag that allows shared libraries with undefined symbols to be built.
34183 allow_undefined_flag=$lt_allow_undefined_flag
34185 # Flag that enforces no undefined symbols.
34186 no_undefined_flag=$lt_no_undefined_flag
34188 # Flag to hardcode \$libdir into a binary during linking.
34189 # This must work even if \$libdir does not exist
34190 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
34192 # If ld is used when linking, flag to hardcode \$libdir into a binary
34193 # during linking. This must work even if \$libdir does not exist.
34194 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
34196 # Whether we need a single "-rpath" flag with a separated argument.
34197 hardcode_libdir_separator=$lt_hardcode_libdir_separator
34199 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34200 # DIR into the resulting binary.
34201 hardcode_direct=$hardcode_direct
34203 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34204 # DIR into the resulting binary and the resulting library dependency is
34205 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34206 # library is relocated.
34207 hardcode_direct_absolute=$hardcode_direct_absolute
34209 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34210 # into the resulting binary.
34211 hardcode_minus_L=$hardcode_minus_L
34213 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34214 # into the resulting binary.
34215 hardcode_shlibpath_var=$hardcode_shlibpath_var
34217 # Set to "yes" if building a shared library automatically hardcodes DIR
34218 # into the library and all subsequent libraries and executables linked
34220 hardcode_automatic=$hardcode_automatic
34222 # Set to yes if linker adds runtime paths of dependent libraries
34223 # to runtime path list.
34224 inherit_rpath=$inherit_rpath
34226 # Whether libtool must link a program against all its dependency libraries.
34227 link_all_deplibs=$link_all_deplibs
34229 # Fix the shell variable \$srcfile for the compiler.
34230 fix_srcfile_path=$lt_fix_srcfile_path
34232 # Set to "yes" if exported symbols are required.
34233 always_export_symbols=$always_export_symbols
34235 # The commands to list exported symbols.
34236 export_symbols_cmds=$lt_export_symbols_cmds
34238 # Symbols that should not be listed in the preloaded symbols.
34239 exclude_expsyms=$lt_exclude_expsyms
34241 # Symbols that must always be exported.
34242 include_expsyms=$lt_include_expsyms
34244 # Commands necessary for linking programs (against libraries) with templates.
34245 prelink_cmds=$lt_prelink_cmds
34247 # Specify filename containing input files.
34248 file_list_spec=$lt_file_list_spec
34250 # How to hardcode a shared library path into an executable.
34251 hardcode_action=$hardcode_action
34253 # The directories searched by this compiler when creating a shared library.
34254 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
34256 # Dependencies to place before and after the objects being linked to
34257 # create a shared library.
34258 predep_objects=$lt_predep_objects
34259 postdep_objects=$lt_postdep_objects
34260 predeps=$lt_predeps
34261 postdeps=$lt_postdeps
34263 # The library search path used internally by the compiler when linking
34264 # a shared library.
34265 compiler_lib_search_path=$lt_compiler_lib_search_path
34267 # ### END LIBTOOL CONFIG
34273 cat <<\_LT_EOF >> "$cfgfile"
34274 # AIX sometimes has problems with the GCC collect2 program. For some
34275 # reason, if we set the COLLECT_NAMES environment variable, the problems
34276 # vanish in a puff of smoke.
34277 if test "X${COLLECT_NAMES+set}" != Xset; then
34279 export COLLECT_NAMES
34286 ltmain="$ac_aux_dir/ltmain.sh"
34289 # We use sed instead of cat because bash on DJGPP gets confused if
34290 # if finds mixed CR/LF and LF-only lines. Since sed operates in
34291 # text mode, it properly converts lines to CR/LF. This bash problem
34292 # is reportedly fixed, but why not run on old versions too?
34293 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
34294 || (rm -f "$cfgfile"; exit 1)
34298 cat << \_LT_EOF >> "$cfgfile"
34300 # func_dirname file append nondir_replacement
34301 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
34302 # otherwise set result to NONDIR_REPLACEMENT.
34306 */*) func_dirname_result="${1%/*}${2}" ;;
34307 * ) func_dirname_result="${3}" ;;
34311 # func_basename file
34314 func_basename_result="${1##*/}"
34317 # func_dirname_and_basename file append nondir_replacement
34318 # perform func_basename and func_dirname in a single function
34320 # dirname: Compute the dirname of FILE. If nonempty,
34321 # add APPEND to the result, otherwise set result
34322 # to NONDIR_REPLACEMENT.
34323 # value returned in "$func_dirname_result"
34324 # basename: Compute filename of FILE.
34325 # value retuned in "$func_basename_result"
34326 # Implementation must be kept synchronized with func_dirname
34327 # and func_basename. For efficiency, we do not delegate to
34328 # those functions but instead duplicate the functionality here.
34329 func_dirname_and_basename ()
34332 */*) func_dirname_result="${1%/*}${2}" ;;
34333 * ) func_dirname_result="${3}" ;;
34335 func_basename_result="${1##*/}"
34338 # func_stripname prefix suffix name
34339 # strip PREFIX and SUFFIX off of NAME.
34340 # PREFIX and SUFFIX must not contain globbing or regex special
34341 # characters, hashes, percent signs, but SUFFIX may contain a leading
34342 # dot (in which case that matches only a dot).
34345 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
34346 # positional parameters, so assign one to ordinary parameter first.
34347 func_stripname_result=${3}
34348 func_stripname_result=${func_stripname_result#"${1}"}
34349 func_stripname_result=${func_stripname_result%"${2}"}
34355 func_opt_split_opt=${1%%=*}
34356 func_opt_split_arg=${1#*=}
34363 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
34364 *) func_lo2o_result=${1} ;;
34368 # func_xform libobj-or-source
34371 func_xform_result=${1%.*}.lo
34374 # func_arith arithmetic-term...
34377 func_arith_result=$(( $* ))
34381 # STRING may not start with a hyphen.
34384 func_len_result=${#1}
34389 *) # Bourne compatible functions.
34390 cat << \_LT_EOF >> "$cfgfile"
34392 # func_dirname file append nondir_replacement
34393 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
34394 # otherwise set result to NONDIR_REPLACEMENT.
34397 # Extract subdirectory from the argument.
34398 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
34399 if test "X$func_dirname_result" = "X${1}"; then
34400 func_dirname_result="${3}"
34402 func_dirname_result="$func_dirname_result${2}"
34406 # func_basename file
34409 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
34413 # func_stripname prefix suffix name
34414 # strip PREFIX and SUFFIX off of NAME.
34415 # PREFIX and SUFFIX must not contain globbing or regex special
34416 # characters, hashes, percent signs, but SUFFIX may contain a leading
34417 # dot (in which case that matches only a dot).
34418 # func_strip_suffix prefix name
34422 .*) func_stripname_result=`$ECHO "X${3}" \
34423 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
34424 *) func_stripname_result=`$ECHO "X${3}" \
34425 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
34430 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
34431 my_sed_long_arg='1s/^-[^=]*=//'
34436 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
34437 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
34443 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
34446 # func_xform libobj-or-source
34449 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
34452 # func_arith arithmetic-term...
34455 func_arith_result=`expr "$@"`
34459 # STRING may not start with a hyphen.
34462 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
34468 case $lt_shell_append in
34470 cat << \_LT_EOF >> "$cfgfile"
34472 # func_append var value
34473 # Append VALUE to the end of shell variable VAR.
34481 cat << \_LT_EOF >> "$cfgfile"
34483 # func_append var value
34484 # Append VALUE to the end of shell variable VAR.
34495 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
34496 || (rm -f "$cfgfile"; exit 1)
34498 mv -f "$cfgfile" "$ofile" ||
34499 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
34503 cat <<_LT_EOF >> "$ofile"
34505 # ### BEGIN LIBTOOL TAG CONFIG: CXX
34507 # The linker used to build libraries.
34510 # Commands used to build an old-style archive.
34511 old_archive_cmds=$lt_old_archive_cmds_CXX
34513 # A language specific compiler.
34514 CC=$lt_compiler_CXX
34516 # Is the compiler the GNU compiler?
34519 # Compiler flag to turn off builtin functions.
34520 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
34522 # How to pass a linker flag through the compiler.
34523 wl=$lt_lt_prog_compiler_wl_CXX
34525 # Additional compiler flags for building library objects.
34526 pic_flag=$lt_lt_prog_compiler_pic_CXX
34528 # Compiler flag to prevent dynamic linking.
34529 link_static_flag=$lt_lt_prog_compiler_static_CXX
34531 # Does compiler simultaneously support -c and -o options?
34532 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
34534 # Whether or not to add -lc for building shared libraries.
34535 build_libtool_need_lc=$archive_cmds_need_lc_CXX
34537 # Whether or not to disallow shared libs when runtime libs are static.
34538 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
34540 # Compiler flag to allow reflexive dlopens.
34541 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
34543 # Compiler flag to generate shared objects directly from archives.
34544 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
34546 # Whether the compiler copes with passing no objects directly.
34547 compiler_needs_object=$lt_compiler_needs_object_CXX
34549 # Create an old-style archive from a shared archive.
34550 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
34552 # Create a temporary old-style archive to link instead of a shared archive.
34553 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
34555 # Commands used to build a shared archive.
34556 archive_cmds=$lt_archive_cmds_CXX
34557 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
34559 # Commands used to build a loadable module if different from building
34560 # a shared archive.
34561 module_cmds=$lt_module_cmds_CXX
34562 module_expsym_cmds=$lt_module_expsym_cmds_CXX
34564 # Whether we are building with GNU ld or not.
34565 with_gnu_ld=$lt_with_gnu_ld_CXX
34567 # Flag that allows shared libraries with undefined symbols to be built.
34568 allow_undefined_flag=$lt_allow_undefined_flag_CXX
34570 # Flag that enforces no undefined symbols.
34571 no_undefined_flag=$lt_no_undefined_flag_CXX
34573 # Flag to hardcode \$libdir into a binary during linking.
34574 # This must work even if \$libdir does not exist
34575 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
34577 # If ld is used when linking, flag to hardcode \$libdir into a binary
34578 # during linking. This must work even if \$libdir does not exist.
34579 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
34581 # Whether we need a single "-rpath" flag with a separated argument.
34582 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
34584 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34585 # DIR into the resulting binary.
34586 hardcode_direct=$hardcode_direct_CXX
34588 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34589 # DIR into the resulting binary and the resulting library dependency is
34590 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34591 # library is relocated.
34592 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
34594 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34595 # into the resulting binary.
34596 hardcode_minus_L=$hardcode_minus_L_CXX
34598 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34599 # into the resulting binary.
34600 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
34602 # Set to "yes" if building a shared library automatically hardcodes DIR
34603 # into the library and all subsequent libraries and executables linked
34605 hardcode_automatic=$hardcode_automatic_CXX
34607 # Set to yes if linker adds runtime paths of dependent libraries
34608 # to runtime path list.
34609 inherit_rpath=$inherit_rpath_CXX
34611 # Whether libtool must link a program against all its dependency libraries.
34612 link_all_deplibs=$link_all_deplibs_CXX
34614 # Fix the shell variable \$srcfile for the compiler.
34615 fix_srcfile_path=$lt_fix_srcfile_path_CXX
34617 # Set to "yes" if exported symbols are required.
34618 always_export_symbols=$always_export_symbols_CXX
34620 # The commands to list exported symbols.
34621 export_symbols_cmds=$lt_export_symbols_cmds_CXX
34623 # Symbols that should not be listed in the preloaded symbols.
34624 exclude_expsyms=$lt_exclude_expsyms_CXX
34626 # Symbols that must always be exported.
34627 include_expsyms=$lt_include_expsyms_CXX
34629 # Commands necessary for linking programs (against libraries) with templates.
34630 prelink_cmds=$lt_prelink_cmds_CXX
34632 # Specify filename containing input files.
34633 file_list_spec=$lt_file_list_spec_CXX
34635 # How to hardcode a shared library path into an executable.
34636 hardcode_action=$hardcode_action_CXX
34638 # The directories searched by this compiler when creating a shared library.
34639 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
34641 # Dependencies to place before and after the objects being linked to
34642 # create a shared library.
34643 predep_objects=$lt_predep_objects_CXX
34644 postdep_objects=$lt_postdep_objects_CXX
34645 predeps=$lt_predeps_CXX
34646 postdeps=$lt_postdeps_CXX
34648 # The library search path used internally by the compiler when linking
34649 # a shared library.
34650 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
34652 # ### END LIBTOOL TAG CONFIG: CXX
34656 "run_tests_core":C) chmod +x gnuradio-core/src/python/gnuradio/gr/run_tests ;;
34657 "run_tests_usrp":C) chmod +x gr-usrp/src/run_tests ;;
34658 "run_tests_usrp2":C) chmod +x gr-usrp2/src/run_tests ;;
34659 "run_tests_gcell":C) chmod +x gr-gcell/src/run_tests ;;
34660 "run_tests_alsa":C) chmod +x gr-audio-alsa/src/run_tests ;;
34661 "run_tests_jack":C) chmod +x gr-audio-jack/src/run_tests ;;
34662 "run_tests_oss":C) chmod +x gr-audio-oss/src/run_tests ;;
34663 "run_tests_osx":C) chmod +x gr-audio-osx/src/run_tests ;;
34664 "run_tests_portaudio":C) chmod +x gr-audio-portaudio/src/run_tests ;;
34665 "run_tests_audio_windows":C) chmod +x gr-audio-windows/src/run_tests ;;
34666 "run_tests_atsc":C) chmod +x gr-atsc/src/python/run_tests ;;
34667 "run_tests_comedi":C) chmod +x gr-comedi/src/run_tests ;;
34668 "run_tests_cvsd":C) chmod +x gr-cvsd-vocoder/src/python/run_tests ;;
34669 "run_tests_gsm":C) chmod +x gr-gsm-fr-vocoder/src/python/run_tests ;;
34670 "run_tests_pager":C) chmod +x gr-pager/python/run_tests ;;
34671 "run_tests_radar_mono":C) chmod +x gr-radar-mono/src/python/run_tests ;;
34672 "run_tests_astronomy":C) chmod +x gr-radio-astronomy/src/python/run_tests ;;
34673 "run_tests_gr_trellis":C) chmod +x gr-trellis/src/python/run_tests ;;
34674 "run_tests_sdl":C) chmod +x gr-video-sdl/src/run_tests ;;
34675 "run_tests_sounder":C) chmod +x gr-sounder/src/python/run_tests ;;
34676 "run_tests_build":C) chmod +x run_tests.sh ;;
34684 ac_clean_files=$ac_clean_files_save
34686 test $ac_write_fail = 0 ||
34687 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
34690 # configure is writing to config.log, and then calls config.status.
34691 # config.status does its own redirection, appending to config.log.
34692 # Unfortunately, on DOS this fails, as config.log is still kept open
34693 # by configure, so config.status won't be able to write to it; its
34694 # output is simply discarded. So we exec the FD to /dev/null,
34695 # effectively closing config.log, so it can be properly (re)opened and
34696 # appended to by config.status. When coming back to configure, we
34697 # need to make the FD available again.
34698 if test "$no_create" != yes; then
34700 ac_config_status_args=
34701 test "$silent" = yes &&
34702 ac_config_status_args="$ac_config_status_args --quiet"
34704 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34706 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34707 # would make configure fail if this is the last instruction.
34708 $ac_cs_success || as_fn_exit 1
34712 # CONFIG_SUBDIRS section.
34714 if test "$no_recursion" != yes; then
34716 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
34717 # so they do not pile up.
34718 ac_sub_configure_args=
34720 eval "set x $ac_configure_args"
34724 if test -n "$ac_prev"; then
34729 -cache-file | --cache-file | --cache-fil | --cache-fi \
34730 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
34731 ac_prev=cache_file ;;
34732 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
34733 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
34736 --config-cache | -C)
34738 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
34740 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
34742 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
34744 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
34746 --disable-option-checking)
34750 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
34752 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
34756 # Always prepend --prefix to ensure using the same prefix
34757 # in subdir configurations.
34758 ac_arg="--prefix=$prefix"
34760 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
34762 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
34765 if test "$silent" = yes; then
34766 ac_sub_configure_args="--silent $ac_sub_configure_args"
34769 # Always prepend --disable-option-checking to silence warnings, since
34770 # different subdirs can have different --enable and --with options.
34771 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
34774 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
34776 # Do not complain, so a configure script can configure whichever
34777 # parts of a large source tree are present.
34778 test -d "$srcdir/$ac_dir" || continue
34780 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
34781 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
34782 $as_echo "$ac_msg" >&6
34783 as_dir="$ac_dir"; as_fn_mkdir_p
34787 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34789 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
34790 # A ".." for each directory in $ac_dir_suffix.
34791 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
34792 case $ac_top_builddir_sub in
34793 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34794 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34797 ac_abs_top_builddir=$ac_pwd
34798 ac_abs_builddir=$ac_pwd$ac_dir_suffix
34799 # for backward compatibility:
34800 ac_top_builddir=$ac_top_build_prefix
34803 .) # We are building in place.
34805 ac_top_srcdir=$ac_top_builddir_sub
34806 ac_abs_top_srcdir=$ac_pwd ;;
34807 [\\/]* | ?:[\\/]* ) # Absolute name.
34808 ac_srcdir=$srcdir$ac_dir_suffix;
34809 ac_top_srcdir=$srcdir
34810 ac_abs_top_srcdir=$srcdir ;;
34811 *) # Relative name.
34812 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
34813 ac_top_srcdir=$ac_top_build_prefix$srcdir
34814 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
34816 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
34821 # Check for guested configure; otherwise get Cygnus style configure.
34822 if test -f "$ac_srcdir/configure.gnu"; then
34823 ac_sub_configure=$ac_srcdir/configure.gnu
34824 elif test -f "$ac_srcdir/configure"; then
34825 ac_sub_configure=$ac_srcdir/configure
34826 elif test -f "$ac_srcdir/configure.in"; then
34827 # This should be Cygnus configure.
34828 ac_sub_configure=$ac_aux_dir/configure
34830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
34831 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
34835 # The recursion is here.
34836 if test -n "$ac_sub_configure"; then
34837 # Make the cache file name correct relative to the subdirectory.
34838 case $cache_file in
34839 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
34840 *) # Relative name.
34841 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
34844 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
34845 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
34846 # The eval makes quoting arguments work.
34847 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
34848 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
34849 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
34855 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
34856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34857 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
34862 echo "*********************************************************************"
34863 echo The following GNU Radio components have been successfully configured:
34865 for dir in $build_dirs
34870 echo You my now run the 'make' command to build these components.
34872 if test "$skipped_dirs" != ""; then
34873 echo "*********************************************************************"
34874 echo The following components were skipped either because you asked not
34875 echo to build them or they didn\'t pass configuration checks:
34877 for dir in $skipped_dirs
34882 echo These components will not be built.
34885 if test "$with_dirs" != ""; then
34886 echo "*********************************************************************"
34887 echo The following components will be included from pre-installed
34888 echo libraries and includes:
34890 for dir in $with_dirs
34895 echo These components will not be built.
34899 echo Configured GNU Radio release $RELEASE for build.