2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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 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=$?; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&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, 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
820 gr_video_sdl_LIBDIRPATH
821 gr_video_sdl_INCLUDEDIR
823 gr_video_sdl_INCLUDES
830 gr_trellis_LIBDIRPATH
831 gr_trellis_INCLUDEDIR
834 gr_radio_astronomy_LDFLAG
835 gr_radio_astronomy_LIBDIRPATH
836 gr_radio_astronomy_INCLUDEDIR
837 gr_radio_astronomy_LA
838 gr_radio_astronomy_INCLUDES
840 gr_radar_mono_LIBDIRPATH
841 gr_radar_mono_INCLUDEDIR
843 gr_radar_mono_INCLUDES
849 gr_gsm_fr_vocoder_LDFLAG
850 gr_gsm_fr_vocoder_LIBDIRPATH
851 gr_gsm_fr_vocoder_INCLUDEDIR
853 gr_gsm_fr_vocoder_INCLUDES
859 gr_cvsd_vocoder_LDFLAG
860 gr_cvsd_vocoder_LIBDIRPATH
861 gr_cvsd_vocoder_INCLUDEDIR
863 gr_cvsd_vocoder_INCLUDES
864 gr_audio_windows_LDFLAG
865 gr_audio_windows_LIBDIRPATH
866 gr_audio_windows_INCLUDEDIR
868 gr_audio_windows_INCLUDES
870 gr_audio_portaudio_LDFLAG
871 gr_audio_portaudio_LIBDIRPATH
872 gr_audio_portaudio_INCLUDEDIR
873 gr_audio_portaudio_LA
874 gr_audio_portaudio_INCLUDES
880 gr_audio_osx_LIBDIRPATH
881 gr_audio_osx_INCLUDEDIR
883 gr_audio_osx_INCLUDES
885 gr_audio_oss_LIBDIRPATH
886 gr_audio_oss_INCLUDEDIR
888 gr_audio_oss_INCLUDES
891 gr_audio_jack_LIBDIRPATH
892 gr_audio_jack_INCLUDEDIR
894 gr_audio_jack_INCLUDES
900 gr_audio_alsa_LIBDIRPATH
901 gr_audio_alsa_INCLUDEDIR
903 gr_audio_alsa_INCLUDES
936 usrp_darwin_omnithread_pc_requires
943 FUSB_TECH_ra_wb_FALSE
945 FUSB_TECH_linux_FALSE
947 FUSB_TECH_generic_FALSE
948 FUSB_TECH_generic_TRUE
949 FUSB_TECH_win32_FALSE
951 FUSB_TECH_darwin_FALSE
952 FUSB_TECH_darwin_TRUE
965 gnuradio_core_LIBDIRPATH
966 gnuradio_core_INCLUDEDIR
968 gnuradio_core_INCLUDES
969 gnuradio_core_PYDIRPATH
970 gnuradio_core_SWIGDIRPATH
986 omnithread_LIBDIRPATH
987 omnithread_INCLUDEDIR
1001 BOOST_PROGRAM_OPTIONS_LIB
1014 MD_CPU_generic_FALSE
1016 MD_CPU_powerpc_FALSE
1018 MD_SUBCPU_x86_64_FALSE
1019 MD_SUBCPU_x86_64_TRUE
1040 HAVE_CREATEFILEMAPPING_FALSE
1041 HAVE_CREATEFILEMAPPING_TRUE
1042 LIBGNURADIO_CORE_EXTRA_LDFLAGS
1050 OMNITHREAD_POSIX_FALSE
1051 OMNITHREAD_POSIX_TRUE
1059 SWIG_PYTHON_CPPFLAGS
1079 ENABLE_FORTRAN_FALSE
1101 am__fastdepCCAS_FALSE
1102 am__fastdepCCAS_TRUE
1109 autoconf_default_CXXFLAGS
1110 autoconf_default_CFLAGS
1113 am__fastdepCXX_FALSE
1147 INSTALL_STRIP_PROGRAM
1201 program_transform_name
1214 enable_option_checking
1215 enable_dependency_tracking
1231 with_cppunit_exec_prefix
1235 with_boost_date_time
1236 with_boost_program_options
1237 enable_all_components
1243 enable_gnuradio_core
1257 enable_gr_audio_alsa
1258 enable_gr_audio_jack
1261 enable_gr_audio_portaudio
1262 enable_gr_audio_windows
1263 enable_gr_cvsd_vocoder
1265 enable_gr_gsm_fr_vocoder
1267 enable_gr_radar_mono
1268 enable_gr_radio_astronomy
1272 with_sdl_exec_prefix
1280 with_qwtplot3d_libdir
1281 with_qwtplot3d_incdir
1285 enable_gnuradio_examples
1289 ac_precious_vars='build_alias
1327 PORTAUDIO_INCLUDEDIR
1339 QTOPENGL_INCLUDEDIR'
1340 ac_subdirs_all='usrp2/firmware'
1342 # Initialize some variables set by options.
1344 ac_init_version=false
1345 ac_unrecognized_opts=
1346 ac_unrecognized_sep=
1347 # The variables have the same names as the options, with
1348 # dashes changed to underlines.
1349 cache_file=/dev/null
1356 program_transform_name=s,x,x,
1364 # Installation directory options.
1365 # These are left unexpanded so users can "make install exec_prefix=/foo"
1366 # and all the variables that are supposed to be based on exec_prefix
1367 # by default will actually change.
1368 # Use braces instead of parens because sh, perl, etc. also accept them.
1369 # (The list follows the same order as the GNU Coding Standards.)
1370 bindir='${exec_prefix}/bin'
1371 sbindir='${exec_prefix}/sbin'
1372 libexecdir='${exec_prefix}/libexec'
1373 datarootdir='${prefix}/share'
1374 datadir='${datarootdir}'
1375 sysconfdir='${prefix}/etc'
1376 sharedstatedir='${prefix}/com'
1377 localstatedir='${prefix}/var'
1378 includedir='${prefix}/include'
1379 oldincludedir='/usr/include'
1380 docdir='${datarootdir}/doc/${PACKAGE}'
1381 infodir='${datarootdir}/info'
1386 libdir='${exec_prefix}/lib'
1387 localedir='${datarootdir}/locale'
1388 mandir='${datarootdir}/man'
1394 # If the previous option needs an argument, assign it.
1395 if test -n "$ac_prev"; then
1396 eval $ac_prev=\$ac_option
1402 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1406 # Accept the important Cygnus configure options, so we can diagnose typos.
1408 case $ac_dashdash$ac_option in
1412 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1414 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1415 bindir=$ac_optarg ;;
1417 -build | --build | --buil | --bui | --bu)
1418 ac_prev=build_alias ;;
1419 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1420 build_alias=$ac_optarg ;;
1422 -cache-file | --cache-file | --cache-fil | --cache-fi \
1423 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1424 ac_prev=cache_file ;;
1425 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1426 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1427 cache_file=$ac_optarg ;;
1429 --config-cache | -C)
1430 cache_file=config.cache ;;
1432 -datadir | --datadir | --datadi | --datad)
1434 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1435 datadir=$ac_optarg ;;
1437 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1438 | --dataroo | --dataro | --datar)
1439 ac_prev=datarootdir ;;
1440 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1441 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1442 datarootdir=$ac_optarg ;;
1444 -disable-* | --disable-*)
1445 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1446 # Reject names that are not valid shell variable names.
1447 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1448 as_fn_error "invalid feature name: $ac_useropt"
1449 ac_useropt_orig=$ac_useropt
1450 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1451 case $ac_user_opts in
1453 "enable_$ac_useropt"
1455 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1456 ac_unrecognized_sep=', ';;
1458 eval enable_$ac_useropt=no ;;
1460 -docdir | --docdir | --docdi | --doc | --do)
1462 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1463 docdir=$ac_optarg ;;
1465 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1467 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1468 dvidir=$ac_optarg ;;
1470 -enable-* | --enable-*)
1471 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1472 # Reject names that are not valid shell variable names.
1473 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1474 as_fn_error "invalid feature name: $ac_useropt"
1475 ac_useropt_orig=$ac_useropt
1476 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1477 case $ac_user_opts in
1479 "enable_$ac_useropt"
1481 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1482 ac_unrecognized_sep=', ';;
1484 eval enable_$ac_useropt=\$ac_optarg ;;
1486 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1487 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1488 | --exec | --exe | --ex)
1489 ac_prev=exec_prefix ;;
1490 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1491 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1492 | --exec=* | --exe=* | --ex=*)
1493 exec_prefix=$ac_optarg ;;
1495 -gas | --gas | --ga | --g)
1496 # Obsolete; use --with-gas.
1499 -help | --help | --hel | --he | -h)
1500 ac_init_help=long ;;
1501 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1502 ac_init_help=recursive ;;
1503 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1504 ac_init_help=short ;;
1506 -host | --host | --hos | --ho)
1507 ac_prev=host_alias ;;
1508 -host=* | --host=* | --hos=* | --ho=*)
1509 host_alias=$ac_optarg ;;
1511 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1513 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1515 htmldir=$ac_optarg ;;
1517 -includedir | --includedir | --includedi | --included | --include \
1518 | --includ | --inclu | --incl | --inc)
1519 ac_prev=includedir ;;
1520 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1521 | --includ=* | --inclu=* | --incl=* | --inc=*)
1522 includedir=$ac_optarg ;;
1524 -infodir | --infodir | --infodi | --infod | --info | --inf)
1526 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1527 infodir=$ac_optarg ;;
1529 -libdir | --libdir | --libdi | --libd)
1531 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1532 libdir=$ac_optarg ;;
1534 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1535 | --libexe | --libex | --libe)
1536 ac_prev=libexecdir ;;
1537 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1538 | --libexe=* | --libex=* | --libe=*)
1539 libexecdir=$ac_optarg ;;
1541 -localedir | --localedir | --localedi | --localed | --locale)
1542 ac_prev=localedir ;;
1543 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1544 localedir=$ac_optarg ;;
1546 -localstatedir | --localstatedir | --localstatedi | --localstated \
1547 | --localstate | --localstat | --localsta | --localst | --locals)
1548 ac_prev=localstatedir ;;
1549 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1550 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1551 localstatedir=$ac_optarg ;;
1553 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1555 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1556 mandir=$ac_optarg ;;
1558 -nfp | --nfp | --nf)
1559 # Obsolete; use --without-fp.
1562 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1563 | --no-cr | --no-c | -n)
1566 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1567 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1570 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1571 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1572 | --oldin | --oldi | --old | --ol | --o)
1573 ac_prev=oldincludedir ;;
1574 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1575 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1576 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1577 oldincludedir=$ac_optarg ;;
1579 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1581 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1582 prefix=$ac_optarg ;;
1584 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1585 | --program-pre | --program-pr | --program-p)
1586 ac_prev=program_prefix ;;
1587 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1588 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1589 program_prefix=$ac_optarg ;;
1591 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1592 | --program-suf | --program-su | --program-s)
1593 ac_prev=program_suffix ;;
1594 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1595 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1596 program_suffix=$ac_optarg ;;
1598 -program-transform-name | --program-transform-name \
1599 | --program-transform-nam | --program-transform-na \
1600 | --program-transform-n | --program-transform- \
1601 | --program-transform | --program-transfor \
1602 | --program-transfo | --program-transf \
1603 | --program-trans | --program-tran \
1604 | --progr-tra | --program-tr | --program-t)
1605 ac_prev=program_transform_name ;;
1606 -program-transform-name=* | --program-transform-name=* \
1607 | --program-transform-nam=* | --program-transform-na=* \
1608 | --program-transform-n=* | --program-transform-=* \
1609 | --program-transform=* | --program-transfor=* \
1610 | --program-transfo=* | --program-transf=* \
1611 | --program-trans=* | --program-tran=* \
1612 | --progr-tra=* | --program-tr=* | --program-t=*)
1613 program_transform_name=$ac_optarg ;;
1615 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1617 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1618 pdfdir=$ac_optarg ;;
1620 -psdir | --psdir | --psdi | --psd | --ps)
1622 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1625 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1626 | -silent | --silent | --silen | --sile | --sil)
1629 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1631 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1633 sbindir=$ac_optarg ;;
1635 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1636 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1637 | --sharedst | --shareds | --shared | --share | --shar \
1639 ac_prev=sharedstatedir ;;
1640 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1641 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1642 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1644 sharedstatedir=$ac_optarg ;;
1646 -site | --site | --sit)
1648 -site=* | --site=* | --sit=*)
1651 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1653 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1654 srcdir=$ac_optarg ;;
1656 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1657 | --syscon | --sysco | --sysc | --sys | --sy)
1658 ac_prev=sysconfdir ;;
1659 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1660 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1661 sysconfdir=$ac_optarg ;;
1663 -target | --target | --targe | --targ | --tar | --ta | --t)
1664 ac_prev=target_alias ;;
1665 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1666 target_alias=$ac_optarg ;;
1668 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1671 -version | --version | --versio | --versi | --vers | -V)
1672 ac_init_version=: ;;
1675 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1676 # Reject names that are not valid shell variable names.
1677 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1678 as_fn_error "invalid package name: $ac_useropt"
1679 ac_useropt_orig=$ac_useropt
1680 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1681 case $ac_user_opts in
1685 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1686 ac_unrecognized_sep=', ';;
1688 eval with_$ac_useropt=\$ac_optarg ;;
1690 -without-* | --without-*)
1691 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1692 # Reject names that are not valid shell variable names.
1693 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1694 as_fn_error "invalid package name: $ac_useropt"
1695 ac_useropt_orig=$ac_useropt
1696 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1697 case $ac_user_opts in
1701 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1702 ac_unrecognized_sep=', ';;
1704 eval with_$ac_useropt=no ;;
1707 # Obsolete; use --with-x.
1710 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1711 | --x-incl | --x-inc | --x-in | --x-i)
1712 ac_prev=x_includes ;;
1713 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1714 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1715 x_includes=$ac_optarg ;;
1717 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1718 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1719 ac_prev=x_libraries ;;
1720 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1721 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1722 x_libraries=$ac_optarg ;;
1724 -*) as_fn_error "unrecognized option: \`$ac_option'
1725 Try \`$0 --help' for more information."
1729 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1730 # Reject names that are not valid shell variable names.
1731 case $ac_envvar in #(
1732 '' | [0-9]* | *[!_$as_cr_alnum]* )
1733 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1735 eval $ac_envvar=\$ac_optarg
1736 export $ac_envvar ;;
1739 # FIXME: should be removed in autoconf 3.0.
1740 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1741 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1742 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1743 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1749 if test -n "$ac_prev"; then
1750 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1751 as_fn_error "missing argument to $ac_option"
1754 if test -n "$ac_unrecognized_opts"; then
1755 case $enable_option_checking in
1757 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1758 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1762 # Check all directory arguments for consistency.
1763 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1764 datadir sysconfdir sharedstatedir localstatedir includedir \
1765 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1766 libdir localedir mandir
1768 eval ac_val=\$$ac_var
1769 # Remove trailing slashes.
1772 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1773 eval $ac_var=\$ac_val;;
1775 # Be sure to have absolute directory names.
1777 [\\/$]* | ?:[\\/]* ) continue;;
1778 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1780 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1783 # There might be people who depend on the old broken behavior: `$host'
1784 # used to hold the argument of --host etc.
1785 # FIXME: To remove some day.
1788 target=$target_alias
1790 # FIXME: To remove some day.
1791 if test "x$host_alias" != x; then
1792 if test "x$build_alias" = x; then
1793 cross_compiling=maybe
1794 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1795 If a cross compiler is detected then cross compile mode will be used." >&2
1796 elif test "x$build_alias" != "x$host_alias"; then
1802 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1804 test "$silent" = yes && exec 6>/dev/null
1807 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1808 ac_ls_di=`ls -di .` &&
1809 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1810 as_fn_error "working directory cannot be determined"
1811 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1812 as_fn_error "pwd does not report name of working directory"
1815 # Find the source files, if location was not specified.
1816 if test -z "$srcdir"; then
1817 ac_srcdir_defaulted=yes
1818 # Try the directory containing this script, then the parent directory.
1819 ac_confdir=`$as_dirname -- "$as_myself" ||
1820 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1821 X"$as_myself" : 'X\(//\)[^/]' \| \
1822 X"$as_myself" : 'X\(//\)$' \| \
1823 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1824 $as_echo X"$as_myself" |
1825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1843 if test ! -r "$srcdir/$ac_unique_file"; then
1847 ac_srcdir_defaulted=no
1849 if test ! -r "$srcdir/$ac_unique_file"; then
1850 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1851 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1853 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1855 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1857 # When building in place, set srcdir=.
1858 if test "$ac_abs_confdir" = "$ac_pwd"; then
1861 # Remove unnecessary trailing slashes from srcdir.
1862 # Double slashes in file names in object file debugging info
1863 # mess up M-x gdb in Emacs.
1865 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1867 for ac_var in $ac_precious_vars; do
1868 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1869 eval ac_env_${ac_var}_value=\$${ac_var}
1870 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1871 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1875 # Report the --help message.
1877 if test "$ac_init_help" = "long"; then
1878 # Omit some internal or obsolete options to make the list less imposing.
1879 # This message is too long to be a string in the A/UX 3.1 sh.
1881 \`configure' configures this package to adapt to many kinds of systems.
1883 Usage: $0 [OPTION]... [VAR=VALUE]...
1885 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1886 VAR=VALUE. See below for descriptions of some of the useful variables.
1888 Defaults for the options are specified in brackets.
1891 -h, --help display this help and exit
1892 --help=short display options specific to this package
1893 --help=recursive display the short help of all the included packages
1894 -V, --version display version information and exit
1895 -q, --quiet, --silent do not print \`checking...' messages
1896 --cache-file=FILE cache test results in FILE [disabled]
1897 -C, --config-cache alias for \`--cache-file=config.cache'
1898 -n, --no-create do not create output files
1899 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1901 Installation directories:
1902 --prefix=PREFIX install architecture-independent files in PREFIX
1903 [$ac_default_prefix]
1904 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1907 By default, \`make install' will install all the files in
1908 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1909 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1910 for instance \`--prefix=\$HOME'.
1912 For better control, use the options below.
1914 Fine tuning of the installation directories:
1915 --bindir=DIR user executables [EPREFIX/bin]
1916 --sbindir=DIR system admin executables [EPREFIX/sbin]
1917 --libexecdir=DIR program executables [EPREFIX/libexec]
1918 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1919 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1920 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1921 --libdir=DIR object code libraries [EPREFIX/lib]
1922 --includedir=DIR C header files [PREFIX/include]
1923 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1924 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1925 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1926 --infodir=DIR info documentation [DATAROOTDIR/info]
1927 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1928 --mandir=DIR man documentation [DATAROOTDIR/man]
1929 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1930 --htmldir=DIR html documentation [DOCDIR]
1931 --dvidir=DIR dvi documentation [DOCDIR]
1932 --pdfdir=DIR pdf documentation [DOCDIR]
1933 --psdir=DIR ps documentation [DOCDIR]
1939 --program-prefix=PREFIX prepend PREFIX to installed program names
1940 --program-suffix=SUFFIX append SUFFIX to installed program names
1941 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1944 --build=BUILD configure for building on BUILD [guessed]
1945 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1946 --target=TARGET configure for building compilers for TARGET [HOST]
1950 if test -n "$ac_init_help"; then
1955 --disable-option-checking ignore unrecognized --enable/--with options
1956 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1957 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1958 --disable-dependency-tracking speeds up one-time build
1959 --enable-dependency-tracking do not reject slow dependency extractors
1960 --enable-shared[=PKGS] build shared libraries [default=yes]
1961 --enable-static[=PKGS] build static libraries [default=no]
1962 --enable-fast-install[=PKGS]
1963 optimize for fast installation [default=yes]
1964 --disable-libtool-lock avoid locking (might break parallel builds)
1965 --enable-fortran enable fortran (no)
1966 --enable-doxygen enable documentation generation with doxygen (auto)
1967 --enable-dot use 'dot' to generate graphs in doxygen (auto)
1968 --enable-altivec enable altivec on PowerPC (yes)
1969 --enable-all-components Build all configurable components (default), or stop on failed dependencies
1971 --enable-gruel Stop if gruel fails configuration
1972 --enable-omnithread Stop if omnithread fails configuration
1973 --enable-gcell Stop if gcell fails configuration
1974 --enable-gnuradio-core Stop if gnuradio-core fails configuration
1975 --enable-pmt Stop if pmt fails configuration
1976 --enable-mblock Stop if mblock fails configuration
1977 --enable-usrp Stop if usrp fails configuration
1978 --enable-usrp2 Stop if usrp2 fails configuration
1979 --enable-gr-usrp Stop if gr-usrp fails configuration
1980 --enable-gr-usrp2 Stop if gr-usrp2 fails configuration
1981 --enable-gr-gcell Stop if gr-gcell fails configuration
1982 --enable-gr-audio-alsa Stop if gr-audio-alsa fails configuration
1983 --enable-gr-audio-jack Stop if gr-audio-jack fails configuration
1984 --enable-gr-audio-oss Stop if gr-audio-oss fails configuration
1985 --enable-gr-audio-osx Stop if gr-audio-osx fails configuration
1986 --enable-gr-audio-portaudio
1987 Stop if gr-audio-portaudio fails configuration
1988 --enable-gr-audio-windows
1989 Stop if gr-audio-windows fails configuration
1990 --enable-gr-cvsd-vocoder
1991 Stop if gr-cvsd-vocoder fails configuration
1992 --enable-gr-gpio Stop if gr-gpio fails configuration
1993 --enable-gr-gsm-fr-vocoder
1994 Stop if gr-gsm-fr-vocoder fails configuration
1995 --enable-gr-pager Stop if gr-pager fails configuration
1996 --enable-gr-radar-mono Stop if gr-radar-mono fails configuration
1997 --enable-gr-radio-astronomy
1998 Stop if gr-radio-astronomy fails configuration
1999 --enable-gr-trellis Stop if gr-trellis fails configuration
2000 --enable-gr-video-sdl Stop if gr-video-sdl fails configuration
2001 --disable-sdltest Do not try to compile and run a test SDL program
2002 --enable-gr-wxgui Stop if gr-wxgui fails configuration
2003 --enable-gr-qtgui Stop if gr-qtgui fails configuration
2004 --enable-gr-sounder Stop if gr-sounder fails configuration
2005 --enable-gr-utils Stop if gr-utils fails configuration
2006 --enable-gnuradio-examples
2007 Stop if gnuradio-examples fails configuration
2008 --enable-grc Stop if grc fails configuration
2009 --enable-docs Stop if docs fails configuration
2012 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2013 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2014 --with-gprof Turn on gprof profiling
2015 --with-prof Turn on prof profiling
2016 --with-pic try to use only PIC/non-PIC objects [default=use
2018 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2019 --with-pythondir=DIR python installation directory (cross-compiling)
2020 [[default=$prefix/lib/python2.5/site-packages]]
2021 --with-md-cpu=ARCH set machine dependent speedups (auto)
2022 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2023 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2024 --with-boost[=DIR] use boost (default is yes) - it is possible to
2025 specify the root directory for boost (optional)
2026 --with-boost-libdir=LIB_DIR
2027 Force given directory for boost libraries. Note that
2028 this will overwrite library path detection, so use
2029 this parameter only if default library detection
2030 fails and you know exactly where your boost
2031 libraries are located.
2032 --with-boost-thread[=special-lib]
2033 Use the thread library from
2034 boost. It is possible to specify a certain library
2035 to the linker. E.g.,
2036 --with-boost-thread=boost_thread-gcc41-mt-1_35
2037 --with-boost-date-time[=special-lib]
2038 Use the date_time library from
2039 boost. It is possible to specify a certain library
2040 to the linker. E.g.,
2041 --with-boost-date-time=boost_date_time-gcc41-mt-1_35
2042 --with-boost-program-options[=special-lib]
2043 Use the program_options library
2044 from boost. It is possible to specify a certain
2045 library to the linker. E.g.,
2046 --with-boost-program-options=boost_program_options-gcc41-mt-1_35
2047 --with-gruel[=PATH] Use package gruel if installed in PATH (if
2048 specified) or PKG_CONFIG_PATH (if PATH not
2049 specified); stop if gruel not found
2050 --with-omnithread[=PATH]
2051 Use package omnithread if installed in PATH (if
2052 specified) or PKG_CONFIG_PATH (if PATH not
2053 specified); stop if omnithread not found
2054 --with-gnuradio-core[=PATH]
2055 Use package gnuradio-core if installed in PATH (if
2056 specified) or PKG_CONFIG_PATH (if PATH not
2057 specified); stop if gnuradio-core not found
2058 --with-cblas=<lib> use CBLAS library <lib>
2059 --with-pmt[=PATH] Use package pmt if installed in PATH (if specified)
2060 or PKG_CONFIG_PATH (if PATH not specified); stop if
2062 --with-mblock[=PATH] Use package mblock if installed in PATH (if
2063 specified) or PKG_CONFIG_PATH (if PATH not
2064 specified); stop if mblock not found
2065 --with-usrp[=PATH] Use package usrp if installed in PATH (if specified)
2066 or PKG_CONFIG_PATH (if PATH not specified); stop if
2068 --with-fusb-tech=OS Set fast USB technique (default=auto)
2069 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2070 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2071 --with-gr-wxgui[=PATH] Use package gr-wxgui if installed in PATH (if
2072 specified) or PKG_CONFIG_PATH (if PATH not
2073 specified); stop if gr-wxgui not found
2074 --with-qwt-libdir=path Prefix where QWT library is installed (optional)
2075 --with-qwt-incdir=path Prefix where QWT include files are (optional)
2076 --with-qwt-lib=library QWT library name (optional)
2077 --with-qwtplot3d-libdir=path Prefix where QWTPLOT3D library is installed (optional)
2078 --with-qwtplot3d-incdir=path Prefix where QWTPLOT3D include files are (optional)
2079 --with-qwtplot3d-lib=library QWT Plot3D library name (optional)
2081 Some influential environment variables:
2082 CC C compiler command
2083 CFLAGS C compiler flags
2084 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2085 nonstandard directory <lib dir>
2086 LIBS libraries to pass to the linker, e.g. -l<library>
2087 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2088 you have headers in a nonstandard directory <include dir>
2090 CXX C++ compiler command
2091 CXXFLAGS C++ compiler flags
2092 CXXCPP C++ preprocessor
2093 CCAS assembler compiler command (defaults to CC)
2094 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
2095 F77 Fortran 77 compiler command
2096 FFLAGS Fortran 77 compiler flags
2097 PKG_CONFIG path to pkg-config utility
2099 C compiler flags for FFTW3F, overriding pkg-config
2100 FFTW3F_LIBS linker flags for FFTW3F, overriding pkg-config
2102 includedir for FFTW3F, overriding pkg-config
2104 C compiler flags for CPPUNIT, overriding pkg-config
2106 linker flags for CPPUNIT, overriding pkg-config
2108 includedir for CPPUNIT, overriding pkg-config
2109 GSL_CFLAGS C compiler flags for GSL, overriding pkg-config
2110 GSL_LIBS linker flags for GSL, overriding pkg-config
2112 includedir for GSL, overriding pkg-config
2113 USB_CFLAGS C compiler flags for USB, overriding pkg-config
2114 USB_LIBS linker flags for USB, overriding pkg-config
2116 includedir for USB, overriding pkg-config
2117 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
2118 ALSA_LIBS linker flags for ALSA, overriding pkg-config
2120 includedir for ALSA, overriding pkg-config
2121 JACK_CFLAGS C compiler flags for JACK, overriding pkg-config
2122 JACK_LIBS linker flags for JACK, overriding pkg-config
2124 includedir for JACK, overriding pkg-config
2126 C compiler flags for PORTAUDIO, overriding pkg-config
2128 linker flags for PORTAUDIO, overriding pkg-config
2129 PORTAUDIO_INCLUDEDIR
2130 includedir for PORTAUDIO, overriding pkg-config
2131 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
2132 SDL_LIBS linker flags for SDL, overriding pkg-config
2134 includedir for SDL, overriding pkg-config
2136 C compiler flags for QTCORE, overriding pkg-config
2137 QTCORE_LIBS linker flags for QTCORE, overriding pkg-config
2139 includedir for QTCORE, overriding pkg-config
2141 C compiler flags for QTGUI, overriding pkg-config
2142 QTGUI_LIBS linker flags for QTGUI, overriding pkg-config
2144 includedir for QTGUI, overriding pkg-config
2146 C compiler flags for QTOPENGL, overriding pkg-config
2148 linker flags for QTOPENGL, overriding pkg-config
2150 includedir for QTOPENGL, overriding pkg-config
2152 Use these variables to override the choices made by `configure' or to help
2153 it to find libraries and programs with nonstandard names/locations.
2155 Report bugs to the package provider.
2160 if test "$ac_init_help" = "recursive"; then
2161 # If there are subdirs, report their specific --help.
2162 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2163 test -d "$ac_dir" ||
2164 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2169 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2171 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2172 # A ".." for each directory in $ac_dir_suffix.
2173 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2174 case $ac_top_builddir_sub in
2175 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2176 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2179 ac_abs_top_builddir=$ac_pwd
2180 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2181 # for backward compatibility:
2182 ac_top_builddir=$ac_top_build_prefix
2185 .) # We are building in place.
2187 ac_top_srcdir=$ac_top_builddir_sub
2188 ac_abs_top_srcdir=$ac_pwd ;;
2189 [\\/]* | ?:[\\/]* ) # Absolute name.
2190 ac_srcdir=$srcdir$ac_dir_suffix;
2191 ac_top_srcdir=$srcdir
2192 ac_abs_top_srcdir=$srcdir ;;
2194 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2195 ac_top_srcdir=$ac_top_build_prefix$srcdir
2196 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2198 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2200 cd "$ac_dir" || { ac_status=$?; continue; }
2201 # Check for guested configure.
2202 if test -f "$ac_srcdir/configure.gnu"; then
2204 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2205 elif test -f "$ac_srcdir/configure"; then
2207 $SHELL "$ac_srcdir/configure" --help=recursive
2209 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2211 cd "$ac_pwd" || { ac_status=$?; break; }
2215 test -n "$ac_init_help" && exit $ac_status
2216 if $ac_init_version; then
2219 generated by GNU Autoconf 2.65
2221 Copyright (C) 2009 Free Software Foundation, Inc.
2222 This configure script is free software; the Free Software Foundation
2223 gives unlimited permission to copy, distribute and modify it.
2228 ## ------------------------ ##
2229 ## Autoconf initialization. ##
2230 ## ------------------------ ##
2232 # ac_fn_c_try_compile LINENO
2233 # --------------------------
2234 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2235 ac_fn_c_try_compile ()
2237 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2238 rm -f conftest.$ac_objext
2239 if { { ac_try="$ac_compile"
2241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2242 *) ac_try_echo=$ac_try;;
2244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2245 $as_echo "$ac_try_echo"; } >&5
2246 (eval "$ac_compile") 2>conftest.err
2248 if test -s conftest.err; then
2249 grep -v '^ *+' conftest.err >conftest.er1
2250 cat conftest.er1 >&5
2251 mv -f conftest.er1 conftest.err
2253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2254 test $ac_status = 0; } && {
2255 test -z "$ac_c_werror_flag" ||
2256 test ! -s conftest.err
2257 } && test -s conftest.$ac_objext; then :
2260 $as_echo "$as_me: failed program was:" >&5
2261 sed 's/^/| /' conftest.$ac_ext >&5
2265 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2266 as_fn_set_status $ac_retval
2268 } # ac_fn_c_try_compile
2270 # ac_fn_c_try_cpp LINENO
2271 # ----------------------
2272 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2275 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2276 if { { ac_try="$ac_cpp conftest.$ac_ext"
2278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2279 *) ac_try_echo=$ac_try;;
2281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2282 $as_echo "$ac_try_echo"; } >&5
2283 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2285 if test -s conftest.err; then
2286 grep -v '^ *+' conftest.err >conftest.er1
2287 cat conftest.er1 >&5
2288 mv -f conftest.er1 conftest.err
2290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2291 test $ac_status = 0; } >/dev/null && {
2292 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2293 test ! -s conftest.err
2297 $as_echo "$as_me: failed program was:" >&5
2298 sed 's/^/| /' conftest.$ac_ext >&5
2302 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2303 as_fn_set_status $ac_retval
2307 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2308 # -------------------------------------------------------
2309 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2310 # the include files in INCLUDES and setting the cache variable VAR
2312 ac_fn_c_check_header_mongrel ()
2314 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2315 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2317 $as_echo_n "checking for $2... " >&6; }
2318 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2319 $as_echo_n "(cached) " >&6
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2323 $as_echo "$ac_res" >&6; }
2325 # Is the header compilable?
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2327 $as_echo_n "checking $2 usability... " >&6; }
2328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2329 /* end confdefs.h. */
2333 if ac_fn_c_try_compile "$LINENO"; then :
2334 ac_header_compiler=yes
2336 ac_header_compiler=no
2338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2340 $as_echo "$ac_header_compiler" >&6; }
2342 # Is the header present?
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2344 $as_echo_n "checking $2 presence... " >&6; }
2345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2346 /* end confdefs.h. */
2349 if ac_fn_c_try_cpp "$LINENO"; then :
2350 ac_header_preproc=yes
2352 ac_header_preproc=no
2354 rm -f conftest.err conftest.$ac_ext
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2356 $as_echo "$ac_header_preproc" >&6; }
2358 # So? What about this header?
2359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2362 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2364 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2368 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2370 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2372 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2374 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2376 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2380 $as_echo_n "checking for $2... " >&6; }
2381 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2382 $as_echo_n "(cached) " >&6
2384 eval "$3=\$ac_header_compiler"
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2388 $as_echo "$ac_res" >&6; }
2390 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2392 } # ac_fn_c_check_header_mongrel
2394 # ac_fn_c_try_run LINENO
2395 # ----------------------
2396 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2397 # that executables *can* be run.
2400 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2401 if { { ac_try="$ac_link"
2403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2404 *) ac_try_echo=$ac_try;;
2406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2407 $as_echo "$ac_try_echo"; } >&5
2408 (eval "$ac_link") 2>&5
2410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2411 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2412 { { case "(($ac_try" in
2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2417 $as_echo "$ac_try_echo"; } >&5
2418 (eval "$ac_try") 2>&5
2420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2421 test $ac_status = 0; }; }; then :
2424 $as_echo "$as_me: program exited with status $ac_status" >&5
2425 $as_echo "$as_me: failed program was:" >&5
2426 sed 's/^/| /' conftest.$ac_ext >&5
2428 ac_retval=$ac_status
2430 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2431 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2432 as_fn_set_status $ac_retval
2436 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2437 # -------------------------------------------------------
2438 # Tests whether HEADER exists and can be compiled using the include files in
2439 # INCLUDES, setting the cache variable VAR accordingly.
2440 ac_fn_c_check_header_compile ()
2442 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2444 $as_echo_n "checking for $2... " >&6; }
2445 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2446 $as_echo_n "(cached) " >&6
2448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2453 if ac_fn_c_try_compile "$LINENO"; then :
2458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2462 $as_echo "$ac_res" >&6; }
2463 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2465 } # ac_fn_c_check_header_compile
2467 # ac_fn_c_try_link LINENO
2468 # -----------------------
2469 # Try to link conftest.$ac_ext, and return whether this succeeded.
2472 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2473 rm -f conftest.$ac_objext conftest$ac_exeext
2474 if { { ac_try="$ac_link"
2476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2480 $as_echo "$ac_try_echo"; } >&5
2481 (eval "$ac_link") 2>conftest.err
2483 if test -s conftest.err; then
2484 grep -v '^ *+' conftest.err >conftest.er1
2485 cat conftest.er1 >&5
2486 mv -f conftest.er1 conftest.err
2488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2489 test $ac_status = 0; } && {
2490 test -z "$ac_c_werror_flag" ||
2491 test ! -s conftest.err
2492 } && test -s conftest$ac_exeext && {
2493 test "$cross_compiling" = yes ||
2494 $as_test_x conftest$ac_exeext
2498 $as_echo "$as_me: failed program was:" >&5
2499 sed 's/^/| /' conftest.$ac_ext >&5
2503 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2504 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2505 # interfere with the next link command; also delete a directory that is
2506 # left behind by Apple's compiler. We do this before executing the actions.
2507 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2508 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2509 as_fn_set_status $ac_retval
2511 } # ac_fn_c_try_link
2513 # ac_fn_cxx_try_compile LINENO
2514 # ----------------------------
2515 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2516 ac_fn_cxx_try_compile ()
2518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2519 rm -f conftest.$ac_objext
2520 if { { ac_try="$ac_compile"
2522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523 *) ac_try_echo=$ac_try;;
2525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2526 $as_echo "$ac_try_echo"; } >&5
2527 (eval "$ac_compile") 2>conftest.err
2529 if test -s conftest.err; then
2530 grep -v '^ *+' conftest.err >conftest.er1
2531 cat conftest.er1 >&5
2532 mv -f conftest.er1 conftest.err
2534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2535 test $ac_status = 0; } && {
2536 test -z "$ac_cxx_werror_flag" ||
2537 test ! -s conftest.err
2538 } && test -s conftest.$ac_objext; then :
2541 $as_echo "$as_me: failed program was:" >&5
2542 sed 's/^/| /' conftest.$ac_ext >&5
2546 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2547 as_fn_set_status $ac_retval
2549 } # ac_fn_cxx_try_compile
2551 # ac_fn_cxx_try_cpp LINENO
2552 # ------------------------
2553 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2554 ac_fn_cxx_try_cpp ()
2556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2557 if { { ac_try="$ac_cpp conftest.$ac_ext"
2559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2560 *) ac_try_echo=$ac_try;;
2562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2563 $as_echo "$ac_try_echo"; } >&5
2564 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2566 if test -s conftest.err; then
2567 grep -v '^ *+' conftest.err >conftest.er1
2568 cat conftest.er1 >&5
2569 mv -f conftest.er1 conftest.err
2571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2572 test $ac_status = 0; } >/dev/null && {
2573 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2574 test ! -s conftest.err
2578 $as_echo "$as_me: failed program was:" >&5
2579 sed 's/^/| /' conftest.$ac_ext >&5
2583 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2584 as_fn_set_status $ac_retval
2586 } # ac_fn_cxx_try_cpp
2588 # ac_fn_c_check_func LINENO FUNC VAR
2589 # ----------------------------------
2590 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2591 ac_fn_c_check_func ()
2593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2595 $as_echo_n "checking for $2... " >&6; }
2596 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2597 $as_echo_n "(cached) " >&6
2599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2600 /* end confdefs.h. */
2601 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2603 #define $2 innocuous_$2
2605 /* System header to define __stub macros and hopefully few prototypes,
2606 which can conflict with char $2 (); below.
2607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2608 <limits.h> exists even on freestanding compilers. */
2611 # include <limits.h>
2613 # include <assert.h>
2618 /* Override any GCC internal prototype to avoid an error.
2619 Use char because int might match the return type of a GCC
2620 builtin and then its argument prototype would still apply. */
2625 /* The GNU C library defines this for functions which it implements
2626 to always fail with ENOSYS. Some functions are actually named
2627 something starting with __ and the normal name is an alias. */
2628 #if defined __stub_$2 || defined __stub___$2
2640 if ac_fn_c_try_link "$LINENO"; then :
2645 rm -f core conftest.err conftest.$ac_objext \
2646 conftest$ac_exeext conftest.$ac_ext
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2650 $as_echo "$ac_res" >&6; }
2651 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2653 } # ac_fn_c_check_func
2655 # ac_fn_cxx_try_link LINENO
2656 # -------------------------
2657 # Try to link conftest.$ac_ext, and return whether this succeeded.
2658 ac_fn_cxx_try_link ()
2660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2661 rm -f conftest.$ac_objext conftest$ac_exeext
2662 if { { ac_try="$ac_link"
2664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2665 *) ac_try_echo=$ac_try;;
2667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2668 $as_echo "$ac_try_echo"; } >&5
2669 (eval "$ac_link") 2>conftest.err
2671 if test -s conftest.err; then
2672 grep -v '^ *+' conftest.err >conftest.er1
2673 cat conftest.er1 >&5
2674 mv -f conftest.er1 conftest.err
2676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2677 test $ac_status = 0; } && {
2678 test -z "$ac_cxx_werror_flag" ||
2679 test ! -s conftest.err
2680 } && test -s conftest$ac_exeext && {
2681 test "$cross_compiling" = yes ||
2682 $as_test_x conftest$ac_exeext
2686 $as_echo "$as_me: failed program was:" >&5
2687 sed 's/^/| /' conftest.$ac_ext >&5
2691 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2692 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2693 # interfere with the next link command; also delete a directory that is
2694 # left behind by Apple's compiler. We do this before executing the actions.
2695 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2696 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2697 as_fn_set_status $ac_retval
2699 } # ac_fn_cxx_try_link
2701 # ac_fn_f77_try_compile LINENO
2702 # ----------------------------
2703 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2704 ac_fn_f77_try_compile ()
2706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2707 rm -f conftest.$ac_objext
2708 if { { ac_try="$ac_compile"
2710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2711 *) ac_try_echo=$ac_try;;
2713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2714 $as_echo "$ac_try_echo"; } >&5
2715 (eval "$ac_compile") 2>conftest.err
2717 if test -s conftest.err; then
2718 grep -v '^ *+' conftest.err >conftest.er1
2719 cat conftest.er1 >&5
2720 mv -f conftest.er1 conftest.err
2722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2723 test $ac_status = 0; } && {
2724 test -z "$ac_f77_werror_flag" ||
2725 test ! -s conftest.err
2726 } && test -s conftest.$ac_objext; then :
2729 $as_echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.$ac_ext >&5
2734 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2735 as_fn_set_status $ac_retval
2737 } # ac_fn_f77_try_compile
2739 # ac_fn_f77_try_link LINENO
2740 # -------------------------
2741 # Try to link conftest.$ac_ext, and return whether this succeeded.
2742 ac_fn_f77_try_link ()
2744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2745 rm -f conftest.$ac_objext conftest$ac_exeext
2746 if { { ac_try="$ac_link"
2748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749 *) ac_try_echo=$ac_try;;
2751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2752 $as_echo "$ac_try_echo"; } >&5
2753 (eval "$ac_link") 2>conftest.err
2755 if test -s conftest.err; then
2756 grep -v '^ *+' conftest.err >conftest.er1
2757 cat conftest.er1 >&5
2758 mv -f conftest.er1 conftest.err
2760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2761 test $ac_status = 0; } && {
2762 test -z "$ac_f77_werror_flag" ||
2763 test ! -s conftest.err
2764 } && test -s conftest$ac_exeext && {
2765 test "$cross_compiling" = yes ||
2766 $as_test_x conftest$ac_exeext
2770 $as_echo "$as_me: failed program was:" >&5
2771 sed 's/^/| /' conftest.$ac_ext >&5
2775 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2776 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2777 # interfere with the next link command; also delete a directory that is
2778 # left behind by Apple's compiler. We do this before executing the actions.
2779 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2780 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2781 as_fn_set_status $ac_retval
2783 } # ac_fn_f77_try_link
2785 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2786 # -------------------------------------------
2787 # Tests whether TYPE exists after having included INCLUDES, setting cache
2788 # variable VAR accordingly.
2789 ac_fn_c_check_type ()
2791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2793 $as_echo_n "checking for $2... " >&6; }
2794 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2795 $as_echo_n "(cached) " >&6
2798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2799 /* end confdefs.h. */
2810 if ac_fn_c_try_compile "$LINENO"; then :
2811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812 /* end confdefs.h. */
2823 if ac_fn_c_try_compile "$LINENO"; then :
2828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2834 $as_echo "$ac_res" >&6; }
2835 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2837 } # ac_fn_c_check_type
2839 # ac_fn_c_check_decl LINENO SYMBOL VAR
2840 # ------------------------------------
2841 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2842 ac_fn_c_check_decl ()
2844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2846 $as_echo_n "checking whether $2 is declared... " >&6; }
2847 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2848 $as_echo_n "(cached) " >&6
2850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2851 /* end confdefs.h. */
2864 if ac_fn_c_try_compile "$LINENO"; then :
2869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2873 $as_echo "$ac_res" >&6; }
2874 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2876 } # ac_fn_c_check_decl
2878 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2879 # ----------------------------------------------------
2880 # Tries to find if the field MEMBER exists in type AGGR, after including
2881 # INCLUDES, setting cache variable VAR accordingly.
2882 ac_fn_c_check_member ()
2884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2886 $as_echo_n "checking for $2.$3... " >&6; }
2887 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2888 $as_echo_n "(cached) " >&6
2890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2891 /* end confdefs.h. */
2903 if ac_fn_c_try_compile "$LINENO"; then :
2906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2907 /* end confdefs.h. */
2913 if (sizeof ac_aggr.$3)
2919 if ac_fn_c_try_compile "$LINENO"; then :
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2930 $as_echo "$ac_res" >&6; }
2931 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2933 } # ac_fn_c_check_member
2935 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2936 # ---------------------------------------------------------
2937 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2938 # the include files in INCLUDES and setting the cache variable VAR
2940 ac_fn_cxx_check_header_mongrel ()
2942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2943 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2945 $as_echo_n "checking for $2... " >&6; }
2946 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2947 $as_echo_n "(cached) " >&6
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2951 $as_echo "$ac_res" >&6; }
2953 # Is the header compilable?
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2955 $as_echo_n "checking $2 usability... " >&6; }
2956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2957 /* end confdefs.h. */
2961 if ac_fn_cxx_try_compile "$LINENO"; then :
2962 ac_header_compiler=yes
2964 ac_header_compiler=no
2966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2968 $as_echo "$ac_header_compiler" >&6; }
2970 # Is the header present?
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2972 $as_echo_n "checking $2 presence... " >&6; }
2973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2974 /* end confdefs.h. */
2977 if ac_fn_cxx_try_cpp "$LINENO"; then :
2978 ac_header_preproc=yes
2980 ac_header_preproc=no
2982 rm -f conftest.err conftest.$ac_ext
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2984 $as_echo "$ac_header_preproc" >&6; }
2986 # So? What about this header?
2987 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2990 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2992 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2996 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2998 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3000 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3002 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3004 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3008 $as_echo_n "checking for $2... " >&6; }
3009 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
3010 $as_echo_n "(cached) " >&6
3012 eval "$3=\$ac_header_compiler"
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3016 $as_echo "$ac_res" >&6; }
3018 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3020 } # ac_fn_cxx_check_header_mongrel
3021 cat >config.log <<_ACEOF
3022 This file contains any messages produced by compilers while
3023 running configure, to aid debugging if configure makes a mistake.
3025 It was created by $as_me, which was
3026 generated by GNU Autoconf 2.65. Invocation command line was
3038 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3039 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3040 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3041 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3042 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3044 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3045 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3047 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3048 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3049 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3050 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3051 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3052 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3053 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 test -z "$as_dir" && as_dir=.
3062 $as_echo "PATH: $as_dir"
3078 # Keep a trace of the command line.
3079 # Strip out --no-create and --no-recursion so they do not pile up.
3080 # Strip out --silent because we don't want to record it for future runs.
3081 # Also quote any args containing shell meta-characters.
3082 # Make two passes to allow for proper duplicate-argument suppression.
3086 ac_must_keep_next=false
3092 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3093 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3094 | -silent | --silent | --silen | --sile | --sil)
3097 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3100 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3102 as_fn_append ac_configure_args1 " '$ac_arg'"
3103 if test $ac_must_keep_next = true; then
3104 ac_must_keep_next=false # Got value, back to normal.
3107 *=* | --config-cache | -C | -disable-* | --disable-* \
3108 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3109 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3110 | -with-* | --with-* | -without-* | --without-* | --x)
3111 case "$ac_configure_args0 " in
3112 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3115 -* ) ac_must_keep_next=true ;;
3118 as_fn_append ac_configure_args " '$ac_arg'"
3123 { ac_configure_args0=; unset ac_configure_args0;}
3124 { ac_configure_args1=; unset ac_configure_args1;}
3126 # When interrupted or exit'd, cleanup temporary files, and complete
3127 # config.log. We remove comments because anyway the quotes in there
3128 # would cause problems or look ugly.
3129 # WARNING: Use '\'' to represent an apostrophe within the trap.
3130 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3131 trap 'exit_status=$?
3132 # Save into config.log some information that might help in debugging.
3137 ## ---------------- ##
3138 ## Cache variables. ##
3139 ## ---------------- ##
3142 # The following way of writing the cache mishandles newlines in values,
3144 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3145 eval ac_val=\$$ac_var
3149 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3150 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3153 _ | IFS | as_nl) ;; #(
3154 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3155 *) { eval $ac_var=; unset $ac_var;} ;;
3160 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3161 *${as_nl}ac_space=\ *)
3163 "s/'\''/'\''\\\\'\'''\''/g;
3164 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3167 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3175 ## ----------------- ##
3176 ## Output variables. ##
3177 ## ----------------- ##
3180 for ac_var in $ac_subst_vars
3182 eval ac_val=\$$ac_var
3184 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3186 $as_echo "$ac_var='\''$ac_val'\''"
3190 if test -n "$ac_subst_files"; then
3192 ## ------------------- ##
3193 ## File substitutions. ##
3194 ## ------------------- ##
3197 for ac_var in $ac_subst_files
3199 eval ac_val=\$$ac_var
3201 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3203 $as_echo "$ac_var='\''$ac_val'\''"
3208 if test -s confdefs.h; then
3218 test "$ac_signal" != 0 &&
3219 $as_echo "$as_me: caught signal $ac_signal"
3220 $as_echo "$as_me: exit $exit_status"
3222 rm -f core *.core core.conftest.* &&
3223 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3226 for ac_signal in 1 2 13 15; do
3227 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3231 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3232 rm -f -r conftest* confdefs.h
3234 $as_echo "/* confdefs.h */" > confdefs.h
3236 # Predefined preprocessor variables.
3238 cat >>confdefs.h <<_ACEOF
3239 #define PACKAGE_NAME "$PACKAGE_NAME"
3242 cat >>confdefs.h <<_ACEOF
3243 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3246 cat >>confdefs.h <<_ACEOF
3247 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3250 cat >>confdefs.h <<_ACEOF
3251 #define PACKAGE_STRING "$PACKAGE_STRING"
3254 cat >>confdefs.h <<_ACEOF
3255 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3258 cat >>confdefs.h <<_ACEOF
3259 #define PACKAGE_URL "$PACKAGE_URL"
3263 # Let the site file select an alternate cache file if it wants to.
3264 # Prefer an explicitly selected file to automatically selected ones.
3267 if test -n "$CONFIG_SITE"; then
3268 ac_site_file1=$CONFIG_SITE
3269 elif test "x$prefix" != xNONE; then
3270 ac_site_file1=$prefix/share/config.site
3271 ac_site_file2=$prefix/etc/config.site
3273 ac_site_file1=$ac_default_prefix/share/config.site
3274 ac_site_file2=$ac_default_prefix/etc/config.site
3276 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3278 test "x$ac_site_file" = xNONE && continue
3279 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3281 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3282 sed 's/^/| /' "$ac_site_file" >&5
3287 if test -r "$cache_file"; then
3288 # Some versions of bash will fail to source /dev/null (special files
3289 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3290 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3292 $as_echo "$as_me: loading cache $cache_file" >&6;}
3294 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3295 *) . "./$cache_file";;
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3300 $as_echo "$as_me: creating cache $cache_file" >&6;}
3304 # Check that the precious variables saved in the cache have kept the same
3306 ac_cache_corrupted=false
3307 for ac_var in $ac_precious_vars; do
3308 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3309 eval ac_new_set=\$ac_env_${ac_var}_set
3310 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3311 eval ac_new_val=\$ac_env_${ac_var}_value
3312 case $ac_old_set,$ac_new_set in
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3315 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3316 ac_cache_corrupted=: ;;
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3319 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3320 ac_cache_corrupted=: ;;
3323 if test "x$ac_old_val" != "x$ac_new_val"; then
3324 # differences in whitespace do not lead to failure.
3325 ac_old_val_w=`echo x $ac_old_val`
3326 ac_new_val_w=`echo x $ac_new_val`
3327 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3329 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3330 ac_cache_corrupted=:
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3333 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3334 eval $ac_var=\$ac_old_val
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3337 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3339 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3342 # Pass precious variables to config.status.
3343 if test "$ac_new_set" = set; then
3345 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3346 *) ac_arg=$ac_var=$ac_new_val ;;
3348 case " $ac_configure_args " in
3349 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3350 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3354 if $ac_cache_corrupted; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3358 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3359 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3361 ## -------------------- ##
3362 ## Main body of script. ##
3363 ## -------------------- ##
3366 ac_cpp='$CPP $CPPFLAGS'
3367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3373 ac_config_headers="$ac_config_headers config.h"
3378 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3379 for ac_t in install-sh install.sh shtool; do
3380 if test -f "$ac_dir/$ac_t"; then
3382 ac_install_sh="$ac_aux_dir/$ac_t -c"
3387 if test -z "$ac_aux_dir"; then
3388 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3391 # These three variables are undocumented and unsupported,
3392 # and are intended to be withdrawn in a future Autoconf release.
3393 # They can cause serious problems if a builder's source tree is in a directory
3394 # whose full name contains unusual characters.
3395 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3396 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3397 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3400 # Make sure we can run config.sub.
3401 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3402 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3405 $as_echo_n "checking build system type... " >&6; }
3406 if test "${ac_cv_build+set}" = set; then :
3407 $as_echo_n "(cached) " >&6
3409 ac_build_alias=$build_alias
3410 test "x$ac_build_alias" = x &&
3411 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3412 test "x$ac_build_alias" = x &&
3413 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3414 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3415 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3419 $as_echo "$ac_cv_build" >&6; }
3420 case $ac_cv_build in
3422 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3425 ac_save_IFS=$IFS; IFS='-'
3431 # Remember, the first character of IFS is used to create $*,
3432 # except with old shells:
3435 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3439 $as_echo_n "checking host system type... " >&6; }
3440 if test "${ac_cv_host+set}" = set; then :
3441 $as_echo_n "(cached) " >&6
3443 if test "x$host_alias" = x; then
3444 ac_cv_host=$ac_cv_build
3446 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3447 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3452 $as_echo "$ac_cv_host" >&6; }
3455 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3458 ac_save_IFS=$IFS; IFS='-'
3464 # Remember, the first character of IFS is used to create $*,
3465 # except with old shells:
3468 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3472 $as_echo_n "checking target system type... " >&6; }
3473 if test "${ac_cv_target+set}" = set; then :
3474 $as_echo_n "(cached) " >&6
3476 if test "x$target_alias" = x; then
3477 ac_cv_target=$ac_cv_host
3479 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3480 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3485 $as_echo "$ac_cv_target" >&6; }
3486 case $ac_cv_target in
3488 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3490 target=$ac_cv_target
3491 ac_save_IFS=$IFS; IFS='-'
3497 # Remember, the first character of IFS is used to create $*,
3498 # except with old shells:
3501 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3504 # The aliases save the names the user supplied, while $host etc.
3505 # will get canonicalized.
3506 test -n "$target_alias" &&
3507 test "$program_prefix$program_suffix$program_transform_name" = \
3509 program_prefix=${target_alias}-
3511 am__api_version='1.11'
3513 # Find a good install program. We prefer a C program (faster),
3514 # so one script is as good as another. But avoid the broken or
3515 # incompatible versions:
3516 # SysV /etc/install, /usr/sbin/install
3517 # SunOS /usr/etc/install
3518 # IRIX /sbin/install
3520 # AmigaOS /C/install, which installs bootblocks on floppy discs
3521 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3522 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3523 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3524 # OS/2's system install, which has a completely different semantic
3525 # ./install, which can be erroneously created by make from ./install.sh.
3526 # Reject install programs that cannot install multiple files.
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3528 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3529 if test -z "$INSTALL"; then
3530 if test "${ac_cv_path_install+set}" = set; then :
3531 $as_echo_n "(cached) " >&6
3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3537 test -z "$as_dir" && as_dir=.
3538 # Account for people who put trailing slashes in PATH elements.
3539 case $as_dir/ in #((
3540 ./ | .// | /[cC]/* | \
3541 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3542 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3545 # OSF1 and SCO ODT 3.0 have their own names for install.
3546 # Don't use installbsd from OSF since it installs stuff as root
3548 for ac_prog in ginstall scoinst install; do
3549 for ac_exec_ext in '' $ac_executable_extensions; do
3550 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3551 if test $ac_prog = install &&
3552 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3553 # AIX install. It has an incompatible calling convention.
3555 elif test $ac_prog = install &&
3556 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3557 # program-specific install script used by HP pwplus--don't use.
3560 rm -rf conftest.one conftest.two conftest.dir
3561 echo one > conftest.one
3562 echo two > conftest.two
3564 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3565 test -s conftest.one && test -s conftest.two &&
3566 test -s conftest.dir/conftest.one &&
3567 test -s conftest.dir/conftest.two
3569 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3582 rm -rf conftest.one conftest.two conftest.dir
3585 if test "${ac_cv_path_install+set}" = set; then
3586 INSTALL=$ac_cv_path_install
3588 # As a last resort, use the slow shell script. Don't cache a
3589 # value for INSTALL within a source directory, because that will
3590 # break other packages using the cache if that directory is
3591 # removed, or if the value is a relative name.
3592 INSTALL=$ac_install_sh
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3596 $as_echo "$INSTALL" >&6; }
3598 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3599 # It thinks the first close brace ends the variable substitution.
3600 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3602 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3604 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3607 $as_echo_n "checking whether build environment is sane... " >&6; }
3610 echo timestamp > conftest.file
3611 # Reject unsafe characters in $srcdir or the absolute working directory
3612 # name. Accept space and tab only in the latter.
3616 *[\\\"\#\$\&\'\`$am_lf]*)
3617 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3620 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3621 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3624 # Do `set' in a subshell so we don't clobber the current shell's
3625 # arguments. Must try -L first in case configure is actually a
3626 # symlink; some systems play weird games with the mod time of symlinks
3627 # (eg FreeBSD returns the mod time of the symlink's containing
3630 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3631 if test "$*" = "X"; then
3633 set X `ls -t "$srcdir/configure" conftest.file`
3636 if test "$*" != "X $srcdir/configure conftest.file" \
3637 && test "$*" != "X conftest.file $srcdir/configure"; then
3639 # If neither matched, then we have a broken ls. This can happen
3640 # if, for instance, CONFIG_SHELL is bash and it inherits a
3641 # broken ls alias from the environment. This has actually
3642 # happened. Such a system could not be considered "sane".
3643 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3644 alias in your environment" "$LINENO" 5
3647 test "$2" = conftest.file
3653 as_fn_error "newly created file is older than distributed files!
3654 Check your system clock" "$LINENO" 5
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3657 $as_echo "yes" >&6; }
3658 test "$program_prefix" != NONE &&
3659 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3660 # Use a double $ so make ignores it.
3661 test "$program_suffix" != NONE &&
3662 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3663 # Double any \ or $.
3664 # By default was `s,x,x', remove it if useless.
3665 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3666 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3668 # expand $ac_aux_dir to an absolute path
3669 am_aux_dir=`cd $ac_aux_dir && pwd`
3671 if test x"${MISSING+set}" != xset; then
3674 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3676 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3679 # Use eval to expand $SHELL
3680 if eval "$MISSING --run true"; then
3681 am_missing_run="$MISSING --run "
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3685 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3688 if test x"${install_sh}" != xset; then
3691 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3693 install_sh="\${SHELL} $am_aux_dir/install-sh"
3697 # Installed binaries are usually stripped using `strip' when the user
3698 # run `make install-strip'. However `strip' might not be the right
3699 # tool to use in cross-compilation environments, therefore Automake
3700 # will honor the `STRIP' environment variable to overrule this program.
3701 if test "$cross_compiling" != no; then
3702 if test -n "$ac_tool_prefix"; then
3703 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3704 set dummy ${ac_tool_prefix}strip; ac_word=$2
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3706 $as_echo_n "checking for $ac_word... " >&6; }
3707 if test "${ac_cv_prog_STRIP+set}" = set; then :
3708 $as_echo_n "(cached) " >&6
3710 if test -n "$STRIP"; then
3711 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3717 test -z "$as_dir" && as_dir=.
3718 for ac_exec_ext in '' $ac_executable_extensions; do
3719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3720 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3730 STRIP=$ac_cv_prog_STRIP
3731 if test -n "$STRIP"; then
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3733 $as_echo "$STRIP" >&6; }
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3736 $as_echo "no" >&6; }
3741 if test -z "$ac_cv_prog_STRIP"; then
3743 # Extract the first word of "strip", so it can be a program name with args.
3744 set dummy strip; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3748 $as_echo_n "(cached) " >&6
3750 if test -n "$ac_ct_STRIP"; then
3751 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760 ac_cv_prog_ac_ct_STRIP="strip"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3771 if test -n "$ac_ct_STRIP"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3773 $as_echo "$ac_ct_STRIP" >&6; }
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3779 if test "x$ac_ct_STRIP" = x; then
3782 case $cross_compiling:$ac_tool_warned in
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3786 ac_tool_warned=yes ;;
3791 STRIP="$ac_cv_prog_STRIP"
3795 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3798 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3799 if test -z "$MKDIR_P"; then
3800 if test "${ac_cv_path_mkdir+set}" = set; then :
3801 $as_echo_n "(cached) " >&6
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3807 test -z "$as_dir" && as_dir=.
3808 for ac_prog in mkdir gmkdir; do
3809 for ac_exec_ext in '' $ac_executable_extensions; do
3810 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3811 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3812 'mkdir (GNU coreutils) '* | \
3813 'mkdir (coreutils) '* | \
3814 'mkdir (fileutils) '4.1*)
3815 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3825 test -d ./--version && rmdir ./--version
3826 if test "${ac_cv_path_mkdir+set}" = set; then
3827 MKDIR_P="$ac_cv_path_mkdir -p"
3829 # As a last resort, use the slow shell script. Don't cache a
3830 # value for MKDIR_P within a source directory, because that will
3831 # break other packages using the cache if that directory is
3832 # removed, or if the value is a relative name.
3833 MKDIR_P="$ac_install_sh -d"
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3837 $as_echo "$MKDIR_P" >&6; }
3841 [\\/$]* | ?:[\\/]*) ;;
3842 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3845 for ac_prog in gawk mawk nawk awk
3847 # Extract the first word of "$ac_prog", so it can be a program name with args.
3848 set dummy $ac_prog; ac_word=$2
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3850 $as_echo_n "checking for $ac_word... " >&6; }
3851 if test "${ac_cv_prog_AWK+set}" = set; then :
3852 $as_echo_n "(cached) " >&6
3854 if test -n "$AWK"; then
3855 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3861 test -z "$as_dir" && as_dir=.
3862 for ac_exec_ext in '' $ac_executable_extensions; do
3863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3864 ac_cv_prog_AWK="$ac_prog"
3865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3875 if test -n "$AWK"; then
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3877 $as_echo "$AWK" >&6; }
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3880 $as_echo "no" >&6; }
3884 test -n "$AWK" && break
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3888 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3890 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3891 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3892 $as_echo_n "(cached) " >&6
3894 cat >conftest.make <<\_ACEOF
3897 @echo '@@@%%%=$(MAKE)=@@@%%%'
3899 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3900 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3902 eval ac_cv_prog_make_${ac_make}_set=yes;;
3904 eval ac_cv_prog_make_${ac_make}_set=no;;
3908 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3910 $as_echo "yes" >&6; }
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3915 SET_MAKE="MAKE=${MAKE-make}"
3918 rm -rf .tst 2>/dev/null
3919 mkdir .tst 2>/dev/null
3920 if test -d .tst; then
3925 rmdir .tst 2>/dev/null
3927 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3928 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3929 # is not polluted with repeated "-I."
3930 am__isrc=' -I$(srcdir)'
3931 # test to see if srcdir already configured
3932 if test -f $srcdir/config.status; then
3933 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3937 # test whether we have cygpath
3938 if test -z "$CYGPATH_W"; then
3939 if (cygpath --version) >/dev/null 2>/dev/null; then
3940 CYGPATH_W='cygpath -w'
3947 # Define the identity of the package.
3952 cat >>confdefs.h <<_ACEOF
3953 #define PACKAGE "$PACKAGE"
3957 cat >>confdefs.h <<_ACEOF
3958 #define VERSION "$VERSION"
3961 # Some tools Automake needs.
3963 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3966 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3969 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3972 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3975 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3977 # We need awk for the "check" target. The system "awk" is bad on
3979 # Always define AMTAR for backward compatibility.
3981 AMTAR=${AMTAR-"${am_missing_run}tar"}
3983 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3993 if test -n "${CFLAGS}"; then
3996 if test -n "${CXXFLAGS}"; then
3997 user_set_cxxflags=yes
4001 DEPDIR="${am__leading_dot}deps"
4003 ac_config_commands="$ac_config_commands depfiles"
4006 am_make=${MAKE-make}
4007 cat > confinc << 'END'
4009 @echo this is the am__doit target
4012 # If we don't find an include directive, just comment out the code.
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4014 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4018 # First try GNU make style include.
4019 echo "include confinc" > confmf
4020 # Ignore all kinds of additional output from `make'.
4021 case `$am_make -s -f confmf 2> /dev/null` in #(
4022 *the\ am__doit\ target*)
4028 # Now try BSD make style include.
4029 if test "$am__include" = "#"; then
4030 echo '.include "confinc"' > confmf
4031 case `$am_make -s -f confmf 2> /dev/null` in #(
4032 *the\ am__doit\ target*)
4033 am__include=.include
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4042 $as_echo "$_am_result" >&6; }
4043 rm -f confinc confmf
4045 # Check whether --enable-dependency-tracking was given.
4046 if test "${enable_dependency_tracking+set}" = set; then :
4047 enableval=$enable_dependency_tracking;
4050 if test "x$enable_dependency_tracking" != xno; then
4051 am_depcomp="$ac_aux_dir/depcomp"
4054 if test "x$enable_dependency_tracking" != xno; then
4064 ac_cpp='$CPP $CPPFLAGS'
4065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4068 if test -n "$ac_tool_prefix"; then
4069 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4070 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4072 $as_echo_n "checking for $ac_word... " >&6; }
4073 if test "${ac_cv_prog_CC+set}" = set; then :
4074 $as_echo_n "(cached) " >&6
4076 if test -n "$CC"; then
4077 ac_cv_prog_CC="$CC" # Let the user override the test.
4079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4083 test -z "$as_dir" && as_dir=.
4084 for ac_exec_ext in '' $ac_executable_extensions; do
4085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4086 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4097 if test -n "$CC"; then
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4099 $as_echo "$CC" >&6; }
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102 $as_echo "no" >&6; }
4107 if test -z "$ac_cv_prog_CC"; then
4109 # Extract the first word of "gcc", so it can be a program name with args.
4110 set dummy gcc; ac_word=$2
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112 $as_echo_n "checking for $ac_word... " >&6; }
4113 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4114 $as_echo_n "(cached) " >&6
4116 if test -n "$ac_ct_CC"; then
4117 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123 test -z "$as_dir" && as_dir=.
4124 for ac_exec_ext in '' $ac_executable_extensions; do
4125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4126 ac_cv_prog_ac_ct_CC="gcc"
4127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4137 if test -n "$ac_ct_CC"; then
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4139 $as_echo "$ac_ct_CC" >&6; }
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4142 $as_echo "no" >&6; }
4145 if test "x$ac_ct_CC" = x; then
4148 case $cross_compiling:$ac_tool_warned in
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4152 ac_tool_warned=yes ;;
4160 if test -z "$CC"; then
4161 if test -n "$ac_tool_prefix"; then
4162 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4163 set dummy ${ac_tool_prefix}cc; ac_word=$2
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4165 $as_echo_n "checking for $ac_word... " >&6; }
4166 if test "${ac_cv_prog_CC+set}" = set; then :
4167 $as_echo_n "(cached) " >&6
4169 if test -n "$CC"; then
4170 ac_cv_prog_CC="$CC" # Let the user override the test.
4172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4176 test -z "$as_dir" && as_dir=.
4177 for ac_exec_ext in '' $ac_executable_extensions; do
4178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4179 ac_cv_prog_CC="${ac_tool_prefix}cc"
4180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4190 if test -n "$CC"; then
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4192 $as_echo "$CC" >&6; }
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4195 $as_echo "no" >&6; }
4201 if test -z "$CC"; then
4202 # Extract the first word of "cc", so it can be a program name with args.
4203 set dummy cc; ac_word=$2
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4205 $as_echo_n "checking for $ac_word... " >&6; }
4206 if test "${ac_cv_prog_CC+set}" = set; then :
4207 $as_echo_n "(cached) " >&6
4209 if test -n "$CC"; then
4210 ac_cv_prog_CC="$CC" # Let the user override the test.
4213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4217 test -z "$as_dir" && as_dir=.
4218 for ac_exec_ext in '' $ac_executable_extensions; do
4219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4220 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4221 ac_prog_rejected=yes
4225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4232 if test $ac_prog_rejected = yes; then
4233 # We found a bogon in the path, so make sure we never use it.
4234 set dummy $ac_cv_prog_CC
4236 if test $# != 0; then
4237 # We chose a different compiler from the bogus one.
4238 # However, it has the same basename, so the bogon will be chosen
4239 # first if we set CC to just the basename; use the full file name.
4241 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4247 if test -n "$CC"; then
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4249 $as_echo "$CC" >&6; }
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4252 $as_echo "no" >&6; }
4257 if test -z "$CC"; then
4258 if test -n "$ac_tool_prefix"; then
4259 for ac_prog in cl.exe
4261 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4262 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4264 $as_echo_n "checking for $ac_word... " >&6; }
4265 if test "${ac_cv_prog_CC+set}" = set; then :
4266 $as_echo_n "(cached) " >&6
4268 if test -n "$CC"; then
4269 ac_cv_prog_CC="$CC" # Let the user override the test.
4271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4275 test -z "$as_dir" && as_dir=.
4276 for ac_exec_ext in '' $ac_executable_extensions; do
4277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4278 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4289 if test -n "$CC"; then
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4291 $as_echo "$CC" >&6; }
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4294 $as_echo "no" >&6; }
4298 test -n "$CC" && break
4301 if test -z "$CC"; then
4303 for ac_prog in cl.exe
4305 # Extract the first word of "$ac_prog", so it can be a program name with args.
4306 set dummy $ac_prog; ac_word=$2
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4308 $as_echo_n "checking for $ac_word... " >&6; }
4309 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4310 $as_echo_n "(cached) " >&6
4312 if test -n "$ac_ct_CC"; then
4313 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4319 test -z "$as_dir" && as_dir=.
4320 for ac_exec_ext in '' $ac_executable_extensions; do
4321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4322 ac_cv_prog_ac_ct_CC="$ac_prog"
4323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4332 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4333 if test -n "$ac_ct_CC"; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4335 $as_echo "$ac_ct_CC" >&6; }
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4338 $as_echo "no" >&6; }
4342 test -n "$ac_ct_CC" && break
4345 if test "x$ac_ct_CC" = x; then
4348 case $cross_compiling:$ac_tool_warned in
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4352 ac_tool_warned=yes ;;
4361 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4363 as_fn_error "no acceptable C compiler found in \$PATH
4364 See \`config.log' for more details." "$LINENO" 5; }
4366 # Provide some information about the compiler.
4367 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4370 for ac_option in --version -v -V -qversion; do
4371 { { ac_try="$ac_compiler $ac_option >&5"
4373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4374 *) ac_try_echo=$ac_try;;
4376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4377 $as_echo "$ac_try_echo"; } >&5
4378 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4380 if test -s conftest.err; then
4382 ... rest of stderr output deleted ...
4383 10q' conftest.err >conftest.er1
4384 cat conftest.er1 >&5
4386 rm -f conftest.er1 conftest.err
4387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4388 test $ac_status = 0; }
4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4392 /* end confdefs.h. */
4402 ac_clean_files_save=$ac_clean_files
4403 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4404 # Try to create an executable without -o first, disregard a.out.
4405 # It will help us diagnose broken compilers, and finding out an intuition
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4408 $as_echo_n "checking whether the C compiler works... " >&6; }
4409 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4411 # The possible output files:
4412 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4415 for ac_file in $ac_files
4418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4419 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4424 if { { ac_try="$ac_link_default"
4426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4427 *) ac_try_echo=$ac_try;;
4429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4430 $as_echo "$ac_try_echo"; } >&5
4431 (eval "$ac_link_default") 2>&5
4433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4434 test $ac_status = 0; }; then :
4435 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4436 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4437 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4438 # so that the user can short-circuit this test for compilers unknown to
4440 for ac_file in $ac_files ''
4442 test -f "$ac_file" || continue
4444 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4447 # We found the default executable, but exeext='' is most
4451 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4453 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4455 # We set ac_cv_exeext here because the later test for it is not
4456 # safe: cross compilers may not add the suffix if given an `-o'
4457 # argument, so we may need to know it at that point already.
4458 # Even if this section looks crufty: it has the advantage of
4465 test "$ac_cv_exeext" = no && ac_cv_exeext=
4470 if test -z "$ac_file"; then :
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4472 $as_echo "no" >&6; }
4473 $as_echo "$as_me: failed program was:" >&5
4474 sed 's/^/| /' conftest.$ac_ext >&5
4476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4478 { as_fn_set_status 77
4479 as_fn_error "C compiler cannot create executables
4480 See \`config.log' for more details." "$LINENO" 5; }; }
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4483 $as_echo "yes" >&6; }
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4486 $as_echo_n "checking for C compiler default output file name... " >&6; }
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4488 $as_echo "$ac_file" >&6; }
4489 ac_exeext=$ac_cv_exeext
4491 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4492 ac_clean_files=$ac_clean_files_save
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4494 $as_echo_n "checking for suffix of executables... " >&6; }
4495 if { { ac_try="$ac_link"
4497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4498 *) ac_try_echo=$ac_try;;
4500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4501 $as_echo "$ac_try_echo"; } >&5
4502 (eval "$ac_link") 2>&5
4504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4505 test $ac_status = 0; }; then :
4506 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4507 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4508 # work properly (i.e., refer to `conftest.exe'), while it won't with
4510 for ac_file in conftest.exe conftest conftest.*; do
4511 test -f "$ac_file" || continue
4513 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4514 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4520 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4522 as_fn_error "cannot compute suffix of executables: cannot compile and link
4523 See \`config.log' for more details." "$LINENO" 5; }
4525 rm -f conftest conftest$ac_cv_exeext
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4527 $as_echo "$ac_cv_exeext" >&6; }
4529 rm -f conftest.$ac_ext
4530 EXEEXT=$ac_cv_exeext
4532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4533 /* end confdefs.h. */
4538 FILE *f = fopen ("conftest.out", "w");
4539 return ferror (f) || fclose (f) != 0;
4545 ac_clean_files="$ac_clean_files conftest.out"
4546 # Check that the compiler produces executables we can run. If not, either
4547 # the compiler is broken, or we cross compile.
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4549 $as_echo_n "checking whether we are cross compiling... " >&6; }
4550 if test "$cross_compiling" != yes; then
4551 { { ac_try="$ac_link"
4553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4554 *) ac_try_echo=$ac_try;;
4556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4557 $as_echo "$ac_try_echo"; } >&5
4558 (eval "$ac_link") 2>&5
4560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4561 test $ac_status = 0; }
4562 if { ac_try='./conftest$ac_cv_exeext'
4563 { { case "(($ac_try" in
4564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4565 *) ac_try_echo=$ac_try;;
4567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4568 $as_echo "$ac_try_echo"; } >&5
4569 (eval "$ac_try") 2>&5
4571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4572 test $ac_status = 0; }; }; then
4575 if test "$cross_compiling" = maybe; then
4578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4580 as_fn_error "cannot run C compiled programs.
4581 If you meant to cross compile, use \`--host'.
4582 See \`config.log' for more details." "$LINENO" 5; }
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4587 $as_echo "$cross_compiling" >&6; }
4589 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4590 ac_clean_files=$ac_clean_files_save
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4592 $as_echo_n "checking for suffix of object files... " >&6; }
4593 if test "${ac_cv_objext+set}" = set; then :
4594 $as_echo_n "(cached) " >&6
4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4607 rm -f conftest.o conftest.obj
4608 if { { ac_try="$ac_compile"
4610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4611 *) ac_try_echo=$ac_try;;
4613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4614 $as_echo "$ac_try_echo"; } >&5
4615 (eval "$ac_compile") 2>&5
4617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4618 test $ac_status = 0; }; then :
4619 for ac_file in conftest.o conftest.obj conftest.*; do
4620 test -f "$ac_file" || continue;
4622 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4623 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4628 $as_echo "$as_me: failed program was:" >&5
4629 sed 's/^/| /' conftest.$ac_ext >&5
4631 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4633 as_fn_error "cannot compute suffix of object files: cannot compile
4634 See \`config.log' for more details." "$LINENO" 5; }
4636 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4639 $as_echo "$ac_cv_objext" >&6; }
4640 OBJEXT=$ac_cv_objext
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4643 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4644 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4645 $as_echo_n "(cached) " >&6
4647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4648 /* end confdefs.h. */
4661 if ac_fn_c_try_compile "$LINENO"; then :
4666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4667 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4671 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4672 if test $ac_compiler_gnu = yes; then
4677 ac_test_CFLAGS=${CFLAGS+set}
4678 ac_save_CFLAGS=$CFLAGS
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4680 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4681 if test "${ac_cv_prog_cc_g+set}" = set; then :
4682 $as_echo_n "(cached) " >&6
4684 ac_save_c_werror_flag=$ac_c_werror_flag
4685 ac_c_werror_flag=yes
4688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4689 /* end confdefs.h. */
4699 if ac_fn_c_try_compile "$LINENO"; then :
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4714 if ac_fn_c_try_compile "$LINENO"; then :
4717 ac_c_werror_flag=$ac_save_c_werror_flag
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4730 if ac_fn_c_try_compile "$LINENO"; then :
4733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4738 ac_c_werror_flag=$ac_save_c_werror_flag
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4741 $as_echo "$ac_cv_prog_cc_g" >&6; }
4742 if test "$ac_test_CFLAGS" = set; then
4743 CFLAGS=$ac_save_CFLAGS
4744 elif test $ac_cv_prog_cc_g = yes; then
4745 if test "$GCC" = yes; then
4751 if test "$GCC" = yes; then
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4758 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4759 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4760 $as_echo_n "(cached) " >&6
4762 ac_cv_prog_cc_c89=no
4764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4768 #include <sys/types.h>
4769 #include <sys/stat.h>
4770 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4771 struct buf { int x; };
4772 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4773 static char *e (p, i)
4779 static char *f (char * (*g) (char **, int), char **p, ...)
4784 s = g (p, va_arg (v,int));
4789 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4790 function prototypes and stuff, but not '\xHH' hex character constants.
4791 These don't provoke an error unfortunately, instead are silently treated
4792 as 'x'. The following induces an error, until -std is added to get
4793 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4794 array size at least. It's necessary to write '\x00'==0 to get something
4795 that's true only with -std. */
4796 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4798 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4799 inside strings and character constants. */
4801 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4803 int test (int i, double x);
4804 struct s1 {int (*f) (int a);};
4805 struct s2 {int (*f) (double a);};
4806 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4812 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4817 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4818 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4820 CC="$ac_save_CC $ac_arg"
4821 if ac_fn_c_try_compile "$LINENO"; then :
4822 ac_cv_prog_cc_c89=$ac_arg
4824 rm -f core conftest.err conftest.$ac_objext
4825 test "x$ac_cv_prog_cc_c89" != "xno" && break
4827 rm -f conftest.$ac_ext
4832 case "x$ac_cv_prog_cc_c89" in
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4835 $as_echo "none needed" >&6; } ;;
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4838 $as_echo "unsupported" >&6; } ;;
4840 CC="$CC $ac_cv_prog_cc_c89"
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4842 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4844 if test "x$ac_cv_prog_cc_c89" != xno; then :
4849 ac_cpp='$CPP $CPPFLAGS'
4850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4854 depcc="$CC" am_compiler_list=
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4857 $as_echo_n "checking dependency style of $depcc... " >&6; }
4858 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4859 $as_echo_n "(cached) " >&6
4861 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4862 # We make a subdir and do the tests there. Otherwise we can end up
4863 # making bogus files that we don't know about and never remove. For
4864 # instance it was reported that on HP-UX the gcc test will end up
4865 # making a dummy file named `D' -- because `-MD' means `put the output
4868 # Copy depcomp to subdir because otherwise we won't find it if we're
4869 # using a relative directory.
4870 cp "$am_depcomp" conftest.dir
4872 # We will build objects and dependencies in a subdirectory because
4873 # it helps to detect inapplicable dependency modes. For instance
4874 # both Tru64's cc and ICC support -MD to output dependencies as a
4875 # side effect of compilation, but ICC will put the dependencies in
4876 # the current directory while Tru64 will put them in the object
4880 am_cv_CC_dependencies_compiler_type=none
4881 if test "$am_compiler_list" = ""; then
4882 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4885 case " $depcc " in #(
4886 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4889 for depmode in $am_compiler_list; do
4890 # Setup a source with many dependencies, because some compilers
4891 # like to wrap large dependency lists on column 80 (with \), and
4892 # we should not choose a depcomp mode which is confused by this.
4894 # We need to recreate these files for each test, as the compiler may
4895 # overwrite some of them when testing with obscure command lines.
4896 # This happens at least with the AIX C compiler.
4898 for i in 1 2 3 4 5 6; do
4899 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4900 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4901 # Solaris 8's {/usr,}/bin/sh.
4902 touch sub/conftst$i.h
4904 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4906 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4907 # mode. It turns out that the SunPro C++ compiler does not properly
4908 # handle `-M -o', and we need to detect this. Also, some Intel
4909 # versions had trouble with output in subdirs
4910 am__obj=sub/conftest.${OBJEXT-o}
4911 am__minus_obj="-o $am__obj"
4914 # This depmode causes a compiler race in universal mode.
4915 test "$am__universal" = false || continue
4918 # after this tag, mechanisms are not by side-effect, so they'll
4919 # only be used when explicitly requested
4920 if test "x$enable_dependency_tracking" = xyes; then
4926 msvisualcpp | msvcmsys)
4927 # This compiler won't grok `-c -o', but also, the minuso test has
4928 # not run yet. These depmodes are late enough in the game, and
4929 # so weak that their functioning should not be impacted.
4930 am__obj=conftest.${OBJEXT-o}
4935 if depmode=$depmode \
4936 source=sub/conftest.c object=$am__obj \
4937 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4938 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4939 >/dev/null 2>conftest.err &&
4940 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4941 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4942 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4943 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4944 # icc doesn't choke on unknown options, it will just issue warnings
4945 # or remarks (even with -Werror). So we grep stderr for any message
4946 # that says an option was ignored or not supported.
4947 # When given -MP, icc 7.0 and 7.1 complain thusly:
4948 # icc: Command line warning: ignoring option '-M'; no argument required
4949 # The diagnosis changed in icc 8.0:
4950 # icc: Command line remark: option '-MP' not supported
4951 if (grep 'ignoring option' conftest.err ||
4952 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4953 am_cv_CC_dependencies_compiler_type=$depmode
4962 am_cv_CC_dependencies_compiler_type=none
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4967 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4968 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4971 test "x$enable_dependency_tracking" != xno \
4972 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4974 am__fastdepCC_FALSE='#'
4976 am__fastdepCC_TRUE='#'
4977 am__fastdepCC_FALSE=
4982 ac_cpp='$CPP $CPPFLAGS'
4983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4987 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4988 # On Suns, sometimes $CPP names a directory.
4989 if test -n "$CPP" && test -d "$CPP"; then
4992 if test -z "$CPP"; then
4993 if test "${ac_cv_prog_CPP+set}" = set; then :
4994 $as_echo_n "(cached) " >&6
4996 # Double quotes because CPP needs to be expanded
4997 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5000 for ac_c_preproc_warn_flag in '' yes
5002 # Use a header file that comes with gcc, so configuring glibc
5003 # with a fresh cross-compiler works.
5004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5005 # <limits.h> exists even on freestanding compilers.
5006 # On the NeXT, cc -E runs the code through the compiler's parser,
5007 # not just through cpp. "Syntax error" is here to catch this case.
5008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5009 /* end confdefs.h. */
5011 # include <limits.h>
5013 # include <assert.h>
5017 if ac_fn_c_try_cpp "$LINENO"; then :
5020 # Broken: fails on valid input.
5023 rm -f conftest.err conftest.$ac_ext
5025 # OK, works on sane cases. Now check whether nonexistent headers
5026 # can be detected and how.
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5029 #include <ac_nonexistent.h>
5031 if ac_fn_c_try_cpp "$LINENO"; then :
5032 # Broken: success on invalid input.
5035 # Passes both tests.
5039 rm -f conftest.err conftest.$ac_ext
5042 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5043 rm -f conftest.err conftest.$ac_ext
5044 if $ac_preproc_ok; then :
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5057 $as_echo "$CPP" >&6; }
5059 for ac_c_preproc_warn_flag in '' yes
5061 # Use a header file that comes with gcc, so configuring glibc
5062 # with a fresh cross-compiler works.
5063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5064 # <limits.h> exists even on freestanding compilers.
5065 # On the NeXT, cc -E runs the code through the compiler's parser,
5066 # not just through cpp. "Syntax error" is here to catch this case.
5067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5068 /* end confdefs.h. */
5070 # include <limits.h>
5072 # include <assert.h>
5076 if ac_fn_c_try_cpp "$LINENO"; then :
5079 # Broken: fails on valid input.
5082 rm -f conftest.err conftest.$ac_ext
5084 # OK, works on sane cases. Now check whether nonexistent headers
5085 # can be detected and how.
5086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5087 /* end confdefs.h. */
5088 #include <ac_nonexistent.h>
5090 if ac_fn_c_try_cpp "$LINENO"; then :
5091 # Broken: success on invalid input.
5094 # Passes both tests.
5098 rm -f conftest.err conftest.$ac_ext
5101 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5102 rm -f conftest.err conftest.$ac_ext
5103 if $ac_preproc_ok; then :
5106 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5108 as_fn_error "C preprocessor \"$CPP\" fails sanity check
5109 See \`config.log' for more details." "$LINENO" 5; }
5113 ac_cpp='$CPP $CPPFLAGS'
5114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5121 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5122 if test "${ac_cv_path_GREP+set}" = set; then :
5123 $as_echo_n "(cached) " >&6
5125 if test -z "$GREP"; then
5126 ac_path_GREP_found=false
5127 # Loop through the user's path and test for each of PROGNAME-LIST
5128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5132 test -z "$as_dir" && as_dir=.
5133 for ac_prog in grep ggrep; do
5134 for ac_exec_ext in '' $ac_executable_extensions; do
5135 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5136 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5137 # Check for GNU ac_path_GREP and select it if it is found.
5138 # Check for GNU $ac_path_GREP
5139 case `"$ac_path_GREP" --version 2>&1` in
5141 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5144 $as_echo_n 0123456789 >"conftest.in"
5147 cat "conftest.in" "conftest.in" >"conftest.tmp"
5148 mv "conftest.tmp" "conftest.in"
5149 cp "conftest.in" "conftest.nl"
5150 $as_echo 'GREP' >> "conftest.nl"
5151 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5152 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5153 as_fn_arith $ac_count + 1 && ac_count=$as_val
5154 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5155 # Best one so far, save it but keep looking for a better one
5156 ac_cv_path_GREP="$ac_path_GREP"
5157 ac_path_GREP_max=$ac_count
5159 # 10*(2^10) chars as input seems more than enough
5160 test $ac_count -gt 10 && break
5162 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5165 $ac_path_GREP_found && break 3
5170 if test -z "$ac_cv_path_GREP"; then
5171 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5174 ac_cv_path_GREP=$GREP
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5179 $as_echo "$ac_cv_path_GREP" >&6; }
5180 GREP="$ac_cv_path_GREP"
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5184 $as_echo_n "checking for egrep... " >&6; }
5185 if test "${ac_cv_path_EGREP+set}" = set; then :
5186 $as_echo_n "(cached) " >&6
5188 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5189 then ac_cv_path_EGREP="$GREP -E"
5191 if test -z "$EGREP"; then
5192 ac_path_EGREP_found=false
5193 # Loop through the user's path and test for each of PROGNAME-LIST
5194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5195 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5198 test -z "$as_dir" && as_dir=.
5199 for ac_prog in egrep; do
5200 for ac_exec_ext in '' $ac_executable_extensions; do
5201 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5202 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5203 # Check for GNU ac_path_EGREP and select it if it is found.
5204 # Check for GNU $ac_path_EGREP
5205 case `"$ac_path_EGREP" --version 2>&1` in
5207 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5210 $as_echo_n 0123456789 >"conftest.in"
5213 cat "conftest.in" "conftest.in" >"conftest.tmp"
5214 mv "conftest.tmp" "conftest.in"
5215 cp "conftest.in" "conftest.nl"
5216 $as_echo 'EGREP' >> "conftest.nl"
5217 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5218 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5219 as_fn_arith $ac_count + 1 && ac_count=$as_val
5220 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5221 # Best one so far, save it but keep looking for a better one
5222 ac_cv_path_EGREP="$ac_path_EGREP"
5223 ac_path_EGREP_max=$ac_count
5225 # 10*(2^10) chars as input seems more than enough
5226 test $ac_count -gt 10 && break
5228 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5231 $ac_path_EGREP_found && break 3
5236 if test -z "$ac_cv_path_EGREP"; then
5237 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5240 ac_cv_path_EGREP=$EGREP
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5246 $as_echo "$ac_cv_path_EGREP" >&6; }
5247 EGREP="$ac_cv_path_EGREP"
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5251 $as_echo_n "checking for ANSI C header files... " >&6; }
5252 if test "${ac_cv_header_stdc+set}" = set; then :
5253 $as_echo_n "(cached) " >&6
5255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5256 /* end confdefs.h. */
5270 if ac_fn_c_try_compile "$LINENO"; then :
5271 ac_cv_header_stdc=yes
5273 ac_cv_header_stdc=no
5275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5277 if test $ac_cv_header_stdc = yes; then
5278 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5280 /* end confdefs.h. */
5284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5285 $EGREP "memchr" >/dev/null 2>&1; then :
5288 ac_cv_header_stdc=no
5294 if test $ac_cv_header_stdc = yes; then
5295 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5297 /* end confdefs.h. */
5301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5302 $EGREP "free" >/dev/null 2>&1; then :
5305 ac_cv_header_stdc=no
5311 if test $ac_cv_header_stdc = yes; then
5312 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5313 if test "$cross_compiling" = yes; then :
5316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5320 #if ((' ' & 0x0FF) == 0x020)
5321 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5322 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5324 # define ISLOWER(c) \
5325 (('a' <= (c) && (c) <= 'i') \
5326 || ('j' <= (c) && (c) <= 'r') \
5327 || ('s' <= (c) && (c) <= 'z'))
5328 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5331 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5336 for (i = 0; i < 256; i++)
5337 if (XOR (islower (i), ISLOWER (i))
5338 || toupper (i) != TOUPPER (i))
5343 if ac_fn_c_try_run "$LINENO"; then :
5346 ac_cv_header_stdc=no
5348 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5349 conftest.$ac_objext conftest.beam conftest.$ac_ext
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5355 $as_echo "$ac_cv_header_stdc" >&6; }
5356 if test $ac_cv_header_stdc = yes; then
5358 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5362 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5363 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5364 inttypes.h stdint.h unistd.h
5366 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5367 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5369 eval as_val=\$$as_ac_Header
5370 if test "x$as_val" = x""yes; then :
5371 cat >>confdefs.h <<_ACEOF
5372 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5381 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5382 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
5389 if test "$MINIX" = yes; then
5391 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5394 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5397 $as_echo "#define _MINIX 1" >>confdefs.h
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5403 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5404 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5405 $as_echo_n "(cached) " >&6
5407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5408 /* end confdefs.h. */
5410 # define __EXTENSIONS__ 1
5411 $ac_includes_default
5420 if ac_fn_c_try_compile "$LINENO"; then :
5421 ac_cv_safe_to_define___extensions__=yes
5423 ac_cv_safe_to_define___extensions__=no
5425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5428 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5429 test $ac_cv_safe_to_define___extensions__ = yes &&
5430 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5432 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5434 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5436 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5438 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
5443 $as_echo_n "checking for library containing strerror... " >&6; }
5444 if test "${ac_cv_search_strerror+set}" = set; then :
5445 $as_echo_n "(cached) " >&6
5447 ac_func_search_save_LIBS=$LIBS
5448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5449 /* end confdefs.h. */
5451 /* Override any GCC internal prototype to avoid an error.
5452 Use char because int might match the return type of a GCC
5453 builtin and then its argument prototype would still apply. */
5466 for ac_lib in '' cposix; do
5467 if test -z "$ac_lib"; then
5468 ac_res="none required"
5471 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5473 if ac_fn_c_try_link "$LINENO"; then :
5474 ac_cv_search_strerror=$ac_res
5476 rm -f core conftest.err conftest.$ac_objext \
5478 if test "${ac_cv_search_strerror+set}" = set; then :
5482 if test "${ac_cv_search_strerror+set}" = set; then :
5485 ac_cv_search_strerror=no
5488 LIBS=$ac_func_search_save_LIBS
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
5491 $as_echo "$ac_cv_search_strerror" >&6; }
5492 ac_res=$ac_cv_search_strerror
5493 if test "$ac_res" != no; then :
5494 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5501 ac_cpp='$CXXCPP $CPPFLAGS'
5502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5505 if test -z "$CXX"; then
5506 if test -n "$CCC"; then
5509 if test -n "$ac_tool_prefix"; then
5510 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5512 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5513 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5515 $as_echo_n "checking for $ac_word... " >&6; }
5516 if test "${ac_cv_prog_CXX+set}" = set; then :
5517 $as_echo_n "(cached) " >&6
5519 if test -n "$CXX"; then
5520 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5526 test -z "$as_dir" && as_dir=.
5527 for ac_exec_ext in '' $ac_executable_extensions; do
5528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5529 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540 if test -n "$CXX"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5542 $as_echo "$CXX" >&6; }
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545 $as_echo "no" >&6; }
5549 test -n "$CXX" && break
5552 if test -z "$CXX"; then
5554 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5556 # Extract the first word of "$ac_prog", so it can be a program name with args.
5557 set dummy $ac_prog; ac_word=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559 $as_echo_n "checking for $ac_word... " >&6; }
5560 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5561 $as_echo_n "(cached) " >&6
5563 if test -n "$ac_ct_CXX"; then
5564 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5570 test -z "$as_dir" && as_dir=.
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5573 ac_cv_prog_ac_ct_CXX="$ac_prog"
5574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5584 if test -n "$ac_ct_CXX"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5586 $as_echo "$ac_ct_CXX" >&6; }
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5589 $as_echo "no" >&6; }
5593 test -n "$ac_ct_CXX" && break
5596 if test "x$ac_ct_CXX" = x; then
5599 case $cross_compiling:$ac_tool_warned in
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5603 ac_tool_warned=yes ;;
5611 # Provide some information about the compiler.
5612 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5615 for ac_option in --version -v -V -qversion; do
5616 { { ac_try="$ac_compiler $ac_option >&5"
5618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5619 *) ac_try_echo=$ac_try;;
5621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5622 $as_echo "$ac_try_echo"; } >&5
5623 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5625 if test -s conftest.err; then
5627 ... rest of stderr output deleted ...
5628 10q' conftest.err >conftest.er1
5629 cat conftest.er1 >&5
5631 rm -f conftest.er1 conftest.err
5632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5633 test $ac_status = 0; }
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5637 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5638 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5639 $as_echo_n "(cached) " >&6
5641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5642 /* end confdefs.h. */
5655 if ac_fn_cxx_try_compile "$LINENO"; then :
5660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5661 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5665 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5666 if test $ac_compiler_gnu = yes; then
5671 ac_test_CXXFLAGS=${CXXFLAGS+set}
5672 ac_save_CXXFLAGS=$CXXFLAGS
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5674 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5675 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5676 $as_echo_n "(cached) " >&6
5678 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5679 ac_cxx_werror_flag=yes
5682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5683 /* end confdefs.h. */
5693 if ac_fn_cxx_try_compile "$LINENO"; then :
5694 ac_cv_prog_cxx_g=yes
5697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5698 /* end confdefs.h. */
5708 if ac_fn_cxx_try_compile "$LINENO"; then :
5711 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5714 /* end confdefs.h. */
5724 if ac_fn_cxx_try_compile "$LINENO"; then :
5725 ac_cv_prog_cxx_g=yes
5727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5732 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5735 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5736 if test "$ac_test_CXXFLAGS" = set; then
5737 CXXFLAGS=$ac_save_CXXFLAGS
5738 elif test $ac_cv_prog_cxx_g = yes; then
5739 if test "$GXX" = yes; then
5745 if test "$GXX" = yes; then
5752 ac_cpp='$CPP $CPPFLAGS'
5753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5757 depcc="$CXX" am_compiler_list=
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5760 $as_echo_n "checking dependency style of $depcc... " >&6; }
5761 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5762 $as_echo_n "(cached) " >&6
5764 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5765 # We make a subdir and do the tests there. Otherwise we can end up
5766 # making bogus files that we don't know about and never remove. For
5767 # instance it was reported that on HP-UX the gcc test will end up
5768 # making a dummy file named `D' -- because `-MD' means `put the output
5771 # Copy depcomp to subdir because otherwise we won't find it if we're
5772 # using a relative directory.
5773 cp "$am_depcomp" conftest.dir
5775 # We will build objects and dependencies in a subdirectory because
5776 # it helps to detect inapplicable dependency modes. For instance
5777 # both Tru64's cc and ICC support -MD to output dependencies as a
5778 # side effect of compilation, but ICC will put the dependencies in
5779 # the current directory while Tru64 will put them in the object
5783 am_cv_CXX_dependencies_compiler_type=none
5784 if test "$am_compiler_list" = ""; then
5785 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5788 case " $depcc " in #(
5789 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5792 for depmode in $am_compiler_list; do
5793 # Setup a source with many dependencies, because some compilers
5794 # like to wrap large dependency lists on column 80 (with \), and
5795 # we should not choose a depcomp mode which is confused by this.
5797 # We need to recreate these files for each test, as the compiler may
5798 # overwrite some of them when testing with obscure command lines.
5799 # This happens at least with the AIX C compiler.
5801 for i in 1 2 3 4 5 6; do
5802 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5803 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5804 # Solaris 8's {/usr,}/bin/sh.
5805 touch sub/conftst$i.h
5807 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5809 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5810 # mode. It turns out that the SunPro C++ compiler does not properly
5811 # handle `-M -o', and we need to detect this. Also, some Intel
5812 # versions had trouble with output in subdirs
5813 am__obj=sub/conftest.${OBJEXT-o}
5814 am__minus_obj="-o $am__obj"
5817 # This depmode causes a compiler race in universal mode.
5818 test "$am__universal" = false || continue
5821 # after this tag, mechanisms are not by side-effect, so they'll
5822 # only be used when explicitly requested
5823 if test "x$enable_dependency_tracking" = xyes; then
5829 msvisualcpp | msvcmsys)
5830 # This compiler won't grok `-c -o', but also, the minuso test has
5831 # not run yet. These depmodes are late enough in the game, and
5832 # so weak that their functioning should not be impacted.
5833 am__obj=conftest.${OBJEXT-o}
5838 if depmode=$depmode \
5839 source=sub/conftest.c object=$am__obj \
5840 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5841 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5842 >/dev/null 2>conftest.err &&
5843 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5844 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5845 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5846 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5847 # icc doesn't choke on unknown options, it will just issue warnings
5848 # or remarks (even with -Werror). So we grep stderr for any message
5849 # that says an option was ignored or not supported.
5850 # When given -MP, icc 7.0 and 7.1 complain thusly:
5851 # icc: Command line warning: ignoring option '-M'; no argument required
5852 # The diagnosis changed in icc 8.0:
5853 # icc: Command line remark: option '-MP' not supported
5854 if (grep 'ignoring option' conftest.err ||
5855 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5856 am_cv_CXX_dependencies_compiler_type=$depmode
5865 am_cv_CXX_dependencies_compiler_type=none
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5870 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5871 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5874 test "x$enable_dependency_tracking" != xno \
5875 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5876 am__fastdepCXX_TRUE=
5877 am__fastdepCXX_FALSE='#'
5879 am__fastdepCXX_TRUE='#'
5880 am__fastdepCXX_FALSE=
5885 ac_cpp='$CXXCPP $CPPFLAGS'
5886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
5890 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5891 if test -z "$CXXCPP"; then
5892 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
5893 $as_echo_n "(cached) " >&6
5895 # Double quotes because CXXCPP needs to be expanded
5896 for CXXCPP in "$CXX -E" "/lib/cpp"
5899 for ac_cxx_preproc_warn_flag in '' yes
5901 # Use a header file that comes with gcc, so configuring glibc
5902 # with a fresh cross-compiler works.
5903 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5904 # <limits.h> exists even on freestanding compilers.
5905 # On the NeXT, cc -E runs the code through the compiler's parser,
5906 # not just through cpp. "Syntax error" is here to catch this case.
5907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5908 /* end confdefs.h. */
5910 # include <limits.h>
5912 # include <assert.h>
5916 if ac_fn_cxx_try_cpp "$LINENO"; then :
5919 # Broken: fails on valid input.
5922 rm -f conftest.err conftest.$ac_ext
5924 # OK, works on sane cases. Now check whether nonexistent headers
5925 # can be detected and how.
5926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5927 /* end confdefs.h. */
5928 #include <ac_nonexistent.h>
5930 if ac_fn_cxx_try_cpp "$LINENO"; then :
5931 # Broken: success on invalid input.
5934 # Passes both tests.
5938 rm -f conftest.err conftest.$ac_ext
5941 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5942 rm -f conftest.err conftest.$ac_ext
5943 if $ac_preproc_ok; then :
5948 ac_cv_prog_CXXCPP=$CXXCPP
5951 CXXCPP=$ac_cv_prog_CXXCPP
5953 ac_cv_prog_CXXCPP=$CXXCPP
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
5956 $as_echo "$CXXCPP" >&6; }
5958 for ac_cxx_preproc_warn_flag in '' yes
5960 # Use a header file that comes with gcc, so configuring glibc
5961 # with a fresh cross-compiler works.
5962 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5963 # <limits.h> exists even on freestanding compilers.
5964 # On the NeXT, cc -E runs the code through the compiler's parser,
5965 # not just through cpp. "Syntax error" is here to catch this case.
5966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5967 /* end confdefs.h. */
5969 # include <limits.h>
5971 # include <assert.h>
5975 if ac_fn_cxx_try_cpp "$LINENO"; then :
5978 # Broken: fails on valid input.
5981 rm -f conftest.err conftest.$ac_ext
5983 # OK, works on sane cases. Now check whether nonexistent headers
5984 # can be detected and how.
5985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5986 /* end confdefs.h. */
5987 #include <ac_nonexistent.h>
5989 if ac_fn_cxx_try_cpp "$LINENO"; then :
5990 # Broken: success on invalid input.
5993 # Passes both tests.
5997 rm -f conftest.err conftest.$ac_ext
6000 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6001 rm -f conftest.err conftest.$ac_ext
6002 if $ac_preproc_ok; then :
6005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6007 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
6008 See \`config.log' for more details." "$LINENO" 5; }
6012 ac_cpp='$CPP $CPPFLAGS'
6013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6024 ac_cpp='$CXXCPP $CPPFLAGS'
6025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ has std::isnan" >&5
6032 $as_echo_n "checking whether C++ has std::isnan... " >&6; }
6033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6034 /* end confdefs.h. */
6046 if ac_fn_cxx_try_compile "$LINENO"; then :
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6048 $as_echo "yes" >&6; }
6050 $as_echo "#define CXX_HAS_STD_ISNAN /**/" >>confdefs.h
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6054 $as_echo "no" >&6; }
6056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6059 ac_cpp='$CPP $CPPFLAGS'
6060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gr_libdir_suffix" >&5
6071 $as_echo_n "checking gr_libdir_suffix... " >&6; }
6076 linux*) is_linux=yes ;;
6080 if test "$is_linux" = no || test "$host_cpu" != "x86_64" && test "$host_cpu" != "powerpc64"; then
6082 elif test "$cross_compiling" = yes; then
6084 if test "$ac_cv_cxx_compiler_gnu" = "yes";
6086 gr_libdir_suffix=`$CXX -Wl,--verbose 2>/dev/null | sed -n -e '/SEARCH_DIR/{s/;.*$//; s,^.*/,,; s/".*$//; s/^lib//; p}'`
6089 elif test "$host_cpu" = "x86_64"; then
6090 if test -d /lib64 && test ! -L /lib64; then
6095 if test "$ac_cv_cxx_compiler_gnu" = "yes";
6097 gr_libdir_suffix=`$CXX -Wl,--verbose 2>/dev/null | sed -n -e '/SEARCH_DIR/{s/;.*$//; s,^.*/,,; s/".*$//; s/^lib//; p}'`
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gr_libdir_suffix" >&5
6102 $as_echo "$gr_libdir_suffix" >&6; }
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to append 64 to libdir" >&5
6106 $as_echo_n "checking whether to append 64 to libdir... " >&6; }
6108 if test "$t" != 64 && test "$gr_libdir_suffix" = "64"; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes. Setting libdir to $libdir" >&5
6111 $as_echo "yes. Setting libdir to $libdir" >&6; }
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6114 $as_echo "no" >&6; }
6118 if test "$user_set_cflags" != yes; then
6119 autoconf_default_CFLAGS="$CFLAGS"
6125 if test "$user_set_cxxflags" != yes; then
6126 autoconf_default_CXXFLAGS="$CXXFLAGS"
6128 if test "$GXX" = yes; then
6131 swig_CXXFLAGS="-g1 -O2 -Wno-strict-aliasing -Wno-parentheses"
6134 swig_CXXFLAGS="-g -O1 -Wno-strict-aliasing -Wno-parentheses"
6142 if test x${PKG_CONFIG_PATH} = x; then
6143 PKG_CONFIG_PATH=${prefix}/lib${gr_libdir_suffix}/pkgconfig
6145 PKG_CONFIG_PATH=${prefix}/lib${gr_libdir_suffix}/pkgconfig:${PKG_CONFIG_PATH}
6147 export PKG_CONFIG_PATH
6150 cc_warning_flags="-Wall -Werror-implicit-function-declaration"
6151 cxx_warning_flags="-Wall -Woverloaded-virtual"
6155 echo 'void f(){}' > conftest.c
6156 for i in $cc_warning_flags
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $i" >&5
6159 $as_echo_n "checking whether $CC accepts $i... " >&6; }
6160 if test -z "`${CC} $i -c conftest.c 2>&1`"
6162 lf_CFLAGS="${lf_CFLAGS} $i"
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6164 $as_echo "yes" >&6; }
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6167 $as_echo "no" >&6; }
6170 rm -f conftest.c conftest.o
6177 echo 'void f(){}' > conftest.cc
6178 for i in $cxx_warning_flags
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts $i" >&5
6181 $as_echo_n "checking whether $CXX accepts $i... " >&6; }
6182 if test -z "`${CXX} $i -c conftest.cc 2>&1`"
6184 lf_CXXFLAGS="${lf_CXXFLAGS} $i"
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6186 $as_echo "yes" >&6; }
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6189 $as_echo "no" >&6; }
6192 rm -f conftest.cc conftest.o
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether user wants gprof" >&5
6199 $as_echo_n "checking whether user wants gprof... " >&6; }
6201 # Check whether --with-gprof was given.
6202 if test "${with_gprof+set}" = set; then :
6203 withval=$with_gprof;
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gprof" >&5
6209 $as_echo "$with_gprof" >&6; }
6211 cc_profiling_flags="-pg"
6212 cxx_profiling_flags="-pg"
6213 ld_profiling_flags="-pg"
6214 if test $with_gprof = yes
6219 echo 'void f(){}' > conftest.c
6220 for i in $cc_profiling_flags
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $i" >&5
6223 $as_echo_n "checking whether $CC accepts $i... " >&6; }
6224 if test -z "`${CC} $i -c conftest.c 2>&1`"
6226 lf_CFLAGS="${lf_CFLAGS} $i"
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6228 $as_echo "yes" >&6; }
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6231 $as_echo "no" >&6; }
6234 rm -f conftest.c conftest.o
6241 echo 'void f(){}' > conftest.cc
6242 for i in $cxx_profiling_flags
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts $i" >&5
6245 $as_echo_n "checking whether $CXX accepts $i... " >&6; }
6246 if test -z "`${CXX} $i -c conftest.cc 2>&1`"
6248 lf_CXXFLAGS="${lf_CXXFLAGS} $i"
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6250 $as_echo "yes" >&6; }
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6253 $as_echo "no" >&6; }
6256 rm -f conftest.cc conftest.o
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether user wants prof" >&5
6264 $as_echo_n "checking whether user wants prof... " >&6; }
6266 # Check whether --with-prof was given.
6267 if test "${with_prof+set}" = set; then :
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_prof" >&5
6274 $as_echo "$with_prof" >&6; }
6276 cc_profiling_flags="-p"
6277 cxx_profiling_flags="-p"
6278 ld_profiling_flags="-p"
6279 if test $with_prof = yes
6284 echo 'void f(){}' > conftest.c
6285 for i in $cc_profiling_flags
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $i" >&5
6288 $as_echo_n "checking whether $CC accepts $i... " >&6; }
6289 if test -z "`${CC} $i -c conftest.c 2>&1`"
6291 lf_CFLAGS="${lf_CFLAGS} $i"
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6293 $as_echo "yes" >&6; }
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6296 $as_echo "no" >&6; }
6299 rm -f conftest.c conftest.o
6306 echo 'void f(){}' > conftest.cc
6307 for i in $cxx_profiling_flags
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts $i" >&5
6310 $as_echo_n "checking whether $CXX accepts $i... " >&6; }
6311 if test -z "`${CXX} $i -c conftest.cc 2>&1`"
6313 lf_CXXFLAGS="${lf_CXXFLAGS} $i"
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6315 $as_echo "yes" >&6; }
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6318 $as_echo "no" >&6; }
6321 rm -f conftest.cc conftest.o
6327 # By default we simply use the C compiler to build assembly code.
6329 test "${CCAS+set}" = set || CCAS=$CC
6330 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
6334 depcc="$CCAS" am_compiler_list=
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6337 $as_echo_n "checking dependency style of $depcc... " >&6; }
6338 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
6339 $as_echo_n "(cached) " >&6
6341 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6342 # We make a subdir and do the tests there. Otherwise we can end up
6343 # making bogus files that we don't know about and never remove. For
6344 # instance it was reported that on HP-UX the gcc test will end up
6345 # making a dummy file named `D' -- because `-MD' means `put the output
6348 # Copy depcomp to subdir because otherwise we won't find it if we're
6349 # using a relative directory.
6350 cp "$am_depcomp" conftest.dir
6352 # We will build objects and dependencies in a subdirectory because
6353 # it helps to detect inapplicable dependency modes. For instance
6354 # both Tru64's cc and ICC support -MD to output dependencies as a
6355 # side effect of compilation, but ICC will put the dependencies in
6356 # the current directory while Tru64 will put them in the object
6360 am_cv_CCAS_dependencies_compiler_type=none
6361 if test "$am_compiler_list" = ""; then
6362 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6367 for depmode in $am_compiler_list; do
6368 # Setup a source with many dependencies, because some compilers
6369 # like to wrap large dependency lists on column 80 (with \), and
6370 # we should not choose a depcomp mode which is confused by this.
6372 # We need to recreate these files for each test, as the compiler may
6373 # overwrite some of them when testing with obscure command lines.
6374 # This happens at least with the AIX C compiler.
6376 for i in 1 2 3 4 5 6; do
6377 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6378 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6379 # Solaris 8's {/usr,}/bin/sh.
6380 touch sub/conftst$i.h
6382 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6384 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6385 # mode. It turns out that the SunPro C++ compiler does not properly
6386 # handle `-M -o', and we need to detect this. Also, some Intel
6387 # versions had trouble with output in subdirs
6388 am__obj=sub/conftest.${OBJEXT-o}
6389 am__minus_obj="-o $am__obj"
6392 # This depmode causes a compiler race in universal mode.
6393 test "$am__universal" = false || continue
6396 # after this tag, mechanisms are not by side-effect, so they'll
6397 # only be used when explicitly requested
6398 if test "x$enable_dependency_tracking" = xyes; then
6404 msvisualcpp | msvcmsys)
6405 # This compiler won't grok `-c -o', but also, the minuso test has
6406 # not run yet. These depmodes are late enough in the game, and
6407 # so weak that their functioning should not be impacted.
6408 am__obj=conftest.${OBJEXT-o}
6413 if depmode=$depmode \
6414 source=sub/conftest.c object=$am__obj \
6415 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6416 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6417 >/dev/null 2>conftest.err &&
6418 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6419 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6420 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6421 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6422 # icc doesn't choke on unknown options, it will just issue warnings
6423 # or remarks (even with -Werror). So we grep stderr for any message
6424 # that says an option was ignored or not supported.
6425 # When given -MP, icc 7.0 and 7.1 complain thusly:
6426 # icc: Command line warning: ignoring option '-M'; no argument required
6427 # The diagnosis changed in icc 8.0:
6428 # icc: Command line remark: option '-MP' not supported
6429 if (grep 'ignoring option' conftest.err ||
6430 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6431 am_cv_CCAS_dependencies_compiler_type=$depmode
6440 am_cv_CCAS_dependencies_compiler_type=none
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
6445 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
6446 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
6449 test "x$enable_dependency_tracking" != xno \
6450 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
6451 am__fastdepCCAS_TRUE=
6452 am__fastdepCCAS_FALSE='#'
6454 am__fastdepCCAS_TRUE='#'
6455 am__fastdepCCAS_FALSE=
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6460 $as_echo_n "checking whether ln -s works... " >&6; }
6462 if test "$LN_S" = "ln -s"; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6464 $as_echo "yes" >&6; }
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6467 $as_echo "no, using $LN_S" >&6; }
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6471 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6473 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6474 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6475 $as_echo_n "(cached) " >&6
6477 cat >conftest.make <<\_ACEOF
6480 @echo '@@@%%%=$(MAKE)=@@@%%%'
6482 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6483 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6485 eval ac_cv_prog_make_${ac_make}_set=yes;;
6487 eval ac_cv_prog_make_${ac_make}_set=no;;
6491 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6493 $as_echo "yes" >&6; }
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6497 $as_echo "no" >&6; }
6498 SET_MAKE="MAKE=${MAKE-make}"
6504 # is a backport of autoconf-2.60's AC_PROG_MKDIR_P.
6505 # Remove this macro when we can assume autoconf >= 2.60.
6509 # Extract the first word of "rm", so it can be a program name with args.
6510 set dummy rm; ac_word=$2
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6512 $as_echo_n "checking for $ac_word... " >&6; }
6513 if test "${ac_cv_path_RM_PROG+set}" = set; then :
6514 $as_echo_n "(cached) " >&6
6518 ac_cv_path_RM_PROG="$RM_PROG" # Let the user override the test with a path.
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528 ac_cv_path_RM_PROG="$as_dir/$ac_word$ac_exec_ext"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6539 RM_PROG=$ac_cv_path_RM_PROG
6540 if test -n "$RM_PROG"; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM_PROG" >&5
6542 $as_echo "$RM_PROG" >&6; }
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545 $as_echo "no" >&6; }
6550 enable_win32_dll=yes
6553 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
6554 if test -n "$ac_tool_prefix"; then
6555 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6556 set dummy ${ac_tool_prefix}as; ac_word=$2
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6558 $as_echo_n "checking for $ac_word... " >&6; }
6559 if test "${ac_cv_prog_AS+set}" = set; then :
6560 $as_echo_n "(cached) " >&6
6562 if test -n "$AS"; then
6563 ac_cv_prog_AS="$AS" # Let the user override the test.
6565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6569 test -z "$as_dir" && as_dir=.
6570 for ac_exec_ext in '' $ac_executable_extensions; do
6571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6572 ac_cv_prog_AS="${ac_tool_prefix}as"
6573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6583 if test -n "$AS"; then
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6585 $as_echo "$AS" >&6; }
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588 $as_echo "no" >&6; }
6593 if test -z "$ac_cv_prog_AS"; then
6595 # Extract the first word of "as", so it can be a program name with args.
6596 set dummy as; ac_word=$2
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6598 $as_echo_n "checking for $ac_word... " >&6; }
6599 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
6600 $as_echo_n "(cached) " >&6
6602 if test -n "$ac_ct_AS"; then
6603 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6609 test -z "$as_dir" && as_dir=.
6610 for ac_exec_ext in '' $ac_executable_extensions; do
6611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6612 ac_cv_prog_ac_ct_AS="as"
6613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6622 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6623 if test -n "$ac_ct_AS"; then
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6625 $as_echo "$ac_ct_AS" >&6; }
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6628 $as_echo "no" >&6; }
6631 if test "x$ac_ct_AS" = x; then
6634 case $cross_compiling:$ac_tool_warned in
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6638 ac_tool_warned=yes ;;
6646 if test -n "$ac_tool_prefix"; then
6647 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6648 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650 $as_echo_n "checking for $ac_word... " >&6; }
6651 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6652 $as_echo_n "(cached) " >&6
6654 if test -n "$DLLTOOL"; then
6655 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6661 test -z "$as_dir" && as_dir=.
6662 for ac_exec_ext in '' $ac_executable_extensions; do
6663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6664 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6674 DLLTOOL=$ac_cv_prog_DLLTOOL
6675 if test -n "$DLLTOOL"; then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6677 $as_echo "$DLLTOOL" >&6; }
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6680 $as_echo "no" >&6; }
6685 if test -z "$ac_cv_prog_DLLTOOL"; then
6686 ac_ct_DLLTOOL=$DLLTOOL
6687 # Extract the first word of "dlltool", so it can be a program name with args.
6688 set dummy dlltool; ac_word=$2
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6690 $as_echo_n "checking for $ac_word... " >&6; }
6691 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
6692 $as_echo_n "(cached) " >&6
6694 if test -n "$ac_ct_DLLTOOL"; then
6695 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6701 test -z "$as_dir" && as_dir=.
6702 for ac_exec_ext in '' $ac_executable_extensions; do
6703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6704 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6714 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6715 if test -n "$ac_ct_DLLTOOL"; then
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6717 $as_echo "$ac_ct_DLLTOOL" >&6; }
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 $as_echo "no" >&6; }
6723 if test "x$ac_ct_DLLTOOL" = x; then
6726 case $cross_compiling:$ac_tool_warned in
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6730 ac_tool_warned=yes ;;
6732 DLLTOOL=$ac_ct_DLLTOOL
6735 DLLTOOL="$ac_cv_prog_DLLTOOL"
6738 if test -n "$ac_tool_prefix"; then
6739 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6740 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6742 $as_echo_n "checking for $ac_word... " >&6; }
6743 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6744 $as_echo_n "(cached) " >&6
6746 if test -n "$OBJDUMP"; then
6747 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753 test -z "$as_dir" && as_dir=.
6754 for ac_exec_ext in '' $ac_executable_extensions; do
6755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6756 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 OBJDUMP=$ac_cv_prog_OBJDUMP
6767 if test -n "$OBJDUMP"; then
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6769 $as_echo "$OBJDUMP" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 $as_echo "no" >&6; }
6777 if test -z "$ac_cv_prog_OBJDUMP"; then
6778 ac_ct_OBJDUMP=$OBJDUMP
6779 # Extract the first word of "objdump", so it can be a program name with args.
6780 set dummy objdump; ac_word=$2
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6782 $as_echo_n "checking for $ac_word... " >&6; }
6783 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6784 $as_echo_n "(cached) " >&6
6786 if test -n "$ac_ct_OBJDUMP"; then
6787 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6793 test -z "$as_dir" && as_dir=.
6794 for ac_exec_ext in '' $ac_executable_extensions; do
6795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6796 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6806 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6807 if test -n "$ac_ct_OBJDUMP"; then
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6809 $as_echo "$ac_ct_OBJDUMP" >&6; }
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6812 $as_echo "no" >&6; }
6815 if test "x$ac_ct_OBJDUMP" = x; then
6818 case $cross_compiling:$ac_tool_warned in
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6822 ac_tool_warned=yes ;;
6824 OBJDUMP=$ac_ct_OBJDUMP
6827 OBJDUMP="$ac_cv_prog_OBJDUMP"
6833 test -z "$AS" && AS=as
6839 test -z "$DLLTOOL" && DLLTOOL=dlltool
6845 test -z "$OBJDUMP" && OBJDUMP=objdump
6853 # Check whether --enable-shared was given.
6854 if test "${enable_shared+set}" = set; then :
6855 enableval=$enable_shared; p=${PACKAGE-default}
6857 yes) enable_shared=yes ;;
6858 no) enable_shared=no ;;
6861 # Look at the argument we got. We use all the common list separators.
6862 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6863 for pkg in $enableval; do
6865 if test "X$pkg" = "X$p"; then
6883 # Check whether --enable-static was given.
6884 if test "${enable_static+set}" = set; then :
6885 enableval=$enable_static; p=${PACKAGE-default}
6887 yes) enable_static=yes ;;
6888 no) enable_static=no ;;
6891 # Look at the argument we got. We use all the common list separators.
6892 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6893 for pkg in $enableval; do
6895 if test "X$pkg" = "X$p"; then
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6916 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6921 macro_version='2.2.6'
6922 macro_revision='1.3012'
6936 ltmain="$ac_aux_dir/ltmain.sh"
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6939 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6940 if test "${ac_cv_path_SED+set}" = set; then :
6941 $as_echo_n "(cached) " >&6
6943 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6944 for ac_i in 1 2 3 4 5 6 7; do
6945 ac_script="$ac_script$as_nl$ac_script"
6947 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6948 { ac_script=; unset ac_script;}
6949 if test -z "$SED"; then
6950 ac_path_SED_found=false
6951 # Loop through the user's path and test for each of PROGNAME-LIST
6952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6956 test -z "$as_dir" && as_dir=.
6957 for ac_prog in sed gsed; do
6958 for ac_exec_ext in '' $ac_executable_extensions; do
6959 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6960 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6961 # Check for GNU ac_path_SED and select it if it is found.
6962 # Check for GNU $ac_path_SED
6963 case `"$ac_path_SED" --version 2>&1` in
6965 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6968 $as_echo_n 0123456789 >"conftest.in"
6971 cat "conftest.in" "conftest.in" >"conftest.tmp"
6972 mv "conftest.tmp" "conftest.in"
6973 cp "conftest.in" "conftest.nl"
6974 $as_echo '' >> "conftest.nl"
6975 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6976 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6977 as_fn_arith $ac_count + 1 && ac_count=$as_val
6978 if test $ac_count -gt ${ac_path_SED_max-0}; then
6979 # Best one so far, save it but keep looking for a better one
6980 ac_cv_path_SED="$ac_path_SED"
6981 ac_path_SED_max=$ac_count
6983 # 10*(2^10) chars as input seems more than enough
6984 test $ac_count -gt 10 && break
6986 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6989 $ac_path_SED_found && break 3
6994 if test -z "$ac_cv_path_SED"; then
6995 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7003 $as_echo "$ac_cv_path_SED" >&6; }
7004 SED="$ac_cv_path_SED"
7007 test -z "$SED" && SED=sed
7008 Xsed="$SED -e 1s/^X//"
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7021 $as_echo_n "checking for fgrep... " >&6; }
7022 if test "${ac_cv_path_FGREP+set}" = set; then :
7023 $as_echo_n "(cached) " >&6
7025 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7026 then ac_cv_path_FGREP="$GREP -F"
7028 if test -z "$FGREP"; then
7029 ac_path_FGREP_found=false
7030 # Loop through the user's path and test for each of PROGNAME-LIST
7031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7032 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7035 test -z "$as_dir" && as_dir=.
7036 for ac_prog in fgrep; do
7037 for ac_exec_ext in '' $ac_executable_extensions; do
7038 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7039 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7040 # Check for GNU ac_path_FGREP and select it if it is found.
7041 # Check for GNU $ac_path_FGREP
7042 case `"$ac_path_FGREP" --version 2>&1` in
7044 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7047 $as_echo_n 0123456789 >"conftest.in"
7050 cat "conftest.in" "conftest.in" >"conftest.tmp"
7051 mv "conftest.tmp" "conftest.in"
7052 cp "conftest.in" "conftest.nl"
7053 $as_echo 'FGREP' >> "conftest.nl"
7054 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7055 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7056 as_fn_arith $ac_count + 1 && ac_count=$as_val
7057 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7058 # Best one so far, save it but keep looking for a better one
7059 ac_cv_path_FGREP="$ac_path_FGREP"
7060 ac_path_FGREP_max=$ac_count
7062 # 10*(2^10) chars as input seems more than enough
7063 test $ac_count -gt 10 && break
7065 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7068 $ac_path_FGREP_found && break 3
7073 if test -z "$ac_cv_path_FGREP"; then
7074 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7077 ac_cv_path_FGREP=$FGREP
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7083 $as_echo "$ac_cv_path_FGREP" >&6; }
7084 FGREP="$ac_cv_path_FGREP"
7087 test -z "$GREP" && GREP=grep
7107 # Check whether --with-gnu-ld was given.
7108 if test "${with_gnu_ld+set}" = set; then :
7109 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7115 if test "$GCC" = yes; then
7116 # Check if gcc -print-prog-name=ld gives a path.
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7118 $as_echo_n "checking for ld used by $CC... " >&6; }
7121 # gcc leaves a trailing carriage return which upsets mingw
7122 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7124 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7127 # Accept absolute paths.
7129 re_direlt='/[^/][^/]*/\.\./'
7130 # Canonicalize the pathname of ld
7131 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7132 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7133 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7135 test -z "$LD" && LD="$ac_prog"
7138 # If it fails, then pretend we aren't using GCC.
7142 # If it is relative, then search for the first ld in PATH.
7146 elif test "$with_gnu_ld" = yes; then
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7148 $as_echo_n "checking for GNU ld... " >&6; }
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7151 $as_echo_n "checking for non-GNU ld... " >&6; }
7153 if test "${lt_cv_path_LD+set}" = set; then :
7154 $as_echo_n "(cached) " >&6
7156 if test -z "$LD"; then
7157 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7158 for ac_dir in $PATH; do
7160 test -z "$ac_dir" && ac_dir=.
7161 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7162 lt_cv_path_LD="$ac_dir/$ac_prog"
7163 # Check to see if the program is GNU ld. I'd rather use --version,
7164 # but apparently some variants of GNU ld only accept -v.
7165 # Break only if it was the GNU/non-GNU ld that we prefer.
7166 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7167 *GNU* | *'with BFD'*)
7168 test "$with_gnu_ld" != no && break
7171 test "$with_gnu_ld" != yes && break
7178 lt_cv_path_LD="$LD" # Let the user override the test with a path.
7183 if test -n "$LD"; then
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7185 $as_echo "$LD" >&6; }
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7188 $as_echo "no" >&6; }
7190 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7192 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7193 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
7194 $as_echo_n "(cached) " >&6
7196 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7197 case `$LD -v 2>&1 </dev/null` in
7198 *GNU* | *'with BFD'*)
7199 lt_cv_prog_gnu_ld=yes
7202 lt_cv_prog_gnu_ld=no
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7207 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7208 with_gnu_ld=$lt_cv_prog_gnu_ld
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7219 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7220 if test "${lt_cv_path_NM+set}" = set; then :
7221 $as_echo_n "(cached) " >&6
7223 if test -n "$NM"; then
7224 # Let the user override the test.
7227 lt_nm_to_check="${ac_tool_prefix}nm"
7228 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7229 lt_nm_to_check="$lt_nm_to_check nm"
7231 for lt_tmp_nm in $lt_nm_to_check; do
7232 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7233 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7235 test -z "$ac_dir" && ac_dir=.
7236 tmp_nm="$ac_dir/$lt_tmp_nm"
7237 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7238 # Check to see if the nm accepts a BSD-compat flag.
7239 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7240 # nm: unknown option "B" ignored
7241 # Tru64's nm complains that /dev/null is an invalid object file
7242 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7243 */dev/null* | *'Invalid file or object type'*)
7244 lt_cv_path_NM="$tmp_nm -B"
7248 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7250 lt_cv_path_NM="$tmp_nm -p"
7254 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7255 continue # so that we can try to find one that supports BSD flags
7264 : ${lt_cv_path_NM=no}
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7268 $as_echo "$lt_cv_path_NM" >&6; }
7269 if test "$lt_cv_path_NM" != "no"; then
7272 # Didn't find any BSD compatible name lister, look for dumpbin.
7273 if test -n "$ac_tool_prefix"; then
7274 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
7276 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7277 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7279 $as_echo_n "checking for $ac_word... " >&6; }
7280 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
7281 $as_echo_n "(cached) " >&6
7283 if test -n "$DUMPBIN"; then
7284 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7290 test -z "$as_dir" && as_dir=.
7291 for ac_exec_ext in '' $ac_executable_extensions; do
7292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7293 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7303 DUMPBIN=$ac_cv_prog_DUMPBIN
7304 if test -n "$DUMPBIN"; then
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7306 $as_echo "$DUMPBIN" >&6; }
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7309 $as_echo "no" >&6; }
7313 test -n "$DUMPBIN" && break
7316 if test -z "$DUMPBIN"; then
7317 ac_ct_DUMPBIN=$DUMPBIN
7318 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
7320 # Extract the first word of "$ac_prog", so it can be a program name with args.
7321 set dummy $ac_prog; ac_word=$2
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 $as_echo_n "checking for $ac_word... " >&6; }
7324 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
7325 $as_echo_n "(cached) " >&6
7327 if test -n "$ac_ct_DUMPBIN"; then
7328 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 test -z "$as_dir" && as_dir=.
7335 for ac_exec_ext in '' $ac_executable_extensions; do
7336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7337 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7347 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7348 if test -n "$ac_ct_DUMPBIN"; then
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7350 $as_echo "$ac_ct_DUMPBIN" >&6; }
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7353 $as_echo "no" >&6; }
7357 test -n "$ac_ct_DUMPBIN" && break
7360 if test "x$ac_ct_DUMPBIN" = x; then
7363 case $cross_compiling:$ac_tool_warned in
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7367 ac_tool_warned=yes ;;
7369 DUMPBIN=$ac_ct_DUMPBIN
7374 if test "$DUMPBIN" != ":"; then
7378 test -z "$NM" && NM=nm
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7386 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7387 if test "${lt_cv_nm_interface+set}" = set; then :
7388 $as_echo_n "(cached) " >&6
7390 lt_cv_nm_interface="BSD nm"
7391 echo "int some_variable = 0;" > conftest.$ac_ext
7392 (eval echo "\"\$as_me:7392: $ac_compile\"" >&5)
7393 (eval "$ac_compile" 2>conftest.err)
7394 cat conftest.err >&5
7395 (eval echo "\"\$as_me:7395: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7396 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7397 cat conftest.err >&5
7398 (eval echo "\"\$as_me:7398: output\"" >&5)
7399 cat conftest.out >&5
7400 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7401 lt_cv_nm_interface="MS dumpbin"
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7406 $as_echo "$lt_cv_nm_interface" >&6; }
7408 # find the maximum length of command line arguments
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7410 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7411 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7412 $as_echo_n "(cached) " >&6
7419 # On DJGPP, this test can blow up pretty badly due to problems in libc
7420 # (any single argument exceeding 2000 bytes causes a buffer overrun
7421 # during glob expansion). Even if it were fixed, the result of this
7422 # check would be larger than it should be.
7423 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7427 # Under GNU Hurd, this test is not required because there is
7428 # no limit to the length of command line arguments.
7429 # Libtool will interpret -1 as no limit whatsoever
7430 lt_cv_sys_max_cmd_len=-1;
7433 cygwin* | mingw* | cegcc*)
7434 # On Win9x/ME, this test blows up -- it succeeds, but takes
7435 # about 5 minutes as the teststring grows exponentially.
7436 # Worse, since 9x/ME are not pre-emptively multitasking,
7437 # you end up with a "frozen" computer, even though with patience
7438 # the test eventually succeeds (with a max line length of 256k).
7439 # Instead, let's just punt: use the minimum linelength reported by
7440 # all of the supported platforms: 8192 (on NT/2K/XP).
7441 lt_cv_sys_max_cmd_len=8192;
7445 # On AmigaOS with pdksh, this test takes hours, literally.
7446 # So we just punt and use a minimum line length of 8192.
7447 lt_cv_sys_max_cmd_len=8192;
7450 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7451 # This has been around since 386BSD, at least. Likely further.
7452 if test -x /sbin/sysctl; then
7453 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7454 elif test -x /usr/sbin/sysctl; then
7455 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7457 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7459 # And add a safety zone
7460 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7461 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7465 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7466 lt_cv_sys_max_cmd_len=196608
7470 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7471 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7472 # nice to cause kernel panics so lets avoid the loop below.
7473 # First set a reasonable default.
7474 lt_cv_sys_max_cmd_len=16384
7476 if test -x /sbin/sysconfig; then
7477 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7478 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7483 lt_cv_sys_max_cmd_len=102400
7485 sysv5* | sco5v6* | sysv4.2uw2*)
7486 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7487 if test -n "$kargmax"; then
7488 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7490 lt_cv_sys_max_cmd_len=32768
7494 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7495 if test -n "$lt_cv_sys_max_cmd_len"; then
7496 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7497 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7499 # Make teststring a little bigger before we do anything with it.
7500 # a 1K string should be a reasonable start.
7501 for i in 1 2 3 4 5 6 7 8 ; do
7502 teststring=$teststring$teststring
7504 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7505 # If test is not a shell built-in, we'll probably end up computing a
7506 # maximum length that is only half of the actual maximum length, but
7508 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
7509 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
7510 test $i != 17 # 1/2 MB should be enough
7513 teststring=$teststring$teststring
7515 # Only check the string length outside the loop.
7516 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7518 # Add a significant safety factor because C++ compilers can tack on
7519 # massive amounts of additional arguments before passing them to the
7520 # linker. It appears as though 1/2 is a usable value.
7521 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7528 if test -n $lt_cv_sys_max_cmd_len ; then
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7530 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7533 $as_echo "none" >&6; }
7535 max_cmd_len=$lt_cv_sys_max_cmd_len
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7547 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7548 # Try some XSI features
7551 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7553 && eval 'test $(( 1 + 1 )) -eq 2 \
7554 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7557 $as_echo "$xsi_shell" >&6; }
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7561 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7563 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7565 && lt_shell_append=yes
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7567 $as_echo "$lt_shell_append" >&6; }
7570 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7580 # test EBCDIC or ASCII
7581 case `echo X|tr X '\101'` in
7582 A) # ASCII based system
7583 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7584 lt_SP2NL='tr \040 \012'
7585 lt_NL2SP='tr \015\012 \040\040'
7587 *) # EBCDIC based system
7588 lt_SP2NL='tr \100 \n'
7589 lt_NL2SP='tr \r\n \100\100'
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7602 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7603 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7604 $as_echo_n "(cached) " >&6
7606 lt_cv_ld_reload_flag='-r'
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7609 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7610 reload_flag=$lt_cv_ld_reload_flag
7611 case $reload_flag in
7613 *) reload_flag=" $reload_flag" ;;
7615 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7618 if test "$GCC" = yes; then
7619 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7621 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7634 if test -n "$ac_tool_prefix"; then
7635 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7636 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7638 $as_echo_n "checking for $ac_word... " >&6; }
7639 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7640 $as_echo_n "(cached) " >&6
7642 if test -n "$OBJDUMP"; then
7643 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7649 test -z "$as_dir" && as_dir=.
7650 for ac_exec_ext in '' $ac_executable_extensions; do
7651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7652 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7662 OBJDUMP=$ac_cv_prog_OBJDUMP
7663 if test -n "$OBJDUMP"; then
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7665 $as_echo "$OBJDUMP" >&6; }
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7668 $as_echo "no" >&6; }
7673 if test -z "$ac_cv_prog_OBJDUMP"; then
7674 ac_ct_OBJDUMP=$OBJDUMP
7675 # Extract the first word of "objdump", so it can be a program name with args.
7676 set dummy objdump; ac_word=$2
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7678 $as_echo_n "checking for $ac_word... " >&6; }
7679 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7680 $as_echo_n "(cached) " >&6
7682 if test -n "$ac_ct_OBJDUMP"; then
7683 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7689 test -z "$as_dir" && as_dir=.
7690 for ac_exec_ext in '' $ac_executable_extensions; do
7691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7692 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7702 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7703 if test -n "$ac_ct_OBJDUMP"; then
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7705 $as_echo "$ac_ct_OBJDUMP" >&6; }
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7708 $as_echo "no" >&6; }
7711 if test "x$ac_ct_OBJDUMP" = x; then
7714 case $cross_compiling:$ac_tool_warned in
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7718 ac_tool_warned=yes ;;
7720 OBJDUMP=$ac_ct_OBJDUMP
7723 OBJDUMP="$ac_cv_prog_OBJDUMP"
7726 test -z "$OBJDUMP" && OBJDUMP=objdump
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7734 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7735 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7736 $as_echo_n "(cached) " >&6
7738 lt_cv_file_magic_cmd='$MAGIC_CMD'
7739 lt_cv_file_magic_test_file=
7740 lt_cv_deplibs_check_method='unknown'
7741 # Need to set the preceding variable on all platforms that support
7742 # interlibrary dependencies.
7743 # 'none' -- dependencies not supported.
7744 # `unknown' -- same as none, but documents that we really don't know.
7745 # 'pass_all' -- all dependencies passed with no checks.
7746 # 'test_compile' -- check by making test program.
7747 # 'file_magic [[regex]]' -- check by looking for files in library path
7748 # which responds to the $file_magic_cmd with a given extended regex.
7749 # If you have `file' or equivalent on your system and you're not sure
7750 # whether `pass_all' will *always* work, you probably want this one.
7754 lt_cv_deplibs_check_method=pass_all
7758 lt_cv_deplibs_check_method=pass_all
7762 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7763 lt_cv_file_magic_cmd='/usr/bin/file -L'
7764 lt_cv_file_magic_test_file=/shlib/libc.so
7768 # func_win32_libid is a shell function defined in ltmain.sh
7769 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7770 lt_cv_file_magic_cmd='func_win32_libid'
7774 # Base MSYS/MinGW do not provide the 'file' command needed by
7775 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7776 # unless we find 'file', for example because we are cross-compiling.
7777 if ( file / ) >/dev/null 2>&1; then
7778 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7779 lt_cv_file_magic_cmd='func_win32_libid'
7781 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7782 lt_cv_file_magic_cmd='$OBJDUMP -f'
7787 # use the weaker test based on 'objdump'. See mingw*.
7788 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7789 lt_cv_file_magic_cmd='$OBJDUMP -f'
7792 darwin* | rhapsody*)
7793 lt_cv_deplibs_check_method=pass_all
7796 freebsd* | dragonfly*)
7797 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7800 # Not sure whether the presence of OpenBSD here was a mistake.
7801 # Let's accept both of them until this is cleared up.
7802 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7803 lt_cv_file_magic_cmd=/usr/bin/file
7804 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7808 lt_cv_deplibs_check_method=pass_all
7813 lt_cv_deplibs_check_method=pass_all
7816 hpux10.20* | hpux11*)
7817 lt_cv_file_magic_cmd=/usr/bin/file
7820 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7821 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7824 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]'
7825 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7828 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7829 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7835 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7836 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7839 irix5* | irix6* | nonstopux*)
7841 *-32|*"-32 ") libmagic=32-bit;;
7842 *-n32|*"-n32 ") libmagic=N32;;
7843 *-64|*"-64 ") libmagic=64-bit;;
7844 *) libmagic=never-match;;
7846 lt_cv_deplibs_check_method=pass_all
7849 # This must be Linux ELF.
7850 linux* | k*bsd*-gnu)
7851 lt_cv_deplibs_check_method=pass_all
7854 netbsd* | netbsdelf*-gnu)
7855 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7856 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7858 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7863 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7864 lt_cv_file_magic_cmd=/usr/bin/file
7865 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7869 lt_cv_deplibs_check_method=pass_all
7873 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7874 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7876 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7880 osf3* | osf4* | osf5*)
7881 lt_cv_deplibs_check_method=pass_all
7885 lt_cv_deplibs_check_method=pass_all
7889 lt_cv_deplibs_check_method=pass_all
7892 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7893 lt_cv_deplibs_check_method=pass_all
7897 case $host_vendor in
7899 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]'
7900 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7903 lt_cv_deplibs_check_method=pass_all
7906 lt_cv_file_magic_cmd='/bin/file'
7907 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7910 lt_cv_file_magic_cmd='/bin/file'
7911 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7912 lt_cv_file_magic_test_file=/lib/libc.so
7915 lt_cv_deplibs_check_method=pass_all
7918 lt_cv_deplibs_check_method=pass_all
7924 lt_cv_deplibs_check_method=pass_all
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7930 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7931 file_magic_cmd=$lt_cv_file_magic_cmd
7932 deplibs_check_method=$lt_cv_deplibs_check_method
7933 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7946 if test -n "$ac_tool_prefix"; then
7947 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7948 set dummy ${ac_tool_prefix}ar; ac_word=$2
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7950 $as_echo_n "checking for $ac_word... " >&6; }
7951 if test "${ac_cv_prog_AR+set}" = set; then :
7952 $as_echo_n "(cached) " >&6
7954 if test -n "$AR"; then
7955 ac_cv_prog_AR="$AR" # Let the user override the test.
7957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7961 test -z "$as_dir" && as_dir=.
7962 for ac_exec_ext in '' $ac_executable_extensions; do
7963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7964 ac_cv_prog_AR="${ac_tool_prefix}ar"
7965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 if test -n "$AR"; then
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7977 $as_echo "$AR" >&6; }
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7980 $as_echo "no" >&6; }
7985 if test -z "$ac_cv_prog_AR"; then
7987 # Extract the first word of "ar", so it can be a program name with args.
7988 set dummy ar; ac_word=$2
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7990 $as_echo_n "checking for $ac_word... " >&6; }
7991 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7992 $as_echo_n "(cached) " >&6
7994 if test -n "$ac_ct_AR"; then
7995 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8001 test -z "$as_dir" && as_dir=.
8002 for ac_exec_ext in '' $ac_executable_extensions; do
8003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8004 ac_cv_prog_ac_ct_AR="ar"
8005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8014 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8015 if test -n "$ac_ct_AR"; then
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8017 $as_echo "$ac_ct_AR" >&6; }
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8020 $as_echo "no" >&6; }
8023 if test "x$ac_ct_AR" = x; then
8026 case $cross_compiling:$ac_tool_warned in
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8030 ac_tool_warned=yes ;;
8038 test -z "$AR" && AR=ar
8039 test -z "$AR_FLAGS" && AR_FLAGS=cru
8051 if test -n "$ac_tool_prefix"; then
8052 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8053 set dummy ${ac_tool_prefix}strip; ac_word=$2
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8055 $as_echo_n "checking for $ac_word... " >&6; }
8056 if test "${ac_cv_prog_STRIP+set}" = set; then :
8057 $as_echo_n "(cached) " >&6
8059 if test -n "$STRIP"; then
8060 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8066 test -z "$as_dir" && as_dir=.
8067 for ac_exec_ext in '' $ac_executable_extensions; do
8068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8069 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8079 STRIP=$ac_cv_prog_STRIP
8080 if test -n "$STRIP"; then
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8082 $as_echo "$STRIP" >&6; }
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8085 $as_echo "no" >&6; }
8090 if test -z "$ac_cv_prog_STRIP"; then
8092 # Extract the first word of "strip", so it can be a program name with args.
8093 set dummy strip; ac_word=$2
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8095 $as_echo_n "checking for $ac_word... " >&6; }
8096 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
8097 $as_echo_n "(cached) " >&6
8099 if test -n "$ac_ct_STRIP"; then
8100 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8106 test -z "$as_dir" && as_dir=.
8107 for ac_exec_ext in '' $ac_executable_extensions; do
8108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8109 ac_cv_prog_ac_ct_STRIP="strip"
8110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8119 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8120 if test -n "$ac_ct_STRIP"; then
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8122 $as_echo "$ac_ct_STRIP" >&6; }
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125 $as_echo "no" >&6; }
8128 if test "x$ac_ct_STRIP" = x; then
8131 case $cross_compiling:$ac_tool_warned in
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8135 ac_tool_warned=yes ;;
8140 STRIP="$ac_cv_prog_STRIP"
8143 test -z "$STRIP" && STRIP=:
8150 if test -n "$ac_tool_prefix"; then
8151 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8152 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8154 $as_echo_n "checking for $ac_word... " >&6; }
8155 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8156 $as_echo_n "(cached) " >&6
8158 if test -n "$RANLIB"; then
8159 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8165 test -z "$as_dir" && as_dir=.
8166 for ac_exec_ext in '' $ac_executable_extensions; do
8167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8168 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8178 RANLIB=$ac_cv_prog_RANLIB
8179 if test -n "$RANLIB"; then
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8181 $as_echo "$RANLIB" >&6; }
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8184 $as_echo "no" >&6; }
8189 if test -z "$ac_cv_prog_RANLIB"; then
8190 ac_ct_RANLIB=$RANLIB
8191 # Extract the first word of "ranlib", so it can be a program name with args.
8192 set dummy ranlib; ac_word=$2
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8194 $as_echo_n "checking for $ac_word... " >&6; }
8195 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
8196 $as_echo_n "(cached) " >&6
8198 if test -n "$ac_ct_RANLIB"; then
8199 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8205 test -z "$as_dir" && as_dir=.
8206 for ac_exec_ext in '' $ac_executable_extensions; do
8207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8208 ac_cv_prog_ac_ct_RANLIB="ranlib"
8209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8218 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8219 if test -n "$ac_ct_RANLIB"; then
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8221 $as_echo "$ac_ct_RANLIB" >&6; }
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8224 $as_echo "no" >&6; }
8227 if test "x$ac_ct_RANLIB" = x; then
8230 case $cross_compiling:$ac_tool_warned in
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8234 ac_tool_warned=yes ;;
8236 RANLIB=$ac_ct_RANLIB
8239 RANLIB="$ac_cv_prog_RANLIB"
8242 test -z "$RANLIB" && RANLIB=:
8249 # Determine commands to create old-style static archives.
8250 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8251 old_postinstall_cmds='chmod 644 $oldlib'
8252 old_postuninstall_cmds=
8254 if test -n "$RANLIB"; then
8257 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8260 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8263 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8299 # If no C compiler was specified, use CC.
8302 # If no C compiler flags were specified, use CFLAGS.
8303 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8305 # Allow CC to be a program name with arguments.
8309 # Check for command to grab the raw symbol name followed by C symbol from nm.
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8311 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8312 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
8313 $as_echo_n "(cached) " >&6
8316 # These are sane defaults that work on at least a few old systems.
8317 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8319 # Character class describing NM global symbol codes.
8320 symcode='[BCDEGRST]'
8322 # Regexp to match symbols that can be accessed directly from C.
8323 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8325 # Define system-specific variables.
8330 cygwin* | mingw* | pw32* | cegcc*)
8331 symcode='[ABCDGISTW]'
8334 if test "$host_cpu" = ia64; then
8335 symcode='[ABCDEGRST]'
8339 symcode='[BCDEGRST]'
8342 symcode='[BCDEGQRST]'
8353 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8361 # If we're using GNU nm, then use its standard symbol codes.
8362 case `$NM -V 2>&1` in
8363 *GNU* | *'with BFD'*)
8364 symcode='[ABCDGIRSTW]' ;;
8367 # Transform an extracted symbol line into a proper C declaration.
8368 # Some systems (esp. on ia64) link data and code symbols differently,
8369 # so use this general approach.
8370 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8372 # Transform an extracted symbol line into symbol name and symbol address
8373 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8374 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'"
8376 # Handle CRLF in mingw tool chain
8380 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8384 # Try without a prefix underscore, then with it.
8385 for ac_symprfx in "" "_"; do
8387 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8388 symxfrm="\\1 $ac_symprfx\\2 \\2"
8390 # Write the raw and C identifiers.
8391 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8392 # Fake it for dumpbin and say T for any non-static function
8393 # and D for any global variable.
8394 # Also find C++ and __fastcall symbols from MSVC++,
8395 # which start with @ or ?.
8396 lt_cv_sys_global_symbol_pipe="$AWK '"\
8397 " {last_section=section; section=\$ 3};"\
8398 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8399 " \$ 0!~/External *\|/{next};"\
8400 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8401 " {if(hide[section]) next};"\
8402 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8403 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8404 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8405 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8406 " ' prfx=^$ac_symprfx"
8408 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8411 # Check to see that the pipe works correctly.
8415 cat > conftest.$ac_ext <<_LT_EOF
8420 void nm_test_func(void);
8421 void nm_test_func(void){}
8425 int main(){nm_test_var='a';nm_test_func();return(0);}
8428 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8429 (eval $ac_compile) 2>&5
8431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8432 test $ac_status = 0; }; then
8433 # Now try to grab the symbols.
8435 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
8436 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8439 test $ac_status = 0; } && test -s "$nlist"; then
8440 # Try sorting and uniquifying the output.
8441 if sort "$nlist" | uniq > "$nlist"T; then
8442 mv -f "$nlist"T "$nlist"
8447 # Make sure that we snagged all the symbols we need.
8448 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8449 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8450 cat <<_LT_EOF > conftest.$ac_ext
8456 # Now generate the symbol file.
8457 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8459 cat <<_LT_EOF >> conftest.$ac_ext
8461 /* The mapping between symbol names and symbols. */
8466 lt__PROGRAM__LTX_preloaded_symbols[] =
8468 { "@PROGRAM@", (void *) 0 },
8470 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8471 cat <<\_LT_EOF >> conftest.$ac_ext
8475 /* This works around a problem in FreeBSD linker */
8476 #ifdef FREEBSD_WORKAROUND
8477 static const void *lt_preloaded_setup() {
8478 return lt__PROGRAM__LTX_preloaded_symbols;
8486 # Now try linking the two files.
8487 mv conftest.$ac_objext conftstm.$ac_objext
8488 lt_save_LIBS="$LIBS"
8489 lt_save_CFLAGS="$CFLAGS"
8490 LIBS="conftstm.$ac_objext"
8491 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8492 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8493 (eval $ac_link) 2>&5
8495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8496 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8499 LIBS="$lt_save_LIBS"
8500 CFLAGS="$lt_save_CFLAGS"
8502 echo "cannot find nm_test_func in $nlist" >&5
8505 echo "cannot find nm_test_var in $nlist" >&5
8508 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8511 echo "$progname: failed program was:" >&5
8512 cat conftest.$ac_ext >&5
8514 rm -rf conftest* conftst*
8516 # Do not use the global_symbol_pipe unless it works.
8517 if test "$pipe_works" = yes; then
8520 lt_cv_sys_global_symbol_pipe=
8526 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8527 lt_cv_sys_global_symbol_to_cdecl=
8529 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8531 $as_echo "failed" >&6; }
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8534 $as_echo "ok" >&6; }
8558 # Check whether --enable-libtool-lock was given.
8559 if test "${enable_libtool_lock+set}" = set; then :
8560 enableval=$enable_libtool_lock;
8563 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8565 # Some flags need to be propagated to the compiler or linker for good
8569 # Find out which ABI we are using.
8570 echo 'int i;' > conftest.$ac_ext
8571 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8572 (eval $ac_compile) 2>&5
8574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8575 test $ac_status = 0; }; then
8576 case `/usr/bin/file conftest.$ac_objext` in
8588 # Find out which ABI we are using.
8589 echo '#line 8589 "configure"' > conftest.$ac_ext
8590 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8591 (eval $ac_compile) 2>&5
8593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8594 test $ac_status = 0; }; then
8595 if test "$lt_cv_prog_gnu_ld" = yes; then
8596 case `/usr/bin/file conftest.$ac_objext` in
8598 LD="${LD-ld} -melf32bsmip"
8601 LD="${LD-ld} -melf32bmipn32"
8604 LD="${LD-ld} -melf64bmip"
8608 case `/usr/bin/file conftest.$ac_objext` in
8624 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8625 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8626 # Find out which ABI we are using.
8627 echo 'int i;' > conftest.$ac_ext
8628 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8629 (eval $ac_compile) 2>&5
8631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8632 test $ac_status = 0; }; then
8633 case `/usr/bin/file conftest.o` in
8636 x86_64-*kfreebsd*-gnu)
8637 LD="${LD-ld} -m elf_i386_fbsd"
8640 LD="${LD-ld} -m elf_i386"
8642 ppc64-*linux*|powerpc64-*linux*)
8643 LD="${LD-ld} -m elf32ppclinux"
8646 LD="${LD-ld} -m elf_s390"
8649 LD="${LD-ld} -m elf32_sparc"
8655 x86_64-*kfreebsd*-gnu)
8656 LD="${LD-ld} -m elf_x86_64_fbsd"
8659 LD="${LD-ld} -m elf_x86_64"
8661 ppc*-*linux*|powerpc*-*linux*)
8662 LD="${LD-ld} -m elf64ppc"
8664 s390*-*linux*|s390*-*tpf*)
8665 LD="${LD-ld} -m elf64_s390"
8668 LD="${LD-ld} -m elf64_sparc"
8678 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8679 SAVE_CFLAGS="$CFLAGS"
8680 CFLAGS="$CFLAGS -belf"
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8682 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8683 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8684 $as_echo_n "(cached) " >&6
8687 ac_cpp='$CPP $CPPFLAGS'
8688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8693 /* end confdefs.h. */
8703 if ac_fn_c_try_link "$LINENO"; then :
8704 lt_cv_cc_needs_belf=yes
8706 lt_cv_cc_needs_belf=no
8708 rm -f core conftest.err conftest.$ac_objext \
8709 conftest$ac_exeext conftest.$ac_ext
8711 ac_cpp='$CPP $CPPFLAGS'
8712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8718 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8719 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8720 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8721 CFLAGS="$SAVE_CFLAGS"
8725 # Find out which ABI we are using.
8726 echo 'int i;' > conftest.$ac_ext
8727 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8728 (eval $ac_compile) 2>&5
8730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8731 test $ac_status = 0; }; then
8732 case `/usr/bin/file conftest.o` in
8734 case $lt_cv_prog_gnu_ld in
8735 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8737 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8749 need_locks="$enable_libtool_lock"
8753 rhapsody* | darwin*)
8754 if test -n "$ac_tool_prefix"; then
8755 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8756 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8758 $as_echo_n "checking for $ac_word... " >&6; }
8759 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8760 $as_echo_n "(cached) " >&6
8762 if test -n "$DSYMUTIL"; then
8763 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8769 test -z "$as_dir" && as_dir=.
8770 for ac_exec_ext in '' $ac_executable_extensions; do
8771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8772 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8782 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8783 if test -n "$DSYMUTIL"; then
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8785 $as_echo "$DSYMUTIL" >&6; }
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8788 $as_echo "no" >&6; }
8793 if test -z "$ac_cv_prog_DSYMUTIL"; then
8794 ac_ct_DSYMUTIL=$DSYMUTIL
8795 # Extract the first word of "dsymutil", so it can be a program name with args.
8796 set dummy dsymutil; ac_word=$2
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8798 $as_echo_n "checking for $ac_word... " >&6; }
8799 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8800 $as_echo_n "(cached) " >&6
8802 if test -n "$ac_ct_DSYMUTIL"; then
8803 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8809 test -z "$as_dir" && as_dir=.
8810 for ac_exec_ext in '' $ac_executable_extensions; do
8811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8812 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8822 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8823 if test -n "$ac_ct_DSYMUTIL"; then
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8825 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8828 $as_echo "no" >&6; }
8831 if test "x$ac_ct_DSYMUTIL" = x; then
8834 case $cross_compiling:$ac_tool_warned in
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8838 ac_tool_warned=yes ;;
8840 DSYMUTIL=$ac_ct_DSYMUTIL
8843 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8846 if test -n "$ac_tool_prefix"; then
8847 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8848 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8850 $as_echo_n "checking for $ac_word... " >&6; }
8851 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8852 $as_echo_n "(cached) " >&6
8854 if test -n "$NMEDIT"; then
8855 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8861 test -z "$as_dir" && as_dir=.
8862 for ac_exec_ext in '' $ac_executable_extensions; do
8863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8864 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8874 NMEDIT=$ac_cv_prog_NMEDIT
8875 if test -n "$NMEDIT"; then
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8877 $as_echo "$NMEDIT" >&6; }
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8880 $as_echo "no" >&6; }
8885 if test -z "$ac_cv_prog_NMEDIT"; then
8886 ac_ct_NMEDIT=$NMEDIT
8887 # Extract the first word of "nmedit", so it can be a program name with args.
8888 set dummy nmedit; ac_word=$2
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8890 $as_echo_n "checking for $ac_word... " >&6; }
8891 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8892 $as_echo_n "(cached) " >&6
8894 if test -n "$ac_ct_NMEDIT"; then
8895 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8901 test -z "$as_dir" && as_dir=.
8902 for ac_exec_ext in '' $ac_executable_extensions; do
8903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8904 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8914 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8915 if test -n "$ac_ct_NMEDIT"; then
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8917 $as_echo "$ac_ct_NMEDIT" >&6; }
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8920 $as_echo "no" >&6; }
8923 if test "x$ac_ct_NMEDIT" = x; then
8926 case $cross_compiling:$ac_tool_warned in
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8930 ac_tool_warned=yes ;;
8932 NMEDIT=$ac_ct_NMEDIT
8935 NMEDIT="$ac_cv_prog_NMEDIT"
8938 if test -n "$ac_tool_prefix"; then
8939 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8940 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8942 $as_echo_n "checking for $ac_word... " >&6; }
8943 if test "${ac_cv_prog_LIPO+set}" = set; then :
8944 $as_echo_n "(cached) " >&6
8946 if test -n "$LIPO"; then
8947 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8953 test -z "$as_dir" && as_dir=.
8954 for ac_exec_ext in '' $ac_executable_extensions; do
8955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8956 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8966 LIPO=$ac_cv_prog_LIPO
8967 if test -n "$LIPO"; then
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8969 $as_echo "$LIPO" >&6; }
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8972 $as_echo "no" >&6; }
8977 if test -z "$ac_cv_prog_LIPO"; then
8979 # Extract the first word of "lipo", so it can be a program name with args.
8980 set dummy lipo; ac_word=$2
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8982 $as_echo_n "checking for $ac_word... " >&6; }
8983 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8984 $as_echo_n "(cached) " >&6
8986 if test -n "$ac_ct_LIPO"; then
8987 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8993 test -z "$as_dir" && as_dir=.
8994 for ac_exec_ext in '' $ac_executable_extensions; do
8995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8996 ac_cv_prog_ac_ct_LIPO="lipo"
8997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9006 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9007 if test -n "$ac_ct_LIPO"; then
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9009 $as_echo "$ac_ct_LIPO" >&6; }
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9012 $as_echo "no" >&6; }
9015 if test "x$ac_ct_LIPO" = x; then
9018 case $cross_compiling:$ac_tool_warned in
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9022 ac_tool_warned=yes ;;
9027 LIPO="$ac_cv_prog_LIPO"
9030 if test -n "$ac_tool_prefix"; then
9031 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9032 set dummy ${ac_tool_prefix}otool; ac_word=$2
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9034 $as_echo_n "checking for $ac_word... " >&6; }
9035 if test "${ac_cv_prog_OTOOL+set}" = set; then :
9036 $as_echo_n "(cached) " >&6
9038 if test -n "$OTOOL"; then
9039 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9045 test -z "$as_dir" && as_dir=.
9046 for ac_exec_ext in '' $ac_executable_extensions; do
9047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9048 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9058 OTOOL=$ac_cv_prog_OTOOL
9059 if test -n "$OTOOL"; then
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9061 $as_echo "$OTOOL" >&6; }
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9064 $as_echo "no" >&6; }
9069 if test -z "$ac_cv_prog_OTOOL"; then
9071 # Extract the first word of "otool", so it can be a program name with args.
9072 set dummy otool; ac_word=$2
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9074 $as_echo_n "checking for $ac_word... " >&6; }
9075 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
9076 $as_echo_n "(cached) " >&6
9078 if test -n "$ac_ct_OTOOL"; then
9079 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9085 test -z "$as_dir" && as_dir=.
9086 for ac_exec_ext in '' $ac_executable_extensions; do
9087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9088 ac_cv_prog_ac_ct_OTOOL="otool"
9089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9098 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9099 if test -n "$ac_ct_OTOOL"; then
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9101 $as_echo "$ac_ct_OTOOL" >&6; }
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9104 $as_echo "no" >&6; }
9107 if test "x$ac_ct_OTOOL" = x; then
9110 case $cross_compiling:$ac_tool_warned in
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9114 ac_tool_warned=yes ;;
9119 OTOOL="$ac_cv_prog_OTOOL"
9122 if test -n "$ac_tool_prefix"; then
9123 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9124 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9126 $as_echo_n "checking for $ac_word... " >&6; }
9127 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
9128 $as_echo_n "(cached) " >&6
9130 if test -n "$OTOOL64"; then
9131 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9137 test -z "$as_dir" && as_dir=.
9138 for ac_exec_ext in '' $ac_executable_extensions; do
9139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9140 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9150 OTOOL64=$ac_cv_prog_OTOOL64
9151 if test -n "$OTOOL64"; then
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9153 $as_echo "$OTOOL64" >&6; }
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9156 $as_echo "no" >&6; }
9161 if test -z "$ac_cv_prog_OTOOL64"; then
9162 ac_ct_OTOOL64=$OTOOL64
9163 # Extract the first word of "otool64", so it can be a program name with args.
9164 set dummy otool64; ac_word=$2
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9166 $as_echo_n "checking for $ac_word... " >&6; }
9167 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
9168 $as_echo_n "(cached) " >&6
9170 if test -n "$ac_ct_OTOOL64"; then
9171 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9177 test -z "$as_dir" && as_dir=.
9178 for ac_exec_ext in '' $ac_executable_extensions; do
9179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9180 ac_cv_prog_ac_ct_OTOOL64="otool64"
9181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9190 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9191 if test -n "$ac_ct_OTOOL64"; then
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9193 $as_echo "$ac_ct_OTOOL64" >&6; }
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9196 $as_echo "no" >&6; }
9199 if test "x$ac_ct_OTOOL64" = x; then
9202 case $cross_compiling:$ac_tool_warned in
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9206 ac_tool_warned=yes ;;
9208 OTOOL64=$ac_ct_OTOOL64
9211 OTOOL64="$ac_cv_prog_OTOOL64"
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9241 $as_echo_n "checking for -single_module linker flag... " >&6; }
9242 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
9243 $as_echo_n "(cached) " >&6
9245 lt_cv_apple_cc_single_mod=no
9246 if test -z "${LT_MULTI_MODULE}"; then
9247 # By default we will add the -single_module flag. You can override
9248 # by either setting the environment variable LT_MULTI_MODULE
9249 # non-empty at configure time, or by adding -multi_module to the
9251 rm -rf libconftest.dylib*
9252 echo "int foo(void){return 1;}" > conftest.c
9253 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9254 -dynamiclib -Wl,-single_module conftest.c" >&5
9255 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9256 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9258 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9259 lt_cv_apple_cc_single_mod=yes
9261 cat conftest.err >&5
9263 rm -rf libconftest.dylib*
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9268 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9270 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9271 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
9272 $as_echo_n "(cached) " >&6
9274 lt_cv_ld_exported_symbols_list=no
9275 save_LDFLAGS=$LDFLAGS
9276 echo "_main" > conftest.sym
9277 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9279 /* end confdefs.h. */
9289 if ac_fn_c_try_link "$LINENO"; then :
9290 lt_cv_ld_exported_symbols_list=yes
9292 lt_cv_ld_exported_symbols_list=no
9294 rm -f core conftest.err conftest.$ac_objext \
9295 conftest$ac_exeext conftest.$ac_ext
9296 LDFLAGS="$save_LDFLAGS"
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9300 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9302 rhapsody* | darwin1.[012])
9303 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9305 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9306 darwin*) # darwin 5.x on
9307 # if running on 10.5 or later, the deployment target defaults
9308 # to the OS version, if on x86, and 10.4, the deployment
9309 # target defaults to 10.4. Don't you love it?
9310 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9311 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9312 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9314 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9316 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9320 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9321 _lt_dar_single_mod='$single_module'
9323 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9324 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9326 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9328 if test "$DSYMUTIL" != ":"; then
9329 _lt_dsymutil='~$DSYMUTIL $lib || :'
9336 for ac_header in dlfcn.h
9338 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9340 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
9341 cat >>confdefs.h <<_ACEOF
9342 #define HAVE_DLFCN_H 1
9352 ac_cpp='$CXXCPP $CPPFLAGS'
9353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9356 if test -z "$CXX"; then
9357 if test -n "$CCC"; then
9360 if test -n "$ac_tool_prefix"; then
9361 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
9363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9364 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9366 $as_echo_n "checking for $ac_word... " >&6; }
9367 if test "${ac_cv_prog_CXX+set}" = set; then :
9368 $as_echo_n "(cached) " >&6
9370 if test -n "$CXX"; then
9371 ac_cv_prog_CXX="$CXX" # Let the user override the test.
9373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9377 test -z "$as_dir" && as_dir=.
9378 for ac_exec_ext in '' $ac_executable_extensions; do
9379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9380 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
9381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9391 if test -n "$CXX"; then
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
9393 $as_echo "$CXX" >&6; }
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9396 $as_echo "no" >&6; }
9400 test -n "$CXX" && break
9403 if test -z "$CXX"; then
9405 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
9407 # Extract the first word of "$ac_prog", so it can be a program name with args.
9408 set dummy $ac_prog; ac_word=$2
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9410 $as_echo_n "checking for $ac_word... " >&6; }
9411 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
9412 $as_echo_n "(cached) " >&6
9414 if test -n "$ac_ct_CXX"; then
9415 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
9417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9421 test -z "$as_dir" && as_dir=.
9422 for ac_exec_ext in '' $ac_executable_extensions; do
9423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9424 ac_cv_prog_ac_ct_CXX="$ac_prog"
9425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9434 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
9435 if test -n "$ac_ct_CXX"; then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
9437 $as_echo "$ac_ct_CXX" >&6; }
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9440 $as_echo "no" >&6; }
9444 test -n "$ac_ct_CXX" && break
9447 if test "x$ac_ct_CXX" = x; then
9450 case $cross_compiling:$ac_tool_warned in
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9454 ac_tool_warned=yes ;;
9462 # Provide some information about the compiler.
9463 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
9466 for ac_option in --version -v -V -qversion; do
9467 { { ac_try="$ac_compiler $ac_option >&5"
9469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9470 *) ac_try_echo=$ac_try;;
9472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9473 $as_echo "$ac_try_echo"; } >&5
9474 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9476 if test -s conftest.err; then
9478 ... rest of stderr output deleted ...
9479 10q' conftest.err >conftest.er1
9480 cat conftest.er1 >&5
9482 rm -f conftest.er1 conftest.err
9483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9484 test $ac_status = 0; }
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
9488 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
9489 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
9490 $as_echo_n "(cached) " >&6
9492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9493 /* end confdefs.h. */
9506 if ac_fn_cxx_try_compile "$LINENO"; then :
9511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9512 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
9516 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
9517 if test $ac_compiler_gnu = yes; then
9522 ac_test_CXXFLAGS=${CXXFLAGS+set}
9523 ac_save_CXXFLAGS=$CXXFLAGS
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
9525 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
9526 if test "${ac_cv_prog_cxx_g+set}" = set; then :
9527 $as_echo_n "(cached) " >&6
9529 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
9530 ac_cxx_werror_flag=yes
9533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h. */
9544 if ac_fn_cxx_try_compile "$LINENO"; then :
9545 ac_cv_prog_cxx_g=yes
9548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9559 if ac_fn_cxx_try_compile "$LINENO"; then :
9562 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9575 if ac_fn_cxx_try_compile "$LINENO"; then :
9576 ac_cv_prog_cxx_g=yes
9578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9583 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
9586 $as_echo "$ac_cv_prog_cxx_g" >&6; }
9587 if test "$ac_test_CXXFLAGS" = set; then
9588 CXXFLAGS=$ac_save_CXXFLAGS
9589 elif test $ac_cv_prog_cxx_g = yes; then
9590 if test "$GXX" = yes; then
9596 if test "$GXX" = yes; then
9603 ac_cpp='$CPP $CPPFLAGS'
9604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9608 depcc="$CXX" am_compiler_list=
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
9611 $as_echo_n "checking dependency style of $depcc... " >&6; }
9612 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
9613 $as_echo_n "(cached) " >&6
9615 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9616 # We make a subdir and do the tests there. Otherwise we can end up
9617 # making bogus files that we don't know about and never remove. For
9618 # instance it was reported that on HP-UX the gcc test will end up
9619 # making a dummy file named `D' -- because `-MD' means `put the output
9622 # Copy depcomp to subdir because otherwise we won't find it if we're
9623 # using a relative directory.
9624 cp "$am_depcomp" conftest.dir
9626 # We will build objects and dependencies in a subdirectory because
9627 # it helps to detect inapplicable dependency modes. For instance
9628 # both Tru64's cc and ICC support -MD to output dependencies as a
9629 # side effect of compilation, but ICC will put the dependencies in
9630 # the current directory while Tru64 will put them in the object
9634 am_cv_CXX_dependencies_compiler_type=none
9635 if test "$am_compiler_list" = ""; then
9636 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9639 case " $depcc " in #(
9640 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9643 for depmode in $am_compiler_list; do
9644 # Setup a source with many dependencies, because some compilers
9645 # like to wrap large dependency lists on column 80 (with \), and
9646 # we should not choose a depcomp mode which is confused by this.
9648 # We need to recreate these files for each test, as the compiler may
9649 # overwrite some of them when testing with obscure command lines.
9650 # This happens at least with the AIX C compiler.
9652 for i in 1 2 3 4 5 6; do
9653 echo '#include "conftst'$i'.h"' >> sub/conftest.c
9654 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
9655 # Solaris 8's {/usr,}/bin/sh.
9656 touch sub/conftst$i.h
9658 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9660 # We check with `-c' and `-o' for the sake of the "dashmstdout"
9661 # mode. It turns out that the SunPro C++ compiler does not properly
9662 # handle `-M -o', and we need to detect this. Also, some Intel
9663 # versions had trouble with output in subdirs
9664 am__obj=sub/conftest.${OBJEXT-o}
9665 am__minus_obj="-o $am__obj"
9668 # This depmode causes a compiler race in universal mode.
9669 test "$am__universal" = false || continue
9672 # after this tag, mechanisms are not by side-effect, so they'll
9673 # only be used when explicitly requested
9674 if test "x$enable_dependency_tracking" = xyes; then
9680 msvisualcpp | msvcmsys)
9681 # This compiler won't grok `-c -o', but also, the minuso test has
9682 # not run yet. These depmodes are late enough in the game, and
9683 # so weak that their functioning should not be impacted.
9684 am__obj=conftest.${OBJEXT-o}
9689 if depmode=$depmode \
9690 source=sub/conftest.c object=$am__obj \
9691 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9692 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9693 >/dev/null 2>conftest.err &&
9694 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9695 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9696 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9697 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9698 # icc doesn't choke on unknown options, it will just issue warnings
9699 # or remarks (even with -Werror). So we grep stderr for any message
9700 # that says an option was ignored or not supported.
9701 # When given -MP, icc 7.0 and 7.1 complain thusly:
9702 # icc: Command line warning: ignoring option '-M'; no argument required
9703 # The diagnosis changed in icc 8.0:
9704 # icc: Command line remark: option '-MP' not supported
9705 if (grep 'ignoring option' conftest.err ||
9706 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9707 am_cv_CXX_dependencies_compiler_type=$depmode
9716 am_cv_CXX_dependencies_compiler_type=none
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
9721 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
9722 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
9725 test "x$enable_dependency_tracking" != xno \
9726 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
9727 am__fastdepCXX_TRUE=
9728 am__fastdepCXX_FALSE='#'
9730 am__fastdepCXX_TRUE='#'
9731 am__fastdepCXX_FALSE=
9735 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9736 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9737 (test "X$CXX" != "Xg++"))) ; then
9739 ac_cpp='$CXXCPP $CPPFLAGS'
9740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
9744 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
9745 if test -z "$CXXCPP"; then
9746 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
9747 $as_echo_n "(cached) " >&6
9749 # Double quotes because CXXCPP needs to be expanded
9750 for CXXCPP in "$CXX -E" "/lib/cpp"
9753 for ac_cxx_preproc_warn_flag in '' yes
9755 # Use a header file that comes with gcc, so configuring glibc
9756 # with a fresh cross-compiler works.
9757 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9758 # <limits.h> exists even on freestanding compilers.
9759 # On the NeXT, cc -E runs the code through the compiler's parser,
9760 # not just through cpp. "Syntax error" is here to catch this case.
9761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9762 /* end confdefs.h. */
9764 # include <limits.h>
9766 # include <assert.h>
9770 if ac_fn_cxx_try_cpp "$LINENO"; then :
9773 # Broken: fails on valid input.
9776 rm -f conftest.err conftest.$ac_ext
9778 # OK, works on sane cases. Now check whether nonexistent headers
9779 # can be detected and how.
9780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9782 #include <ac_nonexistent.h>
9784 if ac_fn_cxx_try_cpp "$LINENO"; then :
9785 # Broken: success on invalid input.
9788 # Passes both tests.
9792 rm -f conftest.err conftest.$ac_ext
9795 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9796 rm -f conftest.err conftest.$ac_ext
9797 if $ac_preproc_ok; then :
9802 ac_cv_prog_CXXCPP=$CXXCPP
9805 CXXCPP=$ac_cv_prog_CXXCPP
9807 ac_cv_prog_CXXCPP=$CXXCPP
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
9810 $as_echo "$CXXCPP" >&6; }
9812 for ac_cxx_preproc_warn_flag in '' yes
9814 # Use a header file that comes with gcc, so configuring glibc
9815 # with a fresh cross-compiler works.
9816 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9817 # <limits.h> exists even on freestanding compilers.
9818 # On the NeXT, cc -E runs the code through the compiler's parser,
9819 # not just through cpp. "Syntax error" is here to catch this case.
9820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9821 /* end confdefs.h. */
9823 # include <limits.h>
9825 # include <assert.h>
9829 if ac_fn_cxx_try_cpp "$LINENO"; then :
9832 # Broken: fails on valid input.
9835 rm -f conftest.err conftest.$ac_ext
9837 # OK, works on sane cases. Now check whether nonexistent headers
9838 # can be detected and how.
9839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9840 /* end confdefs.h. */
9841 #include <ac_nonexistent.h>
9843 if ac_fn_cxx_try_cpp "$LINENO"; then :
9844 # Broken: success on invalid input.
9847 # Passes both tests.
9851 rm -f conftest.err conftest.$ac_ext
9854 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9855 rm -f conftest.err conftest.$ac_ext
9856 if $ac_preproc_ok; then :
9859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9861 _lt_caught_CXX_error=yes; }
9865 ac_cpp='$CPP $CPPFLAGS'
9866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9871 _lt_caught_CXX_error=yes
9888 # Check whether --with-pic was given.
9889 if test "${with_pic+set}" = set; then :
9890 withval=$with_pic; pic_mode="$withval"
9896 test -z "$pic_mode" && pic_mode=default
9904 # Check whether --enable-fast-install was given.
9905 if test "${enable_fast_install+set}" = set; then :
9906 enableval=$enable_fast_install; p=${PACKAGE-default}
9908 yes) enable_fast_install=yes ;;
9909 no) enable_fast_install=no ;;
9911 enable_fast_install=no
9912 # Look at the argument we got. We use all the common list separators.
9913 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9914 for pkg in $enableval; do
9916 if test "X$pkg" = "X$p"; then
9917 enable_fast_install=yes
9924 enable_fast_install=yes
9937 # This can be used to rebuild libtool when needed
9938 LIBTOOL_DEPS="$ltmain"
9940 # Always use our own libtool.
9941 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9967 test -z "$LN_S" && LN_S="ln -s"
9982 if test -n "${ZSH_VERSION+set}" ; then
9983 setopt NO_GLOB_SUBST
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9987 $as_echo_n "checking for objdir... " >&6; }
9988 if test "${lt_cv_objdir+set}" = set; then :
9989 $as_echo_n "(cached) " >&6
9991 rm -f .libs 2>/dev/null
9992 mkdir .libs 2>/dev/null
9993 if test -d .libs; then
9996 # MS-DOS does not allow filenames that begin with a dot.
9999 rmdir .libs 2>/dev/null
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10002 $as_echo "$lt_cv_objdir" >&6; }
10003 objdir=$lt_cv_objdir
10009 cat >>confdefs.h <<_ACEOF
10010 #define LT_OBJDIR "$lt_cv_objdir/"
10031 # AIX sometimes has problems with the GCC collect2 program. For some
10032 # reason, if we set the COLLECT_NAMES environment variable, the problems
10033 # vanish in a puff of smoke.
10034 if test "X${COLLECT_NAMES+set}" != Xset; then
10036 export COLLECT_NAMES
10041 # Sed substitution that helps us do robust quoting. It backslashifies
10042 # metacharacters that are still active within double-quoted strings.
10043 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
10045 # Same as above, but do not quote variable references.
10046 double_quote_subst='s/\(["`\\]\)/\\\1/g'
10048 # Sed substitution to delay expansion of an escaped shell variable in a
10049 # double_quote_subst'ed string.
10050 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
10052 # Sed substitution to delay expansion of an escaped single quote.
10053 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
10055 # Sed substitution to avoid accidental globbing in evaled expressions
10056 no_glob_subst='s/\*/\\\*/g'
10058 # Global variables:
10060 can_build_shared=yes
10062 # All known linkers require a `.a' archive for static linking (except MSVC,
10063 # which needs '.lib').
10066 with_gnu_ld="$lt_cv_prog_gnu_ld"
10069 old_CFLAGS="$CFLAGS"
10071 # Set sane defaults for various variables
10072 test -z "$CC" && CC=cc
10073 test -z "$LTCC" && LTCC=$CC
10074 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10075 test -z "$LD" && LD=ld
10076 test -z "$ac_objext" && ac_objext=o
10078 for cc_temp in $compiler""; do
10080 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10081 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10086 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10089 # Only perform the check for file, if the check method requires it
10090 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10091 case $deplibs_check_method in
10093 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10095 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10096 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10097 $as_echo_n "(cached) " >&6
10101 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10104 lt_save_MAGIC_CMD="$MAGIC_CMD"
10105 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10106 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10107 for ac_dir in $ac_dummy; do
10109 test -z "$ac_dir" && ac_dir=.
10110 if test -f $ac_dir/${ac_tool_prefix}file; then
10111 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10112 if test -n "$file_magic_test_file"; then
10113 case $deplibs_check_method in
10115 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10116 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10117 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10118 $EGREP "$file_magic_regex" > /dev/null; then
10123 *** Warning: the command libtool uses to detect shared libraries,
10124 *** $file_magic_cmd, produces output that libtool cannot recognize.
10125 *** The result is that libtool may fail to recognize shared libraries
10126 *** as such. This will affect the creation of libtool libraries that
10127 *** depend on shared libraries, but programs linked with such libtool
10128 *** libraries will work regardless of this problem. Nevertheless, you
10129 *** may want to report the problem to your system manager and/or to
10130 *** bug-libtool@gnu.org
10140 MAGIC_CMD="$lt_save_MAGIC_CMD"
10145 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10146 if test -n "$MAGIC_CMD"; then
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10148 $as_echo "$MAGIC_CMD" >&6; }
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10151 $as_echo "no" >&6; }
10158 if test -z "$lt_cv_path_MAGIC_CMD"; then
10159 if test -n "$ac_tool_prefix"; then
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10161 $as_echo_n "checking for file... " >&6; }
10162 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10163 $as_echo_n "(cached) " >&6
10167 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10170 lt_save_MAGIC_CMD="$MAGIC_CMD"
10171 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10172 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10173 for ac_dir in $ac_dummy; do
10175 test -z "$ac_dir" && ac_dir=.
10176 if test -f $ac_dir/file; then
10177 lt_cv_path_MAGIC_CMD="$ac_dir/file"
10178 if test -n "$file_magic_test_file"; then
10179 case $deplibs_check_method in
10181 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10182 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10183 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10184 $EGREP "$file_magic_regex" > /dev/null; then
10189 *** Warning: the command libtool uses to detect shared libraries,
10190 *** $file_magic_cmd, produces output that libtool cannot recognize.
10191 *** The result is that libtool may fail to recognize shared libraries
10192 *** as such. This will affect the creation of libtool libraries that
10193 *** depend on shared libraries, but programs linked with such libtool
10194 *** libraries will work regardless of this problem. Nevertheless, you
10195 *** may want to report the problem to your system manager and/or to
10196 *** bug-libtool@gnu.org
10206 MAGIC_CMD="$lt_save_MAGIC_CMD"
10211 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10212 if test -n "$MAGIC_CMD"; then
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10214 $as_echo "$MAGIC_CMD" >&6; }
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10217 $as_echo "no" >&6; }
10230 # Use C for the default configuration in the libtool script
10234 ac_cpp='$CPP $CPPFLAGS'
10235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10240 # Source file extension for C test sources.
10243 # Object file extension for compiled C test sources.
10247 # Code to be used in simple compile tests
10248 lt_simple_compile_test_code="int some_variable = 0;"
10250 # Code to be used in simple link tests
10251 lt_simple_link_test_code='int main(){return(0);}'
10259 # If no C compiler was specified, use CC.
10262 # If no C compiler flags were specified, use CFLAGS.
10263 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10265 # Allow CC to be a program name with arguments.
10268 # Save the default compiler, since it gets overwritten when the other
10269 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10270 compiler_DEFAULT=$CC
10272 # save warnings/boilerplate of simple test code
10273 ac_outfile=conftest.$ac_objext
10274 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10275 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10276 _lt_compiler_boilerplate=`cat conftest.err`
10279 ac_outfile=conftest.$ac_objext
10280 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10281 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10282 _lt_linker_boilerplate=`cat conftest.err`
10287 ## There is no encapsulation within the following macros, do not change
10288 ## the running order or otherwise move them around unless you know exactly
10289 ## what you are doing...
10290 if test -n "$compiler"; then
10292 lt_prog_compiler_no_builtin_flag=
10294 if test "$GCC" = yes; then
10295 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10298 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10299 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
10300 $as_echo_n "(cached) " >&6
10302 lt_cv_prog_compiler_rtti_exceptions=no
10303 ac_outfile=conftest.$ac_objext
10304 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10305 lt_compiler_flag="-fno-rtti -fno-exceptions"
10306 # Insert the option either (1) after the last *FLAGS variable, or
10307 # (2) before a word containing "conftest.", or (3) at the end.
10308 # Note that $ac_compile itself does not contain backslashes and begins
10309 # with a dollar sign (not a hyphen), so the echo should work correctly.
10310 # The option is referenced via a variable to avoid confusing sed.
10311 lt_compile=`echo "$ac_compile" | $SED \
10312 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10313 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10314 -e 's:$: $lt_compiler_flag:'`
10315 (eval echo "\"\$as_me:10315: $lt_compile\"" >&5)
10316 (eval "$lt_compile" 2>conftest.err)
10318 cat conftest.err >&5
10319 echo "$as_me:10319: \$? = $ac_status" >&5
10320 if (exit $ac_status) && test -s "$ac_outfile"; then
10321 # The compiler can only warn and ignore the option if not recognized
10322 # So say no if there are warnings other than the usual output.
10323 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10324 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10325 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10326 lt_cv_prog_compiler_rtti_exceptions=yes
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10333 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10335 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10336 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10348 lt_prog_compiler_wl=
10349 lt_prog_compiler_pic=
10350 lt_prog_compiler_static=
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10353 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10355 if test "$GCC" = yes; then
10356 lt_prog_compiler_wl='-Wl,'
10357 lt_prog_compiler_static='-static'
10361 # All AIX code is PIC.
10362 if test "$host_cpu" = ia64; then
10363 # AIX 5 now supports IA64 processor
10364 lt_prog_compiler_static='-Bstatic'
10371 # see comment about AmigaOS4 .so support
10372 lt_prog_compiler_pic='-fPIC'
10375 # FIXME: we need at least 68020 code to build shared libraries, but
10376 # adding the `-m68020' flag to GCC prevents building anything better,
10378 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10383 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10384 # PIC is the default for these OSes.
10387 mingw* | cygwin* | pw32* | os2* | cegcc*)
10388 # This hack is so that the source file can tell whether it is being
10389 # built for inclusion in a dll (and should export symbols for example).
10390 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10391 # (--disable-auto-import) libraries
10392 lt_prog_compiler_pic='-DDLL_EXPORT'
10395 darwin* | rhapsody*)
10396 # PIC is the default on this platform
10397 # Common symbols not allowed in MH_DYLIB files
10398 lt_prog_compiler_pic='-fno-common'
10402 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10403 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10404 # sets the default TLS model and affects inlining.
10410 lt_prog_compiler_pic='-fPIC'
10416 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10417 # Instead, we relocate shared libraries at runtime.
10421 # Just because we use GCC doesn't mean we suddenly get shared libraries
10422 # on systems that don't support them.
10423 lt_prog_compiler_can_build_shared=no
10428 # QNX uses GNU C++, but need to define -shared option too, otherwise
10429 # it will coredump.
10430 lt_prog_compiler_pic='-fPIC -shared'
10434 if test -d /usr/nec; then
10435 lt_prog_compiler_pic=-Kconform_pic
10440 lt_prog_compiler_pic='-fPIC'
10444 # PORTME Check for flag to pass linker flags through the system compiler.
10447 lt_prog_compiler_wl='-Wl,'
10448 if test "$host_cpu" = ia64; then
10449 # AIX 5 now supports IA64 processor
10450 lt_prog_compiler_static='-Bstatic'
10452 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10456 mingw* | cygwin* | pw32* | os2* | cegcc*)
10457 # This hack is so that the source file can tell whether it is being
10458 # built for inclusion in a dll (and should export symbols for example).
10459 lt_prog_compiler_pic='-DDLL_EXPORT'
10462 hpux9* | hpux10* | hpux11*)
10463 lt_prog_compiler_wl='-Wl,'
10464 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10465 # not for PA HP-UX.
10471 lt_prog_compiler_pic='+Z'
10474 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10475 lt_prog_compiler_static='${wl}-a ${wl}archive'
10478 irix5* | irix6* | nonstopux*)
10479 lt_prog_compiler_wl='-Wl,'
10480 # PIC (with -KPIC) is the default.
10481 lt_prog_compiler_static='-non_shared'
10484 linux* | k*bsd*-gnu)
10485 case $cc_basename in
10486 # old Intel for x86_64 which still supported -KPIC.
10488 lt_prog_compiler_wl='-Wl,'
10489 lt_prog_compiler_pic='-KPIC'
10490 lt_prog_compiler_static='-static'
10492 # icc used to be incompatible with GCC.
10493 # ICC 10 doesn't accept -KPIC any more.
10495 lt_prog_compiler_wl='-Wl,'
10496 lt_prog_compiler_pic='-fPIC'
10497 lt_prog_compiler_static='-static'
10499 # Lahey Fortran 8.1.
10501 lt_prog_compiler_wl='-Wl,'
10502 lt_prog_compiler_pic='--shared'
10503 lt_prog_compiler_static='--static'
10505 pgcc* | pgf77* | pgf90* | pgf95*)
10506 # Portland Group compilers (*not* the Pentium gcc compiler,
10507 # which looks to be a dead project)
10508 lt_prog_compiler_wl='-Wl,'
10509 lt_prog_compiler_pic='-fpic'
10510 lt_prog_compiler_static='-Bstatic'
10513 lt_prog_compiler_wl='-Wl,'
10514 # All Alpha code is PIC.
10515 lt_prog_compiler_static='-non_shared'
10518 # IBM XL C 8.0/Fortran 10.1 on PPC
10519 lt_prog_compiler_wl='-Wl,'
10520 lt_prog_compiler_pic='-qpic'
10521 lt_prog_compiler_static='-qstaticlink'
10524 case `$CC -V 2>&1 | sed 5q` in
10527 lt_prog_compiler_pic='-KPIC'
10528 lt_prog_compiler_static='-Bstatic'
10529 lt_prog_compiler_wl='-Wl,'
10532 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10533 lt_prog_compiler_pic='-KPIC'
10534 lt_prog_compiler_static='-Bstatic'
10535 lt_prog_compiler_wl=''
10543 lt_prog_compiler_pic='-KPIC'
10544 lt_prog_compiler_static='-Bstatic'
10548 # QNX uses GNU C++, but need to define -shared option too, otherwise
10549 # it will coredump.
10550 lt_prog_compiler_pic='-fPIC -shared'
10553 osf3* | osf4* | osf5*)
10554 lt_prog_compiler_wl='-Wl,'
10555 # All OSF/1 code is PIC.
10556 lt_prog_compiler_static='-non_shared'
10560 lt_prog_compiler_static='-non_shared'
10564 lt_prog_compiler_pic='-KPIC'
10565 lt_prog_compiler_static='-Bstatic'
10566 case $cc_basename in
10567 f77* | f90* | f95*)
10568 lt_prog_compiler_wl='-Qoption ld ';;
10570 lt_prog_compiler_wl='-Wl,';;
10575 lt_prog_compiler_wl='-Qoption ld '
10576 lt_prog_compiler_pic='-PIC'
10577 lt_prog_compiler_static='-Bstatic'
10580 sysv4 | sysv4.2uw2* | sysv4.3*)
10581 lt_prog_compiler_wl='-Wl,'
10582 lt_prog_compiler_pic='-KPIC'
10583 lt_prog_compiler_static='-Bstatic'
10587 if test -d /usr/nec ;then
10588 lt_prog_compiler_pic='-Kconform_pic'
10589 lt_prog_compiler_static='-Bstatic'
10593 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10594 lt_prog_compiler_wl='-Wl,'
10595 lt_prog_compiler_pic='-KPIC'
10596 lt_prog_compiler_static='-Bstatic'
10600 lt_prog_compiler_wl='-Wl,'
10601 lt_prog_compiler_can_build_shared=no
10605 lt_prog_compiler_pic='-pic'
10606 lt_prog_compiler_static='-Bstatic'
10610 lt_prog_compiler_can_build_shared=no
10616 # For platforms which do not support PIC, -DPIC is meaningless:
10618 lt_prog_compiler_pic=
10621 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10625 $as_echo "$lt_prog_compiler_pic" >&6; }
10633 # Check to make sure the PIC flag actually works.
10635 if test -n "$lt_prog_compiler_pic"; then
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10637 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10638 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
10639 $as_echo_n "(cached) " >&6
10641 lt_cv_prog_compiler_pic_works=no
10642 ac_outfile=conftest.$ac_objext
10643 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10644 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10645 # Insert the option either (1) after the last *FLAGS variable, or
10646 # (2) before a word containing "conftest.", or (3) at the end.
10647 # Note that $ac_compile itself does not contain backslashes and begins
10648 # with a dollar sign (not a hyphen), so the echo should work correctly.
10649 # The option is referenced via a variable to avoid confusing sed.
10650 lt_compile=`echo "$ac_compile" | $SED \
10651 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10652 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10653 -e 's:$: $lt_compiler_flag:'`
10654 (eval echo "\"\$as_me:10654: $lt_compile\"" >&5)
10655 (eval "$lt_compile" 2>conftest.err)
10657 cat conftest.err >&5
10658 echo "$as_me:10658: \$? = $ac_status" >&5
10659 if (exit $ac_status) && test -s "$ac_outfile"; then
10660 # The compiler can only warn and ignore the option if not recognized
10661 # So say no if there are warnings other than the usual output.
10662 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10663 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10664 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10665 lt_cv_prog_compiler_pic_works=yes
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10672 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10674 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10675 case $lt_prog_compiler_pic in
10677 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10680 lt_prog_compiler_pic=
10681 lt_prog_compiler_can_build_shared=no
10692 # Check to make sure the static flag actually works.
10694 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10696 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10697 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
10698 $as_echo_n "(cached) " >&6
10700 lt_cv_prog_compiler_static_works=no
10701 save_LDFLAGS="$LDFLAGS"
10702 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10703 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10704 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10705 # The linker can only warn and ignore the option if not recognized
10706 # So say no if there are warnings
10707 if test -s conftest.err; then
10708 # Append any errors to the config.log.
10709 cat conftest.err 1>&5
10710 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
10711 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10712 if diff conftest.exp conftest.er2 >/dev/null; then
10713 lt_cv_prog_compiler_static_works=yes
10716 lt_cv_prog_compiler_static_works=yes
10720 LDFLAGS="$save_LDFLAGS"
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10724 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10726 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10729 lt_prog_compiler_static=
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10739 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10740 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10741 $as_echo_n "(cached) " >&6
10743 lt_cv_prog_compiler_c_o=no
10744 $RM -r conftest 2>/dev/null
10748 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10750 lt_compiler_flag="-o out/conftest2.$ac_objext"
10751 # Insert the option either (1) after the last *FLAGS variable, or
10752 # (2) before a word containing "conftest.", or (3) at the end.
10753 # Note that $ac_compile itself does not contain backslashes and begins
10754 # with a dollar sign (not a hyphen), so the echo should work correctly.
10755 lt_compile=`echo "$ac_compile" | $SED \
10756 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10757 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10758 -e 's:$: $lt_compiler_flag:'`
10759 (eval echo "\"\$as_me:10759: $lt_compile\"" >&5)
10760 (eval "$lt_compile" 2>out/conftest.err)
10762 cat out/conftest.err >&5
10763 echo "$as_me:10763: \$? = $ac_status" >&5
10764 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10766 # The compiler can only warn and ignore the option if not recognized
10767 # So say no if there are warnings
10768 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10769 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10770 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10771 lt_cv_prog_compiler_c_o=yes
10776 # SGI C++ compiler will create directory out/ii_files/ for
10777 # template instantiation
10778 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10779 $RM out/* && rmdir out
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10786 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10794 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10795 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10796 $as_echo_n "(cached) " >&6
10798 lt_cv_prog_compiler_c_o=no
10799 $RM -r conftest 2>/dev/null
10803 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10805 lt_compiler_flag="-o out/conftest2.$ac_objext"
10806 # Insert the option either (1) after the last *FLAGS variable, or
10807 # (2) before a word containing "conftest.", or (3) at the end.
10808 # Note that $ac_compile itself does not contain backslashes and begins
10809 # with a dollar sign (not a hyphen), so the echo should work correctly.
10810 lt_compile=`echo "$ac_compile" | $SED \
10811 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10812 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10813 -e 's:$: $lt_compiler_flag:'`
10814 (eval echo "\"\$as_me:10814: $lt_compile\"" >&5)
10815 (eval "$lt_compile" 2>out/conftest.err)
10817 cat out/conftest.err >&5
10818 echo "$as_me:10818: \$? = $ac_status" >&5
10819 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10821 # The compiler can only warn and ignore the option if not recognized
10822 # So say no if there are warnings
10823 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10824 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10825 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10826 lt_cv_prog_compiler_c_o=yes
10831 # SGI C++ compiler will create directory out/ii_files/ for
10832 # template instantiation
10833 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10834 $RM out/* && rmdir out
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10841 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10846 hard_links="nottested"
10847 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10848 # do not overwrite the value of need_locks provided by the user
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10850 $as_echo_n "checking if we can lock with hard links... " >&6; }
10853 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10855 ln conftest.a conftest.b 2>&5 || hard_links=no
10856 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10858 $as_echo "$hard_links" >&6; }
10859 if test "$hard_links" = no; then
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10861 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10874 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10877 allow_undefined_flag=
10878 always_export_symbols=no
10880 archive_expsym_cmds=
10881 compiler_needs_object=no
10882 enable_shared_with_static_runtimes=no
10883 export_dynamic_flag_spec=
10884 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10885 hardcode_automatic=no
10887 hardcode_direct_absolute=no
10888 hardcode_libdir_flag_spec=
10889 hardcode_libdir_flag_spec_ld=
10890 hardcode_libdir_separator=
10891 hardcode_minus_L=no
10892 hardcode_shlibpath_var=unsupported
10894 link_all_deplibs=unknown
10896 module_expsym_cmds=
10897 old_archive_from_new_cmds=
10898 old_archive_from_expsyms_cmds=
10899 thread_safe_flag_spec=
10900 whole_archive_flag_spec=
10901 # include_expsyms should be a list of space-separated symbols to be *always*
10902 # included in the symbol list
10904 # exclude_expsyms can be an extended regexp of symbols to exclude
10905 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10906 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10907 # as well as any symbol that contains `d'.
10908 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10909 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10910 # platforms (ab)use it in PIC code, but their linkers get confused if
10911 # the symbol is explicitly referenced. Since portable code cannot
10912 # rely on this symbol name, it's probably fine to never include it in
10913 # preloaded symbol tables.
10914 # Exclude shared library initialization/finalization symbols.
10915 extract_expsyms_cmds=
10918 cygwin* | mingw* | pw32* | cegcc*)
10919 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10920 # When not using gcc, we currently assume that we are using
10921 # Microsoft Visual C++.
10922 if test "$GCC" != yes; then
10927 # we just hope/assume this is gcc and not c89 (= MSVC++)
10936 if test "$with_gnu_ld" = yes; then
10937 # If archive_cmds runs LD, not CC, wlarc should be empty
10940 # Set some defaults for GNU ld with shared library support. These
10941 # are reset later if shared libraries are not supported. Putting them
10942 # here allows them to be overridden if necessary.
10943 runpath_var=LD_RUN_PATH
10944 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10945 export_dynamic_flag_spec='${wl}--export-dynamic'
10946 # ancient GNU ld didn't support --whole-archive et. al.
10947 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10948 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10950 whole_archive_flag_spec=
10952 supports_anon_versioning=no
10953 case `$LD -v 2>&1` in
10954 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10955 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10956 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10957 *\ 2.11.*) ;; # other 2.11 versions
10958 *) supports_anon_versioning=yes ;;
10961 # See if GNU ld supports shared libraries.
10964 # On AIX/PPC, the GNU linker is very broken
10965 if test "$host_cpu" != ia64; then
10969 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
10970 *** to be unable to reliably create shared libraries on AIX.
10971 *** Therefore, libtool is disabling shared libraries support. If you
10972 *** really care for shared libraries, you may want to modify your PATH
10973 *** so that a non-GNU linker is found, and then restart.
10982 # see comment about AmigaOS4 .so support
10983 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10984 archive_expsym_cmds=''
10987 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)'
10988 hardcode_libdir_flag_spec='-L$libdir'
10989 hardcode_minus_L=yes
10995 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10996 allow_undefined_flag=unsupported
10997 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10998 # support --undefined. This deserves some investigation. FIXME
10999 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11005 cygwin* | mingw* | pw32* | cegcc*)
11006 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11007 # as there is no search path for DLLs.
11008 hardcode_libdir_flag_spec='-L$libdir'
11009 allow_undefined_flag=unsupported
11010 always_export_symbols=no
11011 enable_shared_with_static_runtimes=yes
11012 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11014 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11015 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11016 # If the export-symbols file already is a .def file (1st line
11017 # is EXPORTS), use it as is; otherwise, prepend...
11018 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11019 cp $export_symbols $output_objdir/$soname.def;
11021 echo EXPORTS > $output_objdir/$soname.def;
11022 cat $export_symbols >> $output_objdir/$soname.def;
11024 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11032 hardcode_shlibpath_var=no
11033 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11034 export_dynamic_flag_spec='${wl}-E'
11035 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11036 # Instead, shared libraries are loaded at an image base (0x10000000 by
11037 # default) and relocated if they conflict, which is a slow very memory
11038 # consuming and fragmenting process. To avoid this, we pick a random,
11039 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11040 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11041 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11042 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'
11045 gnu* | linux* | tpf* | k*bsd*-gnu)
11047 if test "$host_os" = linux-dietlibc; then
11048 case $cc_basename in
11049 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11052 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11053 && test "$tmp_diet" = no
11056 tmp_sharedflag='-shared'
11057 case $cc_basename,$host_cpu in
11058 pgcc*) # Portland Group C compiler
11059 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'
11060 tmp_addflag=' $pic_flag'
11062 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
11063 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'
11064 tmp_addflag=' $pic_flag -Mnomain' ;;
11065 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11066 tmp_addflag=' -i_dynamic' ;;
11067 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11068 tmp_addflag=' -i_dynamic -nofor_main' ;;
11069 ifc* | ifort*) # Intel Fortran compiler
11070 tmp_addflag=' -nofor_main' ;;
11071 lf95*) # Lahey Fortran 8.1
11072 whole_archive_flag_spec=
11073 tmp_sharedflag='--shared' ;;
11074 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11075 tmp_sharedflag='-qmkshrobj'
11078 case `$CC -V 2>&1 | sed 5q` in
11079 *Sun\ C*) # Sun C 5.9
11080 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'
11081 compiler_needs_object=yes
11082 tmp_sharedflag='-G' ;;
11083 *Sun\ F*) # Sun Fortran 8.3
11084 tmp_sharedflag='-G' ;;
11086 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11088 if test "x$supports_anon_versioning" = xyes; then
11089 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11090 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11091 echo "local: *; };" >> $output_objdir/$libname.ver~
11092 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11095 case $cc_basename in
11097 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11098 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11099 hardcode_libdir_flag_spec=
11100 hardcode_libdir_flag_spec_ld='-rpath $libdir'
11101 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
11102 if test "x$supports_anon_versioning" = xyes; then
11103 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11104 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11105 echo "local: *; };" >> $output_objdir/$libname.ver~
11106 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11115 netbsd* | netbsdelf*-gnu)
11116 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11117 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11120 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11121 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11126 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11130 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11131 *** create shared libraries on Solaris systems. Therefore, libtool
11132 *** is disabling shared libraries support. We urge you to upgrade GNU
11133 *** binutils to release 2.9.1 or newer. Another option is to modify
11134 *** your PATH or compiler configuration so that the native linker is
11135 *** used, and then restart.
11138 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11139 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11140 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11146 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11147 case `$LD -v 2>&1` in
11148 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11152 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11153 *** reliably create shared libraries on SCO systems. Therefore, libtool
11154 *** is disabling shared libraries support. We urge you to upgrade GNU
11155 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11156 *** your PATH or compiler configuration so that the native linker is
11157 *** used, and then restart.
11162 # For security reasons, it is highly recommended that you always
11163 # use absolute paths for naming shared libraries, and exclude the
11164 # DT_RUNPATH tag from executables and libraries. But doing so
11165 # requires that you compile everything twice, which is a pain.
11166 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11167 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11168 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11169 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11178 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11180 hardcode_direct=yes
11181 hardcode_shlibpath_var=no
11185 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11186 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11187 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11194 if test "$ld_shlibs" = no; then
11196 hardcode_libdir_flag_spec=
11197 export_dynamic_flag_spec=
11198 whole_archive_flag_spec=
11201 # PORTME fill in a description of your system's linker (not GNU ld)
11204 allow_undefined_flag=unsupported
11205 always_export_symbols=yes
11206 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'
11207 # Note: this linker hardcodes the directories in LIBPATH if there
11208 # are no directories specified by -L.
11209 hardcode_minus_L=yes
11210 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11211 # Neither direct hardcoding nor static linking is supported with a
11213 hardcode_direct=unsupported
11218 if test "$host_cpu" = ia64; then
11219 # On IA64, the linker does run time linking by default, so we don't
11220 # have to do anything special.
11221 aix_use_runtimelinking=no
11222 exp_sym_flag='-Bexport'
11225 # If we're using GNU nm, then we don't want the "-C" option.
11226 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11227 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11228 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'
11230 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'
11232 aix_use_runtimelinking=no
11234 # Test if we are trying to use run time linking or normal
11235 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11236 # need to do runtime linking.
11237 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11238 for ld_flag in $LDFLAGS; do
11239 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11240 aix_use_runtimelinking=yes
11247 exp_sym_flag='-bexport'
11248 no_entry_flag='-bnoentry'
11251 # When large executables or shared objects are built, AIX ld can
11252 # have problems creating the table of contents. If linking a library
11253 # or program results in "error TOC overflow" add -mminimal-toc to
11254 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11255 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11258 hardcode_direct=yes
11259 hardcode_direct_absolute=yes
11260 hardcode_libdir_separator=':'
11261 link_all_deplibs=yes
11262 file_list_spec='${wl}-f,'
11264 if test "$GCC" = yes; then
11265 case $host_os in aix4.[012]|aix4.[012].*)
11266 # We only want to do this on AIX 4.2 and lower, the check
11267 # below for broken collect2 doesn't work under 4.3+
11268 collect2name=`${CC} -print-prog-name=collect2`
11269 if test -f "$collect2name" &&
11270 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11272 # We have reworked collect2
11275 # We have old collect2
11276 hardcode_direct=unsupported
11277 # It fails to find uninstalled libraries when the uninstalled
11278 # path is not listed in the libpath. Setting hardcode_minus_L
11279 # to unsupported forces relinking
11280 hardcode_minus_L=yes
11281 hardcode_libdir_flag_spec='-L$libdir'
11282 hardcode_libdir_separator=
11286 shared_flag='-shared'
11287 if test "$aix_use_runtimelinking" = yes; then
11288 shared_flag="$shared_flag "'${wl}-G'
11290 link_all_deplibs=no
11293 if test "$host_cpu" = ia64; then
11294 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11295 # chokes on -Wl,-G. The following line is correct:
11298 if test "$aix_use_runtimelinking" = yes; then
11299 shared_flag='${wl}-G'
11301 shared_flag='${wl}-bM:SRE'
11306 export_dynamic_flag_spec='${wl}-bexpall'
11307 # It seems that -bexpall does not export symbols beginning with
11308 # underscore (_), so it is better to generate a list of symbols to export.
11309 always_export_symbols=yes
11310 if test "$aix_use_runtimelinking" = yes; then
11311 # Warning - without using the other runtime loading flags (-brtl),
11312 # -berok will link without error, but may produce a broken library.
11313 allow_undefined_flag='-berok'
11314 # Determine the default libpath from the value encoded in an
11315 # empty executable.
11316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11317 /* end confdefs.h. */
11327 if ac_fn_c_try_link "$LINENO"; then :
11329 lt_aix_libpath_sed='
11330 /Import File Strings/,/^$/ {
11336 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11337 # Check for a 64-bit object if we didn't find anything.
11338 if test -z "$aix_libpath"; then
11339 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11342 rm -f core conftest.err conftest.$ac_objext \
11343 conftest$ac_exeext conftest.$ac_ext
11344 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11346 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11347 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"
11349 if test "$host_cpu" = ia64; then
11350 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11351 allow_undefined_flag="-z nodefs"
11352 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"
11354 # Determine the default libpath from the value encoded in an
11355 # empty executable.
11356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11367 if ac_fn_c_try_link "$LINENO"; then :
11369 lt_aix_libpath_sed='
11370 /Import File Strings/,/^$/ {
11376 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11377 # Check for a 64-bit object if we didn't find anything.
11378 if test -z "$aix_libpath"; then
11379 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11382 rm -f core conftest.err conftest.$ac_objext \
11383 conftest$ac_exeext conftest.$ac_ext
11384 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11386 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11387 # Warning - without using the other run time loading flags,
11388 # -berok will link without error, but may produce a broken library.
11389 no_undefined_flag=' ${wl}-bernotok'
11390 allow_undefined_flag=' ${wl}-berok'
11391 # Exported symbols can be pulled into shared objects from archives
11392 whole_archive_flag_spec='$convenience'
11393 archive_cmds_need_lc=yes
11394 # This is similar to how AIX traditionally builds its shared libraries.
11395 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'
11403 # see comment about AmigaOS4 .so support
11404 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11405 archive_expsym_cmds=''
11408 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)'
11409 hardcode_libdir_flag_spec='-L$libdir'
11410 hardcode_minus_L=yes
11416 export_dynamic_flag_spec=-rdynamic
11419 cygwin* | mingw* | pw32* | cegcc*)
11420 # When not using gcc, we currently assume that we are using
11421 # Microsoft Visual C++.
11422 # hardcode_libdir_flag_spec is actually meaningless, as there is
11423 # no search path for DLLs.
11424 hardcode_libdir_flag_spec=' '
11425 allow_undefined_flag=unsupported
11426 # Tell ltmain to make .lib files, not .a files.
11428 # Tell ltmain to make .dll files, not .so files.
11430 # FIXME: Setting linknames here is a bad hack.
11431 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11432 # The linker will automatically build a .lib file if we build a DLL.
11433 old_archive_from_new_cmds='true'
11434 # FIXME: Should let the user specify the lib program.
11435 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11436 fix_srcfile_path='`cygpath -w "$srcfile"`'
11437 enable_shared_with_static_runtimes=yes
11440 darwin* | rhapsody*)
11443 archive_cmds_need_lc=no
11445 hardcode_automatic=yes
11446 hardcode_shlibpath_var=unsupported
11447 whole_archive_flag_spec=''
11448 link_all_deplibs=yes
11449 allow_undefined_flag="$_lt_dar_allow_undefined"
11450 case $cc_basename in
11451 ifort*) _lt_dar_can_shared=yes ;;
11452 *) _lt_dar_can_shared=$GCC ;;
11454 if test "$_lt_dar_can_shared" = "yes"; then
11455 output_verbose_link_cmd=echo
11456 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11457 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11458 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}"
11459 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}"
11468 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11469 hardcode_libdir_flag_spec='-L$libdir'
11470 hardcode_shlibpath_var=no
11477 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11478 # support. Future versions do this automatically, but an explicit c++rt0.o
11479 # does not break anything, and helps significantly (at the cost of a little
11482 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11483 hardcode_libdir_flag_spec='-R$libdir'
11484 hardcode_direct=yes
11485 hardcode_shlibpath_var=no
11488 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11490 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11491 hardcode_direct=yes
11492 hardcode_minus_L=yes
11493 hardcode_shlibpath_var=no
11496 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11497 freebsd* | dragonfly*)
11498 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11499 hardcode_libdir_flag_spec='-R$libdir'
11500 hardcode_direct=yes
11501 hardcode_shlibpath_var=no
11505 if test "$GCC" = yes; then
11506 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'
11508 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'
11510 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11511 hardcode_libdir_separator=:
11512 hardcode_direct=yes
11514 # hardcode_minus_L: Not really in the search PATH,
11515 # but as the default location of the library.
11516 hardcode_minus_L=yes
11517 export_dynamic_flag_spec='${wl}-E'
11521 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11522 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11524 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11526 if test "$with_gnu_ld" = no; then
11527 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11528 hardcode_libdir_flag_spec_ld='+b $libdir'
11529 hardcode_libdir_separator=:
11530 hardcode_direct=yes
11531 hardcode_direct_absolute=yes
11532 export_dynamic_flag_spec='${wl}-E'
11533 # hardcode_minus_L: Not really in the search PATH,
11534 # but as the default location of the library.
11535 hardcode_minus_L=yes
11540 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11543 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11546 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11549 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11555 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11558 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11561 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11565 if test "$with_gnu_ld" = no; then
11566 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11567 hardcode_libdir_separator=:
11572 hardcode_shlibpath_var=no
11575 hardcode_direct=yes
11576 hardcode_direct_absolute=yes
11577 export_dynamic_flag_spec='${wl}-E'
11579 # hardcode_minus_L: Not really in the search PATH,
11580 # but as the default location of the library.
11581 hardcode_minus_L=yes
11587 irix5* | irix6* | nonstopux*)
11588 if test "$GCC" = yes; then
11589 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'
11590 # Try to use the -exported_symbol ld option, if it does not
11591 # work, assume that -exports_file does not work either and
11592 # implicitly export all symbols.
11593 save_LDFLAGS="$LDFLAGS"
11594 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11596 /* end confdefs.h. */
11599 if ac_fn_c_try_link "$LINENO"; then :
11600 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'
11603 rm -f core conftest.err conftest.$ac_objext \
11604 conftest$ac_exeext conftest.$ac_ext
11605 LDFLAGS="$save_LDFLAGS"
11607 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'
11608 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'
11610 archive_cmds_need_lc='no'
11611 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11612 hardcode_libdir_separator=:
11614 link_all_deplibs=yes
11617 netbsd* | netbsdelf*-gnu)
11618 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11619 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11621 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11623 hardcode_libdir_flag_spec='-R$libdir'
11624 hardcode_direct=yes
11625 hardcode_shlibpath_var=no
11629 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11630 hardcode_direct=yes
11631 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11632 hardcode_libdir_separator=:
11633 hardcode_shlibpath_var=no
11640 if test -f /usr/libexec/ld.so; then
11641 hardcode_direct=yes
11642 hardcode_shlibpath_var=no
11643 hardcode_direct_absolute=yes
11644 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11645 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11646 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11647 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11648 export_dynamic_flag_spec='${wl}-E'
11651 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11652 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11653 hardcode_libdir_flag_spec='-R$libdir'
11656 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11657 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11667 hardcode_libdir_flag_spec='-L$libdir'
11668 hardcode_minus_L=yes
11669 allow_undefined_flag=unsupported
11670 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'
11671 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11675 if test "$GCC" = yes; then
11676 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11677 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'
11679 allow_undefined_flag=' -expect_unresolved \*'
11680 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'
11682 archive_cmds_need_lc='no'
11683 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11684 hardcode_libdir_separator=:
11687 osf4* | osf5*) # as osf3* with the addition of -msym flag
11688 if test "$GCC" = yes; then
11689 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11690 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'
11691 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11693 allow_undefined_flag=' -expect_unresolved \*'
11694 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'
11695 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~
11696 $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'
11698 # Both c and cxx compiler support -rpath directly
11699 hardcode_libdir_flag_spec='-rpath $libdir'
11701 archive_cmds_need_lc='no'
11702 hardcode_libdir_separator=:
11706 no_undefined_flag=' -z defs'
11707 if test "$GCC" = yes; then
11709 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11710 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11711 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11713 case `$CC -V 2>&1` in
11716 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11717 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11718 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11722 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11723 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11724 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11728 hardcode_libdir_flag_spec='-R$libdir'
11729 hardcode_shlibpath_var=no
11731 solaris2.[0-5] | solaris2.[0-5].*) ;;
11733 # The compiler driver will combine and reorder linker options,
11734 # but understands `-z linker_flag'. GCC discards it without `$wl',
11735 # but is careful enough not to reorder.
11736 # Supported since Solaris 2.6 (maybe 2.5.1?)
11737 if test "$GCC" = yes; then
11738 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11740 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11744 link_all_deplibs=yes
11748 if test "x$host_vendor" = xsequent; then
11749 # Use $CC to link under sequent, because it throws in some extra .o
11750 # files that make .init and .fini sections work.
11751 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11753 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11755 hardcode_libdir_flag_spec='-L$libdir'
11756 hardcode_direct=yes
11757 hardcode_minus_L=yes
11758 hardcode_shlibpath_var=no
11762 case $host_vendor in
11764 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11765 hardcode_direct=yes # is this really true???
11768 ## LD is ld it makes a PLAMLIB
11769 ## CC just makes a GrossModule.
11770 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11771 reload_cmds='$CC -r -o $output$reload_objs'
11775 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11776 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11779 runpath_var='LD_RUN_PATH'
11780 hardcode_shlibpath_var=no
11784 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11785 hardcode_shlibpath_var=no
11786 export_dynamic_flag_spec='-Bexport'
11790 if test -d /usr/nec; then
11791 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11792 hardcode_shlibpath_var=no
11793 runpath_var=LD_RUN_PATH
11794 hardcode_runpath_var=yes
11799 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11800 no_undefined_flag='${wl}-z,text'
11801 archive_cmds_need_lc=no
11802 hardcode_shlibpath_var=no
11803 runpath_var='LD_RUN_PATH'
11805 if test "$GCC" = yes; then
11806 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11807 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11809 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11810 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11814 sysv5* | sco3.2v5* | sco5v6*)
11815 # Note: We can NOT use -z defs as we might desire, because we do not
11816 # link with -lc, and that would cause any symbols used from libc to
11817 # always be unresolved, which means just about no library would
11818 # ever link correctly. If we're not using GNU ld we use -z text
11819 # though, which does catch some bad symbols but isn't as heavy-handed
11821 no_undefined_flag='${wl}-z,text'
11822 allow_undefined_flag='${wl}-z,nodefs'
11823 archive_cmds_need_lc=no
11824 hardcode_shlibpath_var=no
11825 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11826 hardcode_libdir_separator=':'
11827 link_all_deplibs=yes
11828 export_dynamic_flag_spec='${wl}-Bexport'
11829 runpath_var='LD_RUN_PATH'
11831 if test "$GCC" = yes; then
11832 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11833 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11835 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11836 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11841 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11842 hardcode_libdir_flag_spec='-L$libdir'
11843 hardcode_shlibpath_var=no
11851 if test x$host_vendor = xsni; then
11853 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11854 export_dynamic_flag_spec='${wl}-Blargedynsym'
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11861 $as_echo "$ld_shlibs" >&6; }
11862 test "$ld_shlibs" = no && can_build_shared=no
11864 with_gnu_ld=$with_gnu_ld
11881 # Do we need to explicitly link libc?
11883 case "x$archive_cmds_need_lc" in
11885 # Assume -lc should be added
11886 archive_cmds_need_lc=yes
11888 if test "$enable_shared" = yes && test "$GCC" = yes; then
11889 case $archive_cmds in
11891 # FIXME: we may have to deal with multi-command sequences.
11894 # Test whether the compiler implicitly links with -lc since on some
11895 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11896 # to ld, don't add -lc before -lgcc.
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11898 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11900 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11903 (eval $ac_compile) 2>&5
11905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11906 test $ac_status = 0; } 2>conftest.err; then
11909 libobjs=conftest.$ac_objext
11911 wl=$lt_prog_compiler_wl
11912 pic_flag=$lt_prog_compiler_pic
11918 lt_save_allow_undefined_flag=$allow_undefined_flag
11919 allow_undefined_flag=
11920 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11921 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11924 test $ac_status = 0; }
11926 archive_cmds_need_lc=no
11928 archive_cmds_need_lc=yes
11930 allow_undefined_flag=$lt_save_allow_undefined_flag
11932 cat conftest.err 1>&5
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
11936 $as_echo "$archive_cmds_need_lc" >&6; }
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12100 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12102 if test "$GCC" = yes; then
12104 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12105 *) lt_awk_arg="/^libraries:/" ;;
12107 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12108 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
12109 # if the path contains ";" then we assume it to be the separator
12110 # otherwise default to the standard path separator (i.e. ":") - it is
12111 # assumed that no part of a normal pathname contains ";" but that should
12112 # okay in the real world where ";" in dirpaths is itself problematic.
12113 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
12115 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12117 # Ok, now we have the path, separated by spaces, we can step through it
12118 # and add multilib dir if necessary.
12119 lt_tmp_lt_search_path_spec=
12120 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12121 for lt_sys_path in $lt_search_path_spec; do
12122 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12123 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12125 test -d "$lt_sys_path" && \
12126 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12129 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
12130 BEGIN {RS=" "; FS="/|\n";} {
12133 for (lt_i = NF; lt_i > 0; lt_i--) {
12134 if ($lt_i != "" && $lt_i != ".") {
12135 if ($lt_i == "..") {
12138 if (lt_count == 0) {
12139 lt_foo="/" $lt_i lt_foo;
12146 if (lt_foo != "") { lt_freq[lt_foo]++; }
12147 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12149 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
12151 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12153 library_names_spec=
12154 libname_spec='lib$name'
12158 postuninstall_cmds=
12162 shlibpath_overrides_runpath=unknown
12164 dynamic_linker="$host_os ld.so"
12165 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12166 need_lib_prefix=unknown
12167 hardcode_into_libs=no
12169 # when you set need_version to no, make sure it does not cause -set_version
12170 # flags to be left without arguments
12171 need_version=unknown
12176 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12177 shlibpath_var=LIBPATH
12179 # AIX 3 has no versioning support, so we append a major version to the name.
12180 soname_spec='${libname}${release}${shared_ext}$major'
12187 hardcode_into_libs=yes
12188 if test "$host_cpu" = ia64; then
12189 # AIX 5 supports IA64
12190 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12191 shlibpath_var=LD_LIBRARY_PATH
12193 # With GCC up to 2.95.x, collect2 would create an import file
12194 # for dependence libraries. The import file would start with
12195 # the line `#! .'. This would cause the generated library to
12196 # depend on `.', always an invalid library. This was fixed in
12197 # development snapshots of GCC prior to 3.0.
12199 aix4 | aix4.[01] | aix4.[01].*)
12200 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12202 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12205 can_build_shared=no
12209 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12210 # soname into executable. Probably we can add versioning support to
12211 # collect2, so additional links can be useful in future.
12212 if test "$aix_use_runtimelinking" = yes; then
12213 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12214 # instead of lib<name>.a to let people know that these are not
12215 # typical AIX shared libraries.
12216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12218 # We preserve .a as extension for shared libraries through AIX4.2
12219 # and later when we are not doing run time linking.
12220 library_names_spec='${libname}${release}.a $libname.a'
12221 soname_spec='${libname}${release}${shared_ext}$major'
12223 shlibpath_var=LIBPATH
12230 # Since July 2007 AmigaOS4 officially supports .so libraries.
12231 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12235 library_names_spec='$libname.ixlibrary $libname.a'
12236 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12237 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'
12243 library_names_spec='${libname}${shared_ext}'
12244 dynamic_linker="$host_os ld.so"
12245 shlibpath_var=LIBRARY_PATH
12251 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12252 soname_spec='${libname}${release}${shared_ext}$major'
12253 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12254 shlibpath_var=LD_LIBRARY_PATH
12255 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12256 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12257 # the default ld.so.conf also contains /usr/contrib/lib and
12258 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12259 # libtool to hard-code these into programs
12262 cygwin* | mingw* | pw32* | cegcc*)
12263 version_type=windows
12268 case $GCC,$host_os in
12269 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
12270 library_names_spec='$libname.dll.a'
12271 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12272 postinstall_cmds='base_file=`basename \${file}`~
12273 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12274 dldir=$destdir/`dirname \$dlpath`~
12275 test -d \$dldir || mkdir -p \$dldir~
12276 $install_prog $dir/$dlname \$dldir/$dlname~
12277 chmod a+x \$dldir/$dlname~
12278 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12279 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12281 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12282 dlpath=$dir/\$dldll~
12284 shlibpath_overrides_runpath=yes
12288 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12289 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12290 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12293 # MinGW DLLs use traditional 'lib' prefix
12294 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12295 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12296 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12297 # It is most probably a Windows format PATH printed by
12298 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12299 # path with ; separators, and with drive letters. We can handle the
12300 # drive letters (cygwin fileutils understands them), so leave them,
12301 # especially as we might pass files found there to a mingw objdump,
12302 # which wouldn't understand a cygwinified path. Ahh.
12303 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12305 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12309 # pw32 DLLs use 'pw' prefix rather than 'lib'
12310 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12316 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12319 dynamic_linker='Win32 ld.exe'
12320 # FIXME: first we should search . and the directory the executable is in
12324 darwin* | rhapsody*)
12325 dynamic_linker="$host_os dyld"
12326 version_type=darwin
12329 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12330 soname_spec='${libname}${release}${major}$shared_ext'
12331 shlibpath_overrides_runpath=yes
12332 shlibpath_var=DYLD_LIBRARY_PATH
12333 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12335 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12336 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12344 soname_spec='${libname}${release}${shared_ext}$major'
12345 shlibpath_var=LD_LIBRARY_PATH
12352 freebsd* | dragonfly*)
12353 # DragonFly does not have aout. When/if they implement a new
12354 # versioning mechanism, adjust this.
12355 if test -x /usr/bin/objformat; then
12356 objformat=`/usr/bin/objformat`
12359 freebsd[123]*) objformat=aout ;;
12360 *) objformat=elf ;;
12363 version_type=freebsd-$objformat
12364 case $version_type in
12366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12371 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12375 shlibpath_var=LD_LIBRARY_PATH
12378 shlibpath_overrides_runpath=yes
12380 freebsd3.[01]* | freebsdelf3.[01]*)
12381 shlibpath_overrides_runpath=yes
12382 hardcode_into_libs=yes
12384 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12385 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12386 shlibpath_overrides_runpath=no
12387 hardcode_into_libs=yes
12389 *) # from 4.6 on, and DragonFly
12390 shlibpath_overrides_runpath=yes
12391 hardcode_into_libs=yes
12400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12401 soname_spec='${libname}${release}${shared_ext}$major'
12402 shlibpath_var=LD_LIBRARY_PATH
12403 hardcode_into_libs=yes
12406 hpux9* | hpux10* | hpux11*)
12407 # Give a soname corresponding to the major version so that dld.sl refuses to
12408 # link against other versions.
12415 hardcode_into_libs=yes
12416 dynamic_linker="$host_os dld.so"
12417 shlibpath_var=LD_LIBRARY_PATH
12418 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12420 soname_spec='${libname}${release}${shared_ext}$major'
12421 if test "X$HPUX_IA64_MODE" = X32; then
12422 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12424 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12426 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12430 hardcode_into_libs=yes
12431 dynamic_linker="$host_os dld.sl"
12432 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12433 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12435 soname_spec='${libname}${release}${shared_ext}$major'
12436 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12437 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12441 dynamic_linker="$host_os dld.sl"
12442 shlibpath_var=SHLIB_PATH
12443 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12445 soname_spec='${libname}${release}${shared_ext}$major'
12448 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12449 postinstall_cmds='chmod 555 $lib'
12456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12457 soname_spec='${libname}${release}${shared_ext}$major'
12458 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12459 shlibpath_var=LD_LIBRARY_PATH
12460 shlibpath_overrides_runpath=no
12461 hardcode_into_libs=yes
12464 irix5* | irix6* | nonstopux*)
12466 nonstopux*) version_type=nonstopux ;;
12468 if test "$lt_cv_prog_gnu_ld" = yes; then
12476 soname_spec='${libname}${release}${shared_ext}$major'
12477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12479 irix5* | nonstopux*)
12480 libsuff= shlibsuff=
12483 case $LD in # libtool.m4 will add one of these switches to LD
12484 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12485 libsuff= shlibsuff= libmagic=32-bit;;
12486 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12487 libsuff=32 shlibsuff=N32 libmagic=N32;;
12488 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12489 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12490 *) libsuff= shlibsuff= libmagic=never-match;;
12494 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12495 shlibpath_overrides_runpath=no
12496 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12497 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12498 hardcode_into_libs=yes
12501 # No shared lib support for Linux oldld, aout, or coff.
12502 linux*oldld* | linux*aout* | linux*coff*)
12506 # This must be Linux ELF.
12507 linux* | k*bsd*-gnu)
12511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12512 soname_spec='${libname}${release}${shared_ext}$major'
12513 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12514 shlibpath_var=LD_LIBRARY_PATH
12515 shlibpath_overrides_runpath=no
12516 # Some binutils ld are patched to set DT_RUNPATH
12517 save_LDFLAGS=$LDFLAGS
12518 save_libdir=$libdir
12519 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12520 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12522 /* end confdefs.h. */
12532 if ac_fn_c_try_link "$LINENO"; then :
12533 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12534 shlibpath_overrides_runpath=yes
12537 rm -f core conftest.err conftest.$ac_objext \
12538 conftest$ac_exeext conftest.$ac_ext
12539 LDFLAGS=$save_LDFLAGS
12540 libdir=$save_libdir
12542 # This implies no fast_install, which is unacceptable.
12543 # Some rework will be needed to allow for fast_install
12544 # before this can be enabled.
12545 hardcode_into_libs=yes
12547 # Append ld.so.conf contents to the search path
12548 if test -f /etc/ld.so.conf; then
12549 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' ' '`
12550 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12553 # We used to test for /lib/ld.so.1 and disable shared libraries on
12554 # powerpc, because MkLinux only supported shared libraries with the
12555 # GNU dynamic linker. Since this was broken with cross compilers,
12556 # most powerpc-linux boxes support dynamic linking these days and
12557 # people can always --disable-shared, the test was removed, and we
12558 # assume the GNU/Linux dynamic linker is in use.
12559 dynamic_linker='GNU/Linux ld.so'
12566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12567 soname_spec='${libname}${release}${shared_ext}$major'
12568 shlibpath_var=LD_LIBRARY_PATH
12569 shlibpath_overrides_runpath=no
12570 hardcode_into_libs=yes
12571 dynamic_linker='NetBSD ld.elf_so'
12578 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12580 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12581 dynamic_linker='NetBSD (a.out) ld.so'
12583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12584 soname_spec='${libname}${release}${shared_ext}$major'
12585 dynamic_linker='NetBSD ld.elf_so'
12587 shlibpath_var=LD_LIBRARY_PATH
12588 shlibpath_overrides_runpath=yes
12589 hardcode_into_libs=yes
12594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12595 shlibpath_var=LD_LIBRARY_PATH
12596 shlibpath_overrides_runpath=yes
12603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12604 soname_spec='${libname}${release}${shared_ext}$major'
12605 shlibpath_var=LD_LIBRARY_PATH
12606 shlibpath_overrides_runpath=no
12607 hardcode_into_libs=yes
12608 dynamic_linker='ldqnx.so'
12613 sys_lib_dlsearch_path_spec="/usr/lib"
12615 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12617 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12618 *) need_version=no ;;
12620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12621 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12622 shlibpath_var=LD_LIBRARY_PATH
12623 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12625 openbsd2.[89] | openbsd2.[89].*)
12626 shlibpath_overrides_runpath=no
12629 shlibpath_overrides_runpath=yes
12633 shlibpath_overrides_runpath=yes
12638 libname_spec='$name'
12641 library_names_spec='$libname${shared_ext} $libname.a'
12642 dynamic_linker='OS/2 ld.exe'
12643 shlibpath_var=LIBPATH
12646 osf3* | osf4* | osf5*)
12650 soname_spec='${libname}${release}${shared_ext}$major'
12651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12652 shlibpath_var=LD_LIBRARY_PATH
12653 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12654 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12666 soname_spec='${libname}${release}${shared_ext}$major'
12667 shlibpath_var=LD_LIBRARY_PATH
12668 shlibpath_overrides_runpath=yes
12669 hardcode_into_libs=yes
12670 # ldd complains unless libraries are executable
12671 postinstall_cmds='chmod +x $lib'
12676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12677 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12678 shlibpath_var=LD_LIBRARY_PATH
12679 shlibpath_overrides_runpath=yes
12680 if test "$with_gnu_ld" = yes; then
12688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12689 soname_spec='${libname}${release}${shared_ext}$major'
12690 shlibpath_var=LD_LIBRARY_PATH
12691 case $host_vendor in
12693 shlibpath_overrides_runpath=no
12695 runpath_var=LD_RUN_PATH
12703 shlibpath_overrides_runpath=no
12704 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12710 if test -d /usr/nec ;then
12712 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12713 soname_spec='$libname${shared_ext}.$major'
12714 shlibpath_var=LD_LIBRARY_PATH
12718 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12719 version_type=freebsd-elf
12722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12723 soname_spec='${libname}${release}${shared_ext}$major'
12724 shlibpath_var=LD_LIBRARY_PATH
12725 shlibpath_overrides_runpath=yes
12726 hardcode_into_libs=yes
12727 if test "$with_gnu_ld" = yes; then
12728 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12730 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12733 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12737 sys_lib_dlsearch_path_spec='/usr/lib'
12741 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12746 shlibpath_var=LD_LIBRARY_PATH
12747 shlibpath_overrides_runpath=no
12748 hardcode_into_libs=yes
12753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12754 soname_spec='${libname}${release}${shared_ext}$major'
12755 shlibpath_var=LD_LIBRARY_PATH
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12763 $as_echo "$dynamic_linker" >&6; }
12764 test "$dynamic_linker" = no && can_build_shared=no
12766 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12767 if test "$GCC" = yes; then
12768 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12771 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12772 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12774 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12775 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12865 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12867 if test -n "$hardcode_libdir_flag_spec" ||
12868 test -n "$runpath_var" ||
12869 test "X$hardcode_automatic" = "Xyes" ; then
12871 # We can hardcode non-existent directories.
12872 if test "$hardcode_direct" != no &&
12873 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12874 # have to relink, otherwise we might link with an installed library
12875 # when we should be linking with a yet-to-be-installed one
12876 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12877 test "$hardcode_minus_L" != no; then
12878 # Linking always hardcodes the temporary library directory.
12879 hardcode_action=relink
12881 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12882 hardcode_action=immediate
12885 # We cannot hardcode anything, or else we can only hardcode existing
12887 hardcode_action=unsupported
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12890 $as_echo "$hardcode_action" >&6; }
12892 if test "$hardcode_action" = relink ||
12893 test "$inherit_rpath" = yes; then
12894 # Fast installation is not supported
12895 enable_fast_install=no
12896 elif test "$shlibpath_overrides_runpath" = yes ||
12897 test "$enable_shared" = no; then
12898 # Fast installation is not necessary
12899 enable_fast_install=needless
12907 if test "x$enable_dlopen" != xyes; then
12908 enable_dlopen=unknown
12909 enable_dlopen_self=unknown
12910 enable_dlopen_self_static=unknown
12917 lt_cv_dlopen="load_add_on"
12919 lt_cv_dlopen_self=yes
12922 mingw* | pw32* | cegcc*)
12923 lt_cv_dlopen="LoadLibrary"
12928 lt_cv_dlopen="dlopen"
12933 # if libdl is installed we need to link against it
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12935 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12936 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12937 $as_echo_n "(cached) " >&6
12939 ac_check_lib_save_LIBS=$LIBS
12941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h. */
12944 /* Override any GCC internal prototype to avoid an error.
12945 Use char because int might match the return type of a GCC
12946 builtin and then its argument prototype would still apply. */
12959 if ac_fn_c_try_link "$LINENO"; then :
12960 ac_cv_lib_dl_dlopen=yes
12962 ac_cv_lib_dl_dlopen=no
12964 rm -f core conftest.err conftest.$ac_objext \
12965 conftest$ac_exeext conftest.$ac_ext
12966 LIBS=$ac_check_lib_save_LIBS
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12969 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12970 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12971 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12974 lt_cv_dlopen="dyld"
12976 lt_cv_dlopen_self=yes
12983 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12984 if test "x$ac_cv_func_shl_load" = x""yes; then :
12985 lt_cv_dlopen="shl_load"
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12988 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12989 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12990 $as_echo_n "(cached) " >&6
12992 ac_check_lib_save_LIBS=$LIBS
12994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12995 /* end confdefs.h. */
12997 /* Override any GCC internal prototype to avoid an error.
12998 Use char because int might match the return type of a GCC
12999 builtin and then its argument prototype would still apply. */
13007 return shl_load ();
13012 if ac_fn_c_try_link "$LINENO"; then :
13013 ac_cv_lib_dld_shl_load=yes
13015 ac_cv_lib_dld_shl_load=no
13017 rm -f core conftest.err conftest.$ac_objext \
13018 conftest$ac_exeext conftest.$ac_ext
13019 LIBS=$ac_check_lib_save_LIBS
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13022 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13023 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
13024 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13026 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13027 if test "x$ac_cv_func_dlopen" = x""yes; then :
13028 lt_cv_dlopen="dlopen"
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13031 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13032 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13033 $as_echo_n "(cached) " >&6
13035 ac_check_lib_save_LIBS=$LIBS
13037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13038 /* end confdefs.h. */
13040 /* Override any GCC internal prototype to avoid an error.
13041 Use char because int might match the return type of a GCC
13042 builtin and then its argument prototype would still apply. */
13055 if ac_fn_c_try_link "$LINENO"; then :
13056 ac_cv_lib_dl_dlopen=yes
13058 ac_cv_lib_dl_dlopen=no
13060 rm -f core conftest.err conftest.$ac_objext \
13061 conftest$ac_exeext conftest.$ac_ext
13062 LIBS=$ac_check_lib_save_LIBS
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13065 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13066 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
13067 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13070 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13071 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
13072 $as_echo_n "(cached) " >&6
13074 ac_check_lib_save_LIBS=$LIBS
13075 LIBS="-lsvld $LIBS"
13076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13077 /* end confdefs.h. */
13079 /* Override any GCC internal prototype to avoid an error.
13080 Use char because int might match the return type of a GCC
13081 builtin and then its argument prototype would still apply. */
13094 if ac_fn_c_try_link "$LINENO"; then :
13095 ac_cv_lib_svld_dlopen=yes
13097 ac_cv_lib_svld_dlopen=no
13099 rm -f core conftest.err conftest.$ac_objext \
13100 conftest$ac_exeext conftest.$ac_ext
13101 LIBS=$ac_check_lib_save_LIBS
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13104 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13105 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
13106 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13109 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13110 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
13111 $as_echo_n "(cached) " >&6
13113 ac_check_lib_save_LIBS=$LIBS
13115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13116 /* end confdefs.h. */
13118 /* Override any GCC internal prototype to avoid an error.
13119 Use char because int might match the return type of a GCC
13120 builtin and then its argument prototype would still apply. */
13128 return dld_link ();
13133 if ac_fn_c_try_link "$LINENO"; then :
13134 ac_cv_lib_dld_dld_link=yes
13136 ac_cv_lib_dld_dld_link=no
13138 rm -f core conftest.err conftest.$ac_objext \
13139 conftest$ac_exeext conftest.$ac_ext
13140 LIBS=$ac_check_lib_save_LIBS
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13143 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13144 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
13145 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13166 if test "x$lt_cv_dlopen" != xno; then
13172 case $lt_cv_dlopen in
13174 save_CPPFLAGS="$CPPFLAGS"
13175 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13177 save_LDFLAGS="$LDFLAGS"
13178 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13181 LIBS="$lt_cv_dlopen_libs $LIBS"
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13184 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13185 if test "${lt_cv_dlopen_self+set}" = set; then :
13186 $as_echo_n "(cached) " >&6
13188 if test "$cross_compiling" = yes; then :
13189 lt_cv_dlopen_self=cross
13191 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13192 lt_status=$lt_dlunknown
13193 cat > conftest.$ac_ext <<_LT_EOF
13194 #line 13194 "configure"
13195 #include "confdefs.h"
13204 # define LT_DLGLOBAL RTLD_GLOBAL
13207 # define LT_DLGLOBAL DL_GLOBAL
13209 # define LT_DLGLOBAL 0
13213 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13214 find out it does not work in some platform. */
13215 #ifndef LT_DLLAZY_OR_NOW
13217 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13220 # define LT_DLLAZY_OR_NOW DL_LAZY
13223 # define LT_DLLAZY_OR_NOW RTLD_NOW
13226 # define LT_DLLAZY_OR_NOW DL_NOW
13228 # define LT_DLLAZY_OR_NOW 0
13235 void fnord() { int i=42;}
13238 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13239 int status = $lt_dlunknown;
13243 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13244 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13245 /* dlclose (self); */
13253 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13254 (eval $ac_link) 2>&5
13256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13257 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13258 (./conftest; exit; ) >&5 2>/dev/null
13260 case x$lt_status in
13261 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13262 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13263 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13266 # compilation failed
13267 lt_cv_dlopen_self=no
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13275 $as_echo "$lt_cv_dlopen_self" >&6; }
13277 if test "x$lt_cv_dlopen_self" = xyes; then
13278 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13280 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13281 if test "${lt_cv_dlopen_self_static+set}" = set; then :
13282 $as_echo_n "(cached) " >&6
13284 if test "$cross_compiling" = yes; then :
13285 lt_cv_dlopen_self_static=cross
13287 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13288 lt_status=$lt_dlunknown
13289 cat > conftest.$ac_ext <<_LT_EOF
13290 #line 13290 "configure"
13291 #include "confdefs.h"
13300 # define LT_DLGLOBAL RTLD_GLOBAL
13303 # define LT_DLGLOBAL DL_GLOBAL
13305 # define LT_DLGLOBAL 0
13309 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13310 find out it does not work in some platform. */
13311 #ifndef LT_DLLAZY_OR_NOW
13313 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13316 # define LT_DLLAZY_OR_NOW DL_LAZY
13319 # define LT_DLLAZY_OR_NOW RTLD_NOW
13322 # define LT_DLLAZY_OR_NOW DL_NOW
13324 # define LT_DLLAZY_OR_NOW 0
13331 void fnord() { int i=42;}
13334 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13335 int status = $lt_dlunknown;
13339 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13340 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13341 /* dlclose (self); */
13349 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13350 (eval $ac_link) 2>&5
13352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13353 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13354 (./conftest; exit; ) >&5 2>/dev/null
13356 case x$lt_status in
13357 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13358 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13359 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13362 # compilation failed
13363 lt_cv_dlopen_self_static=no
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13371 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13374 CPPFLAGS="$save_CPPFLAGS"
13375 LDFLAGS="$save_LDFLAGS"
13380 case $lt_cv_dlopen_self in
13381 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13382 *) enable_dlopen_self=unknown ;;
13385 case $lt_cv_dlopen_self_static in
13386 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13387 *) enable_dlopen_self_static=unknown ;;
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13410 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13411 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13412 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13413 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13415 $as_echo "yes" >&6; }
13417 # FIXME - insert some real tests, host_os isn't really good enough
13420 if test -n "$STRIP" ; then
13421 striplib="$STRIP -x"
13422 old_striplib="$STRIP -S"
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13424 $as_echo "yes" >&6; }
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13427 $as_echo "no" >&6; }
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13432 $as_echo "no" >&6; }
13448 # Report which library types will actually be built
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13450 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13452 $as_echo "$can_build_shared" >&6; }
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13455 $as_echo_n "checking whether to build shared libraries... " >&6; }
13456 test "$can_build_shared" = "no" && enable_shared=no
13458 # On AIX, shared libraries and static libraries use the same namespace, and
13459 # are all built from PIC.
13462 test "$enable_shared" = yes && enable_static=no
13463 if test -n "$RANLIB"; then
13464 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13465 postinstall_cmds='$RANLIB $lib'
13470 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13471 test "$enable_shared" = yes && enable_static=no
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13476 $as_echo "$enable_shared" >&6; }
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13479 $as_echo_n "checking whether to build static libraries... " >&6; }
13480 # Make sure either enable_shared or enable_static is yes.
13481 test "$enable_shared" = yes || enable_static=yes
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13483 $as_echo "$enable_static" >&6; }
13490 ac_cpp='$CPP $CPPFLAGS'
13491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13499 ac_cpp='$CXXCPP $CPPFLAGS'
13500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13504 archive_cmds_need_lc_CXX=no
13505 allow_undefined_flag_CXX=
13506 always_export_symbols_CXX=no
13507 archive_expsym_cmds_CXX=
13508 compiler_needs_object_CXX=no
13509 export_dynamic_flag_spec_CXX=
13510 hardcode_direct_CXX=no
13511 hardcode_direct_absolute_CXX=no
13512 hardcode_libdir_flag_spec_CXX=
13513 hardcode_libdir_flag_spec_ld_CXX=
13514 hardcode_libdir_separator_CXX=
13515 hardcode_minus_L_CXX=no
13516 hardcode_shlibpath_var_CXX=unsupported
13517 hardcode_automatic_CXX=no
13518 inherit_rpath_CXX=no
13520 module_expsym_cmds_CXX=
13521 link_all_deplibs_CXX=unknown
13522 old_archive_cmds_CXX=$old_archive_cmds
13523 no_undefined_flag_CXX=
13524 whole_archive_flag_spec_CXX=
13525 enable_shared_with_static_runtimes_CXX=no
13527 # Source file extension for C++ test sources.
13530 # Object file extension for compiled C++ test sources.
13534 # No sense in running all these tests if we already determined that
13535 # the CXX compiler isn't working. Some variables (like enable_shared)
13536 # are currently assumed to apply to all compilers on this platform,
13537 # and will be corrupted by setting them based on a non-working compiler.
13538 if test "$_lt_caught_CXX_error" != yes; then
13539 # Code to be used in simple compile tests
13540 lt_simple_compile_test_code="int some_variable = 0;"
13542 # Code to be used in simple link tests
13543 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13545 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13552 # If no C compiler was specified, use CC.
13555 # If no C compiler flags were specified, use CFLAGS.
13556 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13558 # Allow CC to be a program name with arguments.
13562 # save warnings/boilerplate of simple test code
13563 ac_outfile=conftest.$ac_objext
13564 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13565 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13566 _lt_compiler_boilerplate=`cat conftest.err`
13569 ac_outfile=conftest.$ac_objext
13570 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13571 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13572 _lt_linker_boilerplate=`cat conftest.err`
13576 # Allow CC to be a program name with arguments.
13581 lt_save_with_gnu_ld=$with_gnu_ld
13582 lt_save_path_LD=$lt_cv_path_LD
13583 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13584 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13586 $as_unset lt_cv_prog_gnu_ld
13588 if test -n "${lt_cv_path_LDCXX+set}"; then
13589 lt_cv_path_LD=$lt_cv_path_LDCXX
13591 $as_unset lt_cv_path_LD
13593 test -z "${LDCXX+set}" || LD=$LDCXX
13597 for cc_temp in $compiler""; do
13599 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13600 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13605 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13608 if test -n "$compiler"; then
13609 # We don't want -fno-exception when compiling C++ code, so set the
13610 # no_builtin_flag separately
13611 if test "$GXX" = yes; then
13612 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13614 lt_prog_compiler_no_builtin_flag_CXX=
13617 if test "$GXX" = yes; then
13618 # Set up default GNU C++ configuration
13622 # Check whether --with-gnu-ld was given.
13623 if test "${with_gnu_ld+set}" = set; then :
13624 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13630 if test "$GCC" = yes; then
13631 # Check if gcc -print-prog-name=ld gives a path.
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13633 $as_echo_n "checking for ld used by $CC... " >&6; }
13636 # gcc leaves a trailing carriage return which upsets mingw
13637 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13639 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13642 # Accept absolute paths.
13644 re_direlt='/[^/][^/]*/\.\./'
13645 # Canonicalize the pathname of ld
13646 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13647 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13648 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13650 test -z "$LD" && LD="$ac_prog"
13653 # If it fails, then pretend we aren't using GCC.
13657 # If it is relative, then search for the first ld in PATH.
13658 with_gnu_ld=unknown
13661 elif test "$with_gnu_ld" = yes; then
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13663 $as_echo_n "checking for GNU ld... " >&6; }
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13666 $as_echo_n "checking for non-GNU ld... " >&6; }
13668 if test "${lt_cv_path_LD+set}" = set; then :
13669 $as_echo_n "(cached) " >&6
13671 if test -z "$LD"; then
13672 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13673 for ac_dir in $PATH; do
13675 test -z "$ac_dir" && ac_dir=.
13676 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13677 lt_cv_path_LD="$ac_dir/$ac_prog"
13678 # Check to see if the program is GNU ld. I'd rather use --version,
13679 # but apparently some variants of GNU ld only accept -v.
13680 # Break only if it was the GNU/non-GNU ld that we prefer.
13681 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13682 *GNU* | *'with BFD'*)
13683 test "$with_gnu_ld" != no && break
13686 test "$with_gnu_ld" != yes && break
13693 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13697 LD="$lt_cv_path_LD"
13698 if test -n "$LD"; then
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13700 $as_echo "$LD" >&6; }
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13703 $as_echo "no" >&6; }
13705 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13707 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13708 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
13709 $as_echo_n "(cached) " >&6
13711 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13712 case `$LD -v 2>&1 </dev/null` in
13713 *GNU* | *'with BFD'*)
13714 lt_cv_prog_gnu_ld=yes
13717 lt_cv_prog_gnu_ld=no
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13722 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13723 with_gnu_ld=$lt_cv_prog_gnu_ld
13731 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13732 # archiving commands below assume that GNU ld is being used.
13733 if test "$with_gnu_ld" = yes; then
13734 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13735 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'
13737 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13738 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13740 # If archive_cmds runs LD, not CC, wlarc should be empty
13741 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13742 # investigate it a little bit more. (MM)
13745 # ancient GNU ld didn't support --whole-archive et. al.
13746 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13747 $GREP 'no-whole-archive' > /dev/null; then
13748 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13750 whole_archive_flag_spec_CXX=
13756 # A generic and very simple default shared library creation
13757 # command for GNU C++ for the case where it uses the native
13758 # linker, instead of GNU ld. If possible, this setting should
13759 # overridden to take advantage of the native linker features on
13760 # the platform it is being used on.
13761 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13764 # Commands to make compiler produce verbose output that lists
13765 # what "hidden" libraries, object files and flags are used when
13766 # linking a shared library.
13767 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13775 # PORTME: fill in a description of your system's C++ link characteristics
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13777 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13781 # FIXME: insert proper C++ library support
13785 if test "$host_cpu" = ia64; then
13786 # On IA64, the linker does run time linking by default, so we don't
13787 # have to do anything special.
13788 aix_use_runtimelinking=no
13789 exp_sym_flag='-Bexport'
13792 aix_use_runtimelinking=no
13794 # Test if we are trying to use run time linking or normal
13795 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13796 # need to do runtime linking.
13797 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13798 for ld_flag in $LDFLAGS; do
13801 aix_use_runtimelinking=yes
13809 exp_sym_flag='-bexport'
13810 no_entry_flag='-bnoentry'
13813 # When large executables or shared objects are built, AIX ld can
13814 # have problems creating the table of contents. If linking a library
13815 # or program results in "error TOC overflow" add -mminimal-toc to
13816 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13817 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13819 archive_cmds_CXX=''
13820 hardcode_direct_CXX=yes
13821 hardcode_direct_absolute_CXX=yes
13822 hardcode_libdir_separator_CXX=':'
13823 link_all_deplibs_CXX=yes
13824 file_list_spec_CXX='${wl}-f,'
13826 if test "$GXX" = yes; then
13827 case $host_os in aix4.[012]|aix4.[012].*)
13828 # We only want to do this on AIX 4.2 and lower, the check
13829 # below for broken collect2 doesn't work under 4.3+
13830 collect2name=`${CC} -print-prog-name=collect2`
13831 if test -f "$collect2name" &&
13832 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13834 # We have reworked collect2
13837 # We have old collect2
13838 hardcode_direct_CXX=unsupported
13839 # It fails to find uninstalled libraries when the uninstalled
13840 # path is not listed in the libpath. Setting hardcode_minus_L
13841 # to unsupported forces relinking
13842 hardcode_minus_L_CXX=yes
13843 hardcode_libdir_flag_spec_CXX='-L$libdir'
13844 hardcode_libdir_separator_CXX=
13847 shared_flag='-shared'
13848 if test "$aix_use_runtimelinking" = yes; then
13849 shared_flag="$shared_flag "'${wl}-G'
13853 if test "$host_cpu" = ia64; then
13854 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13855 # chokes on -Wl,-G. The following line is correct:
13858 if test "$aix_use_runtimelinking" = yes; then
13859 shared_flag='${wl}-G'
13861 shared_flag='${wl}-bM:SRE'
13866 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13867 # It seems that -bexpall does not export symbols beginning with
13868 # underscore (_), so it is better to generate a list of symbols to
13870 always_export_symbols_CXX=yes
13871 if test "$aix_use_runtimelinking" = yes; then
13872 # Warning - without using the other runtime loading flags (-brtl),
13873 # -berok will link without error, but may produce a broken library.
13874 allow_undefined_flag_CXX='-berok'
13875 # Determine the default libpath from the value encoded in an empty
13877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13878 /* end confdefs.h. */
13888 if ac_fn_cxx_try_link "$LINENO"; then :
13890 lt_aix_libpath_sed='
13891 /Import File Strings/,/^$/ {
13897 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13898 # Check for a 64-bit object if we didn't find anything.
13899 if test -z "$aix_libpath"; then
13900 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13903 rm -f core conftest.err conftest.$ac_objext \
13904 conftest$ac_exeext conftest.$ac_ext
13905 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13907 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13909 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"
13911 if test "$host_cpu" = ia64; then
13912 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13913 allow_undefined_flag_CXX="-z nodefs"
13914 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"
13916 # Determine the default libpath from the value encoded in an
13917 # empty executable.
13918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13929 if ac_fn_cxx_try_link "$LINENO"; then :
13931 lt_aix_libpath_sed='
13932 /Import File Strings/,/^$/ {
13938 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13939 # Check for a 64-bit object if we didn't find anything.
13940 if test -z "$aix_libpath"; then
13941 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13944 rm -f core conftest.err conftest.$ac_objext \
13945 conftest$ac_exeext conftest.$ac_ext
13946 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13948 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13949 # Warning - without using the other run time loading flags,
13950 # -berok will link without error, but may produce a broken library.
13951 no_undefined_flag_CXX=' ${wl}-bernotok'
13952 allow_undefined_flag_CXX=' ${wl}-berok'
13953 # Exported symbols can be pulled into shared objects from archives
13954 whole_archive_flag_spec_CXX='$convenience'
13955 archive_cmds_need_lc_CXX=yes
13956 # This is similar to how AIX traditionally builds its shared
13958 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'
13964 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13965 allow_undefined_flag_CXX=unsupported
13966 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13967 # support --undefined. This deserves some investigation. FIXME
13968 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13975 case $cc_basename in
13977 # FIXME: insert proper C++ library support
13983 cygwin* | mingw* | pw32* | cegcc*)
13984 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13985 # as there is no search path for DLLs.
13986 hardcode_libdir_flag_spec_CXX='-L$libdir'
13987 allow_undefined_flag_CXX=unsupported
13988 always_export_symbols_CXX=no
13989 enable_shared_with_static_runtimes_CXX=yes
13991 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13992 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'
13993 # If the export-symbols file already is a .def file (1st line
13994 # is EXPORTS), use it as is; otherwise, prepend...
13995 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13996 cp $export_symbols $output_objdir/$soname.def;
13998 echo EXPORTS > $output_objdir/$soname.def;
13999 cat $export_symbols >> $output_objdir/$soname.def;
14001 $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'
14006 darwin* | rhapsody*)
14009 archive_cmds_need_lc_CXX=no
14010 hardcode_direct_CXX=no
14011 hardcode_automatic_CXX=yes
14012 hardcode_shlibpath_var_CXX=unsupported
14013 whole_archive_flag_spec_CXX=''
14014 link_all_deplibs_CXX=yes
14015 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14016 case $cc_basename in
14017 ifort*) _lt_dar_can_shared=yes ;;
14018 *) _lt_dar_can_shared=$GCC ;;
14020 if test "$_lt_dar_can_shared" = "yes"; then
14021 output_verbose_link_cmd=echo
14022 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}"
14023 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14024 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}"
14025 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}"
14026 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14027 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}"
14028 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}"
14038 case $cc_basename in
14040 # FIXME: insert proper C++ library support
14044 # Green Hills C++ Compiler
14045 # FIXME: insert proper C++ library support
14049 # FIXME: insert proper C++ library support
14056 # C++ shared libraries reported to be fairly broken before
14062 archive_cmds_need_lc_CXX=no
14065 freebsd* | dragonfly*)
14066 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14075 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14076 hardcode_libdir_separator_CXX=:
14077 export_dynamic_flag_spec_CXX='${wl}-E'
14078 hardcode_direct_CXX=yes
14079 hardcode_minus_L_CXX=yes # Not in the search PATH,
14080 # but as the default
14081 # location of the library.
14083 case $cc_basename in
14085 # FIXME: insert proper C++ library support
14089 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'
14090 # Commands to make compiler produce verbose output that lists
14091 # what "hidden" libraries, object files and flags are used when
14092 # linking a shared library.
14094 # There doesn't appear to be a way to prevent this compiler from
14095 # explicitly linking system object files so we need to strip them
14096 # from the output so that they don't get included in the library
14098 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'
14101 if test "$GXX" = yes; then
14102 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'
14104 # FIXME: insert proper C++ library support
14112 if test $with_gnu_ld = no; then
14113 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14114 hardcode_libdir_separator_CXX=:
14120 export_dynamic_flag_spec_CXX='${wl}-E'
14126 hardcode_direct_CXX=no
14127 hardcode_shlibpath_var_CXX=no
14130 hardcode_direct_CXX=yes
14131 hardcode_direct_absolute_CXX=yes
14132 hardcode_minus_L_CXX=yes # Not in the search PATH,
14133 # but as the default
14134 # location of the library.
14138 case $cc_basename in
14140 # FIXME: insert proper C++ library support
14146 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14149 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14152 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14155 # Commands to make compiler produce verbose output that lists
14156 # what "hidden" libraries, object files and flags are used when
14157 # linking a shared library.
14159 # There doesn't appear to be a way to prevent this compiler from
14160 # explicitly linking system object files so we need to strip them
14161 # from the output so that they don't get included in the library
14163 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'
14166 if test "$GXX" = yes; then
14167 if test $with_gnu_ld = no; then
14170 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14173 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14176 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'
14181 # FIXME: insert proper C++ library support
14189 hardcode_direct_CXX=no
14190 hardcode_shlibpath_var_CXX=no
14191 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14192 export_dynamic_flag_spec_CXX='${wl}-E'
14193 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14194 # Instead, shared libraries are loaded at an image base (0x10000000 by
14195 # default) and relocated if they conflict, which is a slow very memory
14196 # consuming and fragmenting process. To avoid this, we pick a random,
14197 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14198 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14199 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'
14200 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'
14203 case $cc_basename in
14206 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'
14208 # Archives containing C++ object files must be created using
14209 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14210 # necessary to make sure instantiated templates are included
14212 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14215 if test "$GXX" = yes; then
14216 if test "$with_gnu_ld" = no; then
14217 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'
14219 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'
14222 link_all_deplibs_CXX=yes
14225 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14226 hardcode_libdir_separator_CXX=:
14227 inherit_rpath_CXX=yes
14230 linux* | k*bsd*-gnu)
14231 case $cc_basename in
14233 # Kuck and Associates, Inc. (KAI) C++ Compiler
14235 # KCC will only create a shared library if the output file
14236 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14237 # to its proper name (with version) after linking.
14238 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'
14239 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'
14240 # Commands to make compiler produce verbose output that lists
14241 # what "hidden" libraries, object files and flags are used when
14242 # linking a shared library.
14244 # There doesn't appear to be a way to prevent this compiler from
14245 # explicitly linking system object files so we need to strip them
14246 # from the output so that they don't get included in the library
14248 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'
14250 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14251 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14253 # Archives containing C++ object files must be created using
14254 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14255 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14260 # version 8.0 and above of icpc choke on multiply defined symbols
14261 # if we add $predep_objects and $postdep_objects, however 7.1 and
14262 # earlier do not add the objects themselves.
14263 case `$CC -V 2>&1` in
14265 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14266 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'
14268 *) # Version 8.0 or newer
14271 ia64*) tmp_idyn=' -i_dynamic';;
14273 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14274 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'
14277 archive_cmds_need_lc_CXX=no
14278 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14279 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14280 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14283 # Portland Group C++ compiler
14285 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
14286 prelink_cmds_CXX='tpldir=Template.dir~
14288 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14289 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14290 old_archive_cmds_CXX='tpldir=Template.dir~
14292 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14293 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14295 archive_cmds_CXX='tpldir=Template.dir~
14297 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14298 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14299 archive_expsym_cmds_CXX='tpldir=Template.dir~
14301 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14302 $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'
14304 *) # Version 6 will use weak symbols
14305 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14306 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'
14310 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14311 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14312 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'
14316 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14317 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'
14319 runpath_var=LD_RUN_PATH
14320 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14321 hardcode_libdir_separator_CXX=:
14323 # Commands to make compiler produce verbose output that lists
14324 # what "hidden" libraries, object files and flags are used when
14325 # linking a shared library.
14327 # There doesn't appear to be a way to prevent this compiler from
14328 # explicitly linking system object files so we need to strip them
14329 # from the output so that they don't get included in the library
14331 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'
14334 # IBM XL 8.0 on PPC, with GNU ld
14335 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14336 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14337 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14338 if test "x$supports_anon_versioning" = xyes; then
14339 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14340 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14341 echo "local: *; };" >> $output_objdir/$libname.ver~
14342 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14346 case `$CC -V 2>&1 | sed 5q` in
14349 no_undefined_flag_CXX=' -zdefs'
14350 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14351 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'
14352 hardcode_libdir_flag_spec_CXX='-R$libdir'
14353 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'
14354 compiler_needs_object_CXX=yes
14356 # Not sure whether something based on
14357 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14359 output_verbose_link_cmd='echo'
14361 # Archives containing C++ object files must be created using
14362 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14363 # necessary to make sure instantiated templates are included
14365 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14373 # FIXME: insert proper C++ library support
14378 # FIXME: insert proper C++ library support
14383 case $cc_basename in
14385 # FIXME: insert proper C++ library support
14389 # FIXME: insert proper C++ library support
14396 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14397 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14399 hardcode_libdir_flag_spec_CXX='-R$libdir'
14400 hardcode_direct_CXX=yes
14401 hardcode_shlibpath_var_CXX=no
14403 # Workaround some broken pre-1.5 toolchains
14404 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14412 # C++ shared libraries are fairly broken
14417 if test -f /usr/libexec/ld.so; then
14418 hardcode_direct_CXX=yes
14419 hardcode_shlibpath_var_CXX=no
14420 hardcode_direct_absolute_CXX=yes
14421 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14422 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14423 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14424 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14425 export_dynamic_flag_spec_CXX='${wl}-E'
14426 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14428 output_verbose_link_cmd=echo
14434 osf3* | osf4* | osf5*)
14435 case $cc_basename in
14437 # Kuck and Associates, Inc. (KAI) C++ Compiler
14439 # KCC will only create a shared library if the output file
14440 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14441 # to its proper name (with version) after linking.
14442 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'
14444 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14445 hardcode_libdir_separator_CXX=:
14447 # Archives containing C++ object files must be created using
14448 # the KAI C++ compiler.
14450 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14451 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14455 # Rational C++ 2.4.1
14456 # FIXME: insert proper C++ library support
14462 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14463 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'
14464 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14467 allow_undefined_flag_CXX=' -expect_unresolved \*'
14468 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'
14469 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14470 echo "-hidden">> $lib.exp~
14471 $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~
14473 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14477 hardcode_libdir_separator_CXX=:
14479 # Commands to make compiler produce verbose output that lists
14480 # what "hidden" libraries, object files and flags are used when
14481 # linking a shared library.
14483 # There doesn't appear to be a way to prevent this compiler from
14484 # explicitly linking system object files so we need to strip them
14485 # from the output so that they don't get included in the library
14487 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'
14490 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14491 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14494 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'
14497 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'
14501 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14502 hardcode_libdir_separator_CXX=:
14504 # Commands to make compiler produce verbose output that lists
14505 # what "hidden" libraries, object files and flags are used when
14506 # linking a shared library.
14507 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14510 # FIXME: insert proper C++ library support
14518 # FIXME: insert proper C++ library support
14523 case $cc_basename in
14526 # FIXME: insert proper C++ library support
14531 # FIXME: insert proper C++ library support
14535 # FIXME: insert proper C++ library support
14542 case $cc_basename in
14544 # Sun C++ 4.2, 5.x and Centerline C++
14545 archive_cmds_need_lc_CXX=yes
14546 no_undefined_flag_CXX=' -zdefs'
14547 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14548 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14549 $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'
14551 hardcode_libdir_flag_spec_CXX='-R$libdir'
14552 hardcode_shlibpath_var_CXX=no
14554 solaris2.[0-5] | solaris2.[0-5].*) ;;
14556 # The compiler driver will combine and reorder linker options,
14557 # but understands `-z linker_flag'.
14558 # Supported since Solaris 2.6 (maybe 2.5.1?)
14559 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14562 link_all_deplibs_CXX=yes
14564 output_verbose_link_cmd='echo'
14566 # Archives containing C++ object files must be created using
14567 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14568 # necessary to make sure instantiated templates are included
14570 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14573 # Green Hills C++ Compiler
14574 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14576 # The C++ compiler must be used to create the archive.
14577 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14580 # GNU C++ compiler with Solaris linker
14581 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14582 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14583 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14584 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14585 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14586 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14588 # Commands to make compiler produce verbose output that lists
14589 # what "hidden" libraries, object files and flags are used when
14590 # linking a shared library.
14591 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14593 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14595 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14596 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14597 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14599 # Commands to make compiler produce verbose output that lists
14600 # what "hidden" libraries, object files and flags are used when
14601 # linking a shared library.
14602 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14605 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14607 solaris2.[0-5] | solaris2.[0-5].*) ;;
14609 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14617 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14618 no_undefined_flag_CXX='${wl}-z,text'
14619 archive_cmds_need_lc_CXX=no
14620 hardcode_shlibpath_var_CXX=no
14621 runpath_var='LD_RUN_PATH'
14623 case $cc_basename in
14625 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14626 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14629 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14630 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14635 sysv5* | sco3.2v5* | sco5v6*)
14636 # Note: We can NOT use -z defs as we might desire, because we do not
14637 # link with -lc, and that would cause any symbols used from libc to
14638 # always be unresolved, which means just about no library would
14639 # ever link correctly. If we're not using GNU ld we use -z text
14640 # though, which does catch some bad symbols but isn't as heavy-handed
14642 no_undefined_flag_CXX='${wl}-z,text'
14643 allow_undefined_flag_CXX='${wl}-z,nodefs'
14644 archive_cmds_need_lc_CXX=no
14645 hardcode_shlibpath_var_CXX=no
14646 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14647 hardcode_libdir_separator_CXX=':'
14648 link_all_deplibs_CXX=yes
14649 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14650 runpath_var='LD_RUN_PATH'
14652 case $cc_basename in
14654 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14655 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14658 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14659 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14665 case $cc_basename in
14667 # NonStop-UX NCC 3.20
14668 # FIXME: insert proper C++ library support
14672 # FIXME: insert proper C++ library support
14679 # FIXME: insert proper C++ library support
14684 # FIXME: insert proper C++ library support
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14690 $as_echo "$ld_shlibs_CXX" >&6; }
14691 test "$ld_shlibs_CXX" = no && can_build_shared=no
14697 ## There is no encapsulation within the following macros, do not change
14698 ## the running order or otherwise move them around unless you know exactly
14699 ## what you are doing...
14700 # Dependencies to place before and after the object being linked:
14701 predep_objects_CXX=
14702 postdep_objects_CXX=
14705 compiler_lib_search_path_CXX=
14707 cat > conftest.$ac_ext <<_LT_EOF
14711 Foo (void) { a = 0; }
14717 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14718 (eval $ac_compile) 2>&5
14720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14721 test $ac_status = 0; }; then
14722 # Parse the compiler output and extract the necessary
14723 # objects, libraries and library flags.
14725 # Sentinel used to keep track of whether or not we are before
14726 # the conftest object file.
14727 pre_test_object_deps_done=no
14729 for p in `eval "$output_verbose_link_cmd"`; do
14733 # Some compilers place space between "-{L,R}" and the path.
14734 # Remove the space.
14735 if test $p = "-L" ||
14736 test $p = "-R"; then
14743 if test "$pre_test_object_deps_done" = no; then
14746 # Internal compiler library paths should come after those
14747 # provided the user. The postdeps already come after the
14748 # user supplied libs so there is no need to process them.
14749 if test -z "$compiler_lib_search_path_CXX"; then
14750 compiler_lib_search_path_CXX="${prev}${p}"
14752 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14755 # The "-l" case would never come before the object being
14756 # linked, so don't bother handling this case.
14759 if test -z "$postdeps_CXX"; then
14760 postdeps_CXX="${prev}${p}"
14762 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14768 # This assumes that the test object file only shows up
14769 # once in the compiler output.
14770 if test "$p" = "conftest.$objext"; then
14771 pre_test_object_deps_done=yes
14775 if test "$pre_test_object_deps_done" = no; then
14776 if test -z "$predep_objects_CXX"; then
14777 predep_objects_CXX="$p"
14779 predep_objects_CXX="$predep_objects_CXX $p"
14782 if test -z "$postdep_objects_CXX"; then
14783 postdep_objects_CXX="$p"
14785 postdep_objects_CXX="$postdep_objects_CXX $p"
14790 *) ;; # Ignore the rest.
14798 echo "libtool.m4: error: problem compiling CXX test program"
14801 $RM -f confest.$objext
14803 # PORTME: override above test on systems where it is broken
14806 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14807 # hack all around it, let's just trust "g++" to DTRT.
14808 predep_objects_CXX=
14809 postdep_objects_CXX=
14814 case `$CC -V 2>&1 | sed 5q` in
14818 # The more standards-conforming stlport4 library is
14819 # incompatible with the Cstd library. Avoid specifying
14820 # it if it's in CXXFLAGS. Ignore libCrun as
14821 # -library=stlport4 depends on it.
14822 case " $CXX $CXXFLAGS " in
14823 *" -library=stlport4 "*)
14824 solaris_use_stlport4=yes
14828 if test "$solaris_use_stlport4" != yes; then
14829 postdeps_CXX='-library=Cstd -library=Crun'
14836 case $cc_basename in
14838 # The more standards-conforming stlport4 library is
14839 # incompatible with the Cstd library. Avoid specifying
14840 # it if it's in CXXFLAGS. Ignore libCrun as
14841 # -library=stlport4 depends on it.
14842 case " $CXX $CXXFLAGS " in
14843 *" -library=stlport4 "*)
14844 solaris_use_stlport4=yes
14848 # Adding this requires a known-good setup of shared libraries for
14849 # Sun compiler versions before 5.6, else PIC objects from an old
14850 # archive will be linked into the output, leading to subtle bugs.
14851 if test "$solaris_use_stlport4" != yes; then
14852 postdeps_CXX='-library=Cstd -library=Crun'
14860 case " $postdeps_CXX " in
14861 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14863 compiler_lib_search_dirs_CXX=
14864 if test -n "${compiler_lib_search_path_CXX}"; then
14865 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14898 lt_prog_compiler_wl_CXX=
14899 lt_prog_compiler_pic_CXX=
14900 lt_prog_compiler_static_CXX=
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14903 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14905 # C++ specific cases for pic, static, wl, etc.
14906 if test "$GXX" = yes; then
14907 lt_prog_compiler_wl_CXX='-Wl,'
14908 lt_prog_compiler_static_CXX='-static'
14912 # All AIX code is PIC.
14913 if test "$host_cpu" = ia64; then
14914 # AIX 5 now supports IA64 processor
14915 lt_prog_compiler_static_CXX='-Bstatic'
14922 # see comment about AmigaOS4 .so support
14923 lt_prog_compiler_pic_CXX='-fPIC'
14926 # FIXME: we need at least 68020 code to build shared libraries, but
14927 # adding the `-m68020' flag to GCC prevents building anything better,
14929 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14934 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14935 # PIC is the default for these OSes.
14937 mingw* | cygwin* | os2* | pw32* | cegcc*)
14938 # This hack is so that the source file can tell whether it is being
14939 # built for inclusion in a dll (and should export symbols for example).
14940 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14941 # (--disable-auto-import) libraries
14942 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14944 darwin* | rhapsody*)
14945 # PIC is the default on this platform
14946 # Common symbols not allowed in MH_DYLIB files
14947 lt_prog_compiler_pic_CXX='-fno-common'
14950 # DJGPP does not support shared libraries at all
14951 lt_prog_compiler_pic_CXX=
14954 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14955 # Instead, we relocate shared libraries at runtime.
14958 if test -d /usr/nec; then
14959 lt_prog_compiler_pic_CXX=-Kconform_pic
14963 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14964 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14965 # sets the default TLS model and affects inlining.
14970 lt_prog_compiler_pic_CXX='-fPIC'
14975 # QNX uses GNU C++, but need to define -shared option too, otherwise
14976 # it will coredump.
14977 lt_prog_compiler_pic_CXX='-fPIC -shared'
14980 lt_prog_compiler_pic_CXX='-fPIC'
14986 # All AIX code is PIC.
14987 if test "$host_cpu" = ia64; then
14988 # AIX 5 now supports IA64 processor
14989 lt_prog_compiler_static_CXX='-Bstatic'
14991 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14995 case $cc_basename in
14997 # Green Hills C++ Compiler
14998 # _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"
15003 case $cc_basename in
15005 lt_prog_compiler_pic_CXX='-KPIC'
15008 # Green Hills C++ Compiler
15009 lt_prog_compiler_pic_CXX='-pic'
15015 freebsd* | dragonfly*)
15016 # FreeBSD uses GNU C++
15018 hpux9* | hpux10* | hpux11*)
15019 case $cc_basename in
15021 lt_prog_compiler_wl_CXX='-Wl,'
15022 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15023 if test "$host_cpu" != ia64; then
15024 lt_prog_compiler_pic_CXX='+Z'
15028 lt_prog_compiler_wl_CXX='-Wl,'
15029 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15035 lt_prog_compiler_pic_CXX='+Z'
15044 # This is c89, which is MS Visual C++ (no shared libs)
15045 # Anyone wants to do a port?
15047 irix5* | irix6* | nonstopux*)
15048 case $cc_basename in
15050 lt_prog_compiler_wl_CXX='-Wl,'
15051 lt_prog_compiler_static_CXX='-non_shared'
15052 # CC pic flag -KPIC is the default.
15058 linux* | k*bsd*-gnu)
15059 case $cc_basename in
15062 lt_prog_compiler_wl_CXX='--backend -Wl,'
15063 lt_prog_compiler_pic_CXX='-fPIC'
15066 # old Intel C++ for x86_64 which still supported -KPIC.
15067 lt_prog_compiler_wl_CXX='-Wl,'
15068 lt_prog_compiler_pic_CXX='-KPIC'
15069 lt_prog_compiler_static_CXX='-static'
15072 # Intel C++, used to be incompatible with GCC.
15073 # ICC 10 doesn't accept -KPIC any more.
15074 lt_prog_compiler_wl_CXX='-Wl,'
15075 lt_prog_compiler_pic_CXX='-fPIC'
15076 lt_prog_compiler_static_CXX='-static'
15079 # Portland Group C++ compiler
15080 lt_prog_compiler_wl_CXX='-Wl,'
15081 lt_prog_compiler_pic_CXX='-fpic'
15082 lt_prog_compiler_static_CXX='-Bstatic'
15086 # Make sure the PIC flag is empty. It appears that all Alpha
15087 # Linux and Compaq Tru64 Unix objects are PIC.
15088 lt_prog_compiler_pic_CXX=
15089 lt_prog_compiler_static_CXX='-non_shared'
15092 # IBM XL 8.0 on PPC
15093 lt_prog_compiler_wl_CXX='-Wl,'
15094 lt_prog_compiler_pic_CXX='-qpic'
15095 lt_prog_compiler_static_CXX='-qstaticlink'
15098 case `$CC -V 2>&1 | sed 5q` in
15101 lt_prog_compiler_pic_CXX='-KPIC'
15102 lt_prog_compiler_static_CXX='-Bstatic'
15103 lt_prog_compiler_wl_CXX='-Qoption ld '
15114 case $cc_basename in
15116 lt_prog_compiler_pic_CXX='-W c,exportall'
15122 netbsd* | netbsdelf*-gnu)
15125 # QNX uses GNU C++, but need to define -shared option too, otherwise
15126 # it will coredump.
15127 lt_prog_compiler_pic_CXX='-fPIC -shared'
15129 osf3* | osf4* | osf5*)
15130 case $cc_basename in
15132 lt_prog_compiler_wl_CXX='--backend -Wl,'
15135 # Rational C++ 2.4.1
15136 lt_prog_compiler_pic_CXX='-pic'
15139 # Digital/Compaq C++
15140 lt_prog_compiler_wl_CXX='-Wl,'
15141 # Make sure the PIC flag is empty. It appears that all Alpha
15142 # Linux and Compaq Tru64 Unix objects are PIC.
15143 lt_prog_compiler_pic_CXX=
15144 lt_prog_compiler_static_CXX='-non_shared'
15153 case $cc_basename in
15155 # Sun C++ 4.2, 5.x and Centerline C++
15156 lt_prog_compiler_pic_CXX='-KPIC'
15157 lt_prog_compiler_static_CXX='-Bstatic'
15158 lt_prog_compiler_wl_CXX='-Qoption ld '
15161 # Green Hills C++ Compiler
15162 lt_prog_compiler_pic_CXX='-PIC'
15169 case $cc_basename in
15172 lt_prog_compiler_pic_CXX='-pic'
15173 lt_prog_compiler_static_CXX='-Bstatic'
15177 lt_prog_compiler_pic_CXX='-pic'
15183 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15184 case $cc_basename in
15186 lt_prog_compiler_wl_CXX='-Wl,'
15187 lt_prog_compiler_pic_CXX='-KPIC'
15188 lt_prog_compiler_static_CXX='-Bstatic'
15193 case $cc_basename in
15195 # NonStop-UX NCC 3.20
15196 lt_prog_compiler_pic_CXX='-KPIC'
15205 lt_prog_compiler_can_build_shared_CXX=no
15211 # For platforms which do not support PIC, -DPIC is meaningless:
15213 lt_prog_compiler_pic_CXX=
15216 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15220 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15225 # Check to make sure the PIC flag actually works.
15227 if test -n "$lt_prog_compiler_pic_CXX"; then
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15229 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15230 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15231 $as_echo_n "(cached) " >&6
15233 lt_cv_prog_compiler_pic_works_CXX=no
15234 ac_outfile=conftest.$ac_objext
15235 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15236 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15237 # Insert the option either (1) after the last *FLAGS variable, or
15238 # (2) before a word containing "conftest.", or (3) at the end.
15239 # Note that $ac_compile itself does not contain backslashes and begins
15240 # with a dollar sign (not a hyphen), so the echo should work correctly.
15241 # The option is referenced via a variable to avoid confusing sed.
15242 lt_compile=`echo "$ac_compile" | $SED \
15243 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15244 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15245 -e 's:$: $lt_compiler_flag:'`
15246 (eval echo "\"\$as_me:15246: $lt_compile\"" >&5)
15247 (eval "$lt_compile" 2>conftest.err)
15249 cat conftest.err >&5
15250 echo "$as_me:15250: \$? = $ac_status" >&5
15251 if (exit $ac_status) && test -s "$ac_outfile"; then
15252 # The compiler can only warn and ignore the option if not recognized
15253 # So say no if there are warnings other than the usual output.
15254 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15255 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15256 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15257 lt_cv_prog_compiler_pic_works_CXX=yes
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15264 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15266 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15267 case $lt_prog_compiler_pic_CXX in
15269 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15272 lt_prog_compiler_pic_CXX=
15273 lt_prog_compiler_can_build_shared_CXX=no
15281 # Check to make sure the static flag actually works.
15283 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15285 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15286 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15287 $as_echo_n "(cached) " >&6
15289 lt_cv_prog_compiler_static_works_CXX=no
15290 save_LDFLAGS="$LDFLAGS"
15291 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15292 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15293 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15294 # The linker can only warn and ignore the option if not recognized
15295 # So say no if there are warnings
15296 if test -s conftest.err; then
15297 # Append any errors to the config.log.
15298 cat conftest.err 1>&5
15299 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15300 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15301 if diff conftest.exp conftest.er2 >/dev/null; then
15302 lt_cv_prog_compiler_static_works_CXX=yes
15305 lt_cv_prog_compiler_static_works_CXX=yes
15309 LDFLAGS="$save_LDFLAGS"
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15313 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15315 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15318 lt_prog_compiler_static_CXX=
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15325 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15326 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15327 $as_echo_n "(cached) " >&6
15329 lt_cv_prog_compiler_c_o_CXX=no
15330 $RM -r conftest 2>/dev/null
15334 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15336 lt_compiler_flag="-o out/conftest2.$ac_objext"
15337 # Insert the option either (1) after the last *FLAGS variable, or
15338 # (2) before a word containing "conftest.", or (3) at the end.
15339 # Note that $ac_compile itself does not contain backslashes and begins
15340 # with a dollar sign (not a hyphen), so the echo should work correctly.
15341 lt_compile=`echo "$ac_compile" | $SED \
15342 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15343 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15344 -e 's:$: $lt_compiler_flag:'`
15345 (eval echo "\"\$as_me:15345: $lt_compile\"" >&5)
15346 (eval "$lt_compile" 2>out/conftest.err)
15348 cat out/conftest.err >&5
15349 echo "$as_me:15349: \$? = $ac_status" >&5
15350 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15352 # The compiler can only warn and ignore the option if not recognized
15353 # So say no if there are warnings
15354 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15355 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15356 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15357 lt_cv_prog_compiler_c_o_CXX=yes
15362 # SGI C++ compiler will create directory out/ii_files/ for
15363 # template instantiation
15364 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15365 $RM out/* && rmdir out
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15372 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15377 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15378 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15379 $as_echo_n "(cached) " >&6
15381 lt_cv_prog_compiler_c_o_CXX=no
15382 $RM -r conftest 2>/dev/null
15386 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15388 lt_compiler_flag="-o out/conftest2.$ac_objext"
15389 # Insert the option either (1) after the last *FLAGS variable, or
15390 # (2) before a word containing "conftest.", or (3) at the end.
15391 # Note that $ac_compile itself does not contain backslashes and begins
15392 # with a dollar sign (not a hyphen), so the echo should work correctly.
15393 lt_compile=`echo "$ac_compile" | $SED \
15394 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15395 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15396 -e 's:$: $lt_compiler_flag:'`
15397 (eval echo "\"\$as_me:15397: $lt_compile\"" >&5)
15398 (eval "$lt_compile" 2>out/conftest.err)
15400 cat out/conftest.err >&5
15401 echo "$as_me:15401: \$? = $ac_status" >&5
15402 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15404 # The compiler can only warn and ignore the option if not recognized
15405 # So say no if there are warnings
15406 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15407 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15408 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15409 lt_cv_prog_compiler_c_o_CXX=yes
15414 # SGI C++ compiler will create directory out/ii_files/ for
15415 # template instantiation
15416 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15417 $RM out/* && rmdir out
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15424 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15429 hard_links="nottested"
15430 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15431 # do not overwrite the value of need_locks provided by the user
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15433 $as_echo_n "checking if we can lock with hard links... " >&6; }
15436 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15438 ln conftest.a conftest.b 2>&5 || hard_links=no
15439 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15441 $as_echo "$hard_links" >&6; }
15442 if test "$hard_links" = no; then
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15444 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15454 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15456 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15459 # If we're using GNU nm, then we don't want the "-C" option.
15460 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15461 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15462 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'
15464 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'
15468 export_symbols_cmds_CXX="$ltdll_cmds"
15470 cygwin* | mingw* | cegcc*)
15471 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'
15473 linux* | k*bsd*-gnu)
15474 link_all_deplibs_CXX=no
15477 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15480 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15483 $as_echo "$ld_shlibs_CXX" >&6; }
15484 test "$ld_shlibs_CXX" = no && can_build_shared=no
15486 with_gnu_ld_CXX=$with_gnu_ld
15494 # Do we need to explicitly link libc?
15496 case "x$archive_cmds_need_lc_CXX" in
15498 # Assume -lc should be added
15499 archive_cmds_need_lc_CXX=yes
15501 if test "$enable_shared" = yes && test "$GCC" = yes; then
15502 case $archive_cmds_CXX in
15504 # FIXME: we may have to deal with multi-command sequences.
15507 # Test whether the compiler implicitly links with -lc since on some
15508 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15509 # to ld, don't add -lc before -lgcc.
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15511 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15513 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15515 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15516 (eval $ac_compile) 2>&5
15518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15519 test $ac_status = 0; } 2>conftest.err; then
15522 libobjs=conftest.$ac_objext
15524 wl=$lt_prog_compiler_wl_CXX
15525 pic_flag=$lt_prog_compiler_pic_CXX
15531 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15532 allow_undefined_flag_CXX=
15533 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15534 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15537 test $ac_status = 0; }
15539 archive_cmds_need_lc_CXX=no
15541 archive_cmds_need_lc_CXX=yes
15543 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15545 cat conftest.err 1>&5
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
15549 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15620 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15622 library_names_spec=
15623 libname_spec='lib$name'
15627 postuninstall_cmds=
15631 shlibpath_overrides_runpath=unknown
15633 dynamic_linker="$host_os ld.so"
15634 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15635 need_lib_prefix=unknown
15636 hardcode_into_libs=no
15638 # when you set need_version to no, make sure it does not cause -set_version
15639 # flags to be left without arguments
15640 need_version=unknown
15645 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15646 shlibpath_var=LIBPATH
15648 # AIX 3 has no versioning support, so we append a major version to the name.
15649 soname_spec='${libname}${release}${shared_ext}$major'
15656 hardcode_into_libs=yes
15657 if test "$host_cpu" = ia64; then
15658 # AIX 5 supports IA64
15659 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15660 shlibpath_var=LD_LIBRARY_PATH
15662 # With GCC up to 2.95.x, collect2 would create an import file
15663 # for dependence libraries. The import file would start with
15664 # the line `#! .'. This would cause the generated library to
15665 # depend on `.', always an invalid library. This was fixed in
15666 # development snapshots of GCC prior to 3.0.
15668 aix4 | aix4.[01] | aix4.[01].*)
15669 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15671 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15674 can_build_shared=no
15678 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15679 # soname into executable. Probably we can add versioning support to
15680 # collect2, so additional links can be useful in future.
15681 if test "$aix_use_runtimelinking" = yes; then
15682 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15683 # instead of lib<name>.a to let people know that these are not
15684 # typical AIX shared libraries.
15685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15687 # We preserve .a as extension for shared libraries through AIX4.2
15688 # and later when we are not doing run time linking.
15689 library_names_spec='${libname}${release}.a $libname.a'
15690 soname_spec='${libname}${release}${shared_ext}$major'
15692 shlibpath_var=LIBPATH
15699 # Since July 2007 AmigaOS4 officially supports .so libraries.
15700 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15704 library_names_spec='$libname.ixlibrary $libname.a'
15705 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15706 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'
15712 library_names_spec='${libname}${shared_ext}'
15713 dynamic_linker="$host_os ld.so"
15714 shlibpath_var=LIBRARY_PATH
15720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15721 soname_spec='${libname}${release}${shared_ext}$major'
15722 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15723 shlibpath_var=LD_LIBRARY_PATH
15724 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15725 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15726 # the default ld.so.conf also contains /usr/contrib/lib and
15727 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15728 # libtool to hard-code these into programs
15731 cygwin* | mingw* | pw32* | cegcc*)
15732 version_type=windows
15737 case $GCC,$host_os in
15738 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15739 library_names_spec='$libname.dll.a'
15740 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15741 postinstall_cmds='base_file=`basename \${file}`~
15742 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15743 dldir=$destdir/`dirname \$dlpath`~
15744 test -d \$dldir || mkdir -p \$dldir~
15745 $install_prog $dir/$dlname \$dldir/$dlname~
15746 chmod a+x \$dldir/$dlname~
15747 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15748 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15750 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15751 dlpath=$dir/\$dldll~
15753 shlibpath_overrides_runpath=yes
15757 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15758 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15759 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15762 # MinGW DLLs use traditional 'lib' prefix
15763 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15764 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15765 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15766 # It is most probably a Windows format PATH printed by
15767 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15768 # path with ; separators, and with drive letters. We can handle the
15769 # drive letters (cygwin fileutils understands them), so leave them,
15770 # especially as we might pass files found there to a mingw objdump,
15771 # which wouldn't understand a cygwinified path. Ahh.
15772 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15774 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15778 # pw32 DLLs use 'pw' prefix rather than 'lib'
15779 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15785 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15788 dynamic_linker='Win32 ld.exe'
15789 # FIXME: first we should search . and the directory the executable is in
15793 darwin* | rhapsody*)
15794 dynamic_linker="$host_os dyld"
15795 version_type=darwin
15798 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15799 soname_spec='${libname}${release}${major}$shared_ext'
15800 shlibpath_overrides_runpath=yes
15801 shlibpath_var=DYLD_LIBRARY_PATH
15802 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15804 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15812 soname_spec='${libname}${release}${shared_ext}$major'
15813 shlibpath_var=LD_LIBRARY_PATH
15820 freebsd* | dragonfly*)
15821 # DragonFly does not have aout. When/if they implement a new
15822 # versioning mechanism, adjust this.
15823 if test -x /usr/bin/objformat; then
15824 objformat=`/usr/bin/objformat`
15827 freebsd[123]*) objformat=aout ;;
15828 *) objformat=elf ;;
15831 version_type=freebsd-$objformat
15832 case $version_type in
15834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15839 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15843 shlibpath_var=LD_LIBRARY_PATH
15846 shlibpath_overrides_runpath=yes
15848 freebsd3.[01]* | freebsdelf3.[01]*)
15849 shlibpath_overrides_runpath=yes
15850 hardcode_into_libs=yes
15852 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15853 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15854 shlibpath_overrides_runpath=no
15855 hardcode_into_libs=yes
15857 *) # from 4.6 on, and DragonFly
15858 shlibpath_overrides_runpath=yes
15859 hardcode_into_libs=yes
15868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15869 soname_spec='${libname}${release}${shared_ext}$major'
15870 shlibpath_var=LD_LIBRARY_PATH
15871 hardcode_into_libs=yes
15874 hpux9* | hpux10* | hpux11*)
15875 # Give a soname corresponding to the major version so that dld.sl refuses to
15876 # link against other versions.
15883 hardcode_into_libs=yes
15884 dynamic_linker="$host_os dld.so"
15885 shlibpath_var=LD_LIBRARY_PATH
15886 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15888 soname_spec='${libname}${release}${shared_ext}$major'
15889 if test "X$HPUX_IA64_MODE" = X32; then
15890 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15892 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15894 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15898 hardcode_into_libs=yes
15899 dynamic_linker="$host_os dld.sl"
15900 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15901 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15903 soname_spec='${libname}${release}${shared_ext}$major'
15904 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15905 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15909 dynamic_linker="$host_os dld.sl"
15910 shlibpath_var=SHLIB_PATH
15911 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15913 soname_spec='${libname}${release}${shared_ext}$major'
15916 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15917 postinstall_cmds='chmod 555 $lib'
15924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15925 soname_spec='${libname}${release}${shared_ext}$major'
15926 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15927 shlibpath_var=LD_LIBRARY_PATH
15928 shlibpath_overrides_runpath=no
15929 hardcode_into_libs=yes
15932 irix5* | irix6* | nonstopux*)
15934 nonstopux*) version_type=nonstopux ;;
15936 if test "$lt_cv_prog_gnu_ld" = yes; then
15944 soname_spec='${libname}${release}${shared_ext}$major'
15945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15947 irix5* | nonstopux*)
15948 libsuff= shlibsuff=
15951 case $LD in # libtool.m4 will add one of these switches to LD
15952 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15953 libsuff= shlibsuff= libmagic=32-bit;;
15954 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15955 libsuff=32 shlibsuff=N32 libmagic=N32;;
15956 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15957 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15958 *) libsuff= shlibsuff= libmagic=never-match;;
15962 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15963 shlibpath_overrides_runpath=no
15964 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15965 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15966 hardcode_into_libs=yes
15969 # No shared lib support for Linux oldld, aout, or coff.
15970 linux*oldld* | linux*aout* | linux*coff*)
15974 # This must be Linux ELF.
15975 linux* | k*bsd*-gnu)
15979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15980 soname_spec='${libname}${release}${shared_ext}$major'
15981 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15982 shlibpath_var=LD_LIBRARY_PATH
15983 shlibpath_overrides_runpath=no
15984 # Some binutils ld are patched to set DT_RUNPATH
15985 save_LDFLAGS=$LDFLAGS
15986 save_libdir=$libdir
15987 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15988 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15990 /* end confdefs.h. */
16000 if ac_fn_cxx_try_link "$LINENO"; then :
16001 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16002 shlibpath_overrides_runpath=yes
16005 rm -f core conftest.err conftest.$ac_objext \
16006 conftest$ac_exeext conftest.$ac_ext
16007 LDFLAGS=$save_LDFLAGS
16008 libdir=$save_libdir
16010 # This implies no fast_install, which is unacceptable.
16011 # Some rework will be needed to allow for fast_install
16012 # before this can be enabled.
16013 hardcode_into_libs=yes
16015 # Append ld.so.conf contents to the search path
16016 if test -f /etc/ld.so.conf; then
16017 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' ' '`
16018 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16021 # We used to test for /lib/ld.so.1 and disable shared libraries on
16022 # powerpc, because MkLinux only supported shared libraries with the
16023 # GNU dynamic linker. Since this was broken with cross compilers,
16024 # most powerpc-linux boxes support dynamic linking these days and
16025 # people can always --disable-shared, the test was removed, and we
16026 # assume the GNU/Linux dynamic linker is in use.
16027 dynamic_linker='GNU/Linux ld.so'
16034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16035 soname_spec='${libname}${release}${shared_ext}$major'
16036 shlibpath_var=LD_LIBRARY_PATH
16037 shlibpath_overrides_runpath=no
16038 hardcode_into_libs=yes
16039 dynamic_linker='NetBSD ld.elf_so'
16046 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16048 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16049 dynamic_linker='NetBSD (a.out) ld.so'
16051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16052 soname_spec='${libname}${release}${shared_ext}$major'
16053 dynamic_linker='NetBSD ld.elf_so'
16055 shlibpath_var=LD_LIBRARY_PATH
16056 shlibpath_overrides_runpath=yes
16057 hardcode_into_libs=yes
16062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16063 shlibpath_var=LD_LIBRARY_PATH
16064 shlibpath_overrides_runpath=yes
16071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16072 soname_spec='${libname}${release}${shared_ext}$major'
16073 shlibpath_var=LD_LIBRARY_PATH
16074 shlibpath_overrides_runpath=no
16075 hardcode_into_libs=yes
16076 dynamic_linker='ldqnx.so'
16081 sys_lib_dlsearch_path_spec="/usr/lib"
16083 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16085 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16086 *) need_version=no ;;
16088 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16089 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16090 shlibpath_var=LD_LIBRARY_PATH
16091 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16093 openbsd2.[89] | openbsd2.[89].*)
16094 shlibpath_overrides_runpath=no
16097 shlibpath_overrides_runpath=yes
16101 shlibpath_overrides_runpath=yes
16106 libname_spec='$name'
16109 library_names_spec='$libname${shared_ext} $libname.a'
16110 dynamic_linker='OS/2 ld.exe'
16111 shlibpath_var=LIBPATH
16114 osf3* | osf4* | osf5*)
16118 soname_spec='${libname}${release}${shared_ext}$major'
16119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16120 shlibpath_var=LD_LIBRARY_PATH
16121 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16122 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16134 soname_spec='${libname}${release}${shared_ext}$major'
16135 shlibpath_var=LD_LIBRARY_PATH
16136 shlibpath_overrides_runpath=yes
16137 hardcode_into_libs=yes
16138 # ldd complains unless libraries are executable
16139 postinstall_cmds='chmod +x $lib'
16144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16145 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16146 shlibpath_var=LD_LIBRARY_PATH
16147 shlibpath_overrides_runpath=yes
16148 if test "$with_gnu_ld" = yes; then
16156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16157 soname_spec='${libname}${release}${shared_ext}$major'
16158 shlibpath_var=LD_LIBRARY_PATH
16159 case $host_vendor in
16161 shlibpath_overrides_runpath=no
16163 runpath_var=LD_RUN_PATH
16171 shlibpath_overrides_runpath=no
16172 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16178 if test -d /usr/nec ;then
16180 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16181 soname_spec='$libname${shared_ext}.$major'
16182 shlibpath_var=LD_LIBRARY_PATH
16186 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16187 version_type=freebsd-elf
16190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16191 soname_spec='${libname}${release}${shared_ext}$major'
16192 shlibpath_var=LD_LIBRARY_PATH
16193 shlibpath_overrides_runpath=yes
16194 hardcode_into_libs=yes
16195 if test "$with_gnu_ld" = yes; then
16196 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16198 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16201 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16205 sys_lib_dlsearch_path_spec='/usr/lib'
16209 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16214 shlibpath_var=LD_LIBRARY_PATH
16215 shlibpath_overrides_runpath=no
16216 hardcode_into_libs=yes
16221 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16222 soname_spec='${libname}${release}${shared_ext}$major'
16223 shlibpath_var=LD_LIBRARY_PATH
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16231 $as_echo "$dynamic_linker" >&6; }
16232 test "$dynamic_linker" = no && can_build_shared=no
16234 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16235 if test "$GCC" = yes; then
16236 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16239 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16240 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16242 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16243 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16282 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16283 hardcode_action_CXX=
16284 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16285 test -n "$runpath_var_CXX" ||
16286 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16288 # We can hardcode non-existent directories.
16289 if test "$hardcode_direct_CXX" != no &&
16290 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16291 # have to relink, otherwise we might link with an installed library
16292 # when we should be linking with a yet-to-be-installed one
16293 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16294 test "$hardcode_minus_L_CXX" != no; then
16295 # Linking always hardcodes the temporary library directory.
16296 hardcode_action_CXX=relink
16298 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16299 hardcode_action_CXX=immediate
16302 # We cannot hardcode anything, or else we can only hardcode existing
16304 hardcode_action_CXX=unsupported
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16307 $as_echo "$hardcode_action_CXX" >&6; }
16309 if test "$hardcode_action_CXX" = relink ||
16310 test "$inherit_rpath_CXX" = yes; then
16311 # Fast installation is not supported
16312 enable_fast_install=no
16313 elif test "$shlibpath_overrides_runpath" = yes ||
16314 test "$enable_shared" = no; then
16315 # Fast installation is not necessary
16316 enable_fast_install=needless
16325 fi # test -n "$compiler"
16331 with_gnu_ld=$lt_save_with_gnu_ld
16332 lt_cv_path_LDCXX=$lt_cv_path_LD
16333 lt_cv_path_LD=$lt_save_path_LD
16334 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16335 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16336 fi # test "$_lt_caught_CXX_error" != yes
16339 ac_cpp='$CPP $CPPFLAGS'
16340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16356 ac_config_commands="$ac_config_commands libtool"
16361 # Only expand once:
16367 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16368 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16369 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16370 if test -n "$ac_tool_prefix"; then
16371 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
16373 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16374 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16376 $as_echo_n "checking for $ac_word... " >&6; }
16377 if test "${ac_cv_prog_F77+set}" = set; then :
16378 $as_echo_n "(cached) " >&6
16380 if test -n "$F77"; then
16381 ac_cv_prog_F77="$F77" # Let the user override the test.
16383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16384 for as_dir in $PATH
16387 test -z "$as_dir" && as_dir=.
16388 for ac_exec_ext in '' $ac_executable_extensions; do
16389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16390 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
16391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16400 F77=$ac_cv_prog_F77
16401 if test -n "$F77"; then
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
16403 $as_echo "$F77" >&6; }
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16406 $as_echo "no" >&6; }
16410 test -n "$F77" && break
16413 if test -z "$F77"; then
16415 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
16417 # Extract the first word of "$ac_prog", so it can be a program name with args.
16418 set dummy $ac_prog; ac_word=$2
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16420 $as_echo_n "checking for $ac_word... " >&6; }
16421 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
16422 $as_echo_n "(cached) " >&6
16424 if test -n "$ac_ct_F77"; then
16425 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
16427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16428 for as_dir in $PATH
16431 test -z "$as_dir" && as_dir=.
16432 for ac_exec_ext in '' $ac_executable_extensions; do
16433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16434 ac_cv_prog_ac_ct_F77="$ac_prog"
16435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16444 ac_ct_F77=$ac_cv_prog_ac_ct_F77
16445 if test -n "$ac_ct_F77"; then
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
16447 $as_echo "$ac_ct_F77" >&6; }
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16450 $as_echo "no" >&6; }
16454 test -n "$ac_ct_F77" && break
16457 if test "x$ac_ct_F77" = x; then
16460 case $cross_compiling:$ac_tool_warned in
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16464 ac_tool_warned=yes ;;
16471 # Provide some information about the compiler.
16472 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
16475 for ac_option in --version -v -V -qversion; do
16476 { { ac_try="$ac_compiler $ac_option >&5"
16477 case "(($ac_try" in
16478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16479 *) ac_try_echo=$ac_try;;
16481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16482 $as_echo "$ac_try_echo"; } >&5
16483 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16485 if test -s conftest.err; then
16487 ... rest of stderr output deleted ...
16488 10q' conftest.err >conftest.er1
16489 cat conftest.er1 >&5
16491 rm -f conftest.er1 conftest.err
16492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16493 test $ac_status = 0; }
16497 # If we don't use `.F' as extension, the preprocessor is not run on the
16498 # input file. (Note that this only needs to work for GNU compilers.)
16499 ac_save_ext=$ac_ext
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
16502 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
16503 if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
16504 $as_echo_n "(cached) " >&6
16506 cat > conftest.$ac_ext <<_ACEOF
16514 if ac_fn_f77_try_compile "$LINENO"; then :
16515 ac_compiler_gnu=yes
16519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16520 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
16524 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
16525 ac_ext=$ac_save_ext
16526 ac_test_FFLAGS=${FFLAGS+set}
16527 ac_save_FFLAGS=$FFLAGS
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
16530 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
16531 if test "${ac_cv_prog_f77_g+set}" = set; then :
16532 $as_echo_n "(cached) " >&6
16535 cat > conftest.$ac_ext <<_ACEOF
16540 if ac_fn_f77_try_compile "$LINENO"; then :
16541 ac_cv_prog_f77_g=yes
16543 ac_cv_prog_f77_g=no
16545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
16549 $as_echo "$ac_cv_prog_f77_g" >&6; }
16550 if test "$ac_test_FFLAGS" = set; then
16551 FFLAGS=$ac_save_FFLAGS
16552 elif test $ac_cv_prog_f77_g = yes; then
16553 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
16559 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
16566 if test $ac_compiler_gnu = yes; then
16572 ac_cpp='$CPP $CPPFLAGS'
16573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16577 if test -z "$F77" || test "X$F77" = "Xno"; then
16578 _lt_disable_F77=yes
16583 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16584 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16585 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16586 if test -n "$ac_tool_prefix"; then
16587 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
16589 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16590 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16592 $as_echo_n "checking for $ac_word... " >&6; }
16593 if test "${ac_cv_prog_F77+set}" = set; then :
16594 $as_echo_n "(cached) " >&6
16596 if test -n "$F77"; then
16597 ac_cv_prog_F77="$F77" # Let the user override the test.
16599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16600 for as_dir in $PATH
16603 test -z "$as_dir" && as_dir=.
16604 for ac_exec_ext in '' $ac_executable_extensions; do
16605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16606 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
16607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16616 F77=$ac_cv_prog_F77
16617 if test -n "$F77"; then
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
16619 $as_echo "$F77" >&6; }
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16622 $as_echo "no" >&6; }
16626 test -n "$F77" && break
16629 if test -z "$F77"; then
16631 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
16633 # Extract the first word of "$ac_prog", so it can be a program name with args.
16634 set dummy $ac_prog; ac_word=$2
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16636 $as_echo_n "checking for $ac_word... " >&6; }
16637 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
16638 $as_echo_n "(cached) " >&6
16640 if test -n "$ac_ct_F77"; then
16641 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
16643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16644 for as_dir in $PATH
16647 test -z "$as_dir" && as_dir=.
16648 for ac_exec_ext in '' $ac_executable_extensions; do
16649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16650 ac_cv_prog_ac_ct_F77="$ac_prog"
16651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16660 ac_ct_F77=$ac_cv_prog_ac_ct_F77
16661 if test -n "$ac_ct_F77"; then
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
16663 $as_echo "$ac_ct_F77" >&6; }
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16666 $as_echo "no" >&6; }
16670 test -n "$ac_ct_F77" && break
16673 if test "x$ac_ct_F77" = x; then
16676 case $cross_compiling:$ac_tool_warned in
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16680 ac_tool_warned=yes ;;
16687 # Provide some information about the compiler.
16688 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
16691 for ac_option in --version -v -V -qversion; do
16692 { { ac_try="$ac_compiler $ac_option >&5"
16693 case "(($ac_try" in
16694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16695 *) ac_try_echo=$ac_try;;
16697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16698 $as_echo "$ac_try_echo"; } >&5
16699 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16701 if test -s conftest.err; then
16703 ... rest of stderr output deleted ...
16704 10q' conftest.err >conftest.er1
16705 cat conftest.er1 >&5
16707 rm -f conftest.er1 conftest.err
16708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16709 test $ac_status = 0; }
16713 # If we don't use `.F' as extension, the preprocessor is not run on the
16714 # input file. (Note that this only needs to work for GNU compilers.)
16715 ac_save_ext=$ac_ext
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
16718 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
16719 if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
16720 $as_echo_n "(cached) " >&6
16722 cat > conftest.$ac_ext <<_ACEOF
16730 if ac_fn_f77_try_compile "$LINENO"; then :
16731 ac_compiler_gnu=yes
16735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16736 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
16740 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
16741 ac_ext=$ac_save_ext
16742 ac_test_FFLAGS=${FFLAGS+set}
16743 ac_save_FFLAGS=$FFLAGS
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
16746 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
16747 if test "${ac_cv_prog_f77_g+set}" = set; then :
16748 $as_echo_n "(cached) " >&6
16751 cat > conftest.$ac_ext <<_ACEOF
16756 if ac_fn_f77_try_compile "$LINENO"; then :
16757 ac_cv_prog_f77_g=yes
16759 ac_cv_prog_f77_g=no
16761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
16765 $as_echo "$ac_cv_prog_f77_g" >&6; }
16766 if test "$ac_test_FFLAGS" = set; then
16767 FFLAGS=$ac_save_FFLAGS
16768 elif test $ac_cv_prog_f77_g = yes; then
16769 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
16775 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
16782 if test $ac_compiler_gnu = yes; then
16788 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16789 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16790 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16794 # Check whether --enable-fortran was given.
16795 if test "${enable_fortran+set}" = set; then :
16796 enableval=$enable_fortran;
16801 if test "x$enable_fortran" = xyes; then
16802 ENABLE_FORTRAN_TRUE=
16803 ENABLE_FORTRAN_FALSE='#'
16805 ENABLE_FORTRAN_TRUE='#'
16806 ENABLE_FORTRAN_FALSE=
16810 if test "x$enable_fortran" = xyes
16813 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16814 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16815 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16816 if test -n "$ac_tool_prefix"; then
16817 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
16819 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16820 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16822 $as_echo_n "checking for $ac_word... " >&6; }
16823 if test "${ac_cv_prog_F77+set}" = set; then :
16824 $as_echo_n "(cached) " >&6
16826 if test -n "$F77"; then
16827 ac_cv_prog_F77="$F77" # Let the user override the test.
16829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16830 for as_dir in $PATH
16833 test -z "$as_dir" && as_dir=.
16834 for ac_exec_ext in '' $ac_executable_extensions; do
16835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16836 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
16837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16846 F77=$ac_cv_prog_F77
16847 if test -n "$F77"; then
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
16849 $as_echo "$F77" >&6; }
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16852 $as_echo "no" >&6; }
16856 test -n "$F77" && break
16859 if test -z "$F77"; then
16861 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
16863 # Extract the first word of "$ac_prog", so it can be a program name with args.
16864 set dummy $ac_prog; ac_word=$2
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16866 $as_echo_n "checking for $ac_word... " >&6; }
16867 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
16868 $as_echo_n "(cached) " >&6
16870 if test -n "$ac_ct_F77"; then
16871 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
16873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16874 for as_dir in $PATH
16877 test -z "$as_dir" && as_dir=.
16878 for ac_exec_ext in '' $ac_executable_extensions; do
16879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16880 ac_cv_prog_ac_ct_F77="$ac_prog"
16881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16890 ac_ct_F77=$ac_cv_prog_ac_ct_F77
16891 if test -n "$ac_ct_F77"; then
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
16893 $as_echo "$ac_ct_F77" >&6; }
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16896 $as_echo "no" >&6; }
16900 test -n "$ac_ct_F77" && break
16903 if test "x$ac_ct_F77" = x; then
16906 case $cross_compiling:$ac_tool_warned in
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16910 ac_tool_warned=yes ;;
16917 # Provide some information about the compiler.
16918 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
16921 for ac_option in --version -v -V -qversion; do
16922 { { ac_try="$ac_compiler $ac_option >&5"
16923 case "(($ac_try" in
16924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16925 *) ac_try_echo=$ac_try;;
16927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16928 $as_echo "$ac_try_echo"; } >&5
16929 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16931 if test -s conftest.err; then
16933 ... rest of stderr output deleted ...
16934 10q' conftest.err >conftest.er1
16935 cat conftest.er1 >&5
16937 rm -f conftest.er1 conftest.err
16938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16939 test $ac_status = 0; }
16943 # If we don't use `.F' as extension, the preprocessor is not run on the
16944 # input file. (Note that this only needs to work for GNU compilers.)
16945 ac_save_ext=$ac_ext
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
16948 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
16949 if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
16950 $as_echo_n "(cached) " >&6
16952 cat > conftest.$ac_ext <<_ACEOF
16960 if ac_fn_f77_try_compile "$LINENO"; then :
16961 ac_compiler_gnu=yes
16965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16966 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
16970 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
16971 ac_ext=$ac_save_ext
16972 ac_test_FFLAGS=${FFLAGS+set}
16973 ac_save_FFLAGS=$FFLAGS
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
16976 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
16977 if test "${ac_cv_prog_f77_g+set}" = set; then :
16978 $as_echo_n "(cached) " >&6
16981 cat > conftest.$ac_ext <<_ACEOF
16986 if ac_fn_f77_try_compile "$LINENO"; then :
16987 ac_cv_prog_f77_g=yes
16989 ac_cv_prog_f77_g=no
16991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
16995 $as_echo "$ac_cv_prog_f77_g" >&6; }
16996 if test "$ac_test_FFLAGS" = set; then
16997 FFLAGS=$ac_save_FFLAGS
16998 elif test $ac_cv_prog_f77_g = yes; then
16999 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
17005 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
17012 if test $ac_compiler_gnu = yes; then
17018 ac_cpp='$CPP $CPPFLAGS'
17019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17023 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
17024 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17025 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
17028 archive_cmds_need_lc_F77=no
17029 allow_undefined_flag_F77=
17030 always_export_symbols_F77=no
17031 archive_expsym_cmds_F77=
17032 export_dynamic_flag_spec_F77=
17033 hardcode_direct_F77=no
17034 hardcode_direct_absolute_F77=no
17035 hardcode_libdir_flag_spec_F77=
17036 hardcode_libdir_flag_spec_ld_F77=
17037 hardcode_libdir_separator_F77=
17038 hardcode_minus_L_F77=no
17039 hardcode_automatic_F77=no
17040 inherit_rpath_F77=no
17042 module_expsym_cmds_F77=
17043 link_all_deplibs_F77=unknown
17044 old_archive_cmds_F77=$old_archive_cmds
17045 no_undefined_flag_F77=
17046 whole_archive_flag_spec_F77=
17047 enable_shared_with_static_runtimes_F77=no
17049 # Source file extension for f77 test sources.
17052 # Object file extension for compiled f77 test sources.
17056 # No sense in running all these tests if we already determined that
17057 # the F77 compiler isn't working. Some variables (like enable_shared)
17058 # are currently assumed to apply to all compilers on this platform,
17059 # and will be corrupted by setting them based on a non-working compiler.
17060 if test "$_lt_disable_F77" != yes; then
17061 # Code to be used in simple compile tests
17062 lt_simple_compile_test_code="\
17068 # Code to be used in simple link tests
17069 lt_simple_link_test_code="\
17074 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17081 # If no C compiler was specified, use CC.
17084 # If no C compiler flags were specified, use CFLAGS.
17085 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17087 # Allow CC to be a program name with arguments.
17091 # save warnings/boilerplate of simple test code
17092 ac_outfile=conftest.$ac_objext
17093 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17094 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17095 _lt_compiler_boilerplate=`cat conftest.err`
17098 ac_outfile=conftest.$ac_objext
17099 echo "$lt_simple_link_test_code" >conftest.$ac_ext
17100 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17101 _lt_linker_boilerplate=`cat conftest.err`
17105 # Allow CC to be a program name with arguments.
17111 for cc_temp in $compiler""; do
17113 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17114 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17119 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17122 if test -n "$compiler"; then
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
17124 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
17126 $as_echo "$can_build_shared" >&6; }
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
17129 $as_echo_n "checking whether to build shared libraries... " >&6; }
17130 test "$can_build_shared" = "no" && enable_shared=no
17132 # On AIX, shared libraries and static libraries use the same namespace, and
17133 # are all built from PIC.
17136 test "$enable_shared" = yes && enable_static=no
17137 if test -n "$RANLIB"; then
17138 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17139 postinstall_cmds='$RANLIB $lib'
17143 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17144 test "$enable_shared" = yes && enable_static=no
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
17149 $as_echo "$enable_shared" >&6; }
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
17152 $as_echo_n "checking whether to build static libraries... " >&6; }
17153 # Make sure either enable_shared or enable_static is yes.
17154 test "$enable_shared" = yes || enable_static=yes
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
17156 $as_echo "$enable_static" >&6; }
17162 ## There is no encapsulation within the following macros, do not change
17163 ## the running order or otherwise move them around unless you know exactly
17164 ## what you are doing...
17165 lt_prog_compiler_wl_F77=
17166 lt_prog_compiler_pic_F77=
17167 lt_prog_compiler_static_F77=
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17170 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17172 if test "$GCC" = yes; then
17173 lt_prog_compiler_wl_F77='-Wl,'
17174 lt_prog_compiler_static_F77='-static'
17178 # All AIX code is PIC.
17179 if test "$host_cpu" = ia64; then
17180 # AIX 5 now supports IA64 processor
17181 lt_prog_compiler_static_F77='-Bstatic'
17188 # see comment about AmigaOS4 .so support
17189 lt_prog_compiler_pic_F77='-fPIC'
17192 # FIXME: we need at least 68020 code to build shared libraries, but
17193 # adding the `-m68020' flag to GCC prevents building anything better,
17195 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
17200 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17201 # PIC is the default for these OSes.
17204 mingw* | cygwin* | pw32* | os2* | cegcc*)
17205 # This hack is so that the source file can tell whether it is being
17206 # built for inclusion in a dll (and should export symbols for example).
17207 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17208 # (--disable-auto-import) libraries
17209 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
17212 darwin* | rhapsody*)
17213 # PIC is the default on this platform
17214 # Common symbols not allowed in MH_DYLIB files
17215 lt_prog_compiler_pic_F77='-fno-common'
17219 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17220 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17221 # sets the default TLS model and affects inlining.
17227 lt_prog_compiler_pic_F77='-fPIC'
17233 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17234 # Instead, we relocate shared libraries at runtime.
17238 # Just because we use GCC doesn't mean we suddenly get shared libraries
17239 # on systems that don't support them.
17240 lt_prog_compiler_can_build_shared_F77=no
17245 # QNX uses GNU C++, but need to define -shared option too, otherwise
17246 # it will coredump.
17247 lt_prog_compiler_pic_F77='-fPIC -shared'
17251 if test -d /usr/nec; then
17252 lt_prog_compiler_pic_F77=-Kconform_pic
17257 lt_prog_compiler_pic_F77='-fPIC'
17261 # PORTME Check for flag to pass linker flags through the system compiler.
17264 lt_prog_compiler_wl_F77='-Wl,'
17265 if test "$host_cpu" = ia64; then
17266 # AIX 5 now supports IA64 processor
17267 lt_prog_compiler_static_F77='-Bstatic'
17269 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
17273 mingw* | cygwin* | pw32* | os2* | cegcc*)
17274 # This hack is so that the source file can tell whether it is being
17275 # built for inclusion in a dll (and should export symbols for example).
17276 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
17279 hpux9* | hpux10* | hpux11*)
17280 lt_prog_compiler_wl_F77='-Wl,'
17281 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17282 # not for PA HP-UX.
17288 lt_prog_compiler_pic_F77='+Z'
17291 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17292 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
17295 irix5* | irix6* | nonstopux*)
17296 lt_prog_compiler_wl_F77='-Wl,'
17297 # PIC (with -KPIC) is the default.
17298 lt_prog_compiler_static_F77='-non_shared'
17301 linux* | k*bsd*-gnu)
17302 case $cc_basename in
17303 # old Intel for x86_64 which still supported -KPIC.
17305 lt_prog_compiler_wl_F77='-Wl,'
17306 lt_prog_compiler_pic_F77='-KPIC'
17307 lt_prog_compiler_static_F77='-static'
17309 # icc used to be incompatible with GCC.
17310 # ICC 10 doesn't accept -KPIC any more.
17312 lt_prog_compiler_wl_F77='-Wl,'
17313 lt_prog_compiler_pic_F77='-fPIC'
17314 lt_prog_compiler_static_F77='-static'
17316 # Lahey Fortran 8.1.
17318 lt_prog_compiler_wl_F77='-Wl,'
17319 lt_prog_compiler_pic_F77='--shared'
17320 lt_prog_compiler_static_F77='--static'
17322 pgcc* | pgf77* | pgf90* | pgf95*)
17323 # Portland Group compilers (*not* the Pentium gcc compiler,
17324 # which looks to be a dead project)
17325 lt_prog_compiler_wl_F77='-Wl,'
17326 lt_prog_compiler_pic_F77='-fpic'
17327 lt_prog_compiler_static_F77='-Bstatic'
17330 lt_prog_compiler_wl_F77='-Wl,'
17331 # All Alpha code is PIC.
17332 lt_prog_compiler_static_F77='-non_shared'
17335 # IBM XL C 8.0/Fortran 10.1 on PPC
17336 lt_prog_compiler_wl_F77='-Wl,'
17337 lt_prog_compiler_pic_F77='-qpic'
17338 lt_prog_compiler_static_F77='-qstaticlink'
17341 case `$CC -V 2>&1 | sed 5q` in
17344 lt_prog_compiler_pic_F77='-KPIC'
17345 lt_prog_compiler_static_F77='-Bstatic'
17346 lt_prog_compiler_wl_F77='-Wl,'
17349 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17350 lt_prog_compiler_pic_F77='-KPIC'
17351 lt_prog_compiler_static_F77='-Bstatic'
17352 lt_prog_compiler_wl_F77=''
17360 lt_prog_compiler_pic_F77='-KPIC'
17361 lt_prog_compiler_static_F77='-Bstatic'
17365 # QNX uses GNU C++, but need to define -shared option too, otherwise
17366 # it will coredump.
17367 lt_prog_compiler_pic_F77='-fPIC -shared'
17370 osf3* | osf4* | osf5*)
17371 lt_prog_compiler_wl_F77='-Wl,'
17372 # All OSF/1 code is PIC.
17373 lt_prog_compiler_static_F77='-non_shared'
17377 lt_prog_compiler_static_F77='-non_shared'
17381 lt_prog_compiler_pic_F77='-KPIC'
17382 lt_prog_compiler_static_F77='-Bstatic'
17383 case $cc_basename in
17384 f77* | f90* | f95*)
17385 lt_prog_compiler_wl_F77='-Qoption ld ';;
17387 lt_prog_compiler_wl_F77='-Wl,';;
17392 lt_prog_compiler_wl_F77='-Qoption ld '
17393 lt_prog_compiler_pic_F77='-PIC'
17394 lt_prog_compiler_static_F77='-Bstatic'
17397 sysv4 | sysv4.2uw2* | sysv4.3*)
17398 lt_prog_compiler_wl_F77='-Wl,'
17399 lt_prog_compiler_pic_F77='-KPIC'
17400 lt_prog_compiler_static_F77='-Bstatic'
17404 if test -d /usr/nec ;then
17405 lt_prog_compiler_pic_F77='-Kconform_pic'
17406 lt_prog_compiler_static_F77='-Bstatic'
17410 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17411 lt_prog_compiler_wl_F77='-Wl,'
17412 lt_prog_compiler_pic_F77='-KPIC'
17413 lt_prog_compiler_static_F77='-Bstatic'
17417 lt_prog_compiler_wl_F77='-Wl,'
17418 lt_prog_compiler_can_build_shared_F77=no
17422 lt_prog_compiler_pic_F77='-pic'
17423 lt_prog_compiler_static_F77='-Bstatic'
17427 lt_prog_compiler_can_build_shared_F77=no
17433 # For platforms which do not support PIC, -DPIC is meaningless:
17435 lt_prog_compiler_pic_F77=
17438 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_F77" >&5
17442 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
17447 # Check to make sure the PIC flag actually works.
17449 if test -n "$lt_prog_compiler_pic_F77"; then
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
17451 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
17452 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then :
17453 $as_echo_n "(cached) " >&6
17455 lt_cv_prog_compiler_pic_works_F77=no
17456 ac_outfile=conftest.$ac_objext
17457 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17458 lt_compiler_flag="$lt_prog_compiler_pic_F77"
17459 # Insert the option either (1) after the last *FLAGS variable, or
17460 # (2) before a word containing "conftest.", or (3) at the end.
17461 # Note that $ac_compile itself does not contain backslashes and begins
17462 # with a dollar sign (not a hyphen), so the echo should work correctly.
17463 # The option is referenced via a variable to avoid confusing sed.
17464 lt_compile=`echo "$ac_compile" | $SED \
17465 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17466 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17467 -e 's:$: $lt_compiler_flag:'`
17468 (eval echo "\"\$as_me:17468: $lt_compile\"" >&5)
17469 (eval "$lt_compile" 2>conftest.err)
17471 cat conftest.err >&5
17472 echo "$as_me:17472: \$? = $ac_status" >&5
17473 if (exit $ac_status) && test -s "$ac_outfile"; then
17474 # The compiler can only warn and ignore the option if not recognized
17475 # So say no if there are warnings other than the usual output.
17476 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17477 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17478 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17479 lt_cv_prog_compiler_pic_works_F77=yes
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_F77" >&5
17486 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
17488 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
17489 case $lt_prog_compiler_pic_F77 in
17491 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
17494 lt_prog_compiler_pic_F77=
17495 lt_prog_compiler_can_build_shared_F77=no
17503 # Check to make sure the static flag actually works.
17505 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17507 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17508 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then :
17509 $as_echo_n "(cached) " >&6
17511 lt_cv_prog_compiler_static_works_F77=no
17512 save_LDFLAGS="$LDFLAGS"
17513 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17514 echo "$lt_simple_link_test_code" > conftest.$ac_ext
17515 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17516 # The linker can only warn and ignore the option if not recognized
17517 # So say no if there are warnings
17518 if test -s conftest.err; then
17519 # Append any errors to the config.log.
17520 cat conftest.err 1>&5
17521 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17522 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17523 if diff conftest.exp conftest.er2 >/dev/null; then
17524 lt_cv_prog_compiler_static_works_F77=yes
17527 lt_cv_prog_compiler_static_works_F77=yes
17531 LDFLAGS="$save_LDFLAGS"
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_F77" >&5
17535 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
17537 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
17540 lt_prog_compiler_static_F77=
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17547 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17548 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then :
17549 $as_echo_n "(cached) " >&6
17551 lt_cv_prog_compiler_c_o_F77=no
17552 $RM -r conftest 2>/dev/null
17556 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17558 lt_compiler_flag="-o out/conftest2.$ac_objext"
17559 # Insert the option either (1) after the last *FLAGS variable, or
17560 # (2) before a word containing "conftest.", or (3) at the end.
17561 # Note that $ac_compile itself does not contain backslashes and begins
17562 # with a dollar sign (not a hyphen), so the echo should work correctly.
17563 lt_compile=`echo "$ac_compile" | $SED \
17564 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17565 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17566 -e 's:$: $lt_compiler_flag:'`
17567 (eval echo "\"\$as_me:17567: $lt_compile\"" >&5)
17568 (eval "$lt_compile" 2>out/conftest.err)
17570 cat out/conftest.err >&5
17571 echo "$as_me:17571: \$? = $ac_status" >&5
17572 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17574 # The compiler can only warn and ignore the option if not recognized
17575 # So say no if there are warnings
17576 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17577 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17578 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17579 lt_cv_prog_compiler_c_o_F77=yes
17584 # SGI C++ compiler will create directory out/ii_files/ for
17585 # template instantiation
17586 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17587 $RM out/* && rmdir out
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
17594 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17599 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17600 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then :
17601 $as_echo_n "(cached) " >&6
17603 lt_cv_prog_compiler_c_o_F77=no
17604 $RM -r conftest 2>/dev/null
17608 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17610 lt_compiler_flag="-o out/conftest2.$ac_objext"
17611 # Insert the option either (1) after the last *FLAGS variable, or
17612 # (2) before a word containing "conftest.", or (3) at the end.
17613 # Note that $ac_compile itself does not contain backslashes and begins
17614 # with a dollar sign (not a hyphen), so the echo should work correctly.
17615 lt_compile=`echo "$ac_compile" | $SED \
17616 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17617 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17618 -e 's:$: $lt_compiler_flag:'`
17619 (eval echo "\"\$as_me:17619: $lt_compile\"" >&5)
17620 (eval "$lt_compile" 2>out/conftest.err)
17622 cat out/conftest.err >&5
17623 echo "$as_me:17623: \$? = $ac_status" >&5
17624 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17626 # The compiler can only warn and ignore the option if not recognized
17627 # So say no if there are warnings
17628 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17629 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17630 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17631 lt_cv_prog_compiler_c_o_F77=yes
17636 # SGI C++ compiler will create directory out/ii_files/ for
17637 # template instantiation
17638 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17639 $RM out/* && rmdir out
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
17646 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
17651 hard_links="nottested"
17652 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
17653 # do not overwrite the value of need_locks provided by the user
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17655 $as_echo_n "checking if we can lock with hard links... " >&6; }
17658 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17660 ln conftest.a conftest.b 2>&5 || hard_links=no
17661 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17663 $as_echo "$hard_links" >&6; }
17664 if test "$hard_links" = no; then
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17666 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17676 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17679 allow_undefined_flag_F77=
17680 always_export_symbols_F77=no
17682 archive_expsym_cmds_F77=
17683 compiler_needs_object_F77=no
17684 enable_shared_with_static_runtimes_F77=no
17685 export_dynamic_flag_spec_F77=
17686 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17687 hardcode_automatic_F77=no
17688 hardcode_direct_F77=no
17689 hardcode_direct_absolute_F77=no
17690 hardcode_libdir_flag_spec_F77=
17691 hardcode_libdir_flag_spec_ld_F77=
17692 hardcode_libdir_separator_F77=
17693 hardcode_minus_L_F77=no
17694 hardcode_shlibpath_var_F77=unsupported
17695 inherit_rpath_F77=no
17696 link_all_deplibs_F77=unknown
17698 module_expsym_cmds_F77=
17699 old_archive_from_new_cmds_F77=
17700 old_archive_from_expsyms_cmds_F77=
17701 thread_safe_flag_spec_F77=
17702 whole_archive_flag_spec_F77=
17703 # include_expsyms should be a list of space-separated symbols to be *always*
17704 # included in the symbol list
17705 include_expsyms_F77=
17706 # exclude_expsyms can be an extended regexp of symbols to exclude
17707 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17708 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17709 # as well as any symbol that contains `d'.
17710 exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17711 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17712 # platforms (ab)use it in PIC code, but their linkers get confused if
17713 # the symbol is explicitly referenced. Since portable code cannot
17714 # rely on this symbol name, it's probably fine to never include it in
17715 # preloaded symbol tables.
17716 # Exclude shared library initialization/finalization symbols.
17717 extract_expsyms_cmds=
17720 cygwin* | mingw* | pw32* | cegcc*)
17721 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17722 # When not using gcc, we currently assume that we are using
17723 # Microsoft Visual C++.
17724 if test "$GCC" != yes; then
17729 # we just hope/assume this is gcc and not c89 (= MSVC++)
17738 if test "$with_gnu_ld" = yes; then
17739 # If archive_cmds runs LD, not CC, wlarc should be empty
17742 # Set some defaults for GNU ld with shared library support. These
17743 # are reset later if shared libraries are not supported. Putting them
17744 # here allows them to be overridden if necessary.
17745 runpath_var=LD_RUN_PATH
17746 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17747 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
17748 # ancient GNU ld didn't support --whole-archive et. al.
17749 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
17750 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17752 whole_archive_flag_spec_F77=
17754 supports_anon_versioning=no
17755 case `$LD -v 2>&1` in
17756 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17757 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17758 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17759 *\ 2.11.*) ;; # other 2.11 versions
17760 *) supports_anon_versioning=yes ;;
17763 # See if GNU ld supports shared libraries.
17766 # On AIX/PPC, the GNU linker is very broken
17767 if test "$host_cpu" != ia64; then
17771 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17772 *** to be unable to reliably create shared libraries on AIX.
17773 *** Therefore, libtool is disabling shared libraries support. If you
17774 *** really care for shared libraries, you may want to modify your PATH
17775 *** so that a non-GNU linker is found, and then restart.
17784 # see comment about AmigaOS4 .so support
17785 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17786 archive_expsym_cmds_F77=''
17789 archive_cmds_F77='$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)'
17790 hardcode_libdir_flag_spec_F77='-L$libdir'
17791 hardcode_minus_L_F77=yes
17797 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17798 allow_undefined_flag_F77=unsupported
17799 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17800 # support --undefined. This deserves some investigation. FIXME
17801 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17807 cygwin* | mingw* | pw32* | cegcc*)
17808 # _LT_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
17809 # as there is no search path for DLLs.
17810 hardcode_libdir_flag_spec_F77='-L$libdir'
17811 allow_undefined_flag_F77=unsupported
17812 always_export_symbols_F77=no
17813 enable_shared_with_static_runtimes_F77=yes
17814 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17816 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
17817 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17818 # If the export-symbols file already is a .def file (1st line
17819 # is EXPORTS), use it as is; otherwise, prepend...
17820 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17821 cp $export_symbols $output_objdir/$soname.def;
17823 echo EXPORTS > $output_objdir/$soname.def;
17824 cat $export_symbols >> $output_objdir/$soname.def;
17826 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17833 hardcode_direct_F77=no
17834 hardcode_shlibpath_var_F77=no
17835 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17836 export_dynamic_flag_spec_F77='${wl}-E'
17837 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17838 # Instead, shared libraries are loaded at an image base (0x10000000 by
17839 # default) and relocated if they conflict, which is a slow very memory
17840 # consuming and fragmenting process. To avoid this, we pick a random,
17841 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17842 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17843 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17844 archive_expsym_cmds_F77='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'
17847 gnu* | linux* | tpf* | k*bsd*-gnu)
17849 if test "$host_os" = linux-dietlibc; then
17850 case $cc_basename in
17851 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
17854 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
17855 && test "$tmp_diet" = no
17858 tmp_sharedflag='-shared'
17859 case $cc_basename,$host_cpu in
17860 pgcc*) # Portland Group C compiler
17861 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
17862 tmp_addflag=' $pic_flag'
17864 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
17865 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
17866 tmp_addflag=' $pic_flag -Mnomain' ;;
17867 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
17868 tmp_addflag=' -i_dynamic' ;;
17869 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
17870 tmp_addflag=' -i_dynamic -nofor_main' ;;
17871 ifc* | ifort*) # Intel Fortran compiler
17872 tmp_addflag=' -nofor_main' ;;
17873 lf95*) # Lahey Fortran 8.1
17874 whole_archive_flag_spec_F77=
17875 tmp_sharedflag='--shared' ;;
17876 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
17877 tmp_sharedflag='-qmkshrobj'
17880 case `$CC -V 2>&1 | sed 5q` in
17881 *Sun\ C*) # Sun C 5.9
17882 whole_archive_flag_spec_F77='${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'
17883 compiler_needs_object_F77=yes
17884 tmp_sharedflag='-G' ;;
17885 *Sun\ F*) # Sun Fortran 8.3
17886 tmp_sharedflag='-G' ;;
17888 archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17890 if test "x$supports_anon_versioning" = xyes; then
17891 archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
17892 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17893 echo "local: *; };" >> $output_objdir/$libname.ver~
17894 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17897 case $cc_basename in
17899 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
17900 whole_archive_flag_spec_F77='--whole-archive$convenience --no-whole-archive'
17901 hardcode_libdir_flag_spec_F77=
17902 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
17903 archive_cmds_F77='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
17904 if test "x$supports_anon_versioning" = xyes; then
17905 archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
17906 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17907 echo "local: *; };" >> $output_objdir/$libname.ver~
17908 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
17917 netbsd* | netbsdelf*-gnu)
17918 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17919 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17922 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17923 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17928 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
17932 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17933 *** create shared libraries on Solaris systems. Therefore, libtool
17934 *** is disabling shared libraries support. We urge you to upgrade GNU
17935 *** binutils to release 2.9.1 or newer. Another option is to modify
17936 *** your PATH or compiler configuration so that the native linker is
17937 *** used, and then restart.
17940 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17941 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17942 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17948 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17949 case `$LD -v 2>&1` in
17950 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17954 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17955 *** reliably create shared libraries on SCO systems. Therefore, libtool
17956 *** is disabling shared libraries support. We urge you to upgrade GNU
17957 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17958 *** your PATH or compiler configuration so that the native linker is
17959 *** used, and then restart.
17964 # For security reasons, it is highly recommended that you always
17965 # use absolute paths for naming shared libraries, and exclude the
17966 # DT_RUNPATH tag from executables and libraries. But doing so
17967 # requires that you compile everything twice, which is a pain.
17968 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17969 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17970 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17971 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17980 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17982 hardcode_direct_F77=yes
17983 hardcode_shlibpath_var_F77=no
17987 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17988 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17989 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17996 if test "$ld_shlibs_F77" = no; then
17998 hardcode_libdir_flag_spec_F77=
17999 export_dynamic_flag_spec_F77=
18000 whole_archive_flag_spec_F77=
18003 # PORTME fill in a description of your system's linker (not GNU ld)
18006 allow_undefined_flag_F77=unsupported
18007 always_export_symbols_F77=yes
18008 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
18009 # Note: this linker hardcodes the directories in LIBPATH if there
18010 # are no directories specified by -L.
18011 hardcode_minus_L_F77=yes
18012 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18013 # Neither direct hardcoding nor static linking is supported with a
18015 hardcode_direct_F77=unsupported
18020 if test "$host_cpu" = ia64; then
18021 # On IA64, the linker does run time linking by default, so we don't
18022 # have to do anything special.
18023 aix_use_runtimelinking=no
18024 exp_sym_flag='-Bexport'
18027 # If we're using GNU nm, then we don't want the "-C" option.
18028 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18029 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
18030 export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
18032 export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
18034 aix_use_runtimelinking=no
18036 # Test if we are trying to use run time linking or normal
18037 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18038 # need to do runtime linking.
18039 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18040 for ld_flag in $LDFLAGS; do
18041 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18042 aix_use_runtimelinking=yes
18049 exp_sym_flag='-bexport'
18050 no_entry_flag='-bnoentry'
18053 # When large executables or shared objects are built, AIX ld can
18054 # have problems creating the table of contents. If linking a library
18055 # or program results in "error TOC overflow" add -mminimal-toc to
18056 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18057 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18059 archive_cmds_F77=''
18060 hardcode_direct_F77=yes
18061 hardcode_direct_absolute_F77=yes
18062 hardcode_libdir_separator_F77=':'
18063 link_all_deplibs_F77=yes
18064 file_list_spec_F77='${wl}-f,'
18066 if test "$GCC" = yes; then
18067 case $host_os in aix4.[012]|aix4.[012].*)
18068 # We only want to do this on AIX 4.2 and lower, the check
18069 # below for broken collect2 doesn't work under 4.3+
18070 collect2name=`${CC} -print-prog-name=collect2`
18071 if test -f "$collect2name" &&
18072 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
18074 # We have reworked collect2
18077 # We have old collect2
18078 hardcode_direct_F77=unsupported
18079 # It fails to find uninstalled libraries when the uninstalled
18080 # path is not listed in the libpath. Setting hardcode_minus_L
18081 # to unsupported forces relinking
18082 hardcode_minus_L_F77=yes
18083 hardcode_libdir_flag_spec_F77='-L$libdir'
18084 hardcode_libdir_separator_F77=
18088 shared_flag='-shared'
18089 if test "$aix_use_runtimelinking" = yes; then
18090 shared_flag="$shared_flag "'${wl}-G'
18092 link_all_deplibs_F77=no
18095 if test "$host_cpu" = ia64; then
18096 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18097 # chokes on -Wl,-G. The following line is correct:
18100 if test "$aix_use_runtimelinking" = yes; then
18101 shared_flag='${wl}-G'
18103 shared_flag='${wl}-bM:SRE'
18108 export_dynamic_flag_spec_F77='${wl}-bexpall'
18109 # It seems that -bexpall does not export symbols beginning with
18110 # underscore (_), so it is better to generate a list of symbols to export.
18111 always_export_symbols_F77=yes
18112 if test "$aix_use_runtimelinking" = yes; then
18113 # Warning - without using the other runtime loading flags (-brtl),
18114 # -berok will link without error, but may produce a broken library.
18115 allow_undefined_flag_F77='-berok'
18116 # Determine the default libpath from the value encoded in an
18117 # empty executable.
18118 cat > conftest.$ac_ext <<_ACEOF
18123 if ac_fn_f77_try_link "$LINENO"; then :
18125 lt_aix_libpath_sed='
18126 /Import File Strings/,/^$/ {
18132 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18133 # Check for a 64-bit object if we didn't find anything.
18134 if test -z "$aix_libpath"; then
18135 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18138 rm -f core conftest.err conftest.$ac_objext \
18139 conftest$ac_exeext conftest.$ac_ext
18140 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18142 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
18143 archive_expsym_cmds_F77='$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"
18145 if test "$host_cpu" = ia64; then
18146 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
18147 allow_undefined_flag_F77="-z nodefs"
18148 archive_expsym_cmds_F77="\$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"
18150 # Determine the default libpath from the value encoded in an
18151 # empty executable.
18152 cat > conftest.$ac_ext <<_ACEOF
18157 if ac_fn_f77_try_link "$LINENO"; then :
18159 lt_aix_libpath_sed='
18160 /Import File Strings/,/^$/ {
18166 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18167 # Check for a 64-bit object if we didn't find anything.
18168 if test -z "$aix_libpath"; then
18169 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18172 rm -f core conftest.err conftest.$ac_objext \
18173 conftest$ac_exeext conftest.$ac_ext
18174 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18176 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
18177 # Warning - without using the other run time loading flags,
18178 # -berok will link without error, but may produce a broken library.
18179 no_undefined_flag_F77=' ${wl}-bernotok'
18180 allow_undefined_flag_F77=' ${wl}-berok'
18181 # Exported symbols can be pulled into shared objects from archives
18182 whole_archive_flag_spec_F77='$convenience'
18183 archive_cmds_need_lc_F77=yes
18184 # This is similar to how AIX traditionally builds its shared libraries.
18185 archive_expsym_cmds_F77="\$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'
18193 # see comment about AmigaOS4 .so support
18194 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18195 archive_expsym_cmds_F77=''
18198 archive_cmds_F77='$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)'
18199 hardcode_libdir_flag_spec_F77='-L$libdir'
18200 hardcode_minus_L_F77=yes
18206 export_dynamic_flag_spec_F77=-rdynamic
18209 cygwin* | mingw* | pw32* | cegcc*)
18210 # When not using gcc, we currently assume that we are using
18211 # Microsoft Visual C++.
18212 # hardcode_libdir_flag_spec is actually meaningless, as there is
18213 # no search path for DLLs.
18214 hardcode_libdir_flag_spec_F77=' '
18215 allow_undefined_flag_F77=unsupported
18216 # Tell ltmain to make .lib files, not .a files.
18218 # Tell ltmain to make .dll files, not .so files.
18220 # FIXME: Setting linknames here is a bad hack.
18221 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
18222 # The linker will automatically build a .lib file if we build a DLL.
18223 old_archive_from_new_cmds_F77='true'
18224 # FIXME: Should let the user specify the lib program.
18225 old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
18226 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
18227 enable_shared_with_static_runtimes_F77=yes
18230 darwin* | rhapsody*)
18233 archive_cmds_need_lc_F77=no
18234 hardcode_direct_F77=no
18235 hardcode_automatic_F77=yes
18236 hardcode_shlibpath_var_F77=unsupported
18237 whole_archive_flag_spec_F77=''
18238 link_all_deplibs_F77=yes
18239 allow_undefined_flag_F77="$_lt_dar_allow_undefined"
18240 case $cc_basename in
18241 ifort*) _lt_dar_can_shared=yes ;;
18242 *) _lt_dar_can_shared=$GCC ;;
18244 if test "$_lt_dar_can_shared" = "yes"; then
18245 output_verbose_link_cmd=echo
18246 archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18247 module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18248 archive_expsym_cmds_F77="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}"
18249 module_expsym_cmds_F77="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}"
18258 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18259 hardcode_libdir_flag_spec_F77='-L$libdir'
18260 hardcode_shlibpath_var_F77=no
18267 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18268 # support. Future versions do this automatically, but an explicit c++rt0.o
18269 # does not break anything, and helps significantly (at the cost of a little
18272 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18273 hardcode_libdir_flag_spec_F77='-R$libdir'
18274 hardcode_direct_F77=yes
18275 hardcode_shlibpath_var_F77=no
18278 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18280 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18281 hardcode_direct_F77=yes
18282 hardcode_minus_L_F77=yes
18283 hardcode_shlibpath_var_F77=no
18286 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18287 freebsd* | dragonfly*)
18288 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18289 hardcode_libdir_flag_spec_F77='-R$libdir'
18290 hardcode_direct_F77=yes
18291 hardcode_shlibpath_var_F77=no
18295 if test "$GCC" = yes; then
18296 archive_cmds_F77='$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'
18298 archive_cmds_F77='$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'
18300 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
18301 hardcode_libdir_separator_F77=:
18302 hardcode_direct_F77=yes
18304 # hardcode_minus_L: Not really in the search PATH,
18305 # but as the default location of the library.
18306 hardcode_minus_L_F77=yes
18307 export_dynamic_flag_spec_F77='${wl}-E'
18311 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18312 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18314 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18316 if test "$with_gnu_ld" = no; then
18317 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
18318 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
18319 hardcode_libdir_separator_F77=:
18320 hardcode_direct_F77=yes
18321 hardcode_direct_absolute_F77=yes
18322 export_dynamic_flag_spec_F77='${wl}-E'
18323 # hardcode_minus_L: Not really in the search PATH,
18324 # but as the default location of the library.
18325 hardcode_minus_L_F77=yes
18330 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18333 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18336 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18339 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18345 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18348 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18351 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18355 if test "$with_gnu_ld" = no; then
18356 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
18357 hardcode_libdir_separator_F77=:
18361 hardcode_direct_F77=no
18362 hardcode_shlibpath_var_F77=no
18365 hardcode_direct_F77=yes
18366 hardcode_direct_absolute_F77=yes
18367 export_dynamic_flag_spec_F77='${wl}-E'
18369 # hardcode_minus_L: Not really in the search PATH,
18370 # but as the default location of the library.
18371 hardcode_minus_L_F77=yes
18377 irix5* | irix6* | nonstopux*)
18378 if test "$GCC" = yes; then
18379 archive_cmds_F77='$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'
18380 # Try to use the -exported_symbol ld option, if it does not
18381 # work, assume that -exports_file does not work either and
18382 # implicitly export all symbols.
18383 save_LDFLAGS="$LDFLAGS"
18384 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
18385 cat > conftest.$ac_ext <<_ACEOF
18388 if ac_fn_f77_try_link "$LINENO"; then :
18389 archive_expsym_cmds_F77='$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'
18392 rm -f core conftest.err conftest.$ac_objext \
18393 conftest$ac_exeext conftest.$ac_ext
18394 LDFLAGS="$save_LDFLAGS"
18396 archive_cmds_F77='$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'
18397 archive_expsym_cmds_F77='$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'
18399 archive_cmds_need_lc_F77='no'
18400 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18401 hardcode_libdir_separator_F77=:
18402 inherit_rpath_F77=yes
18403 link_all_deplibs_F77=yes
18406 netbsd* | netbsdelf*-gnu)
18407 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18408 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18410 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18412 hardcode_libdir_flag_spec_F77='-R$libdir'
18413 hardcode_direct_F77=yes
18414 hardcode_shlibpath_var_F77=no
18418 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18419 hardcode_direct_F77=yes
18420 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18421 hardcode_libdir_separator_F77=:
18422 hardcode_shlibpath_var_F77=no
18429 if test -f /usr/libexec/ld.so; then
18430 hardcode_direct_F77=yes
18431 hardcode_shlibpath_var_F77=no
18432 hardcode_direct_absolute_F77=yes
18433 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18434 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18435 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18436 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
18437 export_dynamic_flag_spec_F77='${wl}-E'
18440 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18441 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18442 hardcode_libdir_flag_spec_F77='-R$libdir'
18445 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18446 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
18456 hardcode_libdir_flag_spec_F77='-L$libdir'
18457 hardcode_minus_L_F77=yes
18458 allow_undefined_flag_F77=unsupported
18459 archive_cmds_F77='$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'
18460 old_archive_from_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18464 if test "$GCC" = yes; then
18465 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
18466 archive_cmds_F77='$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'
18468 allow_undefined_flag_F77=' -expect_unresolved \*'
18469 archive_cmds_F77='$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'
18471 archive_cmds_need_lc_F77='no'
18472 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18473 hardcode_libdir_separator_F77=:
18476 osf4* | osf5*) # as osf3* with the addition of -msym flag
18477 if test "$GCC" = yes; then
18478 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
18479 archive_cmds_F77='$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'
18480 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18482 allow_undefined_flag_F77=' -expect_unresolved \*'
18483 archive_cmds_F77='$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'
18484 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
18485 $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'
18487 # Both c and cxx compiler support -rpath directly
18488 hardcode_libdir_flag_spec_F77='-rpath $libdir'
18490 archive_cmds_need_lc_F77='no'
18491 hardcode_libdir_separator_F77=:
18495 no_undefined_flag_F77=' -z defs'
18496 if test "$GCC" = yes; then
18498 archive_cmds_F77='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18499 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18500 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18502 case `$CC -V 2>&1` in
18505 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18506 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18507 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
18511 archive_cmds_F77='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
18512 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18513 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18517 hardcode_libdir_flag_spec_F77='-R$libdir'
18518 hardcode_shlibpath_var_F77=no
18520 solaris2.[0-5] | solaris2.[0-5].*) ;;
18522 # The compiler driver will combine and reorder linker options,
18523 # but understands `-z linker_flag'. GCC discards it without `$wl',
18524 # but is careful enough not to reorder.
18525 # Supported since Solaris 2.6 (maybe 2.5.1?)
18526 if test "$GCC" = yes; then
18527 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18529 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
18533 link_all_deplibs_F77=yes
18537 if test "x$host_vendor" = xsequent; then
18538 # Use $CC to link under sequent, because it throws in some extra .o
18539 # files that make .init and .fini sections work.
18540 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18542 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18544 hardcode_libdir_flag_spec_F77='-L$libdir'
18545 hardcode_direct_F77=yes
18546 hardcode_minus_L_F77=yes
18547 hardcode_shlibpath_var_F77=no
18551 case $host_vendor in
18553 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18554 hardcode_direct_F77=yes # is this really true???
18557 ## LD is ld it makes a PLAMLIB
18558 ## CC just makes a GrossModule.
18559 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18560 reload_cmds_F77='$CC -r -o $output$reload_objs'
18561 hardcode_direct_F77=no
18564 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18565 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
18568 runpath_var='LD_RUN_PATH'
18569 hardcode_shlibpath_var_F77=no
18573 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18574 hardcode_shlibpath_var_F77=no
18575 export_dynamic_flag_spec_F77='-Bexport'
18579 if test -d /usr/nec; then
18580 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18581 hardcode_shlibpath_var_F77=no
18582 runpath_var=LD_RUN_PATH
18583 hardcode_runpath_var=yes
18588 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18589 no_undefined_flag_F77='${wl}-z,text'
18590 archive_cmds_need_lc_F77=no
18591 hardcode_shlibpath_var_F77=no
18592 runpath_var='LD_RUN_PATH'
18594 if test "$GCC" = yes; then
18595 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18596 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18598 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18599 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18603 sysv5* | sco3.2v5* | sco5v6*)
18604 # Note: We can NOT use -z defs as we might desire, because we do not
18605 # link with -lc, and that would cause any symbols used from libc to
18606 # always be unresolved, which means just about no library would
18607 # ever link correctly. If we're not using GNU ld we use -z text
18608 # though, which does catch some bad symbols but isn't as heavy-handed
18610 no_undefined_flag_F77='${wl}-z,text'
18611 allow_undefined_flag_F77='${wl}-z,nodefs'
18612 archive_cmds_need_lc_F77=no
18613 hardcode_shlibpath_var_F77=no
18614 hardcode_libdir_flag_spec_F77='${wl}-R,$libdir'
18615 hardcode_libdir_separator_F77=':'
18616 link_all_deplibs_F77=yes
18617 export_dynamic_flag_spec_F77='${wl}-Bexport'
18618 runpath_var='LD_RUN_PATH'
18620 if test "$GCC" = yes; then
18621 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18622 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18624 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18625 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18630 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18631 hardcode_libdir_flag_spec_F77='-L$libdir'
18632 hardcode_shlibpath_var_F77=no
18640 if test x$host_vendor = xsni; then
18642 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18643 export_dynamic_flag_spec_F77='${wl}-Blargedynsym'
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5
18650 $as_echo "$ld_shlibs_F77" >&6; }
18651 test "$ld_shlibs_F77" = no && can_build_shared=no
18653 with_gnu_ld_F77=$with_gnu_ld
18661 # Do we need to explicitly link libc?
18663 case "x$archive_cmds_need_lc_F77" in
18665 # Assume -lc should be added
18666 archive_cmds_need_lc_F77=yes
18668 if test "$enable_shared" = yes && test "$GCC" = yes; then
18669 case $archive_cmds_F77 in
18671 # FIXME: we may have to deal with multi-command sequences.
18674 # Test whether the compiler implicitly links with -lc since on some
18675 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18676 # to ld, don't add -lc before -lgcc.
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18678 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18680 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18682 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18683 (eval $ac_compile) 2>&5
18685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18686 test $ac_status = 0; } 2>conftest.err; then
18689 libobjs=conftest.$ac_objext
18691 wl=$lt_prog_compiler_wl_F77
18692 pic_flag=$lt_prog_compiler_pic_F77
18698 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
18699 allow_undefined_flag_F77=
18700 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18701 (eval $archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
18703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18704 test $ac_status = 0; }
18706 archive_cmds_need_lc_F77=no
18708 archive_cmds_need_lc_F77=yes
18710 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
18712 cat conftest.err 1>&5
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_F77" >&5
18716 $as_echo "$archive_cmds_need_lc_F77" >&6; }
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
18787 $as_echo_n "checking dynamic linker characteristics... " >&6; }
18789 library_names_spec=
18790 libname_spec='lib$name'
18794 postuninstall_cmds=
18798 shlibpath_overrides_runpath=unknown
18800 dynamic_linker="$host_os ld.so"
18801 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18802 need_lib_prefix=unknown
18803 hardcode_into_libs=no
18805 # when you set need_version to no, make sure it does not cause -set_version
18806 # flags to be left without arguments
18807 need_version=unknown
18812 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18813 shlibpath_var=LIBPATH
18815 # AIX 3 has no versioning support, so we append a major version to the name.
18816 soname_spec='${libname}${release}${shared_ext}$major'
18823 hardcode_into_libs=yes
18824 if test "$host_cpu" = ia64; then
18825 # AIX 5 supports IA64
18826 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18827 shlibpath_var=LD_LIBRARY_PATH
18829 # With GCC up to 2.95.x, collect2 would create an import file
18830 # for dependence libraries. The import file would start with
18831 # the line `#! .'. This would cause the generated library to
18832 # depend on `.', always an invalid library. This was fixed in
18833 # development snapshots of GCC prior to 3.0.
18835 aix4 | aix4.[01] | aix4.[01].*)
18836 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18838 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
18841 can_build_shared=no
18845 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18846 # soname into executable. Probably we can add versioning support to
18847 # collect2, so additional links can be useful in future.
18848 if test "$aix_use_runtimelinking" = yes; then
18849 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18850 # instead of lib<name>.a to let people know that these are not
18851 # typical AIX shared libraries.
18852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18854 # We preserve .a as extension for shared libraries through AIX4.2
18855 # and later when we are not doing run time linking.
18856 library_names_spec='${libname}${release}.a $libname.a'
18857 soname_spec='${libname}${release}${shared_ext}$major'
18859 shlibpath_var=LIBPATH
18866 # Since July 2007 AmigaOS4 officially supports .so libraries.
18867 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
18868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18871 library_names_spec='$libname.ixlibrary $libname.a'
18872 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18873 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'
18879 library_names_spec='${libname}${shared_ext}'
18880 dynamic_linker="$host_os ld.so"
18881 shlibpath_var=LIBRARY_PATH
18887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18888 soname_spec='${libname}${release}${shared_ext}$major'
18889 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18890 shlibpath_var=LD_LIBRARY_PATH
18891 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18892 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18893 # the default ld.so.conf also contains /usr/contrib/lib and
18894 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18895 # libtool to hard-code these into programs
18898 cygwin* | mingw* | pw32* | cegcc*)
18899 version_type=windows
18904 case $GCC,$host_os in
18905 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
18906 library_names_spec='$libname.dll.a'
18907 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18908 postinstall_cmds='base_file=`basename \${file}`~
18909 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
18910 dldir=$destdir/`dirname \$dlpath`~
18911 test -d \$dldir || mkdir -p \$dldir~
18912 $install_prog $dir/$dlname \$dldir/$dlname~
18913 chmod a+x \$dldir/$dlname~
18914 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18915 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18917 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18918 dlpath=$dir/\$dldll~
18920 shlibpath_overrides_runpath=yes
18924 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18925 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18926 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18929 # MinGW DLLs use traditional 'lib' prefix
18930 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18931 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18932 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
18933 # It is most probably a Windows format PATH printed by
18934 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18935 # path with ; separators, and with drive letters. We can handle the
18936 # drive letters (cygwin fileutils understands them), so leave them,
18937 # especially as we might pass files found there to a mingw objdump,
18938 # which wouldn't understand a cygwinified path. Ahh.
18939 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18941 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18945 # pw32 DLLs use 'pw' prefix rather than 'lib'
18946 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18952 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18955 dynamic_linker='Win32 ld.exe'
18956 # FIXME: first we should search . and the directory the executable is in
18960 darwin* | rhapsody*)
18961 dynamic_linker="$host_os dyld"
18962 version_type=darwin
18965 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18966 soname_spec='${libname}${release}${major}$shared_ext'
18967 shlibpath_overrides_runpath=yes
18968 shlibpath_var=DYLD_LIBRARY_PATH
18969 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18971 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18979 soname_spec='${libname}${release}${shared_ext}$major'
18980 shlibpath_var=LD_LIBRARY_PATH
18987 freebsd* | dragonfly*)
18988 # DragonFly does not have aout. When/if they implement a new
18989 # versioning mechanism, adjust this.
18990 if test -x /usr/bin/objformat; then
18991 objformat=`/usr/bin/objformat`
18994 freebsd[123]*) objformat=aout ;;
18995 *) objformat=elf ;;
18998 version_type=freebsd-$objformat
18999 case $version_type in
19001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19006 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19010 shlibpath_var=LD_LIBRARY_PATH
19013 shlibpath_overrides_runpath=yes
19015 freebsd3.[01]* | freebsdelf3.[01]*)
19016 shlibpath_overrides_runpath=yes
19017 hardcode_into_libs=yes
19019 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19020 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19021 shlibpath_overrides_runpath=no
19022 hardcode_into_libs=yes
19024 *) # from 4.6 on, and DragonFly
19025 shlibpath_overrides_runpath=yes
19026 hardcode_into_libs=yes
19035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19036 soname_spec='${libname}${release}${shared_ext}$major'
19037 shlibpath_var=LD_LIBRARY_PATH
19038 hardcode_into_libs=yes
19041 hpux9* | hpux10* | hpux11*)
19042 # Give a soname corresponding to the major version so that dld.sl refuses to
19043 # link against other versions.
19050 hardcode_into_libs=yes
19051 dynamic_linker="$host_os dld.so"
19052 shlibpath_var=LD_LIBRARY_PATH
19053 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19055 soname_spec='${libname}${release}${shared_ext}$major'
19056 if test "X$HPUX_IA64_MODE" = X32; then
19057 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19059 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19061 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19065 hardcode_into_libs=yes
19066 dynamic_linker="$host_os dld.sl"
19067 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19068 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19070 soname_spec='${libname}${release}${shared_ext}$major'
19071 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19072 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19076 dynamic_linker="$host_os dld.sl"
19077 shlibpath_var=SHLIB_PATH
19078 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19080 soname_spec='${libname}${release}${shared_ext}$major'
19083 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19084 postinstall_cmds='chmod 555 $lib'
19091 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19092 soname_spec='${libname}${release}${shared_ext}$major'
19093 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19094 shlibpath_var=LD_LIBRARY_PATH
19095 shlibpath_overrides_runpath=no
19096 hardcode_into_libs=yes
19099 irix5* | irix6* | nonstopux*)
19101 nonstopux*) version_type=nonstopux ;;
19103 if test "$lt_cv_prog_gnu_ld" = yes; then
19111 soname_spec='${libname}${release}${shared_ext}$major'
19112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19114 irix5* | nonstopux*)
19115 libsuff= shlibsuff=
19118 case $LD in # libtool.m4 will add one of these switches to LD
19119 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19120 libsuff= shlibsuff= libmagic=32-bit;;
19121 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19122 libsuff=32 shlibsuff=N32 libmagic=N32;;
19123 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19124 libsuff=64 shlibsuff=64 libmagic=64-bit;;
19125 *) libsuff= shlibsuff= libmagic=never-match;;
19129 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19130 shlibpath_overrides_runpath=no
19131 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19132 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19133 hardcode_into_libs=yes
19136 # No shared lib support for Linux oldld, aout, or coff.
19137 linux*oldld* | linux*aout* | linux*coff*)
19141 # This must be Linux ELF.
19142 linux* | k*bsd*-gnu)
19146 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19147 soname_spec='${libname}${release}${shared_ext}$major'
19148 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19149 shlibpath_var=LD_LIBRARY_PATH
19150 shlibpath_overrides_runpath=no
19151 # Some binutils ld are patched to set DT_RUNPATH
19152 save_LDFLAGS=$LDFLAGS
19153 save_libdir=$libdir
19154 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_F77\"; \
19155 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_F77\""
19156 cat > conftest.$ac_ext <<_ACEOF
19161 if ac_fn_f77_try_link "$LINENO"; then :
19162 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
19163 shlibpath_overrides_runpath=yes
19166 rm -f core conftest.err conftest.$ac_objext \
19167 conftest$ac_exeext conftest.$ac_ext
19168 LDFLAGS=$save_LDFLAGS
19169 libdir=$save_libdir
19171 # This implies no fast_install, which is unacceptable.
19172 # Some rework will be needed to allow for fast_install
19173 # before this can be enabled.
19174 hardcode_into_libs=yes
19176 # Append ld.so.conf contents to the search path
19177 if test -f /etc/ld.so.conf; then
19178 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' ' '`
19179 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19182 # We used to test for /lib/ld.so.1 and disable shared libraries on
19183 # powerpc, because MkLinux only supported shared libraries with the
19184 # GNU dynamic linker. Since this was broken with cross compilers,
19185 # most powerpc-linux boxes support dynamic linking these days and
19186 # people can always --disable-shared, the test was removed, and we
19187 # assume the GNU/Linux dynamic linker is in use.
19188 dynamic_linker='GNU/Linux ld.so'
19195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19196 soname_spec='${libname}${release}${shared_ext}$major'
19197 shlibpath_var=LD_LIBRARY_PATH
19198 shlibpath_overrides_runpath=no
19199 hardcode_into_libs=yes
19200 dynamic_linker='NetBSD ld.elf_so'
19207 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19209 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19210 dynamic_linker='NetBSD (a.out) ld.so'
19212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19213 soname_spec='${libname}${release}${shared_ext}$major'
19214 dynamic_linker='NetBSD ld.elf_so'
19216 shlibpath_var=LD_LIBRARY_PATH
19217 shlibpath_overrides_runpath=yes
19218 hardcode_into_libs=yes
19223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19224 shlibpath_var=LD_LIBRARY_PATH
19225 shlibpath_overrides_runpath=yes
19232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19233 soname_spec='${libname}${release}${shared_ext}$major'
19234 shlibpath_var=LD_LIBRARY_PATH
19235 shlibpath_overrides_runpath=no
19236 hardcode_into_libs=yes
19237 dynamic_linker='ldqnx.so'
19242 sys_lib_dlsearch_path_spec="/usr/lib"
19244 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19246 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19247 *) need_version=no ;;
19249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19250 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19251 shlibpath_var=LD_LIBRARY_PATH
19252 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19254 openbsd2.[89] | openbsd2.[89].*)
19255 shlibpath_overrides_runpath=no
19258 shlibpath_overrides_runpath=yes
19262 shlibpath_overrides_runpath=yes
19267 libname_spec='$name'
19270 library_names_spec='$libname${shared_ext} $libname.a'
19271 dynamic_linker='OS/2 ld.exe'
19272 shlibpath_var=LIBPATH
19275 osf3* | osf4* | osf5*)
19279 soname_spec='${libname}${release}${shared_ext}$major'
19280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19281 shlibpath_var=LD_LIBRARY_PATH
19282 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19283 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19295 soname_spec='${libname}${release}${shared_ext}$major'
19296 shlibpath_var=LD_LIBRARY_PATH
19297 shlibpath_overrides_runpath=yes
19298 hardcode_into_libs=yes
19299 # ldd complains unless libraries are executable
19300 postinstall_cmds='chmod +x $lib'
19305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19306 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19307 shlibpath_var=LD_LIBRARY_PATH
19308 shlibpath_overrides_runpath=yes
19309 if test "$with_gnu_ld" = yes; then
19317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19318 soname_spec='${libname}${release}${shared_ext}$major'
19319 shlibpath_var=LD_LIBRARY_PATH
19320 case $host_vendor in
19322 shlibpath_overrides_runpath=no
19324 runpath_var=LD_RUN_PATH
19332 shlibpath_overrides_runpath=no
19333 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19339 if test -d /usr/nec ;then
19341 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19342 soname_spec='$libname${shared_ext}.$major'
19343 shlibpath_var=LD_LIBRARY_PATH
19347 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19348 version_type=freebsd-elf
19351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19352 soname_spec='${libname}${release}${shared_ext}$major'
19353 shlibpath_var=LD_LIBRARY_PATH
19354 shlibpath_overrides_runpath=yes
19355 hardcode_into_libs=yes
19356 if test "$with_gnu_ld" = yes; then
19357 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19359 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19362 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19366 sys_lib_dlsearch_path_spec='/usr/lib'
19370 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
19374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19375 shlibpath_var=LD_LIBRARY_PATH
19376 shlibpath_overrides_runpath=no
19377 hardcode_into_libs=yes
19382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19383 soname_spec='${libname}${release}${shared_ext}$major'
19384 shlibpath_var=LD_LIBRARY_PATH
19391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
19392 $as_echo "$dynamic_linker" >&6; }
19393 test "$dynamic_linker" = no && can_build_shared=no
19395 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19396 if test "$GCC" = yes; then
19397 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19400 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19401 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
19403 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19404 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19443 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19444 hardcode_action_F77=
19445 if test -n "$hardcode_libdir_flag_spec_F77" ||
19446 test -n "$runpath_var_F77" ||
19447 test "X$hardcode_automatic_F77" = "Xyes" ; then
19449 # We can hardcode non-existent directories.
19450 if test "$hardcode_direct_F77" != no &&
19451 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19452 # have to relink, otherwise we might link with an installed library
19453 # when we should be linking with a yet-to-be-installed one
19454 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
19455 test "$hardcode_minus_L_F77" != no; then
19456 # Linking always hardcodes the temporary library directory.
19457 hardcode_action_F77=relink
19459 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19460 hardcode_action_F77=immediate
19463 # We cannot hardcode anything, or else we can only hardcode existing
19465 hardcode_action_F77=unsupported
19467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5
19468 $as_echo "$hardcode_action_F77" >&6; }
19470 if test "$hardcode_action_F77" = relink ||
19471 test "$inherit_rpath_F77" = yes; then
19472 # Fast installation is not supported
19473 enable_fast_install=no
19474 elif test "$shlibpath_overrides_runpath" = yes ||
19475 test "$enable_shared" = no; then
19476 # Fast installation is not necessary
19477 enable_fast_install=needless
19486 fi # test -n "$compiler"
19490 fi # test "$_lt_disable_F77" != yes
19493 ac_cpp='$CPP $CPPFLAGS'
19494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19500 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
19501 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19502 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $F77" >&5
19504 $as_echo_n "checking how to get verbose linking output from $F77... " >&6; }
19505 if test "${ac_cv_prog_f77_v+set}" = set; then :
19506 $as_echo_n "(cached) " >&6
19508 cat > conftest.$ac_ext <<_ACEOF
19513 if ac_fn_f77_try_compile "$LINENO"; then :
19515 # Try some options frequently used verbose output
19516 for ac_verb in -v -verbose --verbose -V -\#\#\#; do
19517 cat > conftest.$ac_ext <<_ACEOF
19523 # Compile and link our simple test program by passing a flag (argument
19524 # 1 to this macro) to the Fortran compiler in order to get
19525 # "verbose" output that we can then parse for the Fortran linker
19527 ac_save_FFLAGS=$FFLAGS
19528 FFLAGS="$FFLAGS $ac_verb"
19529 eval "set x $ac_link"
19531 $as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5
19532 # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
19533 # LIBRARY_PATH; skip all such settings.
19534 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
19535 grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
19536 $as_echo "$ac_f77_v_output" >&5
19537 FFLAGS=$ac_save_FFLAGS
19541 # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
19542 # /foo, /bar, and /baz are search directories for the Fortran linker.
19543 # Here, we change these into -L/foo -L/bar -L/baz (and put it first):
19544 ac_f77_v_output="`echo $ac_f77_v_output |
19546 sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_f77_v_output"
19548 # FIXME: we keep getting bitten by quoted arguments; a more general fix
19549 # that detects unbalanced quotes in FLIBS should be implemented
19550 # and (ugh) tested at some point.
19551 case $ac_f77_v_output in
19552 # If we are using xlf then replace all the commas with spaces.
19554 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;;
19556 # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
19557 # $LIBS confuse us, and the libraries appear later in the output anyway).
19558 *mGLOB_options_string*)
19559 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
19561 # Portland Group compiler has singly- or doubly-quoted -cmdline argument
19562 # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
19563 # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
19564 *-cmdline\ * | *-ignore\ * | *-def\ *)
19565 ac_f77_v_output=`echo $ac_f77_v_output | sed "\
19566 s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g
19567 s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g
19568 s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;;
19570 # If we are using Cray Fortran then delete quotes.
19572 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"//g'` ;;
19576 # look for -l* and *.a constructs in the output
19577 for ac_arg in $ac_f77_v_output; do
19579 [\\/]*.a | ?:[\\/]*.a | -[lLRu]*)
19580 ac_cv_prog_f77_v=$ac_verb
19585 if test -z "$ac_cv_prog_f77_v"; then
19586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine how to obtain linking information from $F77" >&5
19587 $as_echo "$as_me: WARNING: cannot determine how to obtain linking information from $F77" >&2;}
19590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compilation failed" >&5
19591 $as_echo "$as_me: WARNING: compilation failed" >&2;}
19593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_v" >&5
19597 $as_echo "$ac_cv_prog_f77_v" >&6; }
19598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 libraries of $F77" >&5
19599 $as_echo_n "checking for Fortran 77 libraries of $F77... " >&6; }
19600 if test "${ac_cv_f77_libs+set}" = set; then :
19601 $as_echo_n "(cached) " >&6
19603 if test "x$FLIBS" != "x"; then
19604 ac_cv_f77_libs="$FLIBS" # Let the user override the test.
19607 cat > conftest.$ac_ext <<_ACEOF
19613 # Compile and link our simple test program by passing a flag (argument
19614 # 1 to this macro) to the Fortran compiler in order to get
19615 # "verbose" output that we can then parse for the Fortran linker
19617 ac_save_FFLAGS=$FFLAGS
19618 FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
19619 eval "set x $ac_link"
19621 $as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5
19622 # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
19623 # LIBRARY_PATH; skip all such settings.
19624 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
19625 grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
19626 $as_echo "$ac_f77_v_output" >&5
19627 FFLAGS=$ac_save_FFLAGS
19631 # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
19632 # /foo, /bar, and /baz are search directories for the Fortran linker.
19633 # Here, we change these into -L/foo -L/bar -L/baz (and put it first):
19634 ac_f77_v_output="`echo $ac_f77_v_output |
19636 sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_f77_v_output"
19638 # FIXME: we keep getting bitten by quoted arguments; a more general fix
19639 # that detects unbalanced quotes in FLIBS should be implemented
19640 # and (ugh) tested at some point.
19641 case $ac_f77_v_output in
19642 # If we are using xlf then replace all the commas with spaces.
19644 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;;
19646 # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
19647 # $LIBS confuse us, and the libraries appear later in the output anyway).
19648 *mGLOB_options_string*)
19649 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
19651 # Portland Group compiler has singly- or doubly-quoted -cmdline argument
19652 # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
19653 # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
19654 *-cmdline\ * | *-ignore\ * | *-def\ *)
19655 ac_f77_v_output=`echo $ac_f77_v_output | sed "\
19656 s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g
19657 s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g
19658 s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;;
19660 # If we are using Cray Fortran then delete quotes.
19662 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"//g'` ;;
19669 # Save positional arguments (if any)
19670 ac_save_positional="$@"
19672 set X $ac_f77_v_output
19673 while test $# != 1; do
19677 [\\/]*.a | ?:[\\/]*.a)
19679 for ac_i in $ac_cv_f77_libs; do
19680 if test x"$ac_arg" = x"$ac_i"; then
19686 if test x"$ac_exists" = xtrue; then :
19689 ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
19694 for ac_i in $ac_cv_f77_libs; do
19695 if test x"$ac_arg" = x"$ac_i"; then
19701 if test x"$ac_exists" = xtrue; then :
19704 if test "$ac_compiler_gnu" = yes; then
19705 for ac_link_opt in $ac_arg; do
19706 ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt"
19709 ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
19713 # Ignore these flags.
19714 -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \
19715 |-LANG:=* | -LIST:* | -LNO:*)
19718 test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
19721 # These flags, when seen by themselves, take an argument.
19722 # We remove the space between option and argument and re-iterate
19723 # unless we find an empty arg or a new option (starting with -)
19734 for ac_j in `$as_echo "$ac_arg" | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
19736 for ac_i in $ac_cv_f77_libs; do
19737 if test x"$ac_j" = x"$ac_i"; then
19743 if test x"$ac_exists" = xtrue; then :
19746 ac_arg="$ac_arg $ac_j"
19747 ac_cv_f77_libs="$ac_cv_f77_libs $ac_j"
19753 for ac_i in $ac_cv_f77_libs; do
19754 if test x"$ac_arg" = x"$ac_i"; then
19760 if test x"$ac_exists" = xtrue; then :
19763 ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
19766 -zallextract*| -zdefaultextract)
19767 ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
19769 # Ignore everything else.
19772 # restore positional arguments
19773 set X $ac_save_positional; shift
19775 # We only consider "LD_RUN_PATH" on Solaris systems. If this is seen,
19776 # then we insist that the "run path" must be an absolute path (i.e. it
19777 # must begin with a "/").
19778 case `(uname -sr) 2>/dev/null` in
19780 ac_ld_run_path=`$as_echo "$ac_f77_v_output" |
19781 sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'`
19782 test "x$ac_ld_run_path" != x &&
19783 if test "$ac_compiler_gnu" = yes; then
19784 for ac_link_opt in $ac_ld_run_path; do
19785 ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt"
19788 ac_cv_f77_libs="$ac_cv_f77_libs $ac_ld_run_path"
19792 fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x"
19795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_libs" >&5
19796 $as_echo "$ac_cv_f77_libs" >&6; }
19797 FLIBS="$ac_cv_f77_libs"
19801 ac_cpp='$CPP $CPPFLAGS'
19802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19812 case "${host_os}" in
19813 *mingw* | *cygwin*)
19815 # on MinGW/Cygwin extra LDFLAGS are required
19816 no_undefined="-no-undefined"
19819 NO_UNDEFINED=$no_undefined
19826 # Find any Python interpreter.
19827 if test -z "$PYTHON"; then
19828 for ac_prog in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
19830 # Extract the first word of "$ac_prog", so it can be a program name with args.
19831 set dummy $ac_prog; ac_word=$2
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19833 $as_echo_n "checking for $ac_word... " >&6; }
19834 if test "${ac_cv_path_PYTHON+set}" = set; then :
19835 $as_echo_n "(cached) " >&6
19839 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
19842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19843 for as_dir in $PATH
19846 test -z "$as_dir" && as_dir=.
19847 for ac_exec_ext in '' $ac_executable_extensions; do
19848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19849 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
19850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19860 PYTHON=$ac_cv_path_PYTHON
19861 if test -n "$PYTHON"; then
19862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
19863 $as_echo "$PYTHON" >&6; }
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19866 $as_echo "no" >&6; }
19870 test -n "$PYTHON" && break
19872 test -n "$PYTHON" || PYTHON=":"
19875 am_display_PYTHON=python
19878 if test "$PYTHON" = :; then
19879 as_fn_error "no suitable Python interpreter found" "$LINENO" 5
19883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
19884 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
19885 if test "${am_cv_python_version+set}" = set; then :
19886 $as_echo_n "(cached) " >&6
19888 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
19891 $as_echo "$am_cv_python_version" >&6; }
19892 PYTHON_VERSION=$am_cv_python_version
19896 PYTHON_PREFIX='${prefix}'
19898 PYTHON_EXEC_PREFIX='${exec_prefix}'
19902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
19903 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
19904 if test "${am_cv_python_platform+set}" = set; then :
19905 $as_echo_n "(cached) " >&6
19907 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
19910 $as_echo "$am_cv_python_platform" >&6; }
19911 PYTHON_PLATFORM=$am_cv_python_platform
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
19917 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
19918 if test "${am_cv_python_pythondir+set}" = set; then :
19919 $as_echo_n "(cached) " >&6
19921 if test "x$prefix" = xNONE
19923 am_py_prefix=$ac_default_prefix
19925 am_py_prefix=$prefix
19927 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 ||
19928 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
19929 case $am_cv_python_pythondir in
19931 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
19932 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
19935 case $am_py_prefix in
19938 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
19945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
19946 $as_echo "$am_cv_python_pythondir" >&6; }
19947 pythondir=$am_cv_python_pythondir
19951 pkgpythondir=\${pythondir}/$PACKAGE
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
19955 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
19956 if test "${am_cv_python_pyexecdir+set}" = set; then :
19957 $as_echo_n "(cached) " >&6
19959 if test "x$exec_prefix" = xNONE
19961 am_py_exec_prefix=$am_py_prefix
19963 am_py_exec_prefix=$exec_prefix
19965 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 ||
19966 echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
19967 case $am_cv_python_pyexecdir in
19968 $am_py_exec_prefix*)
19969 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
19970 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
19973 case $am_py_exec_prefix in
19976 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
19984 $as_echo "$am_cv_python_pyexecdir" >&6; }
19985 pyexecdir=$am_cv_python_pyexecdir
19989 pkgpyexecdir=\${pyexecdir}/$PACKAGE
20001 # Check whether --with-pythondir was given.
20002 if test "${with_pythondir+set}" = set; then :
20003 withval=$with_pythondir; with_pythondir=${withval}
20005 with_pythondir=${prefix}/lib/python2.5/site-packages
20009 # if we're cross-compiling, asking the host python about any of
20010 # this is completely useless...
20012 if test x$cross_compiling != xno
20014 pythondir=$with_pythondir
20015 pyexecdir=$with_pythondir
20020 # For Fedora Core 5 and 6, see ticket:39 in Trac
20021 if test -f '/etc/redhat-release'; then
20022 if (echo $pyexecdir | grep -q lib64); then
20023 pythondir="$pyexecdir"
20027 # Check for Python include path
20028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5
20029 $as_echo_n "checking for Python include path... " >&6; }
20030 if test -z "$PYTHON" ; then
20031 as_fn_error "cannot find Python path" "$LINENO" 5
20034 # ask distutils which include path we should use
20036 import distutils.sysconfig
20038 path = distutils.sysconfig.get_python_inc(plat_specific=False)
20040 path = path.replace("\\", "/")
20043 python_path=`$PYTHON -c "$python_cmd"`
20044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $python_path" >&5
20045 $as_echo "$python_path" >&6; }
20046 if test -z "$python_path" ; then
20047 as_fn_error "cannot find Python include path" "$LINENO" 5
20050 PYTHON_CPPFLAGS=-I$python_path
20053 # Check for Python headers usability
20054 python_save_CPPFLAGS=$CPPFLAGS
20055 CPPFLAGS="$CPPFLAGS $PYTHON_CPPFLAGS"
20056 for ac_header in Python.h
20058 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
20059 if test "x$ac_cv_header_Python_h" = x""yes; then :
20060 cat >>confdefs.h <<_ACEOF
20061 #define HAVE_PYTHON_H 1
20065 as_fn_error "cannot find usable Python headers" "$LINENO" 5
20070 CPPFLAGS="$python_save_CPPFLAGS"
20072 # Only set this on mingw and cygwin hosts, (only implemented
20073 # for mingw host, for crosscompiling you need to trick this)
20077 *mingw* | *cygwin* )
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python LDFLAGS" >&5
20079 $as_echo_n "checking for Python LDFLAGS... " >&6; }
20082 import distutils.sysconfig
20084 path = distutils.sysconfig.get_config_var("LIBPL")
20086 path = distutils.sysconfig.PREFIX + "/libs"
20088 path = path.replace("\\", "/")
20091 python_stdlib_path=`$PYTHON -c "$python_cmd"`
20093 python_version_nodot=`echo $PYTHON_VERSION | sed "s,\.,,"`
20094 libpython_name="python$PYTHON_VERSION"
20096 # Standard install of python for win32 has libpython24.a
20097 # instead of libpython2.4.a so we check for the library
20098 # without the dot in the version number.
20100 python_stdlib_filename=`find $python_stdlib_path -type f -name libpython$python_version_nodot.* -print | sed "1q"`
20101 if test -n "$python_stdlib_filename" ; then
20102 libpython_name="python$python_version_nodot"
20105 PYTHON_LDFLAGS="-L$python_stdlib_path -l$libpython_name"
20106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
20107 $as_echo "$PYTHON_LDFLAGS" >&6; }
20108 # Replace all backslashes in PYTHON Paths with forward slashes
20109 pythondir=`echo $pythondir |sed 's,\\\\,/,g'`
20110 pkgpythondir=`echo $pkgpythondir |sed 's,\\\\,/,g'`
20111 pyexecdir=`echo $pyexecdir |sed 's,\\\\,/,g'`
20112 pkgpyexecdir=`echo $pkgpyexecdir |sed 's,\\\\,/,g'`
20126 # Extract the first word of "swig", so it can be a program name with args.
20127 set dummy swig; ac_word=$2
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20129 $as_echo_n "checking for $ac_word... " >&6; }
20130 if test "${ac_cv_prog_SWIG+set}" = set; then :
20131 $as_echo_n "(cached) " >&6
20133 if test -n "$SWIG"; then
20134 ac_cv_prog_SWIG="$SWIG" # Let the user override the test.
20136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20137 for as_dir in $PATH
20140 test -z "$as_dir" && as_dir=.
20141 for ac_exec_ext in '' $ac_executable_extensions; do
20142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20143 ac_cv_prog_SWIG="`which swig`"
20144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20153 SWIG=$ac_cv_prog_SWIG
20154 if test -n "$SWIG"; then
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
20156 $as_echo "$SWIG" >&6; }
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20159 $as_echo "no" >&6; }
20163 if test -z "$SWIG" ; then
20164 as_fn_error "Cannot find 'swig' program. SWIG version >= 1.3.31 required" "$LINENO" 5
20166 elif test -n "1.3.31" ; then
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWIG version" >&5
20168 $as_echo_n "checking for SWIG version... " >&6; }
20169 swig_version=`$SWIG -version 2>&1 | \
20170 awk '/^SWIG Version [0-9]+\.[0-9]+\.[0-9]+.*$/ { split($3,a,"[^.0-9]"); print a[1] }'`
20171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
20172 $as_echo "$swig_version" >&6; }
20173 if test -n "$swig_version" ; then
20174 swig_version=`echo $swig_version | \
20175 awk '{ split($1,a,"\."); print a[1]*1000000+a[2]*1000+a[3] }' 2>/dev/null`
20176 swig_required_version=`echo 1.3.31 | \
20177 awk '{ split($1,a,"\."); print a[1]*1000000+a[2]*1000+a[3] }' 2>/dev/null`
20178 if test $swig_required_version -gt $swig_version ; then
20179 as_fn_error "SWIG version >= 1.3.31 required" "$LINENO" 5
20182 as_fn_error "cannot determine SWIG version" "$LINENO" 5
20189 if test "$SWIG" != "false" ; then
20196 if test "$SWIG" != "false" ; then
20197 SWIG_PYTHON_LIB=-lswigpy
20199 SWIG_PYTHON_OPT=-python
20202 SWIG_PYTHON_CPPFLAGS=$PYTHON_CPPFLAGS
20207 # Extract the first word of "xmlto", so it can be a program name with args.
20208 set dummy xmlto; ac_word=$2
20209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20210 $as_echo_n "checking for $ac_word... " >&6; }
20211 if test "${ac_cv_prog_XMLTO+set}" = set; then :
20212 $as_echo_n "(cached) " >&6
20214 if test -n "$XMLTO"; then
20215 ac_cv_prog_XMLTO="$XMLTO" # Let the user override the test.
20217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20218 for as_dir in $PATH
20221 test -z "$as_dir" && as_dir=.
20222 for ac_exec_ext in '' $ac_executable_extensions; do
20223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20224 ac_cv_prog_XMLTO="yes"
20225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20234 XMLTO=$ac_cv_prog_XMLTO
20235 if test -n "$XMLTO"; then
20236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
20237 $as_echo "$XMLTO" >&6; }
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20240 $as_echo "no" >&6; }
20244 if test x$XMLTO = xyes; then
20246 HAS_XMLTO_FALSE='#'
20253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
20254 $as_echo_n "checking for socket in -lsocket... " >&6; }
20255 if test "${ac_cv_lib_socket_socket+set}" = set; then :
20256 $as_echo_n "(cached) " >&6
20258 ac_check_lib_save_LIBS=$LIBS
20259 LIBS="-lsocket $LIBS"
20260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20261 /* end confdefs.h. */
20263 /* Override any GCC internal prototype to avoid an error.
20264 Use char because int might match the return type of a GCC
20265 builtin and then its argument prototype would still apply. */
20278 if ac_fn_c_try_link "$LINENO"; then :
20279 ac_cv_lib_socket_socket=yes
20281 ac_cv_lib_socket_socket=no
20283 rm -f core conftest.err conftest.$ac_objext \
20284 conftest$ac_exeext conftest.$ac_ext
20285 LIBS=$ac_check_lib_save_LIBS
20287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
20288 $as_echo "$ac_cv_lib_socket_socket" >&6; }
20289 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
20290 cat >>confdefs.h <<_ACEOF
20291 #define HAVE_LIBSOCKET 1
20294 LIBS="-lsocket $LIBS"
20300 # Check first for POSIX
20305 ac_cpp='$CPP $CPPFLAGS'
20306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20312 # We used to check for pthread.h first, but this fails if pthread.h
20313 # requires special compiler flags (e.g. on True64 or Sequent).
20314 # It gets checked for in the link test anyway.
20316 # First of all, check if the user has set any of the PTHREAD_LIBS,
20317 # etcetera environment variables, and if threads linking works using
20319 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
20320 save_CFLAGS="$CFLAGS"
20321 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
20323 LIBS="$PTHREAD_LIBS $LIBS"
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
20325 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
20326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20327 /* end confdefs.h. */
20329 /* Override any GCC internal prototype to avoid an error.
20330 Use char because int might match the return type of a GCC
20331 builtin and then its argument prototype would still apply. */
20335 char pthread_join ();
20339 return pthread_join ();
20344 if ac_fn_c_try_link "$LINENO"; then :
20347 rm -f core conftest.err conftest.$ac_objext \
20348 conftest$ac_exeext conftest.$ac_ext
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
20350 $as_echo "$acx_pthread_ok" >&6; }
20351 if test x"$acx_pthread_ok" = xno; then
20356 CFLAGS="$save_CFLAGS"
20359 # We must check for the threads library under a number of different
20360 # names; the ordering is very important because some systems
20361 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
20362 # libraries is broken (non-POSIX).
20364 # Create a list of thread flags to try. Items starting with a "-" are
20365 # C compiler flags, and other items are library names, except for "none"
20366 # which indicates that we try without any flags at all, and "pthread-config"
20367 # which is a program returning the flags for the Pth emulation library.
20369 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
20371 # The ordering *is* (sometimes) important. Some notes on the
20372 # individual items follow:
20374 # pthreads: AIX (must check this before -lpthread)
20375 # none: in case threads are in libc; should be tried before -Kthread and
20376 # other compiler flags to prevent continual compiler warnings
20377 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
20378 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
20379 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
20380 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
20381 # -pthreads: Solaris/gcc
20382 # -mthreads: Mingw32/gcc, Lynx/gcc
20383 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
20384 # doesn't hurt to check since this sometimes defines pthreads too;
20385 # also defines -D_REENTRANT)
20386 # ... -mt is also the pthreads flag for HP/aCC
20387 # pthread: Linux, etcetera
20388 # --thread-safe: KAI C++
20389 # pthread-config: use pthread-config program (for GNU Pth library)
20391 case "${host_cpu}-${host_os}" in
20394 # On Solaris (at least, for some versions), libc contains stubbed
20395 # (non-functional) versions of the pthreads routines, so link-based
20396 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
20397 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
20398 # a function called by this macro, so we could check for that, but
20399 # who knows whether they'll stub that too in a future libc.) So,
20400 # we'll just look for -pthreads and -lpthread first:
20402 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
20406 if test x"$acx_pthread_ok" = xno; then
20407 for flag in $acx_pthread_flags; do
20411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
20412 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
20417 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
20418 PTHREAD_CFLAGS="$flag"
20422 # Extract the first word of "pthread-config", so it can be a program name with args.
20423 set dummy pthread-config; ac_word=$2
20424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20425 $as_echo_n "checking for $ac_word... " >&6; }
20426 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
20427 $as_echo_n "(cached) " >&6
20429 if test -n "$acx_pthread_config"; then
20430 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
20432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20433 for as_dir in $PATH
20436 test -z "$as_dir" && as_dir=.
20437 for ac_exec_ext in '' $ac_executable_extensions; do
20438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20439 ac_cv_prog_acx_pthread_config="yes"
20440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20447 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
20450 acx_pthread_config=$ac_cv_prog_acx_pthread_config
20451 if test -n "$acx_pthread_config"; then
20452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
20453 $as_echo "$acx_pthread_config" >&6; }
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20456 $as_echo "no" >&6; }
20460 if test x"$acx_pthread_config" = xno; then continue; fi
20461 PTHREAD_CFLAGS="`pthread-config --cflags`"
20462 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
20466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
20467 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
20468 PTHREAD_LIBS="-l$flag"
20473 save_CFLAGS="$CFLAGS"
20474 LIBS="$PTHREAD_LIBS $LIBS"
20475 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
20477 # Check for various functions. We must include pthread.h,
20478 # since some functions may be macros. (On the Sequent, we
20479 # need a special flag -Kthread to make this header compile.)
20480 # We check for pthread_join because it is in -lpthread on IRIX
20481 # while pthread_create is in libc. We check for pthread_attr_init
20482 # due to DEC craziness with -lpthreads. We check for
20483 # pthread_cleanup_push because it is one of the few pthread
20484 # functions on Solaris that doesn't have a non-functional libc stub.
20485 # We try pthread_create on general principles.
20486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20487 /* end confdefs.h. */
20488 #include <pthread.h>
20492 pthread_t th; pthread_join(th, 0);
20493 pthread_attr_init(0); pthread_cleanup_push(0, 0);
20494 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
20499 if ac_fn_c_try_link "$LINENO"; then :
20502 rm -f core conftest.err conftest.$ac_objext \
20503 conftest$ac_exeext conftest.$ac_ext
20506 CFLAGS="$save_CFLAGS"
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
20509 $as_echo "$acx_pthread_ok" >&6; }
20510 if test "x$acx_pthread_ok" = xyes; then
20519 # Various other checks:
20520 if test "x$acx_pthread_ok" = xyes; then
20522 LIBS="$PTHREAD_LIBS $LIBS"
20523 save_CFLAGS="$CFLAGS"
20524 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
20526 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
20528 $as_echo_n "checking for joinable pthread attribute... " >&6; }
20530 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
20531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20532 /* end confdefs.h. */
20533 #include <pthread.h>
20537 int attr=$attr; return attr;
20542 if ac_fn_c_try_link "$LINENO"; then :
20543 attr_name=$attr; break
20545 rm -f core conftest.err conftest.$ac_objext \
20546 conftest$ac_exeext conftest.$ac_ext
20548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
20549 $as_echo "$attr_name" >&6; }
20550 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
20552 cat >>confdefs.h <<_ACEOF
20553 #define PTHREAD_CREATE_JOINABLE $attr_name
20558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
20559 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
20561 case "${host_cpu}-${host_os}" in
20562 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
20563 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
20565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
20566 $as_echo "${flag}" >&6; }
20567 if test "x$flag" != xno; then
20568 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
20572 CFLAGS="$save_CFLAGS"
20574 # More AIX lossage: must compile with xlc_r or cc_r
20575 if test x"$GCC" != xyes; then
20576 for ac_prog in xlc_r cc_r
20578 # Extract the first word of "$ac_prog", so it can be a program name with args.
20579 set dummy $ac_prog; ac_word=$2
20580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20581 $as_echo_n "checking for $ac_word... " >&6; }
20582 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
20583 $as_echo_n "(cached) " >&6
20585 if test -n "$PTHREAD_CC"; then
20586 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
20588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20589 for as_dir in $PATH
20592 test -z "$as_dir" && as_dir=.
20593 for ac_exec_ext in '' $ac_executable_extensions; do
20594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20595 ac_cv_prog_PTHREAD_CC="$ac_prog"
20596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20605 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
20606 if test -n "$PTHREAD_CC"; then
20607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
20608 $as_echo "$PTHREAD_CC" >&6; }
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20611 $as_echo "no" >&6; }
20615 test -n "$PTHREAD_CC" && break
20617 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
20630 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
20631 if test x"$acx_pthread_ok" = xyes; then
20633 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
20636 DEFINES="$DEFINES -DOMNITHREAD_POSIX=1"
20642 # If no POSIX support found, then check for NT threads
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NT threads" >&5
20644 $as_echo_n "checking for NT threads... " >&6; }
20646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20647 /* end confdefs.h. */
20649 #include <windows.h>
20650 #include <winbase.h>
20651 int main() { InitializeCriticalSection(NULL); return 0; }
20654 if ac_fn_c_try_link "$LINENO"; then :
20657 DEFINES="$DEFINES -DOMNITHREAD_NT=1"
20660 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20662 as_fn_error "GNU Radio requires POSIX threads. pthreads not found.
20663 See \`config.log' for more details." "$LINENO" 5; }
20666 rm -f core conftest.err conftest.$ac_objext \
20667 conftest$ac_exeext conftest.$ac_ext
20668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20669 $as_echo "yes" >&6; }
20673 ac_cpp='$CPP $CPPFLAGS'
20674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20679 if test "x$ot_posix" = xyes; then
20680 OMNITHREAD_POSIX_TRUE=
20681 OMNITHREAD_POSIX_FALSE='#'
20683 OMNITHREAD_POSIX_TRUE='#'
20684 OMNITHREAD_POSIX_FALSE=
20687 if test "x$ot_nt" = xyes; then
20688 OMNITHREAD_NT_TRUE=
20689 OMNITHREAD_NT_FALSE='#'
20691 OMNITHREAD_NT_TRUE='#'
20692 OMNITHREAD_NT_FALSE=
20697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20698 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20699 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20700 $as_echo_n "(cached) " >&6
20702 ac_func_search_save_LIBS=$LIBS
20703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20704 /* end confdefs.h. */
20706 /* Override any GCC internal prototype to avoid an error.
20707 Use char because int might match the return type of a GCC
20708 builtin and then its argument prototype would still apply. */
20712 char clock_gettime ();
20716 return clock_gettime ();
20721 for ac_lib in '' rt; do
20722 if test -z "$ac_lib"; then
20723 ac_res="none required"
20726 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20728 if ac_fn_c_try_link "$LINENO"; then :
20729 ac_cv_search_clock_gettime=$ac_res
20731 rm -f core conftest.err conftest.$ac_objext \
20733 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20737 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20740 ac_cv_search_clock_gettime=no
20742 rm conftest.$ac_ext
20743 LIBS=$ac_func_search_save_LIBS
20745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20746 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20747 ac_res=$ac_cv_search_clock_gettime
20748 if test "$ac_res" != no; then :
20749 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20750 PTHREAD_LIBS="$PTHREAD_LIBS $LIBS"
20753 for ac_func in clock_gettime gettimeofday nanosleep
20755 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20756 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20757 eval as_val=\$$as_ac_var
20758 if test "x$as_val" = x""yes; then :
20759 cat >>confdefs.h <<_ACEOF
20760 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20769 if test x$CXX_FOR_BUILD = x
20771 if test x$cross_compiling = xno; then
20772 CXX_FOR_BUILD=${CXX}
20782 ac_cpp='$CPP $CPPFLAGS'
20783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20788 for ac_header in sys/ipc.h sys/shm.h
20790 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20791 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20792 eval as_val=\$$as_ac_Header
20793 if test "x$as_val" = x""yes; then :
20794 cat >>confdefs.h <<_ACEOF
20795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shmat" >&5
20805 $as_echo_n "checking for library containing shmat... " >&6; }
20806 if test "${ac_cv_search_shmat+set}" = set; then :
20807 $as_echo_n "(cached) " >&6
20809 ac_func_search_save_LIBS=$LIBS
20810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20811 /* end confdefs.h. */
20813 /* Override any GCC internal prototype to avoid an error.
20814 Use char because int might match the return type of a GCC
20815 builtin and then its argument prototype would still apply. */
20828 for ac_lib in '' cygipc ipc; do
20829 if test -z "$ac_lib"; then
20830 ac_res="none required"
20833 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20835 if ac_fn_c_try_link "$LINENO"; then :
20836 ac_cv_search_shmat=$ac_res
20838 rm -f core conftest.err conftest.$ac_objext \
20840 if test "${ac_cv_search_shmat+set}" = set; then :
20844 if test "${ac_cv_search_shmat+set}" = set; then :
20847 ac_cv_search_shmat=no
20849 rm conftest.$ac_ext
20850 LIBS=$ac_func_search_save_LIBS
20852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shmat" >&5
20853 $as_echo "$ac_cv_search_shmat" >&6; }
20854 ac_res=$ac_cv_search_shmat
20855 if test "$ac_res" != no; then :
20856 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SystemV IPC support not found. " >&5
20860 $as_echo "$as_me: WARNING: SystemV IPC support not found. " >&2;}
20867 ac_cpp='$CPP $CPPFLAGS'
20868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
20876 $as_echo_n "checking for ANSI C header files... " >&6; }
20877 if test "${ac_cv_header_stdc+set}" = set; then :
20878 $as_echo_n "(cached) " >&6
20880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h. */
20882 #include <stdlib.h>
20883 #include <stdarg.h>
20884 #include <string.h>
20895 if ac_fn_c_try_compile "$LINENO"; then :
20896 ac_cv_header_stdc=yes
20898 ac_cv_header_stdc=no
20900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20902 if test $ac_cv_header_stdc = yes; then
20903 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20905 /* end confdefs.h. */
20906 #include <string.h>
20909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20910 $EGREP "memchr" >/dev/null 2>&1; then :
20913 ac_cv_header_stdc=no
20919 if test $ac_cv_header_stdc = yes; then
20920 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20922 /* end confdefs.h. */
20923 #include <stdlib.h>
20926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20927 $EGREP "free" >/dev/null 2>&1; then :
20930 ac_cv_header_stdc=no
20936 if test $ac_cv_header_stdc = yes; then
20937 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20938 if test "$cross_compiling" = yes; then :
20941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20942 /* end confdefs.h. */
20944 #include <stdlib.h>
20945 #if ((' ' & 0x0FF) == 0x020)
20946 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20947 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20949 # define ISLOWER(c) \
20950 (('a' <= (c) && (c) <= 'i') \
20951 || ('j' <= (c) && (c) <= 'r') \
20952 || ('s' <= (c) && (c) <= 'z'))
20953 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20956 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20961 for (i = 0; i < 256; i++)
20962 if (XOR (islower (i), ISLOWER (i))
20963 || toupper (i) != TOUPPER (i))
20968 if ac_fn_c_try_run "$LINENO"; then :
20971 ac_cv_header_stdc=no
20973 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20974 conftest.$ac_objext conftest.beam conftest.$ac_ext
20979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20980 $as_echo "$ac_cv_header_stdc" >&6; }
20981 if test $ac_cv_header_stdc = yes; then
20983 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
20988 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
20989 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
20990 $as_echo_n "(cached) " >&6
20992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20993 /* end confdefs.h. */
20994 #include <sys/types.h>
20995 #include <sys/wait.h>
20996 #ifndef WEXITSTATUS
20997 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
21000 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
21008 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
21013 if ac_fn_c_try_compile "$LINENO"; then :
21014 ac_cv_header_sys_wait_h=yes
21016 ac_cv_header_sys_wait_h=no
21018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
21021 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
21022 if test $ac_cv_header_sys_wait_h = yes; then
21024 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
21028 for ac_header in fcntl.h limits.h strings.h time.h sys/ioctl.h sys/time.h unistd.h
21030 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21031 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21032 eval as_val=\$$as_ac_Header
21033 if test "x$as_val" = x""yes; then :
21034 cat >>confdefs.h <<_ACEOF
21035 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21042 for ac_header in linux/ppdev.h dev/ppbus/ppi.h sys/mman.h sys/select.h sys/types.h
21044 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21045 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21046 eval as_val=\$$as_ac_Header
21047 if test "x$as_val" = x""yes; then :
21048 cat >>confdefs.h <<_ACEOF
21049 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21056 for ac_header in sys/resource.h stdint.h sched.h signal.h sys/syscall.h malloc.h
21058 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21059 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21060 eval as_val=\$$as_ac_Header
21061 if test "x$as_val" = x""yes; then :
21062 cat >>confdefs.h <<_ACEOF
21063 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21070 for ac_header in netinet/in.h
21072 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
21073 if test "x$ac_cv_header_netinet_in_h" = x""yes; then :
21074 cat >>confdefs.h <<_ACEOF
21075 #define HAVE_NETINET_IN_H 1
21082 for ac_header in windows.h
21084 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
21085 if test "x$ac_cv_header_windows_h" = x""yes; then :
21086 cat >>confdefs.h <<_ACEOF
21087 #define HAVE_WINDOWS_H 1
21094 for ac_header in vec_types.h
21096 ac_fn_c_check_header_mongrel "$LINENO" "vec_types.h" "ac_cv_header_vec_types_h" "$ac_includes_default"
21097 if test "x$ac_cv_header_vec_types_h" = x""yes; then :
21098 cat >>confdefs.h <<_ACEOF
21099 #define HAVE_VEC_TYPES_H 1
21107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
21108 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
21109 if test "${ac_cv_c_const+set}" = set; then :
21110 $as_echo_n "(cached) " >&6
21112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21113 /* end confdefs.h. */
21118 /* FIXME: Include the comments suggested by Paul. */
21119 #ifndef __cplusplus
21120 /* Ultrix mips cc rejects this. */
21121 typedef int charset[2];
21123 /* SunOS 4.1.1 cc rejects this. */
21124 char const *const *pcpcc;
21126 /* NEC SVR4.0.2 mips cc rejects this. */
21127 struct point {int x, y;};
21128 static struct point const zero = {0,0};
21129 /* AIX XL C 1.02.0.0 rejects this.
21130 It does not let you subtract one const X* pointer from another in
21131 an arm of an if-expression whose if-part is not a constant
21133 const char *g = "string";
21134 pcpcc = &g + (g ? g-g : 0);
21135 /* HPUX 7.0 cc rejects these. */
21137 ppc = (char**) pcpcc;
21138 pcpcc = (char const *const *) ppc;
21139 { /* SCO 3.2v4 cc rejects this. */
21141 char const *s = 0 ? (char *) 0 : (char const *) 0;
21146 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21147 int x[] = {25, 17};
21148 const int *foo = &x[0];
21151 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21152 typedef const int *iptr;
21156 { /* AIX XL C 1.02.0.0 rejects this saying
21157 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21158 struct s { int j; const int *ap[3]; };
21159 struct s *b; b->j = 5;
21161 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21162 const int foo = 10;
21163 if (!foo) return 0;
21165 return !cs[0] && !zero.x;
21172 if ac_fn_c_try_compile "$LINENO"; then :
21177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
21180 $as_echo "$ac_cv_c_const" >&6; }
21181 if test $ac_cv_c_const = no; then
21183 $as_echo "#define const /**/" >>confdefs.h
21187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
21188 $as_echo_n "checking for inline... " >&6; }
21189 if test "${ac_cv_c_inline+set}" = set; then :
21190 $as_echo_n "(cached) " >&6
21193 for ac_kw in inline __inline__ __inline; do
21194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21195 /* end confdefs.h. */
21196 #ifndef __cplusplus
21198 static $ac_kw foo_t static_foo () {return 0; }
21199 $ac_kw foo_t foo () {return 0; }
21203 if ac_fn_c_try_compile "$LINENO"; then :
21204 ac_cv_c_inline=$ac_kw
21206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21207 test "$ac_cv_c_inline" != no && break
21211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
21212 $as_echo "$ac_cv_c_inline" >&6; }
21214 case $ac_cv_c_inline in
21217 case $ac_cv_c_inline in
21219 *) ac_val=$ac_cv_c_inline;;
21221 cat >>confdefs.h <<_ACEOF
21222 #ifndef __cplusplus
21223 #define inline $ac_val
21229 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
21230 if test "x$ac_cv_type_size_t" = x""yes; then :
21234 cat >>confdefs.h <<_ACEOF
21235 #define size_t unsigned int
21240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
21241 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
21242 if test "${ac_cv_header_time+set}" = set; then :
21243 $as_echo_n "(cached) " >&6
21245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21246 /* end confdefs.h. */
21247 #include <sys/types.h>
21248 #include <sys/time.h>
21254 if ((struct tm *) 0)
21260 if ac_fn_c_try_compile "$LINENO"; then :
21261 ac_cv_header_time=yes
21263 ac_cv_header_time=no
21265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
21268 $as_echo "$ac_cv_header_time" >&6; }
21269 if test $ac_cv_header_time = yes; then
21271 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
21275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21276 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21277 if test "${ac_cv_c_bigendian+set}" = set; then :
21278 $as_echo_n "(cached) " >&6
21280 ac_cv_c_bigendian=unknown
21281 # See if we're dealing with a universal compiler.
21282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21283 /* end confdefs.h. */
21284 #ifndef __APPLE_CC__
21285 not a universal capable compiler
21290 if ac_fn_c_try_compile "$LINENO"; then :
21292 # Check for potential -arch flags. It is not universal unless
21293 # there are at least two -arch flags with different values.
21296 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
21297 if test -n "$ac_prev"; then
21299 i?86 | x86_64 | ppc | ppc64)
21300 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
21303 ac_cv_c_bigendian=universal
21309 elif test "x$ac_word" = "x-arch"; then
21314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21315 if test $ac_cv_c_bigendian = unknown; then
21316 # See if sys/param.h defines the BYTE_ORDER macro.
21317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21318 /* end confdefs.h. */
21319 #include <sys/types.h>
21320 #include <sys/param.h>
21325 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
21326 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
21328 bogus endian macros
21335 if ac_fn_c_try_compile "$LINENO"; then :
21336 # It does; now see whether it defined to BIG_ENDIAN or not.
21337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21338 /* end confdefs.h. */
21339 #include <sys/types.h>
21340 #include <sys/param.h>
21345 #if BYTE_ORDER != BIG_ENDIAN
21353 if ac_fn_c_try_compile "$LINENO"; then :
21354 ac_cv_c_bigendian=yes
21356 ac_cv_c_bigendian=no
21358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21362 if test $ac_cv_c_bigendian = unknown; then
21363 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
21364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21365 /* end confdefs.h. */
21366 #include <limits.h>
21371 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
21372 bogus endian macros
21379 if ac_fn_c_try_compile "$LINENO"; then :
21380 # It does; now see whether it defined to _BIG_ENDIAN or not.
21381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21382 /* end confdefs.h. */
21383 #include <limits.h>
21388 #ifndef _BIG_ENDIAN
21396 if ac_fn_c_try_compile "$LINENO"; then :
21397 ac_cv_c_bigendian=yes
21399 ac_cv_c_bigendian=no
21401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21405 if test $ac_cv_c_bigendian = unknown; then
21406 # Compile a test program.
21407 if test "$cross_compiling" = yes; then :
21408 # Try to guess by grepping values from an object file.
21409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21410 /* end confdefs.h. */
21411 short int ascii_mm[] =
21412 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
21413 short int ascii_ii[] =
21414 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
21415 int use_ascii (int i) {
21416 return ascii_mm[i] + ascii_ii[i];
21418 short int ebcdic_ii[] =
21419 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
21420 short int ebcdic_mm[] =
21421 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
21422 int use_ebcdic (int i) {
21423 return ebcdic_mm[i] + ebcdic_ii[i];
21430 return use_ascii (foo) == use_ebcdic (foo);
21435 if ac_fn_c_try_compile "$LINENO"; then :
21436 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
21437 ac_cv_c_bigendian=yes
21439 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
21440 if test "$ac_cv_c_bigendian" = unknown; then
21441 ac_cv_c_bigendian=no
21443 # finding both strings is unlikely to happen, but who knows?
21444 ac_cv_c_bigendian=unknown
21448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21451 /* end confdefs.h. */
21452 $ac_includes_default
21457 /* Are we little or big endian? From Harbison&Steele. */
21461 char c[sizeof (long int)];
21464 return u.c[sizeof (long int) - 1] == 1;
21470 if ac_fn_c_try_run "$LINENO"; then :
21471 ac_cv_c_bigendian=no
21473 ac_cv_c_bigendian=yes
21475 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21476 conftest.$ac_objext conftest.beam conftest.$ac_ext
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21482 $as_echo "$ac_cv_c_bigendian" >&6; }
21483 case $ac_cv_c_bigendian in #(
21485 GR_ARCH_BIGENDIAN=1;; #(
21487 GR_ARCH_BIGENDIAN=0 ;; #(
21490 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
21494 as_fn_error "unknown endianness
21495 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
21499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
21500 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
21501 if test "${ac_cv_struct_tm+set}" = set; then :
21502 $as_echo_n "(cached) " >&6
21504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21505 /* end confdefs.h. */
21506 #include <sys/types.h>
21513 int *p = &tm.tm_sec;
21519 if ac_fn_c_try_compile "$LINENO"; then :
21520 ac_cv_struct_tm=time.h
21522 ac_cv_struct_tm=sys/time.h
21524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
21527 $as_echo "$ac_cv_struct_tm" >&6; }
21528 if test $ac_cv_struct_tm = sys/time.h; then
21530 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
21535 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21536 # for constant arguments. Useless!
21537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
21538 $as_echo_n "checking for working alloca.h... " >&6; }
21539 if test "${ac_cv_working_alloca_h+set}" = set; then :
21540 $as_echo_n "(cached) " >&6
21542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21543 /* end confdefs.h. */
21544 #include <alloca.h>
21548 char *p = (char *) alloca (2 * sizeof (int));
21554 if ac_fn_c_try_link "$LINENO"; then :
21555 ac_cv_working_alloca_h=yes
21557 ac_cv_working_alloca_h=no
21559 rm -f core conftest.err conftest.$ac_objext \
21560 conftest$ac_exeext conftest.$ac_ext
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
21563 $as_echo "$ac_cv_working_alloca_h" >&6; }
21564 if test $ac_cv_working_alloca_h = yes; then
21566 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
21571 $as_echo_n "checking for alloca... " >&6; }
21572 if test "${ac_cv_func_alloca_works+set}" = set; then :
21573 $as_echo_n "(cached) " >&6
21575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21576 /* end confdefs.h. */
21578 # define alloca __builtin_alloca
21581 # include <malloc.h>
21582 # define alloca _alloca
21584 # ifdef HAVE_ALLOCA_H
21585 # include <alloca.h>
21590 # ifndef alloca /* predefined by HP cc +Olibcalls */
21601 char *p = (char *) alloca (1);
21607 if ac_fn_c_try_link "$LINENO"; then :
21608 ac_cv_func_alloca_works=yes
21610 ac_cv_func_alloca_works=no
21612 rm -f core conftest.err conftest.$ac_objext \
21613 conftest$ac_exeext conftest.$ac_ext
21615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
21616 $as_echo "$ac_cv_func_alloca_works" >&6; }
21618 if test $ac_cv_func_alloca_works = yes; then
21620 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
21623 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21624 # that cause trouble. Some versions do not even contain alloca or
21625 # contain a buggy version. If you still want to use their alloca,
21626 # use ar to extract alloca.o from them instead of compiling alloca.c.
21628 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
21630 $as_echo "#define C_ALLOCA 1" >>confdefs.h
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
21634 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
21635 if test "${ac_cv_os_cray+set}" = set; then :
21636 $as_echo_n "(cached) " >&6
21638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21639 /* end confdefs.h. */
21640 #if defined CRAY && ! defined CRAY2
21647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21648 $EGREP "webecray" >/dev/null 2>&1; then :
21656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
21657 $as_echo "$ac_cv_os_cray" >&6; }
21658 if test $ac_cv_os_cray = yes; then
21659 for ac_func in _getb67 GETB67 getb67; do
21660 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21661 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21662 eval as_val=\$$as_ac_var
21663 if test "x$as_val" = x""yes; then :
21665 cat >>confdefs.h <<_ACEOF
21666 #define CRAY_STACKSEG_END $ac_func
21675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
21676 $as_echo_n "checking stack direction for C alloca... " >&6; }
21677 if test "${ac_cv_c_stack_direction+set}" = set; then :
21678 $as_echo_n "(cached) " >&6
21680 if test "$cross_compiling" = yes; then :
21681 ac_cv_c_stack_direction=0
21683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21684 /* end confdefs.h. */
21685 $ac_includes_default
21687 find_stack_direction ()
21689 static char *addr = 0;
21694 return find_stack_direction ();
21697 return (&dummy > addr) ? 1 : -1;
21703 return find_stack_direction () < 0;
21706 if ac_fn_c_try_run "$LINENO"; then :
21707 ac_cv_c_stack_direction=1
21709 ac_cv_c_stack_direction=-1
21711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21712 conftest.$ac_objext conftest.beam conftest.$ac_ext
21716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
21717 $as_echo "$ac_cv_c_stack_direction" >&6; }
21718 cat >>confdefs.h <<_ACEOF
21719 #define STACK_DIRECTION $ac_cv_c_stack_direction
21728 # Check for allocing memory alignment functions
21729 # If 'posix_memalign' is available, use it solely.
21730 for ac_func in posix_memalign
21732 ac_fn_c_check_func "$LINENO" "posix_memalign" "ac_cv_func_posix_memalign"
21733 if test "x$ac_cv_func_posix_memalign" = x""yes; then :
21734 cat >>confdefs.h <<_ACEOF
21735 #define HAVE_POSIX_MEMALIGN 1
21740 # Otherwise, check for valloc and the
21741 # (a-priori known) alignment of 'malloc'
21742 for ac_func in valloc
21744 ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc"
21745 if test "x$ac_cv_func_valloc" = x""yes; then :
21746 cat >>confdefs.h <<_ACEOF
21747 #define HAVE_VALLOC 1
21754 # 'malloc' is 16-byte aligned on (at least) Darwin 8 and 9
21756 darwin8*) aligned_malloc=16 ;;
21757 darwin9*) aligned_malloc=16 ;;
21760 if test $aligned_malloc = 0; then
21761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: malloc has unknown alignment." >&5
21762 $as_echo "malloc has unknown alignment." >&6; }
21764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: malloc is $aligned_malloc-byte aligned." >&5
21765 $as_echo "malloc is $aligned_malloc-byte aligned." >&6; }
21768 cat >>confdefs.h <<_ACEOF
21769 #define ALIGNED_MALLOC $aligned_malloc
21777 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
21778 $as_echo_n "(cached) " >&6
21780 ac_cv_func_setvbuf_reversed=no
21784 for ac_func in vprintf
21786 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
21787 if test "x$ac_cv_func_vprintf" = x""yes; then :
21788 cat >>confdefs.h <<_ACEOF
21789 #define HAVE_VPRINTF 1
21792 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
21793 if test "x$ac_cv_func__doprnt" = x""yes; then :
21795 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
21803 for ac_func in mmap select socket strcspn strerror strspn getpagesize sysconf
21805 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21806 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21807 eval as_val=\$$as_ac_var
21808 if test "x$as_val" = x""yes; then :
21809 cat >>confdefs.h <<_ACEOF
21810 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21816 for ac_func in snprintf gettimeofday nanosleep sched_setscheduler
21818 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21820 eval as_val=\$$as_ac_var
21821 if test "x$as_val" = x""yes; then :
21822 cat >>confdefs.h <<_ACEOF
21823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21829 for ac_func in modf sqrt sigaction sigprocmask pthread_sigmask
21831 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21832 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21833 eval as_val=\$$as_ac_var
21834 if test "x$as_val" = x""yes; then :
21835 cat >>confdefs.h <<_ACEOF
21836 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21842 for ac_func in sched_setaffinity
21844 ac_fn_c_check_func "$LINENO" "sched_setaffinity" "ac_cv_func_sched_setaffinity"
21845 if test "x$ac_cv_func_sched_setaffinity" = x""yes; then :
21846 cat >>confdefs.h <<_ACEOF
21847 #define HAVE_SCHED_SETAFFINITY 1
21854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos in -lm" >&5
21855 $as_echo_n "checking for sincos in -lm... " >&6; }
21856 if test "${ac_cv_lib_m_sincos+set}" = set; then :
21857 $as_echo_n "(cached) " >&6
21859 ac_check_lib_save_LIBS=$LIBS
21861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21862 /* end confdefs.h. */
21864 /* Override any GCC internal prototype to avoid an error.
21865 Use char because int might match the return type of a GCC
21866 builtin and then its argument prototype would still apply. */
21879 if ac_fn_c_try_link "$LINENO"; then :
21880 ac_cv_lib_m_sincos=yes
21882 ac_cv_lib_m_sincos=no
21884 rm -f core conftest.err conftest.$ac_objext \
21885 conftest$ac_exeext conftest.$ac_ext
21886 LIBS=$ac_check_lib_save_LIBS
21888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sincos" >&5
21889 $as_echo "$ac_cv_lib_m_sincos" >&6; }
21890 if test "x$ac_cv_lib_m_sincos" = x""yes; then :
21892 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
21896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf in -lm" >&5
21897 $as_echo_n "checking for sincosf in -lm... " >&6; }
21898 if test "${ac_cv_lib_m_sincosf+set}" = set; then :
21899 $as_echo_n "(cached) " >&6
21901 ac_check_lib_save_LIBS=$LIBS
21903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21904 /* end confdefs.h. */
21906 /* Override any GCC internal prototype to avoid an error.
21907 Use char because int might match the return type of a GCC
21908 builtin and then its argument prototype would still apply. */
21921 if ac_fn_c_try_link "$LINENO"; then :
21922 ac_cv_lib_m_sincosf=yes
21924 ac_cv_lib_m_sincosf=no
21926 rm -f core conftest.err conftest.$ac_objext \
21927 conftest$ac_exeext conftest.$ac_ext
21928 LIBS=$ac_check_lib_save_LIBS
21930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sincosf" >&5
21931 $as_echo "$ac_cv_lib_m_sincosf" >&6; }
21932 if test "x$ac_cv_lib_m_sincosf" = x""yes; then :
21934 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
21938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
21939 $as_echo_n "checking for sinf in -lm... " >&6; }
21940 if test "${ac_cv_lib_m_sinf+set}" = set; then :
21941 $as_echo_n "(cached) " >&6
21943 ac_check_lib_save_LIBS=$LIBS
21945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21946 /* end confdefs.h. */
21948 /* Override any GCC internal prototype to avoid an error.
21949 Use char because int might match the return type of a GCC
21950 builtin and then its argument prototype would still apply. */
21963 if ac_fn_c_try_link "$LINENO"; then :
21964 ac_cv_lib_m_sinf=yes
21966 ac_cv_lib_m_sinf=no
21968 rm -f core conftest.err conftest.$ac_objext \
21969 conftest$ac_exeext conftest.$ac_ext
21970 LIBS=$ac_check_lib_save_LIBS
21972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
21973 $as_echo "$ac_cv_lib_m_sinf" >&6; }
21974 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
21976 $as_echo "#define HAVE_SINF 1" >>confdefs.h
21980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
21981 $as_echo_n "checking for cosf in -lm... " >&6; }
21982 if test "${ac_cv_lib_m_cosf+set}" = set; then :
21983 $as_echo_n "(cached) " >&6
21985 ac_check_lib_save_LIBS=$LIBS
21987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21988 /* end confdefs.h. */
21990 /* Override any GCC internal prototype to avoid an error.
21991 Use char because int might match the return type of a GCC
21992 builtin and then its argument prototype would still apply. */
22005 if ac_fn_c_try_link "$LINENO"; then :
22006 ac_cv_lib_m_cosf=yes
22008 ac_cv_lib_m_cosf=no
22010 rm -f core conftest.err conftest.$ac_objext \
22011 conftest$ac_exeext conftest.$ac_ext
22012 LIBS=$ac_check_lib_save_LIBS
22014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
22015 $as_echo "$ac_cv_lib_m_cosf" >&6; }
22016 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
22018 $as_echo "#define HAVE_COSF 1" >>confdefs.h
22022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
22023 $as_echo_n "checking for trunc in -lm... " >&6; }
22024 if test "${ac_cv_lib_m_trunc+set}" = set; then :
22025 $as_echo_n "(cached) " >&6
22027 ac_check_lib_save_LIBS=$LIBS
22029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22030 /* end confdefs.h. */
22032 /* Override any GCC internal prototype to avoid an error.
22033 Use char because int might match the return type of a GCC
22034 builtin and then its argument prototype would still apply. */
22047 if ac_fn_c_try_link "$LINENO"; then :
22048 ac_cv_lib_m_trunc=yes
22050 ac_cv_lib_m_trunc=no
22052 rm -f core conftest.err conftest.$ac_objext \
22053 conftest$ac_exeext conftest.$ac_ext
22054 LIBS=$ac_check_lib_save_LIBS
22056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
22057 $as_echo "$ac_cv_lib_m_trunc" >&6; }
22058 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
22060 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
22064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp10 in -lm" >&5
22065 $as_echo_n "checking for exp10 in -lm... " >&6; }
22066 if test "${ac_cv_lib_m_exp10+set}" = set; then :
22067 $as_echo_n "(cached) " >&6
22069 ac_check_lib_save_LIBS=$LIBS
22071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22072 /* end confdefs.h. */
22074 /* Override any GCC internal prototype to avoid an error.
22075 Use char because int might match the return type of a GCC
22076 builtin and then its argument prototype would still apply. */
22089 if ac_fn_c_try_link "$LINENO"; then :
22090 ac_cv_lib_m_exp10=yes
22092 ac_cv_lib_m_exp10=no
22094 rm -f core conftest.err conftest.$ac_objext \
22095 conftest$ac_exeext conftest.$ac_ext
22096 LIBS=$ac_check_lib_save_LIBS
22098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp10" >&5
22099 $as_echo "$ac_cv_lib_m_exp10" >&6; }
22100 if test "x$ac_cv_lib_m_exp10" = x""yes; then :
22102 $as_echo "#define HAVE_EXP10 1" >>confdefs.h
22106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log2 in -lm" >&5
22107 $as_echo_n "checking for log2 in -lm... " >&6; }
22108 if test "${ac_cv_lib_m_log2+set}" = set; then :
22109 $as_echo_n "(cached) " >&6
22111 ac_check_lib_save_LIBS=$LIBS
22113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22114 /* end confdefs.h. */
22116 /* Override any GCC internal prototype to avoid an error.
22117 Use char because int might match the return type of a GCC
22118 builtin and then its argument prototype would still apply. */
22131 if ac_fn_c_try_link "$LINENO"; then :
22132 ac_cv_lib_m_log2=yes
22134 ac_cv_lib_m_log2=no
22136 rm -f core conftest.err conftest.$ac_objext \
22137 conftest$ac_exeext conftest.$ac_ext
22138 LIBS=$ac_check_lib_save_LIBS
22140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log2" >&5
22141 $as_echo "$ac_cv_lib_m_log2" >&6; }
22142 if test "x$ac_cv_lib_m_log2" = x""yes; then :
22144 $as_echo "#define HAVE_LOG2 1" >>confdefs.h
22155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shm_open" >&5
22156 $as_echo_n "checking for library containing shm_open... " >&6; }
22157 if test "${ac_cv_search_shm_open+set}" = set; then :
22158 $as_echo_n "(cached) " >&6
22160 ac_func_search_save_LIBS=$LIBS
22161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22162 /* end confdefs.h. */
22164 /* Override any GCC internal prototype to avoid an error.
22165 Use char because int might match the return type of a GCC
22166 builtin and then its argument prototype would still apply. */
22174 return shm_open ();
22179 for ac_lib in '' rt; do
22180 if test -z "$ac_lib"; then
22181 ac_res="none required"
22184 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22186 if ac_fn_c_try_link "$LINENO"; then :
22187 ac_cv_search_shm_open=$ac_res
22189 rm -f core conftest.err conftest.$ac_objext \
22191 if test "${ac_cv_search_shm_open+set}" = set; then :
22195 if test "${ac_cv_search_shm_open+set}" = set; then :
22198 ac_cv_search_shm_open=no
22200 rm conftest.$ac_ext
22201 LIBS=$ac_func_search_save_LIBS
22203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shm_open" >&5
22204 $as_echo "$ac_cv_search_shm_open" >&6; }
22205 ac_res=$ac_cv_search_shm_open
22206 if test "$ac_res" != no; then :
22207 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22208 SHM_OPEN_LIBS="$LIBS"
22211 for ac_func in shm_open
22213 ac_fn_c_check_func "$LINENO" "shm_open" "ac_cv_func_shm_open"
22214 if test "x$ac_cv_func_shm_open" = x""yes; then :
22215 cat >>confdefs.h <<_ACEOF
22216 #define HAVE_SHM_OPEN 1
22227 # Check whether --with-gnu-ld was given.
22228 if test "${with_gnu_ld+set}" = set; then :
22229 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22235 if test "$GCC" = yes; then
22236 # Check if gcc -print-prog-name=ld gives a path.
22237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22238 $as_echo_n "checking for ld used by $CC... " >&6; }
22241 # gcc leaves a trailing carriage return which upsets mingw
22242 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22244 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22247 # Accept absolute paths.
22249 re_direlt='/[^/][^/]*/\.\./'
22250 # Canonicalize the pathname of ld
22251 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22252 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22253 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22255 test -z "$LD" && LD="$ac_prog"
22258 # If it fails, then pretend we aren't using GCC.
22262 # If it is relative, then search for the first ld in PATH.
22263 with_gnu_ld=unknown
22266 elif test "$with_gnu_ld" = yes; then
22267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22268 $as_echo_n "checking for GNU ld... " >&6; }
22270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22271 $as_echo_n "checking for non-GNU ld... " >&6; }
22273 if test "${lt_cv_path_LD+set}" = set; then :
22274 $as_echo_n "(cached) " >&6
22276 if test -z "$LD"; then
22277 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22278 for ac_dir in $PATH; do
22280 test -z "$ac_dir" && ac_dir=.
22281 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22282 lt_cv_path_LD="$ac_dir/$ac_prog"
22283 # Check to see if the program is GNU ld. I'd rather use --version,
22284 # but apparently some variants of GNU ld only accept -v.
22285 # Break only if it was the GNU/non-GNU ld that we prefer.
22286 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22287 *GNU* | *'with BFD'*)
22288 test "$with_gnu_ld" != no && break
22291 test "$with_gnu_ld" != yes && break
22298 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22302 LD="$lt_cv_path_LD"
22303 if test -n "$LD"; then
22304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22305 $as_echo "$LD" >&6; }
22307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22308 $as_echo "no" >&6; }
22310 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
22311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22312 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22313 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
22314 $as_echo_n "(cached) " >&6
22316 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22317 case `$LD -v 2>&1 </dev/null` in
22318 *GNU* | *'with BFD'*)
22319 lt_cv_prog_gnu_ld=yes
22322 lt_cv_prog_gnu_ld=no
22326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22327 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22328 with_gnu_ld=$lt_cv_prog_gnu_ld
22337 # on Mingw32 extra LDFLAGS are required to ease global variable linking
22338 LIBGNURADIO_CORE_EXTRA_LDFLAGS=""
22340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts --enable-runtime-pseudo-reloc" >&5
22341 $as_echo_n "checking whether $LD accepts --enable-runtime-pseudo-reloc... " >&6; }
22342 if ${LD} --enable-runtime-pseudo-reloc --version >/dev/null 2>&1
22344 # libtool requires the quotes
22345 LIBGNURADIO_CORE_EXTRA_LDFLAGS="\"-Wl,--enable-runtime-pseudo-reloc\""
22346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22347 $as_echo "yes" >&6; }
22349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22350 $as_echo "no" >&6; }
22357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CreateFileMapping function" >&5
22358 $as_echo_n "checking for CreateFileMapping function... " >&6; }
22359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22360 /* end confdefs.h. */
22362 #include <windows.h>
22363 int main (int argc, char **argv)
22367 char seg_name[1024];
22368 handle = CreateFileMapping(
22369 INVALID_HANDLE_VALUE, // use paging file
22370 NULL, // default security
22371 PAGE_READWRITE, // read/write access
22372 0, // max. object size
22373 size, // buffer size
22374 seg_name); // name of mapping object
22379 if ac_fn_c_try_compile "$LINENO"; then :
22380 HAVE_CREATEFILEMAPPING=yes
22382 $as_echo "#define HAVE_CREATEFILEMAPPING 1" >>confdefs.h
22385 HAVE_CREATEFILEMAPPING=no
22387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CREATEFILEMAPPING" >&5
22390 $as_echo "$HAVE_CREATEFILEMAPPING" >&6; }
22391 if test x$HAVE_CREATEFILEMAPPING = xyes; then
22392 HAVE_CREATEFILEMAPPING_TRUE=
22393 HAVE_CREATEFILEMAPPING_FALSE='#'
22395 HAVE_CREATEFILEMAPPING_TRUE='#'
22396 HAVE_CREATEFILEMAPPING_FALSE=
22403 for ac_header in sys/types.h fcntl.h io.h
22405 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22406 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22407 eval as_val=\$$as_ac_Header
22408 if test "x$as_val" = x""yes; then :
22409 cat >>confdefs.h <<_ACEOF
22410 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22417 for ac_header in windows.h
22419 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
22420 if test "x$ac_cv_header_windows_h" = x""yes; then :
22421 cat >>confdefs.h <<_ACEOF
22422 #define HAVE_WINDOWS_H 1
22429 for ac_header in winioctl.h winbase.h
22431 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22432 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
22434 #include <windows.h>
22438 eval as_val=\$$as_ac_Header
22439 if test "x$as_val" = x""yes; then :
22440 cat >>confdefs.h <<_ACEOF
22441 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22449 for ac_func in getopt usleep gettimeofday nanosleep rand srand random srandom sleep sigaction
22451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22453 eval as_val=\$$as_ac_var
22454 if test "x$as_val" = x""yes; then :
22455 cat >>confdefs.h <<_ACEOF
22456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22462 ac_fn_c_check_type "$LINENO" "struct timezone" "ac_cv_type_struct_timezone" "
22463 #if HAVE_SYS_TYPES_H
22464 # include <sys/types.h>
22466 #if TIME_WITH_SYS_TIME
22467 # include <sys/time.h>
22470 # if HAVE_SYS_TIME_H
22471 # include <sys/time.h>
22478 if test "x$ac_cv_type_struct_timezone" = x""yes; then :
22480 cat >>confdefs.h <<_ACEOF
22481 #define HAVE_STRUCT_TIMEZONE 1
22486 ac_fn_c_check_type "$LINENO" "struct timespec" "ac_cv_type_struct_timespec" "
22487 #if HAVE_SYS_TYPES_H
22488 # include <sys/types.h>
22490 #if TIME_WITH_SYS_TIME
22491 # include <sys/time.h>
22494 # if HAVE_SYS_TIME_H
22495 # include <sys/time.h>
22502 if test "x$ac_cv_type_struct_timespec" = x""yes; then :
22504 cat >>confdefs.h <<_ACEOF
22505 #define HAVE_STRUCT_TIMESPEC 1
22510 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "
22511 #if HAVE_SYS_TYPES_H
22512 # include <sys/types.h>
22514 #if TIME_WITH_SYS_TIME
22515 # include <sys/time.h>
22518 # if HAVE_SYS_TIME_H
22519 # include <sys/time.h>
22526 if test "x$ac_cv_type_ssize_t" = x""yes; then :
22528 cat >>confdefs.h <<_ACEOF
22529 #define HAVE_SSIZE_T 1
22536 for ac_func in getopt usleep gettimeofday
22538 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22540 eval as_val=\$$as_ac_var
22541 if test "x$as_val" = x""yes; then :
22542 cat >>confdefs.h <<_ACEOF
22543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22547 case " $LIBOBJS " in
22548 *" $ac_func.$ac_objext "* ) ;;
22549 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
22559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
22560 $as_echo_n "checking for Sleep... " >&6; }
22561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22562 /* end confdefs.h. */
22563 #include <windows.h>
22564 #include <winbase.h>
22574 if ac_fn_c_try_link "$LINENO"; then :
22576 $as_echo "#define HAVE_SSLEEP 1" >>confdefs.h
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22579 $as_echo "yes" >&6; }
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22582 $as_echo "no" >&6; }
22585 rm -f core conftest.err conftest.$ac_objext \
22586 conftest$ac_exeext conftest.$ac_ext
22588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir accepts only one arg" >&5
22589 $as_echo_n "checking whether mkdir accepts only one arg... " >&6; }
22590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22591 /* end confdefs.h. */
22592 #include <sys/types.h>
22593 #include <sys/stat.h>
22605 if ac_fn_c_try_compile "$LINENO"; then :
22606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22607 $as_echo "yes" >&6; }
22609 $as_echo "#define MKDIR_TAKES_ONE_ARG /**/" >>confdefs.h
22612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22613 $as_echo "no" >&6; }
22616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22623 # Extract the first word of "dot", so it can be a program name with args.
22624 set dummy dot; ac_word=$2
22625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22626 $as_echo_n "checking for $ac_word... " >&6; }
22627 if test "${ac_cv_prog_HAVE_DOT+set}" = set; then :
22628 $as_echo_n "(cached) " >&6
22630 if test -n "$HAVE_DOT"; then
22631 ac_cv_prog_HAVE_DOT="$HAVE_DOT" # Let the user override the test.
22633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22634 for as_dir in $PATH
22637 test -z "$as_dir" && as_dir=.
22638 for ac_exec_ext in '' $ac_executable_extensions; do
22639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22640 ac_cv_prog_HAVE_DOT="YES"
22641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22648 test -z "$ac_cv_prog_HAVE_DOT" && ac_cv_prog_HAVE_DOT="NO"
22651 HAVE_DOT=$ac_cv_prog_HAVE_DOT
22652 if test -n "$HAVE_DOT"; then
22653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOT" >&5
22654 $as_echo "$HAVE_DOT" >&6; }
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22657 $as_echo "no" >&6; }
22664 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
22665 if test -n "$ac_tool_prefix"; then
22666 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22667 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22669 $as_echo_n "checking for $ac_word... " >&6; }
22670 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22671 $as_echo_n "(cached) " >&6
22673 case $PKG_CONFIG in
22675 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22679 for as_dir in $PATH
22682 test -z "$as_dir" && as_dir=.
22683 for ac_exec_ext in '' $ac_executable_extensions; do
22684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22685 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22696 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22697 if test -n "$PKG_CONFIG"; then
22698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22699 $as_echo "$PKG_CONFIG" >&6; }
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22702 $as_echo "no" >&6; }
22707 if test -z "$ac_cv_path_PKG_CONFIG"; then
22708 ac_pt_PKG_CONFIG=$PKG_CONFIG
22709 # Extract the first word of "pkg-config", so it can be a program name with args.
22710 set dummy pkg-config; ac_word=$2
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22712 $as_echo_n "checking for $ac_word... " >&6; }
22713 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22714 $as_echo_n "(cached) " >&6
22716 case $ac_pt_PKG_CONFIG in
22718 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22722 for as_dir in $PATH
22725 test -z "$as_dir" && as_dir=.
22726 for ac_exec_ext in '' $ac_executable_extensions; do
22727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22728 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22739 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22740 if test -n "$ac_pt_PKG_CONFIG"; then
22741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22742 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22745 $as_echo "no" >&6; }
22748 if test "x$ac_pt_PKG_CONFIG" = x; then
22751 case $cross_compiling:$ac_tool_warned in
22753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22754 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22755 ac_tool_warned=yes ;;
22757 PKG_CONFIG=$ac_pt_PKG_CONFIG
22760 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22764 if test -n "$PKG_CONFIG"; then
22765 _pkg_min_version=0.18
22766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
22767 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
22768 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
22769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22770 $as_echo "yes" >&6; }
22772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22773 $as_echo "no" >&6; }
22782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFTW3F" >&5
22783 $as_echo_n "checking for FFTW3F... " >&6; }
22785 if test -n "$PKG_CONFIG"; then
22786 if test -n "$FFTW3F_CFLAGS"; then
22787 pkg_cv_FFTW3F_CFLAGS="$FFTW3F_CFLAGS"
22789 if test -n "$PKG_CONFIG" && \
22790 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f >= 3.0\""; } >&5
22791 ($PKG_CONFIG --exists --print-errors "fftw3f >= 3.0") 2>&5
22793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22794 test $ac_status = 0; }; then
22795 pkg_cv_FFTW3F_CFLAGS=`$PKG_CONFIG --cflags "fftw3f >= 3.0" 2>/dev/null`
22804 if test x$cross_compiling = xyes
22806 if test -n "$PKG_CONFIG"; then
22807 if test -n "$FFTW3F_LIBS"; then
22808 pkg_cv_FFTW3F_LIBS="$FFTW3F_LIBS"
22810 if test -n "$PKG_CONFIG" && \
22811 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f >= 3.0\""; } >&5
22812 ($PKG_CONFIG --exists --print-errors "fftw3f >= 3.0") 2>&5
22814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22815 test $ac_status = 0; }; then
22816 pkg_cv_FFTW3F_LIBS=`$PKG_CONFIG --libs --static "fftw3f >= 3.0" 2>/dev/null`
22825 for flag in $pkg_cv_FFTW3F_LIBS; do
22827 (-L/lib* | -L/usr/lib* ) ;; # ignore
22828 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
22831 pkg_cv_FFTW3F_LIBS="$_pkg_tmp"
22833 if test -n "$PKG_CONFIG"; then
22834 if test -n "$FFTW3F_LIBS"; then
22835 pkg_cv_FFTW3F_LIBS="$FFTW3F_LIBS"
22837 if test -n "$PKG_CONFIG" && \
22838 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f >= 3.0\""; } >&5
22839 ($PKG_CONFIG --exists --print-errors "fftw3f >= 3.0") 2>&5
22841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22842 test $ac_status = 0; }; then
22843 pkg_cv_FFTW3F_LIBS=`$PKG_CONFIG --libs --static "fftw3f >= 3.0" 2>/dev/null`
22853 if test -n "$PKG_CONFIG"; then
22854 if test -n "$FFTW3F_INCLUDEDIR"; then
22855 pkg_cv_FFTW3F_INCLUDEDIR="$FFTW3F_INCLUDEDIR"
22857 if test -n "$PKG_CONFIG" && \
22858 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f >= 3.0\""; } >&5
22859 ($PKG_CONFIG --exists --print-errors "fftw3f >= 3.0") 2>&5
22861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22862 test $ac_status = 0; }; then
22863 pkg_cv_FFTW3F_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "fftw3f >= 3.0" 2>/dev/null`
22875 if test $pkg_failed = yes; then
22877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22878 _pkg_short_errors_supported=yes
22880 _pkg_short_errors_supported=no
22882 if test $_pkg_short_errors_supported = yes; then
22883 FFTW3F_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fftw3f >= 3.0"`
22885 FFTW3F_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fftw3f >= 3.0"`
22887 # Put the nasty error message in config.log where it belongs
22888 echo "$FFTW3F_PKG_ERRORS" >&5
22890 as_fn_error "Package requirements (fftw3f >= 3.0) were not met:
22894 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22895 installed software in a non-standard prefix.
22897 Alternatively, you may set the environment variables FFTW3F_CFLAGS
22898 and FFTW3F_LIBS to avoid the need to call pkg-config.
22899 See the pkg-config man page for more details.
22901 elif test $pkg_failed = untried; then
22902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22904 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
22905 is in your PATH or set the PKG_CONFIG environment variable to the full
22906 path to pkg-config.
22908 Alternatively, you may set the environment variables FFTW3F_CFLAGS
22909 and FFTW3F_LIBS to avoid the need to call pkg-config.
22910 See the pkg-config man page for more details.
22912 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22913 See \`config.log' for more details." "$LINENO" 5; }
22915 FFTW3F_CFLAGS=$pkg_cv_FFTW3F_CFLAGS
22916 FFTW3F_LIBS=$pkg_cv_FFTW3F_LIBS
22917 FFTW3F_INCLUDEDIR=$pkg_cv_FFTW3F_INCLUDEDIR
22920 for flag in $FFTW3F_CFLAGS; do
22922 -I* | -D* | -U*) FFTW3F_CPPFLAGS="$FFTW3F_CPPFLAGS $flag" ;;
22925 pkg_cv_FFTW3F_CPPFLAGS=$FFTW3F_CPPFLAGS
22928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22929 $as_echo "yes" >&6; }
22935 # Check whether --enable-doxygen was given.
22936 if test "${enable_doxygen+set}" = set; then :
22937 enableval=$enable_doxygen;
22940 # Check whether --enable-dot was given.
22941 if test "${enable_dot+set}" = set; then :
22942 enableval=$enable_dot;
22946 if test "x$enable_doxygen" = xno; then
22949 # Extract the first word of "doxygen", so it can be a program name with args.
22950 set dummy doxygen; ac_word=$2
22951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22952 $as_echo_n "checking for $ac_word... " >&6; }
22953 if test "${ac_cv_path_DOXYGEN+set}" = set; then :
22954 $as_echo_n "(cached) " >&6
22958 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
22961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22962 for as_dir in $PATH
22965 test -z "$as_dir" && as_dir=.
22966 for ac_exec_ext in '' $ac_executable_extensions; do
22967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22968 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
22969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22979 DOXYGEN=$ac_cv_path_DOXYGEN
22980 if test -n "$DOXYGEN"; then
22981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
22982 $as_echo "$DOXYGEN" >&6; }
22984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22985 $as_echo "no" >&6; }
22989 if test x$DOXYGEN = x; then
22990 if test "x$enable_doxygen" = xyes; then
22991 as_fn_error "could not find doxygen" "$LINENO" 5
22998 # Extract the first word of "dot", so it can be a program name with args.
22999 set dummy dot; ac_word=$2
23000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23001 $as_echo_n "checking for $ac_word... " >&6; }
23002 if test "${ac_cv_path_DOT+set}" = set; then :
23003 $as_echo_n "(cached) " >&6
23007 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
23010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23011 for as_dir in $PATH
23014 test -z "$as_dir" && as_dir=.
23015 for ac_exec_ext in '' $ac_executable_extensions; do
23016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23017 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
23018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23028 DOT=$ac_cv_path_DOT
23029 if test -n "$DOT"; then
23030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
23031 $as_echo "$DOT" >&6; }
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23034 $as_echo "no" >&6; }
23041 if test x$enable_doc = xyes; then
23050 if test x$DOT = x; then
23051 if test "x$enable_dot" = xyes; then
23052 as_fn_error "could not find dot" "$LINENO" 5
23059 enable_xml_docs=YES
23061 enable_html_docs=YES
23063 enable_latex_docs=NO
23070 # Check whether --with-md-cpu was given.
23071 if test "${with_md_cpu+set}" = set; then :
23072 withval=$with_md_cpu; cf_with_md_cpu="$withval"
23074 cf_with_md_cpu="$host_cpu"
23078 case "$cf_with_md_cpu" in
23079 x86 | i[3-7]86) MD_CPU=x86 MD_SUBCPU=x86 ;;
23080 x86_64) MD_CPU=x86 MD_SUBCPU=x86_64 ;;
23081 powerpc*) MD_CPU=powerpc ;;
23082 *) MD_CPU=generic ;;
23085 # Check whether --enable-altivec was given.
23086 if test "${enable_altivec+set}" = set; then :
23087 enableval=$enable_altivec; if test $MD_CPU = powerpc; then
23088 case "$enableval" in
23089 (no) MD_CPU=generic ;;
23092 echo 'void f(){}' > conftest.c
23093 for i in -mabi=altivec -maltivec
23095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $i" >&5
23096 $as_echo_n "checking whether $CC accepts $i... " >&6; }
23097 if test -z "`${CC} $i -c conftest.c 2>&1`"
23099 lf_CFLAGS="${lf_CFLAGS} $i"
23100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23101 $as_echo "yes" >&6; }
23103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23104 $as_echo "no" >&6; }
23107 rm -f conftest.c conftest.o
23111 echo 'void f(){}' > conftest.cc
23112 for i in -mabi=altivec -maltivec
23114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts $i" >&5
23115 $as_echo_n "checking whether $CXX accepts $i... " >&6; }
23116 if test -z "`${CXX} $i -c conftest.cc 2>&1`"
23118 lf_CXXFLAGS="${lf_CXXFLAGS} $i"
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23120 $as_echo "yes" >&6; }
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23123 $as_echo "no" >&6; }
23126 rm -f conftest.cc conftest.o
23130 (*) as_fn_error "Invalid argument ($enableval) to --enable-altivec" "$LINENO" 5 ;;
23134 if test $MD_CPU = powerpc; then
23136 echo 'void f(){}' > conftest.c
23137 for i in -mabi=altivec -maltivec
23139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $i" >&5
23140 $as_echo_n "checking whether $CC accepts $i... " >&6; }
23141 if test -z "`${CC} $i -c conftest.c 2>&1`"
23143 lf_CFLAGS="${lf_CFLAGS} $i"
23144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23145 $as_echo "yes" >&6; }
23147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23148 $as_echo "no" >&6; }
23151 rm -f conftest.c conftest.o
23155 echo 'void f(){}' > conftest.cc
23156 for i in -mabi=altivec -maltivec
23158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts $i" >&5
23159 $as_echo_n "checking whether $CXX accepts $i... " >&6; }
23160 if test -z "`${CXX} $i -c conftest.cc 2>&1`"
23162 lf_CXXFLAGS="${lf_CXXFLAGS} $i"
23163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23164 $as_echo "yes" >&6; }
23166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23167 $as_echo "no" >&6; }
23170 rm -f conftest.cc conftest.o
23178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for machine dependent speedups" >&5
23179 $as_echo_n "checking for machine dependent speedups... " >&6; }
23180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MD_CPU" >&5
23181 $as_echo "$MD_CPU" >&6; }
23185 if test "$MD_CPU" = "x86"; then
23187 MD_CPU_x86_FALSE='#'
23189 MD_CPU_x86_TRUE='#'
23193 if test "$MD_SUBCPU" = "x86_64"; then
23194 MD_SUBCPU_x86_64_TRUE=
23195 MD_SUBCPU_x86_64_FALSE='#'
23197 MD_SUBCPU_x86_64_TRUE='#'
23198 MD_SUBCPU_x86_64_FALSE=
23201 if test "$MD_CPU" = "powerpc"; then
23202 MD_CPU_powerpc_TRUE=
23203 MD_CPU_powerpc_FALSE='#'
23205 MD_CPU_powerpc_TRUE='#'
23206 MD_CPU_powerpc_FALSE=
23209 if test "$MD_CPU" = "generic"; then
23210 MD_CPU_generic_TRUE=
23211 MD_CPU_generic_FALSE='#'
23213 MD_CPU_generic_TRUE='#'
23214 MD_CPU_generic_FALSE=
23219 if test -n "$PKG_CONFIG" && \
23220 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit\""; } >&5
23221 ($PKG_CONFIG --exists --print-errors "cppunit") 2>&5
23223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23224 test $ac_status = 0; }; then
23229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CPPUNIT" >&5
23230 $as_echo_n "checking for CPPUNIT... " >&6; }
23232 if test -n "$PKG_CONFIG"; then
23233 if test -n "$CPPUNIT_CFLAGS"; then
23234 pkg_cv_CPPUNIT_CFLAGS="$CPPUNIT_CFLAGS"
23236 if test -n "$PKG_CONFIG" && \
23237 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit >= 1.9.14\""; } >&5
23238 ($PKG_CONFIG --exists --print-errors "cppunit >= 1.9.14") 2>&5
23240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23241 test $ac_status = 0; }; then
23242 pkg_cv_CPPUNIT_CFLAGS=`$PKG_CONFIG --cflags "cppunit >= 1.9.14" 2>/dev/null`
23251 if test x$cross_compiling = xyes
23253 if test -n "$PKG_CONFIG"; then
23254 if test -n "$CPPUNIT_LIBS"; then
23255 pkg_cv_CPPUNIT_LIBS="$CPPUNIT_LIBS"
23257 if test -n "$PKG_CONFIG" && \
23258 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit >= 1.9.14\""; } >&5
23259 ($PKG_CONFIG --exists --print-errors "cppunit >= 1.9.14") 2>&5
23261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23262 test $ac_status = 0; }; then
23263 pkg_cv_CPPUNIT_LIBS=`$PKG_CONFIG --libs --static "cppunit >= 1.9.14" 2>/dev/null`
23272 for flag in $pkg_cv_CPPUNIT_LIBS; do
23274 (-L/lib* | -L/usr/lib* ) ;; # ignore
23275 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
23278 pkg_cv_CPPUNIT_LIBS="$_pkg_tmp"
23280 if test -n "$PKG_CONFIG"; then
23281 if test -n "$CPPUNIT_LIBS"; then
23282 pkg_cv_CPPUNIT_LIBS="$CPPUNIT_LIBS"
23284 if test -n "$PKG_CONFIG" && \
23285 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit >= 1.9.14\""; } >&5
23286 ($PKG_CONFIG --exists --print-errors "cppunit >= 1.9.14") 2>&5
23288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23289 test $ac_status = 0; }; then
23290 pkg_cv_CPPUNIT_LIBS=`$PKG_CONFIG --libs --static "cppunit >= 1.9.14" 2>/dev/null`
23300 if test -n "$PKG_CONFIG"; then
23301 if test -n "$CPPUNIT_INCLUDEDIR"; then
23302 pkg_cv_CPPUNIT_INCLUDEDIR="$CPPUNIT_INCLUDEDIR"
23304 if test -n "$PKG_CONFIG" && \
23305 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit >= 1.9.14\""; } >&5
23306 ($PKG_CONFIG --exists --print-errors "cppunit >= 1.9.14") 2>&5
23308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23309 test $ac_status = 0; }; then
23310 pkg_cv_CPPUNIT_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "cppunit >= 1.9.14" 2>/dev/null`
23322 if test $pkg_failed = yes; then
23324 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23325 _pkg_short_errors_supported=yes
23327 _pkg_short_errors_supported=no
23329 if test $_pkg_short_errors_supported = yes; then
23330 CPPUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cppunit >= 1.9.14"`
23332 CPPUNIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cppunit >= 1.9.14"`
23334 # Put the nasty error message in config.log where it belongs
23335 echo "$CPPUNIT_PKG_ERRORS" >&5
23337 as_fn_error "Package requirements (cppunit >= 1.9.14) were not met:
23339 $CPPUNIT_PKG_ERRORS
23341 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23342 installed software in a non-standard prefix.
23344 Alternatively, you may set the environment variables CPPUNIT_CFLAGS
23345 and CPPUNIT_LIBS to avoid the need to call pkg-config.
23346 See the pkg-config man page for more details.
23348 elif test $pkg_failed = untried; then
23349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23351 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
23352 is in your PATH or set the PKG_CONFIG environment variable to the full
23353 path to pkg-config.
23355 Alternatively, you may set the environment variables CPPUNIT_CFLAGS
23356 and CPPUNIT_LIBS to avoid the need to call pkg-config.
23357 See the pkg-config man page for more details.
23359 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23360 See \`config.log' for more details." "$LINENO" 5; }
23362 CPPUNIT_CFLAGS=$pkg_cv_CPPUNIT_CFLAGS
23363 CPPUNIT_LIBS=$pkg_cv_CPPUNIT_LIBS
23364 CPPUNIT_INCLUDEDIR=$pkg_cv_CPPUNIT_INCLUDEDIR
23366 CPPUNIT_CPPFLAGS=""
23367 for flag in $CPPUNIT_CFLAGS; do
23369 -I* | -D* | -U*) CPPUNIT_CPPFLAGS="$CPPUNIT_CPPFLAGS $flag" ;;
23372 pkg_cv_CPPUNIT_CPPFLAGS=$CPPUNIT_CPPFLAGS
23375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23376 $as_echo "yes" >&6; }
23383 # Check whether --with-cppunit-prefix was given.
23384 if test "${with_cppunit_prefix+set}" = set; then :
23385 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
23387 cppunit_config_prefix=""
23391 # Check whether --with-cppunit-exec-prefix was given.
23392 if test "${with_cppunit_exec_prefix+set}" = set; then :
23393 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
23395 cppunit_config_exec_prefix=""
23399 if test x$cppunit_config_exec_prefix != x ; then
23400 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
23401 if test x${CPPUNIT_CONFIG+set} != xset ; then
23402 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
23405 if test x$cppunit_config_prefix != x ; then
23406 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
23407 if test x${CPPUNIT_CONFIG+set} != xset ; then
23408 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
23412 # Extract the first word of "cppunit-config", so it can be a program name with args.
23413 set dummy cppunit-config; ac_word=$2
23414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23415 $as_echo_n "checking for $ac_word... " >&6; }
23416 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then :
23417 $as_echo_n "(cached) " >&6
23419 case $CPPUNIT_CONFIG in
23421 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
23424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23425 for as_dir in $PATH
23428 test -z "$as_dir" && as_dir=.
23429 for ac_exec_ext in '' $ac_executable_extensions; do
23430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23431 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23439 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
23443 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
23444 if test -n "$CPPUNIT_CONFIG"; then
23445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
23446 $as_echo "$CPPUNIT_CONFIG" >&6; }
23448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23449 $as_echo "no" >&6; }
23453 cppunit_version_min=1.9.14
23455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
23456 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
23458 if test "$CPPUNIT_CONFIG" = "no" ; then
23461 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
23462 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
23463 cppunit_version=`$CPPUNIT_CONFIG --version`
23465 cppunit_major_version=`echo $cppunit_version | \
23466 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23467 cppunit_minor_version=`echo $cppunit_version | \
23468 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23469 cppunit_micro_version=`echo $cppunit_version | \
23470 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23472 cppunit_major_min=`echo $cppunit_version_min | \
23473 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23474 cppunit_minor_min=`echo $cppunit_version_min | \
23475 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23476 cppunit_micro_min=`echo $cppunit_version_min | \
23477 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23479 cppunit_version_proper=`expr \
23480 $cppunit_major_version \> $cppunit_major_min \| \
23481 $cppunit_major_version \= $cppunit_major_min \& \
23482 $cppunit_minor_version \> $cppunit_minor_min \| \
23483 $cppunit_major_version \= $cppunit_major_min \& \
23484 $cppunit_minor_version \= $cppunit_minor_min \& \
23485 $cppunit_micro_version \>= $cppunit_micro_min `
23487 if test "$cppunit_version_proper" = "1" ; then
23488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
23489 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
23491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23492 $as_echo "no" >&6; }
23497 if test "x$no_cppunit" = x ; then
23502 as_fn_error "GNU Radio requires cppunit. Stop" "$LINENO" 5
23510 CPPUNIT_INCLUDES=$CPPUNIT_CFLAGS
23513 # Extract the first word of "guile", so it can be a program name with args.
23514 set dummy guile; ac_word=$2
23515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23516 $as_echo_n "checking for $ac_word... " >&6; }
23517 if test "${ac_cv_path_GUILE+set}" = set; then :
23518 $as_echo_n "(cached) " >&6
23522 ac_cv_path_GUILE="$GUILE" # Let the user override the test with a path.
23525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23526 for as_dir in $PATH
23529 test -z "$as_dir" && as_dir=.
23530 for ac_exec_ext in '' $ac_executable_extensions; do
23531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23532 ac_cv_path_GUILE="$as_dir/$ac_word$ac_exec_ext"
23533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23543 GUILE=$ac_cv_path_GUILE
23544 if test -n "$GUILE"; then
23545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE" >&5
23546 $as_echo "$GUILE" >&6; }
23548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23549 $as_echo "no" >&6; }
23557 # Check whether --with-boost was given.
23558 if test "${with_boost+set}" = set; then :
23559 withval=$with_boost;
23560 if test "$withval" = "no"; then
23562 elif test "$withval" = "yes"; then
23567 ac_boost_path="$withval"
23577 # Check whether --with-boost-libdir was given.
23578 if test "${with_boost_libdir+set}" = set; then :
23579 withval=$with_boost_libdir;
23580 if test -d $withval
23582 ac_boost_lib_path="$withval"
23584 as_fn_error "--with-boost-libdir expected directory name" "$LINENO" 5
23588 ac_boost_lib_path=""
23593 if test "x$want_boost" = "xyes"; then
23594 boost_lib_version_req=1.35
23595 boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([0-9]*\.[0-9]*\)'`
23596 boost_lib_version_req_major=`expr $boost_lib_version_req : '\([0-9]*\)'`
23597 boost_lib_version_req_minor=`expr $boost_lib_version_req : '[0-9]*\.\([0-9]*\)'`
23598 boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
23599 if test "x$boost_lib_version_req_sub_minor" = "x" ; then
23600 boost_lib_version_req_sub_minor="0"
23602 WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
23603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boost >= $boost_lib_version_req" >&5
23604 $as_echo_n "checking for boost >= $boost_lib_version_req... " >&6; }
23607 if test "$ac_boost_path" != ""; then
23608 if test -d "$ac_boost_path/lib${gr_libdir_suffix}"; then
23609 BOOST_LDFLAGS="-L$ac_boost_path/lib${gr_libdir_suffix}"
23611 BOOST_LDFLAGS="-L$ac_boost_path/lib"
23613 BOOST_CPPFLAGS="-I$ac_boost_path/include"
23615 for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
23616 if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
23617 if test -d "$ac_boost_path_tmp/lib${gr_libdir_suffix}"; then
23618 BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib${gr_libdir_suffix}"
23620 BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib"
23622 BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
23628 if test "$ac_boost_lib_path" != ""; then
23629 BOOST_LDFLAGS="-L$ac_boost_lib_path"
23632 CPPFLAGS_SAVED="$CPPFLAGS"
23633 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
23636 LDFLAGS_SAVED="$LDFLAGS"
23637 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
23641 ac_cpp='$CXXCPP $CPPFLAGS'
23642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23647 /* end confdefs.h. */
23649 #include <boost/version.hpp>
23655 #if BOOST_VERSION >= $WANT_BOOST_VERSION
23656 // Everything is okay
23658 # error Boost version is too old
23665 if ac_fn_cxx_try_compile "$LINENO"; then :
23666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23667 $as_echo "yes" >&6; }
23672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23674 ac_cpp='$CPP $CPPFLAGS'
23675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23679 CPPFLAGS="$CPPFLAGS_SAVED"
23680 LDFLAGS="$LDFLAGS_SAVED"
23683 if test "$succeeded" != "yes"; then
23686 if test "$ac_boost_path" != ""; then
23687 path_list="$ac_boost_path"
23689 path_list="/usr /usr/local /opt /opt/local"
23691 for ac_boost_path in $path_list ; do
23692 if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
23693 for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
23694 _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's,/include/boost-,,; s,_,.,'`
23695 V_CHECK=`expr $_version_tmp \> $_version`
23696 if test "$V_CHECK" = "1" ; then
23697 _version=$_version_tmp
23698 best_path=$ac_boost_path
23704 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
23705 BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
23707 if test "$ac_boost_lib_path" = ""; then
23708 if test -d "$best_path/lib${gr_libdir_suffix}"; then
23709 BOOST_LDFLAGS="-L$best_path/lib${gr_libdir_suffix}"
23711 BOOST_LDFLAGS="-L$best_path/lib"
23715 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
23717 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
23721 ac_cpp='$CXXCPP $CPPFLAGS'
23722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23727 /* end confdefs.h. */
23729 #include <boost/version.hpp>
23735 #if BOOST_VERSION >= $WANT_BOOST_VERSION
23736 // Everything is okay
23738 # error Boost version is too old
23745 if ac_fn_cxx_try_compile "$LINENO"; then :
23746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23747 $as_echo "yes" >&6; }
23752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23754 ac_cpp='$CPP $CPPFLAGS'
23755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23759 CPPFLAGS="$CPPFLAGS_SAVED"
23760 LDFLAGS="$LDFLAGS_SAVED"
23763 if test "$succeeded" != "yes" ; then
23764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23765 $as_echo "no" >&6; }
23766 if test "$_version" = "0" ; then
23767 as_fn_error "we could not detect the boost libraries (version $boost_lib_version_req_shorten or higher).
23768 If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>." "$LINENO" 5
23770 as_fn_error "your boost libraries seem to old (version $_version)." "$LINENO" 5
23776 $as_echo "#define HAVE_BOOST 1" >>confdefs.h
23788 # Check whether --with-boost-thread was given.
23789 if test "${with_boost_thread+set}" = set; then :
23790 withval=$with_boost_thread;
23791 if test "$withval" = "no"; then
23793 elif test "$withval" = "yes"; then
23795 ax_boost_user_lib=""
23798 ax_boost_user_lib="$withval"
23808 if test "$want_boost" = "yes"; then
23813 CPPFLAGS_SAVED="$CPPFLAGS"
23814 LDFLAGS_SAVED="$LDFLAGS"
23815 CXXFLAGS_SAVED="$CXXFLAGS"
23817 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
23818 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS $PTHREAD_LIBS"
23819 CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
23821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the boost::thread includes are available" >&5
23822 $as_echo_n "checking whether the boost::thread includes are available... " >&6; }
23823 if test "${ax_cv_boost_thread+set}" = set; then :
23824 $as_echo_n "(cached) " >&6
23827 ac_cpp='$CXXCPP $CPPFLAGS'
23828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23833 /* end confdefs.h. */
23834 #include <boost/thread/thread.hpp>
23838 boost::thread_group thrds;
23844 if ac_fn_cxx_try_compile "$LINENO"; then :
23845 ax_cv_boost_thread=yes
23847 ax_cv_boost_thread=no
23849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23851 ac_cpp='$CPP $CPPFLAGS'
23852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_thread" >&5
23859 $as_echo "$ax_cv_boost_thread" >&6; }
23861 if test "$ax_cv_boost_thread" = "yes"; then
23862 BOOST_CXXFLAGS="$PTHREAD_CFLAGS"
23867 ac_cpp='$CXXCPP $CPPFLAGS'
23868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23873 $as_echo "#define HAVE_BOOST_THREAD 1" >>confdefs.h
23875 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
23878 if test "$ax_boost_user_lib" != ""; then
23879 for ax_lib in $ax_boost_user_lib boost_thread-${ax_boost_user_lib}; do
23880 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
23881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
23882 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
23883 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
23884 $as_echo_n "(cached) " >&6
23886 ac_check_lib_save_LIBS=$LIBS
23887 LIBS="-l$ax_lib $LIBS"
23888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23889 /* end confdefs.h. */
23891 /* Override any GCC internal prototype to avoid an error.
23892 Use char because int might match the return type of a GCC
23893 builtin and then its argument prototype would still apply. */
23906 if ac_fn_cxx_try_link "$LINENO"; then :
23907 eval "$as_ac_Lib=yes"
23909 eval "$as_ac_Lib=no"
23911 rm -f core conftest.err conftest.$ac_objext \
23912 conftest$ac_exeext conftest.$ac_ext
23913 LIBS=$ac_check_lib_save_LIBS
23915 eval ac_res=\$$as_ac_Lib
23916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
23917 $as_echo "$ac_res" >&6; }
23918 eval as_val=\$$as_ac_Lib
23919 if test "x$as_val" = x""yes; then :
23920 BOOST_THREAD_LIB="-l$ax_lib"; link_ok="yes"; break
23925 head=$BOOSTLIBDIR/libboost_thread
23926 for f in ${head}*.so* ${head}*.a* ${head}*.dll* ${head}*.dylib; do
23930 f=`echo $f | sed -e 's,.*/,,' -e 's,^lib,,'`
23931 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,'`
23934 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
23935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
23936 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
23937 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
23938 $as_echo_n "(cached) " >&6
23940 ac_check_lib_save_LIBS=$LIBS
23941 LIBS="-l$ax_lib $LIBS"
23942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23943 /* end confdefs.h. */
23945 /* Override any GCC internal prototype to avoid an error.
23946 Use char because int might match the return type of a GCC
23947 builtin and then its argument prototype would still apply. */
23960 if ac_fn_cxx_try_link "$LINENO"; then :
23961 eval "$as_ac_Lib=yes"
23963 eval "$as_ac_Lib=no"
23965 rm -f core conftest.err conftest.$ac_objext \
23966 conftest$ac_exeext conftest.$ac_ext
23967 LIBS=$ac_check_lib_save_LIBS
23969 eval ac_res=\$$as_ac_Lib
23970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
23971 $as_echo "$ac_res" >&6; }
23972 eval as_val=\$$as_ac_Lib
23973 if test "x$as_val" = x""yes; then :
23974 BOOST_THREAD_LIB="-l$ax_lib"; link_ok="yes"; break
23980 if test "$link_ok" != "yes"; then
23981 as_fn_error "Could not link against libboost_thread!" "$LINENO" 5
23984 ac_cpp='$CPP $CPPFLAGS'
23985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23991 if test "$link_ok" = "yes" && test -n "$PTHREAD_LIBS"; then
23992 BOOST_THREAD_LIB="$BOOST_THREAD_LIB $PTHREAD_LIBS"
23996 CPPFLAGS="$CPPFLAGS_SAVED"
23997 LDFLAGS="$LDFLAGS_SAVED"
23998 CXXFLAGS="$CXXFLAGS_SAVED"
24001 CXXFLAGS="$CXXFLAGS $BOOST_CXXFLAGS" CFLAGS="$CFLAGS $BOOST_CXXFLAGS"
24009 # Check whether --with-boost-date-time was given.
24010 if test "${with_boost_date_time+set}" = set; then :
24011 withval=$with_boost_date_time;
24012 if test "$withval" = "no"; then
24014 elif test "$withval" = "yes"; then
24016 ax_boost_user_lib=""
24019 ax_boost_user_lib="$withval"
24028 if test "$want_boost" = "yes"; then
24031 CPPFLAGS_SAVED="$CPPFLAGS"
24032 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
24033 LDFLAGS_SAVED="$LDFLAGS"
24034 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
24035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the boost::date_time includes are available" >&5
24036 $as_echo_n "checking whether the boost::date_time includes are available... " >&6; }
24037 if test "${ax_cv_boost_date_time+set}" = set; then :
24038 $as_echo_n "(cached) " >&6
24041 ac_cpp='$CXXCPP $CPPFLAGS'
24042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24047 /* end confdefs.h. */
24048 #include <boost/date_time/gregorian/gregorian_types.hpp>
24052 using namespace boost::gregorian; date d(2002,Jan,10); return 0;
24057 if ac_fn_cxx_try_compile "$LINENO"; then :
24058 ax_cv_boost_date_time=yes
24060 ax_cv_boost_date_time=no
24062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24064 ac_cpp='$CPP $CPPFLAGS'
24065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_date_time" >&5
24072 $as_echo "$ax_cv_boost_date_time" >&6; }
24073 if test "$ax_cv_boost_date_time" = "yes"; then
24077 ac_cpp='$CXXCPP $CPPFLAGS'
24078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24083 $as_echo "#define HAVE_BOOST_DATE_TIME 1" >>confdefs.h
24085 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
24088 if test "$ax_boost_user_lib" != ""; then
24089 for ax_lib in $ax_boost_user_lib boost_date_time-${ax_boost_user_lib}; do
24090 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
24091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
24092 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
24093 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
24094 $as_echo_n "(cached) " >&6
24096 ac_check_lib_save_LIBS=$LIBS
24097 LIBS="-l$ax_lib $LIBS"
24098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24099 /* end confdefs.h. */
24101 /* Override any GCC internal prototype to avoid an error.
24102 Use char because int might match the return type of a GCC
24103 builtin and then its argument prototype would still apply. */
24116 if ac_fn_cxx_try_link "$LINENO"; then :
24117 eval "$as_ac_Lib=yes"
24119 eval "$as_ac_Lib=no"
24121 rm -f core conftest.err conftest.$ac_objext \
24122 conftest$ac_exeext conftest.$ac_ext
24123 LIBS=$ac_check_lib_save_LIBS
24125 eval ac_res=\$$as_ac_Lib
24126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24127 $as_echo "$ac_res" >&6; }
24128 eval as_val=\$$as_ac_Lib
24129 if test "x$as_val" = x""yes; then :
24130 BOOST_DATE_TIME_LIB="-l$ax_lib"; link_ok="yes"; break
24135 head=$BOOSTLIBDIR/libboost_date_time
24136 for f in ${head}*.so* ${head}*.a* ${head}*.dll* ${head}*.dylib; do
24140 f=`echo $f | sed -e 's,.*/,,' -e 's,^lib,,'`
24141 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,'`
24144 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
24145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
24146 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
24147 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
24148 $as_echo_n "(cached) " >&6
24150 ac_check_lib_save_LIBS=$LIBS
24151 LIBS="-l$ax_lib $LIBS"
24152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24153 /* end confdefs.h. */
24155 /* Override any GCC internal prototype to avoid an error.
24156 Use char because int might match the return type of a GCC
24157 builtin and then its argument prototype would still apply. */
24170 if ac_fn_cxx_try_link "$LINENO"; then :
24171 eval "$as_ac_Lib=yes"
24173 eval "$as_ac_Lib=no"
24175 rm -f core conftest.err conftest.$ac_objext \
24176 conftest$ac_exeext conftest.$ac_ext
24177 LIBS=$ac_check_lib_save_LIBS
24179 eval ac_res=\$$as_ac_Lib
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24181 $as_echo "$ac_res" >&6; }
24182 eval as_val=\$$as_ac_Lib
24183 if test "x$as_val" = x""yes; then :
24184 BOOST_DATE_TIME_LIB="-l$ax_lib"; link_ok="yes"; break
24190 if test "$link_ok" != "yes"; then
24191 as_fn_error "Could not link against libboost_date_time!" "$LINENO" 5
24194 ac_cpp='$CPP $CPPFLAGS'
24195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24202 CPPFLAGS="$CPPFLAGS_SAVED"
24203 LDFLAGS="$LDFLAGS_SAVED"
24215 # Check whether --with-boost-program-options was given.
24216 if test "${with_boost_program_options+set}" = set; then :
24217 withval=$with_boost_program_options;
24218 if test "$withval" = "no"; then
24220 elif test "$withval" = "yes"; then
24222 ax_boost_user_lib=""
24225 ax_boost_user_lib="$withval"
24234 if test "$want_boost" = "yes"; then
24237 CPPFLAGS_SAVED="$CPPFLAGS"
24238 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
24239 LDFLAGS_SAVED="$LDFLAGS"
24240 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
24241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the boost::program_options includes are available" >&5
24242 $as_echo_n "checking whether the boost::program_options includes are available... " >&6; }
24243 if test "${ax_cv_boost_program_options+set}" = set; then :
24244 $as_echo_n "(cached) " >&6
24247 ac_cpp='$CXXCPP $CPPFLAGS'
24248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24253 /* end confdefs.h. */
24254 #include <boost/program_options.hpp>
24258 boost::program_options::options_description generic("Generic options");
24264 if ac_fn_cxx_try_compile "$LINENO"; then :
24265 ax_cv_boost_program_options=yes
24267 ax_cv_boost_program_options=no
24269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24271 ac_cpp='$CPP $CPPFLAGS'
24272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_program_options" >&5
24279 $as_echo "$ax_cv_boost_program_options" >&6; }
24280 if test "$ax_cv_boost_program_options" = "yes"; then
24284 ac_cpp='$CXXCPP $CPPFLAGS'
24285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24290 $as_echo "#define HAVE_BOOST_PROGRAM_OPTIONS 1" >>confdefs.h
24292 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
24295 if test "$ax_boost_user_lib" != ""; then
24296 for ax_lib in $ax_boost_user_lib boost_program_options-${ax_boost_user_lib}; do
24297 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
24298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
24299 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
24300 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
24301 $as_echo_n "(cached) " >&6
24303 ac_check_lib_save_LIBS=$LIBS
24304 LIBS="-l$ax_lib $LIBS"
24305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24306 /* end confdefs.h. */
24308 /* Override any GCC internal prototype to avoid an error.
24309 Use char because int might match the return type of a GCC
24310 builtin and then its argument prototype would still apply. */
24323 if ac_fn_cxx_try_link "$LINENO"; then :
24324 eval "$as_ac_Lib=yes"
24326 eval "$as_ac_Lib=no"
24328 rm -f core conftest.err conftest.$ac_objext \
24329 conftest$ac_exeext conftest.$ac_ext
24330 LIBS=$ac_check_lib_save_LIBS
24332 eval ac_res=\$$as_ac_Lib
24333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24334 $as_echo "$ac_res" >&6; }
24335 eval as_val=\$$as_ac_Lib
24336 if test "x$as_val" = x""yes; then :
24337 BOOST_PROGRAM_OPTIONS_LIB="-l$ax_lib"; link_ok="yes"; break
24342 head=$BOOSTLIBDIR/libboost_program_options
24343 for f in ${head}*.so* ${head}*.a* ${head}*.dll* ${head}*.dylib; do
24347 f=`echo $f | sed -e 's,.*/,,' -e 's,^lib,,'`
24348 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,'`
24351 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
24352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
24353 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
24354 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
24355 $as_echo_n "(cached) " >&6
24357 ac_check_lib_save_LIBS=$LIBS
24358 LIBS="-l$ax_lib $LIBS"
24359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24360 /* end confdefs.h. */
24362 /* Override any GCC internal prototype to avoid an error.
24363 Use char because int might match the return type of a GCC
24364 builtin and then its argument prototype would still apply. */
24377 if ac_fn_cxx_try_link "$LINENO"; then :
24378 eval "$as_ac_Lib=yes"
24380 eval "$as_ac_Lib=no"
24382 rm -f core conftest.err conftest.$ac_objext \
24383 conftest$ac_exeext conftest.$ac_ext
24384 LIBS=$ac_check_lib_save_LIBS
24386 eval ac_res=\$$as_ac_Lib
24387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24388 $as_echo "$ac_res" >&6; }
24389 eval as_val=\$$as_ac_Lib
24390 if test "x$as_val" = x""yes; then :
24391 BOOST_PROGRAM_OPTIONS_LIB="-l$ax_lib"; link_ok="yes"; break
24397 if test "$link_ok" != "yes"; then
24398 as_fn_error "Could not link against libboost_program_options!" "$LINENO" 5
24401 ac_cpp='$CPP $CPPFLAGS'
24402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24409 CPPFLAGS="$CPPFLAGS_SAVED"
24410 LDFLAGS="$LDFLAGS_SAVED"
24418 # Extract the first word of "svn", so it can be a program name with args.
24419 set dummy svn; ac_word=$2
24420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24421 $as_echo_n "checking for $ac_word... " >&6; }
24422 if test "${ac_cv_path_SVN+set}" = set; then :
24423 $as_echo_n "(cached) " >&6
24427 ac_cv_path_SVN="$SVN" # Let the user override the test with a path.
24430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24431 for as_dir in $PATH
24434 test -z "$as_dir" && as_dir=.
24435 for ac_exec_ext in '' $ac_executable_extensions; do
24436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24437 ac_cv_path_SVN="$as_dir/$ac_word$ac_exec_ext"
24438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24448 SVN=$ac_cv_path_SVN
24449 if test -n "$SVN"; then
24450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVN" >&5
24451 $as_echo "$SVN" >&6; }
24453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24454 $as_echo "no" >&6; }
24458 if test "$SVN" != "" -a -d .svn ; then
24459 SVNVERSION=`$SVN info . | grep '^Revision' | cut -f 2- -d ' '`
24460 SVNDATE=`$SVN info . | grep 'Last Changed Date' | cut -f 4-6 -d ' '`
24468 # Check whether --enable-all-components was given.
24469 if test "${enable_all_components+set}" = set; then :
24470 enableval=$enable_all_components;
24474 build_dirs="config"
24479 # Check whether --enable-gruel was given.
24480 if test "${enable_gruel+set}" = set; then :
24481 enableval=$enable_gruel;
24484 enable_gruel=$enable_all_components
24485 if test x$enable_all_components = xno; then
24494 if test x = x; then
24495 pc_comp_name="gruel"
24501 # Check whether --with-gruel was given.
24502 if test "${with_gruel+set}" = set; then :
24503 withval=$with_gruel; if test "x$withval" != "xyes"; then
24504 with_gruel_val=$withval
24509 if test x$with_gruel = xyes; then
24510 if test x$enable_gruel = xyes; then
24511 as_fn_error "Component gruel: Cannot use both --enable and --with" "$LINENO" 5
24514 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
24516 l_PKG_CONFIG_PATH=$with_gruel_val
24517 if test "x$l_PKG_CONFIG_PATH" != "x"; then
24518 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
24520 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
24521 as_fn_error "Component gruel: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." "$LINENO" 5
24525 if test -n "$PKG_CONFIG" && \
24526 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
24527 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
24529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24530 test $ac_status = 0; }; then
24531 passed=with; check1=yes
24535 if test "x$l_PKG_CONFIG_PATH" != "x"; then
24536 if test "x$s_PKG_CONFIG_PATH" != "x"; then
24537 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
24538 if test -n "$PKG_CONFIG" && \
24539 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
24540 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
24542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24543 test $ac_status = 0; }; then
24550 if test $passed != with; then
24551 as_fn_error "Component gruel: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." "$LINENO" 5
24553 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
24557 gruel_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
24558 gruel_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
24559 gruel_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
24561 if test x$check1 = xyes; then
24562 if test "x$s_PKG_CONFIG_PATH" != "x"; then
24563 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
24573 if test $passed != with; then
24575 -I\${abs_top_srcdir}/gruel/src/include \
24576 -I\${abs_top_builddir}/gruel/src/include"
24577 gruel_LA="\${abs_top_builddir}/gruel/src/lib/libgruel.la"
24578 gruel_LIBDIRPATH="\${abs_top_builddir}/gruel/src/lib:\${abs_top_builddir}/gruel/src/lib/.libs"
24581 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"
24584 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
24585 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then :
24586 GR_HAVE_ARPA_INET=1
24588 GR_HAVE_ARPA_INET=0
24592 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
24593 if test "x$ac_cv_header_netinet_in_h" = x""yes; then :
24594 GR_HAVE_NETINET_IN=1
24596 GR_HAVE_NETINET_IN=0
24600 ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
24601 if test "x$ac_cv_header_byteswap_h" = x""yes; then :
24615 if test $passed = no; then
24616 if test x$enable_gruel = xyes; then
24617 as_fn_error "Component gruel has errors; stopping." "$LINENO" 5
24619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gruel." >&5
24620 $as_echo "Not building component gruel." >&6; }
24623 if test $passed = with; then
24624 with_dirs="$with_dirs gruel"
24626 if test "x${gruel_INCLUDES}" != "x"; then
24627 if test "x$with_INCLUDES" = "x"; then
24628 with_INCLUDES="${gruel_INCLUDES}"
24630 with_INCLUDES="${gruel_INCLUDES}"" ""$with_INCLUDES"
24636 if test "x${gruel_SWIG_INCLUDES}" != "x"; then
24637 if test "x$with_SWIG_INCLUDES" = "x"; then
24638 with_SWIG_INCLUDES="${gruel_SWIG_INCLUDES}"
24640 with_SWIG_INCLUDES="${gruel_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
24642 gruel_SWIG_INCLUDES=
24646 if test "x${gruel_PYDIRPATH}" != "x"; then
24647 if test "x$with_PYDIRPATH" = "x"; then
24648 with_PYDIRPATH="${gruel_PYDIRPATH}"
24650 with_PYDIRPATH="${gruel_PYDIRPATH}"":""$with_PYDIRPATH"
24656 if test "x${gruel_SWIGDIRPATH}" != "x"; then
24657 if test "x$with_SWIGDIRPATH" = "x"; then
24658 with_SWIGDIRPATH="${gruel_SWIGDIRPATH}"
24660 with_SWIGDIRPATH="${gruel_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
24666 if test "x${gruel_LIBDIRPATH}" != "x"; then
24667 if test "x$with_LIBDIRPATH" = "x"; then
24668 with_LIBDIRPATH="${gruel_LIBDIRPATH}"
24670 with_LIBDIRPATH="${gruel_LIBDIRPATH}"":""$with_LIBDIRPATH"
24675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gruel will be included from a pre-installed library and includes." >&5
24676 $as_echo "Component gruel will be included from a pre-installed library and includes." >&6; }
24680 if test x$enable_gruel != xno; then
24682 build_dirs="$build_dirs gruel"
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gruel passed configuration checks; building." >&5
24684 $as_echo "Component gruel passed configuration checks; building." >&6; }
24687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gruel passed configuration checks; but not building." >&5
24688 $as_echo "Component gruel passed configuration checks; but not building." >&6; }
24692 if test $passed = no; then
24693 skipped_dirs="$skipped_dirs gruel"
24709 # Check whether --enable-omnithread was given.
24710 if test "${enable_omnithread+set}" = set; then :
24711 enableval=$enable_omnithread;
24714 enable_omnithread=$enable_all_components
24715 if test x$enable_all_components = xno; then
24725 if test xgnuradio-omnithread = x; then
24726 pc_comp_name="omnithread"
24728 pc_comp_name="gnuradio-omnithread"
24732 # Check whether --with-omnithread was given.
24733 if test "${with_omnithread+set}" = set; then :
24734 withval=$with_omnithread; if test "x$withval" != "xyes"; then
24735 with_omnithread_val=$withval
24736 with_omnithread=yes
24740 if test x$with_omnithread = xyes; then
24741 if test x$enable_omnithread = xyes; then
24742 as_fn_error "Component omnithread: Cannot use both --enable and --with" "$LINENO" 5
24745 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
24747 l_PKG_CONFIG_PATH=$with_omnithread_val
24748 if test "x$l_PKG_CONFIG_PATH" != "x"; then
24749 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
24751 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
24752 as_fn_error "Component omnithread: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." "$LINENO" 5
24756 if test -n "$PKG_CONFIG" && \
24757 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
24758 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
24760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24761 test $ac_status = 0; }; then
24762 passed=with; check1=yes
24766 if test "x$l_PKG_CONFIG_PATH" != "x"; then
24767 if test "x$s_PKG_CONFIG_PATH" != "x"; then
24768 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
24769 if test -n "$PKG_CONFIG" && \
24770 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
24771 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
24773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24774 test $ac_status = 0; }; then
24781 if test $passed != with; then
24782 as_fn_error "Component omnithread: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." "$LINENO" 5
24784 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
24788 omnithread_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
24789 omnithread_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
24790 omnithread_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
24792 if test x$check1 = xyes; then
24793 if test "x$s_PKG_CONFIG_PATH" != "x"; then
24794 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
24804 if test $passed != with; then
24805 omnithread_INCLUDES="-I\${abs_top_srcdir}/omnithread"
24806 omnithread_LA="\${abs_top_builddir}/omnithread/libgromnithread.la"
24807 omnithread_LIBDIRPATH="\${abs_top_builddir}/omnithread:\${abs_top_builddir}/omnithread/.libs"
24810 ac_config_files="$ac_config_files omnithread/Makefile omnithread/gnuradio/Makefile omnithread/gnuradio-omnithread.pc"
24816 if test $passed = no; then
24817 if test x$enable_omnithread = xyes; then
24818 as_fn_error "Component omnithread has errors; stopping." "$LINENO" 5
24820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component omnithread." >&5
24821 $as_echo "Not building component omnithread." >&6; }
24824 if test $passed = with; then
24825 with_dirs="$with_dirs omnithread"
24827 if test "x${omnithread_INCLUDES}" != "x"; then
24828 if test "x$with_INCLUDES" = "x"; then
24829 with_INCLUDES="${omnithread_INCLUDES}"
24831 with_INCLUDES="${omnithread_INCLUDES}"" ""$with_INCLUDES"
24833 omnithread_INCLUDES=
24837 if test "x${omnithread_SWIG_INCLUDES}" != "x"; then
24838 if test "x$with_SWIG_INCLUDES" = "x"; then
24839 with_SWIG_INCLUDES="${omnithread_SWIG_INCLUDES}"
24841 with_SWIG_INCLUDES="${omnithread_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
24843 omnithread_SWIG_INCLUDES=
24847 if test "x${omnithread_PYDIRPATH}" != "x"; then
24848 if test "x$with_PYDIRPATH" = "x"; then
24849 with_PYDIRPATH="${omnithread_PYDIRPATH}"
24851 with_PYDIRPATH="${omnithread_PYDIRPATH}"":""$with_PYDIRPATH"
24853 omnithread_PYDIRPATH=
24857 if test "x${omnithread_SWIGDIRPATH}" != "x"; then
24858 if test "x$with_SWIGDIRPATH" = "x"; then
24859 with_SWIGDIRPATH="${omnithread_SWIGDIRPATH}"
24861 with_SWIGDIRPATH="${omnithread_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
24863 omnithread_SWIGDIRPATH=
24867 if test "x${omnithread_LIBDIRPATH}" != "x"; then
24868 if test "x$with_LIBDIRPATH" = "x"; then
24869 with_LIBDIRPATH="${omnithread_LIBDIRPATH}"
24871 with_LIBDIRPATH="${omnithread_LIBDIRPATH}"":""$with_LIBDIRPATH"
24873 omnithread_LIBDIRPATH=
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component omnithread will be included from a pre-installed library and includes." >&5
24877 $as_echo "Component omnithread will be included from a pre-installed library and includes." >&6; }
24878 omnithread_with=yes
24881 if test x$enable_omnithread != xno; then
24883 build_dirs="$build_dirs omnithread"
24884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component omnithread passed configuration checks; building." >&5
24885 $as_echo "Component omnithread passed configuration checks; building." >&6; }
24888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component omnithread passed configuration checks; but not building." >&5
24889 $as_echo "Component omnithread passed configuration checks; but not building." >&6; }
24893 if test $passed = no; then
24894 skipped_dirs="$skipped_dirs omnithread"
24895 omnithread_skipped=yes
24897 omnithread_skipped=no
24910 # Check whether --enable-gcell was given.
24911 if test "${enable_gcell+set}" = set; then :
24912 enableval=$enable_gcell;
24915 enable_gcell=$enable_all_components
24916 if test x$enable_all_components = xno; then
24926 if test $passed != no; then
24927 if test $passed = yes; then
24928 if test x$omnithread_skipped = xyes; then
24929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gcell requires omnithread, which is not being built or specified via pre-installed files." >&5
24930 $as_echo "Component gcell requires omnithread, which is not being built or specified via pre-installed files." >&6; }
24934 if test x$omnithread_with = xno; then
24935 as_fn_error "Component gcell requires omnithread to be included as --with-omnithread[=arg]" "$LINENO" 5
24941 if test $passed = yes; then
24942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether host_cpu is powerpc*" >&5
24943 $as_echo_n "checking whether host_cpu is powerpc*... " >&6; }
24944 case "$host_cpu" in
24946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24947 $as_echo "yes" >&6; }
24951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24952 $as_echo "no" >&6; }
24956 # Extract the first word of "spu-gcc", so it can be a program name with args.
24957 set dummy spu-gcc; ac_word=$2
24958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24959 $as_echo_n "checking for $ac_word... " >&6; }
24960 if test "${ac_cv_prog_SPU_GCC_PROG+set}" = set; then :
24961 $as_echo_n "(cached) " >&6
24963 if test -n "$SPU_GCC_PROG"; then
24964 ac_cv_prog_SPU_GCC_PROG="$SPU_GCC_PROG" # Let the user override the test.
24966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24967 for as_dir in $PATH
24970 test -z "$as_dir" && as_dir=.
24971 for ac_exec_ext in '' $ac_executable_extensions; do
24972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24973 ac_cv_prog_SPU_GCC_PROG="yes"
24974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24981 test -z "$ac_cv_prog_SPU_GCC_PROG" && ac_cv_prog_SPU_GCC_PROG="no"
24984 SPU_GCC_PROG=$ac_cv_prog_SPU_GCC_PROG
24985 if test -n "$SPU_GCC_PROG"; then
24986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPU_GCC_PROG" >&5
24987 $as_echo "$SPU_GCC_PROG" >&6; }
24989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24990 $as_echo "no" >&6; }
24994 if test $SPU_GCC_PROG = no; then
24999 if test $passed != with; then
25000 gcell_INCLUDES="-I\${abs_top_srcdir}/gcell/include"
25001 gcell_LA="\${abs_top_builddir}/gcell/lib/libgcell.la"
25002 gcell_spu_INCLUDES="-I\${abs_top_srcdir}/gcell/include"
25003 gcell_spu_LA="\${abs_top_builddir}/gcell/lib/spu/libgcell_spu.a"
25009 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"
25015 if test $passed = no; then
25016 if test x$enable_gcell = xyes; then
25017 as_fn_error "Component gcell has errors; stopping." "$LINENO" 5
25019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gcell." >&5
25020 $as_echo "Not building component gcell." >&6; }
25023 if test $passed = with; then
25024 with_dirs="$with_dirs gcell"
25026 if test "x${gcell_INCLUDES}" != "x"; then
25027 if test "x$with_INCLUDES" = "x"; then
25028 with_INCLUDES="${gcell_INCLUDES}"
25030 with_INCLUDES="${gcell_INCLUDES}"" ""$with_INCLUDES"
25036 if test "x${gcell_SWIG_INCLUDES}" != "x"; then
25037 if test "x$with_SWIG_INCLUDES" = "x"; then
25038 with_SWIG_INCLUDES="${gcell_SWIG_INCLUDES}"
25040 with_SWIG_INCLUDES="${gcell_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
25042 gcell_SWIG_INCLUDES=
25046 if test "x${gcell_PYDIRPATH}" != "x"; then
25047 if test "x$with_PYDIRPATH" = "x"; then
25048 with_PYDIRPATH="${gcell_PYDIRPATH}"
25050 with_PYDIRPATH="${gcell_PYDIRPATH}"":""$with_PYDIRPATH"
25056 if test "x${gcell_SWIGDIRPATH}" != "x"; then
25057 if test "x$with_SWIGDIRPATH" = "x"; then
25058 with_SWIGDIRPATH="${gcell_SWIGDIRPATH}"
25060 with_SWIGDIRPATH="${gcell_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
25066 if test "x${gcell_LIBDIRPATH}" != "x"; then
25067 if test "x$with_LIBDIRPATH" = "x"; then
25068 with_LIBDIRPATH="${gcell_LIBDIRPATH}"
25070 with_LIBDIRPATH="${gcell_LIBDIRPATH}"":""$with_LIBDIRPATH"
25075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gcell will be included from a pre-installed library and includes." >&5
25076 $as_echo "Component gcell will be included from a pre-installed library and includes." >&6; }
25080 if test x$enable_gcell != xno; then
25082 build_dirs="$build_dirs gcell"
25083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gcell passed configuration checks; building." >&5
25084 $as_echo "Component gcell passed configuration checks; building." >&6; }
25087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gcell passed configuration checks; but not building." >&5
25088 $as_echo "Component gcell passed configuration checks; but not building." >&6; }
25092 if test $passed = no; then
25093 skipped_dirs="$skipped_dirs gcell"
25110 # Check whether --enable-gnuradio-core was given.
25111 if test "${enable_gnuradio_core+set}" = set; then :
25112 enableval=$enable_gnuradio_core;
25115 enable_gnuradio_core=$enable_all_components
25116 if test x$enable_all_components = xno; then
25126 if test x = x; then
25127 pc_comp_name="gnuradio-core"
25133 # Check whether --with-gnuradio-core was given.
25134 if test "${with_gnuradio_core+set}" = set; then :
25135 withval=$with_gnuradio_core; if test "x$withval" != "xyes"; then
25136 with_gnuradio_core_val=$withval
25137 with_gnuradio_core=yes
25141 if test x$with_gnuradio_core = xyes; then
25142 if test x$enable_gnuradio_core = xyes; then
25143 as_fn_error "Component gnuradio-core: Cannot use both --enable and --with" "$LINENO" 5
25146 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
25148 l_PKG_CONFIG_PATH=$with_gnuradio_core_val
25149 if test "x$l_PKG_CONFIG_PATH" != "x"; then
25150 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
25152 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
25153 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
25157 if test -n "$PKG_CONFIG" && \
25158 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
25159 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
25161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25162 test $ac_status = 0; }; then
25163 passed=with; check1=yes
25167 if test "x$l_PKG_CONFIG_PATH" != "x"; then
25168 if test "x$s_PKG_CONFIG_PATH" != "x"; then
25169 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
25170 if test -n "$PKG_CONFIG" && \
25171 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
25172 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
25174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25175 test $ac_status = 0; }; then
25182 if test $passed != with; then
25183 as_fn_error "Component gnuradio-core: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." "$LINENO" 5
25185 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
25189 gnuradio_core_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
25190 gnuradio_core_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
25191 gnuradio_core_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
25193 if test x$check1 = xyes; then
25194 if test "x$s_PKG_CONFIG_PATH" != "x"; then
25195 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
25200 gnuradio_core_SWIGDIRPATH="$gnuradio_core_INCLUDEDIR/swig"
25201 gnuradio_core_I="$gnuradio_core_SWIGDIRPATH/gnuradio.i"
25202 gnuradio_core_SWIG_INCLUDES="-I$gnuradio_core_SWIGDIRPATH"
25203 gnuradio_core_PYDIRPATH=$pythondir
25211 if test $passed != no; then
25212 if test $passed = yes; then
25213 if test x$gruel_skipped = xyes; then
25214 { $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
25215 $as_echo "Component gnuradio-core requires gruel, which is not being built or specified via pre-installed files." >&6; }
25219 if test x$gruel_with = xno; then
25220 as_fn_error "Component gnuradio-core requires gruel to be included as --with-gruel[=arg]" "$LINENO" 5
25226 if test $passed != no; then
25227 if test $passed = yes; then
25228 if test x$omnithread_skipped = xyes; then
25229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gnuradio-core requires omnithread, which is not being built or specified via pre-installed files." >&5
25230 $as_echo "Component gnuradio-core requires omnithread, which is not being built or specified via pre-installed files." >&6; }
25234 if test x$omnithread_with = xno; then
25235 as_fn_error "Component gnuradio-core requires omnithread to be included as --with-omnithread[=arg]" "$LINENO" 5
25241 if test $passed = yes; then
25248 # Check whether --with-cblas was given.
25249 if test "${with_cblas+set}" = set; then :
25250 withval=$with_cblas;
25253 case $with_cblas in
25255 no) acx_cblas_ok=disable ;;
25256 -* | */* | *.a | *.so | *.so.* | *.o) CBLAS_LIBS="$with_cblas" ;;
25257 *) CBLAS_LIBS="-l$with_cblas" ;;
25261 acx_cblas_save_LIBS="$LIBS"
25262 LIBS="$LIBS $FLIBS"
25264 # First, check CBLAS_LIBS environment variable
25265 if test $acx_cblas_ok = no; then
25266 if test "x$CBLAS_LIBS" != x; then
25267 save_LIBS="$LIBS"; LIBS="$CBLAS_LIBS $LIBS"
25268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in $CBLAS_LIBS" >&5
25269 $as_echo_n "checking for cblas_sgemm in $CBLAS_LIBS... " >&6; }
25270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25271 /* end confdefs.h. */
25273 /* Override any GCC internal prototype to avoid an error.
25274 Use char because int might match the return type of a GCC
25275 builtin and then its argument prototype would still apply. */
25279 char cblas_sgemm ();
25283 return cblas_sgemm ();
25288 if ac_fn_c_try_link "$LINENO"; then :
25293 rm -f core conftest.err conftest.$ac_objext \
25294 conftest$ac_exeext conftest.$ac_ext
25295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cblas_ok" >&5
25296 $as_echo "$acx_cblas_ok" >&6; }
25301 # CBLAS linked to by default? (happens on some supercomputers)
25302 if test $acx_cblas_ok = no; then
25303 save_LIBS="$LIBS"; LIBS="$LIBS"
25304 ac_fn_c_check_func "$LINENO" "cblas_sgemm" "ac_cv_func_cblas_sgemm"
25305 if test "x$ac_cv_func_cblas_sgemm" = x""yes; then :
25312 # CBLAS in ATLAS library? (http://math-atlas.sourceforge.net/)
25313 if test $acx_cblas_ok = no; then
25314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATL_xerbla in -latlas" >&5
25315 $as_echo_n "checking for ATL_xerbla in -latlas... " >&6; }
25316 if test "${ac_cv_lib_atlas_ATL_xerbla+set}" = set; then :
25317 $as_echo_n "(cached) " >&6
25319 ac_check_lib_save_LIBS=$LIBS
25320 LIBS="-latlas -latlas $LIBS"
25321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25322 /* end confdefs.h. */
25324 /* Override any GCC internal prototype to avoid an error.
25325 Use char because int might match the return type of a GCC
25326 builtin and then its argument prototype would still apply. */
25330 char ATL_xerbla ();
25334 return ATL_xerbla ();
25339 if ac_fn_c_try_link "$LINENO"; then :
25340 ac_cv_lib_atlas_ATL_xerbla=yes
25342 ac_cv_lib_atlas_ATL_xerbla=no
25344 rm -f core conftest.err conftest.$ac_objext \
25345 conftest$ac_exeext conftest.$ac_ext
25346 LIBS=$ac_check_lib_save_LIBS
25348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atlas_ATL_xerbla" >&5
25349 $as_echo "$ac_cv_lib_atlas_ATL_xerbla" >&6; }
25350 if test "x$ac_cv_lib_atlas_ATL_xerbla" = x""yes; then :
25351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_dgemm in -lcblas" >&5
25352 $as_echo_n "checking for cblas_dgemm in -lcblas... " >&6; }
25353 if test "${ac_cv_lib_cblas_cblas_dgemm+set}" = set; then :
25354 $as_echo_n "(cached) " >&6
25356 ac_check_lib_save_LIBS=$LIBS
25357 LIBS="-lcblas -latlas $LIBS"
25358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25359 /* end confdefs.h. */
25361 /* Override any GCC internal prototype to avoid an error.
25362 Use char because int might match the return type of a GCC
25363 builtin and then its argument prototype would still apply. */
25367 char cblas_dgemm ();
25371 return cblas_dgemm ();
25376 if ac_fn_c_try_link "$LINENO"; then :
25377 ac_cv_lib_cblas_cblas_dgemm=yes
25379 ac_cv_lib_cblas_cblas_dgemm=no
25381 rm -f core conftest.err conftest.$ac_objext \
25382 conftest$ac_exeext conftest.$ac_ext
25383 LIBS=$ac_check_lib_save_LIBS
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cblas_cblas_dgemm" >&5
25386 $as_echo "$ac_cv_lib_cblas_cblas_dgemm" >&6; }
25387 if test "x$ac_cv_lib_cblas_cblas_dgemm" = x""yes; then :
25389 CBLAS_LIBS="-lcblas -latlas"
25396 # CBLAS in ATLAS library in /usr/lib64/atlas (if not cross-compiling)
25397 if test $acx_cblas_ok = no && test "$cross_compiling" = no; then
25398 unset ac_cv_lib_atlas_ATL_xerbla
25399 unset ac_cv_lib_cblas_cblas_dgemm
25400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATL_xerbla in -latlas" >&5
25401 $as_echo_n "checking for ATL_xerbla in -latlas... " >&6; }
25402 if test "${ac_cv_lib_atlas_ATL_xerbla+set}" = set; then :
25403 $as_echo_n "(cached) " >&6
25405 ac_check_lib_save_LIBS=$LIBS
25406 LIBS="-latlas -L/usr/lib64/atlas -latlas $LIBS"
25407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25408 /* end confdefs.h. */
25410 /* Override any GCC internal prototype to avoid an error.
25411 Use char because int might match the return type of a GCC
25412 builtin and then its argument prototype would still apply. */
25416 char ATL_xerbla ();
25420 return ATL_xerbla ();
25425 if ac_fn_c_try_link "$LINENO"; then :
25426 ac_cv_lib_atlas_ATL_xerbla=yes
25428 ac_cv_lib_atlas_ATL_xerbla=no
25430 rm -f core conftest.err conftest.$ac_objext \
25431 conftest$ac_exeext conftest.$ac_ext
25432 LIBS=$ac_check_lib_save_LIBS
25434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atlas_ATL_xerbla" >&5
25435 $as_echo "$ac_cv_lib_atlas_ATL_xerbla" >&6; }
25436 if test "x$ac_cv_lib_atlas_ATL_xerbla" = x""yes; then :
25437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_dgemm in -lcblas" >&5
25438 $as_echo_n "checking for cblas_dgemm in -lcblas... " >&6; }
25439 if test "${ac_cv_lib_cblas_cblas_dgemm+set}" = set; then :
25440 $as_echo_n "(cached) " >&6
25442 ac_check_lib_save_LIBS=$LIBS
25443 LIBS="-lcblas -L/usr/lib64/atlas -latlas $LIBS"
25444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25445 /* end confdefs.h. */
25447 /* Override any GCC internal prototype to avoid an error.
25448 Use char because int might match the return type of a GCC
25449 builtin and then its argument prototype would still apply. */
25453 char cblas_dgemm ();
25457 return cblas_dgemm ();
25462 if ac_fn_c_try_link "$LINENO"; then :
25463 ac_cv_lib_cblas_cblas_dgemm=yes
25465 ac_cv_lib_cblas_cblas_dgemm=no
25467 rm -f core conftest.err conftest.$ac_objext \
25468 conftest$ac_exeext conftest.$ac_ext
25469 LIBS=$ac_check_lib_save_LIBS
25471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cblas_cblas_dgemm" >&5
25472 $as_echo "$ac_cv_lib_cblas_cblas_dgemm" >&6; }
25473 if test "x$ac_cv_lib_cblas_cblas_dgemm" = x""yes; then :
25475 CBLAS_LIBS="-L/usr/lib64/atlas -lcblas -latlas"
25482 # CBLAS in ATLAS library in /usr/lib/atlas (if not cross-compiling)
25483 if test $acx_cblas_ok = no && test "$cross_compiling" = no; then
25484 unset ac_cv_lib_atlas_ATL_xerbla
25485 unset ac_cv_lib_cblas_cblas_dgemm
25486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATL_xerbla in -latlas" >&5
25487 $as_echo_n "checking for ATL_xerbla in -latlas... " >&6; }
25488 if test "${ac_cv_lib_atlas_ATL_xerbla+set}" = set; then :
25489 $as_echo_n "(cached) " >&6
25491 ac_check_lib_save_LIBS=$LIBS
25492 LIBS="-latlas -L/usr/lib/atlas -latlas $LIBS"
25493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25494 /* end confdefs.h. */
25496 /* Override any GCC internal prototype to avoid an error.
25497 Use char because int might match the return type of a GCC
25498 builtin and then its argument prototype would still apply. */
25502 char ATL_xerbla ();
25506 return ATL_xerbla ();
25511 if ac_fn_c_try_link "$LINENO"; then :
25512 ac_cv_lib_atlas_ATL_xerbla=yes
25514 ac_cv_lib_atlas_ATL_xerbla=no
25516 rm -f core conftest.err conftest.$ac_objext \
25517 conftest$ac_exeext conftest.$ac_ext
25518 LIBS=$ac_check_lib_save_LIBS
25520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atlas_ATL_xerbla" >&5
25521 $as_echo "$ac_cv_lib_atlas_ATL_xerbla" >&6; }
25522 if test "x$ac_cv_lib_atlas_ATL_xerbla" = x""yes; then :
25523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_dgemm in -lcblas" >&5
25524 $as_echo_n "checking for cblas_dgemm in -lcblas... " >&6; }
25525 if test "${ac_cv_lib_cblas_cblas_dgemm+set}" = set; then :
25526 $as_echo_n "(cached) " >&6
25528 ac_check_lib_save_LIBS=$LIBS
25529 LIBS="-lcblas -L/usr/lib/atlas -latlas $LIBS"
25530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25531 /* end confdefs.h. */
25533 /* Override any GCC internal prototype to avoid an error.
25534 Use char because int might match the return type of a GCC
25535 builtin and then its argument prototype would still apply. */
25539 char cblas_dgemm ();
25543 return cblas_dgemm ();
25548 if ac_fn_c_try_link "$LINENO"; then :
25549 ac_cv_lib_cblas_cblas_dgemm=yes
25551 ac_cv_lib_cblas_cblas_dgemm=no
25553 rm -f core conftest.err conftest.$ac_objext \
25554 conftest$ac_exeext conftest.$ac_ext
25555 LIBS=$ac_check_lib_save_LIBS
25557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cblas_cblas_dgemm" >&5
25558 $as_echo "$ac_cv_lib_cblas_cblas_dgemm" >&6; }
25559 if test "x$ac_cv_lib_cblas_cblas_dgemm" = x""yes; then :
25561 CBLAS_LIBS="-L/usr/lib/atlas -lcblas -latlas"
25569 # CBLAS in PhiPACK libraries? (requires generic BLAS lib, too)
25570 if test $acx_cblas_ok = no; then
25571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lcblas" >&5
25572 $as_echo_n "checking for cblas_sgemm in -lcblas... " >&6; }
25573 if test "${ac_cv_lib_cblas_cblas_sgemm+set}" = set; then :
25574 $as_echo_n "(cached) " >&6
25576 ac_check_lib_save_LIBS=$LIBS
25577 LIBS="-lcblas $LIBS"
25578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25579 /* end confdefs.h. */
25581 /* Override any GCC internal prototype to avoid an error.
25582 Use char because int might match the return type of a GCC
25583 builtin and then its argument prototype would still apply. */
25587 char cblas_sgemm ();
25591 return cblas_sgemm ();
25596 if ac_fn_c_try_link "$LINENO"; then :
25597 ac_cv_lib_cblas_cblas_sgemm=yes
25599 ac_cv_lib_cblas_cblas_sgemm=no
25601 rm -f core conftest.err conftest.$ac_objext \
25602 conftest$ac_exeext conftest.$ac_ext
25603 LIBS=$ac_check_lib_save_LIBS
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cblas_cblas_sgemm" >&5
25606 $as_echo "$ac_cv_lib_cblas_cblas_sgemm" >&6; }
25607 if test "x$ac_cv_lib_cblas_cblas_sgemm" = x""yes; then :
25608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_dgemm in -ldgemm" >&5
25609 $as_echo_n "checking for cblas_dgemm in -ldgemm... " >&6; }
25610 if test "${ac_cv_lib_dgemm_cblas_dgemm+set}" = set; then :
25611 $as_echo_n "(cached) " >&6
25613 ac_check_lib_save_LIBS=$LIBS
25614 LIBS="-ldgemm -lblas $LIBS"
25615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25616 /* end confdefs.h. */
25618 /* Override any GCC internal prototype to avoid an error.
25619 Use char because int might match the return type of a GCC
25620 builtin and then its argument prototype would still apply. */
25624 char cblas_dgemm ();
25628 return cblas_dgemm ();
25633 if ac_fn_c_try_link "$LINENO"; then :
25634 ac_cv_lib_dgemm_cblas_dgemm=yes
25636 ac_cv_lib_dgemm_cblas_dgemm=no
25638 rm -f core conftest.err conftest.$ac_objext \
25639 conftest$ac_exeext conftest.$ac_ext
25640 LIBS=$ac_check_lib_save_LIBS
25642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgemm_cblas_dgemm" >&5
25643 $as_echo "$ac_cv_lib_dgemm_cblas_dgemm" >&6; }
25644 if test "x$ac_cv_lib_dgemm_cblas_dgemm" = x""yes; then :
25645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lsgemm" >&5
25646 $as_echo_n "checking for cblas_sgemm in -lsgemm... " >&6; }
25647 if test "${ac_cv_lib_sgemm_cblas_sgemm+set}" = set; then :
25648 $as_echo_n "(cached) " >&6
25650 ac_check_lib_save_LIBS=$LIBS
25651 LIBS="-lsgemm -lblas $LIBS"
25652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25653 /* end confdefs.h. */
25655 /* Override any GCC internal prototype to avoid an error.
25656 Use char because int might match the return type of a GCC
25657 builtin and then its argument prototype would still apply. */
25661 char cblas_sgemm ();
25665 return cblas_sgemm ();
25670 if ac_fn_c_try_link "$LINENO"; then :
25671 ac_cv_lib_sgemm_cblas_sgemm=yes
25673 ac_cv_lib_sgemm_cblas_sgemm=no
25675 rm -f core conftest.err conftest.$ac_objext \
25676 conftest$ac_exeext conftest.$ac_ext
25677 LIBS=$ac_check_lib_save_LIBS
25679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sgemm_cblas_sgemm" >&5
25680 $as_echo "$ac_cv_lib_sgemm_cblas_sgemm" >&6; }
25681 if test "x$ac_cv_lib_sgemm_cblas_sgemm" = x""yes; then :
25682 acx_cblas_ok=yes; CBLAS_LIBS="-lsgemm -ldgemm -lblas"
25691 # BLAS in Intel MKL library?
25692 if test $acx_cblas_ok = no; then
25693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lmkl" >&5
25694 $as_echo_n "checking for cblas_sgemm in -lmkl... " >&6; }
25695 if test "${ac_cv_lib_mkl_cblas_sgemm+set}" = set; then :
25696 $as_echo_n "(cached) " >&6
25698 ac_check_lib_save_LIBS=$LIBS
25700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25701 /* end confdefs.h. */
25703 /* Override any GCC internal prototype to avoid an error.
25704 Use char because int might match the return type of a GCC
25705 builtin and then its argument prototype would still apply. */
25709 char cblas_sgemm ();
25713 return cblas_sgemm ();
25718 if ac_fn_c_try_link "$LINENO"; then :
25719 ac_cv_lib_mkl_cblas_sgemm=yes
25721 ac_cv_lib_mkl_cblas_sgemm=no
25723 rm -f core conftest.err conftest.$ac_objext \
25724 conftest$ac_exeext conftest.$ac_ext
25725 LIBS=$ac_check_lib_save_LIBS
25727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mkl_cblas_sgemm" >&5
25728 $as_echo "$ac_cv_lib_mkl_cblas_sgemm" >&6; }
25729 if test "x$ac_cv_lib_mkl_cblas_sgemm" = x""yes; then :
25730 acx_cblas_ok=yes;CBLAS_LIBS="-lmkl"
25735 # CBLAS in Apple vecLib library?
25736 if test $acx_cblas_ok = no; then
25737 save_LIBS="$LIBS"; LIBS="-framework vecLib $LIBS"
25738 ac_fn_c_check_func "$LINENO" "cblas_sgemm" "ac_cv_func_cblas_sgemm"
25739 if test "x$ac_cv_func_cblas_sgemm" = x""yes; then :
25740 acx_cblas_ok=yes;CBLAS_LIBS="-framework vecLib"
25746 # CBLAS in Alpha CXML library?
25747 if test $acx_cblas_ok = no; then
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lcxml" >&5
25749 $as_echo_n "checking for cblas_sgemm in -lcxml... " >&6; }
25750 if test "${ac_cv_lib_cxml_cblas_sgemm+set}" = set; then :
25751 $as_echo_n "(cached) " >&6
25753 ac_check_lib_save_LIBS=$LIBS
25754 LIBS="-lcxml $LIBS"
25755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25756 /* end confdefs.h. */
25758 /* Override any GCC internal prototype to avoid an error.
25759 Use char because int might match the return type of a GCC
25760 builtin and then its argument prototype would still apply. */
25764 char cblas_sgemm ();
25768 return cblas_sgemm ();
25773 if ac_fn_c_try_link "$LINENO"; then :
25774 ac_cv_lib_cxml_cblas_sgemm=yes
25776 ac_cv_lib_cxml_cblas_sgemm=no
25778 rm -f core conftest.err conftest.$ac_objext \
25779 conftest$ac_exeext conftest.$ac_ext
25780 LIBS=$ac_check_lib_save_LIBS
25782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cxml_cblas_sgemm" >&5
25783 $as_echo "$ac_cv_lib_cxml_cblas_sgemm" >&6; }
25784 if test "x$ac_cv_lib_cxml_cblas_sgemm" = x""yes; then :
25785 acx_cblas_ok=yes;CBLAS_LIBS="-lcxml"
25790 # CBLAS in Alpha DXML library? (now called CXML, see above)
25791 if test $acx_cblas_ok = no; then
25792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -ldxml" >&5
25793 $as_echo_n "checking for cblas_sgemm in -ldxml... " >&6; }
25794 if test "${ac_cv_lib_dxml_cblas_sgemm+set}" = set; then :
25795 $as_echo_n "(cached) " >&6
25797 ac_check_lib_save_LIBS=$LIBS
25798 LIBS="-ldxml $LIBS"
25799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25800 /* end confdefs.h. */
25802 /* Override any GCC internal prototype to avoid an error.
25803 Use char because int might match the return type of a GCC
25804 builtin and then its argument prototype would still apply. */
25808 char cblas_sgemm ();
25812 return cblas_sgemm ();
25817 if ac_fn_c_try_link "$LINENO"; then :
25818 ac_cv_lib_dxml_cblas_sgemm=yes
25820 ac_cv_lib_dxml_cblas_sgemm=no
25822 rm -f core conftest.err conftest.$ac_objext \
25823 conftest$ac_exeext conftest.$ac_ext
25824 LIBS=$ac_check_lib_save_LIBS
25826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dxml_cblas_sgemm" >&5
25827 $as_echo "$ac_cv_lib_dxml_cblas_sgemm" >&6; }
25828 if test "x$ac_cv_lib_dxml_cblas_sgemm" = x""yes; then :
25829 acx_cblas_ok=yes;CBLAS_LIBS="-ldxml"
25834 # CBLAS in Sun Performance library?
25835 if test $acx_cblas_ok = no; then
25836 if test "x$GCC" != xyes; then # only works with Sun CC
25837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosp in -lsunmath" >&5
25838 $as_echo_n "checking for acosp in -lsunmath... " >&6; }
25839 if test "${ac_cv_lib_sunmath_acosp+set}" = set; then :
25840 $as_echo_n "(cached) " >&6
25842 ac_check_lib_save_LIBS=$LIBS
25843 LIBS="-lsunmath $LIBS"
25844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25845 /* end confdefs.h. */
25847 /* Override any GCC internal prototype to avoid an error.
25848 Use char because int might match the return type of a GCC
25849 builtin and then its argument prototype would still apply. */
25862 if ac_fn_c_try_link "$LINENO"; then :
25863 ac_cv_lib_sunmath_acosp=yes
25865 ac_cv_lib_sunmath_acosp=no
25867 rm -f core conftest.err conftest.$ac_objext \
25868 conftest$ac_exeext conftest.$ac_ext
25869 LIBS=$ac_check_lib_save_LIBS
25871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sunmath_acosp" >&5
25872 $as_echo "$ac_cv_lib_sunmath_acosp" >&6; }
25873 if test "x$ac_cv_lib_sunmath_acosp" = x""yes; then :
25874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lsunperf" >&5
25875 $as_echo_n "checking for cblas_sgemm in -lsunperf... " >&6; }
25876 if test "${ac_cv_lib_sunperf_cblas_sgemm+set}" = set; then :
25877 $as_echo_n "(cached) " >&6
25879 ac_check_lib_save_LIBS=$LIBS
25880 LIBS="-lsunperf -lsunmath $LIBS"
25881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25882 /* end confdefs.h. */
25884 /* Override any GCC internal prototype to avoid an error.
25885 Use char because int might match the return type of a GCC
25886 builtin and then its argument prototype would still apply. */
25890 char cblas_sgemm ();
25894 return cblas_sgemm ();
25899 if ac_fn_c_try_link "$LINENO"; then :
25900 ac_cv_lib_sunperf_cblas_sgemm=yes
25902 ac_cv_lib_sunperf_cblas_sgemm=no
25904 rm -f core conftest.err conftest.$ac_objext \
25905 conftest$ac_exeext conftest.$ac_ext
25906 LIBS=$ac_check_lib_save_LIBS
25908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sunperf_cblas_sgemm" >&5
25909 $as_echo "$ac_cv_lib_sunperf_cblas_sgemm" >&6; }
25910 if test "x$ac_cv_lib_sunperf_cblas_sgemm" = x""yes; then :
25911 CBLAS_LIBS="-xlic_lib=sunperf -lsunmath"
25920 # CBLAS in SCSL library? (SGI/Cray Scientific Library)
25921 if test $acx_cblas_ok = no; then
25922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lscs" >&5
25923 $as_echo_n "checking for cblas_sgemm in -lscs... " >&6; }
25924 if test "${ac_cv_lib_scs_cblas_sgemm+set}" = set; then :
25925 $as_echo_n "(cached) " >&6
25927 ac_check_lib_save_LIBS=$LIBS
25929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25930 /* end confdefs.h. */
25932 /* Override any GCC internal prototype to avoid an error.
25933 Use char because int might match the return type of a GCC
25934 builtin and then its argument prototype would still apply. */
25938 char cblas_sgemm ();
25942 return cblas_sgemm ();
25947 if ac_fn_c_try_link "$LINENO"; then :
25948 ac_cv_lib_scs_cblas_sgemm=yes
25950 ac_cv_lib_scs_cblas_sgemm=no
25952 rm -f core conftest.err conftest.$ac_objext \
25953 conftest$ac_exeext conftest.$ac_ext
25954 LIBS=$ac_check_lib_save_LIBS
25956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_scs_cblas_sgemm" >&5
25957 $as_echo "$ac_cv_lib_scs_cblas_sgemm" >&6; }
25958 if test "x$ac_cv_lib_scs_cblas_sgemm" = x""yes; then :
25959 acx_cblas_ok=yes; CBLAS_LIBS="-lscs"
25964 # CBLAS in SGIMATH library?
25965 if test $acx_cblas_ok = no; then
25966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lcomplib.sgimath" >&5
25967 $as_echo_n "checking for cblas_sgemm in -lcomplib.sgimath... " >&6; }
25968 if test "${ac_cv_lib_complib_sgimath_cblas_sgemm+set}" = set; then :
25969 $as_echo_n "(cached) " >&6
25971 ac_check_lib_save_LIBS=$LIBS
25972 LIBS="-lcomplib.sgimath $LIBS"
25973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25974 /* end confdefs.h. */
25976 /* Override any GCC internal prototype to avoid an error.
25977 Use char because int might match the return type of a GCC
25978 builtin and then its argument prototype would still apply. */
25982 char cblas_sgemm ();
25986 return cblas_sgemm ();
25991 if ac_fn_c_try_link "$LINENO"; then :
25992 ac_cv_lib_complib_sgimath_cblas_sgemm=yes
25994 ac_cv_lib_complib_sgimath_cblas_sgemm=no
25996 rm -f core conftest.err conftest.$ac_objext \
25997 conftest$ac_exeext conftest.$ac_ext
25998 LIBS=$ac_check_lib_save_LIBS
26000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_complib_sgimath_cblas_sgemm" >&5
26001 $as_echo "$ac_cv_lib_complib_sgimath_cblas_sgemm" >&6; }
26002 if test "x$ac_cv_lib_complib_sgimath_cblas_sgemm" = x""yes; then :
26003 acx_cblas_ok=yes; CBLAS_LIBS="-lcomplib.sgimath"
26008 # CBLAS in IBM ESSL library? (requires generic CBLAS lib, too)
26009 if test $acx_cblas_ok = no; then
26010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lcblas" >&5
26011 $as_echo_n "checking for cblas_sgemm in -lcblas... " >&6; }
26012 if test "${ac_cv_lib_cblas_cblas_sgemm+set}" = set; then :
26013 $as_echo_n "(cached) " >&6
26015 ac_check_lib_save_LIBS=$LIBS
26016 LIBS="-lcblas $LIBS"
26017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26018 /* end confdefs.h. */
26020 /* Override any GCC internal prototype to avoid an error.
26021 Use char because int might match the return type of a GCC
26022 builtin and then its argument prototype would still apply. */
26026 char cblas_sgemm ();
26030 return cblas_sgemm ();
26035 if ac_fn_c_try_link "$LINENO"; then :
26036 ac_cv_lib_cblas_cblas_sgemm=yes
26038 ac_cv_lib_cblas_cblas_sgemm=no
26040 rm -f core conftest.err conftest.$ac_objext \
26041 conftest$ac_exeext conftest.$ac_ext
26042 LIBS=$ac_check_lib_save_LIBS
26044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cblas_cblas_sgemm" >&5
26045 $as_echo "$ac_cv_lib_cblas_cblas_sgemm" >&6; }
26046 if test "x$ac_cv_lib_cblas_cblas_sgemm" = x""yes; then :
26047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lessl" >&5
26048 $as_echo_n "checking for cblas_sgemm in -lessl... " >&6; }
26049 if test "${ac_cv_lib_essl_cblas_sgemm+set}" = set; then :
26050 $as_echo_n "(cached) " >&6
26052 ac_check_lib_save_LIBS=$LIBS
26053 LIBS="-lessl -lblas $FLIBS $LIBS"
26054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26055 /* end confdefs.h. */
26057 /* Override any GCC internal prototype to avoid an error.
26058 Use char because int might match the return type of a GCC
26059 builtin and then its argument prototype would still apply. */
26063 char cblas_sgemm ();
26067 return cblas_sgemm ();
26072 if ac_fn_c_try_link "$LINENO"; then :
26073 ac_cv_lib_essl_cblas_sgemm=yes
26075 ac_cv_lib_essl_cblas_sgemm=no
26077 rm -f core conftest.err conftest.$ac_objext \
26078 conftest$ac_exeext conftest.$ac_ext
26079 LIBS=$ac_check_lib_save_LIBS
26081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_essl_cblas_sgemm" >&5
26082 $as_echo "$ac_cv_lib_essl_cblas_sgemm" >&6; }
26083 if test "x$ac_cv_lib_essl_cblas_sgemm" = x""yes; then :
26084 acx_cblas_ok=yes; CBLAS_LIBS="-lessl -lblas"
26091 # Generic CBLAS library?
26092 if test $acx_cblas_ok = no; then
26093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lcblas" >&5
26094 $as_echo_n "checking for cblas_sgemm in -lcblas... " >&6; }
26095 if test "${ac_cv_lib_cblas_cblas_sgemm+set}" = set; then :
26096 $as_echo_n "(cached) " >&6
26098 ac_check_lib_save_LIBS=$LIBS
26099 LIBS="-lcblas $LIBS"
26100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26101 /* end confdefs.h. */
26103 /* Override any GCC internal prototype to avoid an error.
26104 Use char because int might match the return type of a GCC
26105 builtin and then its argument prototype would still apply. */
26109 char cblas_sgemm ();
26113 return cblas_sgemm ();
26118 if ac_fn_c_try_link "$LINENO"; then :
26119 ac_cv_lib_cblas_cblas_sgemm=yes
26121 ac_cv_lib_cblas_cblas_sgemm=no
26123 rm -f core conftest.err conftest.$ac_objext \
26124 conftest$ac_exeext conftest.$ac_ext
26125 LIBS=$ac_check_lib_save_LIBS
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cblas_cblas_sgemm" >&5
26128 $as_echo "$ac_cv_lib_cblas_cblas_sgemm" >&6; }
26129 if test "x$ac_cv_lib_cblas_cblas_sgemm" = x""yes; then :
26130 acx_cblas_ok=yes; CBLAS_LIBS="-lcblas"
26135 # Generic BLAS library?
26136 if test $acx_cblas_ok = no; then
26137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lblas" >&5
26138 $as_echo_n "checking for cblas_sgemm in -lblas... " >&6; }
26139 if test "${ac_cv_lib_blas_cblas_sgemm+set}" = set; then :
26140 $as_echo_n "(cached) " >&6
26142 ac_check_lib_save_LIBS=$LIBS
26143 LIBS="-lblas $LIBS"
26144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26145 /* end confdefs.h. */
26147 /* Override any GCC internal prototype to avoid an error.
26148 Use char because int might match the return type of a GCC
26149 builtin and then its argument prototype would still apply. */
26153 char cblas_sgemm ();
26157 return cblas_sgemm ();
26162 if ac_fn_c_try_link "$LINENO"; then :
26163 ac_cv_lib_blas_cblas_sgemm=yes
26165 ac_cv_lib_blas_cblas_sgemm=no
26167 rm -f core conftest.err conftest.$ac_objext \
26168 conftest$ac_exeext conftest.$ac_ext
26169 LIBS=$ac_check_lib_save_LIBS
26171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blas_cblas_sgemm" >&5
26172 $as_echo "$ac_cv_lib_blas_cblas_sgemm" >&6; }
26173 if test "x$ac_cv_lib_blas_cblas_sgemm" = x""yes; then :
26174 acx_cblas_ok=yes; CBLAS_LIBS="-lblas"
26179 # GSL generic CBLAS library?
26180 if test $acx_cblas_ok = no; then
26181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_sgemm in -lgslcblas" >&5
26182 $as_echo_n "checking for cblas_sgemm in -lgslcblas... " >&6; }
26183 if test "${ac_cv_lib_gslcblas_cblas_sgemm+set}" = set; then :
26184 $as_echo_n "(cached) " >&6
26186 ac_check_lib_save_LIBS=$LIBS
26187 LIBS="-lgslcblas $LIBS"
26188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26189 /* end confdefs.h. */
26191 /* Override any GCC internal prototype to avoid an error.
26192 Use char because int might match the return type of a GCC
26193 builtin and then its argument prototype would still apply. */
26197 char cblas_sgemm ();
26201 return cblas_sgemm ();
26206 if ac_fn_c_try_link "$LINENO"; then :
26207 ac_cv_lib_gslcblas_cblas_sgemm=yes
26209 ac_cv_lib_gslcblas_cblas_sgemm=no
26211 rm -f core conftest.err conftest.$ac_objext \
26212 conftest$ac_exeext conftest.$ac_ext
26213 LIBS=$ac_check_lib_save_LIBS
26215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gslcblas_cblas_sgemm" >&5
26216 $as_echo "$ac_cv_lib_gslcblas_cblas_sgemm" >&6; }
26217 if test "x$ac_cv_lib_gslcblas_cblas_sgemm" = x""yes; then :
26218 acx_cblas_ok=yes; CBLAS_LIBS="-lgslcblas"
26225 LIBS="$acx_cblas_save_LIBS"
26227 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
26228 if test x"$acx_cblas_ok" = xyes; then
26230 $as_echo "#define HAVE_CBLAS 1" >>confdefs.h
26242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSL" >&5
26243 $as_echo_n "checking for GSL... " >&6; }
26245 if test -n "$PKG_CONFIG"; then
26246 if test -n "$GSL_CFLAGS"; then
26247 pkg_cv_GSL_CFLAGS="$GSL_CFLAGS"
26249 if test -n "$PKG_CONFIG" && \
26250 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gsl >= 1.10\""; } >&5
26251 ($PKG_CONFIG --exists --print-errors "gsl >= 1.10") 2>&5
26253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26254 test $ac_status = 0; }; then
26255 pkg_cv_GSL_CFLAGS=`$PKG_CONFIG --cflags "gsl >= 1.10" 2>/dev/null`
26264 if test x$cross_compiling = xyes
26266 if test -n "$PKG_CONFIG"; then
26267 if test -n "$GSL_LIBS"; then
26268 pkg_cv_GSL_LIBS="$GSL_LIBS"
26270 if test -n "$PKG_CONFIG" && \
26271 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gsl >= 1.10\""; } >&5
26272 ($PKG_CONFIG --exists --print-errors "gsl >= 1.10") 2>&5
26274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26275 test $ac_status = 0; }; then
26276 pkg_cv_GSL_LIBS=`$PKG_CONFIG --libs --static "gsl >= 1.10" 2>/dev/null`
26285 for flag in $pkg_cv_GSL_LIBS; do
26287 (-L/lib* | -L/usr/lib* ) ;; # ignore
26288 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
26291 pkg_cv_GSL_LIBS="$_pkg_tmp"
26293 if test -n "$PKG_CONFIG"; then
26294 if test -n "$GSL_LIBS"; then
26295 pkg_cv_GSL_LIBS="$GSL_LIBS"
26297 if test -n "$PKG_CONFIG" && \
26298 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gsl >= 1.10\""; } >&5
26299 ($PKG_CONFIG --exists --print-errors "gsl >= 1.10") 2>&5
26301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26302 test $ac_status = 0; }; then
26303 pkg_cv_GSL_LIBS=`$PKG_CONFIG --libs --static "gsl >= 1.10" 2>/dev/null`
26313 if test -n "$PKG_CONFIG"; then
26314 if test -n "$GSL_INCLUDEDIR"; then
26315 pkg_cv_GSL_INCLUDEDIR="$GSL_INCLUDEDIR"
26317 if test -n "$PKG_CONFIG" && \
26318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gsl >= 1.10\""; } >&5
26319 ($PKG_CONFIG --exists --print-errors "gsl >= 1.10") 2>&5
26321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26322 test $ac_status = 0; }; then
26323 pkg_cv_GSL_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "gsl >= 1.10" 2>/dev/null`
26335 if test $pkg_failed = yes; then
26337 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26338 _pkg_short_errors_supported=yes
26340 _pkg_short_errors_supported=no
26342 if test $_pkg_short_errors_supported = yes; then
26343 GSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gsl >= 1.10"`
26345 GSL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gsl >= 1.10"`
26347 # Put the nasty error message in config.log where it belongs
26348 echo "$GSL_PKG_ERRORS" >&5
26350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26351 $as_echo "no" >&6; }
26352 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gnuradio-core requires package gsl >= 1.10, not found." >&5
26353 $as_echo "gnuradio-core requires package gsl >= 1.10, not found." >&6; }
26354 elif test $pkg_failed = untried; then
26355 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gnuradio-core requires package gsl >= 1.10, not found." >&5
26356 $as_echo "gnuradio-core requires package gsl >= 1.10, not found." >&6; }
26358 GSL_CFLAGS=$pkg_cv_GSL_CFLAGS
26359 GSL_LIBS=$pkg_cv_GSL_LIBS
26360 GSL_INCLUDEDIR=$pkg_cv_GSL_INCLUDEDIR
26363 for flag in $GSL_CFLAGS; do
26365 -I* | -D* | -U*) GSL_CPPFLAGS="$GSL_CPPFLAGS $flag" ;;
26368 pkg_cv_GSL_CPPFLAGS=$GSL_CPPFLAGS
26371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26372 $as_echo "yes" >&6; }
26377 if test $passed != with; then
26378 gnuradio_core_INCLUDES="\
26379 -I\${abs_top_srcdir}/gnuradio-core/src/lib/runtime \
26380 -I\${abs_top_srcdir}/gnuradio-core/src/lib/general \
26381 -I\${abs_top_builddir}/gnuradio-core/src/lib/general \
26382 -I\${abs_top_srcdir}/gnuradio-core/src/lib/gengen \
26383 -I\${abs_top_builddir}/gnuradio-core/src/lib/gengen \
26384 -I\${abs_top_srcdir}/gnuradio-core/src/lib/filter \
26385 -I\${abs_top_builddir}/gnuradio-core/src/lib/filter \
26386 -I\${abs_top_srcdir}/gnuradio-core/src/lib/missing \
26387 -I\${abs_top_srcdir}/gnuradio-core/src/lib/reed-solomon \
26388 -I\${abs_top_srcdir}/gnuradio-core/src/lib/viterbi \
26389 -I\${abs_top_srcdir}/gnuradio-core/src/lib/io \
26390 -I\${abs_top_srcdir}/gnuradio-core/src/lib/g72x \
26391 -I\${abs_top_srcdir}/gnuradio-core/src/lib/swig \
26392 -I\${abs_top_srcdir}/gnuradio-core/src/lib/hier \
26393 -I\${abs_top_builddir}/gnuradio-core/src/lib/swig \
26394 \$(FFTW3F_CFLAGS) \
26396 gnuradio_core_LA="\${abs_top_builddir}/gnuradio-core/src/lib/libgnuradio-core.la"
26397 gnuradio_core_LIBDIRPATH="\${abs_top_builddir}/gnuradio-core/src/lib:\${abs_top_builddir}/gnuradio-core/src/lib/.libs"
26398 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"
26399 gnuradio_core_PYDIRPATH="\${abs_top_srcdir}/gnuradio-core/src/python"
26406 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_prefix.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"
26411 gnuradio_core_with=no
26412 if test $passed = no; then
26413 if test x$enable_gnuradio_core = xyes; then
26414 as_fn_error "Component gnuradio-core has errors; stopping." "$LINENO" 5
26416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gnuradio-core." >&5
26417 $as_echo "Not building component gnuradio-core." >&6; }
26420 if test $passed = with; then
26421 with_dirs="$with_dirs gnuradio-core"
26423 if test "x${gnuradio_core_INCLUDES}" != "x"; then
26424 if test "x$with_INCLUDES" = "x"; then
26425 with_INCLUDES="${gnuradio_core_INCLUDES}"
26427 with_INCLUDES="${gnuradio_core_INCLUDES}"" ""$with_INCLUDES"
26429 gnuradio_core_INCLUDES=
26433 if test "x${gnuradio_core_SWIG_INCLUDES}" != "x"; then
26434 if test "x$with_SWIG_INCLUDES" = "x"; then
26435 with_SWIG_INCLUDES="${gnuradio_core_SWIG_INCLUDES}"
26437 with_SWIG_INCLUDES="${gnuradio_core_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
26439 gnuradio_core_SWIG_INCLUDES=
26443 if test "x${gnuradio_core_PYDIRPATH}" != "x"; then
26444 if test "x$with_PYDIRPATH" = "x"; then
26445 with_PYDIRPATH="${gnuradio_core_PYDIRPATH}"
26447 with_PYDIRPATH="${gnuradio_core_PYDIRPATH}"":""$with_PYDIRPATH"
26449 gnuradio_core_PYDIRPATH=
26453 if test "x${gnuradio_core_SWIGDIRPATH}" != "x"; then
26454 if test "x$with_SWIGDIRPATH" = "x"; then
26455 with_SWIGDIRPATH="${gnuradio_core_SWIGDIRPATH}"
26457 with_SWIGDIRPATH="${gnuradio_core_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
26459 gnuradio_core_SWIGDIRPATH=
26463 if test "x${gnuradio_core_LIBDIRPATH}" != "x"; then
26464 if test "x$with_LIBDIRPATH" = "x"; then
26465 with_LIBDIRPATH="${gnuradio_core_LIBDIRPATH}"
26467 with_LIBDIRPATH="${gnuradio_core_LIBDIRPATH}"":""$with_LIBDIRPATH"
26469 gnuradio_core_LIBDIRPATH=
26472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gnuradio-core will be included from a pre-installed library and includes." >&5
26473 $as_echo "Component gnuradio-core will be included from a pre-installed library and includes." >&6; }
26474 gnuradio_core_with=yes
26476 gnuradio_core_LDFLAG=
26477 if test x$enable_gnuradio_core != xno; then
26478 ac_config_commands="$ac_config_commands run_tests_core"
26481 build_dirs="$build_dirs gnuradio-core"
26482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gnuradio-core passed configuration checks; building." >&5
26483 $as_echo "Component gnuradio-core passed configuration checks; building." >&6; }
26486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gnuradio-core passed configuration checks; but not building." >&5
26487 $as_echo "Component gnuradio-core passed configuration checks; but not building." >&6; }
26491 if test $passed = no; then
26492 skipped_dirs="$skipped_dirs gnuradio-core"
26493 gnuradio_core_skipped=yes
26495 gnuradio_core_skipped=no
26509 # Check whether --enable-pmt was given.
26510 if test "${enable_pmt+set}" = set; then :
26511 enableval=$enable_pmt;
26514 enable_pmt=$enable_all_components
26515 if test x$enable_all_components = xno; then
26524 if test x = x; then
26531 # Check whether --with-pmt was given.
26532 if test "${with_pmt+set}" = set; then :
26533 withval=$with_pmt; if test "x$withval" != "xyes"; then
26534 with_pmt_val=$withval
26539 if test x$with_pmt = xyes; then
26540 if test x$enable_pmt = xyes; then
26541 as_fn_error "Component pmt: Cannot use both --enable and --with" "$LINENO" 5
26544 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
26546 l_PKG_CONFIG_PATH=$with_pmt_val
26547 if test "x$l_PKG_CONFIG_PATH" != "x"; then
26548 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
26550 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
26551 as_fn_error "Component pmt: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." "$LINENO" 5
26555 if test -n "$PKG_CONFIG" && \
26556 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
26557 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
26559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26560 test $ac_status = 0; }; then
26561 passed=with; check1=yes
26565 if test "x$l_PKG_CONFIG_PATH" != "x"; then
26566 if test "x$s_PKG_CONFIG_PATH" != "x"; then
26567 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
26568 if test -n "$PKG_CONFIG" && \
26569 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
26570 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
26572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26573 test $ac_status = 0; }; then
26580 if test $passed != with; then
26581 as_fn_error "Component pmt: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." "$LINENO" 5
26583 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
26587 pmt_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
26588 pmt_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
26589 pmt_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
26591 if test x$check1 = xyes; then
26592 if test "x$s_PKG_CONFIG_PATH" != "x"; then
26593 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
26604 if test $passed != no; then
26605 if test $passed = yes; then
26606 if test x$omnithread_skipped = xyes; then
26607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component pmt requires omnithread, which is not being built or specified via pre-installed files." >&5
26608 $as_echo "Component pmt requires omnithread, which is not being built or specified via pre-installed files." >&6; }
26612 if test x$omnithread_with = xno; then
26613 as_fn_error "Component pmt requires omnithread to be included as --with-omnithread[=arg]" "$LINENO" 5
26619 if test $passed = yes; then
26621 if test x"$GUILE" = x; then
26622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component pmt requires guile, which was not found." >&5
26623 $as_echo "Component pmt requires guile, which was not found." >&6; }
26628 if test $passed != with; then
26629 pmt_INCLUDES="-I\${abs_top_srcdir}/pmt/src/lib"
26630 pmt_LA="\${abs_top_builddir}/pmt/src/lib/libpmt.la"
26633 ac_config_files="$ac_config_files pmt/Makefile pmt/pmt.pc pmt/doc/Makefile pmt/src/Makefile pmt/src/lib/Makefile pmt/src/scheme/Makefile pmt/src/scheme/gnuradio/Makefile"
26639 if test $passed = no; then
26640 if test x$enable_pmt = xyes; then
26641 as_fn_error "Component pmt has errors; stopping." "$LINENO" 5
26643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component pmt." >&5
26644 $as_echo "Not building component pmt." >&6; }
26647 if test $passed = with; then
26648 with_dirs="$with_dirs pmt"
26650 if test "x${pmt_INCLUDES}" != "x"; then
26651 if test "x$with_INCLUDES" = "x"; then
26652 with_INCLUDES="${pmt_INCLUDES}"
26654 with_INCLUDES="${pmt_INCLUDES}"" ""$with_INCLUDES"
26660 if test "x${pmt_SWIG_INCLUDES}" != "x"; then
26661 if test "x$with_SWIG_INCLUDES" = "x"; then
26662 with_SWIG_INCLUDES="${pmt_SWIG_INCLUDES}"
26664 with_SWIG_INCLUDES="${pmt_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
26670 if test "x${pmt_PYDIRPATH}" != "x"; then
26671 if test "x$with_PYDIRPATH" = "x"; then
26672 with_PYDIRPATH="${pmt_PYDIRPATH}"
26674 with_PYDIRPATH="${pmt_PYDIRPATH}"":""$with_PYDIRPATH"
26680 if test "x${pmt_SWIGDIRPATH}" != "x"; then
26681 if test "x$with_SWIGDIRPATH" = "x"; then
26682 with_SWIGDIRPATH="${pmt_SWIGDIRPATH}"
26684 with_SWIGDIRPATH="${pmt_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
26690 if test "x${pmt_LIBDIRPATH}" != "x"; then
26691 if test "x$with_LIBDIRPATH" = "x"; then
26692 with_LIBDIRPATH="${pmt_LIBDIRPATH}"
26694 with_LIBDIRPATH="${pmt_LIBDIRPATH}"":""$with_LIBDIRPATH"
26699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component pmt will be included from a pre-installed library and includes." >&5
26700 $as_echo "Component pmt will be included from a pre-installed library and includes." >&6; }
26704 if test x$enable_pmt != xno; then
26706 build_dirs="$build_dirs pmt"
26707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component pmt passed configuration checks; building." >&5
26708 $as_echo "Component pmt passed configuration checks; building." >&6; }
26711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component pmt passed configuration checks; but not building." >&5
26712 $as_echo "Component pmt passed configuration checks; but not building." >&6; }
26716 if test $passed = no; then
26717 skipped_dirs="$skipped_dirs pmt"
26734 # Check whether --enable-mblock was given.
26735 if test "${enable_mblock+set}" = set; then :
26736 enableval=$enable_mblock;
26739 enable_mblock=$enable_all_components
26740 if test x$enable_all_components = xno; then
26750 if test x = x; then
26751 pc_comp_name="mblock"
26757 # Check whether --with-mblock was given.
26758 if test "${with_mblock+set}" = set; then :
26759 withval=$with_mblock; if test "x$withval" != "xyes"; then
26760 with_mblock_val=$withval
26765 if test x$with_mblock = xyes; then
26766 if test x$enable_mblock = xyes; then
26767 as_fn_error "Component mblock: Cannot use both --enable and --with" "$LINENO" 5
26770 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
26772 l_PKG_CONFIG_PATH=$with_mblock_val
26773 if test "x$l_PKG_CONFIG_PATH" != "x"; then
26774 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
26776 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
26777 as_fn_error "Component mblock: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." "$LINENO" 5
26781 if test -n "$PKG_CONFIG" && \
26782 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
26783 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
26785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26786 test $ac_status = 0; }; then
26787 passed=with; check1=yes
26791 if test "x$l_PKG_CONFIG_PATH" != "x"; then
26792 if test "x$s_PKG_CONFIG_PATH" != "x"; then
26793 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
26794 if test -n "$PKG_CONFIG" && \
26795 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
26796 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
26798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26799 test $ac_status = 0; }; then
26806 if test $passed != with; then
26807 as_fn_error "Component mblock: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." "$LINENO" 5
26809 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
26813 mblock_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
26814 mblock_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
26815 mblock_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
26817 if test x$check1 = xyes; then
26818 if test "x$s_PKG_CONFIG_PATH" != "x"; then
26819 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
26830 if test $passed != no; then
26831 if test $passed = yes; then
26832 if test x$pmt_skipped = xyes; then
26833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component mblock requires pmt, which is not being built or specified via pre-installed files." >&5
26834 $as_echo "Component mblock requires pmt, which is not being built or specified via pre-installed files." >&6; }
26838 if test x$pmt_with = xno; then
26839 as_fn_error "Component mblock requires pmt to be included as --with-pmt[=arg]" "$LINENO" 5
26845 if test $passed != no; then
26846 if test $passed = yes; then
26847 if test x$omnithread_skipped = xyes; then
26848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component mblock requires omnithread, which is not being built or specified via pre-installed files." >&5
26849 $as_echo "Component mblock requires omnithread, which is not being built or specified via pre-installed files." >&6; }
26853 if test x$omnithread_with = xno; then
26854 as_fn_error "Component mblock requires omnithread to be included as --with-omnithread[=arg]" "$LINENO" 5
26860 if test $passed = yes; then
26862 if test x"$GUILE" = x; then
26863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component mblock requires guile, which was not found." >&5
26864 $as_echo "Component mblock requires guile, which was not found." >&6; }
26869 if test $passed != with; then
26870 mblock_INCLUDES="-I\${abs_top_srcdir}/mblock/src/include"
26871 mblock_LA="\${abs_top_builddir}/mblock/src/lib/libmblock.la"
26874 ac_config_files="$ac_config_files mblock/Makefile mblock/mblock.pc mblock/doc/Makefile mblock/src/Makefile mblock/src/include/Makefile mblock/src/include/mblock/Makefile mblock/src/lib/Makefile mblock/src/scheme/Makefile mblock/src/scheme/gnuradio/Makefile"
26880 if test $passed = no; then
26881 if test x$enable_mblock = xyes; then
26882 as_fn_error "Component mblock has errors; stopping." "$LINENO" 5
26884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component mblock." >&5
26885 $as_echo "Not building component mblock." >&6; }
26888 if test $passed = with; then
26889 with_dirs="$with_dirs mblock"
26891 if test "x${mblock_INCLUDES}" != "x"; then
26892 if test "x$with_INCLUDES" = "x"; then
26893 with_INCLUDES="${mblock_INCLUDES}"
26895 with_INCLUDES="${mblock_INCLUDES}"" ""$with_INCLUDES"
26901 if test "x${mblock_SWIG_INCLUDES}" != "x"; then
26902 if test "x$with_SWIG_INCLUDES" = "x"; then
26903 with_SWIG_INCLUDES="${mblock_SWIG_INCLUDES}"
26905 with_SWIG_INCLUDES="${mblock_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
26907 mblock_SWIG_INCLUDES=
26911 if test "x${mblock_PYDIRPATH}" != "x"; then
26912 if test "x$with_PYDIRPATH" = "x"; then
26913 with_PYDIRPATH="${mblock_PYDIRPATH}"
26915 with_PYDIRPATH="${mblock_PYDIRPATH}"":""$with_PYDIRPATH"
26921 if test "x${mblock_SWIGDIRPATH}" != "x"; then
26922 if test "x$with_SWIGDIRPATH" = "x"; then
26923 with_SWIGDIRPATH="${mblock_SWIGDIRPATH}"
26925 with_SWIGDIRPATH="${mblock_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
26927 mblock_SWIGDIRPATH=
26931 if test "x${mblock_LIBDIRPATH}" != "x"; then
26932 if test "x$with_LIBDIRPATH" = "x"; then
26933 with_LIBDIRPATH="${mblock_LIBDIRPATH}"
26935 with_LIBDIRPATH="${mblock_LIBDIRPATH}"":""$with_LIBDIRPATH"
26940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component mblock will be included from a pre-installed library and includes." >&5
26941 $as_echo "Component mblock will be included from a pre-installed library and includes." >&6; }
26945 if test x$enable_mblock != xno; then
26947 build_dirs="$build_dirs mblock"
26948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component mblock passed configuration checks; building." >&5
26949 $as_echo "Component mblock passed configuration checks; building." >&6; }
26952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component mblock passed configuration checks; but not building." >&5
26953 $as_echo "Component mblock passed configuration checks; but not building." >&6; }
26957 if test $passed = no; then
26958 skipped_dirs="$skipped_dirs mblock"
26970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
26971 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
26972 if test "${ac_cv_header_stat_broken+set}" = set; then :
26973 $as_echo_n "(cached) " >&6
26975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26976 /* end confdefs.h. */
26977 #include <sys/types.h>
26978 #include <sys/stat.h>
26980 #if defined S_ISBLK && defined S_IFDIR
26981 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
26984 #if defined S_ISBLK && defined S_IFCHR
26985 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
26988 #if defined S_ISLNK && defined S_IFREG
26989 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
26992 #if defined S_ISSOCK && defined S_IFREG
26993 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
26997 if ac_fn_c_try_compile "$LINENO"; then :
26998 ac_cv_header_stat_broken=no
27000 ac_cv_header_stat_broken=yes
27002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
27005 $as_echo "$ac_cv_header_stat_broken" >&6; }
27006 if test $ac_cv_header_stat_broken = yes; then
27008 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
27013 for ac_header in fcntl.h
27015 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
27016 if test "x$ac_cv_header_fcntl_h" = x""yes; then :
27017 cat >>confdefs.h <<_ACEOF
27018 #define HAVE_FCNTL_H 1
27027 for ac_header in sys/time.h
27029 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
27030 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
27031 cat >>confdefs.h <<_ACEOF
27032 #define HAVE_SYS_TIME_H 1
27041 for ac_header in unistd.h
27043 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
27044 if test "x$ac_cv_header_unistd_h" = x""yes; then :
27045 cat >>confdefs.h <<_ACEOF
27046 #define HAVE_UNISTD_H 1
27055 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
27056 if test "x$ac_cv_have_decl_getenv" = x""yes; then :
27062 cat >>confdefs.h <<_ACEOF
27063 #define HAVE_DECL_GETENV $ac_have_decl
27071 # Check whether --enable-usrp was given.
27072 if test "${enable_usrp+set}" = set; then :
27073 enableval=$enable_usrp;
27076 enable_usrp=$enable_all_components
27077 if test x$enable_all_components = xno; then
27087 if test x = x; then
27088 pc_comp_name="usrp"
27094 # Check whether --with-usrp was given.
27095 if test "${with_usrp+set}" = set; then :
27096 withval=$with_usrp; if test "x$withval" != "xyes"; then
27097 with_usrp_val=$withval
27102 if test x$with_usrp = xyes; then
27103 if test x$enable_usrp = xyes; then
27104 as_fn_error "Component usrp: Cannot use both --enable and --with" "$LINENO" 5
27107 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
27109 l_PKG_CONFIG_PATH=$with_usrp_val
27110 if test "x$l_PKG_CONFIG_PATH" != "x"; then
27111 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
27113 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
27114 as_fn_error "Component usrp: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." "$LINENO" 5
27118 if test -n "$PKG_CONFIG" && \
27119 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
27120 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
27122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27123 test $ac_status = 0; }; then
27124 passed=with; check1=yes
27128 if test "x$l_PKG_CONFIG_PATH" != "x"; then
27129 if test "x$s_PKG_CONFIG_PATH" != "x"; then
27130 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
27131 if test -n "$PKG_CONFIG" && \
27132 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
27133 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
27135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27136 test $ac_status = 0; }; then
27143 if test $passed != with; then
27144 as_fn_error "Component usrp: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." "$LINENO" 5
27146 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
27150 usrp_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
27151 usrp_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
27152 usrp_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
27154 if test x$check1 = xyes; then
27155 if test "x$s_PKG_CONFIG_PATH" != "x"; then
27156 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
27167 if test $passed != no; then
27168 if test $passed = yes; then
27169 if test x$omnithread_skipped = xyes; then
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp requires omnithread, which is not being built or specified via pre-installed files." >&5
27171 $as_echo "Component usrp requires omnithread, which is not being built or specified via pre-installed files." >&6; }
27175 if test x$omnithread_with = xno; then
27176 as_fn_error "Component usrp requires omnithread to be included as --with-omnithread[=arg]" "$LINENO" 5
27184 # Check whether --with-fusb-tech was given.
27185 if test "${with_fusb_tech+set}" = set; then :
27186 withval=$with_fusb_tech; cf_with_fusb_tech="$withval"
27188 cf_with_fusb_tech="$host_os"
27191 if test x${enable_usrp} != xno; then
27192 case "$cf_with_fusb_tech" in
27194 ac_fn_c_check_header_mongrel "$LINENO" "linux/usbdevice_fs.h" "ac_cv_header_linux_usbdevice_fs_h" "$ac_includes_default"
27195 if test "x$ac_cv_header_linux_usbdevice_fs_h" = x""yes; then :
27196 x_have_usbdevice_fs_h=yes
27198 x_have_usbdevice_fs_h=no
27202 if test x${x_have_usbdevice_fs_h} = xyes; then
27211 cygwin*|win*|mingw*)
27215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RA/WB" >&5
27216 $as_echo_n "checking for RA/WB... " >&6; }
27217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27218 /* end confdefs.h. */
27219 #include <dev/usb/usb.h>
27223 struct usb_bulk_ra_wb_opt o;
27224 ioctl(0, USB_SET_BULK_RA, &o);
27229 if ac_fn_c_try_compile "$LINENO"; then :
27234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fast usb technique to use" >&5
27242 $as_echo_n "checking for fast usb technique to use... " >&6; }
27243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FUSB_TECH" >&5
27244 $as_echo "$FUSB_TECH" >&6; }
27248 if test x$FUSB_TECH = xdarwin; then
27249 FUSB_TECH_darwin_TRUE=
27250 FUSB_TECH_darwin_FALSE='#'
27252 FUSB_TECH_darwin_TRUE='#'
27253 FUSB_TECH_darwin_FALSE=
27256 if test x$FUSB_TECH = xwin32; then
27257 FUSB_TECH_win32_TRUE=
27258 FUSB_TECH_win32_FALSE='#'
27260 FUSB_TECH_win32_TRUE='#'
27261 FUSB_TECH_win32_FALSE=
27264 if test x$FUSB_TECH = xgeneric; then
27265 FUSB_TECH_generic_TRUE=
27266 FUSB_TECH_generic_FALSE='#'
27268 FUSB_TECH_generic_TRUE='#'
27269 FUSB_TECH_generic_FALSE=
27272 if test x$FUSB_TECH = xlinux; then
27273 FUSB_TECH_linux_TRUE=
27274 FUSB_TECH_linux_FALSE='#'
27276 FUSB_TECH_linux_TRUE='#'
27277 FUSB_TECH_linux_FALSE=
27280 if test x$FUSB_TECH = xra_wb; then
27281 FUSB_TECH_ra_wb_TRUE=
27282 FUSB_TECH_ra_wb_FALSE='#'
27284 FUSB_TECH_ra_wb_TRUE='#'
27285 FUSB_TECH_ra_wb_FALSE=
27290 if test $passed = yes; then
27291 for ac_func in mkstemp
27293 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
27294 if test "x$ac_cv_func_mkstemp" = x""yes; then :
27295 cat >>confdefs.h <<_ACEOF
27296 #define HAVE_MKSTEMP 1
27300 case " $LIBOBJS " in
27301 *" $ac_func.$ac_objext "* ) ;;
27302 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
27310 if test $ac_cv_func_mkstemp = no; then
27311 utils_cv_func_mkstemp_limitations=yes
27313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mkstemp limitations" >&5
27314 $as_echo_n "checking for mkstemp limitations... " >&6; }
27315 if test "${utils_cv_func_mkstemp_limitations+set}" = set; then :
27316 $as_echo_n "(cached) " >&6
27319 if test "$cross_compiling" = yes; then :
27320 utils_cv_func_mkstemp_limitations=yes
27323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27324 /* end confdefs.h. */
27326 # include <stdlib.h>
27330 for (i = 0; i < 70; i++)
27332 char template[] = "conftestXXXXXX";
27333 int fd = mkstemp (template);
27342 if ac_fn_c_try_run "$LINENO"; then :
27343 utils_cv_func_mkstemp_limitations=no
27345 utils_cv_func_mkstemp_limitations=yes
27347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27348 conftest.$ac_objext conftest.beam conftest.$ac_ext
27354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $utils_cv_func_mkstemp_limitations" >&5
27355 $as_echo "$utils_cv_func_mkstemp_limitations" >&6; }
27358 if test $utils_cv_func_mkstemp_limitations = yes; then
27359 case " $LIBOBJS " in
27360 *" mkstemp.$ac_objext "* ) ;;
27361 *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
27365 case " $LIBOBJS " in
27366 *" tempname.$ac_objext "* ) ;;
27367 *) LIBOBJS="$LIBOBJS tempname.$ac_objext"
27372 $as_echo "#define mkstemp rpl_mkstemp" >>confdefs.h
27392 for ac_header in stdint.h
27394 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
27395 if test "x$ac_cv_header_stdint_h" = x""yes; then :
27396 cat >>confdefs.h <<_ACEOF
27397 #define HAVE_STDINT_H 1
27404 for ac_func in __secure_getenv gettimeofday lstat
27406 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27407 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27408 eval as_val=\$$as_ac_var
27409 if test "x$as_val" = x""yes; then :
27410 cat >>confdefs.h <<_ACEOF
27411 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27424 # AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
27426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir accepts only one arg" >&5
27427 $as_echo_n "checking whether mkdir accepts only one arg... " >&6; }
27428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27429 /* end confdefs.h. */
27430 #include <sys/types.h>
27431 #include <sys/stat.h>
27443 if ac_fn_c_try_compile "$LINENO"; then :
27444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27445 $as_echo "yes" >&6; }
27447 $as_echo "#define MKDIR_TAKES_ONE_ARG /**/" >>confdefs.h
27450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27451 $as_echo "no" >&6; }
27454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
27460 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
27461 if test "${ac_cv_c_bigendian+set}" = set; then :
27462 $as_echo_n "(cached) " >&6
27464 ac_cv_c_bigendian=unknown
27465 # See if we're dealing with a universal compiler.
27466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27467 /* end confdefs.h. */
27468 #ifndef __APPLE_CC__
27469 not a universal capable compiler
27474 if ac_fn_c_try_compile "$LINENO"; then :
27476 # Check for potential -arch flags. It is not universal unless
27477 # there are at least two -arch flags with different values.
27480 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
27481 if test -n "$ac_prev"; then
27483 i?86 | x86_64 | ppc | ppc64)
27484 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
27487 ac_cv_c_bigendian=universal
27493 elif test "x$ac_word" = "x-arch"; then
27498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27499 if test $ac_cv_c_bigendian = unknown; then
27500 # See if sys/param.h defines the BYTE_ORDER macro.
27501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27502 /* end confdefs.h. */
27503 #include <sys/types.h>
27504 #include <sys/param.h>
27509 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
27510 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
27512 bogus endian macros
27519 if ac_fn_c_try_compile "$LINENO"; then :
27520 # It does; now see whether it defined to BIG_ENDIAN or not.
27521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27522 /* end confdefs.h. */
27523 #include <sys/types.h>
27524 #include <sys/param.h>
27529 #if BYTE_ORDER != BIG_ENDIAN
27537 if ac_fn_c_try_compile "$LINENO"; then :
27538 ac_cv_c_bigendian=yes
27540 ac_cv_c_bigendian=no
27542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27546 if test $ac_cv_c_bigendian = unknown; then
27547 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
27548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27549 /* end confdefs.h. */
27550 #include <limits.h>
27555 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
27556 bogus endian macros
27563 if ac_fn_c_try_compile "$LINENO"; then :
27564 # It does; now see whether it defined to _BIG_ENDIAN or not.
27565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27566 /* end confdefs.h. */
27567 #include <limits.h>
27572 #ifndef _BIG_ENDIAN
27580 if ac_fn_c_try_compile "$LINENO"; then :
27581 ac_cv_c_bigendian=yes
27583 ac_cv_c_bigendian=no
27585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27589 if test $ac_cv_c_bigendian = unknown; then
27590 # Compile a test program.
27591 if test "$cross_compiling" = yes; then :
27592 # Try to guess by grepping values from an object file.
27593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27594 /* end confdefs.h. */
27595 short int ascii_mm[] =
27596 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
27597 short int ascii_ii[] =
27598 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
27599 int use_ascii (int i) {
27600 return ascii_mm[i] + ascii_ii[i];
27602 short int ebcdic_ii[] =
27603 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
27604 short int ebcdic_mm[] =
27605 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
27606 int use_ebcdic (int i) {
27607 return ebcdic_mm[i] + ebcdic_ii[i];
27614 return use_ascii (foo) == use_ebcdic (foo);
27619 if ac_fn_c_try_compile "$LINENO"; then :
27620 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
27621 ac_cv_c_bigendian=yes
27623 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
27624 if test "$ac_cv_c_bigendian" = unknown; then
27625 ac_cv_c_bigendian=no
27627 # finding both strings is unlikely to happen, but who knows?
27628 ac_cv_c_bigendian=unknown
27632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27635 /* end confdefs.h. */
27636 $ac_includes_default
27641 /* Are we little or big endian? From Harbison&Steele. */
27645 char c[sizeof (long int)];
27648 return u.c[sizeof (long int) - 1] == 1;
27654 if ac_fn_c_try_run "$LINENO"; then :
27655 ac_cv_c_bigendian=no
27657 ac_cv_c_bigendian=yes
27659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27660 conftest.$ac_objext conftest.beam conftest.$ac_ext
27665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
27666 $as_echo "$ac_cv_c_bigendian" >&6; }
27667 case $ac_cv_c_bigendian in #(
27669 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
27675 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
27679 as_fn_error "unknown endianness
27680 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
27683 for ac_header in byteswap.h linux/compiler.h
27685 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27686 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
27687 eval as_val=\$$as_ac_Header
27688 if test "x$as_val" = x""yes; then :
27689 cat >>confdefs.h <<_ACEOF
27690 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27697 for ac_func in getrusage sched_setscheduler pthread_setschedparam
27699 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27700 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27701 eval as_val=\$$as_ac_var
27702 if test "x$as_val" = x""yes; then :
27703 cat >>confdefs.h <<_ACEOF
27704 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27710 for ac_func in sigaction snprintf
27712 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27713 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27714 eval as_val=\$$as_ac_var
27715 if test "x$as_val" = x""yes; then :
27716 cat >>confdefs.h <<_ACEOF
27717 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for USB" >&5
27731 $as_echo_n "checking for USB... " >&6; }
27733 if test -n "$PKG_CONFIG"; then
27734 if test -n "$USB_CFLAGS"; then
27735 pkg_cv_USB_CFLAGS="$USB_CFLAGS"
27737 if test -n "$PKG_CONFIG" && \
27738 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb\""; } >&5
27739 ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
27741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27742 test $ac_status = 0; }; then
27743 pkg_cv_USB_CFLAGS=`$PKG_CONFIG --cflags "libusb" 2>/dev/null`
27752 if test x$cross_compiling = xyes
27754 if test -n "$PKG_CONFIG"; then
27755 if test -n "$USB_LIBS"; then
27756 pkg_cv_USB_LIBS="$USB_LIBS"
27758 if test -n "$PKG_CONFIG" && \
27759 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb\""; } >&5
27760 ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
27762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27763 test $ac_status = 0; }; then
27764 pkg_cv_USB_LIBS=`$PKG_CONFIG --libs --static "libusb" 2>/dev/null`
27773 for flag in $pkg_cv_USB_LIBS; do
27775 (-L/lib* | -L/usr/lib* ) ;; # ignore
27776 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
27779 pkg_cv_USB_LIBS="$_pkg_tmp"
27781 if test -n "$PKG_CONFIG"; then
27782 if test -n "$USB_LIBS"; then
27783 pkg_cv_USB_LIBS="$USB_LIBS"
27785 if test -n "$PKG_CONFIG" && \
27786 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb\""; } >&5
27787 ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
27789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27790 test $ac_status = 0; }; then
27791 pkg_cv_USB_LIBS=`$PKG_CONFIG --libs --static "libusb" 2>/dev/null`
27801 if test -n "$PKG_CONFIG"; then
27802 if test -n "$USB_INCLUDEDIR"; then
27803 pkg_cv_USB_INCLUDEDIR="$USB_INCLUDEDIR"
27805 if test -n "$PKG_CONFIG" && \
27806 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb\""; } >&5
27807 ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
27809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27810 test $ac_status = 0; }; then
27811 pkg_cv_USB_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "libusb" 2>/dev/null`
27823 if test $pkg_failed = yes; then
27825 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27826 _pkg_short_errors_supported=yes
27828 _pkg_short_errors_supported=no
27830 if test $_pkg_short_errors_supported = yes; then
27831 USB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libusb"`
27833 USB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libusb"`
27835 # Put the nasty error message in config.log where it belongs
27836 echo "$USB_PKG_ERRORS" >&5
27838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27839 $as_echo "no" >&6; }
27842 ac_cpp='$CPP $CPPFLAGS'
27843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27848 for ac_header in usb.h
27850 ac_fn_c_check_header_mongrel "$LINENO" "usb.h" "ac_cv_header_usb_h" "$ac_includes_default"
27851 if test "x$ac_cv_header_usb_h" = x""yes; then :
27852 cat >>confdefs.h <<_ACEOF
27853 #define HAVE_USB_H 1
27857 libusbok=no; { $as_echo "$as_me:${as_lineno-$LINENO}: result: USRP requires libusb. usb.h not found. See http://libusb.sf.net" >&5
27858 $as_echo "USRP requires libusb. usb.h not found. See http://libusb.sf.net" >&6; }
27867 LIBS="$LIBS -lIOKit"
27872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing usb_bulk_write" >&5
27873 $as_echo_n "checking for library containing usb_bulk_write... " >&6; }
27874 if test "${ac_cv_search_usb_bulk_write+set}" = set; then :
27875 $as_echo_n "(cached) " >&6
27877 ac_func_search_save_LIBS=$LIBS
27878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27879 /* end confdefs.h. */
27881 /* Override any GCC internal prototype to avoid an error.
27882 Use char because int might match the return type of a GCC
27883 builtin and then its argument prototype would still apply. */
27887 char usb_bulk_write ();
27891 return usb_bulk_write ();
27896 for ac_lib in '' usb; do
27897 if test -z "$ac_lib"; then
27898 ac_res="none required"
27901 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27903 if ac_fn_c_try_link "$LINENO"; then :
27904 ac_cv_search_usb_bulk_write=$ac_res
27906 rm -f core conftest.err conftest.$ac_objext \
27908 if test "${ac_cv_search_usb_bulk_write+set}" = set; then :
27912 if test "${ac_cv_search_usb_bulk_write+set}" = set; then :
27915 ac_cv_search_usb_bulk_write=no
27917 rm conftest.$ac_ext
27918 LIBS=$ac_func_search_save_LIBS
27920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_usb_bulk_write" >&5
27921 $as_echo "$ac_cv_search_usb_bulk_write" >&6; }
27922 ac_res=$ac_cv_search_usb_bulk_write
27923 if test "$ac_res" != no; then :
27924 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27927 libusbok=no; { $as_echo "$as_me:${as_lineno-$LINENO}: result: USRP requires libusb. usb_bulk_write not found. See http://libusb.sf.net" >&5
27928 $as_echo "USRP requires libusb. usb_bulk_write not found. See http://libusb.sf.net" >&6; }
27935 ac_cpp='$CPP $CPPFLAGS'
27936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27941 elif test $pkg_failed = untried; then
27944 ac_cpp='$CPP $CPPFLAGS'
27945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27950 for ac_header in usb.h
27952 ac_fn_c_check_header_mongrel "$LINENO" "usb.h" "ac_cv_header_usb_h" "$ac_includes_default"
27953 if test "x$ac_cv_header_usb_h" = x""yes; then :
27954 cat >>confdefs.h <<_ACEOF
27955 #define HAVE_USB_H 1
27959 libusbok=no; { $as_echo "$as_me:${as_lineno-$LINENO}: result: USRP requires libusb. usb.h not found. See http://libusb.sf.net" >&5
27960 $as_echo "USRP requires libusb. usb.h not found. See http://libusb.sf.net" >&6; }
27969 LIBS="$LIBS -lIOKit"
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing usb_bulk_write" >&5
27975 $as_echo_n "checking for library containing usb_bulk_write... " >&6; }
27976 if test "${ac_cv_search_usb_bulk_write+set}" = set; then :
27977 $as_echo_n "(cached) " >&6
27979 ac_func_search_save_LIBS=$LIBS
27980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27981 /* end confdefs.h. */
27983 /* Override any GCC internal prototype to avoid an error.
27984 Use char because int might match the return type of a GCC
27985 builtin and then its argument prototype would still apply. */
27989 char usb_bulk_write ();
27993 return usb_bulk_write ();
27998 for ac_lib in '' usb; do
27999 if test -z "$ac_lib"; then
28000 ac_res="none required"
28003 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28005 if ac_fn_c_try_link "$LINENO"; then :
28006 ac_cv_search_usb_bulk_write=$ac_res
28008 rm -f core conftest.err conftest.$ac_objext \
28010 if test "${ac_cv_search_usb_bulk_write+set}" = set; then :
28014 if test "${ac_cv_search_usb_bulk_write+set}" = set; then :
28017 ac_cv_search_usb_bulk_write=no
28019 rm conftest.$ac_ext
28020 LIBS=$ac_func_search_save_LIBS
28022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_usb_bulk_write" >&5
28023 $as_echo "$ac_cv_search_usb_bulk_write" >&6; }
28024 ac_res=$ac_cv_search_usb_bulk_write
28025 if test "$ac_res" != no; then :
28026 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28029 libusbok=no; { $as_echo "$as_me:${as_lineno-$LINENO}: result: USRP requires libusb. usb_bulk_write not found. See http://libusb.sf.net" >&5
28030 $as_echo "USRP requires libusb. usb_bulk_write not found. See http://libusb.sf.net" >&6; }
28037 ac_cpp='$CPP $CPPFLAGS'
28038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28044 USB_CFLAGS=$pkg_cv_USB_CFLAGS
28045 USB_LIBS=$pkg_cv_USB_LIBS
28046 USB_INCLUDEDIR=$pkg_cv_USB_INCLUDEDIR
28049 for flag in $USB_CFLAGS; do
28051 -I* | -D* | -U*) USB_CPPFLAGS="$USB_CPPFLAGS $flag" ;;
28054 pkg_cv_USB_CPPFLAGS=$USB_CPPFLAGS
28057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28058 $as_echo "yes" >&6; }
28062 if test x$libusbok = xyes; then
28066 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Unable to find dependency libusb." >&5
28067 $as_echo "Unable to find dependency libusb." >&6; }
28073 # Extract the first word of "sdcc", so it can be a program name with args.
28074 set dummy sdcc; ac_word=$2
28075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28076 $as_echo_n "checking for $ac_word... " >&6; }
28077 if test "${ac_cv_prog_XCC+set}" = set; then :
28078 $as_echo_n "(cached) " >&6
28080 if test -n "$XCC"; then
28081 ac_cv_prog_XCC="$XCC" # Let the user override the test.
28083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28084 for as_dir in $PATH
28087 test -z "$as_dir" && as_dir=.
28088 for ac_exec_ext in '' $ac_executable_extensions; do
28089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28090 ac_cv_prog_XCC="sdcc -mmcs51 --no-xinit-opt"
28091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28098 test -z "$ac_cv_prog_XCC" && ac_cv_prog_XCC="no"
28101 XCC=$ac_cv_prog_XCC
28102 if test -n "$XCC"; then
28103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCC" >&5
28104 $as_echo "$XCC" >&6; }
28106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28107 $as_echo "no" >&6; }
28111 # Extract the first word of "asx8051", so it can be a program name with args.
28112 set dummy asx8051; ac_word=$2
28113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28114 $as_echo_n "checking for $ac_word... " >&6; }
28115 if test "${ac_cv_prog_XAS+set}" = set; then :
28116 $as_echo_n "(cached) " >&6
28118 if test -n "$XAS"; then
28119 ac_cv_prog_XAS="$XAS" # Let the user override the test.
28121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28122 for as_dir in $PATH
28125 test -z "$as_dir" && as_dir=.
28126 for ac_exec_ext in '' $ac_executable_extensions; do
28127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28128 ac_cv_prog_XAS="asx8051 -plosgff"
28129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28136 test -z "$ac_cv_prog_XAS" && ac_cv_prog_XAS="no"
28139 XAS=$ac_cv_prog_XAS
28140 if test -n "$XAS"; then
28141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAS" >&5
28142 $as_echo "$XAS" >&6; }
28144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28145 $as_echo "no" >&6; }
28150 if test "$XCC" = "no" -o "$XAS" = "no" ; then
28151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: USRP requires sdcc. sdcc not found. See http://sdcc.sf.net" >&5
28152 $as_echo "USRP requires sdcc. sdcc not found. See http://sdcc.sf.net" >&6; }
28155 sdcc_version_min=2.4.0
28157 sdcc_version=`sdcc --version 2>&1 | \
28158 sed 's/\(SDCC.* \)\([0-9]*\.[0-9]*\.[0-9]*\)\( .*$\)/\2/'`
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sdcc_version \"$sdcc_version\"" >&5
28161 $as_echo_n "checking sdcc_version \"$sdcc_version\"... " >&6; }
28163 sdcc_major_version=`echo $sdcc_version | \
28164 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28165 sdcc_minor_version=`echo $sdcc_version | \
28166 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28167 sdcc_micro_version=`echo $sdcc_version | \
28168 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28170 sdcc_major_min=`echo $sdcc_version_min | \
28171 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28172 sdcc_minor_min=`echo $sdcc_version_min | \
28173 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28174 sdcc_micro_min=`echo $sdcc_version_min | \
28175 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28177 sdcc_version_proper=`expr \
28178 "$sdcc_major_version" \> "$sdcc_major_min" \| \
28179 "$sdcc_major_version" \= "$sdcc_major_min" \& \
28180 "$sdcc_minor_version" \> "$sdcc_minor_min" \| \
28181 "$sdcc_major_version" \= "$sdcc_major_min" \& \
28182 "$sdcc_minor_version" \= "$sdcc_minor_min" \& \
28183 "$sdcc_micro_version" \>= "$sdcc_micro_min" `
28185 if test "$sdcc_version_proper" = "1" ; then
28186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sdcc_major_version.$sdcc_minor_version.$sdcc_micro_version" >&5
28187 $as_echo "$sdcc_major_version.$sdcc_minor_version.$sdcc_micro_version" >&6; }
28190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: USRP requires sdcc >= $sdcc_version_min. sdcc not found. See http://sdcc.sf.net" >&5
28191 $as_echo "USRP requires sdcc >= $sdcc_version_min. sdcc not found. See http://sdcc.sf.net" >&6; }
28198 if test $sdccok = yes; then
28201 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Unable to find firmware compiler SDCC." >&5
28202 $as_echo "Unable to find firmware compiler SDCC." >&6; }
28206 if test $passed != with; then
28207 usrp_INCLUDES="-I\${abs_top_srcdir}/usrp/host/lib/legacy \
28208 -I\${abs_top_srcdir}/usrp/firmware/include \
28209 -I\${abs_top_builddir}/usrp/host/lib/legacy"
28210 usrp_LA="\${abs_top_builddir}/usrp/host/lib/legacy/libusrp.la"
28215 usrp_darwin_omnithread_pc_requires="gnuradio-omnithread"
28217 *) usrp_darwin_omnithread_pc_requires=""
28222 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/misc/Makefile usrp/host/lib/Makefile usrp/host/lib/legacy/Makefile usrp/host/lib/legacy/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"
28228 if test $passed = no; then
28229 if test x$enable_usrp = xyes; then
28230 as_fn_error "Component usrp has errors; stopping." "$LINENO" 5
28232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component usrp." >&5
28233 $as_echo "Not building component usrp." >&6; }
28236 if test $passed = with; then
28237 with_dirs="$with_dirs usrp"
28239 if test "x${usrp_INCLUDES}" != "x"; then
28240 if test "x$with_INCLUDES" = "x"; then
28241 with_INCLUDES="${usrp_INCLUDES}"
28243 with_INCLUDES="${usrp_INCLUDES}"" ""$with_INCLUDES"
28249 if test "x${usrp_SWIG_INCLUDES}" != "x"; then
28250 if test "x$with_SWIG_INCLUDES" = "x"; then
28251 with_SWIG_INCLUDES="${usrp_SWIG_INCLUDES}"
28253 with_SWIG_INCLUDES="${usrp_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
28255 usrp_SWIG_INCLUDES=
28259 if test "x${usrp_PYDIRPATH}" != "x"; then
28260 if test "x$with_PYDIRPATH" = "x"; then
28261 with_PYDIRPATH="${usrp_PYDIRPATH}"
28263 with_PYDIRPATH="${usrp_PYDIRPATH}"":""$with_PYDIRPATH"
28269 if test "x${usrp_SWIGDIRPATH}" != "x"; then
28270 if test "x$with_SWIGDIRPATH" = "x"; then
28271 with_SWIGDIRPATH="${usrp_SWIGDIRPATH}"
28273 with_SWIGDIRPATH="${usrp_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
28279 if test "x${usrp_LIBDIRPATH}" != "x"; then
28280 if test "x$with_LIBDIRPATH" = "x"; then
28281 with_LIBDIRPATH="${usrp_LIBDIRPATH}"
28283 with_LIBDIRPATH="${usrp_LIBDIRPATH}"":""$with_LIBDIRPATH"
28288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp will be included from a pre-installed library and includes." >&5
28289 $as_echo "Component usrp will be included from a pre-installed library and includes." >&6; }
28293 if test x$enable_usrp != xno; then
28295 build_dirs="$build_dirs usrp"
28296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp passed configuration checks; building." >&5
28297 $as_echo "Component usrp passed configuration checks; building." >&6; }
28300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp passed configuration checks; but not building." >&5
28301 $as_echo "Component usrp passed configuration checks; but not building." >&6; }
28305 if test $passed = no; then
28306 skipped_dirs="$skipped_dirs usrp"
28325 # Check whether --enable-usrp2 was given.
28326 if test "${enable_usrp2+set}" = set; then :
28327 enableval=$enable_usrp2;
28330 enable_usrp2=$enable_all_components
28331 if test x$enable_all_components = xno; then
28340 subdirs="$subdirs usrp2/firmware"
28344 if test $passed != no; then
28345 if test $passed = yes; then
28346 if test x$gruel_skipped = xyes; then
28347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 requires gruel, which is not being built or specified via pre-installed files." >&5
28348 $as_echo "Component usrp2 requires gruel, which is not being built or specified via pre-installed files." >&6; }
28352 if test x$gruel_with = xno; then
28353 as_fn_error "Component usrp2 requires gruel to be included as --with-gruel[=arg]" "$LINENO" 5
28359 if test $passed != no; then
28360 if test $passed = yes; then
28361 if test x$omnithread_skipped = xyes; then
28362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 requires omnithread, which is not being built or specified via pre-installed files." >&5
28363 $as_echo "Component usrp2 requires omnithread, which is not being built or specified via pre-installed files." >&6; }
28367 if test x$omnithread_with = xno; then
28368 as_fn_error "Component usrp2 requires omnithread to be included as --with-omnithread[=arg]" "$LINENO" 5
28374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether host_os is linux*" >&5
28375 $as_echo_n "checking whether host_os is linux*... " >&6; }
28378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28379 $as_echo "yes" >&6; }
28382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28383 $as_echo "no" >&6; }
28384 { $as_echo "$as_me:${as_lineno-$LINENO}: USRP2 currently requires Linux host OS, not found" >&5
28385 $as_echo "$as_me: USRP2 currently requires Linux host OS, not found" >&6;}
28390 if test $passed = yes; then
28391 for ac_header in arpa/inet.h byteswap.h linux/if_packet.h sys/socket.h sys/un.h
28393 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
28394 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
28395 eval as_val=\$$as_ac_Header
28396 if test "x$as_val" = x""yes; then :
28397 cat >>confdefs.h <<_ACEOF
28398 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28405 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "#define __USE_GNU 1
28406 #include <sys/types.h>
28407 #include <sys/socket.h>
28408 #include <sys/un.h>
28410 if test "x$ac_cv_member_struct_msghdr_msg_control" = x""yes; then :
28412 cat >>confdefs.h <<_ACEOF
28413 #define HAVE_STRUCT_MSGHDR_MSG_CONTROL 1
28418 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#define __USE_GNU 1
28419 #include <sys/types.h>
28420 #include <sys/socket.h>
28421 #include <sys/un.h>
28423 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = x""yes; then :
28425 cat >>confdefs.h <<_ACEOF
28426 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
28431 ac_fn_c_check_member "$LINENO" "struct cmsgcred" "cmcred_uid" "ac_cv_member_struct_cmsgcred_cmcred_uid" "#define __USE_GNU 1
28432 #include <sys/types.h>
28433 #include <sys/socket.h>
28434 #include <sys/un.h>
28436 if test "x$ac_cv_member_struct_cmsgcred_cmcred_uid" = x""yes; then :
28438 cat >>confdefs.h <<_ACEOF
28439 #define HAVE_STRUCT_CMSGCRED_CMCRED_UID 1
28444 ac_fn_c_check_member "$LINENO" "struct ucred" "uid" "ac_cv_member_struct_ucred_uid" "#define __USE_GNU 1
28445 #include <sys/types.h>
28446 #include <sys/socket.h>
28447 #include <sys/un.h>
28449 if test "x$ac_cv_member_struct_ucred_uid" = x""yes; then :
28451 cat >>confdefs.h <<_ACEOF
28452 #define HAVE_STRUCT_UCRED_UID 1
28459 if test $passed != with; then
28460 USRP2_INCLUDES="-I\${abs_top_srcdir}/usrp2/host/include \
28461 -I\${abs_top_srcdir}/usrp2/firmware/include"
28462 USRP2_LA="\${abs_top_builddir}/usrp2/host/lib/libusrp2.la"
28468 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"
28474 if test $passed = no; then
28475 if test x$enable_usrp2 = xyes; then
28476 as_fn_error "Component usrp2 has errors; stopping." "$LINENO" 5
28478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component usrp2." >&5
28479 $as_echo "Not building component usrp2." >&6; }
28482 if test $passed = with; then
28483 with_dirs="$with_dirs usrp2"
28485 if test "x${usrp2_INCLUDES}" != "x"; then
28486 if test "x$with_INCLUDES" = "x"; then
28487 with_INCLUDES="${usrp2_INCLUDES}"
28489 with_INCLUDES="${usrp2_INCLUDES}"" ""$with_INCLUDES"
28495 if test "x${usrp2_SWIG_INCLUDES}" != "x"; then
28496 if test "x$with_SWIG_INCLUDES" = "x"; then
28497 with_SWIG_INCLUDES="${usrp2_SWIG_INCLUDES}"
28499 with_SWIG_INCLUDES="${usrp2_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
28501 usrp2_SWIG_INCLUDES=
28505 if test "x${usrp2_PYDIRPATH}" != "x"; then
28506 if test "x$with_PYDIRPATH" = "x"; then
28507 with_PYDIRPATH="${usrp2_PYDIRPATH}"
28509 with_PYDIRPATH="${usrp2_PYDIRPATH}"":""$with_PYDIRPATH"
28515 if test "x${usrp2_SWIGDIRPATH}" != "x"; then
28516 if test "x$with_SWIGDIRPATH" = "x"; then
28517 with_SWIGDIRPATH="${usrp2_SWIGDIRPATH}"
28519 with_SWIGDIRPATH="${usrp2_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
28525 if test "x${usrp2_LIBDIRPATH}" != "x"; then
28526 if test "x$with_LIBDIRPATH" = "x"; then
28527 with_LIBDIRPATH="${usrp2_LIBDIRPATH}"
28529 with_LIBDIRPATH="${usrp2_LIBDIRPATH}"":""$with_LIBDIRPATH"
28534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 will be included from a pre-installed library and includes." >&5
28535 $as_echo "Component usrp2 will be included from a pre-installed library and includes." >&6; }
28539 if test x$enable_usrp2 != xno; then
28541 build_dirs="$build_dirs usrp2"
28542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 passed configuration checks; building." >&5
28543 $as_echo "Component usrp2 passed configuration checks; building." >&6; }
28546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component usrp2 passed configuration checks; but not building." >&5
28547 $as_echo "Component usrp2 passed configuration checks; but not building." >&6; }
28551 if test $passed = no; then
28552 skipped_dirs="$skipped_dirs usrp2"
28569 # Check whether --enable-gr-usrp was given.
28570 if test "${enable_gr_usrp+set}" = set; then :
28571 enableval=$enable_gr_usrp;
28574 enable_gr_usrp=$enable_all_components
28575 if test x$enable_all_components = xno; then
28585 if test $passed != no; then
28586 if test $passed = yes; then
28587 if test x$usrp_skipped = xyes; then
28588 { $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
28589 $as_echo "Component gr-usrp requires usrp, which is not being built or specified via pre-installed files." >&6; }
28593 if test x$usrp_with = xno; then
28594 as_fn_error "Component gr-usrp requires usrp to be included as --with-usrp[=arg]" "$LINENO" 5
28600 if test $passed != no; then
28601 if test $passed = yes; then
28602 if test x$gnuradio_core_skipped = xyes; then
28603 { $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
28604 $as_echo "Component gr-usrp requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
28608 if test x$gnuradio_core_with = xno; then
28609 as_fn_error "Component gr-usrp requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
28615 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"
28621 if test $passed = no; then
28622 if test x$enable_gr_usrp = xyes; then
28623 as_fn_error "Component gr-usrp has errors; stopping." "$LINENO" 5
28625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-usrp." >&5
28626 $as_echo "Not building component gr-usrp." >&6; }
28629 if test $passed = with; then
28630 with_dirs="$with_dirs gr-usrp"
28632 if test "x${gr_usrp_INCLUDES}" != "x"; then
28633 if test "x$with_INCLUDES" = "x"; then
28634 with_INCLUDES="${gr_usrp_INCLUDES}"
28636 with_INCLUDES="${gr_usrp_INCLUDES}"" ""$with_INCLUDES"
28642 if test "x${gr_usrp_SWIG_INCLUDES}" != "x"; then
28643 if test "x$with_SWIG_INCLUDES" = "x"; then
28644 with_SWIG_INCLUDES="${gr_usrp_SWIG_INCLUDES}"
28646 with_SWIG_INCLUDES="${gr_usrp_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
28648 gr_usrp_SWIG_INCLUDES=
28652 if test "x${gr_usrp_PYDIRPATH}" != "x"; then
28653 if test "x$with_PYDIRPATH" = "x"; then
28654 with_PYDIRPATH="${gr_usrp_PYDIRPATH}"
28656 with_PYDIRPATH="${gr_usrp_PYDIRPATH}"":""$with_PYDIRPATH"
28662 if test "x${gr_usrp_SWIGDIRPATH}" != "x"; then
28663 if test "x$with_SWIGDIRPATH" = "x"; then
28664 with_SWIGDIRPATH="${gr_usrp_SWIGDIRPATH}"
28666 with_SWIGDIRPATH="${gr_usrp_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
28668 gr_usrp_SWIGDIRPATH=
28672 if test "x${gr_usrp_LIBDIRPATH}" != "x"; then
28673 if test "x$with_LIBDIRPATH" = "x"; then
28674 with_LIBDIRPATH="${gr_usrp_LIBDIRPATH}"
28676 with_LIBDIRPATH="${gr_usrp_LIBDIRPATH}"":""$with_LIBDIRPATH"
28678 gr_usrp_LIBDIRPATH=
28681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-usrp will be included from a pre-installed library and includes." >&5
28682 $as_echo "Component gr-usrp will be included from a pre-installed library and includes." >&6; }
28686 if test x$enable_gr_usrp != xno; then
28687 ac_config_commands="$ac_config_commands run_tests_usrp"
28690 build_dirs="$build_dirs gr-usrp"
28691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-usrp passed configuration checks; building." >&5
28692 $as_echo "Component gr-usrp passed configuration checks; building." >&6; }
28695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-usrp passed configuration checks; but not building." >&5
28696 $as_echo "Component gr-usrp passed configuration checks; but not building." >&6; }
28700 if test $passed = no; then
28701 skipped_dirs="$skipped_dirs gr-usrp"
28702 gr_usrp_skipped=yes
28717 # Check whether --enable-gr-usrp2 was given.
28718 if test "${enable_gr_usrp2+set}" = set; then :
28719 enableval=$enable_gr_usrp2;
28722 enable_gr_usrp2=$enable_all_components
28723 if test x$enable_all_components = xno; then
28733 if test $passed != no; then
28734 if test $passed = yes; then
28735 if test x$usrp2_skipped = xyes; then
28736 { $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
28737 $as_echo "Component gr-usrp2 requires usrp2, which is not being built or specified via pre-installed files." >&6; }
28741 if test x$usrp2_with = xno; then
28742 as_fn_error "Component gr-usrp2 requires usrp2 to be included as --with-usrp2[=arg]" "$LINENO" 5
28748 if test $passed != no; then
28749 if test $passed = yes; then
28750 if test x$gnuradio_core_skipped = xyes; then
28751 { $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
28752 $as_echo "Component gr-usrp2 requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
28756 if test x$gnuradio_core_with = xno; then
28757 as_fn_error "Component gr-usrp2 requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
28763 ac_config_files="$ac_config_files gr-usrp2/Makefile gr-usrp2/gnuradio-usrp2.pc gr-usrp2/src/Makefile gr-usrp2/src/run_tests"
28769 if test $passed = no; then
28770 if test x$enable_gr_usrp2 = xyes; then
28771 as_fn_error "Component gr-usrp2 has errors; stopping." "$LINENO" 5
28773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-usrp2." >&5
28774 $as_echo "Not building component gr-usrp2." >&6; }
28777 if test $passed = with; then
28778 with_dirs="$with_dirs gr-usrp2"
28780 if test "x${gr_usrp2_INCLUDES}" != "x"; then
28781 if test "x$with_INCLUDES" = "x"; then
28782 with_INCLUDES="${gr_usrp2_INCLUDES}"
28784 with_INCLUDES="${gr_usrp2_INCLUDES}"" ""$with_INCLUDES"
28790 if test "x${gr_usrp2_SWIG_INCLUDES}" != "x"; then
28791 if test "x$with_SWIG_INCLUDES" = "x"; then
28792 with_SWIG_INCLUDES="${gr_usrp2_SWIG_INCLUDES}"
28794 with_SWIG_INCLUDES="${gr_usrp2_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
28796 gr_usrp2_SWIG_INCLUDES=
28800 if test "x${gr_usrp2_PYDIRPATH}" != "x"; then
28801 if test "x$with_PYDIRPATH" = "x"; then
28802 with_PYDIRPATH="${gr_usrp2_PYDIRPATH}"
28804 with_PYDIRPATH="${gr_usrp2_PYDIRPATH}"":""$with_PYDIRPATH"
28806 gr_usrp2_PYDIRPATH=
28810 if test "x${gr_usrp2_SWIGDIRPATH}" != "x"; then
28811 if test "x$with_SWIGDIRPATH" = "x"; then
28812 with_SWIGDIRPATH="${gr_usrp2_SWIGDIRPATH}"
28814 with_SWIGDIRPATH="${gr_usrp2_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
28816 gr_usrp2_SWIGDIRPATH=
28820 if test "x${gr_usrp2_LIBDIRPATH}" != "x"; then
28821 if test "x$with_LIBDIRPATH" = "x"; then
28822 with_LIBDIRPATH="${gr_usrp2_LIBDIRPATH}"
28824 with_LIBDIRPATH="${gr_usrp2_LIBDIRPATH}"":""$with_LIBDIRPATH"
28826 gr_usrp2_LIBDIRPATH=
28829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-usrp2 will be included from a pre-installed library and includes." >&5
28830 $as_echo "Component gr-usrp2 will be included from a pre-installed library and includes." >&6; }
28834 if test x$enable_gr_usrp2 != xno; then
28835 ac_config_commands="$ac_config_commands run_tests_usrp2"
28838 build_dirs="$build_dirs gr-usrp2"
28839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-usrp2 passed configuration checks; building." >&5
28840 $as_echo "Component gr-usrp2 passed configuration checks; building." >&6; }
28843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-usrp2 passed configuration checks; but not building." >&5
28844 $as_echo "Component gr-usrp2 passed configuration checks; but not building." >&6; }
28848 if test $passed = no; then
28849 skipped_dirs="$skipped_dirs gr-usrp2"
28850 gr_usrp2_skipped=yes
28852 gr_usrp2_skipped=no
28866 # Check whether --enable-gr-gcell was given.
28867 if test "${enable_gr_gcell+set}" = set; then :
28868 enableval=$enable_gr_gcell;
28871 enable_gr_gcell=$enable_all_components
28872 if test x$enable_all_components = xno; then
28882 if test $passed != no; then
28883 if test $passed = yes; then
28884 if test x$gcell_skipped = xyes; then
28885 { $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
28886 $as_echo "Component gr-gcell requires gcell, which is not being built or specified via pre-installed files." >&6; }
28890 if test x$gcell_with = xno; then
28891 as_fn_error "Component gr-gcell requires gcell to be included as --with-gcell[=arg]" "$LINENO" 5
28897 if test $passed != no; then
28898 if test $passed = yes; then
28899 if test x$gnuradio_core_skipped = xyes; then
28900 { $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
28901 $as_echo "Component gr-gcell requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
28905 if test x$gnuradio_core_with = xno; then
28906 as_fn_error "Component gr-gcell requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
28912 ac_config_files="$ac_config_files gr-gcell/Makefile gr-gcell/src/Makefile gr-gcell/src/examples/Makefile gr-gcell/src/run_tests"
28918 if test $passed = no; then
28919 if test x$enable_gr_gcell = xyes; then
28920 as_fn_error "Component gr-gcell has errors; stopping." "$LINENO" 5
28922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-gcell." >&5
28923 $as_echo "Not building component gr-gcell." >&6; }
28926 if test $passed = with; then
28927 with_dirs="$with_dirs gr-gcell"
28929 if test "x${gr_gcell_INCLUDES}" != "x"; then
28930 if test "x$with_INCLUDES" = "x"; then
28931 with_INCLUDES="${gr_gcell_INCLUDES}"
28933 with_INCLUDES="${gr_gcell_INCLUDES}"" ""$with_INCLUDES"
28939 if test "x${gr_gcell_SWIG_INCLUDES}" != "x"; then
28940 if test "x$with_SWIG_INCLUDES" = "x"; then
28941 with_SWIG_INCLUDES="${gr_gcell_SWIG_INCLUDES}"
28943 with_SWIG_INCLUDES="${gr_gcell_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
28945 gr_gcell_SWIG_INCLUDES=
28949 if test "x${gr_gcell_PYDIRPATH}" != "x"; then
28950 if test "x$with_PYDIRPATH" = "x"; then
28951 with_PYDIRPATH="${gr_gcell_PYDIRPATH}"
28953 with_PYDIRPATH="${gr_gcell_PYDIRPATH}"":""$with_PYDIRPATH"
28955 gr_gcell_PYDIRPATH=
28959 if test "x${gr_gcell_SWIGDIRPATH}" != "x"; then
28960 if test "x$with_SWIGDIRPATH" = "x"; then
28961 with_SWIGDIRPATH="${gr_gcell_SWIGDIRPATH}"
28963 with_SWIGDIRPATH="${gr_gcell_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
28965 gr_gcell_SWIGDIRPATH=
28969 if test "x${gr_gcell_LIBDIRPATH}" != "x"; then
28970 if test "x$with_LIBDIRPATH" = "x"; then
28971 with_LIBDIRPATH="${gr_gcell_LIBDIRPATH}"
28973 with_LIBDIRPATH="${gr_gcell_LIBDIRPATH}"":""$with_LIBDIRPATH"
28975 gr_gcell_LIBDIRPATH=
28978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gcell will be included from a pre-installed library and includes." >&5
28979 $as_echo "Component gr-gcell will be included from a pre-installed library and includes." >&6; }
28983 if test x$enable_gr_gcell != xno; then
28984 ac_config_commands="$ac_config_commands run_tests_gcell"
28987 build_dirs="$build_dirs gr-gcell"
28988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gcell passed configuration checks; building." >&5
28989 $as_echo "Component gr-gcell passed configuration checks; building." >&6; }
28992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gcell passed configuration checks; but not building." >&5
28993 $as_echo "Component gr-gcell passed configuration checks; but not building." >&6; }
28997 if test $passed = no; then
28998 skipped_dirs="$skipped_dirs gr-gcell"
28999 gr_gcell_skipped=yes
29001 gr_gcell_skipped=no
29014 # Check whether --enable-gr-audio-alsa was given.
29015 if test "${enable_gr_audio_alsa+set}" = set; then :
29016 enableval=$enable_gr_audio_alsa;
29019 enable_gr_audio_alsa=$enable_all_components
29020 if test x$enable_all_components = xno; then
29030 if test $passed != no; then
29031 if test $passed = yes; then
29032 if test x$gnuradio_core_skipped = xyes; then
29033 { $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
29034 $as_echo "Component gr-audio-alsa requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
29038 if test x$gnuradio_core_with = xno; then
29039 as_fn_error "Component gr-audio-alsa requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
29045 if test $passed = yes; then
29050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
29051 $as_echo_n "checking for ALSA... " >&6; }
29053 if test -n "$PKG_CONFIG"; then
29054 if test -n "$ALSA_CFLAGS"; then
29055 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
29057 if test -n "$PKG_CONFIG" && \
29058 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9\""; } >&5
29059 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9") 2>&5
29061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29062 test $ac_status = 0; }; then
29063 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 0.9" 2>/dev/null`
29072 if test x$cross_compiling = xyes
29074 if test -n "$PKG_CONFIG"; then
29075 if test -n "$ALSA_LIBS"; then
29076 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
29078 if test -n "$PKG_CONFIG" && \
29079 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9\""; } >&5
29080 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9") 2>&5
29082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29083 test $ac_status = 0; }; then
29084 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs --static "alsa >= 0.9" 2>/dev/null`
29093 for flag in $pkg_cv_ALSA_LIBS; do
29095 (-L/lib* | -L/usr/lib* ) ;; # ignore
29096 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
29099 pkg_cv_ALSA_LIBS="$_pkg_tmp"
29101 if test -n "$PKG_CONFIG"; then
29102 if test -n "$ALSA_LIBS"; then
29103 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
29105 if test -n "$PKG_CONFIG" && \
29106 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9\""; } >&5
29107 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9") 2>&5
29109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29110 test $ac_status = 0; }; then
29111 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs --static "alsa >= 0.9" 2>/dev/null`
29121 if test -n "$PKG_CONFIG"; then
29122 if test -n "$ALSA_INCLUDEDIR"; then
29123 pkg_cv_ALSA_INCLUDEDIR="$ALSA_INCLUDEDIR"
29125 if test -n "$PKG_CONFIG" && \
29126 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9\""; } >&5
29127 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9") 2>&5
29129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29130 test $ac_status = 0; }; then
29131 pkg_cv_ALSA_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "alsa >= 0.9" 2>/dev/null`
29143 if test $pkg_failed = yes; then
29145 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29146 _pkg_short_errors_supported=yes
29148 _pkg_short_errors_supported=no
29150 if test $_pkg_short_errors_supported = yes; then
29151 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "alsa >= 0.9"`
29153 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa >= 0.9"`
29155 # Put the nasty error message in config.log where it belongs
29156 echo "$ALSA_PKG_ERRORS" >&5
29158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29159 $as_echo "no" >&6; }
29160 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-alsa requires package alsa, not found." >&5
29161 $as_echo "gr-audio-alsa requires package alsa, not found." >&6; }
29162 elif test $pkg_failed = untried; then
29163 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-alsa requires package alsa, not found." >&5
29164 $as_echo "gr-audio-alsa requires package alsa, not found." >&6; }
29166 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
29167 ALSA_LIBS=$pkg_cv_ALSA_LIBS
29168 ALSA_INCLUDEDIR=$pkg_cv_ALSA_INCLUDEDIR
29171 for flag in $ALSA_CFLAGS; do
29173 -I* | -D* | -U*) ALSA_CPPFLAGS="$ALSA_CPPFLAGS $flag" ;;
29176 pkg_cv_ALSA_CPPFLAGS=$ALSA_CPPFLAGS
29179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29180 $as_echo "yes" >&6; }
29185 ac_config_files="$ac_config_files gr-audio-alsa/Makefile gr-audio-alsa/gr-audio-alsa.pc gr-audio-alsa/src/Makefile gr-audio-alsa/src/run_tests"
29190 gr_audio_alsa_with=no
29191 if test $passed = no; then
29192 if test x$enable_gr_audio_alsa = xyes; then
29193 as_fn_error "Component gr-audio-alsa has errors; stopping." "$LINENO" 5
29195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-audio-alsa." >&5
29196 $as_echo "Not building component gr-audio-alsa." >&6; }
29199 if test $passed = with; then
29200 with_dirs="$with_dirs gr-audio-alsa"
29202 if test "x${gr_audio_alsa_INCLUDES}" != "x"; then
29203 if test "x$with_INCLUDES" = "x"; then
29204 with_INCLUDES="${gr_audio_alsa_INCLUDES}"
29206 with_INCLUDES="${gr_audio_alsa_INCLUDES}"" ""$with_INCLUDES"
29208 gr_audio_alsa_INCLUDES=
29212 if test "x${gr_audio_alsa_SWIG_INCLUDES}" != "x"; then
29213 if test "x$with_SWIG_INCLUDES" = "x"; then
29214 with_SWIG_INCLUDES="${gr_audio_alsa_SWIG_INCLUDES}"
29216 with_SWIG_INCLUDES="${gr_audio_alsa_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
29218 gr_audio_alsa_SWIG_INCLUDES=
29222 if test "x${gr_audio_alsa_PYDIRPATH}" != "x"; then
29223 if test "x$with_PYDIRPATH" = "x"; then
29224 with_PYDIRPATH="${gr_audio_alsa_PYDIRPATH}"
29226 with_PYDIRPATH="${gr_audio_alsa_PYDIRPATH}"":""$with_PYDIRPATH"
29228 gr_audio_alsa_PYDIRPATH=
29232 if test "x${gr_audio_alsa_SWIGDIRPATH}" != "x"; then
29233 if test "x$with_SWIGDIRPATH" = "x"; then
29234 with_SWIGDIRPATH="${gr_audio_alsa_SWIGDIRPATH}"
29236 with_SWIGDIRPATH="${gr_audio_alsa_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
29238 gr_audio_alsa_SWIGDIRPATH=
29242 if test "x${gr_audio_alsa_LIBDIRPATH}" != "x"; then
29243 if test "x$with_LIBDIRPATH" = "x"; then
29244 with_LIBDIRPATH="${gr_audio_alsa_LIBDIRPATH}"
29246 with_LIBDIRPATH="${gr_audio_alsa_LIBDIRPATH}"":""$with_LIBDIRPATH"
29248 gr_audio_alsa_LIBDIRPATH=
29251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-alsa will be included from a pre-installed library and includes." >&5
29252 $as_echo "Component gr-audio-alsa will be included from a pre-installed library and includes." >&6; }
29253 gr_audio_alsa_with=yes
29255 gr_audio_alsa_LDFLAG=
29256 if test x$enable_gr_audio_alsa != xno; then
29257 ac_config_commands="$ac_config_commands run_tests_alsa"
29260 build_dirs="$build_dirs gr-audio-alsa"
29261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-alsa passed configuration checks; building." >&5
29262 $as_echo "Component gr-audio-alsa passed configuration checks; building." >&6; }
29265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-alsa passed configuration checks; but not building." >&5
29266 $as_echo "Component gr-audio-alsa passed configuration checks; but not building." >&6; }
29270 if test $passed = no; then
29271 skipped_dirs="$skipped_dirs gr-audio-alsa"
29272 gr_audio_alsa_skipped=yes
29274 gr_audio_alsa_skipped=no
29288 # Check whether --enable-gr-audio-jack was given.
29289 if test "${enable_gr_audio_jack+set}" = set; then :
29290 enableval=$enable_gr_audio_jack;
29293 enable_gr_audio_jack=$enable_all_components
29294 if test x$enable_all_components = xno; then
29304 if test $passed != no; then
29305 if test $passed = yes; then
29306 if test x$gnuradio_core_skipped = xyes; then
29307 { $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
29308 $as_echo "Component gr-audio-jack requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
29312 if test x$gnuradio_core_with = xno; then
29313 as_fn_error "Component gr-audio-jack requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
29319 if test $passed = yes; then
29324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5
29325 $as_echo_n "checking for JACK... " >&6; }
29327 if test -n "$PKG_CONFIG"; then
29328 if test -n "$JACK_CFLAGS"; then
29329 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
29331 if test -n "$PKG_CONFIG" && \
29332 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.8\""; } >&5
29333 ($PKG_CONFIG --exists --print-errors "jack >= 0.8") 2>&5
29335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29336 test $ac_status = 0; }; then
29337 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.8" 2>/dev/null`
29346 if test x$cross_compiling = xyes
29348 if test -n "$PKG_CONFIG"; then
29349 if test -n "$JACK_LIBS"; then
29350 pkg_cv_JACK_LIBS="$JACK_LIBS"
29352 if test -n "$PKG_CONFIG" && \
29353 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.8\""; } >&5
29354 ($PKG_CONFIG --exists --print-errors "jack >= 0.8") 2>&5
29356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29357 test $ac_status = 0; }; then
29358 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs --static "jack >= 0.8" 2>/dev/null`
29367 for flag in $pkg_cv_JACK_LIBS; do
29369 (-L/lib* | -L/usr/lib* ) ;; # ignore
29370 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
29373 pkg_cv_JACK_LIBS="$_pkg_tmp"
29375 if test -n "$PKG_CONFIG"; then
29376 if test -n "$JACK_LIBS"; then
29377 pkg_cv_JACK_LIBS="$JACK_LIBS"
29379 if test -n "$PKG_CONFIG" && \
29380 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.8\""; } >&5
29381 ($PKG_CONFIG --exists --print-errors "jack >= 0.8") 2>&5
29383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29384 test $ac_status = 0; }; then
29385 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs --static "jack >= 0.8" 2>/dev/null`
29395 if test -n "$PKG_CONFIG"; then
29396 if test -n "$JACK_INCLUDEDIR"; then
29397 pkg_cv_JACK_INCLUDEDIR="$JACK_INCLUDEDIR"
29399 if test -n "$PKG_CONFIG" && \
29400 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.8\""; } >&5
29401 ($PKG_CONFIG --exists --print-errors "jack >= 0.8") 2>&5
29403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29404 test $ac_status = 0; }; then
29405 pkg_cv_JACK_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "jack >= 0.8" 2>/dev/null`
29417 if test $pkg_failed = yes; then
29419 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29420 _pkg_short_errors_supported=yes
29422 _pkg_short_errors_supported=no
29424 if test $_pkg_short_errors_supported = yes; then
29425 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "jack >= 0.8"`
29427 JACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "jack >= 0.8"`
29429 # Put the nasty error message in config.log where it belongs
29430 echo "$JACK_PKG_ERRORS" >&5
29432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29433 $as_echo "no" >&6; }
29434 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-jack requires package jack, not found." >&5
29435 $as_echo "gr-audio-jack requires package jack, not found." >&6; }
29436 elif test $pkg_failed = untried; then
29437 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-jack requires package jack, not found." >&5
29438 $as_echo "gr-audio-jack requires package jack, not found." >&6; }
29440 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
29441 JACK_LIBS=$pkg_cv_JACK_LIBS
29442 JACK_INCLUDEDIR=$pkg_cv_JACK_INCLUDEDIR
29445 for flag in $JACK_CFLAGS; do
29447 -I* | -D* | -U*) JACK_CPPFLAGS="$JACK_CPPFLAGS $flag" ;;
29450 pkg_cv_JACK_CPPFLAGS=$JACK_CPPFLAGS
29453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29454 $as_echo "yes" >&6; }
29459 ac_config_files="$ac_config_files gr-audio-jack/Makefile gr-audio-jack/src/Makefile gr-audio-jack/src/run_tests"
29464 gr_audio_jack_with=no
29465 if test $passed = no; then
29466 if test x$enable_gr_audio_jack = xyes; then
29467 as_fn_error "Component gr-audio-jack has errors; stopping." "$LINENO" 5
29469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-audio-jack." >&5
29470 $as_echo "Not building component gr-audio-jack." >&6; }
29473 if test $passed = with; then
29474 with_dirs="$with_dirs gr-audio-jack"
29476 if test "x${gr_audio_jack_INCLUDES}" != "x"; then
29477 if test "x$with_INCLUDES" = "x"; then
29478 with_INCLUDES="${gr_audio_jack_INCLUDES}"
29480 with_INCLUDES="${gr_audio_jack_INCLUDES}"" ""$with_INCLUDES"
29482 gr_audio_jack_INCLUDES=
29486 if test "x${gr_audio_jack_SWIG_INCLUDES}" != "x"; then
29487 if test "x$with_SWIG_INCLUDES" = "x"; then
29488 with_SWIG_INCLUDES="${gr_audio_jack_SWIG_INCLUDES}"
29490 with_SWIG_INCLUDES="${gr_audio_jack_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
29492 gr_audio_jack_SWIG_INCLUDES=
29496 if test "x${gr_audio_jack_PYDIRPATH}" != "x"; then
29497 if test "x$with_PYDIRPATH" = "x"; then
29498 with_PYDIRPATH="${gr_audio_jack_PYDIRPATH}"
29500 with_PYDIRPATH="${gr_audio_jack_PYDIRPATH}"":""$with_PYDIRPATH"
29502 gr_audio_jack_PYDIRPATH=
29506 if test "x${gr_audio_jack_SWIGDIRPATH}" != "x"; then
29507 if test "x$with_SWIGDIRPATH" = "x"; then
29508 with_SWIGDIRPATH="${gr_audio_jack_SWIGDIRPATH}"
29510 with_SWIGDIRPATH="${gr_audio_jack_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
29512 gr_audio_jack_SWIGDIRPATH=
29516 if test "x${gr_audio_jack_LIBDIRPATH}" != "x"; then
29517 if test "x$with_LIBDIRPATH" = "x"; then
29518 with_LIBDIRPATH="${gr_audio_jack_LIBDIRPATH}"
29520 with_LIBDIRPATH="${gr_audio_jack_LIBDIRPATH}"":""$with_LIBDIRPATH"
29522 gr_audio_jack_LIBDIRPATH=
29525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-jack will be included from a pre-installed library and includes." >&5
29526 $as_echo "Component gr-audio-jack will be included from a pre-installed library and includes." >&6; }
29527 gr_audio_jack_with=yes
29529 gr_audio_jack_LDFLAG=
29530 if test x$enable_gr_audio_jack != xno; then
29531 ac_config_commands="$ac_config_commands run_tests_jack"
29534 build_dirs="$build_dirs gr-audio-jack"
29535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-jack passed configuration checks; building." >&5
29536 $as_echo "Component gr-audio-jack passed configuration checks; building." >&6; }
29539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-jack passed configuration checks; but not building." >&5
29540 $as_echo "Component gr-audio-jack passed configuration checks; but not building." >&6; }
29544 if test $passed = no; then
29545 skipped_dirs="$skipped_dirs gr-audio-jack"
29546 gr_audio_jack_skipped=yes
29548 gr_audio_jack_skipped=no
29562 # Check whether --enable-gr-audio-oss was given.
29563 if test "${enable_gr_audio_oss+set}" = set; then :
29564 enableval=$enable_gr_audio_oss;
29567 enable_gr_audio_oss=$enable_all_components
29568 if test x$enable_all_components = xno; then
29578 if test $passed != no; then
29579 if test $passed = yes; then
29580 if test x$gnuradio_core_skipped = xyes; then
29581 { $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
29582 $as_echo "Component gr-audio-oss requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
29586 if test x$gnuradio_core_with = xno; then
29587 as_fn_error "Component gr-audio-oss requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
29593 if test $passed = yes; then
29596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lossaudio" >&5
29597 $as_echo_n "checking for main in -lossaudio... " >&6; }
29598 if test "${ac_cv_lib_ossaudio_main+set}" = set; then :
29599 $as_echo_n "(cached) " >&6
29601 ac_check_lib_save_LIBS=$LIBS
29602 LIBS="-lossaudio $LIBS"
29603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29604 /* end confdefs.h. */
29615 if ac_fn_c_try_link "$LINENO"; then :
29616 ac_cv_lib_ossaudio_main=yes
29618 ac_cv_lib_ossaudio_main=no
29620 rm -f core conftest.err conftest.$ac_objext \
29621 conftest$ac_exeext conftest.$ac_ext
29622 LIBS=$ac_check_lib_save_LIBS
29624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio_main" >&5
29625 $as_echo "$ac_cv_lib_ossaudio_main" >&6; }
29626 if test "x$ac_cv_lib_ossaudio_main" = x""yes; then :
29627 cat >>confdefs.h <<_ACEOF
29628 #define HAVE_LIBOSSAUDIO 1
29631 LIBS="-lossaudio $LIBS"
29634 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-oss requires library ossaudio, not found." >&5
29635 $as_echo "gr-audio-oss requires library ossaudio, not found." >&6; }
29637 ac_cv_lib_ossaudio=ac_cv_lib_ossaudio_main
29639 if test $passed != no; then
29640 OSS_LIBS=-lossaudio
29642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using OSS library $OSS_LIBS" >&5
29643 $as_echo "Using OSS library $OSS_LIBS" >&6; }
29650 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
29651 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then :
29654 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-oss requires sys/soundcard.h, not found." >&5
29655 $as_echo "gr-audio-oss requires sys/soundcard.h, not found." >&6; }
29662 ac_config_files="$ac_config_files gr-audio-oss/Makefile gr-audio-oss/src/Makefile gr-audio-oss/src/run_tests"
29667 gr_audio_oss_with=no
29668 if test $passed = no; then
29669 if test x$enable_gr_audio_oss = xyes; then
29670 as_fn_error "Component gr-audio-oss has errors; stopping." "$LINENO" 5
29672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-audio-oss." >&5
29673 $as_echo "Not building component gr-audio-oss." >&6; }
29676 if test $passed = with; then
29677 with_dirs="$with_dirs gr-audio-oss"
29679 if test "x${gr_audio_oss_INCLUDES}" != "x"; then
29680 if test "x$with_INCLUDES" = "x"; then
29681 with_INCLUDES="${gr_audio_oss_INCLUDES}"
29683 with_INCLUDES="${gr_audio_oss_INCLUDES}"" ""$with_INCLUDES"
29685 gr_audio_oss_INCLUDES=
29689 if test "x${gr_audio_oss_SWIG_INCLUDES}" != "x"; then
29690 if test "x$with_SWIG_INCLUDES" = "x"; then
29691 with_SWIG_INCLUDES="${gr_audio_oss_SWIG_INCLUDES}"
29693 with_SWIG_INCLUDES="${gr_audio_oss_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
29695 gr_audio_oss_SWIG_INCLUDES=
29699 if test "x${gr_audio_oss_PYDIRPATH}" != "x"; then
29700 if test "x$with_PYDIRPATH" = "x"; then
29701 with_PYDIRPATH="${gr_audio_oss_PYDIRPATH}"
29703 with_PYDIRPATH="${gr_audio_oss_PYDIRPATH}"":""$with_PYDIRPATH"
29705 gr_audio_oss_PYDIRPATH=
29709 if test "x${gr_audio_oss_SWIGDIRPATH}" != "x"; then
29710 if test "x$with_SWIGDIRPATH" = "x"; then
29711 with_SWIGDIRPATH="${gr_audio_oss_SWIGDIRPATH}"
29713 with_SWIGDIRPATH="${gr_audio_oss_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
29715 gr_audio_oss_SWIGDIRPATH=
29719 if test "x${gr_audio_oss_LIBDIRPATH}" != "x"; then
29720 if test "x$with_LIBDIRPATH" = "x"; then
29721 with_LIBDIRPATH="${gr_audio_oss_LIBDIRPATH}"
29723 with_LIBDIRPATH="${gr_audio_oss_LIBDIRPATH}"":""$with_LIBDIRPATH"
29725 gr_audio_oss_LIBDIRPATH=
29728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-oss will be included from a pre-installed library and includes." >&5
29729 $as_echo "Component gr-audio-oss will be included from a pre-installed library and includes." >&6; }
29730 gr_audio_oss_with=yes
29732 gr_audio_oss_LDFLAG=
29733 if test x$enable_gr_audio_oss != xno; then
29734 ac_config_commands="$ac_config_commands run_tests_oss"
29737 build_dirs="$build_dirs gr-audio-oss"
29738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-oss passed configuration checks; building." >&5
29739 $as_echo "Component gr-audio-oss passed configuration checks; building." >&6; }
29742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-oss passed configuration checks; but not building." >&5
29743 $as_echo "Component gr-audio-oss passed configuration checks; but not building." >&6; }
29747 if test $passed = no; then
29748 skipped_dirs="$skipped_dirs gr-audio-oss"
29749 gr_audio_oss_skipped=yes
29751 gr_audio_oss_skipped=no
29765 # Check whether --enable-gr-audio-osx was given.
29766 if test "${enable_gr_audio_osx+set}" = set; then :
29767 enableval=$enable_gr_audio_osx;
29770 enable_gr_audio_osx=$enable_all_components
29771 if test x$enable_all_components = xno; then
29781 if test $passed != no; then
29782 if test $passed = yes; then
29783 if test x$omnithread_skipped = xyes; then
29784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-osx requires omnithread, which is not being built or specified via pre-installed files." >&5
29785 $as_echo "Component gr-audio-osx requires omnithread, which is not being built or specified via pre-installed files." >&6; }
29789 if test x$omnithread_with = xno; then
29790 as_fn_error "Component gr-audio-osx requires omnithread to be included as --with-omnithread[=arg]" "$LINENO" 5
29796 if test $passed != no; then
29797 if test $passed = yes; then
29798 if test x$gnuradio_core_skipped = xyes; then
29799 { $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
29800 $as_echo "Component gr-audio-osx requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
29804 if test x$gnuradio_core_with = xno; then
29805 as_fn_error "Component gr-audio-osx requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
29811 if test $passed = yes; then
29820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-osx requires darwin or MacOS X." >&5
29821 $as_echo "gr-audio-osx requires darwin or MacOS X." >&6; }
29824 for ac_header in AudioUnit/AudioUnit.h
29826 ac_fn_c_check_header_mongrel "$LINENO" "AudioUnit/AudioUnit.h" "ac_cv_header_AudioUnit_AudioUnit_h" "$ac_includes_default"
29827 if test "x$ac_cv_header_AudioUnit_AudioUnit_h" = x""yes; then :
29828 cat >>confdefs.h <<_ACEOF
29829 #define HAVE_AUDIOUNIT_AUDIOUNIT_H 1
29833 audiounitok=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-osx requires AudioUnit/AudioUnit.h, which is available on MacOS X." >&5
29834 $as_echo "gr-audio-osx requires AudioUnit/AudioUnit.h, which is available on MacOS X." >&6; }
29840 for ac_header in AudioToolbox/AudioToolbox.h
29842 ac_fn_c_check_header_mongrel "$LINENO" "AudioToolbox/AudioToolbox.h" "ac_cv_header_AudioToolbox_AudioToolbox_h" "$ac_includes_default"
29843 if test "x$ac_cv_header_AudioToolbox_AudioToolbox_h" = x""yes; then :
29844 cat >>confdefs.h <<_ACEOF
29845 #define HAVE_AUDIOTOOLBOX_AUDIOTOOLBOX_H 1
29849 audiounitok=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-osx requires AudioToolbox/AudioToolbox.h, which is available on MacOS X." >&5
29850 $as_echo "gr-audio-osx requires AudioToolbox/AudioToolbox.h, which is available on MacOS X." >&6; }
29856 if test $audiounitok = yes; then
29859 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-osx requires AudioUnit, not found." >&5
29860 $as_echo "gr-audio-osx requires AudioUnit, not found." >&6; }
29865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-osx will build on Mac OS X and Darwin only." >&5
29866 $as_echo "gr-audio-osx will build on Mac OS X and Darwin only." >&6; }
29872 ac_config_files="$ac_config_files gr-audio-osx/Makefile gr-audio-osx/src/Makefile gr-audio-osx/src/run_tests"
29877 gr_audio_osx_with=no
29878 if test $passed = no; then
29879 if test x$enable_gr_audio_osx = xyes; then
29880 as_fn_error "Component gr-audio-osx has errors; stopping." "$LINENO" 5
29882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-audio-osx." >&5
29883 $as_echo "Not building component gr-audio-osx." >&6; }
29886 if test $passed = with; then
29887 with_dirs="$with_dirs gr-audio-osx"
29889 if test "x${gr_audio_osx_INCLUDES}" != "x"; then
29890 if test "x$with_INCLUDES" = "x"; then
29891 with_INCLUDES="${gr_audio_osx_INCLUDES}"
29893 with_INCLUDES="${gr_audio_osx_INCLUDES}"" ""$with_INCLUDES"
29895 gr_audio_osx_INCLUDES=
29899 if test "x${gr_audio_osx_SWIG_INCLUDES}" != "x"; then
29900 if test "x$with_SWIG_INCLUDES" = "x"; then
29901 with_SWIG_INCLUDES="${gr_audio_osx_SWIG_INCLUDES}"
29903 with_SWIG_INCLUDES="${gr_audio_osx_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
29905 gr_audio_osx_SWIG_INCLUDES=
29909 if test "x${gr_audio_osx_PYDIRPATH}" != "x"; then
29910 if test "x$with_PYDIRPATH" = "x"; then
29911 with_PYDIRPATH="${gr_audio_osx_PYDIRPATH}"
29913 with_PYDIRPATH="${gr_audio_osx_PYDIRPATH}"":""$with_PYDIRPATH"
29915 gr_audio_osx_PYDIRPATH=
29919 if test "x${gr_audio_osx_SWIGDIRPATH}" != "x"; then
29920 if test "x$with_SWIGDIRPATH" = "x"; then
29921 with_SWIGDIRPATH="${gr_audio_osx_SWIGDIRPATH}"
29923 with_SWIGDIRPATH="${gr_audio_osx_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
29925 gr_audio_osx_SWIGDIRPATH=
29929 if test "x${gr_audio_osx_LIBDIRPATH}" != "x"; then
29930 if test "x$with_LIBDIRPATH" = "x"; then
29931 with_LIBDIRPATH="${gr_audio_osx_LIBDIRPATH}"
29933 with_LIBDIRPATH="${gr_audio_osx_LIBDIRPATH}"":""$with_LIBDIRPATH"
29935 gr_audio_osx_LIBDIRPATH=
29938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-osx will be included from a pre-installed library and includes." >&5
29939 $as_echo "Component gr-audio-osx will be included from a pre-installed library and includes." >&6; }
29940 gr_audio_osx_with=yes
29942 gr_audio_osx_LDFLAG=
29943 if test x$enable_gr_audio_osx != xno; then
29944 ac_config_commands="$ac_config_commands run_tests_osx"
29947 build_dirs="$build_dirs gr-audio-osx"
29948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-osx passed configuration checks; building." >&5
29949 $as_echo "Component gr-audio-osx passed configuration checks; building." >&6; }
29952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-osx passed configuration checks; but not building." >&5
29953 $as_echo "Component gr-audio-osx passed configuration checks; but not building." >&6; }
29957 if test $passed = no; then
29958 skipped_dirs="$skipped_dirs gr-audio-osx"
29959 gr_audio_osx_skipped=yes
29961 gr_audio_osx_skipped=no
29975 # Check whether --enable-gr-audio-portaudio was given.
29976 if test "${enable_gr_audio_portaudio+set}" = set; then :
29977 enableval=$enable_gr_audio_portaudio;
29980 enable_gr_audio_portaudio=$enable_all_components
29981 if test x$enable_all_components = xno; then
29991 if test $passed != no; then
29992 if test $passed = yes; then
29993 if test x$gnuradio_core_skipped = xyes; then
29994 { $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
29995 $as_echo "Component gr-audio-portaudio requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
29999 if test x$gnuradio_core_with = xno; then
30000 as_fn_error "Component gr-audio-portaudio requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
30006 if test $passed = yes; then
30011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PORTAUDIO" >&5
30012 $as_echo_n "checking for PORTAUDIO... " >&6; }
30014 if test -n "$PKG_CONFIG"; then
30015 if test -n "$PORTAUDIO_CFLAGS"; then
30016 pkg_cv_PORTAUDIO_CFLAGS="$PORTAUDIO_CFLAGS"
30018 if test -n "$PKG_CONFIG" && \
30019 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"portaudio-2.0 >= 19\""; } >&5
30020 ($PKG_CONFIG --exists --print-errors "portaudio-2.0 >= 19") 2>&5
30022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30023 test $ac_status = 0; }; then
30024 pkg_cv_PORTAUDIO_CFLAGS=`$PKG_CONFIG --cflags "portaudio-2.0 >= 19" 2>/dev/null`
30033 if test x$cross_compiling = xyes
30035 if test -n "$PKG_CONFIG"; then
30036 if test -n "$PORTAUDIO_LIBS"; then
30037 pkg_cv_PORTAUDIO_LIBS="$PORTAUDIO_LIBS"
30039 if test -n "$PKG_CONFIG" && \
30040 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"portaudio-2.0 >= 19\""; } >&5
30041 ($PKG_CONFIG --exists --print-errors "portaudio-2.0 >= 19") 2>&5
30043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30044 test $ac_status = 0; }; then
30045 pkg_cv_PORTAUDIO_LIBS=`$PKG_CONFIG --libs --static "portaudio-2.0 >= 19" 2>/dev/null`
30054 for flag in $pkg_cv_PORTAUDIO_LIBS; do
30056 (-L/lib* | -L/usr/lib* ) ;; # ignore
30057 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
30060 pkg_cv_PORTAUDIO_LIBS="$_pkg_tmp"
30062 if test -n "$PKG_CONFIG"; then
30063 if test -n "$PORTAUDIO_LIBS"; then
30064 pkg_cv_PORTAUDIO_LIBS="$PORTAUDIO_LIBS"
30066 if test -n "$PKG_CONFIG" && \
30067 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"portaudio-2.0 >= 19\""; } >&5
30068 ($PKG_CONFIG --exists --print-errors "portaudio-2.0 >= 19") 2>&5
30070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30071 test $ac_status = 0; }; then
30072 pkg_cv_PORTAUDIO_LIBS=`$PKG_CONFIG --libs --static "portaudio-2.0 >= 19" 2>/dev/null`
30082 if test -n "$PKG_CONFIG"; then
30083 if test -n "$PORTAUDIO_INCLUDEDIR"; then
30084 pkg_cv_PORTAUDIO_INCLUDEDIR="$PORTAUDIO_INCLUDEDIR"
30086 if test -n "$PKG_CONFIG" && \
30087 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"portaudio-2.0 >= 19\""; } >&5
30088 ($PKG_CONFIG --exists --print-errors "portaudio-2.0 >= 19") 2>&5
30090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30091 test $ac_status = 0; }; then
30092 pkg_cv_PORTAUDIO_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "portaudio-2.0 >= 19" 2>/dev/null`
30104 if test $pkg_failed = yes; then
30106 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30107 _pkg_short_errors_supported=yes
30109 _pkg_short_errors_supported=no
30111 if test $_pkg_short_errors_supported = yes; then
30112 PORTAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "portaudio-2.0 >= 19"`
30114 PORTAUDIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "portaudio-2.0 >= 19"`
30116 # Put the nasty error message in config.log where it belongs
30117 echo "$PORTAUDIO_PKG_ERRORS" >&5
30119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30120 $as_echo "no" >&6; }
30121 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-portaudio requires package portaudio, not found." >&5
30122 $as_echo "gr-audio-portaudio requires package portaudio, not found." >&6; }
30123 elif test $pkg_failed = untried; then
30124 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-portaudio requires package portaudio, not found." >&5
30125 $as_echo "gr-audio-portaudio requires package portaudio, not found." >&6; }
30127 PORTAUDIO_CFLAGS=$pkg_cv_PORTAUDIO_CFLAGS
30128 PORTAUDIO_LIBS=$pkg_cv_PORTAUDIO_LIBS
30129 PORTAUDIO_INCLUDEDIR=$pkg_cv_PORTAUDIO_INCLUDEDIR
30131 PORTAUDIO_CPPFLAGS=""
30132 for flag in $PORTAUDIO_CFLAGS; do
30134 -I* | -D* | -U*) PORTAUDIO_CPPFLAGS="$PORTAUDIO_CPPFLAGS $flag" ;;
30137 pkg_cv_PORTAUDIO_CPPFLAGS=$PORTAUDIO_CPPFLAGS
30140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30141 $as_echo "yes" >&6; }
30146 ac_config_files="$ac_config_files gr-audio-portaudio/Makefile gr-audio-portaudio/src/Makefile gr-audio-portaudio/src/run_tests"
30151 gr_audio_portaudio_with=no
30152 if test $passed = no; then
30153 if test x$enable_gr_audio_portaudio = xyes; then
30154 as_fn_error "Component gr-audio-portaudio has errors; stopping." "$LINENO" 5
30156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-audio-portaudio." >&5
30157 $as_echo "Not building component gr-audio-portaudio." >&6; }
30160 if test $passed = with; then
30161 with_dirs="$with_dirs gr-audio-portaudio"
30163 if test "x${gr_audio_portaudio_INCLUDES}" != "x"; then
30164 if test "x$with_INCLUDES" = "x"; then
30165 with_INCLUDES="${gr_audio_portaudio_INCLUDES}"
30167 with_INCLUDES="${gr_audio_portaudio_INCLUDES}"" ""$with_INCLUDES"
30169 gr_audio_portaudio_INCLUDES=
30173 if test "x${gr_audio_portaudio_SWIG_INCLUDES}" != "x"; then
30174 if test "x$with_SWIG_INCLUDES" = "x"; then
30175 with_SWIG_INCLUDES="${gr_audio_portaudio_SWIG_INCLUDES}"
30177 with_SWIG_INCLUDES="${gr_audio_portaudio_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
30179 gr_audio_portaudio_SWIG_INCLUDES=
30183 if test "x${gr_audio_portaudio_PYDIRPATH}" != "x"; then
30184 if test "x$with_PYDIRPATH" = "x"; then
30185 with_PYDIRPATH="${gr_audio_portaudio_PYDIRPATH}"
30187 with_PYDIRPATH="${gr_audio_portaudio_PYDIRPATH}"":""$with_PYDIRPATH"
30189 gr_audio_portaudio_PYDIRPATH=
30193 if test "x${gr_audio_portaudio_SWIGDIRPATH}" != "x"; then
30194 if test "x$with_SWIGDIRPATH" = "x"; then
30195 with_SWIGDIRPATH="${gr_audio_portaudio_SWIGDIRPATH}"
30197 with_SWIGDIRPATH="${gr_audio_portaudio_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
30199 gr_audio_portaudio_SWIGDIRPATH=
30203 if test "x${gr_audio_portaudio_LIBDIRPATH}" != "x"; then
30204 if test "x$with_LIBDIRPATH" = "x"; then
30205 with_LIBDIRPATH="${gr_audio_portaudio_LIBDIRPATH}"
30207 with_LIBDIRPATH="${gr_audio_portaudio_LIBDIRPATH}"":""$with_LIBDIRPATH"
30209 gr_audio_portaudio_LIBDIRPATH=
30212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-portaudio will be included from a pre-installed library and includes." >&5
30213 $as_echo "Component gr-audio-portaudio will be included from a pre-installed library and includes." >&6; }
30214 gr_audio_portaudio_with=yes
30216 gr_audio_portaudio_LDFLAG=
30217 if test x$enable_gr_audio_portaudio != xno; then
30218 ac_config_commands="$ac_config_commands run_tests_portaudio"
30221 build_dirs="$build_dirs gr-audio-portaudio"
30222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-portaudio passed configuration checks; building." >&5
30223 $as_echo "Component gr-audio-portaudio passed configuration checks; building." >&6; }
30226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-portaudio passed configuration checks; but not building." >&5
30227 $as_echo "Component gr-audio-portaudio passed configuration checks; but not building." >&6; }
30231 if test $passed = no; then
30232 skipped_dirs="$skipped_dirs gr-audio-portaudio"
30233 gr_audio_portaudio_skipped=yes
30235 gr_audio_portaudio_skipped=no
30249 # Check whether --enable-gr-audio-windows was given.
30250 if test "${enable_gr_audio_windows+set}" = set; then :
30251 enableval=$enable_gr_audio_windows;
30254 enable_gr_audio_windows=$enable_all_components
30255 if test x$enable_all_components = xno; then
30265 if test $passed != no; then
30266 if test $passed = yes; then
30267 if test x$gnuradio_core_skipped = xyes; then
30268 { $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
30269 $as_echo "Component gr-audio-windows requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
30273 if test x$gnuradio_core_with = xno; then
30274 as_fn_error "Component gr-audio-windows requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
30280 if test $passed = yes; then
30282 cygwin*|win*|mingw*)
30283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lwinmm" >&5
30284 $as_echo_n "checking for main in -lwinmm... " >&6; }
30285 if test "${ac_cv_lib_winmm_main+set}" = set; then :
30286 $as_echo_n "(cached) " >&6
30288 ac_check_lib_save_LIBS=$LIBS
30289 LIBS="-lwinmm $LIBS"
30290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30291 /* end confdefs.h. */
30302 if ac_fn_c_try_link "$LINENO"; then :
30303 ac_cv_lib_winmm_main=yes
30305 ac_cv_lib_winmm_main=no
30307 rm -f core conftest.err conftest.$ac_objext \
30308 conftest$ac_exeext conftest.$ac_ext
30309 LIBS=$ac_check_lib_save_LIBS
30311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_main" >&5
30312 $as_echo "$ac_cv_lib_winmm_main" >&6; }
30313 if test "x$ac_cv_lib_winmm_main" = x""yes; then :
30314 cat >>confdefs.h <<_ACEOF
30315 #define HAVE_LIBWINMM 1
30318 LIBS="-lwinmm $LIBS"
30321 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-windows requires library winmm, not found." >&5
30322 $as_echo "gr-audio-windows requires library winmm, not found." >&6; }
30324 ac_cv_lib_winmm=ac_cv_lib_winmm_main
30328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-audio-windows will build on a Windows Unix environment only." >&5
30329 $as_echo "gr-audio-windows will build on a Windows Unix environment only." >&6; }
30335 ac_config_files="$ac_config_files gr-audio-windows/Makefile gr-audio-windows/src/Makefile gr-audio-windows/src/run_tests"
30340 gr_audio_windows_with=no
30341 if test $passed = no; then
30342 if test x$enable_gr_audio_windows = xyes; then
30343 as_fn_error "Component gr-audio-windows has errors; stopping." "$LINENO" 5
30345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-audio-windows." >&5
30346 $as_echo "Not building component gr-audio-windows." >&6; }
30349 if test $passed = with; then
30350 with_dirs="$with_dirs gr-audio-windows"
30352 if test "x${gr_audio_windows_INCLUDES}" != "x"; then
30353 if test "x$with_INCLUDES" = "x"; then
30354 with_INCLUDES="${gr_audio_windows_INCLUDES}"
30356 with_INCLUDES="${gr_audio_windows_INCLUDES}"" ""$with_INCLUDES"
30358 gr_audio_windows_INCLUDES=
30362 if test "x${gr_audio_windows_SWIG_INCLUDES}" != "x"; then
30363 if test "x$with_SWIG_INCLUDES" = "x"; then
30364 with_SWIG_INCLUDES="${gr_audio_windows_SWIG_INCLUDES}"
30366 with_SWIG_INCLUDES="${gr_audio_windows_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
30368 gr_audio_windows_SWIG_INCLUDES=
30372 if test "x${gr_audio_windows_PYDIRPATH}" != "x"; then
30373 if test "x$with_PYDIRPATH" = "x"; then
30374 with_PYDIRPATH="${gr_audio_windows_PYDIRPATH}"
30376 with_PYDIRPATH="${gr_audio_windows_PYDIRPATH}"":""$with_PYDIRPATH"
30378 gr_audio_windows_PYDIRPATH=
30382 if test "x${gr_audio_windows_SWIGDIRPATH}" != "x"; then
30383 if test "x$with_SWIGDIRPATH" = "x"; then
30384 with_SWIGDIRPATH="${gr_audio_windows_SWIGDIRPATH}"
30386 with_SWIGDIRPATH="${gr_audio_windows_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
30388 gr_audio_windows_SWIGDIRPATH=
30392 if test "x${gr_audio_windows_LIBDIRPATH}" != "x"; then
30393 if test "x$with_LIBDIRPATH" = "x"; then
30394 with_LIBDIRPATH="${gr_audio_windows_LIBDIRPATH}"
30396 with_LIBDIRPATH="${gr_audio_windows_LIBDIRPATH}"":""$with_LIBDIRPATH"
30398 gr_audio_windows_LIBDIRPATH=
30401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-windows will be included from a pre-installed library and includes." >&5
30402 $as_echo "Component gr-audio-windows will be included from a pre-installed library and includes." >&6; }
30403 gr_audio_windows_with=yes
30405 gr_audio_windows_LDFLAG=
30406 if test x$enable_gr_audio_windows != xno; then
30407 WINAUDIO_LIBS=-lwinmm
30409 ac_config_commands="$ac_config_commands run_tests_audio_windows"
30412 build_dirs="$build_dirs gr-audio-windows"
30413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-windows passed configuration checks; building." >&5
30414 $as_echo "Component gr-audio-windows passed configuration checks; building." >&6; }
30417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-audio-windows passed configuration checks; but not building." >&5
30418 $as_echo "Component gr-audio-windows passed configuration checks; but not building." >&6; }
30422 if test $passed = no; then
30423 skipped_dirs="$skipped_dirs gr-audio-windows"
30424 gr_audio_windows_skipped=yes
30426 gr_audio_windows_skipped=no
30440 # Check whether --enable-gr-cvsd-vocoder was given.
30441 if test "${enable_gr_cvsd_vocoder+set}" = set; then :
30442 enableval=$enable_gr_cvsd_vocoder;
30445 enable_gr_cvsd_vocoder=$enable_all_components
30446 if test x$enable_all_components = xno; then
30456 if test $passed != no; then
30457 if test $passed = yes; then
30458 if test x$gnuradio_core_skipped = xyes; then
30459 { $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
30460 $as_echo "Component gr-cvsd-vocoder requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
30464 if test x$gnuradio_core_with = xno; then
30465 as_fn_error "Component gr-cvsd-vocoder requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
30471 ac_config_files="$ac_config_files gr-cvsd-vocoder/Makefile gr-cvsd-vocoder/src/Makefile gr-cvsd-vocoder/src/lib/Makefile gr-cvsd-vocoder/src/python/Makefile gr-cvsd-vocoder/src/python/run_tests"
30476 gr_cvsd_vocoder_with=no
30477 if test $passed = no; then
30478 if test x$enable_gr_cvsd_vocoder = xyes; then
30479 as_fn_error "Component gr-cvsd-vocoder has errors; stopping." "$LINENO" 5
30481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-cvsd-vocoder." >&5
30482 $as_echo "Not building component gr-cvsd-vocoder." >&6; }
30485 if test $passed = with; then
30486 with_dirs="$with_dirs gr-cvsd-vocoder"
30488 if test "x${gr_cvsd_vocoder_INCLUDES}" != "x"; then
30489 if test "x$with_INCLUDES" = "x"; then
30490 with_INCLUDES="${gr_cvsd_vocoder_INCLUDES}"
30492 with_INCLUDES="${gr_cvsd_vocoder_INCLUDES}"" ""$with_INCLUDES"
30494 gr_cvsd_vocoder_INCLUDES=
30498 if test "x${gr_cvsd_vocoder_SWIG_INCLUDES}" != "x"; then
30499 if test "x$with_SWIG_INCLUDES" = "x"; then
30500 with_SWIG_INCLUDES="${gr_cvsd_vocoder_SWIG_INCLUDES}"
30502 with_SWIG_INCLUDES="${gr_cvsd_vocoder_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
30504 gr_cvsd_vocoder_SWIG_INCLUDES=
30508 if test "x${gr_cvsd_vocoder_PYDIRPATH}" != "x"; then
30509 if test "x$with_PYDIRPATH" = "x"; then
30510 with_PYDIRPATH="${gr_cvsd_vocoder_PYDIRPATH}"
30512 with_PYDIRPATH="${gr_cvsd_vocoder_PYDIRPATH}"":""$with_PYDIRPATH"
30514 gr_cvsd_vocoder_PYDIRPATH=
30518 if test "x${gr_cvsd_vocoder_SWIGDIRPATH}" != "x"; then
30519 if test "x$with_SWIGDIRPATH" = "x"; then
30520 with_SWIGDIRPATH="${gr_cvsd_vocoder_SWIGDIRPATH}"
30522 with_SWIGDIRPATH="${gr_cvsd_vocoder_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
30524 gr_cvsd_vocoder_SWIGDIRPATH=
30528 if test "x${gr_cvsd_vocoder_LIBDIRPATH}" != "x"; then
30529 if test "x$with_LIBDIRPATH" = "x"; then
30530 with_LIBDIRPATH="${gr_cvsd_vocoder_LIBDIRPATH}"
30532 with_LIBDIRPATH="${gr_cvsd_vocoder_LIBDIRPATH}"":""$with_LIBDIRPATH"
30534 gr_cvsd_vocoder_LIBDIRPATH=
30537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-cvsd-vocoder will be included from a pre-installed library and includes." >&5
30538 $as_echo "Component gr-cvsd-vocoder will be included from a pre-installed library and includes." >&6; }
30539 gr_cvsd_vocoder_with=yes
30541 gr_cvsd_vocoder_LDFLAG=
30542 if test x$enable_gr_cvsd_vocoder != xno; then
30543 ac_config_commands="$ac_config_commands run_tests_cvsd"
30546 build_dirs="$build_dirs gr-cvsd-vocoder"
30547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-cvsd-vocoder passed configuration checks; building." >&5
30548 $as_echo "Component gr-cvsd-vocoder passed configuration checks; building." >&6; }
30551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-cvsd-vocoder passed configuration checks; but not building." >&5
30552 $as_echo "Component gr-cvsd-vocoder passed configuration checks; but not building." >&6; }
30556 if test $passed = no; then
30557 skipped_dirs="$skipped_dirs gr-cvsd-vocoder"
30558 gr_cvsd_vocoder_skipped=yes
30560 gr_cvsd_vocoder_skipped=no
30574 # Check whether --enable-gr-gpio was given.
30575 if test "${enable_gr_gpio+set}" = set; then :
30576 enableval=$enable_gr_gpio;
30579 enable_gr_gpio=$enable_all_components
30580 if test x$enable_all_components = xno; then
30590 if test $passed != no; then
30591 if test $passed = yes; then
30592 if test x$usrp_skipped = xyes; then
30593 { $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
30594 $as_echo "Component gr-gpio requires usrp, which is not being built or specified via pre-installed files." >&6; }
30598 if test x$usrp_with = xno; then
30599 as_fn_error "Component gr-gpio requires usrp to be included as --with-usrp[=arg]" "$LINENO" 5
30605 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"
30611 if test $passed = no; then
30612 if test x$enable_gr_gpio = xyes; then
30613 as_fn_error "Component gr-gpio has errors; stopping." "$LINENO" 5
30615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-gpio." >&5
30616 $as_echo "Not building component gr-gpio." >&6; }
30619 if test $passed = with; then
30620 with_dirs="$with_dirs gr-gpio"
30622 if test "x${gr_gpio_INCLUDES}" != "x"; then
30623 if test "x$with_INCLUDES" = "x"; then
30624 with_INCLUDES="${gr_gpio_INCLUDES}"
30626 with_INCLUDES="${gr_gpio_INCLUDES}"" ""$with_INCLUDES"
30632 if test "x${gr_gpio_SWIG_INCLUDES}" != "x"; then
30633 if test "x$with_SWIG_INCLUDES" = "x"; then
30634 with_SWIG_INCLUDES="${gr_gpio_SWIG_INCLUDES}"
30636 with_SWIG_INCLUDES="${gr_gpio_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
30638 gr_gpio_SWIG_INCLUDES=
30642 if test "x${gr_gpio_PYDIRPATH}" != "x"; then
30643 if test "x$with_PYDIRPATH" = "x"; then
30644 with_PYDIRPATH="${gr_gpio_PYDIRPATH}"
30646 with_PYDIRPATH="${gr_gpio_PYDIRPATH}"":""$with_PYDIRPATH"
30652 if test "x${gr_gpio_SWIGDIRPATH}" != "x"; then
30653 if test "x$with_SWIGDIRPATH" = "x"; then
30654 with_SWIGDIRPATH="${gr_gpio_SWIGDIRPATH}"
30656 with_SWIGDIRPATH="${gr_gpio_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
30658 gr_gpio_SWIGDIRPATH=
30662 if test "x${gr_gpio_LIBDIRPATH}" != "x"; then
30663 if test "x$with_LIBDIRPATH" = "x"; then
30664 with_LIBDIRPATH="${gr_gpio_LIBDIRPATH}"
30666 with_LIBDIRPATH="${gr_gpio_LIBDIRPATH}"":""$with_LIBDIRPATH"
30668 gr_gpio_LIBDIRPATH=
30671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gpio will be included from a pre-installed library and includes." >&5
30672 $as_echo "Component gr-gpio will be included from a pre-installed library and includes." >&6; }
30676 if test x$enable_gr_gpio != xno; then
30678 build_dirs="$build_dirs gr-gpio"
30679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gpio passed configuration checks; building." >&5
30680 $as_echo "Component gr-gpio passed configuration checks; building." >&6; }
30683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gpio passed configuration checks; but not building." >&5
30684 $as_echo "Component gr-gpio passed configuration checks; but not building." >&6; }
30688 if test $passed = no; then
30689 skipped_dirs="$skipped_dirs gr-gpio"
30690 gr_gpio_skipped=yes
30706 # Check whether --enable-gr-gsm-fr-vocoder was given.
30707 if test "${enable_gr_gsm_fr_vocoder+set}" = set; then :
30708 enableval=$enable_gr_gsm_fr_vocoder;
30711 enable_gr_gsm_fr_vocoder=$enable_all_components
30712 if test x$enable_all_components = xno; then
30722 if test $passed != no; then
30723 if test $passed = yes; then
30724 if test x$gnuradio_core_skipped = xyes; then
30725 { $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
30726 $as_echo "Component gr-gsm-fr-vocoder requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
30730 if test x$gnuradio_core_with = xno; then
30731 as_fn_error "Component gr-gsm-fr-vocoder requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
30737 ac_config_files="$ac_config_files gr-gsm-fr-vocoder/Makefile 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"
30742 gr_gsm_fr_vocoder_with=no
30743 if test $passed = no; then
30744 if test x$enable_gr_gsm_fr_vocoder = xyes; then
30745 as_fn_error "Component gr-gsm-fr-vocoder has errors; stopping." "$LINENO" 5
30747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-gsm-fr-vocoder." >&5
30748 $as_echo "Not building component gr-gsm-fr-vocoder." >&6; }
30751 if test $passed = with; then
30752 with_dirs="$with_dirs gr-gsm-fr-vocoder"
30754 if test "x${gr_gsm_fr_vocoder_INCLUDES}" != "x"; then
30755 if test "x$with_INCLUDES" = "x"; then
30756 with_INCLUDES="${gr_gsm_fr_vocoder_INCLUDES}"
30758 with_INCLUDES="${gr_gsm_fr_vocoder_INCLUDES}"" ""$with_INCLUDES"
30760 gr_gsm_fr_vocoder_INCLUDES=
30764 if test "x${gr_gsm_fr_vocoder_SWIG_INCLUDES}" != "x"; then
30765 if test "x$with_SWIG_INCLUDES" = "x"; then
30766 with_SWIG_INCLUDES="${gr_gsm_fr_vocoder_SWIG_INCLUDES}"
30768 with_SWIG_INCLUDES="${gr_gsm_fr_vocoder_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
30770 gr_gsm_fr_vocoder_SWIG_INCLUDES=
30774 if test "x${gr_gsm_fr_vocoder_PYDIRPATH}" != "x"; then
30775 if test "x$with_PYDIRPATH" = "x"; then
30776 with_PYDIRPATH="${gr_gsm_fr_vocoder_PYDIRPATH}"
30778 with_PYDIRPATH="${gr_gsm_fr_vocoder_PYDIRPATH}"":""$with_PYDIRPATH"
30780 gr_gsm_fr_vocoder_PYDIRPATH=
30784 if test "x${gr_gsm_fr_vocoder_SWIGDIRPATH}" != "x"; then
30785 if test "x$with_SWIGDIRPATH" = "x"; then
30786 with_SWIGDIRPATH="${gr_gsm_fr_vocoder_SWIGDIRPATH}"
30788 with_SWIGDIRPATH="${gr_gsm_fr_vocoder_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
30790 gr_gsm_fr_vocoder_SWIGDIRPATH=
30794 if test "x${gr_gsm_fr_vocoder_LIBDIRPATH}" != "x"; then
30795 if test "x$with_LIBDIRPATH" = "x"; then
30796 with_LIBDIRPATH="${gr_gsm_fr_vocoder_LIBDIRPATH}"
30798 with_LIBDIRPATH="${gr_gsm_fr_vocoder_LIBDIRPATH}"":""$with_LIBDIRPATH"
30800 gr_gsm_fr_vocoder_LIBDIRPATH=
30803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gsm-fr-vocoder will be included from a pre-installed library and includes." >&5
30804 $as_echo "Component gr-gsm-fr-vocoder will be included from a pre-installed library and includes." >&6; }
30805 gr_gsm_fr_vocoder_with=yes
30807 gr_gsm_fr_vocoder_LDFLAG=
30808 if test x$enable_gr_gsm_fr_vocoder != xno; then
30809 ac_config_commands="$ac_config_commands run_tests_gsm"
30812 build_dirs="$build_dirs gr-gsm-fr-vocoder"
30813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gsm-fr-vocoder passed configuration checks; building." >&5
30814 $as_echo "Component gr-gsm-fr-vocoder passed configuration checks; building." >&6; }
30817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-gsm-fr-vocoder passed configuration checks; but not building." >&5
30818 $as_echo "Component gr-gsm-fr-vocoder passed configuration checks; but not building." >&6; }
30822 if test $passed = no; then
30823 skipped_dirs="$skipped_dirs gr-gsm-fr-vocoder"
30824 gr_gsm_fr_vocoder_skipped=yes
30826 gr_gsm_fr_vocoder_skipped=no
30840 # Check whether --enable-gr-pager was given.
30841 if test "${enable_gr_pager+set}" = set; then :
30842 enableval=$enable_gr_pager;
30845 enable_gr_pager=$enable_all_components
30846 if test x$enable_all_components = xno; then
30856 if test $passed != no; then
30857 if test $passed = yes; then
30858 if test x$gnuradio_core_skipped = xyes; then
30859 { $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
30860 $as_echo "Component gr-pager requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
30864 if test x$gnuradio_core_with = xno; then
30865 as_fn_error "Component gr-pager requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
30871 ac_config_files="$ac_config_files gr-pager/Makefile gr-pager/src/Makefile gr-pager/src/run_tests"
30877 if test $passed = no; then
30878 if test x$enable_gr_pager = xyes; then
30879 as_fn_error "Component gr-pager has errors; stopping." "$LINENO" 5
30881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-pager." >&5
30882 $as_echo "Not building component gr-pager." >&6; }
30885 if test $passed = with; then
30886 with_dirs="$with_dirs gr-pager"
30888 if test "x${gr_pager_INCLUDES}" != "x"; then
30889 if test "x$with_INCLUDES" = "x"; then
30890 with_INCLUDES="${gr_pager_INCLUDES}"
30892 with_INCLUDES="${gr_pager_INCLUDES}"" ""$with_INCLUDES"
30898 if test "x${gr_pager_SWIG_INCLUDES}" != "x"; then
30899 if test "x$with_SWIG_INCLUDES" = "x"; then
30900 with_SWIG_INCLUDES="${gr_pager_SWIG_INCLUDES}"
30902 with_SWIG_INCLUDES="${gr_pager_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
30904 gr_pager_SWIG_INCLUDES=
30908 if test "x${gr_pager_PYDIRPATH}" != "x"; then
30909 if test "x$with_PYDIRPATH" = "x"; then
30910 with_PYDIRPATH="${gr_pager_PYDIRPATH}"
30912 with_PYDIRPATH="${gr_pager_PYDIRPATH}"":""$with_PYDIRPATH"
30914 gr_pager_PYDIRPATH=
30918 if test "x${gr_pager_SWIGDIRPATH}" != "x"; then
30919 if test "x$with_SWIGDIRPATH" = "x"; then
30920 with_SWIGDIRPATH="${gr_pager_SWIGDIRPATH}"
30922 with_SWIGDIRPATH="${gr_pager_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
30924 gr_pager_SWIGDIRPATH=
30928 if test "x${gr_pager_LIBDIRPATH}" != "x"; then
30929 if test "x$with_LIBDIRPATH" = "x"; then
30930 with_LIBDIRPATH="${gr_pager_LIBDIRPATH}"
30932 with_LIBDIRPATH="${gr_pager_LIBDIRPATH}"":""$with_LIBDIRPATH"
30934 gr_pager_LIBDIRPATH=
30937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-pager will be included from a pre-installed library and includes." >&5
30938 $as_echo "Component gr-pager will be included from a pre-installed library and includes." >&6; }
30942 if test x$enable_gr_pager != xno; then
30943 ac_config_commands="$ac_config_commands run_tests_pager"
30946 build_dirs="$build_dirs gr-pager"
30947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-pager passed configuration checks; building." >&5
30948 $as_echo "Component gr-pager passed configuration checks; building." >&6; }
30951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-pager passed configuration checks; but not building." >&5
30952 $as_echo "Component gr-pager passed configuration checks; but not building." >&6; }
30956 if test $passed = no; then
30957 skipped_dirs="$skipped_dirs gr-pager"
30958 gr_pager_skipped=yes
30960 gr_pager_skipped=no
30974 # Check whether --enable-gr-radar-mono was given.
30975 if test "${enable_gr_radar_mono+set}" = set; then :
30976 enableval=$enable_gr_radar_mono;
30979 enable_gr_radar_mono=$enable_all_components
30980 if test x$enable_all_components = xno; then
30990 if test $passed != no; then
30991 if test $passed = yes; then
30992 if test x$usrp_skipped = xyes; then
30993 { $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
30994 $as_echo "Component gr-radar-mono requires usrp, which is not being built or specified via pre-installed files." >&6; }
30998 if test x$usrp_with = xno; then
30999 as_fn_error "Component gr-radar-mono requires usrp to be included as --with-usrp[=arg]" "$LINENO" 5
31005 if test $passed != no; then
31006 if test $passed = yes; then
31007 if test x$gnuradio_core_skipped = xyes; then
31008 { $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
31009 $as_echo "Component gr-radar-mono requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
31013 if test x$gnuradio_core_with = xno; then
31014 as_fn_error "Component gr-radar-mono requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
31020 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"
31025 gr_radar_mono_with=no
31026 if test $passed = no; then
31027 if test x$enable_gr_radar_mono = xyes; then
31028 as_fn_error "Component gr-radar-mono has errors; stopping." "$LINENO" 5
31030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-radar-mono." >&5
31031 $as_echo "Not building component gr-radar-mono." >&6; }
31034 if test $passed = with; then
31035 with_dirs="$with_dirs gr-radar-mono"
31037 if test "x${gr_radar_mono_INCLUDES}" != "x"; then
31038 if test "x$with_INCLUDES" = "x"; then
31039 with_INCLUDES="${gr_radar_mono_INCLUDES}"
31041 with_INCLUDES="${gr_radar_mono_INCLUDES}"" ""$with_INCLUDES"
31043 gr_radar_mono_INCLUDES=
31047 if test "x${gr_radar_mono_SWIG_INCLUDES}" != "x"; then
31048 if test "x$with_SWIG_INCLUDES" = "x"; then
31049 with_SWIG_INCLUDES="${gr_radar_mono_SWIG_INCLUDES}"
31051 with_SWIG_INCLUDES="${gr_radar_mono_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
31053 gr_radar_mono_SWIG_INCLUDES=
31057 if test "x${gr_radar_mono_PYDIRPATH}" != "x"; then
31058 if test "x$with_PYDIRPATH" = "x"; then
31059 with_PYDIRPATH="${gr_radar_mono_PYDIRPATH}"
31061 with_PYDIRPATH="${gr_radar_mono_PYDIRPATH}"":""$with_PYDIRPATH"
31063 gr_radar_mono_PYDIRPATH=
31067 if test "x${gr_radar_mono_SWIGDIRPATH}" != "x"; then
31068 if test "x$with_SWIGDIRPATH" = "x"; then
31069 with_SWIGDIRPATH="${gr_radar_mono_SWIGDIRPATH}"
31071 with_SWIGDIRPATH="${gr_radar_mono_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
31073 gr_radar_mono_SWIGDIRPATH=
31077 if test "x${gr_radar_mono_LIBDIRPATH}" != "x"; then
31078 if test "x$with_LIBDIRPATH" = "x"; then
31079 with_LIBDIRPATH="${gr_radar_mono_LIBDIRPATH}"
31081 with_LIBDIRPATH="${gr_radar_mono_LIBDIRPATH}"":""$with_LIBDIRPATH"
31083 gr_radar_mono_LIBDIRPATH=
31086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-radar-mono will be included from a pre-installed library and includes." >&5
31087 $as_echo "Component gr-radar-mono will be included from a pre-installed library and includes." >&6; }
31088 gr_radar_mono_with=yes
31090 gr_radar_mono_LDFLAG=
31091 if test x$enable_gr_radar_mono != xno; then
31092 ac_config_commands="$ac_config_commands run_tests_radar_mono"
31095 build_dirs="$build_dirs gr-radar-mono"
31096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-radar-mono passed configuration checks; building." >&5
31097 $as_echo "Component gr-radar-mono passed configuration checks; building." >&6; }
31100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-radar-mono passed configuration checks; but not building." >&5
31101 $as_echo "Component gr-radar-mono passed configuration checks; but not building." >&6; }
31105 if test $passed = no; then
31106 skipped_dirs="$skipped_dirs gr-radar-mono"
31107 gr_radar_mono_skipped=yes
31109 gr_radar_mono_skipped=no
31123 # Check whether --enable-gr-radio-astronomy was given.
31124 if test "${enable_gr_radio_astronomy+set}" = set; then :
31125 enableval=$enable_gr_radio_astronomy;
31128 enable_gr_radio_astronomy=$enable_all_components
31129 if test x$enable_all_components = xno; then
31139 if test $passed != no; then
31140 if test $passed = yes; then
31141 if test x$gnuradio_core_skipped = xyes; then
31142 { $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
31143 $as_echo "Component gr-radio-astronomy requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
31147 if test x$gnuradio_core_with = xno; then
31148 as_fn_error "Component gr-radio-astronomy requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
31154 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"
31159 gr_radio_astronomy_with=no
31160 if test $passed = no; then
31161 if test x$enable_gr_radio_astronomy = xyes; then
31162 as_fn_error "Component gr-radio-astronomy has errors; stopping." "$LINENO" 5
31164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-radio-astronomy." >&5
31165 $as_echo "Not building component gr-radio-astronomy." >&6; }
31168 if test $passed = with; then
31169 with_dirs="$with_dirs gr-radio-astronomy"
31171 if test "x${gr_radio_astronomy_INCLUDES}" != "x"; then
31172 if test "x$with_INCLUDES" = "x"; then
31173 with_INCLUDES="${gr_radio_astronomy_INCLUDES}"
31175 with_INCLUDES="${gr_radio_astronomy_INCLUDES}"" ""$with_INCLUDES"
31177 gr_radio_astronomy_INCLUDES=
31181 if test "x${gr_radio_astronomy_SWIG_INCLUDES}" != "x"; then
31182 if test "x$with_SWIG_INCLUDES" = "x"; then
31183 with_SWIG_INCLUDES="${gr_radio_astronomy_SWIG_INCLUDES}"
31185 with_SWIG_INCLUDES="${gr_radio_astronomy_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
31187 gr_radio_astronomy_SWIG_INCLUDES=
31191 if test "x${gr_radio_astronomy_PYDIRPATH}" != "x"; then
31192 if test "x$with_PYDIRPATH" = "x"; then
31193 with_PYDIRPATH="${gr_radio_astronomy_PYDIRPATH}"
31195 with_PYDIRPATH="${gr_radio_astronomy_PYDIRPATH}"":""$with_PYDIRPATH"
31197 gr_radio_astronomy_PYDIRPATH=
31201 if test "x${gr_radio_astronomy_SWIGDIRPATH}" != "x"; then
31202 if test "x$with_SWIGDIRPATH" = "x"; then
31203 with_SWIGDIRPATH="${gr_radio_astronomy_SWIGDIRPATH}"
31205 with_SWIGDIRPATH="${gr_radio_astronomy_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
31207 gr_radio_astronomy_SWIGDIRPATH=
31211 if test "x${gr_radio_astronomy_LIBDIRPATH}" != "x"; then
31212 if test "x$with_LIBDIRPATH" = "x"; then
31213 with_LIBDIRPATH="${gr_radio_astronomy_LIBDIRPATH}"
31215 with_LIBDIRPATH="${gr_radio_astronomy_LIBDIRPATH}"":""$with_LIBDIRPATH"
31217 gr_radio_astronomy_LIBDIRPATH=
31220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-radio-astronomy will be included from a pre-installed library and includes." >&5
31221 $as_echo "Component gr-radio-astronomy will be included from a pre-installed library and includes." >&6; }
31222 gr_radio_astronomy_with=yes
31224 gr_radio_astronomy_LDFLAG=
31225 if test x$enable_gr_radio_astronomy != xno; then
31226 ac_config_commands="$ac_config_commands run_tests_astronomy"
31229 build_dirs="$build_dirs gr-radio-astronomy"
31230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-radio-astronomy passed configuration checks; building." >&5
31231 $as_echo "Component gr-radio-astronomy passed configuration checks; building." >&6; }
31234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-radio-astronomy passed configuration checks; but not building." >&5
31235 $as_echo "Component gr-radio-astronomy passed configuration checks; but not building." >&6; }
31239 if test $passed = no; then
31240 skipped_dirs="$skipped_dirs gr-radio-astronomy"
31241 gr_radio_astronomy_skipped=yes
31243 gr_radio_astronomy_skipped=no
31257 # Check whether --enable-gr-trellis was given.
31258 if test "${enable_gr_trellis+set}" = set; then :
31259 enableval=$enable_gr_trellis;
31262 enable_gr_trellis=$enable_all_components
31263 if test x$enable_all_components = xno; then
31273 if test $passed != no; then
31274 if test $passed = yes; then
31275 if test x$gnuradio_core_skipped = xyes; then
31276 { $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
31277 $as_echo "Component gr-trellis requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
31281 if test x$gnuradio_core_with = xno; then
31282 as_fn_error "Component gr-trellis requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
31288 ac_config_files="$ac_config_files gr-trellis/Makefile 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"
31294 if test $passed = no; then
31295 if test x$enable_gr_trellis = xyes; then
31296 as_fn_error "Component gr-trellis has errors; stopping." "$LINENO" 5
31298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-trellis." >&5
31299 $as_echo "Not building component gr-trellis." >&6; }
31302 if test $passed = with; then
31303 with_dirs="$with_dirs gr-trellis"
31305 if test "x${gr_trellis_INCLUDES}" != "x"; then
31306 if test "x$with_INCLUDES" = "x"; then
31307 with_INCLUDES="${gr_trellis_INCLUDES}"
31309 with_INCLUDES="${gr_trellis_INCLUDES}"" ""$with_INCLUDES"
31311 gr_trellis_INCLUDES=
31315 if test "x${gr_trellis_SWIG_INCLUDES}" != "x"; then
31316 if test "x$with_SWIG_INCLUDES" = "x"; then
31317 with_SWIG_INCLUDES="${gr_trellis_SWIG_INCLUDES}"
31319 with_SWIG_INCLUDES="${gr_trellis_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
31321 gr_trellis_SWIG_INCLUDES=
31325 if test "x${gr_trellis_PYDIRPATH}" != "x"; then
31326 if test "x$with_PYDIRPATH" = "x"; then
31327 with_PYDIRPATH="${gr_trellis_PYDIRPATH}"
31329 with_PYDIRPATH="${gr_trellis_PYDIRPATH}"":""$with_PYDIRPATH"
31331 gr_trellis_PYDIRPATH=
31335 if test "x${gr_trellis_SWIGDIRPATH}" != "x"; then
31336 if test "x$with_SWIGDIRPATH" = "x"; then
31337 with_SWIGDIRPATH="${gr_trellis_SWIGDIRPATH}"
31339 with_SWIGDIRPATH="${gr_trellis_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
31341 gr_trellis_SWIGDIRPATH=
31345 if test "x${gr_trellis_LIBDIRPATH}" != "x"; then
31346 if test "x$with_LIBDIRPATH" = "x"; then
31347 with_LIBDIRPATH="${gr_trellis_LIBDIRPATH}"
31349 with_LIBDIRPATH="${gr_trellis_LIBDIRPATH}"":""$with_LIBDIRPATH"
31351 gr_trellis_LIBDIRPATH=
31354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-trellis will be included from a pre-installed library and includes." >&5
31355 $as_echo "Component gr-trellis will be included from a pre-installed library and includes." >&6; }
31356 gr_trellis_with=yes
31359 if test x$enable_gr_trellis != xno; then
31360 ac_config_commands="$ac_config_commands run_tests_gr_trellis"
31363 build_dirs="$build_dirs gr-trellis"
31364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-trellis passed configuration checks; building." >&5
31365 $as_echo "Component gr-trellis passed configuration checks; building." >&6; }
31368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-trellis passed configuration checks; but not building." >&5
31369 $as_echo "Component gr-trellis passed configuration checks; but not building." >&6; }
31373 if test $passed = no; then
31374 skipped_dirs="$skipped_dirs gr-trellis"
31375 gr_trellis_skipped=yes
31377 gr_trellis_skipped=no
31391 # Check whether --enable-gr-video-sdl was given.
31392 if test "${enable_gr_video_sdl+set}" = set; then :
31393 enableval=$enable_gr_video_sdl;
31396 enable_gr_video_sdl=$enable_all_components
31397 if test x$enable_all_components = xno; then
31407 if test $passed != no; then
31408 if test $passed = yes; then
31409 if test x$gnuradio_core_skipped = xyes; then
31410 { $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
31411 $as_echo "Component gr-video-sdl requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
31415 if test x$gnuradio_core_with = xno; then
31416 as_fn_error "Component gr-video-sdl requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
31422 if test $passed = yes; then
31427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
31428 $as_echo_n "checking for SDL... " >&6; }
31430 if test -n "$PKG_CONFIG"; then
31431 if test -n "$SDL_CFLAGS"; then
31432 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
31434 if test -n "$PKG_CONFIG" && \
31435 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
31436 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
31438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31439 test $ac_status = 0; }; then
31440 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
31449 if test x$cross_compiling = xyes
31451 if test -n "$PKG_CONFIG"; then
31452 if test -n "$SDL_LIBS"; then
31453 pkg_cv_SDL_LIBS="$SDL_LIBS"
31455 if test -n "$PKG_CONFIG" && \
31456 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
31457 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
31459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31460 test $ac_status = 0; }; then
31461 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs --static "sdl >= 1.2.0" 2>/dev/null`
31470 for flag in $pkg_cv_SDL_LIBS; do
31472 (-L/lib* | -L/usr/lib* ) ;; # ignore
31473 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
31476 pkg_cv_SDL_LIBS="$_pkg_tmp"
31478 if test -n "$PKG_CONFIG"; then
31479 if test -n "$SDL_LIBS"; then
31480 pkg_cv_SDL_LIBS="$SDL_LIBS"
31482 if test -n "$PKG_CONFIG" && \
31483 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
31484 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
31486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31487 test $ac_status = 0; }; then
31488 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs --static "sdl >= 1.2.0" 2>/dev/null`
31498 if test -n "$PKG_CONFIG"; then
31499 if test -n "$SDL_INCLUDEDIR"; then
31500 pkg_cv_SDL_INCLUDEDIR="$SDL_INCLUDEDIR"
31502 if test -n "$PKG_CONFIG" && \
31503 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
31504 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
31506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31507 test $ac_status = 0; }; then
31508 pkg_cv_SDL_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "sdl >= 1.2.0" 2>/dev/null`
31520 if test $pkg_failed = yes; then
31522 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31523 _pkg_short_errors_supported=yes
31525 _pkg_short_errors_supported=no
31527 if test $_pkg_short_errors_supported = yes; then
31528 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sdl >= 1.2.0"`
31530 SDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sdl >= 1.2.0"`
31532 # Put the nasty error message in config.log where it belongs
31533 echo "$SDL_PKG_ERRORS" >&5
31535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31536 $as_echo "no" >&6; }
31539 # Check whether --with-sdl-prefix was given.
31540 if test "${with_sdl_prefix+set}" = set; then :
31541 withval=$with_sdl_prefix; sdl_prefix="$withval"
31547 # Check whether --with-sdl-exec-prefix was given.
31548 if test "${with_sdl_exec_prefix+set}" = set; then :
31549 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
31554 # Check whether --enable-sdltest was given.
31555 if test "${enable_sdltest+set}" = set; then :
31556 enableval=$enable_sdltest;
31562 if test x$sdl_exec_prefix != x ; then
31563 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
31564 if test x${SDL_CONFIG+set} != xset ; then
31565 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
31568 if test x$sdl_prefix != x ; then
31569 sdl_args="$sdl_args --prefix=$sdl_prefix"
31570 if test x${SDL_CONFIG+set} != xset ; then
31571 SDL_CONFIG=$sdl_prefix/bin/sdl-config
31576 TMP_PATH="$prefix/bin:$prefix/usr/bin:$PATH"
31577 # Extract the first word of "sdl-config", so it can be a program name with args.
31578 set dummy sdl-config; ac_word=$2
31579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31580 $as_echo_n "checking for $ac_word... " >&6; }
31581 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
31582 $as_echo_n "(cached) " >&6
31584 case $SDL_CONFIG in
31586 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
31589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31590 for as_dir in $TMP_PATH
31593 test -z "$as_dir" && as_dir=.
31594 for ac_exec_ext in '' $ac_executable_extensions; do
31595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31596 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
31604 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
31608 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
31609 if test -n "$SDL_CONFIG"; then
31610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
31611 $as_echo "$SDL_CONFIG" >&6; }
31613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31614 $as_echo "no" >&6; }
31618 min_sdl_version=$SDL_VERSION
31619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
31620 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
31622 if test "$SDL_CONFIG" = "no" ; then
31625 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
31626 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
31628 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
31629 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31630 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
31631 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31632 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
31633 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31634 if test "x$enable_sdltest" = "xyes" ; then
31635 ac_save_CFLAGS="$CFLAGS"
31636 ac_save_LIBS="$LIBS"
31637 CFLAGS="$CFLAGS $SDL_CFLAGS"
31638 LIBS="$LIBS $SDL_LIBS"
31640 if test "$cross_compiling" = yes; then :
31641 echo $ac_n "cross compiling; assumed OK... $ac_c"
31643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31644 /* end confdefs.h. */
31647 #include <stdlib.h>
31648 #include <string.h>
31652 my_strdup (char *str)
31658 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
31659 strcpy (new_str, str);
31667 int main (int argc, char *argv[])
31669 int major, minor, micro;
31672 /* This hangs on some systems (?)
31673 system ("touch conf.sdltest");
31675 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
31677 /* HP/UX 9 (%@#!) writes to sscanf strings */
31678 tmp_version = my_strdup("$min_sdl_version");
31679 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31680 printf("%s, bad version string\n", "$min_sdl_version");
31684 if (($sdl_major_version > major) ||
31685 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
31686 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
31692 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
31693 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
31694 printf("*** best to upgrade to the required version.\n");
31695 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
31696 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
31697 printf("*** config.cache before re-running configure\n");
31704 if ac_fn_c_try_run "$LINENO"; then :
31709 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31710 conftest.$ac_objext conftest.beam conftest.$ac_ext
31713 CFLAGS="$ac_save_CFLAGS"
31714 LIBS="$ac_save_LIBS"
31717 if test "x$no_sdl" = x ; then
31718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31719 $as_echo "yes" >&6; }
31722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31723 $as_echo "no" >&6; }
31724 if test "$SDL_CONFIG" = "no" ; then
31725 echo "*** The sdl-config script installed by SDL could not be found"
31726 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
31727 echo "*** your path, or set the SDL_CONFIG environment variable to the"
31728 echo "*** full path to sdl-config."
31730 if test -f conf.sdltest ; then
31733 echo "*** Could not run SDL test program, checking why..."
31734 CFLAGS="$CFLAGS $SDL_CFLAGS"
31735 LIBS="$LIBS $SDL_LIBS"
31736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31737 /* end confdefs.h. */
31742 int main(int argc, char *argv[])
31745 #define main K_and_R_C_main
31755 if ac_fn_c_try_link "$LINENO"; then :
31756 echo "*** The test program compiled, but did not run. This usually means"
31757 echo "*** that the run-time linker is not finding SDL or finding the wrong"
31758 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
31759 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31760 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31761 echo "*** is required on your system"
31763 echo "*** If you have an old version installed, it is best to remove it, although"
31764 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31766 echo "*** The test program failed to compile or link. See the file config.log for the"
31767 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
31768 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
31769 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
31771 rm -f core conftest.err conftest.$ac_objext \
31772 conftest$ac_exeext conftest.$ac_ext
31773 CFLAGS="$ac_save_CFLAGS"
31774 LIBS="$ac_save_LIBS"
31780 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-video-sdl requires library sdl, not found or failed test." >&5
31781 $as_echo "gr-video-sdl requires library sdl, not found or failed test." >&6; }
31787 elif test $pkg_failed = untried; then
31790 # Check whether --with-sdl-prefix was given.
31791 if test "${with_sdl_prefix+set}" = set; then :
31792 withval=$with_sdl_prefix; sdl_prefix="$withval"
31798 # Check whether --with-sdl-exec-prefix was given.
31799 if test "${with_sdl_exec_prefix+set}" = set; then :
31800 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
31805 # Check whether --enable-sdltest was given.
31806 if test "${enable_sdltest+set}" = set; then :
31807 enableval=$enable_sdltest;
31813 if test x$sdl_exec_prefix != x ; then
31814 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
31815 if test x${SDL_CONFIG+set} != xset ; then
31816 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
31819 if test x$sdl_prefix != x ; then
31820 sdl_args="$sdl_args --prefix=$sdl_prefix"
31821 if test x${SDL_CONFIG+set} != xset ; then
31822 SDL_CONFIG=$sdl_prefix/bin/sdl-config
31827 TMP_PATH="$prefix/bin:$prefix/usr/bin:$PATH"
31828 # Extract the first word of "sdl-config", so it can be a program name with args.
31829 set dummy sdl-config; ac_word=$2
31830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31831 $as_echo_n "checking for $ac_word... " >&6; }
31832 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
31833 $as_echo_n "(cached) " >&6
31835 case $SDL_CONFIG in
31837 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
31840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31841 for as_dir in $TMP_PATH
31844 test -z "$as_dir" && as_dir=.
31845 for ac_exec_ext in '' $ac_executable_extensions; do
31846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31847 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
31855 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
31859 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
31860 if test -n "$SDL_CONFIG"; then
31861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
31862 $as_echo "$SDL_CONFIG" >&6; }
31864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31865 $as_echo "no" >&6; }
31869 min_sdl_version=$SDL_VERSION
31870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
31871 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
31873 if test "$SDL_CONFIG" = "no" ; then
31876 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
31877 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
31879 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
31880 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31881 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
31882 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31883 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
31884 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31885 if test "x$enable_sdltest" = "xyes" ; then
31886 ac_save_CFLAGS="$CFLAGS"
31887 ac_save_LIBS="$LIBS"
31888 CFLAGS="$CFLAGS $SDL_CFLAGS"
31889 LIBS="$LIBS $SDL_LIBS"
31891 if test "$cross_compiling" = yes; then :
31892 echo $ac_n "cross compiling; assumed OK... $ac_c"
31894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31895 /* end confdefs.h. */
31898 #include <stdlib.h>
31899 #include <string.h>
31903 my_strdup (char *str)
31909 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
31910 strcpy (new_str, str);
31918 int main (int argc, char *argv[])
31920 int major, minor, micro;
31923 /* This hangs on some systems (?)
31924 system ("touch conf.sdltest");
31926 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
31928 /* HP/UX 9 (%@#!) writes to sscanf strings */
31929 tmp_version = my_strdup("$min_sdl_version");
31930 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31931 printf("%s, bad version string\n", "$min_sdl_version");
31935 if (($sdl_major_version > major) ||
31936 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
31937 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
31943 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
31944 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
31945 printf("*** best to upgrade to the required version.\n");
31946 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
31947 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
31948 printf("*** config.cache before re-running configure\n");
31955 if ac_fn_c_try_run "$LINENO"; then :
31960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31961 conftest.$ac_objext conftest.beam conftest.$ac_ext
31964 CFLAGS="$ac_save_CFLAGS"
31965 LIBS="$ac_save_LIBS"
31968 if test "x$no_sdl" = x ; then
31969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31970 $as_echo "yes" >&6; }
31973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31974 $as_echo "no" >&6; }
31975 if test "$SDL_CONFIG" = "no" ; then
31976 echo "*** The sdl-config script installed by SDL could not be found"
31977 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
31978 echo "*** your path, or set the SDL_CONFIG environment variable to the"
31979 echo "*** full path to sdl-config."
31981 if test -f conf.sdltest ; then
31984 echo "*** Could not run SDL test program, checking why..."
31985 CFLAGS="$CFLAGS $SDL_CFLAGS"
31986 LIBS="$LIBS $SDL_LIBS"
31987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31988 /* end confdefs.h. */
31993 int main(int argc, char *argv[])
31996 #define main K_and_R_C_main
32006 if ac_fn_c_try_link "$LINENO"; then :
32007 echo "*** The test program compiled, but did not run. This usually means"
32008 echo "*** that the run-time linker is not finding SDL or finding the wrong"
32009 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
32010 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32011 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32012 echo "*** is required on your system"
32014 echo "*** If you have an old version installed, it is best to remove it, although"
32015 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32017 echo "*** The test program failed to compile or link. See the file config.log for the"
32018 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
32019 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
32020 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
32022 rm -f core conftest.err conftest.$ac_objext \
32023 conftest$ac_exeext conftest.$ac_ext
32024 CFLAGS="$ac_save_CFLAGS"
32025 LIBS="$ac_save_LIBS"
32031 passed=no;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-video-sdl requires library sdl, not found or failed test." >&5
32032 $as_echo "gr-video-sdl requires library sdl, not found or failed test." >&6; }
32039 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
32040 SDL_LIBS=$pkg_cv_SDL_LIBS
32041 SDL_INCLUDEDIR=$pkg_cv_SDL_INCLUDEDIR
32044 for flag in $SDL_CFLAGS; do
32046 -I* | -D* | -U*) SDL_CPPFLAGS="$SDL_CPPFLAGS $flag" ;;
32049 pkg_cv_SDL_CPPFLAGS=$SDL_CPPFLAGS
32052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32053 $as_echo "yes" >&6; }
32058 ac_config_files="$ac_config_files gr-video-sdl/Makefile gr-video-sdl/src/Makefile gr-video-sdl/src/run_tests"
32063 gr_video_sdl_with=no
32064 if test $passed = no; then
32065 if test x$enable_gr_video_sdl = xyes; then
32066 as_fn_error "Component gr-video-sdl has errors; stopping." "$LINENO" 5
32068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-video-sdl." >&5
32069 $as_echo "Not building component gr-video-sdl." >&6; }
32072 if test $passed = with; then
32073 with_dirs="$with_dirs gr-video-sdl"
32075 if test "x${gr_video_sdl_INCLUDES}" != "x"; then
32076 if test "x$with_INCLUDES" = "x"; then
32077 with_INCLUDES="${gr_video_sdl_INCLUDES}"
32079 with_INCLUDES="${gr_video_sdl_INCLUDES}"" ""$with_INCLUDES"
32081 gr_video_sdl_INCLUDES=
32085 if test "x${gr_video_sdl_SWIG_INCLUDES}" != "x"; then
32086 if test "x$with_SWIG_INCLUDES" = "x"; then
32087 with_SWIG_INCLUDES="${gr_video_sdl_SWIG_INCLUDES}"
32089 with_SWIG_INCLUDES="${gr_video_sdl_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
32091 gr_video_sdl_SWIG_INCLUDES=
32095 if test "x${gr_video_sdl_PYDIRPATH}" != "x"; then
32096 if test "x$with_PYDIRPATH" = "x"; then
32097 with_PYDIRPATH="${gr_video_sdl_PYDIRPATH}"
32099 with_PYDIRPATH="${gr_video_sdl_PYDIRPATH}"":""$with_PYDIRPATH"
32101 gr_video_sdl_PYDIRPATH=
32105 if test "x${gr_video_sdl_SWIGDIRPATH}" != "x"; then
32106 if test "x$with_SWIGDIRPATH" = "x"; then
32107 with_SWIGDIRPATH="${gr_video_sdl_SWIGDIRPATH}"
32109 with_SWIGDIRPATH="${gr_video_sdl_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
32111 gr_video_sdl_SWIGDIRPATH=
32115 if test "x${gr_video_sdl_LIBDIRPATH}" != "x"; then
32116 if test "x$with_LIBDIRPATH" = "x"; then
32117 with_LIBDIRPATH="${gr_video_sdl_LIBDIRPATH}"
32119 with_LIBDIRPATH="${gr_video_sdl_LIBDIRPATH}"":""$with_LIBDIRPATH"
32121 gr_video_sdl_LIBDIRPATH=
32124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-video-sdl will be included from a pre-installed library and includes." >&5
32125 $as_echo "Component gr-video-sdl will be included from a pre-installed library and includes." >&6; }
32126 gr_video_sdl_with=yes
32128 gr_video_sdl_LDFLAG=
32129 if test x$enable_gr_video_sdl != xno; then
32130 ac_config_commands="$ac_config_commands run_tests_sdl"
32133 build_dirs="$build_dirs gr-video-sdl"
32134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-video-sdl passed configuration checks; building." >&5
32135 $as_echo "Component gr-video-sdl passed configuration checks; building." >&6; }
32138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-video-sdl passed configuration checks; but not building." >&5
32139 $as_echo "Component gr-video-sdl passed configuration checks; but not building." >&6; }
32143 if test $passed = no; then
32144 skipped_dirs="$skipped_dirs gr-video-sdl"
32145 gr_video_sdl_skipped=yes
32147 gr_video_sdl_skipped=no
32161 # Check whether --enable-gr-wxgui was given.
32162 if test "${enable_gr_wxgui+set}" = set; then :
32163 enableval=$enable_gr_wxgui;
32166 enable_gr_wxgui=$enable_all_components
32167 if test x$enable_all_components = xno; then
32176 if test x = x; then
32177 pc_comp_name="gr-wxgui"
32183 # Check whether --with-gr-wxgui was given.
32184 if test "${with_gr_wxgui+set}" = set; then :
32185 withval=$with_gr_wxgui; if test "x$withval" != "xyes"; then
32186 with_gr_wxgui_val=$withval
32191 if test x$with_gr_wxgui = xyes; then
32192 if test x$enable_gr_wxgui = xyes; then
32193 as_fn_error "Component gr-wxgui: Cannot use both --enable and --with" "$LINENO" 5
32196 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
32198 l_PKG_CONFIG_PATH=$with_gr_wxgui_val
32199 if test "x$l_PKG_CONFIG_PATH" != "x"; then
32200 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
32202 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
32203 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
32207 if test -n "$PKG_CONFIG" && \
32208 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
32209 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
32211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32212 test $ac_status = 0; }; then
32213 passed=with; check1=yes
32217 if test "x$l_PKG_CONFIG_PATH" != "x"; then
32218 if test "x$s_PKG_CONFIG_PATH" != "x"; then
32219 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
32220 if test -n "$PKG_CONFIG" && \
32221 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\""; } >&5
32222 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
32224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32225 test $ac_status = 0; }; then
32232 if test $passed != with; then
32233 as_fn_error "Component gr-wxgui: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." "$LINENO" 5
32235 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
32239 gr_wxgui_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
32240 gr_wxgui_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
32241 gr_wxgui_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
32243 if test x$check1 = xyes; then
32244 if test "x$s_PKG_CONFIG_PATH" != "x"; then
32245 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
32256 if test $passed != no; then
32257 if test $passed = yes; then
32258 if test x$gnuradio_core_skipped = xyes; then
32259 { $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
32260 $as_echo "Component gr-wxgui requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
32264 if test x$gnuradio_core_with = xno; then
32265 as_fn_error "Component gr-wxgui requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
32271 if test $passed = yes; then
32273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python wxWidgets wrappers >= 2.8" >&5
32274 $as_echo_n "checking for Python wxWidgets wrappers >= 2.8... " >&6; }
32275 if test "wx.version().split()[0] >= "2.8""; then
32279 assert wx.version().split()[0] >= "2.8"
32286 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
32287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32288 $as_echo "no" >&6; }
32291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32292 $as_echo "yes" >&6; }
32297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Numeric Python extensions" >&5
32298 $as_echo_n "checking for Numeric Python extensions... " >&6; }
32310 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
32311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32312 $as_echo "no" >&6; }
32315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32316 $as_echo "yes" >&6; }
32322 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"
32328 if test $passed = no; then
32329 if test x$enable_gr_wxgui = xyes; then
32330 as_fn_error "Component gr-wxgui has errors; stopping." "$LINENO" 5
32332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-wxgui." >&5
32333 $as_echo "Not building component gr-wxgui." >&6; }
32336 if test $passed = with; then
32337 with_dirs="$with_dirs gr-wxgui"
32339 if test "x${gr_wxgui_INCLUDES}" != "x"; then
32340 if test "x$with_INCLUDES" = "x"; then
32341 with_INCLUDES="${gr_wxgui_INCLUDES}"
32343 with_INCLUDES="${gr_wxgui_INCLUDES}"" ""$with_INCLUDES"
32349 if test "x${gr_wxgui_SWIG_INCLUDES}" != "x"; then
32350 if test "x$with_SWIG_INCLUDES" = "x"; then
32351 with_SWIG_INCLUDES="${gr_wxgui_SWIG_INCLUDES}"
32353 with_SWIG_INCLUDES="${gr_wxgui_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
32355 gr_wxgui_SWIG_INCLUDES=
32359 if test "x${gr_wxgui_PYDIRPATH}" != "x"; then
32360 if test "x$with_PYDIRPATH" = "x"; then
32361 with_PYDIRPATH="${gr_wxgui_PYDIRPATH}"
32363 with_PYDIRPATH="${gr_wxgui_PYDIRPATH}"":""$with_PYDIRPATH"
32365 gr_wxgui_PYDIRPATH=
32369 if test "x${gr_wxgui_SWIGDIRPATH}" != "x"; then
32370 if test "x$with_SWIGDIRPATH" = "x"; then
32371 with_SWIGDIRPATH="${gr_wxgui_SWIGDIRPATH}"
32373 with_SWIGDIRPATH="${gr_wxgui_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
32375 gr_wxgui_SWIGDIRPATH=
32379 if test "x${gr_wxgui_LIBDIRPATH}" != "x"; then
32380 if test "x$with_LIBDIRPATH" = "x"; then
32381 with_LIBDIRPATH="${gr_wxgui_LIBDIRPATH}"
32383 with_LIBDIRPATH="${gr_wxgui_LIBDIRPATH}"":""$with_LIBDIRPATH"
32385 gr_wxgui_LIBDIRPATH=
32388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-wxgui will be included from a pre-installed library and includes." >&5
32389 $as_echo "Component gr-wxgui will be included from a pre-installed library and includes." >&6; }
32393 if test x$enable_gr_wxgui != xno; then
32395 build_dirs="$build_dirs gr-wxgui"
32396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-wxgui passed configuration checks; building." >&5
32397 $as_echo "Component gr-wxgui passed configuration checks; building." >&6; }
32400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-wxgui passed configuration checks; but not building." >&5
32401 $as_echo "Component gr-wxgui passed configuration checks; but not building." >&6; }
32405 if test $passed = no; then
32406 skipped_dirs="$skipped_dirs gr-wxgui"
32407 gr_wxgui_skipped=yes
32409 gr_wxgui_skipped=no
32424 # Check whether --enable-gr-qtgui was given.
32425 if test "${enable_gr_qtgui+set}" = set; then :
32426 enableval=$enable_gr_qtgui;
32429 enable_gr_qtgui=$enable_all_components
32430 if test x$enable_all_components = xno; then
32440 if test $passed != no; then
32441 if test $passed = yes; then
32442 if test x$gnuradio_core_skipped = xyes; then
32443 { $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
32444 $as_echo "Component gr-qtgui requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
32448 if test x$gnuradio_core_with = xno; then
32449 as_fn_error "Component gr-qtgui requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
32457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PyQt4 for Qt4" >&5
32458 $as_echo_n "checking for PyQt4 for Qt4... " >&6; }
32460 PyQt4.QtCore.PYQT_VERSION >= 260000"; then
32463 import PyQt4.QtCore
32465 PyQt4.QtCore.PYQT_VERSION >= 260000
32469 try: import PyQt4.QtCore
32472 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
32473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32474 $as_echo "no" >&6; }
32477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32478 $as_echo "yes" >&6; }
32484 # Enable this if we want to test for PyQwt, too
32485 #PYTHON_CHECK_MODULE([PyQt4.Qwt5], [PyQwt5 for Qt4], \
32486 # [passed=yes], [passed=no], \
32487 # [PyQt4.Qwt5.QWT_VERSION >= 327000])
32497 # qt4-core, qt4-gui, qwt5-qt4, qwt5-qt4-dev, libqwtplot3d-qt4, libqwtplot3d-qt4-dev, qt4-dev-tools
32499 if test $passed = yes; then
32504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QTCORE" >&5
32505 $as_echo_n "checking for QTCORE... " >&6; }
32507 if test -n "$PKG_CONFIG"; then
32508 if test -n "$QTCORE_CFLAGS"; then
32509 pkg_cv_QTCORE_CFLAGS="$QTCORE_CFLAGS"
32511 if test -n "$PKG_CONFIG" && \
32512 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.2\""; } >&5
32513 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.2") 2>&5
32515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32516 test $ac_status = 0; }; then
32517 pkg_cv_QTCORE_CFLAGS=`$PKG_CONFIG --cflags "QtCore >= 4.2" 2>/dev/null`
32526 if test x$cross_compiling = xyes
32528 if test -n "$PKG_CONFIG"; then
32529 if test -n "$QTCORE_LIBS"; then
32530 pkg_cv_QTCORE_LIBS="$QTCORE_LIBS"
32532 if test -n "$PKG_CONFIG" && \
32533 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.2\""; } >&5
32534 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.2") 2>&5
32536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32537 test $ac_status = 0; }; then
32538 pkg_cv_QTCORE_LIBS=`$PKG_CONFIG --libs --static "QtCore >= 4.2" 2>/dev/null`
32547 for flag in $pkg_cv_QTCORE_LIBS; do
32549 (-L/lib* | -L/usr/lib* ) ;; # ignore
32550 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
32553 pkg_cv_QTCORE_LIBS="$_pkg_tmp"
32555 if test -n "$PKG_CONFIG"; then
32556 if test -n "$QTCORE_LIBS"; then
32557 pkg_cv_QTCORE_LIBS="$QTCORE_LIBS"
32559 if test -n "$PKG_CONFIG" && \
32560 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.2\""; } >&5
32561 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.2") 2>&5
32563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32564 test $ac_status = 0; }; then
32565 pkg_cv_QTCORE_LIBS=`$PKG_CONFIG --libs --static "QtCore >= 4.2" 2>/dev/null`
32575 if test -n "$PKG_CONFIG"; then
32576 if test -n "$QTCORE_INCLUDEDIR"; then
32577 pkg_cv_QTCORE_INCLUDEDIR="$QTCORE_INCLUDEDIR"
32579 if test -n "$PKG_CONFIG" && \
32580 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.2\""; } >&5
32581 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.2") 2>&5
32583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32584 test $ac_status = 0; }; then
32585 pkg_cv_QTCORE_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "QtCore >= 4.2" 2>/dev/null`
32597 if test $pkg_failed = yes; then
32599 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32600 _pkg_short_errors_supported=yes
32602 _pkg_short_errors_supported=no
32604 if test $_pkg_short_errors_supported = yes; then
32605 QTCORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtCore >= 4.2"`
32607 QTCORE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore >= 4.2"`
32609 # Put the nasty error message in config.log where it belongs
32610 echo "$QTCORE_PKG_ERRORS" >&5
32612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32613 $as_echo "no" >&6; }
32614 passed=no; { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-qtgui requires libQtCore >= 4.2." >&5
32615 $as_echo "gr-qtgui requires libQtCore >= 4.2." >&6; }
32616 elif test $pkg_failed = untried; then
32617 passed=no; { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-qtgui requires libQtCore >= 4.2." >&5
32618 $as_echo "gr-qtgui requires libQtCore >= 4.2." >&6; }
32620 QTCORE_CFLAGS=$pkg_cv_QTCORE_CFLAGS
32621 QTCORE_LIBS=$pkg_cv_QTCORE_LIBS
32622 QTCORE_INCLUDEDIR=$pkg_cv_QTCORE_INCLUDEDIR
32625 for flag in $QTCORE_CFLAGS; do
32627 -I* | -D* | -U*) QTCORE_CPPFLAGS="$QTCORE_CPPFLAGS $flag" ;;
32630 pkg_cv_QTCORE_CPPFLAGS=$QTCORE_CPPFLAGS
32633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32634 $as_echo "yes" >&6; }
32641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QTGUI" >&5
32642 $as_echo_n "checking for QTGUI... " >&6; }
32644 if test -n "$PKG_CONFIG"; then
32645 if test -n "$QTGUI_CFLAGS"; then
32646 pkg_cv_QTGUI_CFLAGS="$QTGUI_CFLAGS"
32648 if test -n "$PKG_CONFIG" && \
32649 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.2\""; } >&5
32650 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.2") 2>&5
32652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32653 test $ac_status = 0; }; then
32654 pkg_cv_QTGUI_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.2" 2>/dev/null`
32663 if test x$cross_compiling = xyes
32665 if test -n "$PKG_CONFIG"; then
32666 if test -n "$QTGUI_LIBS"; then
32667 pkg_cv_QTGUI_LIBS="$QTGUI_LIBS"
32669 if test -n "$PKG_CONFIG" && \
32670 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.2\""; } >&5
32671 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.2") 2>&5
32673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32674 test $ac_status = 0; }; then
32675 pkg_cv_QTGUI_LIBS=`$PKG_CONFIG --libs --static "QtGui >= 4.2" 2>/dev/null`
32684 for flag in $pkg_cv_QTGUI_LIBS; do
32686 (-L/lib* | -L/usr/lib* ) ;; # ignore
32687 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
32690 pkg_cv_QTGUI_LIBS="$_pkg_tmp"
32692 if test -n "$PKG_CONFIG"; then
32693 if test -n "$QTGUI_LIBS"; then
32694 pkg_cv_QTGUI_LIBS="$QTGUI_LIBS"
32696 if test -n "$PKG_CONFIG" && \
32697 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.2\""; } >&5
32698 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.2") 2>&5
32700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32701 test $ac_status = 0; }; then
32702 pkg_cv_QTGUI_LIBS=`$PKG_CONFIG --libs --static "QtGui >= 4.2" 2>/dev/null`
32712 if test -n "$PKG_CONFIG"; then
32713 if test -n "$QTGUI_INCLUDEDIR"; then
32714 pkg_cv_QTGUI_INCLUDEDIR="$QTGUI_INCLUDEDIR"
32716 if test -n "$PKG_CONFIG" && \
32717 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.2\""; } >&5
32718 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.2") 2>&5
32720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32721 test $ac_status = 0; }; then
32722 pkg_cv_QTGUI_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "QtGui >= 4.2" 2>/dev/null`
32734 if test $pkg_failed = yes; then
32736 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32737 _pkg_short_errors_supported=yes
32739 _pkg_short_errors_supported=no
32741 if test $_pkg_short_errors_supported = yes; then
32742 QTGUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtGui >= 4.2"`
32744 QTGUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.2"`
32746 # Put the nasty error message in config.log where it belongs
32747 echo "$QTGUI_PKG_ERRORS" >&5
32749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32750 $as_echo "no" >&6; }
32751 passed=no; { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-qtgui requires libQtGui >= 4.2." >&5
32752 $as_echo "gr-qtgui requires libQtGui >= 4.2." >&6; }
32753 elif test $pkg_failed = untried; then
32754 passed=no; { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-qtgui requires libQtGui >= 4.2." >&5
32755 $as_echo "gr-qtgui requires libQtGui >= 4.2." >&6; }
32757 QTGUI_CFLAGS=$pkg_cv_QTGUI_CFLAGS
32758 QTGUI_LIBS=$pkg_cv_QTGUI_LIBS
32759 QTGUI_INCLUDEDIR=$pkg_cv_QTGUI_INCLUDEDIR
32762 for flag in $QTGUI_CFLAGS; do
32764 -I* | -D* | -U*) QTGUI_CPPFLAGS="$QTGUI_CPPFLAGS $flag" ;;
32767 pkg_cv_QTGUI_CPPFLAGS=$QTGUI_CPPFLAGS
32770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32771 $as_echo "yes" >&6; }
32778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QTOPENGL" >&5
32779 $as_echo_n "checking for QTOPENGL... " >&6; }
32781 if test -n "$PKG_CONFIG"; then
32782 if test -n "$QTOPENGL_CFLAGS"; then
32783 pkg_cv_QTOPENGL_CFLAGS="$QTOPENGL_CFLAGS"
32785 if test -n "$PKG_CONFIG" && \
32786 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtOpenGL >= 4.2\""; } >&5
32787 ($PKG_CONFIG --exists --print-errors "QtOpenGL >= 4.2") 2>&5
32789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32790 test $ac_status = 0; }; then
32791 pkg_cv_QTOPENGL_CFLAGS=`$PKG_CONFIG --cflags "QtOpenGL >= 4.2" 2>/dev/null`
32800 if test x$cross_compiling = xyes
32802 if test -n "$PKG_CONFIG"; then
32803 if test -n "$QTOPENGL_LIBS"; then
32804 pkg_cv_QTOPENGL_LIBS="$QTOPENGL_LIBS"
32806 if test -n "$PKG_CONFIG" && \
32807 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtOpenGL >= 4.2\""; } >&5
32808 ($PKG_CONFIG --exists --print-errors "QtOpenGL >= 4.2") 2>&5
32810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32811 test $ac_status = 0; }; then
32812 pkg_cv_QTOPENGL_LIBS=`$PKG_CONFIG --libs --static "QtOpenGL >= 4.2" 2>/dev/null`
32821 for flag in $pkg_cv_QTOPENGL_LIBS; do
32823 (-L/lib* | -L/usr/lib* ) ;; # ignore
32824 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
32827 pkg_cv_QTOPENGL_LIBS="$_pkg_tmp"
32829 if test -n "$PKG_CONFIG"; then
32830 if test -n "$QTOPENGL_LIBS"; then
32831 pkg_cv_QTOPENGL_LIBS="$QTOPENGL_LIBS"
32833 if test -n "$PKG_CONFIG" && \
32834 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtOpenGL >= 4.2\""; } >&5
32835 ($PKG_CONFIG --exists --print-errors "QtOpenGL >= 4.2") 2>&5
32837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32838 test $ac_status = 0; }; then
32839 pkg_cv_QTOPENGL_LIBS=`$PKG_CONFIG --libs --static "QtOpenGL >= 4.2" 2>/dev/null`
32849 if test -n "$PKG_CONFIG"; then
32850 if test -n "$QTOPENGL_INCLUDEDIR"; then
32851 pkg_cv_QTOPENGL_INCLUDEDIR="$QTOPENGL_INCLUDEDIR"
32853 if test -n "$PKG_CONFIG" && \
32854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtOpenGL >= 4.2\""; } >&5
32855 ($PKG_CONFIG --exists --print-errors "QtOpenGL >= 4.2") 2>&5
32857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32858 test $ac_status = 0; }; then
32859 pkg_cv_QTOPENGL_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "QtOpenGL >= 4.2" 2>/dev/null`
32871 if test $pkg_failed = yes; then
32873 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32874 _pkg_short_errors_supported=yes
32876 _pkg_short_errors_supported=no
32878 if test $_pkg_short_errors_supported = yes; then
32879 QTOPENGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtOpenGL >= 4.2"`
32881 QTOPENGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtOpenGL >= 4.2"`
32883 # Put the nasty error message in config.log where it belongs
32884 echo "$QTOPENGL_PKG_ERRORS" >&5
32886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32887 $as_echo "no" >&6; }
32888 passed=no; { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-qtgui requires libQtOpenGL >- 4.2." >&5
32889 $as_echo "gr-qtgui requires libQtOpenGL >- 4.2." >&6; }
32890 elif test $pkg_failed = untried; then
32891 passed=no; { $as_echo "$as_me:${as_lineno-$LINENO}: result: gr-qtgui requires libQtOpenGL >- 4.2." >&5
32892 $as_echo "gr-qtgui requires libQtOpenGL >- 4.2." >&6; }
32894 QTOPENGL_CFLAGS=$pkg_cv_QTOPENGL_CFLAGS
32895 QTOPENGL_LIBS=$pkg_cv_QTOPENGL_LIBS
32896 QTOPENGL_INCLUDEDIR=$pkg_cv_QTOPENGL_INCLUDEDIR
32898 QTOPENGL_CPPFLAGS=""
32899 for flag in $QTOPENGL_CFLAGS; do
32901 -I* | -D* | -U*) QTOPENGL_CPPFLAGS="$QTOPENGL_CPPFLAGS $flag" ;;
32904 pkg_cv_QTOPENGL_CPPFLAGS=$QTOPENGL_CPPFLAGS
32907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32908 $as_echo "yes" >&6; }
32913 QWT_LIBRARY1=-lqwt-qt4
32917 ac_cpp='$CXXCPP $CPPFLAGS'
32918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32922 qwt_save_CPPFLAGS="$CPPFLAGS"
32923 qwt_save_LIBS="$LIBS"
32927 # Check whether --with-qwt-libdir was given.
32928 if test "${with_qwt_libdir+set}" = set; then :
32929 withval=$with_qwt_libdir; qwt_libdir="$withval"
32936 # Check whether --with-qwt-incdir was given.
32937 if test "${with_qwt_incdir+set}" = set; then :
32938 withval=$with_qwt_incdir; qwt_incdir="$withval"
32944 # Check whether --with-qwt-lib was given.
32945 if test "${with_qwt_lib+set}" = set; then :
32946 withval=$with_qwt_lib; qwt_lib="$withval"
32952 CPPFLAGS="$CPPFLAGS $QTCORE_CFLAGS"
32954 if test "$qwt_incdir" = "" ; then
32955 ac_fn_cxx_check_header_mongrel "$LINENO" "qwt/qwt.h" "ac_cv_header_qwt_qwt_h" "$ac_includes_default"
32956 if test "x$ac_cv_header_qwt_qwt_h" = x""yes; then :
32964 if test "$qwt_qwt_h" = "yes" ; then
32965 QWT_CFLAGS="$QWT_CFLAGS -I/usr/include/qwt"
32967 ac_fn_cxx_check_header_mongrel "$LINENO" "qwt-qt4/qwt.h" "ac_cv_header_qwt_qt4_qwt_h" "$ac_includes_default"
32968 if test "x$ac_cv_header_qwt_qt4_qwt_h" = x""yes; then :
32976 if test "$qwt_qt4_qwt_h" = "yes" ; then
32977 QWT_CFLAGS="$QWT_CFLAGS -I/usr/include/qwt-qt4"
32983 QWT_CFLAGS="$QWT_CFLAGS -I$qwt_incdir"
32984 as_ac_Header=`$as_echo "ac_cv_header_$qwt_incdir/qwt.h" | $as_tr_sh`
32985 ac_fn_cxx_check_header_mongrel "$LINENO" "$qwt_incdir/qwt.h" "$as_ac_Header" "$ac_includes_default"
32986 eval as_val=\$$as_ac_Header
32987 if test "x$as_val" = x""yes; then :
32996 if test "$libqwt_ok" = "yes" ; then
32999 if test "$qwt_libdir" != "" ; then
33000 QWT_LIBS="-L$qwt_libdir $QWT_LIBS"
33003 CPPFLAGS="$CPPFLAGS $QWT_CFLAGS"
33004 LIBS="$qwt_save_LIBS $QT_LIBS $QWT_LIBS -lqwt"
33006 if test "$qwt_lib" != "" ; then
33007 as_ac_Lib=`$as_echo "ac_cv_lib_$qwt_lib''_main" | $as_tr_sh`
33008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$qwt_lib" >&5
33009 $as_echo_n "checking for main in -l$qwt_lib... " >&6; }
33010 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
33011 $as_echo_n "(cached) " >&6
33013 ac_check_lib_save_LIBS=$LIBS
33014 LIBS="-l$qwt_lib $LIBS"
33015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33016 /* end confdefs.h. */
33027 if ac_fn_cxx_try_link "$LINENO"; then :
33028 eval "$as_ac_Lib=yes"
33030 eval "$as_ac_Lib=no"
33032 rm -f core conftest.err conftest.$ac_objext \
33033 conftest$ac_exeext conftest.$ac_ext
33034 LIBS=$ac_check_lib_save_LIBS
33036 eval ac_res=\$$as_ac_Lib
33037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
33038 $as_echo "$ac_res" >&6; }
33039 eval as_val=\$$as_ac_Lib
33040 if test "x$as_val" = x""yes; then :
33048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lqwt" >&5
33049 $as_echo_n "checking for main in -lqwt... " >&6; }
33050 if test "${ac_cv_lib_qwt_main+set}" = set; then :
33051 $as_echo_n "(cached) " >&6
33053 ac_check_lib_save_LIBS=$LIBS
33055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33056 /* end confdefs.h. */
33067 if ac_fn_cxx_try_link "$LINENO"; then :
33068 ac_cv_lib_qwt_main=yes
33070 ac_cv_lib_qwt_main=no
33072 rm -f core conftest.err conftest.$ac_objext \
33073 conftest$ac_exeext conftest.$ac_ext
33074 LIBS=$ac_check_lib_save_LIBS
33076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_qwt_main" >&5
33077 $as_echo "$ac_cv_lib_qwt_main" >&6; }
33078 if test "x$ac_cv_lib_qwt_main" = x""yes; then :
33085 if test "$libqwt_ok" = "yes" ; then
33086 QWT_LIBS="$QWT_LIBS -lqwt"
33088 LIBS="$qwt_save_LIBS $QT_LIBS $QWT_LIBS -lqwt-qt4"
33089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lqwt-qt4" >&5
33090 $as_echo_n "checking for main in -lqwt-qt4... " >&6; }
33091 if test "${ac_cv_lib_qwt_qt4_main+set}" = set; then :
33092 $as_echo_n "(cached) " >&6
33094 ac_check_lib_save_LIBS=$LIBS
33095 LIBS="-lqwt-qt4 $LIBS"
33096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33097 /* end confdefs.h. */
33108 if ac_fn_cxx_try_link "$LINENO"; then :
33109 ac_cv_lib_qwt_qt4_main=yes
33111 ac_cv_lib_qwt_qt4_main=no
33113 rm -f core conftest.err conftest.$ac_objext \
33114 conftest$ac_exeext conftest.$ac_ext
33115 LIBS=$ac_check_lib_save_LIBS
33117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_qwt_qt4_main" >&5
33118 $as_echo "$ac_cv_lib_qwt_qt4_main" >&6; }
33119 if test "x$ac_cv_lib_qwt_qt4_main" = x""yes; then :
33125 if test "$libqwt_ok" = "yes" ; then
33126 QWT_LIBS="$QWT_LIBS -lqwt-qt4"
33128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Could not link to libqwt.so" >&5
33129 $as_echo "Could not link to libqwt.so" >&6; }
33134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Could not find qwt headers" >&5
33135 $as_echo "Could not find qwt headers" >&6; }
33138 LIBS="$qwt_save_LIBS"
33139 CPPFLAGS="$qwt_save_CPPFLAGS"
33141 ac_cpp='$CPP $CPPFLAGS'
33142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33147 if test "x$libqwt_ok" = "xyes" ; then
33159 if test "$passed" = "yes"; then
33163 ac_cpp='$CXXCPP $CPPFLAGS'
33164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33168 qwtplot3d_save_CPPFLAGS="$CPPFLAGS"
33169 qwtplot3d_save_LIBS="$LIBS"
33170 libqwtplot3d_ok=yes
33173 # Check whether --with-qwtplot3d-libdir was given.
33174 if test "${with_qwtplot3d_libdir+set}" = set; then :
33175 withval=$with_qwtplot3d_libdir; qwtplot3d_libdir="$withval"
33177 qwtplot3d_libdir=""
33182 # Check whether --with-qwtplot3d-incdir was given.
33183 if test "${with_qwtplot3d_incdir+set}" = set; then :
33184 withval=$with_qwtplot3d_incdir; qwtplot3d_incdir="$withval"
33186 qwtplot3d_incdir=""
33191 # Check whether --with-qwtplot3d-lib was given.
33192 if test "${with_qwtplot3d_lib+set}" = set; then :
33193 withval=$with_qwtplot3d_lib; qwtplot3d_lib="$withval"
33200 CPPFLAGS="$CPPFLAGS $QTCORE_CFLAGS $QTGUI_CFLAGS $QWT_CFLAGS"
33202 if test "$qwtplot3d_incdir" = "" ; then
33203 ac_fn_cxx_check_header_mongrel "$LINENO" "qwtplot3d/qwt3d_plot.h" "ac_cv_header_qwtplot3d_qwt3d_plot_h" "$ac_includes_default"
33204 if test "x$ac_cv_header_qwtplot3d_qwt3d_plot_h" = x""yes; then :
33205 qwtplot3d_qwtplot3d_h=yes
33207 qwtplot3d_qwtplot3d_h=no
33212 if test "$qwtplot3d_qwtplot3d_h" = "yes" ; then
33213 QWTPLOT3D_CFLAGS="$QWTPLOT3D_CFLAGS -I/usr/include/qwtplot3d"
33215 ac_fn_cxx_check_header_mongrel "$LINENO" "qwtplot3d-qt4/qwt3d_plot.h" "ac_cv_header_qwtplot3d_qt4_qwt3d_plot_h" "$ac_includes_default"
33216 if test "x$ac_cv_header_qwtplot3d_qt4_qwt3d_plot_h" = x""yes; then :
33217 qwtplot3d_qt4_qwtplot3d_h=yes
33219 qwtplot3d_qt4_qwtplot3d_h=no
33224 if test "$qwtplot3d_qt4_qwtplot3d_h" = "yes" ; then
33225 QWTPLOT3D_CFLAGS="$QWTPLOT3D_CFLAGS -I/usr/include/qwtplot3d-qt4"
33231 QWTPLOT3D_CFLAGS="$QWTPLOT3D_CFLAGS -I$qwtplot3d_incdir"
33232 as_ac_Header=`$as_echo "ac_cv_header_$qwtplot3d_incdir/qwt3d_plot.h" | $as_tr_sh`
33233 ac_fn_cxx_check_header_mongrel "$LINENO" "$qwtplot3d_incdir/qwt3d_plot.h" "$as_ac_Header" "$ac_includes_default"
33234 eval as_val=\$$as_ac_Header
33235 if test "x$as_val" = x""yes; then :
33244 if test "$libqwtplot3d_ok" = "yes" ; then
33247 if test "$qwtplot3d_libdir" != "" ; then
33248 QWTPLOT3D_LIBS="-L$qwtplot3d_libdir $QWTPLOT3D_LIBS"
33251 CPPFLAGS="$CPPFLAGS $QWTPLOT3D_CFLAGS"
33252 LIBS="$qwtplot3d_save_LIBS $QT_LIBS $QWTPLOT3D_LIBS -lqwtplot3d-qt4"
33254 if test "$qwtplot3d_lib" != "" ; then
33255 as_ac_Lib=`$as_echo "ac_cv_lib_$qwtplot3d_lib''_main" | $as_tr_sh`
33256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$qwtplot3d_lib" >&5
33257 $as_echo_n "checking for main in -l$qwtplot3d_lib... " >&6; }
33258 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
33259 $as_echo_n "(cached) " >&6
33261 ac_check_lib_save_LIBS=$LIBS
33262 LIBS="-l$qwtplot3d_lib $LIBS"
33263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33264 /* end confdefs.h. */
33275 if ac_fn_cxx_try_link "$LINENO"; then :
33276 eval "$as_ac_Lib=yes"
33278 eval "$as_ac_Lib=no"
33280 rm -f core conftest.err conftest.$ac_objext \
33281 conftest$ac_exeext conftest.$ac_ext
33282 LIBS=$ac_check_lib_save_LIBS
33284 eval ac_res=\$$as_ac_Lib
33285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
33286 $as_echo "$ac_res" >&6; }
33287 eval as_val=\$$as_ac_Lib
33288 if test "x$as_val" = x""yes; then :
33289 libqwtplot3d_ok=yes
33296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lqwtplot3d-qt4" >&5
33297 $as_echo_n "checking for main in -lqwtplot3d-qt4... " >&6; }
33298 if test "${ac_cv_lib_qwtplot3d_qt4_main+set}" = set; then :
33299 $as_echo_n "(cached) " >&6
33301 ac_check_lib_save_LIBS=$LIBS
33302 LIBS="-lqwtplot3d-qt4 $LIBS"
33303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33304 /* end confdefs.h. */
33315 if ac_fn_cxx_try_link "$LINENO"; then :
33316 ac_cv_lib_qwtplot3d_qt4_main=yes
33318 ac_cv_lib_qwtplot3d_qt4_main=no
33320 rm -f core conftest.err conftest.$ac_objext \
33321 conftest$ac_exeext conftest.$ac_ext
33322 LIBS=$ac_check_lib_save_LIBS
33324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_qwtplot3d_qt4_main" >&5
33325 $as_echo "$ac_cv_lib_qwtplot3d_qt4_main" >&6; }
33326 if test "x$ac_cv_lib_qwtplot3d_qt4_main" = x""yes; then :
33327 libqwtplot3d_ok=yes
33333 if test "$libqwtplot3d_ok" = "yes" ; then
33334 QWTPLOT3D_LIBS="$QWTPLOT3D_LIBS -lqwtplot3d-qt4"
33336 LIBS="$qwtplot3d_save_LIBS $QT_LIBS $QWTPLOT3D_LIBS -lqwtplot3d"
33337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lqwtplot3d" >&5
33338 $as_echo_n "checking for main in -lqwtplot3d... " >&6; }
33339 if test "${ac_cv_lib_qwtplot3d_main+set}" = set; then :
33340 $as_echo_n "(cached) " >&6
33342 ac_check_lib_save_LIBS=$LIBS
33343 LIBS="-lqwtplot3d $LIBS"
33344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33345 /* end confdefs.h. */
33356 if ac_fn_cxx_try_link "$LINENO"; then :
33357 ac_cv_lib_qwtplot3d_main=yes
33359 ac_cv_lib_qwtplot3d_main=no
33361 rm -f core conftest.err conftest.$ac_objext \
33362 conftest$ac_exeext conftest.$ac_ext
33363 LIBS=$ac_check_lib_save_LIBS
33365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_qwtplot3d_main" >&5
33366 $as_echo "$ac_cv_lib_qwtplot3d_main" >&6; }
33367 if test "x$ac_cv_lib_qwtplot3d_main" = x""yes; then :
33368 libqwtplot3d_ok=yes
33373 if test "$libqwtplot3d_ok" = "yes" ; then
33374 QWTPLOT3D_LIBS="$QWTPLOT3D_LIBS -lqwtplot3d"
33376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Could not link to libqwtplot3d.so" >&5
33377 $as_echo "Could not link to libqwtplot3d.so" >&6; }
33382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Could not find qwtplot3d headers" >&5
33383 $as_echo "Could not find qwtplot3d headers" >&6; }
33386 LIBS="$qwtplot3d_save_LIBS"
33387 CPPFLAGS="$qwtplot3d_save_CPPFLAGS"
33389 ac_cpp='$CPP $CPPFLAGS'
33390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33395 if test "x$libqwtplot3d_ok" = "xyes" ; then
33398 QWTPLOT3D_CFLAGS=""
33399 QWTPLOT3D_LIBDIRS=""
33408 QT_INCLUDES="$QWT_CFLAGS $QWTPLOT3D_CFLAGS $QTCORE_CFLAGS $QTGUI_CFLAGS"
33409 QT_LIBS="$QWT_LIBS $QWTPLOT3D_LIBS $QTOPENGL_LIBS"
33411 for i in $QWT_CFLAGS $QWTPLOT3D_CFLAGS; do
33412 QMAKE_INCLUDES="$QMAKE_INCLUDES ${i##-I}"
33415 QT_MOC_EXEC=`pkg-config --variable=moc_location QtCore`
33416 QT_UIC_EXEC=`pkg-config --variable=uic_location QtCore`
33425 if test "$passed" = "no"; then
33445 ac_config_files="$ac_config_files gr-qtgui/Makefile gr-qtgui/src/Makefile gr-qtgui/src/lib/Makefile gr-qtgui/src/python/Makefile"
33451 if test $passed = no; then
33452 if test x$enable_gr_qtgui = xyes; then
33453 as_fn_error "Component gr-qtgui has errors; stopping." "$LINENO" 5
33455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-qtgui." >&5
33456 $as_echo "Not building component gr-qtgui." >&6; }
33459 if test $passed = with; then
33460 with_dirs="$with_dirs gr-qtgui"
33462 if test "x${gr_qtgui_INCLUDES}" != "x"; then
33463 if test "x$with_INCLUDES" = "x"; then
33464 with_INCLUDES="${gr_qtgui_INCLUDES}"
33466 with_INCLUDES="${gr_qtgui_INCLUDES}"" ""$with_INCLUDES"
33472 if test "x${gr_qtgui_SWIG_INCLUDES}" != "x"; then
33473 if test "x$with_SWIG_INCLUDES" = "x"; then
33474 with_SWIG_INCLUDES="${gr_qtgui_SWIG_INCLUDES}"
33476 with_SWIG_INCLUDES="${gr_qtgui_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
33478 gr_qtgui_SWIG_INCLUDES=
33482 if test "x${gr_qtgui_PYDIRPATH}" != "x"; then
33483 if test "x$with_PYDIRPATH" = "x"; then
33484 with_PYDIRPATH="${gr_qtgui_PYDIRPATH}"
33486 with_PYDIRPATH="${gr_qtgui_PYDIRPATH}"":""$with_PYDIRPATH"
33488 gr_qtgui_PYDIRPATH=
33492 if test "x${gr_qtgui_SWIGDIRPATH}" != "x"; then
33493 if test "x$with_SWIGDIRPATH" = "x"; then
33494 with_SWIGDIRPATH="${gr_qtgui_SWIGDIRPATH}"
33496 with_SWIGDIRPATH="${gr_qtgui_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
33498 gr_qtgui_SWIGDIRPATH=
33502 if test "x${gr_qtgui_LIBDIRPATH}" != "x"; then
33503 if test "x$with_LIBDIRPATH" = "x"; then
33504 with_LIBDIRPATH="${gr_qtgui_LIBDIRPATH}"
33506 with_LIBDIRPATH="${gr_qtgui_LIBDIRPATH}"":""$with_LIBDIRPATH"
33508 gr_qtgui_LIBDIRPATH=
33511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-qtgui will be included from a pre-installed library and includes." >&5
33512 $as_echo "Component gr-qtgui will be included from a pre-installed library and includes." >&6; }
33516 if test x$enable_gr_qtgui != xno; then
33518 build_dirs="$build_dirs gr-qtgui"
33519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-qtgui passed configuration checks; building." >&5
33520 $as_echo "Component gr-qtgui passed configuration checks; building." >&6; }
33523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-qtgui passed configuration checks; but not building." >&5
33524 $as_echo "Component gr-qtgui passed configuration checks; but not building." >&6; }
33528 if test $passed = no; then
33529 skipped_dirs="$skipped_dirs gr-qtgui"
33530 gr_qtgui_skipped=yes
33532 gr_qtgui_skipped=no
33546 # Check whether --enable-gr-sounder was given.
33547 if test "${enable_gr_sounder+set}" = set; then :
33548 enableval=$enable_gr_sounder;
33551 enable_gr_sounder=$enable_all_components
33552 if test x$enable_all_components = xno; then
33562 if test $passed != no; then
33563 if test $passed = yes; then
33564 if test x$usrp_skipped = xyes; then
33565 { $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
33566 $as_echo "Component gr-sounder requires usrp, which is not being built or specified via pre-installed files." >&6; }
33570 if test x$usrp_with = xno; then
33571 as_fn_error "Component gr-sounder requires usrp to be included as --with-usrp[=arg]" "$LINENO" 5
33577 if test $passed != no; then
33578 if test $passed = yes; then
33579 if test x$gnuradio_core_skipped = xyes; then
33580 { $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
33581 $as_echo "Component gr-sounder requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
33585 if test x$gnuradio_core_with = xno; then
33586 as_fn_error "Component gr-sounder requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
33592 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"
33598 if test $passed = no; then
33599 if test x$enable_gr_sounder = xyes; then
33600 as_fn_error "Component gr-sounder has errors; stopping." "$LINENO" 5
33602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-sounder." >&5
33603 $as_echo "Not building component gr-sounder." >&6; }
33606 if test $passed = with; then
33607 with_dirs="$with_dirs gr-sounder"
33609 if test "x${gr_sounder_INCLUDES}" != "x"; then
33610 if test "x$with_INCLUDES" = "x"; then
33611 with_INCLUDES="${gr_sounder_INCLUDES}"
33613 with_INCLUDES="${gr_sounder_INCLUDES}"" ""$with_INCLUDES"
33615 gr_sounder_INCLUDES=
33619 if test "x${gr_sounder_SWIG_INCLUDES}" != "x"; then
33620 if test "x$with_SWIG_INCLUDES" = "x"; then
33621 with_SWIG_INCLUDES="${gr_sounder_SWIG_INCLUDES}"
33623 with_SWIG_INCLUDES="${gr_sounder_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
33625 gr_sounder_SWIG_INCLUDES=
33629 if test "x${gr_sounder_PYDIRPATH}" != "x"; then
33630 if test "x$with_PYDIRPATH" = "x"; then
33631 with_PYDIRPATH="${gr_sounder_PYDIRPATH}"
33633 with_PYDIRPATH="${gr_sounder_PYDIRPATH}"":""$with_PYDIRPATH"
33635 gr_sounder_PYDIRPATH=
33639 if test "x${gr_sounder_SWIGDIRPATH}" != "x"; then
33640 if test "x$with_SWIGDIRPATH" = "x"; then
33641 with_SWIGDIRPATH="${gr_sounder_SWIGDIRPATH}"
33643 with_SWIGDIRPATH="${gr_sounder_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
33645 gr_sounder_SWIGDIRPATH=
33649 if test "x${gr_sounder_LIBDIRPATH}" != "x"; then
33650 if test "x$with_LIBDIRPATH" = "x"; then
33651 with_LIBDIRPATH="${gr_sounder_LIBDIRPATH}"
33653 with_LIBDIRPATH="${gr_sounder_LIBDIRPATH}"":""$with_LIBDIRPATH"
33655 gr_sounder_LIBDIRPATH=
33658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-sounder will be included from a pre-installed library and includes." >&5
33659 $as_echo "Component gr-sounder will be included from a pre-installed library and includes." >&6; }
33660 gr_sounder_with=yes
33663 if test x$enable_gr_sounder != xno; then
33664 ac_config_commands="$ac_config_commands run_tests_sounder"
33667 build_dirs="$build_dirs gr-sounder"
33668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-sounder passed configuration checks; building." >&5
33669 $as_echo "Component gr-sounder passed configuration checks; building." >&6; }
33672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-sounder passed configuration checks; but not building." >&5
33673 $as_echo "Component gr-sounder passed configuration checks; but not building." >&6; }
33677 if test $passed = no; then
33678 skipped_dirs="$skipped_dirs gr-sounder"
33679 gr_sounder_skipped=yes
33681 gr_sounder_skipped=no
33694 # Check whether --enable-gr-utils was given.
33695 if test "${enable_gr_utils+set}" = set; then :
33696 enableval=$enable_gr_utils;
33699 enable_gr_utils=$enable_all_components
33700 if test x$enable_all_components = xno; then
33710 if test $passed != no; then
33711 if test $passed = yes; then
33712 if test x$gnuradio_core_skipped = xyes; then
33713 { $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
33714 $as_echo "Component gr-utils requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
33718 if test x$gnuradio_core_with = xno; then
33719 as_fn_error "Component gr-utils requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
33725 if test $passed != no; then
33726 if test $passed = yes; then
33727 if test x$usrp_skipped = xyes; then
33728 { $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
33729 $as_echo "Component gr-utils requires usrp, which is not being built or specified via pre-installed files." >&6; }
33733 if test x$usrp_with = xno; then
33734 as_fn_error "Component gr-utils requires usrp to be included as --with-usrp[=arg]" "$LINENO" 5
33740 if test $passed != no; then
33741 if test $passed = yes; then
33742 if test x$gr_wxgui_skipped = xyes; then
33743 { $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
33744 $as_echo "Component gr-utils requires gr-wxgui, which is not being built or specified via pre-installed files." >&6; }
33748 if test x$gr_wxgui_with = xno; then
33749 as_fn_error "Component gr-utils requires gr-wxgui to be included as --with-gr-wxgui[=arg]" "$LINENO" 5
33755 ac_config_files="$ac_config_files gr-utils/Makefile gr-utils/src/Makefile gr-utils/src/lib/Makefile gr-utils/src/python/Makefile"
33761 if test $passed = no; then
33762 if test x$enable_gr_utils = xyes; then
33763 as_fn_error "Component gr-utils has errors; stopping." "$LINENO" 5
33765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gr-utils." >&5
33766 $as_echo "Not building component gr-utils." >&6; }
33769 if test $passed = with; then
33770 with_dirs="$with_dirs gr-utils"
33772 if test "x${gr_utils_INCLUDES}" != "x"; then
33773 if test "x$with_INCLUDES" = "x"; then
33774 with_INCLUDES="${gr_utils_INCLUDES}"
33776 with_INCLUDES="${gr_utils_INCLUDES}"" ""$with_INCLUDES"
33782 if test "x${gr_utils_SWIG_INCLUDES}" != "x"; then
33783 if test "x$with_SWIG_INCLUDES" = "x"; then
33784 with_SWIG_INCLUDES="${gr_utils_SWIG_INCLUDES}"
33786 with_SWIG_INCLUDES="${gr_utils_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
33788 gr_utils_SWIG_INCLUDES=
33792 if test "x${gr_utils_PYDIRPATH}" != "x"; then
33793 if test "x$with_PYDIRPATH" = "x"; then
33794 with_PYDIRPATH="${gr_utils_PYDIRPATH}"
33796 with_PYDIRPATH="${gr_utils_PYDIRPATH}"":""$with_PYDIRPATH"
33798 gr_utils_PYDIRPATH=
33802 if test "x${gr_utils_SWIGDIRPATH}" != "x"; then
33803 if test "x$with_SWIGDIRPATH" = "x"; then
33804 with_SWIGDIRPATH="${gr_utils_SWIGDIRPATH}"
33806 with_SWIGDIRPATH="${gr_utils_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
33808 gr_utils_SWIGDIRPATH=
33812 if test "x${gr_utils_LIBDIRPATH}" != "x"; then
33813 if test "x$with_LIBDIRPATH" = "x"; then
33814 with_LIBDIRPATH="${gr_utils_LIBDIRPATH}"
33816 with_LIBDIRPATH="${gr_utils_LIBDIRPATH}"":""$with_LIBDIRPATH"
33818 gr_utils_LIBDIRPATH=
33821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-utils will be included from a pre-installed library and includes." >&5
33822 $as_echo "Component gr-utils will be included from a pre-installed library and includes." >&6; }
33826 if test x$enable_gr_utils != xno; then
33828 build_dirs="$build_dirs gr-utils"
33829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-utils passed configuration checks; building." >&5
33830 $as_echo "Component gr-utils passed configuration checks; building." >&6; }
33833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gr-utils passed configuration checks; but not building." >&5
33834 $as_echo "Component gr-utils passed configuration checks; but not building." >&6; }
33838 if test $passed = no; then
33839 skipped_dirs="$skipped_dirs gr-utils"
33840 gr_utils_skipped=yes
33842 gr_utils_skipped=no
33855 # Check whether --enable-gnuradio-examples was given.
33856 if test "${enable_gnuradio_examples+set}" = set; then :
33857 enableval=$enable_gnuradio_examples;
33860 enable_gnuradio_examples=$enable_all_components
33861 if test x$enable_all_components = xno; then
33871 if test $passed != no; then
33872 if test $passed = yes; then
33873 if test x$gnuradio_core_skipped = xyes; then
33874 { $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
33875 $as_echo "Component gnuradio-examples requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
33879 if test x$gnuradio_core_with = xno; then
33880 as_fn_error "Component gnuradio-examples requires gnuradio-core to be included as --with-gnuradio-core[=arg]" "$LINENO" 5
33886 ac_config_files="$ac_config_files gnuradio-examples/Makefile gnuradio-examples/c++/Makefile gnuradio-examples/python/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/usrp/Makefile gnuradio-examples/python/usrp2/Makefile"
33891 gnuradio_examples_with=no
33892 if test $passed = no; then
33893 if test x$enable_gnuradio_examples = xyes; then
33894 as_fn_error "Component gnuradio-examples has errors; stopping." "$LINENO" 5
33896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component gnuradio-examples." >&5
33897 $as_echo "Not building component gnuradio-examples." >&6; }
33900 if test $passed = with; then
33901 with_dirs="$with_dirs gnuradio-examples"
33903 if test "x${gnuradio_examples_INCLUDES}" != "x"; then
33904 if test "x$with_INCLUDES" = "x"; then
33905 with_INCLUDES="${gnuradio_examples_INCLUDES}"
33907 with_INCLUDES="${gnuradio_examples_INCLUDES}"" ""$with_INCLUDES"
33909 gnuradio_examples_INCLUDES=
33913 if test "x${gnuradio_examples_SWIG_INCLUDES}" != "x"; then
33914 if test "x$with_SWIG_INCLUDES" = "x"; then
33915 with_SWIG_INCLUDES="${gnuradio_examples_SWIG_INCLUDES}"
33917 with_SWIG_INCLUDES="${gnuradio_examples_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
33919 gnuradio_examples_SWIG_INCLUDES=
33923 if test "x${gnuradio_examples_PYDIRPATH}" != "x"; then
33924 if test "x$with_PYDIRPATH" = "x"; then
33925 with_PYDIRPATH="${gnuradio_examples_PYDIRPATH}"
33927 with_PYDIRPATH="${gnuradio_examples_PYDIRPATH}"":""$with_PYDIRPATH"
33929 gnuradio_examples_PYDIRPATH=
33933 if test "x${gnuradio_examples_SWIGDIRPATH}" != "x"; then
33934 if test "x$with_SWIGDIRPATH" = "x"; then
33935 with_SWIGDIRPATH="${gnuradio_examples_SWIGDIRPATH}"
33937 with_SWIGDIRPATH="${gnuradio_examples_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
33939 gnuradio_examples_SWIGDIRPATH=
33943 if test "x${gnuradio_examples_LIBDIRPATH}" != "x"; then
33944 if test "x$with_LIBDIRPATH" = "x"; then
33945 with_LIBDIRPATH="${gnuradio_examples_LIBDIRPATH}"
33947 with_LIBDIRPATH="${gnuradio_examples_LIBDIRPATH}"":""$with_LIBDIRPATH"
33949 gnuradio_examples_LIBDIRPATH=
33952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gnuradio-examples will be included from a pre-installed library and includes." >&5
33953 $as_echo "Component gnuradio-examples will be included from a pre-installed library and includes." >&6; }
33954 gnuradio_examples_with=yes
33956 gnuradio_examples_LDFLAG=
33957 if test x$enable_gnuradio_examples != xno; then
33959 build_dirs="$build_dirs gnuradio-examples"
33960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gnuradio-examples passed configuration checks; building." >&5
33961 $as_echo "Component gnuradio-examples passed configuration checks; building." >&6; }
33964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component gnuradio-examples passed configuration checks; but not building." >&5
33965 $as_echo "Component gnuradio-examples passed configuration checks; but not building." >&6; }
33969 if test $passed = no; then
33970 skipped_dirs="$skipped_dirs gnuradio-examples"
33971 gnuradio_examples_skipped=yes
33973 gnuradio_examples_skipped=no
33986 # Check whether --enable-grc was given.
33987 if test "${enable_grc+set}" = set; then :
33988 enableval=$enable_grc;
33991 enable_grc=$enable_all_components
33992 if test x$enable_all_components = xno; then
34002 if test $passed != no; then
34003 if test $passed = yes; then
34004 if test x$gr_wxgui_skipped = xyes; then
34005 { $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
34006 $as_echo "Component grc requires gr-wxgui, which is not being built or specified via pre-installed files." >&6; }
34010 if test x$gr_wxgui_with = xno; then
34011 as_fn_error "Component grc requires gr-wxgui to be included as --with-gr-wxgui[=arg]" "$LINENO" 5
34017 # Extract the first word of "xdg-mime", so it can be a program name with args.
34018 set dummy xdg-mime; ac_word=$2
34019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34020 $as_echo_n "checking for $ac_word... " >&6; }
34021 if test "${ac_cv_prog_XDG_UTILS+set}" = set; then :
34022 $as_echo_n "(cached) " >&6
34024 if test -n "$XDG_UTILS"; then
34025 ac_cv_prog_XDG_UTILS="$XDG_UTILS" # Let the user override the test.
34027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34028 for as_dir in $PATH
34031 test -z "$as_dir" && as_dir=.
34032 for ac_exec_ext in '' $ac_executable_extensions; do
34033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34034 ac_cv_prog_XDG_UTILS="true"
34035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34042 test -z "$ac_cv_prog_XDG_UTILS" && ac_cv_prog_XDG_UTILS="false"
34045 XDG_UTILS=$ac_cv_prog_XDG_UTILS
34046 if test -n "$XDG_UTILS"; then
34047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XDG_UTILS" >&5
34048 $as_echo "$XDG_UTILS" >&6; }
34050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34051 $as_echo "no" >&6; }
34055 if $XDG_UTILS; then
34057 XDG_UTILS_FALSE='#'
34064 if test $passed = yes; then
34066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python >= 2.5" >&5
34067 $as_echo_n "checking for Python >= 2.5... " >&6; }
34068 if test "sys.version.split()[0] >= "2.5""; then
34072 assert sys.version.split()[0] >= "2.5"
34079 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
34080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34081 $as_echo "no" >&6; }
34084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34085 $as_echo "yes" >&6; }
34090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python Cheetah templates >= 2.0.0" >&5
34091 $as_echo_n "checking for Python Cheetah templates >= 2.0.0... " >&6; }
34092 if test "Cheetah.Version >= "2.0.0""; then
34096 assert Cheetah.Version >= "2.0.0"
34100 try: import Cheetah
34103 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
34104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34105 $as_echo "no" >&6; }
34108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34109 $as_echo "yes" >&6; }
34114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python lxml wrappers >= 2.0.0" >&5
34115 $as_echo_n "checking for Python lxml wrappers >= 2.0.0... " >&6; }
34116 if test "lxml.etree.LXML_VERSION >= (2, 0, 0, 0)"; then
34120 assert lxml.etree.LXML_VERSION >= (2, 0, 0, 0)
34124 try: import lxml.etree
34127 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
34128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34129 $as_echo "no" >&6; }
34132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34133 $as_echo "yes" >&6; }
34138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python gtk wrappers >= 2.10.0" >&5
34139 $as_echo_n "checking for Python gtk wrappers >= 2.10.0... " >&6; }
34140 if test "gtk.pygtk_version >= (2, 10, 0)"; then
34144 assert gtk.pygtk_version >= (2, 10, 0)
34151 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
34152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34153 $as_echo "no" >&6; }
34156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34157 $as_echo "yes" >&6; }
34163 if test `${PYTHON} -c "import sys; print sys.platform"` = 'darwin'; then
34170 ac_config_files="$ac_config_files grc/Makefile grc/base/Makefile grc/blocks/Makefile grc/examples/Makefile grc/freedesktop/Makefile grc/grc_gnuradio/Makefile grc/gui/Makefile grc/python/Makefile grc/scripts/Makefile"
34176 if test $passed = no; then
34177 if test x$enable_grc = xyes; then
34178 as_fn_error "Component grc has errors; stopping." "$LINENO" 5
34180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component grc." >&5
34181 $as_echo "Not building component grc." >&6; }
34184 if test $passed = with; then
34185 with_dirs="$with_dirs grc"
34187 if test "x${grc_INCLUDES}" != "x"; then
34188 if test "x$with_INCLUDES" = "x"; then
34189 with_INCLUDES="${grc_INCLUDES}"
34191 with_INCLUDES="${grc_INCLUDES}"" ""$with_INCLUDES"
34197 if test "x${grc_SWIG_INCLUDES}" != "x"; then
34198 if test "x$with_SWIG_INCLUDES" = "x"; then
34199 with_SWIG_INCLUDES="${grc_SWIG_INCLUDES}"
34201 with_SWIG_INCLUDES="${grc_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
34207 if test "x${grc_PYDIRPATH}" != "x"; then
34208 if test "x$with_PYDIRPATH" = "x"; then
34209 with_PYDIRPATH="${grc_PYDIRPATH}"
34211 with_PYDIRPATH="${grc_PYDIRPATH}"":""$with_PYDIRPATH"
34217 if test "x${grc_SWIGDIRPATH}" != "x"; then
34218 if test "x$with_SWIGDIRPATH" = "x"; then
34219 with_SWIGDIRPATH="${grc_SWIGDIRPATH}"
34221 with_SWIGDIRPATH="${grc_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
34227 if test "x${grc_LIBDIRPATH}" != "x"; then
34228 if test "x$with_LIBDIRPATH" = "x"; then
34229 with_LIBDIRPATH="${grc_LIBDIRPATH}"
34231 with_LIBDIRPATH="${grc_LIBDIRPATH}"":""$with_LIBDIRPATH"
34236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component grc will be included from a pre-installed library and includes." >&5
34237 $as_echo "Component grc will be included from a pre-installed library and includes." >&6; }
34241 if test x$enable_grc != xno; then
34243 build_dirs="$build_dirs grc"
34244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component grc passed configuration checks; building." >&5
34245 $as_echo "Component grc passed configuration checks; building." >&6; }
34248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component grc passed configuration checks; but not building." >&5
34249 $as_echo "Component grc passed configuration checks; but not building." >&6; }
34253 if test $passed = no; then
34254 skipped_dirs="$skipped_dirs grc"
34271 # Check whether --enable-docs was given.
34272 if test "${enable_docs+set}" = set; then :
34273 enableval=$enable_docs;
34276 enable_docs=$enable_all_components
34277 if test x$enable_all_components = xno; then
34286 ac_config_files="$ac_config_files docs/Makefile docs/doxygen/Doxyfile docs/doxygen/Makefile docs/doxygen/other/Makefile docs/doxygen/xml-swig/Makefile"
34292 if test $passed = no; then
34293 if test x$enable_docs = xyes; then
34294 as_fn_error "Component docs has errors; stopping." "$LINENO" 5
34296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building component docs." >&5
34297 $as_echo "Not building component docs." >&6; }
34300 if test $passed = with; then
34301 with_dirs="$with_dirs docs"
34303 if test "x${docs_INCLUDES}" != "x"; then
34304 if test "x$with_INCLUDES" = "x"; then
34305 with_INCLUDES="${docs_INCLUDES}"
34307 with_INCLUDES="${docs_INCLUDES}"" ""$with_INCLUDES"
34313 if test "x${docs_SWIG_INCLUDES}" != "x"; then
34314 if test "x$with_SWIG_INCLUDES" = "x"; then
34315 with_SWIG_INCLUDES="${docs_SWIG_INCLUDES}"
34317 with_SWIG_INCLUDES="${docs_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
34319 docs_SWIG_INCLUDES=
34323 if test "x${docs_PYDIRPATH}" != "x"; then
34324 if test "x$with_PYDIRPATH" = "x"; then
34325 with_PYDIRPATH="${docs_PYDIRPATH}"
34327 with_PYDIRPATH="${docs_PYDIRPATH}"":""$with_PYDIRPATH"
34333 if test "x${docs_SWIGDIRPATH}" != "x"; then
34334 if test "x$with_SWIGDIRPATH" = "x"; then
34335 with_SWIGDIRPATH="${docs_SWIGDIRPATH}"
34337 with_SWIGDIRPATH="${docs_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
34343 if test "x${docs_LIBDIRPATH}" != "x"; then
34344 if test "x$with_LIBDIRPATH" = "x"; then
34345 with_LIBDIRPATH="${docs_LIBDIRPATH}"
34347 with_LIBDIRPATH="${docs_LIBDIRPATH}"":""$with_LIBDIRPATH"
34352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component docs will be included from a pre-installed library and includes." >&5
34353 $as_echo "Component docs will be included from a pre-installed library and includes." >&6; }
34357 if test x$enable_docs != xno; then
34359 build_dirs="$build_dirs docs"
34360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component docs passed configuration checks; building." >&5
34361 $as_echo "Component docs passed configuration checks; building." >&6; }
34364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Component docs passed configuration checks; but not building." >&5
34365 $as_echo "Component docs passed configuration checks; but not building." >&6; }
34369 if test $passed = no; then
34370 skipped_dirs="$skipped_dirs docs"
34384 # Each component is now either to be built, was skipped, will be
34385 # included from pre-installed libraries and includes, or failed
34387 build_dirs=$build_dirs
34389 skipped_dirs=$skipped_dirs
34391 with_dirs=$with_dirs
34394 # fix for older autotools that don't define these by default
34399 # 'with' variables - the pre-installed libraries, includes, and paths
34400 # - must always come last in the lists, so they require special
34408 # Local files tweaked by AC
34409 ac_config_files="$ac_config_files Makefile run_tests.sh config/Makefile"
34412 ac_config_commands="$ac_config_commands run_tests_build"
34415 cat >confcache <<\_ACEOF
34416 # This file is a shell script that caches the results of configure
34417 # tests run on this system so they can be shared between configure
34418 # scripts and configure runs, see configure's option --config-cache.
34419 # It is not useful on other systems. If it contains results you don't
34420 # want to keep, you may remove or edit it.
34422 # config.status only pays attention to the cache file if you give it
34423 # the --recheck option to rerun configure.
34425 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34426 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34427 # following values.
34431 # The following way of writing the cache mishandles newlines in values,
34432 # but we know of no workaround that is simple, portable, and efficient.
34433 # So, we kill variables containing newlines.
34434 # Ultrix sh set writes to stderr and can't be redirected directly,
34435 # and sets the high bit in the cache file unless we assign to the vars.
34437 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
34438 eval ac_val=\$$ac_var
34442 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
34443 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
34446 _ | IFS | as_nl) ;; #(
34447 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
34448 *) { eval $ac_var=; unset $ac_var;} ;;
34454 case $as_nl`(ac_space=' '; set) 2>&1` in #(
34455 *${as_nl}ac_space=\ *)
34456 # `set' does not quote correctly, so add quotes: double-quote
34457 # substitution turns \\\\ into \\, and sed turns \\ into \.
34460 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34463 # `set' quotes correctly as required by POSIX, so do not add quotes.
34464 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
34473 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34475 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34477 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
34478 if test -w "$cache_file"; then
34479 test "x$cache_file" != "x/dev/null" &&
34480 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
34481 $as_echo "$as_me: updating cache $cache_file" >&6;}
34482 cat confcache >$cache_file
34484 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
34485 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
34490 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34491 # Let make expand exec_prefix.
34492 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34494 DEFS=-DHAVE_CONFIG_H
34498 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34499 # 1. Remove the extension, and $U if already installed.
34500 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
34501 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
34502 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
34503 # will be set to the directory where LIBOBJS objects are built.
34504 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
34505 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
34507 LIBOBJS=$ac_libobjs
34509 LTLIBOBJS=$ac_ltlibobjs
34512 if test -n "$EXEEXT"; then
34514 am__EXEEXT_FALSE='#'
34516 am__EXEEXT_TRUE='#'
34520 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
34521 as_fn_error "conditional \"AMDEP\" was never defined.
34522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34524 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
34525 as_fn_error "conditional \"am__fastdepCC\" was never defined.
34526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34528 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
34529 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
34530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34532 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
34533 as_fn_error "conditional \"am__fastdepCCAS\" was never defined.
34534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34536 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
34537 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
34538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34540 if test -z "${ENABLE_FORTRAN_TRUE}" && test -z "${ENABLE_FORTRAN_FALSE}"; then
34541 as_fn_error "conditional \"ENABLE_FORTRAN\" was never defined.
34542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34544 if test -z "${HAS_XMLTO_TRUE}" && test -z "${HAS_XMLTO_FALSE}"; then
34545 as_fn_error "conditional \"HAS_XMLTO\" was never defined.
34546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34548 if test -z "${OMNITHREAD_POSIX_TRUE}" && test -z "${OMNITHREAD_POSIX_FALSE}"; then
34549 as_fn_error "conditional \"OMNITHREAD_POSIX\" was never defined.
34550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34552 if test -z "${OMNITHREAD_NT_TRUE}" && test -z "${OMNITHREAD_NT_FALSE}"; then
34553 as_fn_error "conditional \"OMNITHREAD_NT\" was never defined.
34554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34557 if test -z "${HAVE_CREATEFILEMAPPING_TRUE}" && test -z "${HAVE_CREATEFILEMAPPING_FALSE}"; then
34558 as_fn_error "conditional \"HAVE_CREATEFILEMAPPING\" was never defined.
34559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34561 if test -z "${DOC_TRUE}" && test -z "${DOC_FALSE}"; then
34562 as_fn_error "conditional \"DOC\" was never defined.
34563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34565 if test -z "${MD_CPU_x86_TRUE}" && test -z "${MD_CPU_x86_FALSE}"; then
34566 as_fn_error "conditional \"MD_CPU_x86\" was never defined.
34567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34569 if test -z "${MD_SUBCPU_x86_64_TRUE}" && test -z "${MD_SUBCPU_x86_64_FALSE}"; then
34570 as_fn_error "conditional \"MD_SUBCPU_x86_64\" was never defined.
34571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34573 if test -z "${MD_CPU_powerpc_TRUE}" && test -z "${MD_CPU_powerpc_FALSE}"; then
34574 as_fn_error "conditional \"MD_CPU_powerpc\" was never defined.
34575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34577 if test -z "${MD_CPU_generic_TRUE}" && test -z "${MD_CPU_generic_FALSE}"; then
34578 as_fn_error "conditional \"MD_CPU_generic\" was never defined.
34579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34581 if test -z "${FUSB_TECH_darwin_TRUE}" && test -z "${FUSB_TECH_darwin_FALSE}"; then
34582 as_fn_error "conditional \"FUSB_TECH_darwin\" was never defined.
34583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34585 if test -z "${FUSB_TECH_win32_TRUE}" && test -z "${FUSB_TECH_win32_FALSE}"; then
34586 as_fn_error "conditional \"FUSB_TECH_win32\" was never defined.
34587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34589 if test -z "${FUSB_TECH_generic_TRUE}" && test -z "${FUSB_TECH_generic_FALSE}"; then
34590 as_fn_error "conditional \"FUSB_TECH_generic\" was never defined.
34591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34593 if test -z "${FUSB_TECH_linux_TRUE}" && test -z "${FUSB_TECH_linux_FALSE}"; then
34594 as_fn_error "conditional \"FUSB_TECH_linux\" was never defined.
34595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34597 if test -z "${FUSB_TECH_ra_wb_TRUE}" && test -z "${FUSB_TECH_ra_wb_FALSE}"; then
34598 as_fn_error "conditional \"FUSB_TECH_ra_wb\" was never defined.
34599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34602 if test -z "${BUILD_QT_TRUE}" && test -z "${BUILD_QT_FALSE}"; then
34603 as_fn_error "conditional \"BUILD_QT\" was never defined.
34604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34606 if test -z "${BUILD_QT_TRUE}" && test -z "${BUILD_QT_FALSE}"; then
34607 as_fn_error "conditional \"BUILD_QT\" was never defined.
34608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34610 if test -z "${XDG_UTILS_TRUE}" && test -z "${XDG_UTILS_FALSE}"; then
34611 as_fn_error "conditional \"XDG_UTILS\" was never defined.
34612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
34615 : ${CONFIG_STATUS=./config.status}
34617 ac_clean_files_save=$ac_clean_files
34618 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34619 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
34620 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
34622 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
34624 # Generated by $as_me.
34625 # Run this file to recreate the current configuration.
34626 # Compiler output produced by configure, useful for debugging
34627 # configure, is in config.log if it exists.
34630 ac_cs_recheck=false
34633 SHELL=\${CONFIG_SHELL-$SHELL}
34636 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
34637 ## -------------------- ##
34638 ## M4sh Initialization. ##
34639 ## -------------------- ##
34641 # Be more Bourne compatible
34642 DUALCASE=1; export DUALCASE # for MKS sh
34643 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
34646 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
34647 # is contrary to our usage. Disable this feature.
34648 alias -g '${1+"$@"}'='"$@"'
34649 setopt NO_GLOB_SUBST
34651 case `(set -o) 2>/dev/null` in #(
34663 # Printing a long string crashes Solaris 7 /usr/bin/printf.
34664 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
34665 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
34666 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
34667 # Prefer a ksh shell builtin over an external printf program on Solaris,
34668 # but without wasting forks for bash or zsh.
34669 if test -z "$BASH_VERSION$ZSH_VERSION" \
34670 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
34671 as_echo='print -r --'
34672 as_echo_n='print -rn --'
34673 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
34674 as_echo='printf %s\n'
34675 as_echo_n='printf %s'
34677 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
34678 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
34679 as_echo_n='/usr/ucb/echo -n'
34681 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
34682 as_echo_n_body='eval
34686 expr "X$arg" : "X\\(.*\\)$as_nl";
34687 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
34689 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
34691 export as_echo_n_body
34692 as_echo_n='sh -c $as_echo_n_body as_echo'
34694 export as_echo_body
34695 as_echo='sh -c $as_echo_body as_echo'
34698 # The user is always right.
34699 if test "${PATH_SEPARATOR+set}" != set; then
34701 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
34702 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
34709 # We need space, tab and new line, in precisely that order. Quoting is
34710 # there to prevent editors from complaining about space-tab.
34711 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
34712 # splitting by setting IFS to empty value.)
34715 # Find who we are. Look in the path if we contain no directory separator.
34717 *[\\/]* ) as_myself=$0 ;;
34718 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34719 for as_dir in $PATH
34722 test -z "$as_dir" && as_dir=.
34723 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34729 # We did not find ourselves, most probably we were run as `sh COMMAND'
34730 # in which case we are not to be found in the path.
34731 if test "x$as_myself" = x; then
34734 if test ! -f "$as_myself"; then
34735 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
34739 # Unset variables that we do not need and which cause bugs (e.g. in
34740 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
34741 # suppresses any "Segmentation fault" message there. '((' could
34742 # trigger a bug in pdksh 5.2.14.
34743 for as_var in BASH_ENV ENV MAIL MAILPATH
34744 do eval test x\${$as_var+set} = xset \
34745 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
34758 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34761 # as_fn_error ERROR [LINENO LOG_FD]
34762 # ---------------------------------
34763 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
34764 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
34765 # script with status $?, using 1 if that was 0.
34768 as_status=$?; test $as_status -eq 0 && as_status=1
34770 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
34771 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
34773 $as_echo "$as_me: error: $1" >&2
34774 as_fn_exit $as_status
34778 # as_fn_set_status STATUS
34779 # -----------------------
34780 # Set $? to STATUS, without forking.
34781 as_fn_set_status ()
34784 } # as_fn_set_status
34786 # as_fn_exit STATUS
34787 # -----------------
34788 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
34792 as_fn_set_status $1
34798 # Portably unset VAR.
34801 { eval $1=; unset $1;}
34803 as_unset=as_fn_unset
34804 # as_fn_append VAR VALUE
34805 # ----------------------
34806 # Append the text in VALUE to the end of the definition contained in VAR. Take
34807 # advantage of any shell optimizations that allow amortized linear growth over
34808 # repeated appends, instead of the typical quadratic growth present in naive
34810 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
34811 eval 'as_fn_append ()
34822 # as_fn_arith ARG...
34823 # ------------------
34824 # Perform arithmetic evaluation on the ARGs, and store the result in the
34825 # global $as_val. Take advantage of shells that can avoid forks. The arguments
34826 # must be portable across $(()) and expr.
34827 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
34828 eval 'as_fn_arith ()
34835 as_val=`expr "$@" || test $? -eq 1`
34840 if expr a : '\(a\)' >/dev/null 2>&1 &&
34841 test "X`expr 00001 : '.*\(...\)'`" = X001; then
34847 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
34848 as_basename=basename
34853 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
34859 as_me=`$as_basename -- "$0" ||
34860 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34861 X"$0" : 'X\(//\)$' \| \
34862 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
34864 sed '/^.*\/\([^/][^/]*\)\/*$/{
34878 # Avoid depending upon Character Ranges.
34879 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34880 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34881 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34882 as_cr_digits='0123456789'
34883 as_cr_alnum=$as_cr_Letters$as_cr_digits
34885 ECHO_C= ECHO_N= ECHO_T=
34886 case `echo -n x` in #(((((
34888 case `echo 'xy\c'` in
34889 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
34891 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
34898 rm -f conf$$ conf$$.exe conf$$.file
34899 if test -d conf$$.dir; then
34900 rm -f conf$$.dir/conf$$.file
34903 mkdir conf$$.dir 2>/dev/null
34905 if (echo >conf$$.file) 2>/dev/null; then
34906 if ln -s conf$$.file conf$$ 2>/dev/null; then
34908 # ... but there are two gotchas:
34909 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34910 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34911 # In both cases, we have to default to `cp -p'.
34912 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
34914 elif ln conf$$.file conf$$ 2>/dev/null; then
34922 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
34923 rmdir conf$$.dir 2>/dev/null
34928 # Create "$as_dir" as a directory, including parents if necessary.
34933 -*) as_dir=./$as_dir;;
34935 test -d "$as_dir" || eval $as_mkdir_p || {
34939 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
34940 *) as_qdir=$as_dir;;
34942 as_dirs="'$as_qdir' $as_dirs"
34943 as_dir=`$as_dirname -- "$as_dir" ||
34944 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34945 X"$as_dir" : 'X\(//\)[^/]' \| \
34946 X"$as_dir" : 'X\(//\)$' \| \
34947 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34948 $as_echo X"$as_dir" |
34949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34953 /^X\(\/\/\)[^/].*/{
34966 test -d "$as_dir" && break
34968 test -z "$as_dirs" || eval "mkdir $as_dirs"
34969 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
34973 if mkdir -p . 2>/dev/null; then
34974 as_mkdir_p='mkdir -p "$as_dir"'
34976 test -d ./-p && rmdir ./-p
34980 if test -x / >/dev/null 2>&1; then
34981 as_test_x='test -x'
34983 if ls -dL / >/dev/null 2>&1; then
34990 if test -d "$1"; then
34996 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
34997 ???[sx]*):;;*)false;;esac;fi
35001 as_executable_p=$as_test_x
35003 # Sed expression to map a string onto a valid CPP name.
35004 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
35006 # Sed expression to map a string onto a valid variable name.
35007 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
35011 ## ----------------------------------- ##
35012 ## Main body of $CONFIG_STATUS script. ##
35013 ## ----------------------------------- ##
35015 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
35017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35018 # Save the log message, to keep $0 and so on meaningful, and to
35019 # report actual input values of CONFIG_FILES etc. instead of their
35020 # values after options handling.
35022 This file was extended by $as_me, which was
35023 generated by GNU Autoconf 2.65. Invocation command line was
35025 CONFIG_FILES = $CONFIG_FILES
35026 CONFIG_HEADERS = $CONFIG_HEADERS
35027 CONFIG_LINKS = $CONFIG_LINKS
35028 CONFIG_COMMANDS = $CONFIG_COMMANDS
35031 on `(hostname || uname -n) 2>/dev/null | sed 1q`
35036 case $ac_config_files in *"
35037 "*) set x $ac_config_files; shift; ac_config_files=$*;;
35040 case $ac_config_headers in *"
35041 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
35045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35046 # Files that config.status was made for.
35047 config_files="$ac_config_files"
35048 config_headers="$ac_config_headers"
35049 config_commands="$ac_config_commands"
35053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35055 \`$as_me' instantiates files and other configuration actions
35056 from templates according to the current configuration. Unless the files
35057 and actions are specified as TAGs, all are instantiated by default.
35059 Usage: $0 [OPTION]... [TAG]...
35061 -h, --help print this help, then exit
35062 -V, --version print version number and configuration settings, then exit
35063 --config print configuration, then exit
35064 -q, --quiet, --silent
35065 do not print progress messages
35066 -d, --debug don't remove temporary files
35067 --recheck update $as_me by reconfiguring in the same conditions
35068 --file=FILE[:TEMPLATE]
35069 instantiate the configuration file FILE
35070 --header=FILE[:TEMPLATE]
35071 instantiate the configuration header FILE
35073 Configuration files:
35076 Configuration headers:
35079 Configuration commands:
35082 Report bugs to the package provider."
35085 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35086 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
35089 configured by $0, generated by GNU Autoconf 2.65,
35090 with options \\"\$ac_cs_config\\"
35092 Copyright (C) 2009 Free Software Foundation, Inc.
35093 This config.status script is free software; the Free Software Foundation
35094 gives unlimited permission to copy, distribute and modify it."
35101 test -n "\$AWK" || AWK=awk
35104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35105 # The default lists apply if the user does not specify any file.
35111 ac_option=`expr "X$1" : 'X\([^=]*\)='`
35112 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
35123 # Handling of the options.
35124 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35126 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
35127 $as_echo "$ac_cs_version"; exit ;;
35128 --config | --confi | --conf | --con | --co | --c )
35129 $as_echo "$ac_cs_config"; exit ;;
35130 --debug | --debu | --deb | --de | --d | -d )
35132 --file | --fil | --fi | --f )
35135 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
35137 as_fn_append CONFIG_FILES " '$ac_optarg'"
35138 ac_need_defaults=false;;
35139 --header | --heade | --head | --hea )
35142 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
35144 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
35145 ac_need_defaults=false;;
35147 # Conflict between --help and --header
35148 as_fn_error "ambiguous option: \`$1'
35149 Try \`$0 --help' for more information.";;
35150 --help | --hel | -h )
35151 $as_echo "$ac_cs_usage"; exit ;;
35152 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35153 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35156 # This is an error.
35157 -*) as_fn_error "unrecognized option: \`$1'
35158 Try \`$0 --help' for more information." ;;
35160 *) as_fn_append ac_config_targets " $1"
35161 ac_need_defaults=false ;;
35167 ac_configure_extra_args=
35169 if $ac_cs_silent; then
35171 ac_configure_extra_args="$ac_configure_extra_args --silent"
35175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35176 if \$ac_cs_recheck; then
35177 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35179 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
35180 CONFIG_SHELL='$SHELL'
35181 export CONFIG_SHELL
35186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35190 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35191 ## Running $as_me. ##
35197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35201 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
35204 # The HP-UX ksh and POSIX shell print the target directory to stdout
35205 # if CDPATH is set.
35206 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
35208 sed_quote_subst='$sed_quote_subst'
35209 double_quote_subst='$double_quote_subst'
35210 delay_variable_subst='$delay_variable_subst'
35211 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
35212 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
35213 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
35214 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
35215 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
35216 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
35217 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
35218 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
35219 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
35220 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
35221 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
35222 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
35223 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
35224 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
35225 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
35226 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
35227 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
35228 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
35229 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
35230 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
35231 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
35232 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
35233 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
35234 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
35235 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
35236 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
35237 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
35238 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
35239 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
35240 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
35241 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35242 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
35243 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
35244 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
35245 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
35246 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
35247 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
35248 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35249 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35250 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35251 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
35252 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
35253 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
35254 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
35255 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
35256 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
35257 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"`'
35258 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"`'
35259 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
35260 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
35261 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
35262 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
35263 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
35264 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
35265 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
35266 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
35267 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
35268 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
35269 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
35270 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
35271 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
35272 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
35273 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
35274 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
35275 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35276 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35277 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
35278 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
35279 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
35280 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
35281 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
35282 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35283 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35284 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35285 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35286 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35287 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35288 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
35289 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
35290 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
35291 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
35292 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
35293 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
35294 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
35295 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
35296 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
35297 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
35298 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
35299 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
35300 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
35301 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
35302 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
35303 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35304 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
35305 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
35306 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35307 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
35308 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
35309 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
35310 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
35311 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
35312 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
35313 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
35314 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
35315 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
35316 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
35317 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
35318 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35319 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35320 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35321 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
35322 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
35323 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
35324 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
35325 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
35326 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
35327 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
35328 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
35329 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
35330 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
35331 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
35332 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
35333 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
35334 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
35335 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
35336 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
35337 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35338 LD_F77='`$ECHO "X$LD_F77" | $Xsed -e "$delay_single_quote_subst"`'
35339 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35340 old_archive_cmds_F77='`$ECHO "X$old_archive_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
35341 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35342 compiler_F77='`$ECHO "X$compiler_F77" | $Xsed -e "$delay_single_quote_subst"`'
35343 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35344 GCC_F77='`$ECHO "X$GCC_F77" | $Xsed -e "$delay_single_quote_subst"`'
35345 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35346 lt_prog_compiler_no_builtin_flag_F77='`$ECHO "X$lt_prog_compiler_no_builtin_flag_F77" | $Xsed -e "$delay_single_quote_subst"`'
35347 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35348 lt_prog_compiler_wl_F77='`$ECHO "X$lt_prog_compiler_wl_F77" | $Xsed -e "$delay_single_quote_subst"`'
35349 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35350 lt_prog_compiler_pic_F77='`$ECHO "X$lt_prog_compiler_pic_F77" | $Xsed -e "$delay_single_quote_subst"`'
35351 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35352 lt_prog_compiler_static_F77='`$ECHO "X$lt_prog_compiler_static_F77" | $Xsed -e "$delay_single_quote_subst"`'
35353 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35354 lt_cv_prog_compiler_c_o_F77='`$ECHO "X$lt_cv_prog_compiler_c_o_F77" | $Xsed -e "$delay_single_quote_subst"`'
35355 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35356 archive_cmds_need_lc_F77='`$ECHO "X$archive_cmds_need_lc_F77" | $Xsed -e "$delay_single_quote_subst"`'
35357 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35358 enable_shared_with_static_runtimes_F77='`$ECHO "X$enable_shared_with_static_runtimes_F77" | $Xsed -e "$delay_single_quote_subst"`'
35359 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35360 export_dynamic_flag_spec_F77='`$ECHO "X$export_dynamic_flag_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
35361 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35362 whole_archive_flag_spec_F77='`$ECHO "X$whole_archive_flag_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
35363 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35364 compiler_needs_object_F77='`$ECHO "X$compiler_needs_object_F77" | $Xsed -e "$delay_single_quote_subst"`'
35365 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35366 old_archive_from_new_cmds_F77='`$ECHO "X$old_archive_from_new_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
35367 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35368 old_archive_from_expsyms_cmds_F77='`$ECHO "X$old_archive_from_expsyms_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
35369 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35370 archive_cmds_F77='`$ECHO "X$archive_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
35371 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35372 archive_expsym_cmds_F77='`$ECHO "X$archive_expsym_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
35373 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35374 module_cmds_F77='`$ECHO "X$module_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
35375 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35376 module_expsym_cmds_F77='`$ECHO "X$module_expsym_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
35377 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35378 with_gnu_ld_F77='`$ECHO "X$with_gnu_ld_F77" | $Xsed -e "$delay_single_quote_subst"`'
35379 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35380 allow_undefined_flag_F77='`$ECHO "X$allow_undefined_flag_F77" | $Xsed -e "$delay_single_quote_subst"`'
35381 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35382 no_undefined_flag_F77='`$ECHO "X$no_undefined_flag_F77" | $Xsed -e "$delay_single_quote_subst"`'
35383 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35384 hardcode_libdir_flag_spec_F77='`$ECHO "X$hardcode_libdir_flag_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
35385 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35386 hardcode_libdir_flag_spec_ld_F77='`$ECHO "X$hardcode_libdir_flag_spec_ld_F77" | $Xsed -e "$delay_single_quote_subst"`'
35387 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35388 hardcode_libdir_separator_F77='`$ECHO "X$hardcode_libdir_separator_F77" | $Xsed -e "$delay_single_quote_subst"`'
35389 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35390 hardcode_direct_F77='`$ECHO "X$hardcode_direct_F77" | $Xsed -e "$delay_single_quote_subst"`'
35391 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35392 hardcode_direct_absolute_F77='`$ECHO "X$hardcode_direct_absolute_F77" | $Xsed -e "$delay_single_quote_subst"`'
35393 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35394 hardcode_minus_L_F77='`$ECHO "X$hardcode_minus_L_F77" | $Xsed -e "$delay_single_quote_subst"`'
35395 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35396 hardcode_shlibpath_var_F77='`$ECHO "X$hardcode_shlibpath_var_F77" | $Xsed -e "$delay_single_quote_subst"`'
35397 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35398 hardcode_automatic_F77='`$ECHO "X$hardcode_automatic_F77" | $Xsed -e "$delay_single_quote_subst"`'
35399 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35400 inherit_rpath_F77='`$ECHO "X$inherit_rpath_F77" | $Xsed -e "$delay_single_quote_subst"`'
35401 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35402 link_all_deplibs_F77='`$ECHO "X$link_all_deplibs_F77" | $Xsed -e "$delay_single_quote_subst"`'
35403 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35404 fix_srcfile_path_F77='`$ECHO "X$fix_srcfile_path_F77" | $Xsed -e "$delay_single_quote_subst"`'
35405 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35406 always_export_symbols_F77='`$ECHO "X$always_export_symbols_F77" | $Xsed -e "$delay_single_quote_subst"`'
35407 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35408 export_symbols_cmds_F77='`$ECHO "X$export_symbols_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
35409 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35410 exclude_expsyms_F77='`$ECHO "X$exclude_expsyms_F77" | $Xsed -e "$delay_single_quote_subst"`'
35411 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35412 include_expsyms_F77='`$ECHO "X$include_expsyms_F77" | $Xsed -e "$delay_single_quote_subst"`'
35413 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35414 prelink_cmds_F77='`$ECHO "X$prelink_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
35415 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35416 file_list_spec_F77='`$ECHO "X$file_list_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
35417 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35418 hardcode_action_F77='`$ECHO "X$hardcode_action_F77" | $Xsed -e "$delay_single_quote_subst"`'
35419 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35420 compiler_lib_search_dirs_F77='`$ECHO "X$compiler_lib_search_dirs_F77" | $Xsed -e "$delay_single_quote_subst"`'
35421 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35422 predep_objects_F77='`$ECHO "X$predep_objects_F77" | $Xsed -e "$delay_single_quote_subst"`'
35423 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35424 postdep_objects_F77='`$ECHO "X$postdep_objects_F77" | $Xsed -e "$delay_single_quote_subst"`'
35425 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35426 predeps_F77='`$ECHO "X$predeps_F77" | $Xsed -e "$delay_single_quote_subst"`'
35427 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35428 postdeps_F77='`$ECHO "X$postdeps_F77" | $Xsed -e "$delay_single_quote_subst"`'
35429 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
35430 compiler_lib_search_path_F77='`$ECHO "X$compiler_lib_search_path_F77" | $Xsed -e "$delay_single_quote_subst"`'
35433 LTCFLAGS='$LTCFLAGS'
35434 compiler='$compiler_DEFAULT'
35436 # Quote evaled strings.
35447 deplibs_check_method \
35456 lt_cv_sys_global_symbol_pipe \
35457 lt_cv_sys_global_symbol_to_cdecl \
35458 lt_cv_sys_global_symbol_to_c_name_address \
35459 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
35462 lt_prog_compiler_no_builtin_flag \
35463 lt_prog_compiler_wl \
35464 lt_prog_compiler_pic \
35465 lt_prog_compiler_static \
35466 lt_cv_prog_compiler_c_o \
35474 export_dynamic_flag_spec \
35475 whole_archive_flag_spec \
35476 compiler_needs_object \
35478 allow_undefined_flag \
35479 no_undefined_flag \
35480 hardcode_libdir_flag_spec \
35481 hardcode_libdir_flag_spec_ld \
35482 hardcode_libdir_separator \
35487 variables_saved_for_relink \
35489 library_names_spec \
35494 compiler_lib_search_dirs \
35499 compiler_lib_search_path \
35504 lt_prog_compiler_no_builtin_flag_CXX \
35505 lt_prog_compiler_no_builtin_flag_F77 \
35506 lt_prog_compiler_wl_CXX \
35507 lt_prog_compiler_wl_F77 \
35508 lt_prog_compiler_pic_CXX \
35509 lt_prog_compiler_pic_F77 \
35510 lt_prog_compiler_static_CXX \
35511 lt_prog_compiler_static_F77 \
35512 lt_cv_prog_compiler_c_o_CXX \
35513 lt_cv_prog_compiler_c_o_F77 \
35514 export_dynamic_flag_spec_CXX \
35515 export_dynamic_flag_spec_F77 \
35516 whole_archive_flag_spec_CXX \
35517 whole_archive_flag_spec_F77 \
35518 compiler_needs_object_CXX \
35519 compiler_needs_object_F77 \
35522 allow_undefined_flag_CXX \
35523 allow_undefined_flag_F77 \
35524 no_undefined_flag_CXX \
35525 no_undefined_flag_F77 \
35526 hardcode_libdir_flag_spec_CXX \
35527 hardcode_libdir_flag_spec_F77 \
35528 hardcode_libdir_flag_spec_ld_CXX \
35529 hardcode_libdir_flag_spec_ld_F77 \
35530 hardcode_libdir_separator_CXX \
35531 hardcode_libdir_separator_F77 \
35532 fix_srcfile_path_CXX \
35533 fix_srcfile_path_F77 \
35534 exclude_expsyms_CXX \
35535 exclude_expsyms_F77 \
35536 include_expsyms_CXX \
35537 include_expsyms_F77 \
35538 file_list_spec_CXX \
35539 file_list_spec_F77 \
35540 compiler_lib_search_dirs_CXX \
35541 compiler_lib_search_dirs_F77 \
35542 predep_objects_CXX \
35543 predep_objects_F77 \
35544 postdep_objects_CXX \
35545 postdep_objects_F77 \
35550 compiler_lib_search_path_CXX \
35551 compiler_lib_search_path_F77; do
35552 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35553 *[\\\\\\\`\\"\\\$]*)
35554 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
35557 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35562 # Double-quote double-evaled strings.
35563 for var in reload_cmds \
35564 old_postinstall_cmds \
35565 old_postuninstall_cmds \
35567 extract_expsyms_cmds \
35568 old_archive_from_new_cmds \
35569 old_archive_from_expsyms_cmds \
35571 archive_expsym_cmds \
35573 module_expsym_cmds \
35574 export_symbols_cmds \
35577 postuninstall_cmds \
35579 sys_lib_search_path_spec \
35580 sys_lib_dlsearch_path_spec \
35581 old_archive_cmds_CXX \
35582 old_archive_cmds_F77 \
35583 old_archive_from_new_cmds_CXX \
35584 old_archive_from_new_cmds_F77 \
35585 old_archive_from_expsyms_cmds_CXX \
35586 old_archive_from_expsyms_cmds_F77 \
35589 archive_expsym_cmds_CXX \
35590 archive_expsym_cmds_F77 \
35593 module_expsym_cmds_CXX \
35594 module_expsym_cmds_F77 \
35595 export_symbols_cmds_CXX \
35596 export_symbols_cmds_F77 \
35598 prelink_cmds_F77; do
35599 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35600 *[\\\\\\\`\\"\\\$]*)
35601 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
35604 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35609 # Fix-up fallback echo if it was mangled by the above quoting rules.
35611 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
35615 ac_aux_dir='$ac_aux_dir'
35616 xsi_shell='$xsi_shell'
35617 lt_shell_append='$lt_shell_append'
35619 # See if we are running on zsh, and set the options which allow our
35620 # commands through without removal of \ escapes INIT.
35621 if test -n "\${ZSH_VERSION+set}" ; then
35622 setopt NO_GLOB_SUBST
35628 TIMESTAMP='$TIMESTAMP'
35641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35643 # Handling of arguments.
35644 for ac_config_target in $ac_config_targets
35646 case $ac_config_target in
35647 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
35648 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
35649 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
35650 "gruel/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/Makefile" ;;
35651 "gruel/gruel.pc") CONFIG_FILES="$CONFIG_FILES gruel/gruel.pc" ;;
35652 "gruel/src/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/src/Makefile" ;;
35653 "gruel/src/include/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/src/include/Makefile" ;;
35654 "gruel/src/include/gruel/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/src/include/gruel/Makefile" ;;
35655 "gruel/src/include/gruel/inet.h") CONFIG_FILES="$CONFIG_FILES gruel/src/include/gruel/inet.h" ;;
35656 "gruel/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/src/lib/Makefile" ;;
35657 "omnithread/Makefile") CONFIG_FILES="$CONFIG_FILES omnithread/Makefile" ;;
35658 "omnithread/gnuradio/Makefile") CONFIG_FILES="$CONFIG_FILES omnithread/gnuradio/Makefile" ;;
35659 "omnithread/gnuradio-omnithread.pc") CONFIG_FILES="$CONFIG_FILES omnithread/gnuradio-omnithread.pc" ;;
35660 "gcell/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/Makefile" ;;
35661 "gcell/gcell.pc") CONFIG_FILES="$CONFIG_FILES gcell/gcell.pc" ;;
35662 "gcell/gcell_spu.pc") CONFIG_FILES="$CONFIG_FILES gcell/gcell_spu.pc" ;;
35663 "gcell/include/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/include/Makefile" ;;
35664 "gcell/include/gcell/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/include/gcell/Makefile" ;;
35665 "gcell/include/gcell/spu/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/include/gcell/spu/Makefile" ;;
35666 "gcell/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/lib/Makefile" ;;
35667 "gcell/lib/spu/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/lib/spu/Makefile" ;;
35668 "gcell/lib/general/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/lib/general/Makefile" ;;
35669 "gcell/lib/wrapper/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/lib/wrapper/Makefile" ;;
35670 "gcell/lib/runtime/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/lib/runtime/Makefile" ;;
35671 "gcell/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/apps/Makefile" ;;
35672 "gcell/apps/spu/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/apps/spu/Makefile" ;;
35673 "gcell/ibm/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/ibm/Makefile" ;;
35674 "gnuradio-core/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/Makefile" ;;
35675 "gnuradio-core/gnuradio-core.pc") CONFIG_FILES="$CONFIG_FILES gnuradio-core/gnuradio-core.pc" ;;
35676 "gnuradio-core/src/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/Makefile" ;;
35677 "gnuradio-core/src/gen_interpolator_taps/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/gen_interpolator_taps/Makefile" ;;
35678 "gnuradio-core/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/Makefile" ;;
35679 "gnuradio-core/src/lib/filter/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/filter/Makefile" ;;
35680 "gnuradio-core/src/lib/g72x/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/g72x/Makefile" ;;
35681 "gnuradio-core/src/lib/general/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/general/Makefile" ;;
35682 "gnuradio-core/src/lib/general/gr_prefix.cc") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/general/gr_prefix.cc" ;;
35683 "gnuradio-core/src/lib/gengen/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/gengen/Makefile" ;;
35684 "gnuradio-core/src/lib/io/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/io/Makefile" ;;
35685 "gnuradio-core/src/lib/missing/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/missing/Makefile" ;;
35686 "gnuradio-core/src/lib/reed-solomon/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/reed-solomon/Makefile" ;;
35687 "gnuradio-core/src/lib/viterbi/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/viterbi/Makefile" ;;
35688 "gnuradio-core/src/lib/runtime/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/runtime/Makefile" ;;
35689 "gnuradio-core/src/lib/hier/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/hier/Makefile" ;;
35690 "gnuradio-core/src/lib/swig/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/swig/Makefile" ;;
35691 "gnuradio-core/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/Makefile" ;;
35692 "gnuradio-core/src/python/bin/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/bin/Makefile" ;;
35693 "gnuradio-core/src/python/gnuradio/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/Makefile" ;;
35694 "gnuradio-core/src/python/gnuradio/blks2/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/blks2/Makefile" ;;
35695 "gnuradio-core/src/python/gnuradio/blks2impl/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/blks2impl/Makefile" ;;
35696 "gnuradio-core/src/python/gnuradio/gr/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/gr/Makefile" ;;
35697 "gnuradio-core/src/python/gnuradio/gr/run_tests") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/gr/run_tests" ;;
35698 "gnuradio-core/src/python/gnuradio/gru/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/gru/Makefile" ;;
35699 "gnuradio-core/src/python/gnuradio/gruimpl/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/gruimpl/Makefile" ;;
35700 "gnuradio-core/src/python/gnuradio/vocoder/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/vocoder/Makefile" ;;
35701 "gnuradio-core/src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/tests/Makefile" ;;
35702 "gnuradio-core/src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/utils/Makefile" ;;
35703 "run_tests_core") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_core" ;;
35704 "pmt/Makefile") CONFIG_FILES="$CONFIG_FILES pmt/Makefile" ;;
35705 "pmt/pmt.pc") CONFIG_FILES="$CONFIG_FILES pmt/pmt.pc" ;;
35706 "pmt/doc/Makefile") CONFIG_FILES="$CONFIG_FILES pmt/doc/Makefile" ;;
35707 "pmt/src/Makefile") CONFIG_FILES="$CONFIG_FILES pmt/src/Makefile" ;;
35708 "pmt/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES pmt/src/lib/Makefile" ;;
35709 "pmt/src/scheme/Makefile") CONFIG_FILES="$CONFIG_FILES pmt/src/scheme/Makefile" ;;
35710 "pmt/src/scheme/gnuradio/Makefile") CONFIG_FILES="$CONFIG_FILES pmt/src/scheme/gnuradio/Makefile" ;;
35711 "mblock/Makefile") CONFIG_FILES="$CONFIG_FILES mblock/Makefile" ;;
35712 "mblock/mblock.pc") CONFIG_FILES="$CONFIG_FILES mblock/mblock.pc" ;;
35713 "mblock/doc/Makefile") CONFIG_FILES="$CONFIG_FILES mblock/doc/Makefile" ;;
35714 "mblock/src/Makefile") CONFIG_FILES="$CONFIG_FILES mblock/src/Makefile" ;;
35715 "mblock/src/include/Makefile") CONFIG_FILES="$CONFIG_FILES mblock/src/include/Makefile" ;;
35716 "mblock/src/include/mblock/Makefile") CONFIG_FILES="$CONFIG_FILES mblock/src/include/mblock/Makefile" ;;
35717 "mblock/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES mblock/src/lib/Makefile" ;;
35718 "mblock/src/scheme/Makefile") CONFIG_FILES="$CONFIG_FILES mblock/src/scheme/Makefile" ;;
35719 "mblock/src/scheme/gnuradio/Makefile") CONFIG_FILES="$CONFIG_FILES mblock/src/scheme/gnuradio/Makefile" ;;
35720 "usrp/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/Makefile" ;;
35721 "usrp/usrp.pc") CONFIG_FILES="$CONFIG_FILES usrp/usrp.pc" ;;
35722 "usrp/usrp.iss") CONFIG_FILES="$CONFIG_FILES usrp/usrp.iss" ;;
35723 "usrp/doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES usrp/doc/Doxyfile" ;;
35724 "usrp/doc/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/doc/Makefile" ;;
35725 "usrp/doc/other/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/doc/other/Makefile" ;;
35726 "usrp/host/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/Makefile" ;;
35727 "usrp/host/misc/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/misc/Makefile" ;;
35728 "usrp/host/lib/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/lib/Makefile" ;;
35729 "usrp/host/lib/legacy/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/lib/legacy/Makefile" ;;
35730 "usrp/host/lib/legacy/std_paths.h") CONFIG_FILES="$CONFIG_FILES usrp/host/lib/legacy/std_paths.h" ;;
35731 "usrp/host/swig/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/swig/Makefile" ;;
35732 "usrp/host/apps/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/apps/Makefile" ;;
35733 "usrp/firmware/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/Makefile" ;;
35734 "usrp/firmware/include/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/include/Makefile" ;;
35735 "usrp/firmware/lib/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/lib/Makefile" ;;
35736 "usrp/firmware/src/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/src/Makefile" ;;
35737 "usrp/firmware/src/common/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/src/common/Makefile" ;;
35738 "usrp/firmware/src/usrp2/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/src/usrp2/Makefile" ;;
35739 "usrp/fpga/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/fpga/Makefile" ;;
35740 "usrp/fpga/rbf/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/fpga/rbf/Makefile" ;;
35741 "usrp/fpga/rbf/rev2/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/fpga/rbf/rev2/Makefile" ;;
35742 "usrp/fpga/rbf/rev4/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/fpga/rbf/rev4/Makefile" ;;
35743 "usrp2/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/Makefile" ;;
35744 "usrp2/host/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/host/Makefile" ;;
35745 "usrp2/host/usrp2.pc") CONFIG_FILES="$CONFIG_FILES usrp2/host/usrp2.pc" ;;
35746 "usrp2/host/include/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/host/include/Makefile" ;;
35747 "usrp2/host/include/usrp2/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/host/include/usrp2/Makefile" ;;
35748 "usrp2/host/lib/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/host/lib/Makefile" ;;
35749 "usrp2/host/apps/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/host/apps/Makefile" ;;
35750 "gr-usrp/Makefile") CONFIG_FILES="$CONFIG_FILES gr-usrp/Makefile" ;;
35751 "gr-usrp/gnuradio-usrp.pc") CONFIG_FILES="$CONFIG_FILES gr-usrp/gnuradio-usrp.pc" ;;
35752 "gr-usrp/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-usrp/src/Makefile" ;;
35753 "gr-usrp/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-usrp/src/run_tests" ;;
35754 "gr-usrp/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gr-usrp/apps/Makefile" ;;
35755 "run_tests_usrp") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_usrp" ;;
35756 "gr-usrp2/Makefile") CONFIG_FILES="$CONFIG_FILES gr-usrp2/Makefile" ;;
35757 "gr-usrp2/gnuradio-usrp2.pc") CONFIG_FILES="$CONFIG_FILES gr-usrp2/gnuradio-usrp2.pc" ;;
35758 "gr-usrp2/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-usrp2/src/Makefile" ;;
35759 "gr-usrp2/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-usrp2/src/run_tests" ;;
35760 "run_tests_usrp2") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_usrp2" ;;
35761 "gr-gcell/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gcell/Makefile" ;;
35762 "gr-gcell/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gcell/src/Makefile" ;;
35763 "gr-gcell/src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gcell/src/examples/Makefile" ;;
35764 "gr-gcell/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-gcell/src/run_tests" ;;
35765 "run_tests_gcell") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_gcell" ;;
35766 "gr-audio-alsa/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-alsa/Makefile" ;;
35767 "gr-audio-alsa/gr-audio-alsa.pc") CONFIG_FILES="$CONFIG_FILES gr-audio-alsa/gr-audio-alsa.pc" ;;
35768 "gr-audio-alsa/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-alsa/src/Makefile" ;;
35769 "gr-audio-alsa/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-alsa/src/run_tests" ;;
35770 "run_tests_alsa") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_alsa" ;;
35771 "gr-audio-jack/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-jack/Makefile" ;;
35772 "gr-audio-jack/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-jack/src/Makefile" ;;
35773 "gr-audio-jack/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-jack/src/run_tests" ;;
35774 "run_tests_jack") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_jack" ;;
35775 "gr-audio-oss/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-oss/Makefile" ;;
35776 "gr-audio-oss/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-oss/src/Makefile" ;;
35777 "gr-audio-oss/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-oss/src/run_tests" ;;
35778 "run_tests_oss") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_oss" ;;
35779 "gr-audio-osx/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-osx/Makefile" ;;
35780 "gr-audio-osx/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-osx/src/Makefile" ;;
35781 "gr-audio-osx/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-osx/src/run_tests" ;;
35782 "run_tests_osx") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_osx" ;;
35783 "gr-audio-portaudio/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-portaudio/Makefile" ;;
35784 "gr-audio-portaudio/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-portaudio/src/Makefile" ;;
35785 "gr-audio-portaudio/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-portaudio/src/run_tests" ;;
35786 "run_tests_portaudio") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_portaudio" ;;
35787 "gr-audio-windows/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-windows/Makefile" ;;
35788 "gr-audio-windows/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-windows/src/Makefile" ;;
35789 "gr-audio-windows/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-windows/src/run_tests" ;;
35790 "run_tests_audio_windows") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_audio_windows" ;;
35791 "gr-cvsd-vocoder/Makefile") CONFIG_FILES="$CONFIG_FILES gr-cvsd-vocoder/Makefile" ;;
35792 "gr-cvsd-vocoder/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-cvsd-vocoder/src/Makefile" ;;
35793 "gr-cvsd-vocoder/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-cvsd-vocoder/src/lib/Makefile" ;;
35794 "gr-cvsd-vocoder/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-cvsd-vocoder/src/python/Makefile" ;;
35795 "gr-cvsd-vocoder/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-cvsd-vocoder/src/python/run_tests" ;;
35796 "run_tests_cvsd") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_cvsd" ;;
35797 "gr-gpio/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/Makefile" ;;
35798 "gr-gpio/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/Makefile" ;;
35799 "gr-gpio/src/fpga/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/fpga/Makefile" ;;
35800 "gr-gpio/src/fpga/include/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/fpga/include/Makefile" ;;
35801 "gr-gpio/src/fpga/top/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/fpga/top/Makefile" ;;
35802 "gr-gpio/src/fpga/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/fpga/lib/Makefile" ;;
35803 "gr-gpio/src/fpga/rbf/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/fpga/rbf/Makefile" ;;
35804 "gr-gpio/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/python/Makefile" ;;
35805 "gr-gsm-fr-vocoder/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/Makefile" ;;
35806 "gr-gsm-fr-vocoder/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/src/Makefile" ;;
35807 "gr-gsm-fr-vocoder/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/src/lib/Makefile" ;;
35808 "gr-gsm-fr-vocoder/src/lib/gsm/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/src/lib/gsm/Makefile" ;;
35809 "gr-gsm-fr-vocoder/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/src/python/Makefile" ;;
35810 "gr-gsm-fr-vocoder/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/src/python/run_tests" ;;
35811 "run_tests_gsm") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_gsm" ;;
35812 "gr-pager/Makefile") CONFIG_FILES="$CONFIG_FILES gr-pager/Makefile" ;;
35813 "gr-pager/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-pager/src/Makefile" ;;
35814 "gr-pager/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-pager/src/run_tests" ;;
35815 "run_tests_pager") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_pager" ;;
35816 "gr-radar-mono/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/Makefile" ;;
35817 "gr-radar-mono/doc/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/doc/Makefile" ;;
35818 "gr-radar-mono/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/Makefile" ;;
35819 "gr-radar-mono/src/fpga/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/fpga/Makefile" ;;
35820 "gr-radar-mono/src/fpga/top/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/fpga/top/Makefile" ;;
35821 "gr-radar-mono/src/fpga/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/fpga/lib/Makefile" ;;
35822 "gr-radar-mono/src/fpga/models/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/fpga/models/Makefile" ;;
35823 "gr-radar-mono/src/fpga/tb/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/fpga/tb/Makefile" ;;
35824 "gr-radar-mono/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/lib/Makefile" ;;
35825 "gr-radar-mono/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/python/Makefile" ;;
35826 "gr-radar-mono/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/python/run_tests" ;;
35827 "run_tests_radar_mono") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_radar_mono" ;;
35828 "gr-radio-astronomy/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radio-astronomy/Makefile" ;;
35829 "gr-radio-astronomy/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radio-astronomy/src/Makefile" ;;
35830 "gr-radio-astronomy/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radio-astronomy/src/lib/Makefile" ;;
35831 "gr-radio-astronomy/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radio-astronomy/src/python/Makefile" ;;
35832 "gr-radio-astronomy/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-radio-astronomy/src/python/run_tests" ;;
35833 "run_tests_astronomy") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_astronomy" ;;
35834 "gr-trellis/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/Makefile" ;;
35835 "gr-trellis/doc/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/doc/Makefile" ;;
35836 "gr-trellis/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/Makefile" ;;
35837 "gr-trellis/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/lib/Makefile" ;;
35838 "gr-trellis/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/python/Makefile" ;;
35839 "gr-trellis/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/python/run_tests" ;;
35840 "gr-trellis/src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/examples/Makefile" ;;
35841 "gr-trellis/src/examples/fsm_files/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/examples/fsm_files/Makefile" ;;
35842 "run_tests_gr_trellis") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_gr_trellis" ;;
35843 "gr-video-sdl/Makefile") CONFIG_FILES="$CONFIG_FILES gr-video-sdl/Makefile" ;;
35844 "gr-video-sdl/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-video-sdl/src/Makefile" ;;
35845 "gr-video-sdl/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-video-sdl/src/run_tests" ;;
35846 "run_tests_sdl") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_sdl" ;;
35847 "gr-wxgui/Makefile") CONFIG_FILES="$CONFIG_FILES gr-wxgui/Makefile" ;;
35848 "gr-wxgui/gr-wxgui.pc") CONFIG_FILES="$CONFIG_FILES gr-wxgui/gr-wxgui.pc" ;;
35849 "gr-wxgui/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-wxgui/src/Makefile" ;;
35850 "gr-wxgui/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-wxgui/src/python/Makefile" ;;
35851 "gr-wxgui/src/python/plotter/Makefile") CONFIG_FILES="$CONFIG_FILES gr-wxgui/src/python/plotter/Makefile" ;;
35852 "gr-qtgui/Makefile") CONFIG_FILES="$CONFIG_FILES gr-qtgui/Makefile" ;;
35853 "gr-qtgui/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-qtgui/src/Makefile" ;;
35854 "gr-qtgui/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-qtgui/src/lib/Makefile" ;;
35855 "gr-qtgui/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-qtgui/src/python/Makefile" ;;
35856 "gr-sounder/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/Makefile" ;;
35857 "gr-sounder/doc/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/doc/Makefile" ;;
35858 "gr-sounder/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/Makefile" ;;
35859 "gr-sounder/src/fpga/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/fpga/Makefile" ;;
35860 "gr-sounder/src/fpga/top/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/fpga/top/Makefile" ;;
35861 "gr-sounder/src/fpga/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/fpga/lib/Makefile" ;;
35862 "gr-sounder/src/fpga/tb/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/fpga/tb/Makefile" ;;
35863 "gr-sounder/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/lib/Makefile" ;;
35864 "gr-sounder/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/python/Makefile" ;;
35865 "gr-sounder/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/python/run_tests" ;;
35866 "run_tests_sounder") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_sounder" ;;
35867 "gr-utils/Makefile") CONFIG_FILES="$CONFIG_FILES gr-utils/Makefile" ;;
35868 "gr-utils/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-utils/src/Makefile" ;;
35869 "gr-utils/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-utils/src/lib/Makefile" ;;
35870 "gr-utils/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-utils/src/python/Makefile" ;;
35871 "gnuradio-examples/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/Makefile" ;;
35872 "gnuradio-examples/c++/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/c++/Makefile" ;;
35873 "gnuradio-examples/python/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/Makefile" ;;
35874 "gnuradio-examples/python/apps/hf_explorer/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/apps/hf_explorer/Makefile" ;;
35875 "gnuradio-examples/python/apps/hf_radio/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/apps/hf_radio/Makefile" ;;
35876 "gnuradio-examples/python/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/apps/Makefile" ;;
35877 "gnuradio-examples/python/audio/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/audio/Makefile" ;;
35878 "gnuradio-examples/python/digital/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/digital/Makefile" ;;
35879 "gnuradio-examples/python/digital_voice/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/digital_voice/Makefile" ;;
35880 "gnuradio-examples/python/digital-bert/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/digital-bert/Makefile" ;;
35881 "gnuradio-examples/python/mp-sched/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/mp-sched/Makefile" ;;
35882 "gnuradio-examples/python/multi-antenna/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/multi-antenna/Makefile" ;;
35883 "gnuradio-examples/python/multi_usrp/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/multi_usrp/Makefile" ;;
35884 "gnuradio-examples/python/network/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/network/Makefile" ;;
35885 "gnuradio-examples/python/ofdm/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/ofdm/Makefile" ;;
35886 "gnuradio-examples/python/usrp/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/usrp/Makefile" ;;
35887 "gnuradio-examples/python/usrp2/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/usrp2/Makefile" ;;
35888 "grc/Makefile") CONFIG_FILES="$CONFIG_FILES grc/Makefile" ;;
35889 "grc/base/Makefile") CONFIG_FILES="$CONFIG_FILES grc/base/Makefile" ;;
35890 "grc/blocks/Makefile") CONFIG_FILES="$CONFIG_FILES grc/blocks/Makefile" ;;
35891 "grc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES grc/examples/Makefile" ;;
35892 "grc/freedesktop/Makefile") CONFIG_FILES="$CONFIG_FILES grc/freedesktop/Makefile" ;;
35893 "grc/grc_gnuradio/Makefile") CONFIG_FILES="$CONFIG_FILES grc/grc_gnuradio/Makefile" ;;
35894 "grc/gui/Makefile") CONFIG_FILES="$CONFIG_FILES grc/gui/Makefile" ;;
35895 "grc/python/Makefile") CONFIG_FILES="$CONFIG_FILES grc/python/Makefile" ;;
35896 "grc/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES grc/scripts/Makefile" ;;
35897 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
35898 "docs/doxygen/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/doxygen/Doxyfile" ;;
35899 "docs/doxygen/Makefile") CONFIG_FILES="$CONFIG_FILES docs/doxygen/Makefile" ;;
35900 "docs/doxygen/other/Makefile") CONFIG_FILES="$CONFIG_FILES docs/doxygen/other/Makefile" ;;
35901 "docs/doxygen/xml-swig/Makefile") CONFIG_FILES="$CONFIG_FILES docs/doxygen/xml-swig/Makefile" ;;
35902 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35903 "run_tests.sh") CONFIG_FILES="$CONFIG_FILES run_tests.sh" ;;
35904 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
35905 "run_tests_build") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_build" ;;
35907 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
35912 # If the user did not use the arguments to specify the items to instantiate,
35913 # then the envvar interface is used. Set only those that are not.
35914 # We use the long form for the default assignment because of an extremely
35915 # bizarre bug on SunOS 4.1.3.
35916 if $ac_need_defaults; then
35917 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35918 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35919 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35922 # Have a temporary directory for convenience. Make it in the build tree
35923 # simply because there is no reason against having it here, and in addition,
35924 # creating and moving files from /tmp can sometimes cause problems.
35925 # Hook for its removal unless debugging.
35926 # Note that there is a small window in which the directory will not be cleaned:
35927 # after its creation but before its name has been assigned to `$tmp'.
35931 trap 'exit_status=$?
35932 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
35934 trap 'as_fn_exit 1' 1 2 13 15
35936 # Create a (secure) tmp directory for tmp files.
35939 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
35940 test -n "$tmp" && test -d "$tmp"
35943 tmp=./conf$$-$RANDOM
35944 (umask 077 && mkdir "$tmp")
35945 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
35947 # Set up the scripts for CONFIG_FILES section.
35948 # No need to generate them if there are no CONFIG_FILES.
35949 # This happens for instance with `./config.status config.h'.
35950 if test -n "$CONFIG_FILES"; then
35953 ac_cr=`echo X | tr X '\015'`
35954 # On cygwin, bash can eat \r inside `` if the user requested igncr.
35955 # But we know of no other shell where ac_cr would be empty at this
35956 # point, so we can use a bashism as a fallback.
35957 if test "x$ac_cr" = x; then
35958 eval ac_cr=\$\'\\r\'
35960 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
35961 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
35964 ac_cs_awk_cr=$ac_cr
35967 echo 'BEGIN {' >"$tmp/subs1.awk" &&
35972 echo "cat >conf$$subs.awk <<_ACEOF" &&
35973 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
35975 } >conf$$subs.sh ||
35976 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
35977 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
35979 for ac_last_try in false false false false false :; do
35980 . ./conf$$subs.sh ||
35981 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
35983 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
35984 if test $ac_delim_n = $ac_delim_num; then
35986 elif $ac_last_try; then
35987 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
35989 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
35992 rm -f conf$$subs.sh
35994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35995 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
35999 s/^/S["/; s/!.*/"]=/
36009 s/\(.\{148\}\)..*/\1/
36011 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
36016 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
36023 s/\(.\{148\}\)..*/\1/
36025 s/["\\]/\\&/g; s/^/"/; s/$/"/
36029 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
36034 ' <conf$$subs.awk | sed '
36039 ' >>$CONFIG_STATUS || ac_write_fail=1
36040 rm -f conf$$subs.awk
36041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
36043 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
36044 for (key in S) S_is_set[key] = 1
36050 nfields = split(line, field, "@")
36052 len = length(field[1])
36053 for (i = 2; i < nfields; i++) {
36055 keylen = length(key)
36056 if (S_is_set[key]) {
36058 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
36059 len += length(value) + length(field[++i])
36070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36071 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
36072 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
36075 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
36076 || as_fn_error "could not setup config files machinery" "$LINENO" 5
36079 # VPATH may cause trouble with some makes, so we remove $(srcdir),
36080 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
36081 # trailing colons and then remove the whole line if VPATH becomes empty
36082 # (actually we leave an empty line to preserve line numbers).
36083 if test "x$srcdir" = x.; then
36084 ac_vpsub='/^[ ]*VPATH[ ]*=/{
36085 s/:*\$(srcdir):*/:/
36086 s/:*\${srcdir}:*/:/
36088 s/^\([^=]*=[ ]*\):*/\1/
36094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36095 fi # test -n "$CONFIG_FILES"
36097 # Set up the scripts for CONFIG_HEADERS section.
36098 # No need to generate them if there are no CONFIG_HEADERS.
36099 # This happens for instance with `./config.status Makefile'.
36100 if test -n "$CONFIG_HEADERS"; then
36101 cat >"$tmp/defines.awk" <<\_ACAWK ||
36105 # Transform confdefs.h into an awk script `defines.awk', embedded as
36106 # here-document in config.status, that substitutes the proper values into
36107 # config.h.in to produce config.h.
36109 # Create a delimiter string that does not exist in confdefs.h, to ease
36110 # handling of long lines.
36112 for ac_last_try in false false :; do
36113 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
36114 if test -z "$ac_t"; then
36116 elif $ac_last_try; then
36117 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
36119 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
36123 # For the awk script, D is an array of macro values keyed by name,
36124 # likewise P contains macro parameters if any. Preserve backslash
36125 # newline sequences.
36127 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
36129 s/.\{148\}/&'"$ac_delim"'/g
36132 s/^[ ]*#[ ]*define[ ][ ]*/ /
36139 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
36141 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
36145 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
36146 D["\1"]=" \3\\\\\\n"\\/p
36148 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
36153 s/.\{148\}/&'"$ac_delim"'/g
36158 s/["\\]/\\&/g; s/^/"/; s/$/"/p
36161 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
36163 ' <confdefs.h | sed '
36164 s/'"$ac_delim"'/"\\\
36165 "/g' >>$CONFIG_STATUS || ac_write_fail=1
36167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
36168 for (key in D) D_is_set[key] = 1
36171 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
36173 split(line, arg, " ")
36174 if (arg[1] == "#") {
36178 defundef = substr(arg[1], 2)
36181 split(mac1, mac2, "(") #)
36183 prefix = substr(line, 1, index(line, defundef) - 1)
36184 if (D_is_set[macro]) {
36185 # Preserve the white space surrounding the "#".
36186 print prefix "define", macro P[macro] D[macro]
36189 # Replace #undef with comments. This is necessary, for example,
36190 # in the case of _POSIX_SOURCE, which is predefined and required
36191 # on some systems where configure will not decide to define it.
36192 if (defundef == "undef") {
36193 print "/*", prefix defundef, macro, "*/"
36201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36202 as_fn_error "could not setup config headers machinery" "$LINENO" 5
36203 fi # test -n "$CONFIG_HEADERS"
36206 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
36211 :[FHLC]) ac_mode=$ac_tag; continue;;
36213 case $ac_mode$ac_tag in
36215 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
36216 :[FH]-) ac_tag=-:-;;
36217 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
36234 -) ac_f="$tmp/stdin";;
36235 *) # Look for the file first in the build tree, then in the source tree
36236 # (if the path is not absolute). The absolute path cannot be DOS-style,
36237 # because $ac_f cannot contain `:'.
36241 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
36243 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
36245 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
36246 as_fn_append ac_file_inputs " '$ac_f'"
36249 # Let's still pretend it is `configure' which instantiates (i.e., don't
36250 # use $as_me), people would be surprised to read:
36251 # /* config.h. Generated by config.status. */
36252 configure_input='Generated from '`
36253 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
36255 if test x"$ac_file" != x-; then
36256 configure_input="$ac_file. $configure_input"
36257 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
36258 $as_echo "$as_me: creating $ac_file" >&6;}
36260 # Neutralize special characters interpreted by sed in replacement strings.
36261 case $configure_input in #(
36262 *\&* | *\|* | *\\* )
36263 ac_sed_conf_input=`$as_echo "$configure_input" |
36264 sed 's/[\\\\&|]/\\\\&/g'`;; #(
36265 *) ac_sed_conf_input=$configure_input;;
36269 *:-:* | *:-) cat >"$tmp/stdin" \
36270 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
36275 ac_dir=`$as_dirname -- "$ac_file" ||
36276 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36277 X"$ac_file" : 'X\(//\)[^/]' \| \
36278 X"$ac_file" : 'X\(//\)$' \| \
36279 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
36280 $as_echo X"$ac_file" |
36281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36285 /^X\(\/\/\)[^/].*/{
36298 as_dir="$ac_dir"; as_fn_mkdir_p
36302 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
36304 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
36305 # A ".." for each directory in $ac_dir_suffix.
36306 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
36307 case $ac_top_builddir_sub in
36308 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
36309 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
36312 ac_abs_top_builddir=$ac_pwd
36313 ac_abs_builddir=$ac_pwd$ac_dir_suffix
36314 # for backward compatibility:
36315 ac_top_builddir=$ac_top_build_prefix
36318 .) # We are building in place.
36320 ac_top_srcdir=$ac_top_builddir_sub
36321 ac_abs_top_srcdir=$ac_pwd ;;
36322 [\\/]* | ?:[\\/]* ) # Absolute name.
36323 ac_srcdir=$srcdir$ac_dir_suffix;
36324 ac_top_srcdir=$srcdir
36325 ac_abs_top_srcdir=$srcdir ;;
36326 *) # Relative name.
36327 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
36328 ac_top_srcdir=$ac_top_build_prefix$srcdir
36329 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
36331 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
36341 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36342 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
36344 ac_MKDIR_P=$MKDIR_P
36346 [\\/$]* | ?:[\\/]* ) ;;
36347 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
36351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36352 # If the template does not know about datarootdir, expand it.
36353 # FIXME: This hack should be removed a few years after 2.60.
36354 ac_datarootdir_hack=; ac_datarootdir_seen=
36365 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
36366 *datarootdir*) ac_datarootdir_seen=yes;;
36367 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
36368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
36369 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
36371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
36372 ac_datarootdir_hack='
36373 s&@datadir@&$datadir&g
36374 s&@docdir@&$docdir&g
36375 s&@infodir@&$infodir&g
36376 s&@localedir@&$localedir&g
36377 s&@mandir@&$mandir&g
36378 s&\\\${datarootdir}&$datarootdir&g' ;;
36382 # Neutralize VPATH when `$srcdir' = `.'.
36383 # Shell code in configure.ac might set extrasub.
36384 # FIXME: do we really want to maintain this feature?
36385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
36386 ac_sed_extra="$ac_vpsub
36389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
36391 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36392 s|@configure_input@|$ac_sed_conf_input|;t t
36393 s&@top_builddir@&$ac_top_builddir_sub&;t t
36394 s&@top_build_prefix@&$ac_top_build_prefix&;t t
36395 s&@srcdir@&$ac_srcdir&;t t
36396 s&@abs_srcdir@&$ac_abs_srcdir&;t t
36397 s&@top_srcdir@&$ac_top_srcdir&;t t
36398 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
36399 s&@builddir@&$ac_builddir&;t t
36400 s&@abs_builddir@&$ac_abs_builddir&;t t
36401 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
36402 s&@INSTALL@&$ac_INSTALL&;t t
36403 s&@MKDIR_P@&$ac_MKDIR_P&;t t
36404 $ac_datarootdir_hack
36406 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
36407 || as_fn_error "could not create $ac_file" "$LINENO" 5
36409 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
36410 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
36411 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
36412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
36413 which seems to be undefined. Please make sure it is defined." >&5
36414 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
36415 which seems to be undefined. Please make sure it is defined." >&2;}
36419 -) cat "$tmp/out" && rm -f "$tmp/out";;
36420 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
36422 || as_fn_error "could not create $ac_file" "$LINENO" 5
36428 if test x"$ac_file" != x-; then
36430 $as_echo "/* $configure_input */" \
36431 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
36432 } >"$tmp/config.h" \
36433 || as_fn_error "could not create $ac_file" "$LINENO" 5
36434 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
36435 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
36436 $as_echo "$as_me: $ac_file is unchanged" >&6;}
36439 mv "$tmp/config.h" "$ac_file" \
36440 || as_fn_error "could not create $ac_file" "$LINENO" 5
36443 $as_echo "/* $configure_input */" \
36444 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
36445 || as_fn_error "could not create -" "$LINENO" 5
36447 # Compute "$ac_file"'s index in $config_headers.
36450 for _am_header in $config_headers :; do
36451 case $_am_header in
36452 $_am_arg | $_am_arg:* )
36455 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
36458 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
36459 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36460 X"$_am_arg" : 'X\(//\)[^/]' \| \
36461 X"$_am_arg" : 'X\(//\)$' \| \
36462 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
36463 $as_echo X"$_am_arg" |
36464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36468 /^X\(\/\/\)[^/].*/{
36480 s/.*/./; q'`/stamp-h$_am_stamp_count
36483 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
36484 $as_echo "$as_me: executing $ac_file commands" >&6;}
36489 case $ac_file$ac_mode in
36490 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
36491 # Autoconf 2.62 quotes --file arguments for eval, but not when files
36492 # are listed without --file. Let's play safe and only enable the eval
36493 # if we detect the quoting.
36494 case $CONFIG_FILES in
36495 *\'*) eval set x "$CONFIG_FILES" ;;
36496 *) set x $CONFIG_FILES ;;
36501 # Strip MF so we end up with the name of the file.
36502 mf=`echo "$mf" | sed -e 's/:.*$//'`
36503 # Check whether this is an Automake generated Makefile or not.
36504 # We used to match only the files named `Makefile.in', but
36505 # some people rename them; so instead we look at the file content.
36506 # Grep'ing the first line is not enough: some people post-process
36507 # each Makefile.in and add a new line on top of each file to say so.
36508 # Grep'ing the whole file is not good either: AIX grep has a line
36509 # limit of 2048, but all sed's we know have understand at least 4000.
36510 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
36511 dirpart=`$as_dirname -- "$mf" ||
36512 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36513 X"$mf" : 'X\(//\)[^/]' \| \
36514 X"$mf" : 'X\(//\)$' \| \
36515 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
36517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36521 /^X\(\/\/\)[^/].*/{
36537 # Extract the definition of DEPDIR, am__include, and am__quote
36538 # from the Makefile without running `make'.
36539 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
36540 test -z "$DEPDIR" && continue
36541 am__include=`sed -n 's/^am__include = //p' < "$mf"`
36542 test -z "am__include" && continue
36543 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
36544 # When using ansi2knr, U may be empty or an underscore; expand it
36545 U=`sed -n 's/^U = //p' < "$mf"`
36546 # Find all dependency output files, they are included files with
36547 # $(DEPDIR) in their names. We invoke sed twice because it is the
36548 # simplest approach to changing $(DEPDIR) to its actual value in the
36550 for file in `sed -n "
36551 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
36552 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
36553 # Make sure the directory exists.
36554 test -f "$dirpart/$file" && continue
36555 fdir=`$as_dirname -- "$file" ||
36556 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36557 X"$file" : 'X\(//\)[^/]' \| \
36558 X"$file" : 'X\(//\)$' \| \
36559 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
36560 $as_echo X"$file" |
36561 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36565 /^X\(\/\/\)[^/].*/{
36578 as_dir=$dirpart/$fdir; as_fn_mkdir_p
36579 # echo "creating $dirpart/$file"
36580 echo '# dummy' > "$dirpart/$file"
36587 # See if we are running on zsh, and set the options which allow our
36588 # commands through without removal of \ escapes.
36589 if test -n "${ZSH_VERSION+set}" ; then
36590 setopt NO_GLOB_SUBST
36593 cfgfile="${ofile}T"
36594 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
36597 cat <<_LT_EOF >> "$cfgfile"
36600 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
36601 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
36602 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
36603 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
36605 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
36606 # 2006, 2007, 2008 Free Software Foundation, Inc.
36607 # Written by Gordon Matzigkeit, 1996
36609 # This file is part of GNU Libtool.
36611 # GNU Libtool is free software; you can redistribute it and/or
36612 # modify it under the terms of the GNU General Public License as
36613 # published by the Free Software Foundation; either version 2 of
36614 # the License, or (at your option) any later version.
36616 # As a special exception to the GNU General Public License,
36617 # if you distribute this file as part of a program or library that
36618 # is built using GNU Libtool, you may include this file under the
36619 # same distribution terms that you use for the rest of that program.
36621 # GNU Libtool is distributed in the hope that it will be useful,
36622 # but WITHOUT ANY WARRANTY; without even the implied warranty of
36623 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36624 # GNU General Public License for more details.
36626 # You should have received a copy of the GNU General Public License
36627 # along with GNU Libtool; see the file COPYING. If not, a copy
36628 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
36629 # obtained by writing to the Free Software Foundation, Inc.,
36630 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
36633 # The names of the tagged configurations supported by this script.
36634 available_tags="CXX F77 "
36636 # ### BEGIN LIBTOOL CONFIG
36638 # Assembler program.
36641 # DLL creation program.
36644 # Object dumper program.
36647 # Whether or not to build shared libraries.
36648 build_libtool_libs=$enable_shared
36650 # Whether or not to build static libraries.
36651 build_old_libs=$enable_static
36653 # Which release of libtool.m4 was used?
36654 macro_version=$macro_version
36655 macro_revision=$macro_revision
36657 # What type of objects to build.
36660 # Whether or not to optimize for fast installation.
36661 fast_install=$enable_fast_install
36664 host_alias=$host_alias
36668 # The build system.
36669 build_alias=$build_alias
36673 # A sed program that does not truncate output.
36676 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
36677 Xsed="\$SED -e 1s/^X//"
36679 # A grep program that handles long lines.
36685 # A literal string matcher.
36688 # A BSD- or MS-compatible name lister.
36691 # Whether we need soft or hard links.
36694 # What is the maximum length of a command?
36695 max_cmd_len=$max_cmd_len
36697 # Object file suffix (normally "o").
36700 # Executable file suffix (normally "").
36703 # whether the shell understands "unset".
36706 # turn spaces into newlines.
36709 # turn newlines into spaces.
36712 # How to create reloadable object files.
36713 reload_flag=$lt_reload_flag
36714 reload_cmds=$lt_reload_cmds
36716 # Method to check whether dependent libraries are shared objects.
36717 deplibs_check_method=$lt_deplibs_check_method
36719 # Command to use when deplibs_check_method == "file_magic".
36720 file_magic_cmd=$lt_file_magic_cmd
36724 AR_FLAGS=$lt_AR_FLAGS
36726 # A symbol stripping program.
36729 # Commands used to install an old-style archive.
36731 old_postinstall_cmds=$lt_old_postinstall_cmds
36732 old_postuninstall_cmds=$lt_old_postuninstall_cmds
36737 # LTCC compiler flags.
36738 LTCFLAGS=$lt_CFLAGS
36740 # Take the output of nm and produce a listing of raw symbols and C names.
36741 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
36743 # Transform the output of nm in a proper C declaration.
36744 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
36746 # Transform the output of nm in a C name address pair.
36747 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
36749 # Transform the output of nm in a C name address pair when lib prefix is needed.
36750 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
36752 # The name of the directory that contains temporary libtool files.
36755 # Shell to use when invoking shell scripts.
36758 # An echo program that does not interpret backslashes.
36761 # Used to examine libraries when file_magic_cmd begins with "file".
36762 MAGIC_CMD=$MAGIC_CMD
36764 # Must we lock files when doing compilation?
36765 need_locks=$lt_need_locks
36767 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
36768 DSYMUTIL=$lt_DSYMUTIL
36770 # Tool to change global to local symbols on Mac OS X.
36773 # Tool to manipulate fat objects and archives on Mac OS X.
36776 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
36779 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
36780 OTOOL64=$lt_OTOOL64
36782 # Old archive suffix (normally "a").
36785 # Shared library suffix (normally ".so").
36786 shrext_cmds=$lt_shrext_cmds
36788 # The commands to extract the exported symbol list from a shared archive.
36789 extract_expsyms_cmds=$lt_extract_expsyms_cmds
36791 # Variables whose values should be saved in libtool wrapper scripts and
36792 # restored at link time.
36793 variables_saved_for_relink=$lt_variables_saved_for_relink
36795 # Do we need the "lib" prefix for modules?
36796 need_lib_prefix=$need_lib_prefix
36798 # Do we need a version for libraries?
36799 need_version=$need_version
36801 # Library versioning type.
36802 version_type=$version_type
36804 # Shared library runtime path variable.
36805 runpath_var=$runpath_var
36807 # Shared library path variable.
36808 shlibpath_var=$shlibpath_var
36810 # Is shlibpath searched before the hard-coded library search path?
36811 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
36813 # Format of library name prefix.
36814 libname_spec=$lt_libname_spec
36816 # List of archive names. First name is the real one, the rest are links.
36817 # The last name is the one that the linker finds with -lNAME
36818 library_names_spec=$lt_library_names_spec
36820 # The coded name of the library, if different from the real name.
36821 soname_spec=$lt_soname_spec
36823 # Command to use after installation of a shared archive.
36824 postinstall_cmds=$lt_postinstall_cmds
36826 # Command to use after uninstallation of a shared archive.
36827 postuninstall_cmds=$lt_postuninstall_cmds
36829 # Commands used to finish a libtool library installation in a directory.
36830 finish_cmds=$lt_finish_cmds
36832 # As "finish_cmds", except a single script fragment to be evaled but
36834 finish_eval=$lt_finish_eval
36836 # Whether we should hardcode library paths into libraries.
36837 hardcode_into_libs=$hardcode_into_libs
36839 # Compile-time system search path for libraries.
36840 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
36842 # Run-time system search path for libraries.
36843 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
36845 # Whether dlopen is supported.
36846 dlopen_support=$enable_dlopen
36848 # Whether dlopen of programs is supported.
36849 dlopen_self=$enable_dlopen_self
36851 # Whether dlopen of statically linked programs is supported.
36852 dlopen_self_static=$enable_dlopen_self_static
36854 # Commands to strip libraries.
36855 old_striplib=$lt_old_striplib
36856 striplib=$lt_striplib
36859 # The linker used to build libraries.
36862 # Commands used to build an old-style archive.
36863 old_archive_cmds=$lt_old_archive_cmds
36865 # A language specific compiler.
36868 # Is the compiler the GNU compiler?
36871 # Compiler flag to turn off builtin functions.
36872 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
36874 # How to pass a linker flag through the compiler.
36875 wl=$lt_lt_prog_compiler_wl
36877 # Additional compiler flags for building library objects.
36878 pic_flag=$lt_lt_prog_compiler_pic
36880 # Compiler flag to prevent dynamic linking.
36881 link_static_flag=$lt_lt_prog_compiler_static
36883 # Does compiler simultaneously support -c and -o options?
36884 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
36886 # Whether or not to add -lc for building shared libraries.
36887 build_libtool_need_lc=$archive_cmds_need_lc
36889 # Whether or not to disallow shared libs when runtime libs are static.
36890 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
36892 # Compiler flag to allow reflexive dlopens.
36893 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
36895 # Compiler flag to generate shared objects directly from archives.
36896 whole_archive_flag_spec=$lt_whole_archive_flag_spec
36898 # Whether the compiler copes with passing no objects directly.
36899 compiler_needs_object=$lt_compiler_needs_object
36901 # Create an old-style archive from a shared archive.
36902 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
36904 # Create a temporary old-style archive to link instead of a shared archive.
36905 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
36907 # Commands used to build a shared archive.
36908 archive_cmds=$lt_archive_cmds
36909 archive_expsym_cmds=$lt_archive_expsym_cmds
36911 # Commands used to build a loadable module if different from building
36912 # a shared archive.
36913 module_cmds=$lt_module_cmds
36914 module_expsym_cmds=$lt_module_expsym_cmds
36916 # Whether we are building with GNU ld or not.
36917 with_gnu_ld=$lt_with_gnu_ld
36919 # Flag that allows shared libraries with undefined symbols to be built.
36920 allow_undefined_flag=$lt_allow_undefined_flag
36922 # Flag that enforces no undefined symbols.
36923 no_undefined_flag=$lt_no_undefined_flag
36925 # Flag to hardcode \$libdir into a binary during linking.
36926 # This must work even if \$libdir does not exist
36927 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
36929 # If ld is used when linking, flag to hardcode \$libdir into a binary
36930 # during linking. This must work even if \$libdir does not exist.
36931 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
36933 # Whether we need a single "-rpath" flag with a separated argument.
36934 hardcode_libdir_separator=$lt_hardcode_libdir_separator
36936 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36937 # DIR into the resulting binary.
36938 hardcode_direct=$hardcode_direct
36940 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36941 # DIR into the resulting binary and the resulting library dependency is
36942 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36943 # library is relocated.
36944 hardcode_direct_absolute=$hardcode_direct_absolute
36946 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36947 # into the resulting binary.
36948 hardcode_minus_L=$hardcode_minus_L
36950 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36951 # into the resulting binary.
36952 hardcode_shlibpath_var=$hardcode_shlibpath_var
36954 # Set to "yes" if building a shared library automatically hardcodes DIR
36955 # into the library and all subsequent libraries and executables linked
36957 hardcode_automatic=$hardcode_automatic
36959 # Set to yes if linker adds runtime paths of dependent libraries
36960 # to runtime path list.
36961 inherit_rpath=$inherit_rpath
36963 # Whether libtool must link a program against all its dependency libraries.
36964 link_all_deplibs=$link_all_deplibs
36966 # Fix the shell variable \$srcfile for the compiler.
36967 fix_srcfile_path=$lt_fix_srcfile_path
36969 # Set to "yes" if exported symbols are required.
36970 always_export_symbols=$always_export_symbols
36972 # The commands to list exported symbols.
36973 export_symbols_cmds=$lt_export_symbols_cmds
36975 # Symbols that should not be listed in the preloaded symbols.
36976 exclude_expsyms=$lt_exclude_expsyms
36978 # Symbols that must always be exported.
36979 include_expsyms=$lt_include_expsyms
36981 # Commands necessary for linking programs (against libraries) with templates.
36982 prelink_cmds=$lt_prelink_cmds
36984 # Specify filename containing input files.
36985 file_list_spec=$lt_file_list_spec
36987 # How to hardcode a shared library path into an executable.
36988 hardcode_action=$hardcode_action
36990 # The directories searched by this compiler when creating a shared library.
36991 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
36993 # Dependencies to place before and after the objects being linked to
36994 # create a shared library.
36995 predep_objects=$lt_predep_objects
36996 postdep_objects=$lt_postdep_objects
36997 predeps=$lt_predeps
36998 postdeps=$lt_postdeps
37000 # The library search path used internally by the compiler when linking
37001 # a shared library.
37002 compiler_lib_search_path=$lt_compiler_lib_search_path
37004 # ### END LIBTOOL CONFIG
37010 cat <<\_LT_EOF >> "$cfgfile"
37011 # AIX sometimes has problems with the GCC collect2 program. For some
37012 # reason, if we set the COLLECT_NAMES environment variable, the problems
37013 # vanish in a puff of smoke.
37014 if test "X${COLLECT_NAMES+set}" != Xset; then
37016 export COLLECT_NAMES
37023 ltmain="$ac_aux_dir/ltmain.sh"
37026 # We use sed instead of cat because bash on DJGPP gets confused if
37027 # if finds mixed CR/LF and LF-only lines. Since sed operates in
37028 # text mode, it properly converts lines to CR/LF. This bash problem
37029 # is reportedly fixed, but why not run on old versions too?
37030 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
37031 || (rm -f "$cfgfile"; exit 1)
37035 cat << \_LT_EOF >> "$cfgfile"
37037 # func_dirname file append nondir_replacement
37038 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
37039 # otherwise set result to NONDIR_REPLACEMENT.
37043 */*) func_dirname_result="${1%/*}${2}" ;;
37044 * ) func_dirname_result="${3}" ;;
37048 # func_basename file
37051 func_basename_result="${1##*/}"
37054 # func_dirname_and_basename file append nondir_replacement
37055 # perform func_basename and func_dirname in a single function
37057 # dirname: Compute the dirname of FILE. If nonempty,
37058 # add APPEND to the result, otherwise set result
37059 # to NONDIR_REPLACEMENT.
37060 # value returned in "$func_dirname_result"
37061 # basename: Compute filename of FILE.
37062 # value retuned in "$func_basename_result"
37063 # Implementation must be kept synchronized with func_dirname
37064 # and func_basename. For efficiency, we do not delegate to
37065 # those functions but instead duplicate the functionality here.
37066 func_dirname_and_basename ()
37069 */*) func_dirname_result="${1%/*}${2}" ;;
37070 * ) func_dirname_result="${3}" ;;
37072 func_basename_result="${1##*/}"
37075 # func_stripname prefix suffix name
37076 # strip PREFIX and SUFFIX off of NAME.
37077 # PREFIX and SUFFIX must not contain globbing or regex special
37078 # characters, hashes, percent signs, but SUFFIX may contain a leading
37079 # dot (in which case that matches only a dot).
37082 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
37083 # positional parameters, so assign one to ordinary parameter first.
37084 func_stripname_result=${3}
37085 func_stripname_result=${func_stripname_result#"${1}"}
37086 func_stripname_result=${func_stripname_result%"${2}"}
37092 func_opt_split_opt=${1%%=*}
37093 func_opt_split_arg=${1#*=}
37100 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
37101 *) func_lo2o_result=${1} ;;
37105 # func_xform libobj-or-source
37108 func_xform_result=${1%.*}.lo
37111 # func_arith arithmetic-term...
37114 func_arith_result=$(( $* ))
37118 # STRING may not start with a hyphen.
37121 func_len_result=${#1}
37126 *) # Bourne compatible functions.
37127 cat << \_LT_EOF >> "$cfgfile"
37129 # func_dirname file append nondir_replacement
37130 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
37131 # otherwise set result to NONDIR_REPLACEMENT.
37134 # Extract subdirectory from the argument.
37135 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
37136 if test "X$func_dirname_result" = "X${1}"; then
37137 func_dirname_result="${3}"
37139 func_dirname_result="$func_dirname_result${2}"
37143 # func_basename file
37146 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
37150 # func_stripname prefix suffix name
37151 # strip PREFIX and SUFFIX off of NAME.
37152 # PREFIX and SUFFIX must not contain globbing or regex special
37153 # characters, hashes, percent signs, but SUFFIX may contain a leading
37154 # dot (in which case that matches only a dot).
37155 # func_strip_suffix prefix name
37159 .*) func_stripname_result=`$ECHO "X${3}" \
37160 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
37161 *) func_stripname_result=`$ECHO "X${3}" \
37162 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
37167 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
37168 my_sed_long_arg='1s/^-[^=]*=//'
37173 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
37174 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
37180 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
37183 # func_xform libobj-or-source
37186 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
37189 # func_arith arithmetic-term...
37192 func_arith_result=`expr "$@"`
37196 # STRING may not start with a hyphen.
37199 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
37205 case $lt_shell_append in
37207 cat << \_LT_EOF >> "$cfgfile"
37209 # func_append var value
37210 # Append VALUE to the end of shell variable VAR.
37218 cat << \_LT_EOF >> "$cfgfile"
37220 # func_append var value
37221 # Append VALUE to the end of shell variable VAR.
37232 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
37233 || (rm -f "$cfgfile"; exit 1)
37235 mv -f "$cfgfile" "$ofile" ||
37236 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
37240 cat <<_LT_EOF >> "$ofile"
37242 # ### BEGIN LIBTOOL TAG CONFIG: CXX
37244 # The linker used to build libraries.
37247 # Commands used to build an old-style archive.
37248 old_archive_cmds=$lt_old_archive_cmds_CXX
37250 # A language specific compiler.
37251 CC=$lt_compiler_CXX
37253 # Is the compiler the GNU compiler?
37256 # Compiler flag to turn off builtin functions.
37257 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
37259 # How to pass a linker flag through the compiler.
37260 wl=$lt_lt_prog_compiler_wl_CXX
37262 # Additional compiler flags for building library objects.
37263 pic_flag=$lt_lt_prog_compiler_pic_CXX
37265 # Compiler flag to prevent dynamic linking.
37266 link_static_flag=$lt_lt_prog_compiler_static_CXX
37268 # Does compiler simultaneously support -c and -o options?
37269 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
37271 # Whether or not to add -lc for building shared libraries.
37272 build_libtool_need_lc=$archive_cmds_need_lc_CXX
37274 # Whether or not to disallow shared libs when runtime libs are static.
37275 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
37277 # Compiler flag to allow reflexive dlopens.
37278 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
37280 # Compiler flag to generate shared objects directly from archives.
37281 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
37283 # Whether the compiler copes with passing no objects directly.
37284 compiler_needs_object=$lt_compiler_needs_object_CXX
37286 # Create an old-style archive from a shared archive.
37287 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
37289 # Create a temporary old-style archive to link instead of a shared archive.
37290 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
37292 # Commands used to build a shared archive.
37293 archive_cmds=$lt_archive_cmds_CXX
37294 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
37296 # Commands used to build a loadable module if different from building
37297 # a shared archive.
37298 module_cmds=$lt_module_cmds_CXX
37299 module_expsym_cmds=$lt_module_expsym_cmds_CXX
37301 # Whether we are building with GNU ld or not.
37302 with_gnu_ld=$lt_with_gnu_ld_CXX
37304 # Flag that allows shared libraries with undefined symbols to be built.
37305 allow_undefined_flag=$lt_allow_undefined_flag_CXX
37307 # Flag that enforces no undefined symbols.
37308 no_undefined_flag=$lt_no_undefined_flag_CXX
37310 # Flag to hardcode \$libdir into a binary during linking.
37311 # This must work even if \$libdir does not exist
37312 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
37314 # If ld is used when linking, flag to hardcode \$libdir into a binary
37315 # during linking. This must work even if \$libdir does not exist.
37316 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
37318 # Whether we need a single "-rpath" flag with a separated argument.
37319 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
37321 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
37322 # DIR into the resulting binary.
37323 hardcode_direct=$hardcode_direct_CXX
37325 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
37326 # DIR into the resulting binary and the resulting library dependency is
37327 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
37328 # library is relocated.
37329 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
37331 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
37332 # into the resulting binary.
37333 hardcode_minus_L=$hardcode_minus_L_CXX
37335 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
37336 # into the resulting binary.
37337 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
37339 # Set to "yes" if building a shared library automatically hardcodes DIR
37340 # into the library and all subsequent libraries and executables linked
37342 hardcode_automatic=$hardcode_automatic_CXX
37344 # Set to yes if linker adds runtime paths of dependent libraries
37345 # to runtime path list.
37346 inherit_rpath=$inherit_rpath_CXX
37348 # Whether libtool must link a program against all its dependency libraries.
37349 link_all_deplibs=$link_all_deplibs_CXX
37351 # Fix the shell variable \$srcfile for the compiler.
37352 fix_srcfile_path=$lt_fix_srcfile_path_CXX
37354 # Set to "yes" if exported symbols are required.
37355 always_export_symbols=$always_export_symbols_CXX
37357 # The commands to list exported symbols.
37358 export_symbols_cmds=$lt_export_symbols_cmds_CXX
37360 # Symbols that should not be listed in the preloaded symbols.
37361 exclude_expsyms=$lt_exclude_expsyms_CXX
37363 # Symbols that must always be exported.
37364 include_expsyms=$lt_include_expsyms_CXX
37366 # Commands necessary for linking programs (against libraries) with templates.
37367 prelink_cmds=$lt_prelink_cmds_CXX
37369 # Specify filename containing input files.
37370 file_list_spec=$lt_file_list_spec_CXX
37372 # How to hardcode a shared library path into an executable.
37373 hardcode_action=$hardcode_action_CXX
37375 # The directories searched by this compiler when creating a shared library.
37376 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
37378 # Dependencies to place before and after the objects being linked to
37379 # create a shared library.
37380 predep_objects=$lt_predep_objects_CXX
37381 postdep_objects=$lt_postdep_objects_CXX
37382 predeps=$lt_predeps_CXX
37383 postdeps=$lt_postdeps_CXX
37385 # The library search path used internally by the compiler when linking
37386 # a shared library.
37387 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
37389 # ### END LIBTOOL TAG CONFIG: CXX
37393 cat <<_LT_EOF >> "$ofile"
37395 # ### BEGIN LIBTOOL TAG CONFIG: F77
37397 # The linker used to build libraries.
37400 # Commands used to build an old-style archive.
37401 old_archive_cmds=$lt_old_archive_cmds_F77
37403 # A language specific compiler.
37404 CC=$lt_compiler_F77
37406 # Is the compiler the GNU compiler?
37409 # Compiler flag to turn off builtin functions.
37410 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
37412 # How to pass a linker flag through the compiler.
37413 wl=$lt_lt_prog_compiler_wl_F77
37415 # Additional compiler flags for building library objects.
37416 pic_flag=$lt_lt_prog_compiler_pic_F77
37418 # Compiler flag to prevent dynamic linking.
37419 link_static_flag=$lt_lt_prog_compiler_static_F77
37421 # Does compiler simultaneously support -c and -o options?
37422 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
37424 # Whether or not to add -lc for building shared libraries.
37425 build_libtool_need_lc=$archive_cmds_need_lc_F77
37427 # Whether or not to disallow shared libs when runtime libs are static.
37428 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
37430 # Compiler flag to allow reflexive dlopens.
37431 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
37433 # Compiler flag to generate shared objects directly from archives.
37434 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
37436 # Whether the compiler copes with passing no objects directly.
37437 compiler_needs_object=$lt_compiler_needs_object_F77
37439 # Create an old-style archive from a shared archive.
37440 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
37442 # Create a temporary old-style archive to link instead of a shared archive.
37443 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
37445 # Commands used to build a shared archive.
37446 archive_cmds=$lt_archive_cmds_F77
37447 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
37449 # Commands used to build a loadable module if different from building
37450 # a shared archive.
37451 module_cmds=$lt_module_cmds_F77
37452 module_expsym_cmds=$lt_module_expsym_cmds_F77
37454 # Whether we are building with GNU ld or not.
37455 with_gnu_ld=$lt_with_gnu_ld_F77
37457 # Flag that allows shared libraries with undefined symbols to be built.
37458 allow_undefined_flag=$lt_allow_undefined_flag_F77
37460 # Flag that enforces no undefined symbols.
37461 no_undefined_flag=$lt_no_undefined_flag_F77
37463 # Flag to hardcode \$libdir into a binary during linking.
37464 # This must work even if \$libdir does not exist
37465 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
37467 # If ld is used when linking, flag to hardcode \$libdir into a binary
37468 # during linking. This must work even if \$libdir does not exist.
37469 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
37471 # Whether we need a single "-rpath" flag with a separated argument.
37472 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
37474 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
37475 # DIR into the resulting binary.
37476 hardcode_direct=$hardcode_direct_F77
37478 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
37479 # DIR into the resulting binary and the resulting library dependency is
37480 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
37481 # library is relocated.
37482 hardcode_direct_absolute=$hardcode_direct_absolute_F77
37484 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
37485 # into the resulting binary.
37486 hardcode_minus_L=$hardcode_minus_L_F77
37488 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
37489 # into the resulting binary.
37490 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
37492 # Set to "yes" if building a shared library automatically hardcodes DIR
37493 # into the library and all subsequent libraries and executables linked
37495 hardcode_automatic=$hardcode_automatic_F77
37497 # Set to yes if linker adds runtime paths of dependent libraries
37498 # to runtime path list.
37499 inherit_rpath=$inherit_rpath_F77
37501 # Whether libtool must link a program against all its dependency libraries.
37502 link_all_deplibs=$link_all_deplibs_F77
37504 # Fix the shell variable \$srcfile for the compiler.
37505 fix_srcfile_path=$lt_fix_srcfile_path_F77
37507 # Set to "yes" if exported symbols are required.
37508 always_export_symbols=$always_export_symbols_F77
37510 # The commands to list exported symbols.
37511 export_symbols_cmds=$lt_export_symbols_cmds_F77
37513 # Symbols that should not be listed in the preloaded symbols.
37514 exclude_expsyms=$lt_exclude_expsyms_F77
37516 # Symbols that must always be exported.
37517 include_expsyms=$lt_include_expsyms_F77
37519 # Commands necessary for linking programs (against libraries) with templates.
37520 prelink_cmds=$lt_prelink_cmds_F77
37522 # Specify filename containing input files.
37523 file_list_spec=$lt_file_list_spec_F77
37525 # How to hardcode a shared library path into an executable.
37526 hardcode_action=$hardcode_action_F77
37528 # The directories searched by this compiler when creating a shared library.
37529 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
37531 # Dependencies to place before and after the objects being linked to
37532 # create a shared library.
37533 predep_objects=$lt_predep_objects_F77
37534 postdep_objects=$lt_postdep_objects_F77
37535 predeps=$lt_predeps_F77
37536 postdeps=$lt_postdeps_F77
37538 # The library search path used internally by the compiler when linking
37539 # a shared library.
37540 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
37542 # ### END LIBTOOL TAG CONFIG: F77
37546 "run_tests_core":C) chmod +x gnuradio-core/src/python/gnuradio/gr/run_tests ;;
37547 "run_tests_usrp":C) chmod +x gr-usrp/src/run_tests ;;
37548 "run_tests_usrp2":C) chmod +x gr-usrp2/src/run_tests ;;
37549 "run_tests_gcell":C) chmod +x gr-gcell/src/run_tests ;;
37550 "run_tests_alsa":C) chmod +x gr-audio-alsa/src/run_tests ;;
37551 "run_tests_jack":C) chmod +x gr-audio-jack/src/run_tests ;;
37552 "run_tests_oss":C) chmod +x gr-audio-oss/src/run_tests ;;
37553 "run_tests_osx":C) chmod +x gr-audio-osx/src/run_tests ;;
37554 "run_tests_portaudio":C) chmod +x gr-audio-portaudio/src/run_tests ;;
37555 "run_tests_audio_windows":C) chmod +x gr-audio-windows/src/run_tests ;;
37556 "run_tests_cvsd":C) chmod +x gr-cvsd-vocoder/src/python/run_tests ;;
37557 "run_tests_gsm":C) chmod +x gr-gsm-fr-vocoder/src/python/run_tests ;;
37558 "run_tests_pager":C) chmod +x gr-pager/src/run_tests ;;
37559 "run_tests_radar_mono":C) chmod +x gr-radar-mono/src/python/run_tests ;;
37560 "run_tests_astronomy":C) chmod +x gr-radio-astronomy/src/python/run_tests ;;
37561 "run_tests_gr_trellis":C) chmod +x gr-trellis/src/python/run_tests ;;
37562 "run_tests_sdl":C) chmod +x gr-video-sdl/src/run_tests ;;
37563 "run_tests_sounder":C) chmod +x gr-sounder/src/python/run_tests ;;
37564 "run_tests_build":C) chmod +x run_tests.sh ;;
37572 ac_clean_files=$ac_clean_files_save
37574 test $ac_write_fail = 0 ||
37575 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
37578 # configure is writing to config.log, and then calls config.status.
37579 # config.status does its own redirection, appending to config.log.
37580 # Unfortunately, on DOS this fails, as config.log is still kept open
37581 # by configure, so config.status won't be able to write to it; its
37582 # output is simply discarded. So we exec the FD to /dev/null,
37583 # effectively closing config.log, so it can be properly (re)opened and
37584 # appended to by config.status. When coming back to configure, we
37585 # need to make the FD available again.
37586 if test "$no_create" != yes; then
37588 ac_config_status_args=
37589 test "$silent" = yes &&
37590 ac_config_status_args="$ac_config_status_args --quiet"
37592 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37594 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37595 # would make configure fail if this is the last instruction.
37596 $ac_cs_success || as_fn_exit $?
37600 # CONFIG_SUBDIRS section.
37602 if test "$no_recursion" != yes; then
37604 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
37605 # so they do not pile up.
37606 ac_sub_configure_args=
37608 eval "set x $ac_configure_args"
37612 if test -n "$ac_prev"; then
37617 -cache-file | --cache-file | --cache-fil | --cache-fi \
37618 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37619 ac_prev=cache_file ;;
37620 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37621 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37624 --config-cache | -C)
37626 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37628 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37630 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37632 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37634 --disable-option-checking)
37638 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
37640 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
37644 # Always prepend --prefix to ensure using the same prefix
37645 # in subdir configurations.
37646 ac_arg="--prefix=$prefix"
37648 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
37650 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
37653 if test "$silent" = yes; then
37654 ac_sub_configure_args="--silent $ac_sub_configure_args"
37657 # Always prepend --disable-option-checking to silence warnings, since
37658 # different subdirs can have different --enable and --with options.
37659 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
37662 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
37664 # Do not complain, so a configure script can configure whichever
37665 # parts of a large source tree are present.
37666 test -d "$srcdir/$ac_dir" || continue
37668 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
37669 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
37670 $as_echo "$ac_msg" >&6
37671 as_dir="$ac_dir"; as_fn_mkdir_p
37675 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
37677 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
37678 # A ".." for each directory in $ac_dir_suffix.
37679 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
37680 case $ac_top_builddir_sub in
37681 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
37682 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
37685 ac_abs_top_builddir=$ac_pwd
37686 ac_abs_builddir=$ac_pwd$ac_dir_suffix
37687 # for backward compatibility:
37688 ac_top_builddir=$ac_top_build_prefix
37691 .) # We are building in place.
37693 ac_top_srcdir=$ac_top_builddir_sub
37694 ac_abs_top_srcdir=$ac_pwd ;;
37695 [\\/]* | ?:[\\/]* ) # Absolute name.
37696 ac_srcdir=$srcdir$ac_dir_suffix;
37697 ac_top_srcdir=$srcdir
37698 ac_abs_top_srcdir=$srcdir ;;
37699 *) # Relative name.
37700 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
37701 ac_top_srcdir=$ac_top_build_prefix$srcdir
37702 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
37704 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
37709 # Check for guested configure; otherwise get Cygnus style configure.
37710 if test -f "$ac_srcdir/configure.gnu"; then
37711 ac_sub_configure=$ac_srcdir/configure.gnu
37712 elif test -f "$ac_srcdir/configure"; then
37713 ac_sub_configure=$ac_srcdir/configure
37714 elif test -f "$ac_srcdir/configure.in"; then
37715 # This should be Cygnus configure.
37716 ac_sub_configure=$ac_aux_dir/configure
37718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
37719 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37723 # The recursion is here.
37724 if test -n "$ac_sub_configure"; then
37725 # Make the cache file name correct relative to the subdirectory.
37726 case $cache_file in
37727 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37728 *) # Relative name.
37729 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
37732 { $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
37733 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37734 # The eval makes quoting arguments work.
37735 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
37736 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
37737 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
37743 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
37744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
37745 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
37750 echo "*********************************************************************"
37751 echo The following GNU Radio components have been successfully configured:
37753 for dir in $build_dirs
37758 echo You my now run the 'make' command to build these components.
37760 if test "$skipped_dirs" != ""; then
37761 echo "*********************************************************************"
37762 echo The following components were skipped either because you asked not
37763 echo to build them or they didn\'t pass configuration checks:
37765 for dir in $skipped_dirs
37770 echo These components will not be built.
37773 if test "$with_dirs" != ""; then
37774 echo "*********************************************************************"
37775 echo The following components will be included from pre-installed
37776 echo libraries and includes:
37778 for dir in $with_dirs
37783 echo These components will not be built.