2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir=.
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
277 CONFIG_SHELL=$as_shell
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
305 as_func_ret_success () {
308 as_func_ret_failure () {
313 if as_func_success; then
317 echo as_func_success failed.
320 if as_func_failure; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492 ECHO_C= ECHO_N= ECHO_T=
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 elif ln conf$$.file conf$$ 2>/dev/null; then
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
539 test -d ./-p && rmdir ./-p
543 if test -x / >/dev/null 2>&1; then
546 if ls -dL / >/dev/null 2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
575 # Check that we are running under the correct shell.
576 SHELL=${CONFIG_SHELL-/bin/sh}
580 # Remove one level of quotation (which was required for Make).
581 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
586 if test "X$1" = X--no-reexec; then
587 # Discard the --no-reexec flag, and continue.
589 elif test "X$1" = X--fallback-echo; then
590 # Avoid inline document here, it may be left over
592 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
593 # Yippee, $ECHO works!
596 # Restart under the correct shell.
597 exec $SHELL "$0" --no-reexec ${1+"$@"}
600 if test "X$1" = X--fallback-echo; then
601 # used as fallback echo
609 # The HP-UX ksh and POSIX shell print the target directory to stdout
611 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
613 if test -z "$lt_ECHO"; then
614 if test "X${echo_test_string+set}" != Xset; then
615 # find a string as large as possible, as long as the shell can cope with it
616 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
619 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 # The Solaris, AIX, and Digital Unix default echo programs unquote
632 # backslashes. This makes it impossible to quote backslashes using
633 # echo "$something" | sed 's/\\/\\\\/g'
635 # So, first we look for a working echo in the user's PATH.
637 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
638 for dir in $PATH /usr/ucb; do
640 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
641 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
642 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
650 if test "X$ECHO" = Xecho; then
651 # We didn't find a better echo, so look for alternatives.
652 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
653 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 # This shell has a builtin print -r that does the trick.
657 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
658 test "X$CONFIG_SHELL" != X/bin/ksh; then
659 # If we have ksh, try running configure again with it.
660 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
661 export ORIGINAL_CONFIG_SHELL
662 CONFIG_SHELL=/bin/ksh
664 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
669 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
670 test "X$echo_testing_string" = "X$echo_test_string"; then
673 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
674 test "X$echo_testing_string" = 'X\t' &&
675 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
676 test "X$echo_testing_string" = "X$echo_test_string"; then
677 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
679 SHELL="$CONFIG_SHELL"
681 ECHO="$CONFIG_SHELL $0 --fallback-echo"
682 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
683 test "X$echo_testing_string" = 'X\t' &&
684 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
685 test "X$echo_testing_string" = "X$echo_test_string"; then
686 ECHO="$CONFIG_SHELL $0 --fallback-echo"
688 # maybe with a smaller string...
691 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
692 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
699 if test "$prev" != 'sed 50q "$0"'; then
700 echo_test_string=`eval $prev`
701 export echo_test_string
702 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
704 # Oops. We lost completely, so just stick with echo.
713 # Copy echo and quote the copy suitably for passing to libtool from
714 # the Makefile, instead of quoting the original, which is used later.
716 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
717 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
723 exec 7<&0 </dev/null 6>&1
726 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
727 # so uname gets run too.
728 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
733 ac_default_prefix=/usr/local
735 ac_config_libobj_dir=.
741 SHELL=${CONFIG_SHELL-/bin/sh}
743 # Identity of this package.
750 ac_unique_file="gnuradio-core/src/lib/runtime/gr_vmcircbuf.cc"
751 # Factoring default headers for most tests.
752 ac_includes_default="\
754 #ifdef HAVE_SYS_TYPES_H
755 # include <sys/types.h>
757 #ifdef HAVE_SYS_STAT_H
758 # include <sys/stat.h>
764 # ifdef HAVE_STDLIB_H
769 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
774 #ifdef HAVE_STRINGS_H
775 # include <strings.h>
777 #ifdef HAVE_INTTYPES_H
778 # include <inttypes.h>
787 enable_option_checking=no
788 ac_subst_vars='LTLIBOBJS
813 gnuradio_examples_LDFLAG
814 gnuradio_examples_LIBDIRPATH
815 gnuradio_examples_INCLUDEDIR
817 gnuradio_examples_INCLUDES
824 gr_sounder_LIBDIRPATH
825 gr_sounder_INCLUDEDIR
862 gr_video_sdl_LIBDIRPATH
863 gr_video_sdl_INCLUDEDIR
865 gr_video_sdl_INCLUDES
872 gr_trellis_LIBDIRPATH
873 gr_trellis_INCLUDEDIR
876 gr_radio_astronomy_LDFLAG
877 gr_radio_astronomy_LIBDIRPATH
878 gr_radio_astronomy_INCLUDEDIR
879 gr_radio_astronomy_LA
880 gr_radio_astronomy_INCLUDES
882 gr_radar_mono_LIBDIRPATH
883 gr_radar_mono_INCLUDEDIR
885 gr_radar_mono_INCLUDES
891 gr_gsm_fr_vocoder_LDFLAG
892 gr_gsm_fr_vocoder_LIBDIRPATH
893 gr_gsm_fr_vocoder_INCLUDEDIR
895 gr_gsm_fr_vocoder_INCLUDES
901 gr_cvsd_vocoder_LDFLAG
902 gr_cvsd_vocoder_LIBDIRPATH
903 gr_cvsd_vocoder_INCLUDEDIR
905 gr_cvsd_vocoder_INCLUDES
906 gr_audio_windows_LDFLAG
907 gr_audio_windows_LIBDIRPATH
908 gr_audio_windows_INCLUDEDIR
910 gr_audio_windows_INCLUDES
912 gr_audio_portaudio_LDFLAG
913 gr_audio_portaudio_LIBDIRPATH
914 gr_audio_portaudio_INCLUDEDIR
915 gr_audio_portaudio_LA
916 gr_audio_portaudio_INCLUDES
922 gr_audio_osx_LIBDIRPATH
923 gr_audio_osx_INCLUDEDIR
925 gr_audio_osx_INCLUDES
927 gr_audio_oss_LIBDIRPATH
928 gr_audio_oss_INCLUDEDIR
930 gr_audio_oss_INCLUDES
933 gr_audio_jack_LIBDIRPATH
934 gr_audio_jack_INCLUDEDIR
936 gr_audio_jack_INCLUDES
942 gr_audio_alsa_LIBDIRPATH
943 gr_audio_alsa_INCLUDEDIR
945 gr_audio_alsa_INCLUDES
978 usrp_darwin_omnithread_pc_requires
985 FUSB_TECH_ra_wb_FALSE
987 FUSB_TECH_linux_FALSE
989 FUSB_TECH_generic_FALSE
990 FUSB_TECH_generic_TRUE
991 FUSB_TECH_win32_FALSE
993 FUSB_TECH_darwin_FALSE
994 FUSB_TECH_darwin_TRUE
1006 gnuradio_core_LDFLAG
1007 gnuradio_core_LIBDIRPATH
1008 gnuradio_core_INCLUDEDIR
1010 gnuradio_core_INCLUDES
1011 gnuradio_core_PYDIRPATH
1012 gnuradio_core_SWIGDIRPATH
1028 omnithread_LIBDIRPATH
1029 omnithread_INCLUDEDIR
1043 BOOST_PROGRAM_OPTIONS_LIB
1056 MD_CPU_generic_FALSE
1058 MD_CPU_powerpc_FALSE
1060 MD_SUBCPU_x86_64_FALSE
1061 MD_SUBCPU_x86_64_TRUE
1082 HAVE_CREATEFILEMAPPING_FALSE
1083 HAVE_CREATEFILEMAPPING_TRUE
1084 LIBGNURADIO_CORE_EXTRA_LDFLAGS
1092 OMNITHREAD_POSIX_FALSE
1093 OMNITHREAD_POSIX_TRUE
1101 SWIG_PYTHON_CPPFLAGS
1121 ENABLE_FORTRAN_FALSE
1143 am__fastdepCCAS_FALSE
1144 am__fastdepCCAS_TRUE
1151 autoconf_default_CXXFLAGS
1152 autoconf_default_CFLAGS
1155 am__fastdepCXX_FALSE
1189 INSTALL_STRIP_PROGRAM
1243 program_transform_name
1255 enable_option_checking
1256 enable_dependency_tracking
1272 with_cppunit_exec_prefix
1276 with_boost_date_time
1277 with_boost_program_options
1278 enable_all_components
1284 enable_gnuradio_core
1298 enable_gr_audio_alsa
1299 enable_gr_audio_jack
1302 enable_gr_audio_portaudio
1303 enable_gr_audio_windows
1304 enable_gr_cvsd_vocoder
1306 enable_gr_gsm_fr_vocoder
1308 enable_gr_radar_mono
1309 enable_gr_radio_astronomy
1313 with_sdl_exec_prefix
1321 with_qwtplot3d_libdir
1322 with_qwtplot3d_incdir
1326 enable_gnuradio_examples
1330 ac_precious_vars='build_alias
1368 PORTAUDIO_INCLUDEDIR
1380 QTOPENGL_INCLUDEDIR'
1381 ac_subdirs_all='usrp2/firmware'
1383 # Initialize some variables set by options.
1385 ac_init_version=false
1386 ac_unrecognized_opts=
1387 ac_unrecognized_sep=
1388 # The variables have the same names as the options, with
1389 # dashes changed to underlines.
1390 cache_file=/dev/null
1397 program_transform_name=s,x,x,
1405 # Installation directory options.
1406 # These are left unexpanded so users can "make install exec_prefix=/foo"
1407 # and all the variables that are supposed to be based on exec_prefix
1408 # by default will actually change.
1409 # Use braces instead of parens because sh, perl, etc. also accept them.
1410 # (The list follows the same order as the GNU Coding Standards.)
1411 bindir='${exec_prefix}/bin'
1412 sbindir='${exec_prefix}/sbin'
1413 libexecdir='${exec_prefix}/libexec'
1414 datarootdir='${prefix}/share'
1415 datadir='${datarootdir}'
1416 sysconfdir='${prefix}/etc'
1417 sharedstatedir='${prefix}/com'
1418 localstatedir='${prefix}/var'
1419 includedir='${prefix}/include'
1420 oldincludedir='/usr/include'
1421 docdir='${datarootdir}/doc/${PACKAGE}'
1422 infodir='${datarootdir}/info'
1427 libdir='${exec_prefix}/lib'
1428 localedir='${datarootdir}/locale'
1429 mandir='${datarootdir}/man'
1435 # If the previous option needs an argument, assign it.
1436 if test -n "$ac_prev"; then
1437 eval $ac_prev=\$ac_option
1443 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1447 # Accept the important Cygnus configure options, so we can diagnose typos.
1449 case $ac_dashdash$ac_option in
1453 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1455 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1456 bindir=$ac_optarg ;;
1458 -build | --build | --buil | --bui | --bu)
1459 ac_prev=build_alias ;;
1460 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1461 build_alias=$ac_optarg ;;
1463 -cache-file | --cache-file | --cache-fil | --cache-fi \
1464 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1465 ac_prev=cache_file ;;
1466 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1467 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1468 cache_file=$ac_optarg ;;
1470 --config-cache | -C)
1471 cache_file=config.cache ;;
1473 -datadir | --datadir | --datadi | --datad)
1475 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1476 datadir=$ac_optarg ;;
1478 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1479 | --dataroo | --dataro | --datar)
1480 ac_prev=datarootdir ;;
1481 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1482 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1483 datarootdir=$ac_optarg ;;
1485 -disable-* | --disable-*)
1486 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1487 # Reject names that are not valid shell variable names.
1488 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1489 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1490 { (exit 1); exit 1; }; }
1491 ac_useropt_orig=$ac_useropt
1492 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1493 case $ac_user_opts in
1495 "enable_$ac_useropt"
1497 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1498 ac_unrecognized_sep=', ';;
1500 eval enable_$ac_useropt=no ;;
1502 -docdir | --docdir | --docdi | --doc | --do)
1504 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1505 docdir=$ac_optarg ;;
1507 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1509 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1510 dvidir=$ac_optarg ;;
1512 -enable-* | --enable-*)
1513 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1514 # Reject names that are not valid shell variable names.
1515 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1516 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1517 { (exit 1); exit 1; }; }
1518 ac_useropt_orig=$ac_useropt
1519 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1520 case $ac_user_opts in
1522 "enable_$ac_useropt"
1524 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1525 ac_unrecognized_sep=', ';;
1527 eval enable_$ac_useropt=\$ac_optarg ;;
1529 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1530 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1531 | --exec | --exe | --ex)
1532 ac_prev=exec_prefix ;;
1533 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1534 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1535 | --exec=* | --exe=* | --ex=*)
1536 exec_prefix=$ac_optarg ;;
1538 -gas | --gas | --ga | --g)
1539 # Obsolete; use --with-gas.
1542 -help | --help | --hel | --he | -h)
1543 ac_init_help=long ;;
1544 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1545 ac_init_help=recursive ;;
1546 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1547 ac_init_help=short ;;
1549 -host | --host | --hos | --ho)
1550 ac_prev=host_alias ;;
1551 -host=* | --host=* | --hos=* | --ho=*)
1552 host_alias=$ac_optarg ;;
1554 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1556 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1558 htmldir=$ac_optarg ;;
1560 -includedir | --includedir | --includedi | --included | --include \
1561 | --includ | --inclu | --incl | --inc)
1562 ac_prev=includedir ;;
1563 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1564 | --includ=* | --inclu=* | --incl=* | --inc=*)
1565 includedir=$ac_optarg ;;
1567 -infodir | --infodir | --infodi | --infod | --info | --inf)
1569 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1570 infodir=$ac_optarg ;;
1572 -libdir | --libdir | --libdi | --libd)
1574 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1575 libdir=$ac_optarg ;;
1577 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1578 | --libexe | --libex | --libe)
1579 ac_prev=libexecdir ;;
1580 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1581 | --libexe=* | --libex=* | --libe=*)
1582 libexecdir=$ac_optarg ;;
1584 -localedir | --localedir | --localedi | --localed | --locale)
1585 ac_prev=localedir ;;
1586 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1587 localedir=$ac_optarg ;;
1589 -localstatedir | --localstatedir | --localstatedi | --localstated \
1590 | --localstate | --localstat | --localsta | --localst | --locals)
1591 ac_prev=localstatedir ;;
1592 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1593 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1594 localstatedir=$ac_optarg ;;
1596 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1598 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1599 mandir=$ac_optarg ;;
1601 -nfp | --nfp | --nf)
1602 # Obsolete; use --without-fp.
1605 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1606 | --no-cr | --no-c | -n)
1609 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1610 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1613 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1614 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1615 | --oldin | --oldi | --old | --ol | --o)
1616 ac_prev=oldincludedir ;;
1617 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1618 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1619 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1620 oldincludedir=$ac_optarg ;;
1622 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1624 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1625 prefix=$ac_optarg ;;
1627 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1628 | --program-pre | --program-pr | --program-p)
1629 ac_prev=program_prefix ;;
1630 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1631 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1632 program_prefix=$ac_optarg ;;
1634 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1635 | --program-suf | --program-su | --program-s)
1636 ac_prev=program_suffix ;;
1637 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1638 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1639 program_suffix=$ac_optarg ;;
1641 -program-transform-name | --program-transform-name \
1642 | --program-transform-nam | --program-transform-na \
1643 | --program-transform-n | --program-transform- \
1644 | --program-transform | --program-transfor \
1645 | --program-transfo | --program-transf \
1646 | --program-trans | --program-tran \
1647 | --progr-tra | --program-tr | --program-t)
1648 ac_prev=program_transform_name ;;
1649 -program-transform-name=* | --program-transform-name=* \
1650 | --program-transform-nam=* | --program-transform-na=* \
1651 | --program-transform-n=* | --program-transform-=* \
1652 | --program-transform=* | --program-transfor=* \
1653 | --program-transfo=* | --program-transf=* \
1654 | --program-trans=* | --program-tran=* \
1655 | --progr-tra=* | --program-tr=* | --program-t=*)
1656 program_transform_name=$ac_optarg ;;
1658 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1660 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1661 pdfdir=$ac_optarg ;;
1663 -psdir | --psdir | --psdi | --psd | --ps)
1665 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1668 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1669 | -silent | --silent | --silen | --sile | --sil)
1672 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1674 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1676 sbindir=$ac_optarg ;;
1678 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1679 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1680 | --sharedst | --shareds | --shared | --share | --shar \
1682 ac_prev=sharedstatedir ;;
1683 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1684 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1685 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1687 sharedstatedir=$ac_optarg ;;
1689 -site | --site | --sit)
1691 -site=* | --site=* | --sit=*)
1694 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1696 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1697 srcdir=$ac_optarg ;;
1699 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1700 | --syscon | --sysco | --sysc | --sys | --sy)
1701 ac_prev=sysconfdir ;;
1702 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1703 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1704 sysconfdir=$ac_optarg ;;
1706 -target | --target | --targe | --targ | --tar | --ta | --t)
1707 ac_prev=target_alias ;;
1708 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1709 target_alias=$ac_optarg ;;
1711 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1714 -version | --version | --versio | --versi | --vers | -V)
1715 ac_init_version=: ;;
1718 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1719 # Reject names that are not valid shell variable names.
1720 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1721 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1722 { (exit 1); exit 1; }; }
1723 ac_useropt_orig=$ac_useropt
1724 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1725 case $ac_user_opts in
1729 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1730 ac_unrecognized_sep=', ';;
1732 eval with_$ac_useropt=\$ac_optarg ;;
1734 -without-* | --without-*)
1735 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1736 # Reject names that are not valid shell variable names.
1737 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1738 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1739 { (exit 1); exit 1; }; }
1740 ac_useropt_orig=$ac_useropt
1741 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1742 case $ac_user_opts in
1746 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1747 ac_unrecognized_sep=', ';;
1749 eval with_$ac_useropt=no ;;
1752 # Obsolete; use --with-x.
1755 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1756 | --x-incl | --x-inc | --x-in | --x-i)
1757 ac_prev=x_includes ;;
1758 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1759 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1760 x_includes=$ac_optarg ;;
1762 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1763 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1764 ac_prev=x_libraries ;;
1765 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1766 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1767 x_libraries=$ac_optarg ;;
1769 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1770 Try \`$0 --help' for more information." >&2
1771 { (exit 1); exit 1; }; }
1775 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1776 # Reject names that are not valid shell variable names.
1777 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1778 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1779 { (exit 1); exit 1; }; }
1780 eval $ac_envvar=\$ac_optarg
1781 export $ac_envvar ;;
1784 # FIXME: should be removed in autoconf 3.0.
1785 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1786 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1787 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1788 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1794 if test -n "$ac_prev"; then
1795 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1796 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1797 { (exit 1); exit 1; }; }
1800 if test -n "$ac_unrecognized_opts"; then
1801 case $enable_option_checking in
1803 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1804 { (exit 1); exit 1; }; } ;;
1805 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1809 # Check all directory arguments for consistency.
1810 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1811 datadir sysconfdir sharedstatedir localstatedir includedir \
1812 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1813 libdir localedir mandir
1815 eval ac_val=\$$ac_var
1816 # Remove trailing slashes.
1819 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1820 eval $ac_var=\$ac_val;;
1822 # Be sure to have absolute directory names.
1824 [\\/$]* | ?:[\\/]* ) continue;;
1825 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1827 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1828 { (exit 1); exit 1; }; }
1831 # There might be people who depend on the old broken behavior: `$host'
1832 # used to hold the argument of --host etc.
1833 # FIXME: To remove some day.
1836 target=$target_alias
1838 # FIXME: To remove some day.
1839 if test "x$host_alias" != x; then
1840 if test "x$build_alias" = x; then
1841 cross_compiling=maybe
1842 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1843 If a cross compiler is detected then cross compile mode will be used." >&2
1844 elif test "x$build_alias" != "x$host_alias"; then
1850 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1852 test "$silent" = yes && exec 6>/dev/null
1855 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1856 ac_ls_di=`ls -di .` &&
1857 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1858 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1859 { (exit 1); exit 1; }; }
1860 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1861 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1862 { (exit 1); exit 1; }; }
1865 # Find the source files, if location was not specified.
1866 if test -z "$srcdir"; then
1867 ac_srcdir_defaulted=yes
1868 # Try the directory containing this script, then the parent directory.
1869 ac_confdir=`$as_dirname -- "$as_myself" ||
1870 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1871 X"$as_myself" : 'X\(//\)[^/]' \| \
1872 X"$as_myself" : 'X\(//\)$' \| \
1873 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1874 $as_echo X"$as_myself" |
1875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1893 if test ! -r "$srcdir/$ac_unique_file"; then
1897 ac_srcdir_defaulted=no
1899 if test ! -r "$srcdir/$ac_unique_file"; then
1900 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1901 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1902 { (exit 1); exit 1; }; }
1904 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1906 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1907 { (exit 1); exit 1; }; }
1909 # When building in place, set srcdir=.
1910 if test "$ac_abs_confdir" = "$ac_pwd"; then
1913 # Remove unnecessary trailing slashes from srcdir.
1914 # Double slashes in file names in object file debugging info
1915 # mess up M-x gdb in Emacs.
1917 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1919 for ac_var in $ac_precious_vars; do
1920 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1921 eval ac_env_${ac_var}_value=\$${ac_var}
1922 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1923 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1927 # Report the --help message.
1929 if test "$ac_init_help" = "long"; then
1930 # Omit some internal or obsolete options to make the list less imposing.
1931 # This message is too long to be a string in the A/UX 3.1 sh.
1933 \`configure' configures this package to adapt to many kinds of systems.
1935 Usage: $0 [OPTION]... [VAR=VALUE]...
1937 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1938 VAR=VALUE. See below for descriptions of some of the useful variables.
1940 Defaults for the options are specified in brackets.
1943 -h, --help display this help and exit
1944 --help=short display options specific to this package
1945 --help=recursive display the short help of all the included packages
1946 -V, --version display version information and exit
1947 -q, --quiet, --silent do not print \`checking...' messages
1948 --cache-file=FILE cache test results in FILE [disabled]
1949 -C, --config-cache alias for \`--cache-file=config.cache'
1950 -n, --no-create do not create output files
1951 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1953 Installation directories:
1954 --prefix=PREFIX install architecture-independent files in PREFIX
1955 [$ac_default_prefix]
1956 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1959 By default, \`make install' will install all the files in
1960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1962 for instance \`--prefix=\$HOME'.
1964 For better control, use the options below.
1966 Fine tuning of the installation directories:
1967 --bindir=DIR user executables [EPREFIX/bin]
1968 --sbindir=DIR system admin executables [EPREFIX/sbin]
1969 --libexecdir=DIR program executables [EPREFIX/libexec]
1970 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1971 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1972 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1973 --libdir=DIR object code libraries [EPREFIX/lib]
1974 --includedir=DIR C header files [PREFIX/include]
1975 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1976 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1977 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1978 --infodir=DIR info documentation [DATAROOTDIR/info]
1979 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1980 --mandir=DIR man documentation [DATAROOTDIR/man]
1981 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1982 --htmldir=DIR html documentation [DOCDIR]
1983 --dvidir=DIR dvi documentation [DOCDIR]
1984 --pdfdir=DIR pdf documentation [DOCDIR]
1985 --psdir=DIR ps documentation [DOCDIR]
1991 --program-prefix=PREFIX prepend PREFIX to installed program names
1992 --program-suffix=SUFFIX append SUFFIX to installed program names
1993 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1996 --build=BUILD configure for building on BUILD [guessed]
1997 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1998 --target=TARGET configure for building compilers for TARGET [HOST]
2002 if test -n "$ac_init_help"; then
2007 --disable-option-checking ignore unrecognized --enable/--with options
2008 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2009 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2010 --disable-dependency-tracking speeds up one-time build
2011 --enable-dependency-tracking do not reject slow dependency extractors
2012 --enable-shared[=PKGS] build shared libraries [default=yes]
2013 --enable-static[=PKGS] build static libraries [default=no]
2014 --enable-fast-install[=PKGS]
2015 optimize for fast installation [default=yes]
2016 --disable-libtool-lock avoid locking (might break parallel builds)
2017 --enable-fortran enable fortran (no)
2018 --enable-doxygen enable documentation generation with doxygen (auto)
2019 --enable-dot use 'dot' to generate graphs in doxygen (auto)
2020 --enable-altivec enable altivec on PowerPC (yes)
2021 --enable-all-components Build all configurable components (default), or stop on failed dependencies
2023 --enable-gruel Stop if gruel fails configuration
2024 --enable-omnithread Stop if omnithread fails configuration
2025 --enable-gcell Stop if gcell fails configuration
2026 --enable-gnuradio-core Stop if gnuradio-core fails configuration
2027 --enable-pmt Stop if pmt fails configuration
2028 --enable-mblock Stop if mblock fails configuration
2029 --enable-usrp Stop if usrp fails configuration
2030 --enable-usrp2 Stop if usrp2 fails configuration
2031 --enable-gr-usrp Stop if gr-usrp fails configuration
2032 --enable-gr-usrp2 Stop if gr-usrp2 fails configuration
2033 --enable-gr-gcell Stop if gr-gcell fails configuration
2034 --enable-gr-audio-alsa Stop if gr-audio-alsa fails configuration
2035 --enable-gr-audio-jack Stop if gr-audio-jack fails configuration
2036 --enable-gr-audio-oss Stop if gr-audio-oss fails configuration
2037 --enable-gr-audio-osx Stop if gr-audio-osx fails configuration
2038 --enable-gr-audio-portaudio
2039 Stop if gr-audio-portaudio fails configuration
2040 --enable-gr-audio-windows
2041 Stop if gr-audio-windows fails configuration
2042 --enable-gr-cvsd-vocoder
2043 Stop if gr-cvsd-vocoder fails configuration
2044 --enable-gr-gpio Stop if gr-gpio fails configuration
2045 --enable-gr-gsm-fr-vocoder
2046 Stop if gr-gsm-fr-vocoder fails configuration
2047 --enable-gr-pager Stop if gr-pager fails configuration
2048 --enable-gr-radar-mono Stop if gr-radar-mono fails configuration
2049 --enable-gr-radio-astronomy
2050 Stop if gr-radio-astronomy fails configuration
2051 --enable-gr-trellis Stop if gr-trellis fails configuration
2052 --enable-gr-video-sdl Stop if gr-video-sdl fails configuration
2053 --disable-sdltest Do not try to compile and run a test SDL program
2054 --enable-gr-wxgui Stop if gr-wxgui fails configuration
2055 --enable-gr-qtgui Stop if gr-qtgui fails configuration
2056 --enable-gr-sounder Stop if gr-sounder fails configuration
2057 --enable-gr-utils Stop if gr-utils fails configuration
2058 --enable-gnuradio-examples
2059 Stop if gnuradio-examples fails configuration
2060 --enable-grc Stop if grc fails configuration
2061 --enable-docs Stop if docs fails configuration
2064 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2065 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2066 --with-gprof Turn on gprof profiling
2067 --with-prof Turn on prof profiling
2068 --with-pic try to use only PIC/non-PIC objects [default=use
2070 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2071 --with-pythondir=DIR python installation directory (cross-compiling)
2072 [default=$prefix/lib/python2.5/site-packages]
2073 --with-md-cpu=ARCH set machine dependent speedups (auto)
2074 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2075 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2076 --with-boost[=DIR] use boost (default is yes) - it is possible to
2077 specify the root directory for boost (optional)
2078 --with-boost-libdir=LIB_DIR
2079 Force given directory for boost libraries. Note that
2080 this will overwrite library path detection, so use
2081 this parameter only if default library detection
2082 fails and you know exactly where your boost
2083 libraries are located.
2084 --with-boost-thread[=special-lib]
2085 Use the thread library from
2086 boost. It is possible to specify a certain library
2087 to the linker. E.g.,
2088 --with-boost-thread=boost_thread-gcc41-mt-1_35
2089 --with-boost-date-time[=special-lib]
2090 Use the date_time library from
2091 boost. It is possible to specify a certain library
2092 to the linker. E.g.,
2093 --with-boost-date-time=boost_date_time-gcc41-mt-1_35
2094 --with-boost-program-options[=special-lib]
2095 Use the program_options library
2096 from boost. It is possible to specify a certain
2097 library to the linker. E.g.,
2098 --with-boost-program-options=boost_program_options-gcc41-mt-1_35
2099 --with-gruel[=PATH] Use package gruel if installed in PATH (if
2100 specified) or PKG_CONFIG_PATH (if PATH not
2101 specified); stop if gruel not found
2102 --with-omnithread[=PATH]
2103 Use package omnithread if installed in PATH (if
2104 specified) or PKG_CONFIG_PATH (if PATH not
2105 specified); stop if omnithread not found
2106 --with-gnuradio-core[=PATH]
2107 Use package gnuradio-core if installed in PATH (if
2108 specified) or PKG_CONFIG_PATH (if PATH not
2109 specified); stop if gnuradio-core not found
2110 --with-cblas=<lib> use CBLAS library <lib>
2111 --with-pmt[=PATH] Use package pmt if installed in PATH (if specified)
2112 or PKG_CONFIG_PATH (if PATH not specified); stop if
2114 --with-mblock[=PATH] Use package mblock if installed in PATH (if
2115 specified) or PKG_CONFIG_PATH (if PATH not
2116 specified); stop if mblock not found
2117 --with-usrp[=PATH] Use package usrp if installed in PATH (if specified)
2118 or PKG_CONFIG_PATH (if PATH not specified); stop if
2120 --with-fusb-tech=OS Set fast USB technique (default=auto)
2121 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2122 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2123 --with-gr-wxgui[=PATH] Use package gr-wxgui if installed in PATH (if
2124 specified) or PKG_CONFIG_PATH (if PATH not
2125 specified); stop if gr-wxgui not found
2126 --with-qwt-libdir=path Prefix where QWT library is installed (optional)
2127 --with-qwt-incdir=path Prefix where QWT include files are (optional)
2128 --with-qwt-lib=library QWT library name (optional)
2129 --with-qwtplot3d-libdir=path Prefix where QWTPLOT3D library is installed (optional)
2130 --with-qwtplot3d-incdir=path Prefix where QWTPLOT3D include files are (optional)
2131 --with-qwtplot3d-lib=library QWT Plot3D library name (optional)
2133 Some influential environment variables:
2134 CC C compiler command
2135 CFLAGS C compiler flags
2136 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2137 nonstandard directory <lib dir>
2138 LIBS libraries to pass to the linker, e.g. -l<library>
2139 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
2140 you have headers in a nonstandard directory <include dir>
2142 CXX C++ compiler command
2143 CXXFLAGS C++ compiler flags
2144 CXXCPP C++ preprocessor
2145 CCAS assembler compiler command (defaults to CC)
2146 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
2147 F77 Fortran 77 compiler command
2148 FFLAGS Fortran 77 compiler flags
2149 PKG_CONFIG path to pkg-config utility
2151 C compiler flags for FFTW3F, overriding pkg-config
2152 FFTW3F_LIBS linker flags for FFTW3F, overriding pkg-config
2154 includedir for FFTW3F, overriding pkg-config
2156 C compiler flags for CPPUNIT, overriding pkg-config
2158 linker flags for CPPUNIT, overriding pkg-config
2160 includedir for CPPUNIT, overriding pkg-config
2161 GSL_CFLAGS C compiler flags for GSL, overriding pkg-config
2162 GSL_LIBS linker flags for GSL, overriding pkg-config
2164 includedir for GSL, overriding pkg-config
2165 USB_CFLAGS C compiler flags for USB, overriding pkg-config
2166 USB_LIBS linker flags for USB, overriding pkg-config
2168 includedir for USB, overriding pkg-config
2169 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
2170 ALSA_LIBS linker flags for ALSA, overriding pkg-config
2172 includedir for ALSA, overriding pkg-config
2173 JACK_CFLAGS C compiler flags for JACK, overriding pkg-config
2174 JACK_LIBS linker flags for JACK, overriding pkg-config
2176 includedir for JACK, overriding pkg-config
2178 C compiler flags for PORTAUDIO, overriding pkg-config
2180 linker flags for PORTAUDIO, overriding pkg-config
2181 PORTAUDIO_INCLUDEDIR
2182 includedir for PORTAUDIO, overriding pkg-config
2183 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
2184 SDL_LIBS linker flags for SDL, overriding pkg-config
2186 includedir for SDL, overriding pkg-config
2188 C compiler flags for QTCORE, overriding pkg-config
2189 QTCORE_LIBS linker flags for QTCORE, overriding pkg-config
2191 includedir for QTCORE, overriding pkg-config
2193 C compiler flags for QTGUI, overriding pkg-config
2194 QTGUI_LIBS linker flags for QTGUI, overriding pkg-config
2196 includedir for QTGUI, overriding pkg-config
2198 C compiler flags for QTOPENGL, overriding pkg-config
2200 linker flags for QTOPENGL, overriding pkg-config
2202 includedir for QTOPENGL, overriding pkg-config
2204 Use these variables to override the choices made by `configure' or to help
2205 it to find libraries and programs with nonstandard names/locations.
2211 if test "$ac_init_help" = "recursive"; then
2212 # If there are subdirs, report their specific --help.
2213 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2214 test -d "$ac_dir" ||
2215 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2220 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2222 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2223 # A ".." for each directory in $ac_dir_suffix.
2224 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2225 case $ac_top_builddir_sub in
2226 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2227 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2230 ac_abs_top_builddir=$ac_pwd
2231 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2232 # for backward compatibility:
2233 ac_top_builddir=$ac_top_build_prefix
2236 .) # We are building in place.
2238 ac_top_srcdir=$ac_top_builddir_sub
2239 ac_abs_top_srcdir=$ac_pwd ;;
2240 [\\/]* | ?:[\\/]* ) # Absolute name.
2241 ac_srcdir=$srcdir$ac_dir_suffix;
2242 ac_top_srcdir=$srcdir
2243 ac_abs_top_srcdir=$srcdir ;;
2245 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2246 ac_top_srcdir=$ac_top_build_prefix$srcdir
2247 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2249 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2251 cd "$ac_dir" || { ac_status=$?; continue; }
2252 # Check for guested configure.
2253 if test -f "$ac_srcdir/configure.gnu"; then
2255 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2256 elif test -f "$ac_srcdir/configure"; then
2258 $SHELL "$ac_srcdir/configure" --help=recursive
2260 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2262 cd "$ac_pwd" || { ac_status=$?; break; }
2266 test -n "$ac_init_help" && exit $ac_status
2267 if $ac_init_version; then
2270 generated by GNU Autoconf 2.63
2272 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2273 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2274 This configure script is free software; the Free Software Foundation
2275 gives unlimited permission to copy, distribute and modify it.
2279 cat >config.log <<_ACEOF
2280 This file contains any messages produced by compilers while
2281 running configure, to aid debugging if configure makes a mistake.
2283 It was created by $as_me, which was
2284 generated by GNU Autoconf 2.63. Invocation command line was
2296 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2297 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2298 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2299 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2300 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2302 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2303 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2305 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2306 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2307 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2308 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2309 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2310 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2311 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2319 test -z "$as_dir" && as_dir=.
2320 $as_echo "PATH: $as_dir"
2336 # Keep a trace of the command line.
2337 # Strip out --no-create and --no-recursion so they do not pile up.
2338 # Strip out --silent because we don't want to record it for future runs.
2339 # Also quote any args containing shell meta-characters.
2340 # Make two passes to allow for proper duplicate-argument suppression.
2344 ac_must_keep_next=false
2350 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2351 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2352 | -silent | --silent | --silen | --sile | --sil)
2355 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2358 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2360 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2361 if test $ac_must_keep_next = true; then
2362 ac_must_keep_next=false # Got value, back to normal.
2365 *=* | --config-cache | -C | -disable-* | --disable-* \
2366 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2367 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2368 | -with-* | --with-* | -without-* | --without-* | --x)
2369 case "$ac_configure_args0 " in
2370 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2373 -* ) ac_must_keep_next=true ;;
2376 ac_configure_args="$ac_configure_args '$ac_arg'"
2381 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2382 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2384 # When interrupted or exit'd, cleanup temporary files, and complete
2385 # config.log. We remove comments because anyway the quotes in there
2386 # would cause problems or look ugly.
2387 # WARNING: Use '\'' to represent an apostrophe within the trap.
2388 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2389 trap 'exit_status=$?
2390 # Save into config.log some information that might help in debugging.
2395 ## ---------------- ##
2396 ## Cache variables. ##
2397 ## ---------------- ##
2400 # The following way of writing the cache mishandles newlines in values,
2402 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2403 eval ac_val=\$$ac_var
2407 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2408 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2411 _ | IFS | as_nl) ;; #(
2412 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2413 *) $as_unset $ac_var ;;
2418 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2419 *${as_nl}ac_space=\ *)
2421 "s/'\''/'\''\\\\'\'''\''/g;
2422 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2425 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2433 ## ----------------- ##
2434 ## Output variables. ##
2435 ## ----------------- ##
2438 for ac_var in $ac_subst_vars
2440 eval ac_val=\$$ac_var
2442 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2444 $as_echo "$ac_var='\''$ac_val'\''"
2448 if test -n "$ac_subst_files"; then
2450 ## ------------------- ##
2451 ## File substitutions. ##
2452 ## ------------------- ##
2455 for ac_var in $ac_subst_files
2457 eval ac_val=\$$ac_var
2459 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2461 $as_echo "$ac_var='\''$ac_val'\''"
2466 if test -s confdefs.h; then
2476 test "$ac_signal" != 0 &&
2477 $as_echo "$as_me: caught signal $ac_signal"
2478 $as_echo "$as_me: exit $exit_status"
2480 rm -f core *.core core.conftest.* &&
2481 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2484 for ac_signal in 1 2 13 15; do
2485 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2489 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2490 rm -f -r conftest* confdefs.h
2492 # Predefined preprocessor variables.
2494 cat >>confdefs.h <<_ACEOF
2495 #define PACKAGE_NAME "$PACKAGE_NAME"
2499 cat >>confdefs.h <<_ACEOF
2500 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2504 cat >>confdefs.h <<_ACEOF
2505 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2509 cat >>confdefs.h <<_ACEOF
2510 #define PACKAGE_STRING "$PACKAGE_STRING"
2514 cat >>confdefs.h <<_ACEOF
2515 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2519 # Let the site file select an alternate cache file if it wants to.
2520 # Prefer an explicitly selected file to automatically selected ones.
2523 if test -n "$CONFIG_SITE"; then
2524 ac_site_file1=$CONFIG_SITE
2525 elif test "x$prefix" != xNONE; then
2526 ac_site_file1=$prefix/share/config.site
2527 ac_site_file2=$prefix/etc/config.site
2529 ac_site_file1=$ac_default_prefix/share/config.site
2530 ac_site_file2=$ac_default_prefix/etc/config.site
2532 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2534 test "x$ac_site_file" = xNONE && continue
2535 if test -r "$ac_site_file"; then
2536 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2537 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2538 sed 's/^/| /' "$ac_site_file" >&5
2543 if test -r "$cache_file"; then
2544 # Some versions of bash will fail to source /dev/null (special
2545 # files actually), so we avoid doing that.
2546 if test -f "$cache_file"; then
2547 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2548 $as_echo "$as_me: loading cache $cache_file" >&6;}
2550 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2551 *) . "./$cache_file";;
2555 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2556 $as_echo "$as_me: creating cache $cache_file" >&6;}
2560 # Check that the precious variables saved in the cache have kept the same
2562 ac_cache_corrupted=false
2563 for ac_var in $ac_precious_vars; do
2564 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2565 eval ac_new_set=\$ac_env_${ac_var}_set
2566 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2567 eval ac_new_val=\$ac_env_${ac_var}_value
2568 case $ac_old_set,$ac_new_set in
2570 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2571 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2572 ac_cache_corrupted=: ;;
2574 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2575 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2576 ac_cache_corrupted=: ;;
2579 if test "x$ac_old_val" != "x$ac_new_val"; then
2580 # differences in whitespace do not lead to failure.
2581 ac_old_val_w=`echo x $ac_old_val`
2582 ac_new_val_w=`echo x $ac_new_val`
2583 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2584 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2585 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2586 ac_cache_corrupted=:
2588 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2589 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2590 eval $ac_var=\$ac_old_val
2592 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2593 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2594 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2595 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2598 # Pass precious variables to config.status.
2599 if test "$ac_new_set" = set; then
2601 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2602 *) ac_arg=$ac_var=$ac_new_val ;;
2604 case " $ac_configure_args " in
2605 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2606 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2610 if $ac_cache_corrupted; then
2611 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2613 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2614 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2615 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2616 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2617 { (exit 1); exit 1; }; }
2637 ac_cpp='$CPP $CPPFLAGS'
2638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2644 ac_config_headers="$ac_config_headers config.h"
2649 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2650 if test -f "$ac_dir/install-sh"; then
2652 ac_install_sh="$ac_aux_dir/install-sh -c"
2654 elif test -f "$ac_dir/install.sh"; then
2656 ac_install_sh="$ac_aux_dir/install.sh -c"
2658 elif test -f "$ac_dir/shtool"; then
2660 ac_install_sh="$ac_aux_dir/shtool install -c"
2664 if test -z "$ac_aux_dir"; then
2665 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2666 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2667 { (exit 1); exit 1; }; }
2670 # These three variables are undocumented and unsupported,
2671 # and are intended to be withdrawn in a future Autoconf release.
2672 # They can cause serious problems if a builder's source tree is in a directory
2673 # whose full name contains unusual characters.
2674 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2675 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2676 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2679 # Make sure we can run config.sub.
2680 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2681 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2682 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2683 { (exit 1); exit 1; }; }
2685 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2686 $as_echo_n "checking build system type... " >&6; }
2687 if test "${ac_cv_build+set}" = set; then
2688 $as_echo_n "(cached) " >&6
2690 ac_build_alias=$build_alias
2691 test "x$ac_build_alias" = x &&
2692 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2693 test "x$ac_build_alias" = x &&
2694 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2695 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2696 { (exit 1); exit 1; }; }
2697 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2698 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2699 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2700 { (exit 1); exit 1; }; }
2703 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2704 $as_echo "$ac_cv_build" >&6; }
2705 case $ac_cv_build in
2707 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2708 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2709 { (exit 1); exit 1; }; };;
2712 ac_save_IFS=$IFS; IFS='-'
2718 # Remember, the first character of IFS is used to create $*,
2719 # except with old shells:
2722 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2725 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2726 $as_echo_n "checking host system type... " >&6; }
2727 if test "${ac_cv_host+set}" = set; then
2728 $as_echo_n "(cached) " >&6
2730 if test "x$host_alias" = x; then
2731 ac_cv_host=$ac_cv_build
2733 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2734 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2735 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2736 { (exit 1); exit 1; }; }
2740 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2741 $as_echo "$ac_cv_host" >&6; }
2744 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2745 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2746 { (exit 1); exit 1; }; };;
2749 ac_save_IFS=$IFS; IFS='-'
2755 # Remember, the first character of IFS is used to create $*,
2756 # except with old shells:
2759 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2762 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2763 $as_echo_n "checking target system type... " >&6; }
2764 if test "${ac_cv_target+set}" = set; then
2765 $as_echo_n "(cached) " >&6
2767 if test "x$target_alias" = x; then
2768 ac_cv_target=$ac_cv_host
2770 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2771 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2772 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2773 { (exit 1); exit 1; }; }
2777 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2778 $as_echo "$ac_cv_target" >&6; }
2779 case $ac_cv_target in
2781 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2782 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2783 { (exit 1); exit 1; }; };;
2785 target=$ac_cv_target
2786 ac_save_IFS=$IFS; IFS='-'
2792 # Remember, the first character of IFS is used to create $*,
2793 # except with old shells:
2796 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2799 # The aliases save the names the user supplied, while $host etc.
2800 # will get canonicalized.
2801 test -n "$target_alias" &&
2802 test "$program_prefix$program_suffix$program_transform_name" = \
2804 program_prefix=${target_alias}-
2806 am__api_version='1.10'
2808 # Find a good install program. We prefer a C program (faster),
2809 # so one script is as good as another. But avoid the broken or
2810 # incompatible versions:
2811 # SysV /etc/install, /usr/sbin/install
2812 # SunOS /usr/etc/install
2813 # IRIX /sbin/install
2815 # AmigaOS /C/install, which installs bootblocks on floppy discs
2816 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2817 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2818 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2819 # OS/2's system install, which has a completely different semantic
2820 # ./install, which can be erroneously created by make from ./install.sh.
2821 # Reject install programs that cannot install multiple files.
2822 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2823 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2824 if test -z "$INSTALL"; then
2825 if test "${ac_cv_path_install+set}" = set; then
2826 $as_echo_n "(cached) " >&6
2828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832 test -z "$as_dir" && as_dir=.
2833 # Account for people who put trailing slashes in PATH elements.
2835 ./ | .// | /cC/* | \
2836 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2837 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2840 # OSF1 and SCO ODT 3.0 have their own names for install.
2841 # Don't use installbsd from OSF since it installs stuff as root
2843 for ac_prog in ginstall scoinst install; do
2844 for ac_exec_ext in '' $ac_executable_extensions; do
2845 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2846 if test $ac_prog = install &&
2847 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2848 # AIX install. It has an incompatible calling convention.
2850 elif test $ac_prog = install &&
2851 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2852 # program-specific install script used by HP pwplus--don't use.
2855 rm -rf conftest.one conftest.two conftest.dir
2856 echo one > conftest.one
2857 echo two > conftest.two
2859 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2860 test -s conftest.one && test -s conftest.two &&
2861 test -s conftest.dir/conftest.one &&
2862 test -s conftest.dir/conftest.two
2864 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2877 rm -rf conftest.one conftest.two conftest.dir
2880 if test "${ac_cv_path_install+set}" = set; then
2881 INSTALL=$ac_cv_path_install
2883 # As a last resort, use the slow shell script. Don't cache a
2884 # value for INSTALL within a source directory, because that will
2885 # break other packages using the cache if that directory is
2886 # removed, or if the value is a relative name.
2887 INSTALL=$ac_install_sh
2890 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2891 $as_echo "$INSTALL" >&6; }
2893 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2894 # It thinks the first close brace ends the variable substitution.
2895 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2897 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2899 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2901 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2902 $as_echo_n "checking whether build environment is sane... " >&6; }
2905 echo timestamp > conftest.file
2906 # Do `set' in a subshell so we don't clobber the current shell's
2907 # arguments. Must try -L first in case configure is actually a
2908 # symlink; some systems play weird games with the mod time of symlinks
2909 # (eg FreeBSD returns the mod time of the symlink's containing
2912 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2913 if test "$*" = "X"; then
2915 set X `ls -t $srcdir/configure conftest.file`
2918 if test "$*" != "X $srcdir/configure conftest.file" \
2919 && test "$*" != "X conftest.file $srcdir/configure"; then
2921 # If neither matched, then we have a broken ls. This can happen
2922 # if, for instance, CONFIG_SHELL is bash and it inherits a
2923 # broken ls alias from the environment. This has actually
2924 # happened. Such a system could not be considered "sane".
2925 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2926 alias in your environment" >&5
2927 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2928 alias in your environment" >&2;}
2929 { (exit 1); exit 1; }; }
2932 test "$2" = conftest.file
2938 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2939 Check your system clock" >&5
2940 $as_echo "$as_me: error: newly created file is older than distributed files!
2941 Check your system clock" >&2;}
2942 { (exit 1); exit 1; }; }
2944 { $as_echo "$as_me:$LINENO: result: yes" >&5
2945 $as_echo "yes" >&6; }
2946 test "$program_prefix" != NONE &&
2947 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2948 # Use a double $ so make ignores it.
2949 test "$program_suffix" != NONE &&
2950 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2951 # Double any \ or $.
2952 # By default was `s,x,x', remove it if useless.
2953 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2954 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2956 # expand $ac_aux_dir to an absolute path
2957 am_aux_dir=`cd $ac_aux_dir && pwd`
2959 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2960 # Use eval to expand $SHELL
2961 if eval "$MISSING --run true"; then
2962 am_missing_run="$MISSING --run "
2965 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2966 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2969 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2970 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2971 if test -z "$MKDIR_P"; then
2972 if test "${ac_cv_path_mkdir+set}" = set; then
2973 $as_echo_n "(cached) " >&6
2975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2976 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2979 test -z "$as_dir" && as_dir=.
2980 for ac_prog in mkdir gmkdir; do
2981 for ac_exec_ext in '' $ac_executable_extensions; do
2982 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2983 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2984 'mkdir (GNU coreutils) '* | \
2985 'mkdir (coreutils) '* | \
2986 'mkdir (fileutils) '4.1*)
2987 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2997 if test "${ac_cv_path_mkdir+set}" = set; then
2998 MKDIR_P="$ac_cv_path_mkdir -p"
3000 # As a last resort, use the slow shell script. Don't cache a
3001 # value for MKDIR_P within a source directory, because that will
3002 # break other packages using the cache if that directory is
3003 # removed, or if the value is a relative name.
3004 test -d ./--version && rmdir ./--version
3005 MKDIR_P="$ac_install_sh -d"
3008 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3009 $as_echo "$MKDIR_P" >&6; }
3013 [\\/$]* | ?:[\\/]*) ;;
3014 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3017 for ac_prog in gawk mawk nawk awk
3019 # Extract the first word of "$ac_prog", so it can be a program name with args.
3020 set dummy $ac_prog; ac_word=$2
3021 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3022 $as_echo_n "checking for $ac_word... " >&6; }
3023 if test "${ac_cv_prog_AWK+set}" = set; then
3024 $as_echo_n "(cached) " >&6
3026 if test -n "$AWK"; then
3027 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 test -z "$as_dir" && as_dir=.
3034 for ac_exec_ext in '' $ac_executable_extensions; do
3035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036 ac_cv_prog_AWK="$ac_prog"
3037 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3047 if test -n "$AWK"; then
3048 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
3049 $as_echo "$AWK" >&6; }
3051 { $as_echo "$as_me:$LINENO: result: no" >&5
3052 $as_echo "no" >&6; }
3056 test -n "$AWK" && break
3059 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3060 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3062 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3063 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3064 $as_echo_n "(cached) " >&6
3066 cat >conftest.make <<\_ACEOF
3069 @echo '@@@%%%=$(MAKE)=@@@%%%'
3071 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3072 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3074 eval ac_cv_prog_make_${ac_make}_set=yes;;
3076 eval ac_cv_prog_make_${ac_make}_set=no;;
3080 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3081 { $as_echo "$as_me:$LINENO: result: yes" >&5
3082 $as_echo "yes" >&6; }
3085 { $as_echo "$as_me:$LINENO: result: no" >&5
3086 $as_echo "no" >&6; }
3087 SET_MAKE="MAKE=${MAKE-make}"
3090 rm -rf .tst 2>/dev/null
3091 mkdir .tst 2>/dev/null
3092 if test -d .tst; then
3097 rmdir .tst 2>/dev/null
3099 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3100 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3101 # is not polluted with repeated "-I."
3102 am__isrc=' -I$(srcdir)'
3103 # test to see if srcdir already configured
3104 if test -f $srcdir/config.status; then
3105 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3106 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3107 { (exit 1); exit 1; }; }
3111 # test whether we have cygpath
3112 if test -z "$CYGPATH_W"; then
3113 if (cygpath --version) >/dev/null 2>/dev/null; then
3114 CYGPATH_W='cygpath -w'
3121 # Define the identity of the package.
3126 cat >>confdefs.h <<_ACEOF
3127 #define PACKAGE "$PACKAGE"
3131 cat >>confdefs.h <<_ACEOF
3132 #define VERSION "$VERSION"
3135 # Some tools Automake needs.
3137 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3140 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3143 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3146 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3149 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3151 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
3153 # Installed binaries are usually stripped using `strip' when the user
3154 # run `make install-strip'. However `strip' might not be the right
3155 # tool to use in cross-compilation environments, therefore Automake
3156 # will honor the `STRIP' environment variable to overrule this program.
3157 if test "$cross_compiling" != no; then
3158 if test -n "$ac_tool_prefix"; then
3159 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3160 set dummy ${ac_tool_prefix}strip; ac_word=$2
3161 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3162 $as_echo_n "checking for $ac_word... " >&6; }
3163 if test "${ac_cv_prog_STRIP+set}" = set; then
3164 $as_echo_n "(cached) " >&6
3166 if test -n "$STRIP"; then
3167 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173 test -z "$as_dir" && as_dir=.
3174 for ac_exec_ext in '' $ac_executable_extensions; do
3175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3176 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3177 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3186 STRIP=$ac_cv_prog_STRIP
3187 if test -n "$STRIP"; then
3188 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
3189 $as_echo "$STRIP" >&6; }
3191 { $as_echo "$as_me:$LINENO: result: no" >&5
3192 $as_echo "no" >&6; }
3197 if test -z "$ac_cv_prog_STRIP"; then
3199 # Extract the first word of "strip", so it can be a program name with args.
3200 set dummy strip; ac_word=$2
3201 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3202 $as_echo_n "checking for $ac_word... " >&6; }
3203 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3204 $as_echo_n "(cached) " >&6
3206 if test -n "$ac_ct_STRIP"; then
3207 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3213 test -z "$as_dir" && as_dir=.
3214 for ac_exec_ext in '' $ac_executable_extensions; do
3215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3216 ac_cv_prog_ac_ct_STRIP="strip"
3217 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3226 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3227 if test -n "$ac_ct_STRIP"; then
3228 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3229 $as_echo "$ac_ct_STRIP" >&6; }
3231 { $as_echo "$as_me:$LINENO: result: no" >&5
3232 $as_echo "no" >&6; }
3235 if test "x$ac_ct_STRIP" = x; then
3238 case $cross_compiling:$ac_tool_warned in
3240 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3242 ac_tool_warned=yes ;;
3247 STRIP="$ac_cv_prog_STRIP"
3251 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3253 # We need awk for the "check" target. The system "awk" is bad on
3255 # Always define AMTAR for backward compatibility.
3257 AMTAR=${AMTAR-"${am_missing_run}tar"}
3259 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3269 if test -n "${CFLAGS}"; then
3272 if test -n "${CXXFLAGS}"; then
3273 user_set_cxxflags=yes
3277 DEPDIR="${am__leading_dot}deps"
3279 ac_config_commands="$ac_config_commands depfiles"
3282 am_make=${MAKE-make}
3283 cat > confinc << 'END'
3288 # If we don't find an include directive, just comment out the code.
3289 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3290 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3294 # First try GNU make style include.
3295 echo "include confinc" > confmf
3296 # We grep out `Entering directory' and `Leaving directory'
3297 # messages which can occur if `w' ends up in MAKEFLAGS.
3298 # In particular we don't look at `^make:' because GNU make might
3299 # be invoked under some other name (usually "gmake"), in which
3300 # case it prints its new name instead of `make'.
3301 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3306 # Now try BSD make style include.
3307 if test "$am__include" = "#"; then
3308 echo '.include "confinc"' > confmf
3309 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3310 am__include=.include
3317 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3318 $as_echo "$_am_result" >&6; }
3319 rm -f confinc confmf
3321 # Check whether --enable-dependency-tracking was given.
3322 if test "${enable_dependency_tracking+set}" = set; then
3323 enableval=$enable_dependency_tracking;
3326 if test "x$enable_dependency_tracking" != xno; then
3327 am_depcomp="$ac_aux_dir/depcomp"
3330 if test "x$enable_dependency_tracking" != xno; then
3340 ac_cpp='$CPP $CPPFLAGS'
3341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3344 if test -n "$ac_tool_prefix"; then
3345 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3346 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3347 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3348 $as_echo_n "checking for $ac_word... " >&6; }
3349 if test "${ac_cv_prog_CC+set}" = set; then
3350 $as_echo_n "(cached) " >&6
3352 if test -n "$CC"; then
3353 ac_cv_prog_CC="$CC" # Let the user override the test.
3355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3359 test -z "$as_dir" && as_dir=.
3360 for ac_exec_ext in '' $ac_executable_extensions; do
3361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3362 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3363 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3373 if test -n "$CC"; then
3374 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3375 $as_echo "$CC" >&6; }
3377 { $as_echo "$as_me:$LINENO: result: no" >&5
3378 $as_echo "no" >&6; }
3383 if test -z "$ac_cv_prog_CC"; then
3385 # Extract the first word of "gcc", so it can be a program name with args.
3386 set dummy gcc; ac_word=$2
3387 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3388 $as_echo_n "checking for $ac_word... " >&6; }
3389 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3390 $as_echo_n "(cached) " >&6
3392 if test -n "$ac_ct_CC"; then
3393 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3399 test -z "$as_dir" && as_dir=.
3400 for ac_exec_ext in '' $ac_executable_extensions; do
3401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3402 ac_cv_prog_ac_ct_CC="gcc"
3403 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3412 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3413 if test -n "$ac_ct_CC"; then
3414 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3415 $as_echo "$ac_ct_CC" >&6; }
3417 { $as_echo "$as_me:$LINENO: result: no" >&5
3418 $as_echo "no" >&6; }
3421 if test "x$ac_ct_CC" = x; then
3424 case $cross_compiling:$ac_tool_warned in
3426 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3428 ac_tool_warned=yes ;;
3436 if test -z "$CC"; then
3437 if test -n "$ac_tool_prefix"; then
3438 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3439 set dummy ${ac_tool_prefix}cc; ac_word=$2
3440 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3441 $as_echo_n "checking for $ac_word... " >&6; }
3442 if test "${ac_cv_prog_CC+set}" = set; then
3443 $as_echo_n "(cached) " >&6
3445 if test -n "$CC"; then
3446 ac_cv_prog_CC="$CC" # Let the user override the test.
3448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3452 test -z "$as_dir" && as_dir=.
3453 for ac_exec_ext in '' $ac_executable_extensions; do
3454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3455 ac_cv_prog_CC="${ac_tool_prefix}cc"
3456 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3466 if test -n "$CC"; then
3467 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3468 $as_echo "$CC" >&6; }
3470 { $as_echo "$as_me:$LINENO: result: no" >&5
3471 $as_echo "no" >&6; }
3477 if test -z "$CC"; then
3478 # Extract the first word of "cc", so it can be a program name with args.
3479 set dummy cc; ac_word=$2
3480 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3481 $as_echo_n "checking for $ac_word... " >&6; }
3482 if test "${ac_cv_prog_CC+set}" = set; then
3483 $as_echo_n "(cached) " >&6
3485 if test -n "$CC"; then
3486 ac_cv_prog_CC="$CC" # Let the user override the test.
3489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3493 test -z "$as_dir" && as_dir=.
3494 for ac_exec_ext in '' $ac_executable_extensions; do
3495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3496 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3497 ac_prog_rejected=yes
3501 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3508 if test $ac_prog_rejected = yes; then
3509 # We found a bogon in the path, so make sure we never use it.
3510 set dummy $ac_cv_prog_CC
3512 if test $# != 0; then
3513 # We chose a different compiler from the bogus one.
3514 # However, it has the same basename, so the bogon will be chosen
3515 # first if we set CC to just the basename; use the full file name.
3517 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3523 if test -n "$CC"; then
3524 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3525 $as_echo "$CC" >&6; }
3527 { $as_echo "$as_me:$LINENO: result: no" >&5
3528 $as_echo "no" >&6; }
3533 if test -z "$CC"; then
3534 if test -n "$ac_tool_prefix"; then
3535 for ac_prog in cl.exe
3537 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3538 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3539 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3540 $as_echo_n "checking for $ac_word... " >&6; }
3541 if test "${ac_cv_prog_CC+set}" = set; then
3542 $as_echo_n "(cached) " >&6
3544 if test -n "$CC"; then
3545 ac_cv_prog_CC="$CC" # Let the user override the test.
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 test -z "$as_dir" && as_dir=.
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3554 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3555 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3565 if test -n "$CC"; then
3566 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3567 $as_echo "$CC" >&6; }
3569 { $as_echo "$as_me:$LINENO: result: no" >&5
3570 $as_echo "no" >&6; }
3574 test -n "$CC" && break
3577 if test -z "$CC"; then
3579 for ac_prog in cl.exe
3581 # Extract the first word of "$ac_prog", so it can be a program name with args.
3582 set dummy $ac_prog; ac_word=$2
3583 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3584 $as_echo_n "checking for $ac_word... " >&6; }
3585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3586 $as_echo_n "(cached) " >&6
3588 if test -n "$ac_ct_CC"; then
3589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3595 test -z "$as_dir" && as_dir=.
3596 for ac_exec_ext in '' $ac_executable_extensions; do
3597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3598 ac_cv_prog_ac_ct_CC="$ac_prog"
3599 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3609 if test -n "$ac_ct_CC"; then
3610 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3611 $as_echo "$ac_ct_CC" >&6; }
3613 { $as_echo "$as_me:$LINENO: result: no" >&5
3614 $as_echo "no" >&6; }
3618 test -n "$ac_ct_CC" && break
3621 if test "x$ac_ct_CC" = x; then
3624 case $cross_compiling:$ac_tool_warned in
3626 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3628 ac_tool_warned=yes ;;
3637 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3639 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3640 See \`config.log' for more details." >&5
3641 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3642 See \`config.log' for more details." >&2;}
3643 { (exit 1); exit 1; }; }; }
3645 # Provide some information about the compiler.
3646 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3649 { (ac_try="$ac_compiler --version >&5"
3651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3652 *) ac_try_echo=$ac_try;;
3654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3655 $as_echo "$ac_try_echo") >&5
3656 (eval "$ac_compiler --version >&5") 2>&5
3658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); }
3660 { (ac_try="$ac_compiler -v >&5"
3662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3663 *) ac_try_echo=$ac_try;;
3665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3666 $as_echo "$ac_try_echo") >&5
3667 (eval "$ac_compiler -v >&5") 2>&5
3669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); }
3671 { (ac_try="$ac_compiler -V >&5"
3673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3674 *) ac_try_echo=$ac_try;;
3676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3677 $as_echo "$ac_try_echo") >&5
3678 (eval "$ac_compiler -V >&5") 2>&5
3680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); }
3683 cat >conftest.$ac_ext <<_ACEOF
3686 cat confdefs.h >>conftest.$ac_ext
3687 cat >>conftest.$ac_ext <<_ACEOF
3688 /* end confdefs.h. */
3698 ac_clean_files_save=$ac_clean_files
3699 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3700 # Try to create an executable without -o first, disregard a.out.
3701 # It will help us diagnose broken compilers, and finding out an intuition
3703 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3704 $as_echo_n "checking for C compiler default output file name... " >&6; }
3705 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3707 # The possible output files:
3708 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3711 for ac_file in $ac_files
3714 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3715 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3720 if { (ac_try="$ac_link_default"
3722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723 *) ac_try_echo=$ac_try;;
3725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3726 $as_echo "$ac_try_echo") >&5
3727 (eval "$ac_link_default") 2>&5
3729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); }; then
3731 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3732 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3733 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3734 # so that the user can short-circuit this test for compilers unknown to
3736 for ac_file in $ac_files ''
3738 test -f "$ac_file" || continue
3740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3743 # We found the default executable, but exeext='' is most
3747 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3749 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3751 # We set ac_cv_exeext here because the later test for it is not
3752 # safe: cross compilers may not add the suffix if given an `-o'
3753 # argument, so we may need to know it at that point already.
3754 # Even if this section looks crufty: it has the advantage of
3761 test "$ac_cv_exeext" = no && ac_cv_exeext=
3767 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3768 $as_echo "$ac_file" >&6; }
3769 if test -z "$ac_file"; then
3770 $as_echo "$as_me: failed program was:" >&5
3771 sed 's/^/| /' conftest.$ac_ext >&5
3773 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3775 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3776 See \`config.log' for more details." >&5
3777 $as_echo "$as_me: error: C compiler cannot create executables
3778 See \`config.log' for more details." >&2;}
3779 { (exit 77); exit 77; }; }; }
3782 ac_exeext=$ac_cv_exeext
3784 # Check that the compiler produces executables we can run. If not, either
3785 # the compiler is broken, or we cross compile.
3786 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3787 $as_echo_n "checking whether the C compiler works... " >&6; }
3788 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3789 # If not cross compiling, check that we can run a simple program.
3790 if test "$cross_compiling" != yes; then
3791 if { ac_try='./$ac_file'
3792 { (case "(($ac_try" in
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3796 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3797 $as_echo "$ac_try_echo") >&5
3798 (eval "$ac_try") 2>&5
3800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); }; }; then
3804 if test "$cross_compiling" = maybe; then
3807 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3809 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3810 If you meant to cross compile, use \`--host'.
3811 See \`config.log' for more details." >&5
3812 $as_echo "$as_me: error: cannot run C compiled programs.
3813 If you meant to cross compile, use \`--host'.
3814 See \`config.log' for more details." >&2;}
3815 { (exit 1); exit 1; }; }; }
3819 { $as_echo "$as_me:$LINENO: result: yes" >&5
3820 $as_echo "yes" >&6; }
3822 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3823 ac_clean_files=$ac_clean_files_save
3824 # Check that the compiler produces executables we can run. If not, either
3825 # the compiler is broken, or we cross compile.
3826 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3827 $as_echo_n "checking whether we are cross compiling... " >&6; }
3828 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3829 $as_echo "$cross_compiling" >&6; }
3831 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3832 $as_echo_n "checking for suffix of executables... " >&6; }
3833 if { (ac_try="$ac_link"
3835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3836 *) ac_try_echo=$ac_try;;
3838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3839 $as_echo "$ac_try_echo") >&5
3840 (eval "$ac_link") 2>&5
3842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); }; then
3844 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3845 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3846 # work properly (i.e., refer to `conftest.exe'), while it won't with
3848 for ac_file in conftest.exe conftest conftest.*; do
3849 test -f "$ac_file" || continue
3851 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3852 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3858 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3860 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3861 See \`config.log' for more details." >&5
3862 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3863 See \`config.log' for more details." >&2;}
3864 { (exit 1); exit 1; }; }; }
3867 rm -f conftest$ac_cv_exeext
3868 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3869 $as_echo "$ac_cv_exeext" >&6; }
3871 rm -f conftest.$ac_ext
3872 EXEEXT=$ac_cv_exeext
3874 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3875 $as_echo_n "checking for suffix of object files... " >&6; }
3876 if test "${ac_cv_objext+set}" = set; then
3877 $as_echo_n "(cached) " >&6
3879 cat >conftest.$ac_ext <<_ACEOF
3882 cat confdefs.h >>conftest.$ac_ext
3883 cat >>conftest.$ac_ext <<_ACEOF
3884 /* end confdefs.h. */
3894 rm -f conftest.o conftest.obj
3895 if { (ac_try="$ac_compile"
3897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3898 *) ac_try_echo=$ac_try;;
3900 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3901 $as_echo "$ac_try_echo") >&5
3902 (eval "$ac_compile") 2>&5
3904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); }; then
3906 for ac_file in conftest.o conftest.obj conftest.*; do
3907 test -f "$ac_file" || continue;
3909 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3910 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3915 $as_echo "$as_me: failed program was:" >&5
3916 sed 's/^/| /' conftest.$ac_ext >&5
3918 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3920 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3921 See \`config.log' for more details." >&5
3922 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3923 See \`config.log' for more details." >&2;}
3924 { (exit 1); exit 1; }; }; }
3927 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3929 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3930 $as_echo "$ac_cv_objext" >&6; }
3931 OBJEXT=$ac_cv_objext
3933 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3934 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3935 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3936 $as_echo_n "(cached) " >&6
3938 cat >conftest.$ac_ext <<_ACEOF
3941 cat confdefs.h >>conftest.$ac_ext
3942 cat >>conftest.$ac_ext <<_ACEOF
3943 /* end confdefs.h. */
3956 rm -f conftest.$ac_objext
3957 if { (ac_try="$ac_compile"
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3963 $as_echo "$ac_try_echo") >&5
3964 (eval "$ac_compile") 2>conftest.er1
3966 grep -v '^ *+' conftest.er1 >conftest.err
3968 cat conftest.err >&5
3969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); } && {
3971 test -z "$ac_c_werror_flag" ||
3972 test ! -s conftest.err
3973 } && test -s conftest.$ac_objext; then
3976 $as_echo "$as_me: failed program was:" >&5
3977 sed 's/^/| /' conftest.$ac_ext >&5
3982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3983 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3986 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3987 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3988 if test $ac_compiler_gnu = yes; then
3993 ac_test_CFLAGS=${CFLAGS+set}
3994 ac_save_CFLAGS=$CFLAGS
3995 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3996 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3997 if test "${ac_cv_prog_cc_g+set}" = set; then
3998 $as_echo_n "(cached) " >&6
4000 ac_save_c_werror_flag=$ac_c_werror_flag
4001 ac_c_werror_flag=yes
4004 cat >conftest.$ac_ext <<_ACEOF
4007 cat confdefs.h >>conftest.$ac_ext
4008 cat >>conftest.$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4019 rm -f conftest.$ac_objext
4020 if { (ac_try="$ac_compile"
4022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4023 *) ac_try_echo=$ac_try;;
4025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4026 $as_echo "$ac_try_echo") >&5
4027 (eval "$ac_compile") 2>conftest.er1
4029 grep -v '^ *+' conftest.er1 >conftest.err
4031 cat conftest.err >&5
4032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033 (exit $ac_status); } && {
4034 test -z "$ac_c_werror_flag" ||
4035 test ! -s conftest.err
4036 } && test -s conftest.$ac_objext; then
4039 $as_echo "$as_me: failed program was:" >&5
4040 sed 's/^/| /' conftest.$ac_ext >&5
4043 cat >conftest.$ac_ext <<_ACEOF
4046 cat confdefs.h >>conftest.$ac_ext
4047 cat >>conftest.$ac_ext <<_ACEOF
4048 /* end confdefs.h. */
4058 rm -f conftest.$ac_objext
4059 if { (ac_try="$ac_compile"
4061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4062 *) ac_try_echo=$ac_try;;
4064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4065 $as_echo "$ac_try_echo") >&5
4066 (eval "$ac_compile") 2>conftest.er1
4068 grep -v '^ *+' conftest.er1 >conftest.err
4070 cat conftest.err >&5
4071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); } && {
4073 test -z "$ac_c_werror_flag" ||
4074 test ! -s conftest.err
4075 } && test -s conftest.$ac_objext; then
4078 $as_echo "$as_me: failed program was:" >&5
4079 sed 's/^/| /' conftest.$ac_ext >&5
4081 ac_c_werror_flag=$ac_save_c_werror_flag
4083 cat >conftest.$ac_ext <<_ACEOF
4086 cat confdefs.h >>conftest.$ac_ext
4087 cat >>conftest.$ac_ext <<_ACEOF
4088 /* end confdefs.h. */
4098 rm -f conftest.$ac_objext
4099 if { (ac_try="$ac_compile"
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4104 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4105 $as_echo "$ac_try_echo") >&5
4106 (eval "$ac_compile") 2>conftest.er1
4108 grep -v '^ *+' conftest.er1 >conftest.err
4110 cat conftest.err >&5
4111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112 (exit $ac_status); } && {
4113 test -z "$ac_c_werror_flag" ||
4114 test ! -s conftest.err
4115 } && test -s conftest.$ac_objext; then
4118 $as_echo "$as_me: failed program was:" >&5
4119 sed 's/^/| /' conftest.$ac_ext >&5
4124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4131 ac_c_werror_flag=$ac_save_c_werror_flag
4133 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4134 $as_echo "$ac_cv_prog_cc_g" >&6; }
4135 if test "$ac_test_CFLAGS" = set; then
4136 CFLAGS=$ac_save_CFLAGS
4137 elif test $ac_cv_prog_cc_g = yes; then
4138 if test "$GCC" = yes; then
4144 if test "$GCC" = yes; then
4150 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4151 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4152 if test "${ac_cv_prog_cc_c89+set}" = set; then
4153 $as_echo_n "(cached) " >&6
4155 ac_cv_prog_cc_c89=no
4157 cat >conftest.$ac_ext <<_ACEOF
4160 cat confdefs.h >>conftest.$ac_ext
4161 cat >>conftest.$ac_ext <<_ACEOF
4162 /* end confdefs.h. */
4165 #include <sys/types.h>
4166 #include <sys/stat.h>
4167 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4168 struct buf { int x; };
4169 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4170 static char *e (p, i)
4176 static char *f (char * (*g) (char **, int), char **p, ...)
4181 s = g (p, va_arg (v,int));
4186 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4187 function prototypes and stuff, but not '\xHH' hex character constants.
4188 These don't provoke an error unfortunately, instead are silently treated
4189 as 'x'. The following induces an error, until -std is added to get
4190 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4191 array size at least. It's necessary to write '\x00'==0 to get something
4192 that's true only with -std. */
4193 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4195 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4196 inside strings and character constants. */
4198 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4200 int test (int i, double x);
4201 struct s1 {int (*f) (int a);};
4202 struct s2 {int (*f) (double a);};
4203 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4209 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4214 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4215 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4217 CC="$ac_save_CC $ac_arg"
4218 rm -f conftest.$ac_objext
4219 if { (ac_try="$ac_compile"
4221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4222 *) ac_try_echo=$ac_try;;
4224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4225 $as_echo "$ac_try_echo") >&5
4226 (eval "$ac_compile") 2>conftest.er1
4228 grep -v '^ *+' conftest.er1 >conftest.err
4230 cat conftest.err >&5
4231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4232 (exit $ac_status); } && {
4233 test -z "$ac_c_werror_flag" ||
4234 test ! -s conftest.err
4235 } && test -s conftest.$ac_objext; then
4236 ac_cv_prog_cc_c89=$ac_arg
4238 $as_echo "$as_me: failed program was:" >&5
4239 sed 's/^/| /' conftest.$ac_ext >&5
4244 rm -f core conftest.err conftest.$ac_objext
4245 test "x$ac_cv_prog_cc_c89" != "xno" && break
4247 rm -f conftest.$ac_ext
4252 case "x$ac_cv_prog_cc_c89" in
4254 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4255 $as_echo "none needed" >&6; } ;;
4257 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4258 $as_echo "unsupported" >&6; } ;;
4260 CC="$CC $ac_cv_prog_cc_c89"
4261 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4262 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4267 ac_cpp='$CPP $CPPFLAGS'
4268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4272 depcc="$CC" am_compiler_list=
4274 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4275 $as_echo_n "checking dependency style of $depcc... " >&6; }
4276 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4277 $as_echo_n "(cached) " >&6
4279 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4280 # We make a subdir and do the tests there. Otherwise we can end up
4281 # making bogus files that we don't know about and never remove. For
4282 # instance it was reported that on HP-UX the gcc test will end up
4283 # making a dummy file named `D' -- because `-MD' means `put the output
4286 # Copy depcomp to subdir because otherwise we won't find it if we're
4287 # using a relative directory.
4288 cp "$am_depcomp" conftest.dir
4290 # We will build objects and dependencies in a subdirectory because
4291 # it helps to detect inapplicable dependency modes. For instance
4292 # both Tru64's cc and ICC support -MD to output dependencies as a
4293 # side effect of compilation, but ICC will put the dependencies in
4294 # the current directory while Tru64 will put them in the object
4298 am_cv_CC_dependencies_compiler_type=none
4299 if test "$am_compiler_list" = ""; then
4300 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4302 for depmode in $am_compiler_list; do
4303 # Setup a source with many dependencies, because some compilers
4304 # like to wrap large dependency lists on column 80 (with \), and
4305 # we should not choose a depcomp mode which is confused by this.
4307 # We need to recreate these files for each test, as the compiler may
4308 # overwrite some of them when testing with obscure command lines.
4309 # This happens at least with the AIX C compiler.
4311 for i in 1 2 3 4 5 6; do
4312 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4313 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4314 # Solaris 8's {/usr,}/bin/sh.
4315 touch sub/conftst$i.h
4317 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4321 # after this tag, mechanisms are not by side-effect, so they'll
4322 # only be used when explicitly requested
4323 if test "x$enable_dependency_tracking" = xyes; then
4331 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4332 # mode. It turns out that the SunPro C++ compiler does not properly
4333 # handle `-M -o', and we need to detect this.
4334 if depmode=$depmode \
4335 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4336 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4337 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4338 >/dev/null 2>conftest.err &&
4339 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4340 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4341 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4342 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4343 # icc doesn't choke on unknown options, it will just issue warnings
4344 # or remarks (even with -Werror). So we grep stderr for any message
4345 # that says an option was ignored or not supported.
4346 # When given -MP, icc 7.0 and 7.1 complain thusly:
4347 # icc: Command line warning: ignoring option '-M'; no argument required
4348 # The diagnosis changed in icc 8.0:
4349 # icc: Command line remark: option '-MP' not supported
4350 if (grep 'ignoring option' conftest.err ||
4351 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4352 am_cv_CC_dependencies_compiler_type=$depmode
4361 am_cv_CC_dependencies_compiler_type=none
4365 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4366 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4367 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4370 test "x$enable_dependency_tracking" != xno \
4371 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4373 am__fastdepCC_FALSE='#'
4375 am__fastdepCC_TRUE='#'
4376 am__fastdepCC_FALSE=
4381 ac_cpp='$CPP $CPPFLAGS'
4382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4385 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4386 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4387 # On Suns, sometimes $CPP names a directory.
4388 if test -n "$CPP" && test -d "$CPP"; then
4391 if test -z "$CPP"; then
4392 if test "${ac_cv_prog_CPP+set}" = set; then
4393 $as_echo_n "(cached) " >&6
4395 # Double quotes because CPP needs to be expanded
4396 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4399 for ac_c_preproc_warn_flag in '' yes
4401 # Use a header file that comes with gcc, so configuring glibc
4402 # with a fresh cross-compiler works.
4403 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4404 # <limits.h> exists even on freestanding compilers.
4405 # On the NeXT, cc -E runs the code through the compiler's parser,
4406 # not just through cpp. "Syntax error" is here to catch this case.
4407 cat >conftest.$ac_ext <<_ACEOF
4410 cat confdefs.h >>conftest.$ac_ext
4411 cat >>conftest.$ac_ext <<_ACEOF
4412 /* end confdefs.h. */
4414 # include <limits.h>
4416 # include <assert.h>
4420 if { (ac_try="$ac_cpp conftest.$ac_ext"
4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;;
4425 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4426 $as_echo "$ac_try_echo") >&5
4427 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4429 grep -v '^ *+' conftest.er1 >conftest.err
4431 cat conftest.err >&5
4432 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); } >/dev/null && {
4434 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4435 test ! -s conftest.err
4439 $as_echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.$ac_ext >&5
4442 # Broken: fails on valid input.
4446 rm -f conftest.err conftest.$ac_ext
4448 # OK, works on sane cases. Now check whether nonexistent headers
4449 # can be detected and how.
4450 cat >conftest.$ac_ext <<_ACEOF
4453 cat confdefs.h >>conftest.$ac_ext
4454 cat >>conftest.$ac_ext <<_ACEOF
4455 /* end confdefs.h. */
4456 #include <ac_nonexistent.h>
4458 if { (ac_try="$ac_cpp conftest.$ac_ext"
4460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4461 *) ac_try_echo=$ac_try;;
4463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4464 $as_echo "$ac_try_echo") >&5
4465 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4467 grep -v '^ *+' conftest.er1 >conftest.err
4469 cat conftest.err >&5
4470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); } >/dev/null && {
4472 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4473 test ! -s conftest.err
4475 # Broken: success on invalid input.
4478 $as_echo "$as_me: failed program was:" >&5
4479 sed 's/^/| /' conftest.$ac_ext >&5
4481 # Passes both tests.
4486 rm -f conftest.err conftest.$ac_ext
4489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4490 rm -f conftest.err conftest.$ac_ext
4491 if $ac_preproc_ok; then
4503 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4504 $as_echo "$CPP" >&6; }
4506 for ac_c_preproc_warn_flag in '' yes
4508 # Use a header file that comes with gcc, so configuring glibc
4509 # with a fresh cross-compiler works.
4510 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4511 # <limits.h> exists even on freestanding compilers.
4512 # On the NeXT, cc -E runs the code through the compiler's parser,
4513 # not just through cpp. "Syntax error" is here to catch this case.
4514 cat >conftest.$ac_ext <<_ACEOF
4517 cat confdefs.h >>conftest.$ac_ext
4518 cat >>conftest.$ac_ext <<_ACEOF
4519 /* end confdefs.h. */
4521 # include <limits.h>
4523 # include <assert.h>
4527 if { (ac_try="$ac_cpp conftest.$ac_ext"
4529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4530 *) ac_try_echo=$ac_try;;
4532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4533 $as_echo "$ac_try_echo") >&5
4534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4536 grep -v '^ *+' conftest.er1 >conftest.err
4538 cat conftest.err >&5
4539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540 (exit $ac_status); } >/dev/null && {
4541 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4542 test ! -s conftest.err
4546 $as_echo "$as_me: failed program was:" >&5
4547 sed 's/^/| /' conftest.$ac_ext >&5
4549 # Broken: fails on valid input.
4553 rm -f conftest.err conftest.$ac_ext
4555 # OK, works on sane cases. Now check whether nonexistent headers
4556 # can be detected and how.
4557 cat >conftest.$ac_ext <<_ACEOF
4560 cat confdefs.h >>conftest.$ac_ext
4561 cat >>conftest.$ac_ext <<_ACEOF
4562 /* end confdefs.h. */
4563 #include <ac_nonexistent.h>
4565 if { (ac_try="$ac_cpp conftest.$ac_ext"
4567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4568 *) ac_try_echo=$ac_try;;
4570 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4571 $as_echo "$ac_try_echo") >&5
4572 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4574 grep -v '^ *+' conftest.er1 >conftest.err
4576 cat conftest.err >&5
4577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); } >/dev/null && {
4579 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4580 test ! -s conftest.err
4582 # Broken: success on invalid input.
4585 $as_echo "$as_me: failed program was:" >&5
4586 sed 's/^/| /' conftest.$ac_ext >&5
4588 # Passes both tests.
4593 rm -f conftest.err conftest.$ac_ext
4596 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4597 rm -f conftest.err conftest.$ac_ext
4598 if $ac_preproc_ok; then
4601 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4603 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4604 See \`config.log' for more details." >&5
4605 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4606 See \`config.log' for more details." >&2;}
4607 { (exit 1); exit 1; }; }; }
4611 ac_cpp='$CPP $CPPFLAGS'
4612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4618 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4619 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4620 if test "${ac_cv_path_GREP+set}" = set; then
4621 $as_echo_n "(cached) " >&6
4623 if test -z "$GREP"; then
4624 ac_path_GREP_found=false
4625 # Loop through the user's path and test for each of PROGNAME-LIST
4626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4627 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4630 test -z "$as_dir" && as_dir=.
4631 for ac_prog in grep ggrep; do
4632 for ac_exec_ext in '' $ac_executable_extensions; do
4633 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4634 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4635 # Check for GNU ac_path_GREP and select it if it is found.
4636 # Check for GNU $ac_path_GREP
4637 case `"$ac_path_GREP" --version 2>&1` in
4639 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4642 $as_echo_n 0123456789 >"conftest.in"
4645 cat "conftest.in" "conftest.in" >"conftest.tmp"
4646 mv "conftest.tmp" "conftest.in"
4647 cp "conftest.in" "conftest.nl"
4648 $as_echo 'GREP' >> "conftest.nl"
4649 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4650 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4651 ac_count=`expr $ac_count + 1`
4652 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4653 # Best one so far, save it but keep looking for a better one
4654 ac_cv_path_GREP="$ac_path_GREP"
4655 ac_path_GREP_max=$ac_count
4657 # 10*(2^10) chars as input seems more than enough
4658 test $ac_count -gt 10 && break
4660 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4663 $ac_path_GREP_found && break 3
4668 if test -z "$ac_cv_path_GREP"; then
4669 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4670 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4671 { (exit 1); exit 1; }; }
4674 ac_cv_path_GREP=$GREP
4678 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4679 $as_echo "$ac_cv_path_GREP" >&6; }
4680 GREP="$ac_cv_path_GREP"
4683 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4684 $as_echo_n "checking for egrep... " >&6; }
4685 if test "${ac_cv_path_EGREP+set}" = set; then
4686 $as_echo_n "(cached) " >&6
4688 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4689 then ac_cv_path_EGREP="$GREP -E"
4691 if test -z "$EGREP"; then
4692 ac_path_EGREP_found=false
4693 # Loop through the user's path and test for each of PROGNAME-LIST
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4698 test -z "$as_dir" && as_dir=.
4699 for ac_prog in egrep; do
4700 for ac_exec_ext in '' $ac_executable_extensions; do
4701 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4702 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4703 # Check for GNU ac_path_EGREP and select it if it is found.
4704 # Check for GNU $ac_path_EGREP
4705 case `"$ac_path_EGREP" --version 2>&1` in
4707 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4710 $as_echo_n 0123456789 >"conftest.in"
4713 cat "conftest.in" "conftest.in" >"conftest.tmp"
4714 mv "conftest.tmp" "conftest.in"
4715 cp "conftest.in" "conftest.nl"
4716 $as_echo 'EGREP' >> "conftest.nl"
4717 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4718 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4719 ac_count=`expr $ac_count + 1`
4720 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4721 # Best one so far, save it but keep looking for a better one
4722 ac_cv_path_EGREP="$ac_path_EGREP"
4723 ac_path_EGREP_max=$ac_count
4725 # 10*(2^10) chars as input seems more than enough
4726 test $ac_count -gt 10 && break
4728 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4731 $ac_path_EGREP_found && break 3
4736 if test -z "$ac_cv_path_EGREP"; then
4737 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4738 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4739 { (exit 1); exit 1; }; }
4742 ac_cv_path_EGREP=$EGREP
4747 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4748 $as_echo "$ac_cv_path_EGREP" >&6; }
4749 EGREP="$ac_cv_path_EGREP"
4752 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4753 $as_echo_n "checking for ANSI C header files... " >&6; }
4754 if test "${ac_cv_header_stdc+set}" = set; then
4755 $as_echo_n "(cached) " >&6
4757 cat >conftest.$ac_ext <<_ACEOF
4760 cat confdefs.h >>conftest.$ac_ext
4761 cat >>conftest.$ac_ext <<_ACEOF
4762 /* end confdefs.h. */
4776 rm -f conftest.$ac_objext
4777 if { (ac_try="$ac_compile"
4779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4780 *) ac_try_echo=$ac_try;;
4782 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4783 $as_echo "$ac_try_echo") >&5
4784 (eval "$ac_compile") 2>conftest.er1
4786 grep -v '^ *+' conftest.er1 >conftest.err
4788 cat conftest.err >&5
4789 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); } && {
4791 test -z "$ac_c_werror_flag" ||
4792 test ! -s conftest.err
4793 } && test -s conftest.$ac_objext; then
4794 ac_cv_header_stdc=yes
4796 $as_echo "$as_me: failed program was:" >&5
4797 sed 's/^/| /' conftest.$ac_ext >&5
4799 ac_cv_header_stdc=no
4802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4804 if test $ac_cv_header_stdc = yes; then
4805 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4806 cat >conftest.$ac_ext <<_ACEOF
4809 cat confdefs.h >>conftest.$ac_ext
4810 cat >>conftest.$ac_ext <<_ACEOF
4811 /* end confdefs.h. */
4815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4816 $EGREP "memchr" >/dev/null 2>&1; then
4819 ac_cv_header_stdc=no
4825 if test $ac_cv_header_stdc = yes; then
4826 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4827 cat >conftest.$ac_ext <<_ACEOF
4830 cat confdefs.h >>conftest.$ac_ext
4831 cat >>conftest.$ac_ext <<_ACEOF
4832 /* end confdefs.h. */
4836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4837 $EGREP "free" >/dev/null 2>&1; then
4840 ac_cv_header_stdc=no
4846 if test $ac_cv_header_stdc = yes; then
4847 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4848 if test "$cross_compiling" = yes; then
4851 cat >conftest.$ac_ext <<_ACEOF
4854 cat confdefs.h >>conftest.$ac_ext
4855 cat >>conftest.$ac_ext <<_ACEOF
4856 /* end confdefs.h. */
4859 #if ((' ' & 0x0FF) == 0x020)
4860 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4861 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4863 # define ISLOWER(c) \
4864 (('a' <= (c) && (c) <= 'i') \
4865 || ('j' <= (c) && (c) <= 'r') \
4866 || ('s' <= (c) && (c) <= 'z'))
4867 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4870 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4875 for (i = 0; i < 256; i++)
4876 if (XOR (islower (i), ISLOWER (i))
4877 || toupper (i) != TOUPPER (i))
4882 rm -f conftest$ac_exeext
4883 if { (ac_try="$ac_link"
4885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4886 *) ac_try_echo=$ac_try;;
4888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4889 $as_echo "$ac_try_echo") >&5
4890 (eval "$ac_link") 2>&5
4892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4894 { (case "(($ac_try" in
4895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4896 *) ac_try_echo=$ac_try;;
4898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4899 $as_echo "$ac_try_echo") >&5
4900 (eval "$ac_try") 2>&5
4902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }; }; then
4906 $as_echo "$as_me: program exited with status $ac_status" >&5
4907 $as_echo "$as_me: failed program was:" >&5
4908 sed 's/^/| /' conftest.$ac_ext >&5
4911 ac_cv_header_stdc=no
4913 rm -rf conftest.dSYM
4914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4920 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4921 $as_echo "$ac_cv_header_stdc" >&6; }
4922 if test $ac_cv_header_stdc = yes; then
4924 cat >>confdefs.h <<\_ACEOF
4925 #define STDC_HEADERS 1
4930 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4940 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4941 inttypes.h stdint.h unistd.h
4943 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4944 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4945 $as_echo_n "checking for $ac_header... " >&6; }
4946 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4947 $as_echo_n "(cached) " >&6
4949 cat >conftest.$ac_ext <<_ACEOF
4952 cat confdefs.h >>conftest.$ac_ext
4953 cat >>conftest.$ac_ext <<_ACEOF
4954 /* end confdefs.h. */
4955 $ac_includes_default
4957 #include <$ac_header>
4959 rm -f conftest.$ac_objext
4960 if { (ac_try="$ac_compile"
4962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4963 *) ac_try_echo=$ac_try;;
4965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4966 $as_echo "$ac_try_echo") >&5
4967 (eval "$ac_compile") 2>conftest.er1
4969 grep -v '^ *+' conftest.er1 >conftest.err
4971 cat conftest.err >&5
4972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); } && {
4974 test -z "$ac_c_werror_flag" ||
4975 test ! -s conftest.err
4976 } && test -s conftest.$ac_objext; then
4977 eval "$as_ac_Header=yes"
4979 $as_echo "$as_me: failed program was:" >&5
4980 sed 's/^/| /' conftest.$ac_ext >&5
4982 eval "$as_ac_Header=no"
4985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4987 ac_res=`eval 'as_val=${'$as_ac_Header'}
4988 $as_echo "$as_val"'`
4989 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4990 $as_echo "$ac_res" >&6; }
4991 as_val=`eval 'as_val=${'$as_ac_Header'}
4992 $as_echo "$as_val"'`
4993 if test "x$as_val" = x""yes; then
4994 cat >>confdefs.h <<_ACEOF
4995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5004 if test "${ac_cv_header_minix_config_h+set}" = set; then
5005 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
5006 $as_echo_n "checking for minix/config.h... " >&6; }
5007 if test "${ac_cv_header_minix_config_h+set}" = set; then
5008 $as_echo_n "(cached) " >&6
5010 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
5011 $as_echo "$ac_cv_header_minix_config_h" >&6; }
5013 # Is the header compilable?
5014 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
5015 $as_echo_n "checking minix/config.h usability... " >&6; }
5016 cat >conftest.$ac_ext <<_ACEOF
5019 cat confdefs.h >>conftest.$ac_ext
5020 cat >>conftest.$ac_ext <<_ACEOF
5021 /* end confdefs.h. */
5022 $ac_includes_default
5023 #include <minix/config.h>
5025 rm -f conftest.$ac_objext
5026 if { (ac_try="$ac_compile"
5028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5029 *) ac_try_echo=$ac_try;;
5031 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5032 $as_echo "$ac_try_echo") >&5
5033 (eval "$ac_compile") 2>conftest.er1
5035 grep -v '^ *+' conftest.er1 >conftest.err
5037 cat conftest.err >&5
5038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5039 (exit $ac_status); } && {
5040 test -z "$ac_c_werror_flag" ||
5041 test ! -s conftest.err
5042 } && test -s conftest.$ac_objext; then
5043 ac_header_compiler=yes
5045 $as_echo "$as_me: failed program was:" >&5
5046 sed 's/^/| /' conftest.$ac_ext >&5
5048 ac_header_compiler=no
5051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5052 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5053 $as_echo "$ac_header_compiler" >&6; }
5055 # Is the header present?
5056 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
5057 $as_echo_n "checking minix/config.h presence... " >&6; }
5058 cat >conftest.$ac_ext <<_ACEOF
5061 cat confdefs.h >>conftest.$ac_ext
5062 cat >>conftest.$ac_ext <<_ACEOF
5063 /* end confdefs.h. */
5064 #include <minix/config.h>
5066 if { (ac_try="$ac_cpp conftest.$ac_ext"
5068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5069 *) ac_try_echo=$ac_try;;
5071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5072 $as_echo "$ac_try_echo") >&5
5073 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5075 grep -v '^ *+' conftest.er1 >conftest.err
5077 cat conftest.err >&5
5078 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079 (exit $ac_status); } >/dev/null && {
5080 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5081 test ! -s conftest.err
5083 ac_header_preproc=yes
5085 $as_echo "$as_me: failed program was:" >&5
5086 sed 's/^/| /' conftest.$ac_ext >&5
5088 ac_header_preproc=no
5091 rm -f conftest.err conftest.$ac_ext
5092 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5093 $as_echo "$ac_header_preproc" >&6; }
5095 # So? What about this header?
5096 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5098 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
5099 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5100 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
5101 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
5102 ac_header_preproc=yes
5105 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
5106 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
5107 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
5108 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
5109 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
5110 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
5111 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
5112 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
5113 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
5114 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
5115 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
5116 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
5120 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
5121 $as_echo_n "checking for minix/config.h... " >&6; }
5122 if test "${ac_cv_header_minix_config_h+set}" = set; then
5123 $as_echo_n "(cached) " >&6
5125 ac_cv_header_minix_config_h=$ac_header_preproc
5127 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
5128 $as_echo "$ac_cv_header_minix_config_h" >&6; }
5131 if test "x$ac_cv_header_minix_config_h" = x""yes; then
5138 if test "$MINIX" = yes; then
5140 cat >>confdefs.h <<\_ACEOF
5141 #define _POSIX_SOURCE 1
5145 cat >>confdefs.h <<\_ACEOF
5146 #define _POSIX_1_SOURCE 2
5150 cat >>confdefs.h <<\_ACEOF
5158 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
5159 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5160 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
5161 $as_echo_n "(cached) " >&6
5163 cat >conftest.$ac_ext <<_ACEOF
5166 cat confdefs.h >>conftest.$ac_ext
5167 cat >>conftest.$ac_ext <<_ACEOF
5168 /* end confdefs.h. */
5170 # define __EXTENSIONS__ 1
5171 $ac_includes_default
5180 rm -f conftest.$ac_objext
5181 if { (ac_try="$ac_compile"
5183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5184 *) ac_try_echo=$ac_try;;
5186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5187 $as_echo "$ac_try_echo") >&5
5188 (eval "$ac_compile") 2>conftest.er1
5190 grep -v '^ *+' conftest.er1 >conftest.err
5192 cat conftest.err >&5
5193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194 (exit $ac_status); } && {
5195 test -z "$ac_c_werror_flag" ||
5196 test ! -s conftest.err
5197 } && test -s conftest.$ac_objext; then
5198 ac_cv_safe_to_define___extensions__=yes
5200 $as_echo "$as_me: failed program was:" >&5
5201 sed 's/^/| /' conftest.$ac_ext >&5
5203 ac_cv_safe_to_define___extensions__=no
5206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5208 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
5209 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5210 test $ac_cv_safe_to_define___extensions__ = yes &&
5211 cat >>confdefs.h <<\_ACEOF
5212 #define __EXTENSIONS__ 1
5215 cat >>confdefs.h <<\_ACEOF
5216 #define _ALL_SOURCE 1
5219 cat >>confdefs.h <<\_ACEOF
5220 #define _GNU_SOURCE 1
5223 cat >>confdefs.h <<\_ACEOF
5224 #define _POSIX_PTHREAD_SEMANTICS 1
5227 cat >>confdefs.h <<\_ACEOF
5228 #define _TANDEM_SOURCE 1
5232 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
5233 $as_echo_n "checking for library containing strerror... " >&6; }
5234 if test "${ac_cv_search_strerror+set}" = set; then
5235 $as_echo_n "(cached) " >&6
5237 ac_func_search_save_LIBS=$LIBS
5238 cat >conftest.$ac_ext <<_ACEOF
5241 cat confdefs.h >>conftest.$ac_ext
5242 cat >>conftest.$ac_ext <<_ACEOF
5243 /* end confdefs.h. */
5245 /* Override any GCC internal prototype to avoid an error.
5246 Use char because int might match the return type of a GCC
5247 builtin and then its argument prototype would still apply. */
5260 for ac_lib in '' cposix; do
5261 if test -z "$ac_lib"; then
5262 ac_res="none required"
5265 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5267 rm -f conftest.$ac_objext conftest$ac_exeext
5268 if { (ac_try="$ac_link"
5270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5271 *) ac_try_echo=$ac_try;;
5273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5274 $as_echo "$ac_try_echo") >&5
5275 (eval "$ac_link") 2>conftest.er1
5277 grep -v '^ *+' conftest.er1 >conftest.err
5279 cat conftest.err >&5
5280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } && {
5282 test -z "$ac_c_werror_flag" ||
5283 test ! -s conftest.err
5284 } && test -s conftest$ac_exeext && {
5285 test "$cross_compiling" = yes ||
5286 $as_test_x conftest$ac_exeext
5288 ac_cv_search_strerror=$ac_res
5290 $as_echo "$as_me: failed program was:" >&5
5291 sed 's/^/| /' conftest.$ac_ext >&5
5296 rm -rf conftest.dSYM
5297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5299 if test "${ac_cv_search_strerror+set}" = set; then
5303 if test "${ac_cv_search_strerror+set}" = set; then
5306 ac_cv_search_strerror=no
5309 LIBS=$ac_func_search_save_LIBS
5311 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
5312 $as_echo "$ac_cv_search_strerror" >&6; }
5313 ac_res=$ac_cv_search_strerror
5314 if test "$ac_res" != no; then
5315 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5322 ac_cpp='$CXXCPP $CPPFLAGS'
5323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5326 if test -z "$CXX"; then
5327 if test -n "$CCC"; then
5330 if test -n "$ac_tool_prefix"; then
5331 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5333 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5334 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5335 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5336 $as_echo_n "checking for $ac_word... " >&6; }
5337 if test "${ac_cv_prog_CXX+set}" = set; then
5338 $as_echo_n "(cached) " >&6
5340 if test -n "$CXX"; then
5341 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347 test -z "$as_dir" && as_dir=.
5348 for ac_exec_ext in '' $ac_executable_extensions; do
5349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5350 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5351 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5361 if test -n "$CXX"; then
5362 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
5363 $as_echo "$CXX" >&6; }
5365 { $as_echo "$as_me:$LINENO: result: no" >&5
5366 $as_echo "no" >&6; }
5370 test -n "$CXX" && break
5373 if test -z "$CXX"; then
5375 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5377 # Extract the first word of "$ac_prog", so it can be a program name with args.
5378 set dummy $ac_prog; ac_word=$2
5379 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5382 $as_echo_n "(cached) " >&6
5384 if test -n "$ac_ct_CXX"; then
5385 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5391 test -z "$as_dir" && as_dir=.
5392 for ac_exec_ext in '' $ac_executable_extensions; do
5393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5394 ac_cv_prog_ac_ct_CXX="$ac_prog"
5395 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5404 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5405 if test -n "$ac_ct_CXX"; then
5406 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5407 $as_echo "$ac_ct_CXX" >&6; }
5409 { $as_echo "$as_me:$LINENO: result: no" >&5
5410 $as_echo "no" >&6; }
5414 test -n "$ac_ct_CXX" && break
5417 if test "x$ac_ct_CXX" = x; then
5420 case $cross_compiling:$ac_tool_warned in
5422 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5424 ac_tool_warned=yes ;;
5432 # Provide some information about the compiler.
5433 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5436 { (ac_try="$ac_compiler --version >&5"
5438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5439 *) ac_try_echo=$ac_try;;
5441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5442 $as_echo "$ac_try_echo") >&5
5443 (eval "$ac_compiler --version >&5") 2>&5
5445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); }
5447 { (ac_try="$ac_compiler -v >&5"
5449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5450 *) ac_try_echo=$ac_try;;
5452 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5453 $as_echo "$ac_try_echo") >&5
5454 (eval "$ac_compiler -v >&5") 2>&5
5456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); }
5458 { (ac_try="$ac_compiler -V >&5"
5460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5461 *) ac_try_echo=$ac_try;;
5463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5464 $as_echo "$ac_try_echo") >&5
5465 (eval "$ac_compiler -V >&5") 2>&5
5467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); }
5470 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5471 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5472 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5473 $as_echo_n "(cached) " >&6
5475 cat >conftest.$ac_ext <<_ACEOF
5478 cat confdefs.h >>conftest.$ac_ext
5479 cat >>conftest.$ac_ext <<_ACEOF
5480 /* end confdefs.h. */
5493 rm -f conftest.$ac_objext
5494 if { (ac_try="$ac_compile"
5496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5497 *) ac_try_echo=$ac_try;;
5499 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5500 $as_echo "$ac_try_echo") >&5
5501 (eval "$ac_compile") 2>conftest.er1
5503 grep -v '^ *+' conftest.er1 >conftest.err
5505 cat conftest.err >&5
5506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); } && {
5508 test -z "$ac_cxx_werror_flag" ||
5509 test ! -s conftest.err
5510 } && test -s conftest.$ac_objext; then
5513 $as_echo "$as_me: failed program was:" >&5
5514 sed 's/^/| /' conftest.$ac_ext >&5
5519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5520 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5523 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5524 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5525 if test $ac_compiler_gnu = yes; then
5530 ac_test_CXXFLAGS=${CXXFLAGS+set}
5531 ac_save_CXXFLAGS=$CXXFLAGS
5532 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5533 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5534 if test "${ac_cv_prog_cxx_g+set}" = set; then
5535 $as_echo_n "(cached) " >&6
5537 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5538 ac_cxx_werror_flag=yes
5541 cat >conftest.$ac_ext <<_ACEOF
5544 cat confdefs.h >>conftest.$ac_ext
5545 cat >>conftest.$ac_ext <<_ACEOF
5546 /* end confdefs.h. */
5556 rm -f conftest.$ac_objext
5557 if { (ac_try="$ac_compile"
5559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5560 *) ac_try_echo=$ac_try;;
5562 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5563 $as_echo "$ac_try_echo") >&5
5564 (eval "$ac_compile") 2>conftest.er1
5566 grep -v '^ *+' conftest.er1 >conftest.err
5568 cat conftest.err >&5
5569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); } && {
5571 test -z "$ac_cxx_werror_flag" ||
5572 test ! -s conftest.err
5573 } && test -s conftest.$ac_objext; then
5574 ac_cv_prog_cxx_g=yes
5576 $as_echo "$as_me: failed program was:" >&5
5577 sed 's/^/| /' conftest.$ac_ext >&5
5580 cat >conftest.$ac_ext <<_ACEOF
5583 cat confdefs.h >>conftest.$ac_ext
5584 cat >>conftest.$ac_ext <<_ACEOF
5585 /* end confdefs.h. */
5595 rm -f conftest.$ac_objext
5596 if { (ac_try="$ac_compile"
5598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5599 *) ac_try_echo=$ac_try;;
5601 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5602 $as_echo "$ac_try_echo") >&5
5603 (eval "$ac_compile") 2>conftest.er1
5605 grep -v '^ *+' conftest.er1 >conftest.err
5607 cat conftest.err >&5
5608 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); } && {
5610 test -z "$ac_cxx_werror_flag" ||
5611 test ! -s conftest.err
5612 } && test -s conftest.$ac_objext; then
5615 $as_echo "$as_me: failed program was:" >&5
5616 sed 's/^/| /' conftest.$ac_ext >&5
5618 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5620 cat >conftest.$ac_ext <<_ACEOF
5623 cat confdefs.h >>conftest.$ac_ext
5624 cat >>conftest.$ac_ext <<_ACEOF
5625 /* end confdefs.h. */
5635 rm -f conftest.$ac_objext
5636 if { (ac_try="$ac_compile"
5638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5639 *) ac_try_echo=$ac_try;;
5641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5642 $as_echo "$ac_try_echo") >&5
5643 (eval "$ac_compile") 2>conftest.er1
5645 grep -v '^ *+' conftest.er1 >conftest.err
5647 cat conftest.err >&5
5648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5649 (exit $ac_status); } && {
5650 test -z "$ac_cxx_werror_flag" ||
5651 test ! -s conftest.err
5652 } && test -s conftest.$ac_objext; then
5653 ac_cv_prog_cxx_g=yes
5655 $as_echo "$as_me: failed program was:" >&5
5656 sed 's/^/| /' conftest.$ac_ext >&5
5661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5668 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5670 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5671 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5672 if test "$ac_test_CXXFLAGS" = set; then
5673 CXXFLAGS=$ac_save_CXXFLAGS
5674 elif test $ac_cv_prog_cxx_g = yes; then
5675 if test "$GXX" = yes; then
5681 if test "$GXX" = yes; then
5688 ac_cpp='$CPP $CPPFLAGS'
5689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5693 depcc="$CXX" am_compiler_list=
5695 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5696 $as_echo_n "checking dependency style of $depcc... " >&6; }
5697 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5698 $as_echo_n "(cached) " >&6
5700 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5701 # We make a subdir and do the tests there. Otherwise we can end up
5702 # making bogus files that we don't know about and never remove. For
5703 # instance it was reported that on HP-UX the gcc test will end up
5704 # making a dummy file named `D' -- because `-MD' means `put the output
5707 # Copy depcomp to subdir because otherwise we won't find it if we're
5708 # using a relative directory.
5709 cp "$am_depcomp" conftest.dir
5711 # We will build objects and dependencies in a subdirectory because
5712 # it helps to detect inapplicable dependency modes. For instance
5713 # both Tru64's cc and ICC support -MD to output dependencies as a
5714 # side effect of compilation, but ICC will put the dependencies in
5715 # the current directory while Tru64 will put them in the object
5719 am_cv_CXX_dependencies_compiler_type=none
5720 if test "$am_compiler_list" = ""; then
5721 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5723 for depmode in $am_compiler_list; do
5724 # Setup a source with many dependencies, because some compilers
5725 # like to wrap large dependency lists on column 80 (with \), and
5726 # we should not choose a depcomp mode which is confused by this.
5728 # We need to recreate these files for each test, as the compiler may
5729 # overwrite some of them when testing with obscure command lines.
5730 # This happens at least with the AIX C compiler.
5732 for i in 1 2 3 4 5 6; do
5733 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5734 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5735 # Solaris 8's {/usr,}/bin/sh.
5736 touch sub/conftst$i.h
5738 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5742 # after this tag, mechanisms are not by side-effect, so they'll
5743 # only be used when explicitly requested
5744 if test "x$enable_dependency_tracking" = xyes; then
5752 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5753 # mode. It turns out that the SunPro C++ compiler does not properly
5754 # handle `-M -o', and we need to detect this.
5755 if depmode=$depmode \
5756 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5757 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5758 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5759 >/dev/null 2>conftest.err &&
5760 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5761 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5762 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5763 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5764 # icc doesn't choke on unknown options, it will just issue warnings
5765 # or remarks (even with -Werror). So we grep stderr for any message
5766 # that says an option was ignored or not supported.
5767 # When given -MP, icc 7.0 and 7.1 complain thusly:
5768 # icc: Command line warning: ignoring option '-M'; no argument required
5769 # The diagnosis changed in icc 8.0:
5770 # icc: Command line remark: option '-MP' not supported
5771 if (grep 'ignoring option' conftest.err ||
5772 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5773 am_cv_CXX_dependencies_compiler_type=$depmode
5782 am_cv_CXX_dependencies_compiler_type=none
5786 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5787 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5788 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5791 test "x$enable_dependency_tracking" != xno \
5792 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5793 am__fastdepCXX_TRUE=
5794 am__fastdepCXX_FALSE='#'
5796 am__fastdepCXX_TRUE='#'
5797 am__fastdepCXX_FALSE=
5802 ac_cpp='$CXXCPP $CPPFLAGS'
5803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5806 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5807 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5808 if test -z "$CXXCPP"; then
5809 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5810 $as_echo_n "(cached) " >&6
5812 # Double quotes because CXXCPP needs to be expanded
5813 for CXXCPP in "$CXX -E" "/lib/cpp"
5816 for ac_cxx_preproc_warn_flag in '' yes
5818 # Use a header file that comes with gcc, so configuring glibc
5819 # with a fresh cross-compiler works.
5820 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5821 # <limits.h> exists even on freestanding compilers.
5822 # On the NeXT, cc -E runs the code through the compiler's parser,
5823 # not just through cpp. "Syntax error" is here to catch this case.
5824 cat >conftest.$ac_ext <<_ACEOF
5827 cat confdefs.h >>conftest.$ac_ext
5828 cat >>conftest.$ac_ext <<_ACEOF
5829 /* end confdefs.h. */
5831 # include <limits.h>
5833 # include <assert.h>
5837 if { (ac_try="$ac_cpp conftest.$ac_ext"
5839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5840 *) ac_try_echo=$ac_try;;
5842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5843 $as_echo "$ac_try_echo") >&5
5844 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5846 grep -v '^ *+' conftest.er1 >conftest.err
5848 cat conftest.err >&5
5849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); } >/dev/null && {
5851 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5852 test ! -s conftest.err
5856 $as_echo "$as_me: failed program was:" >&5
5857 sed 's/^/| /' conftest.$ac_ext >&5
5859 # Broken: fails on valid input.
5863 rm -f conftest.err conftest.$ac_ext
5865 # OK, works on sane cases. Now check whether nonexistent headers
5866 # can be detected and how.
5867 cat >conftest.$ac_ext <<_ACEOF
5870 cat confdefs.h >>conftest.$ac_ext
5871 cat >>conftest.$ac_ext <<_ACEOF
5872 /* end confdefs.h. */
5873 #include <ac_nonexistent.h>
5875 if { (ac_try="$ac_cpp conftest.$ac_ext"
5877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5878 *) ac_try_echo=$ac_try;;
5880 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5881 $as_echo "$ac_try_echo") >&5
5882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5884 grep -v '^ *+' conftest.er1 >conftest.err
5886 cat conftest.err >&5
5887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5888 (exit $ac_status); } >/dev/null && {
5889 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5890 test ! -s conftest.err
5892 # Broken: success on invalid input.
5895 $as_echo "$as_me: failed program was:" >&5
5896 sed 's/^/| /' conftest.$ac_ext >&5
5898 # Passes both tests.
5903 rm -f conftest.err conftest.$ac_ext
5906 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5907 rm -f conftest.err conftest.$ac_ext
5908 if $ac_preproc_ok; then
5913 ac_cv_prog_CXXCPP=$CXXCPP
5916 CXXCPP=$ac_cv_prog_CXXCPP
5918 ac_cv_prog_CXXCPP=$CXXCPP
5920 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
5921 $as_echo "$CXXCPP" >&6; }
5923 for ac_cxx_preproc_warn_flag in '' yes
5925 # Use a header file that comes with gcc, so configuring glibc
5926 # with a fresh cross-compiler works.
5927 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5928 # <limits.h> exists even on freestanding compilers.
5929 # On the NeXT, cc -E runs the code through the compiler's parser,
5930 # not just through cpp. "Syntax error" is here to catch this case.
5931 cat >conftest.$ac_ext <<_ACEOF
5934 cat confdefs.h >>conftest.$ac_ext
5935 cat >>conftest.$ac_ext <<_ACEOF
5936 /* end confdefs.h. */
5938 # include <limits.h>
5940 # include <assert.h>
5944 if { (ac_try="$ac_cpp conftest.$ac_ext"
5946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5947 *) ac_try_echo=$ac_try;;
5949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5950 $as_echo "$ac_try_echo") >&5
5951 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5953 grep -v '^ *+' conftest.er1 >conftest.err
5955 cat conftest.err >&5
5956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); } >/dev/null && {
5958 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5959 test ! -s conftest.err
5963 $as_echo "$as_me: failed program was:" >&5
5964 sed 's/^/| /' conftest.$ac_ext >&5
5966 # Broken: fails on valid input.
5970 rm -f conftest.err conftest.$ac_ext
5972 # OK, works on sane cases. Now check whether nonexistent headers
5973 # can be detected and how.
5974 cat >conftest.$ac_ext <<_ACEOF
5977 cat confdefs.h >>conftest.$ac_ext
5978 cat >>conftest.$ac_ext <<_ACEOF
5979 /* end confdefs.h. */
5980 #include <ac_nonexistent.h>
5982 if { (ac_try="$ac_cpp conftest.$ac_ext"
5984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5985 *) ac_try_echo=$ac_try;;
5987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5988 $as_echo "$ac_try_echo") >&5
5989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5991 grep -v '^ *+' conftest.er1 >conftest.err
5993 cat conftest.err >&5
5994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); } >/dev/null && {
5996 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5997 test ! -s conftest.err
5999 # Broken: success on invalid input.
6002 $as_echo "$as_me: failed program was:" >&5
6003 sed 's/^/| /' conftest.$ac_ext >&5
6005 # Passes both tests.
6010 rm -f conftest.err conftest.$ac_ext
6013 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6014 rm -f conftest.err conftest.$ac_ext
6015 if $ac_preproc_ok; then
6018 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6020 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6021 See \`config.log' for more details." >&5
6022 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6023 See \`config.log' for more details." >&2;}
6024 { (exit 1); exit 1; }; }; }
6028 ac_cpp='$CPP $CPPFLAGS'
6029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6040 ac_cpp='$CXXCPP $CPPFLAGS'
6041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6047 { $as_echo "$as_me:$LINENO: checking whether C++ has std::isnan" >&5
6048 $as_echo_n "checking whether C++ has std::isnan... " >&6; }
6049 cat >conftest.$ac_ext <<_ACEOF
6052 cat confdefs.h >>conftest.$ac_ext
6053 cat >>conftest.$ac_ext <<_ACEOF
6054 /* end confdefs.h. */
6066 rm -f conftest.$ac_objext
6067 if { (ac_try="$ac_compile"
6069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6070 *) ac_try_echo=$ac_try;;
6072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6073 $as_echo "$ac_try_echo") >&5
6074 (eval "$ac_compile") 2>conftest.er1
6076 grep -v '^ *+' conftest.er1 >conftest.err
6078 cat conftest.err >&5
6079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); } && {
6081 test -z "$ac_cxx_werror_flag" ||
6082 test ! -s conftest.err
6083 } && test -s conftest.$ac_objext; then
6084 { $as_echo "$as_me:$LINENO: result: yes" >&5
6085 $as_echo "yes" >&6; }
6087 cat >>confdefs.h <<\_ACEOF
6088 #define CXX_HAS_STD_ISNAN /**/
6092 $as_echo "$as_me: failed program was:" >&5
6093 sed 's/^/| /' conftest.$ac_ext >&5
6095 { $as_echo "$as_me:$LINENO: result: no" >&5
6096 $as_echo "no" >&6; }
6099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6102 ac_cpp='$CPP $CPPFLAGS'
6103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6113 { $as_echo "$as_me:$LINENO: checking gr_libdir_suffix" >&5
6114 $as_echo_n "checking gr_libdir_suffix... " >&6; }
6119 linux*) is_linux=yes ;;
6123 if test "$is_linux" = no || test "$host_cpu" != "x86_64" && test "$host_cpu" != "powerpc64"; then
6125 elif test "$cross_compiling" = yes; then
6127 if test "$ac_cv_cxx_compiler_gnu" = "yes";
6129 gr_libdir_suffix=`$CXX -Wl,--verbose 2>/dev/null | sed -n -e '/SEARCH_DIR/{s/;.*$//; s,^.*/,,; s/".*$//; s/^lib//; p}'`
6132 elif test "$host_cpu" = "x86_64"; then
6133 if test -d /lib64 && test ! -L /lib64; then
6138 if test "$ac_cv_cxx_compiler_gnu" = "yes";
6140 gr_libdir_suffix=`$CXX -Wl,--verbose 2>/dev/null | sed -n -e '/SEARCH_DIR/{s/;.*$//; s,^.*/,,; s/".*$//; s/^lib//; p}'`
6144 { $as_echo "$as_me:$LINENO: result: $gr_libdir_suffix" >&5
6145 $as_echo "$gr_libdir_suffix" >&6; }
6148 { $as_echo "$as_me:$LINENO: checking whether to append 64 to libdir" >&5
6149 $as_echo_n "checking whether to append 64 to libdir... " >&6; }
6151 if test "$t" != 64 && test "$gr_libdir_suffix" = "64"; then
6153 { $as_echo "$as_me:$LINENO: result: yes. Setting libdir to $libdir" >&5
6154 $as_echo "yes. Setting libdir to $libdir" >&6; }
6156 { $as_echo "$as_me:$LINENO: result: no" >&5
6157 $as_echo "no" >&6; }
6161 if test "$user_set_cflags" != yes; then
6162 autoconf_default_CFLAGS="$CFLAGS"
6168 if test "$user_set_cxxflags" != yes; then
6169 autoconf_default_CXXFLAGS="$CXXFLAGS"
6171 if test "$GXX" = yes; then
6174 swig_CXXFLAGS="-g1 -O2 -Wno-strict-aliasing -Wno-parentheses"
6177 swig_CXXFLAGS="-g -O1 -Wno-strict-aliasing -Wno-parentheses"
6185 if test x${PKG_CONFIG_PATH} = x; then
6186 PKG_CONFIG_PATH=${prefix}/lib${gr_libdir_suffix}/pkgconfig
6188 PKG_CONFIG_PATH=${prefix}/lib${gr_libdir_suffix}/pkgconfig:${PKG_CONFIG_PATH}
6190 export PKG_CONFIG_PATH
6193 cc_warning_flags="-Wall -Werror-implicit-function-declaration"
6194 cxx_warning_flags="-Wall -Woverloaded-virtual"
6198 echo 'void f(){}' > conftest.c
6199 for i in $cc_warning_flags
6201 { $as_echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
6202 $as_echo_n "checking whether $CC accepts $i... " >&6; }
6203 if test -z "`${CC} $i -c conftest.c 2>&1`"
6205 lf_CFLAGS="${lf_CFLAGS} $i"
6206 { $as_echo "$as_me:$LINENO: result: yes" >&5
6207 $as_echo "yes" >&6; }
6209 { $as_echo "$as_me:$LINENO: result: no" >&5
6210 $as_echo "no" >&6; }
6213 rm -f conftest.c conftest.o
6220 echo 'void f(){}' > conftest.cc
6221 for i in $cxx_warning_flags
6223 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
6224 $as_echo_n "checking whether $CXX accepts $i... " >&6; }
6225 if test -z "`${CXX} $i -c conftest.cc 2>&1`"
6227 lf_CXXFLAGS="${lf_CXXFLAGS} $i"
6228 { $as_echo "$as_me:$LINENO: result: yes" >&5
6229 $as_echo "yes" >&6; }
6231 { $as_echo "$as_me:$LINENO: result: no" >&5
6232 $as_echo "no" >&6; }
6235 rm -f conftest.cc conftest.o
6241 { $as_echo "$as_me:$LINENO: checking whether user wants gprof" >&5
6242 $as_echo_n "checking whether user wants gprof... " >&6; }
6244 # Check whether --with-gprof was given.
6245 if test "${with_gprof+set}" = set; then
6246 withval=$with_gprof;
6251 { $as_echo "$as_me:$LINENO: result: $with_gprof" >&5
6252 $as_echo "$with_gprof" >&6; }
6254 cc_profiling_flags="-pg"
6255 cxx_profiling_flags="-pg"
6256 ld_profiling_flags="-pg"
6257 if test $with_gprof = yes
6262 echo 'void f(){}' > conftest.c
6263 for i in $cc_profiling_flags
6265 { $as_echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
6266 $as_echo_n "checking whether $CC accepts $i... " >&6; }
6267 if test -z "`${CC} $i -c conftest.c 2>&1`"
6269 lf_CFLAGS="${lf_CFLAGS} $i"
6270 { $as_echo "$as_me:$LINENO: result: yes" >&5
6271 $as_echo "yes" >&6; }
6273 { $as_echo "$as_me:$LINENO: result: no" >&5
6274 $as_echo "no" >&6; }
6277 rm -f conftest.c conftest.o
6284 echo 'void f(){}' > conftest.cc
6285 for i in $cxx_profiling_flags
6287 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
6288 $as_echo_n "checking whether $CXX accepts $i... " >&6; }
6289 if test -z "`${CXX} $i -c conftest.cc 2>&1`"
6291 lf_CXXFLAGS="${lf_CXXFLAGS} $i"
6292 { $as_echo "$as_me:$LINENO: result: yes" >&5
6293 $as_echo "yes" >&6; }
6295 { $as_echo "$as_me:$LINENO: result: no" >&5
6296 $as_echo "no" >&6; }
6299 rm -f conftest.cc conftest.o
6306 { $as_echo "$as_me:$LINENO: checking whether user wants prof" >&5
6307 $as_echo_n "checking whether user wants prof... " >&6; }
6309 # Check whether --with-prof was given.
6310 if test "${with_prof+set}" = set; then
6316 { $as_echo "$as_me:$LINENO: result: $with_prof" >&5
6317 $as_echo "$with_prof" >&6; }
6319 cc_profiling_flags="-p"
6320 cxx_profiling_flags="-p"
6321 ld_profiling_flags="-p"
6322 if test $with_prof = yes
6327 echo 'void f(){}' > conftest.c
6328 for i in $cc_profiling_flags
6330 { $as_echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
6331 $as_echo_n "checking whether $CC accepts $i... " >&6; }
6332 if test -z "`${CC} $i -c conftest.c 2>&1`"
6334 lf_CFLAGS="${lf_CFLAGS} $i"
6335 { $as_echo "$as_me:$LINENO: result: yes" >&5
6336 $as_echo "yes" >&6; }
6338 { $as_echo "$as_me:$LINENO: result: no" >&5
6339 $as_echo "no" >&6; }
6342 rm -f conftest.c conftest.o
6349 echo 'void f(){}' > conftest.cc
6350 for i in $cxx_profiling_flags
6352 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
6353 $as_echo_n "checking whether $CXX accepts $i... " >&6; }
6354 if test -z "`${CXX} $i -c conftest.cc 2>&1`"
6356 lf_CXXFLAGS="${lf_CXXFLAGS} $i"
6357 { $as_echo "$as_me:$LINENO: result: yes" >&5
6358 $as_echo "yes" >&6; }
6360 { $as_echo "$as_me:$LINENO: result: no" >&5
6361 $as_echo "no" >&6; }
6364 rm -f conftest.cc conftest.o
6370 # By default we simply use the C compiler to build assembly code.
6372 test "${CCAS+set}" = set || CCAS=$CC
6373 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
6377 depcc="$CCAS" am_compiler_list=
6379 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6380 $as_echo_n "checking dependency style of $depcc... " >&6; }
6381 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
6382 $as_echo_n "(cached) " >&6
6384 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6385 # We make a subdir and do the tests there. Otherwise we can end up
6386 # making bogus files that we don't know about and never remove. For
6387 # instance it was reported that on HP-UX the gcc test will end up
6388 # making a dummy file named `D' -- because `-MD' means `put the output
6391 # Copy depcomp to subdir because otherwise we won't find it if we're
6392 # using a relative directory.
6393 cp "$am_depcomp" conftest.dir
6395 # We will build objects and dependencies in a subdirectory because
6396 # it helps to detect inapplicable dependency modes. For instance
6397 # both Tru64's cc and ICC support -MD to output dependencies as a
6398 # side effect of compilation, but ICC will put the dependencies in
6399 # the current directory while Tru64 will put them in the object
6403 am_cv_CCAS_dependencies_compiler_type=none
6404 if test "$am_compiler_list" = ""; then
6405 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6407 for depmode in $am_compiler_list; do
6408 # Setup a source with many dependencies, because some compilers
6409 # like to wrap large dependency lists on column 80 (with \), and
6410 # we should not choose a depcomp mode which is confused by this.
6412 # We need to recreate these files for each test, as the compiler may
6413 # overwrite some of them when testing with obscure command lines.
6414 # This happens at least with the AIX C compiler.
6416 for i in 1 2 3 4 5 6; do
6417 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6418 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6419 # Solaris 8's {/usr,}/bin/sh.
6420 touch sub/conftst$i.h
6422 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6426 # after this tag, mechanisms are not by side-effect, so they'll
6427 # only be used when explicitly requested
6428 if test "x$enable_dependency_tracking" = xyes; then
6436 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6437 # mode. It turns out that the SunPro C++ compiler does not properly
6438 # handle `-M -o', and we need to detect this.
6439 if depmode=$depmode \
6440 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6441 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6442 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6443 >/dev/null 2>conftest.err &&
6444 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6445 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6446 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6447 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6448 # icc doesn't choke on unknown options, it will just issue warnings
6449 # or remarks (even with -Werror). So we grep stderr for any message
6450 # that says an option was ignored or not supported.
6451 # When given -MP, icc 7.0 and 7.1 complain thusly:
6452 # icc: Command line warning: ignoring option '-M'; no argument required
6453 # The diagnosis changed in icc 8.0:
6454 # icc: Command line remark: option '-MP' not supported
6455 if (grep 'ignoring option' conftest.err ||
6456 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6457 am_cv_CCAS_dependencies_compiler_type=$depmode
6466 am_cv_CCAS_dependencies_compiler_type=none
6470 { $as_echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
6471 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
6472 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
6475 test "x$enable_dependency_tracking" != xno \
6476 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
6477 am__fastdepCCAS_TRUE=
6478 am__fastdepCCAS_FALSE='#'
6480 am__fastdepCCAS_TRUE='#'
6481 am__fastdepCCAS_FALSE=
6485 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
6486 $as_echo_n "checking whether ln -s works... " >&6; }
6488 if test "$LN_S" = "ln -s"; then
6489 { $as_echo "$as_me:$LINENO: result: yes" >&5
6490 $as_echo "yes" >&6; }
6492 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6493 $as_echo "no, using $LN_S" >&6; }
6496 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6497 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6499 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6500 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
6501 $as_echo_n "(cached) " >&6
6503 cat >conftest.make <<\_ACEOF
6506 @echo '@@@%%%=$(MAKE)=@@@%%%'
6508 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6509 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6511 eval ac_cv_prog_make_${ac_make}_set=yes;;
6513 eval ac_cv_prog_make_${ac_make}_set=no;;
6517 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6518 { $as_echo "$as_me:$LINENO: result: yes" >&5
6519 $as_echo "yes" >&6; }
6522 { $as_echo "$as_me:$LINENO: result: no" >&5
6523 $as_echo "no" >&6; }
6524 SET_MAKE="MAKE=${MAKE-make}"
6527 # Find a good install program. We prefer a C program (faster),
6528 # so one script is as good as another. But avoid the broken or
6529 # incompatible versions:
6530 # SysV /etc/install, /usr/sbin/install
6531 # SunOS /usr/etc/install
6532 # IRIX /sbin/install
6534 # AmigaOS /C/install, which installs bootblocks on floppy discs
6535 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6536 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6537 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6538 # OS/2's system install, which has a completely different semantic
6539 # ./install, which can be erroneously created by make from ./install.sh.
6540 # Reject install programs that cannot install multiple files.
6541 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6542 $as_echo_n "checking for a BSD-compatible install... " >&6; }
6543 if test -z "$INSTALL"; then
6544 if test "${ac_cv_path_install+set}" = set; then
6545 $as_echo_n "(cached) " >&6
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 test -z "$as_dir" && as_dir=.
6552 # Account for people who put trailing slashes in PATH elements.
6554 ./ | .// | /cC/* | \
6555 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6556 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6559 # OSF1 and SCO ODT 3.0 have their own names for install.
6560 # Don't use installbsd from OSF since it installs stuff as root
6562 for ac_prog in ginstall scoinst install; do
6563 for ac_exec_ext in '' $ac_executable_extensions; do
6564 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6565 if test $ac_prog = install &&
6566 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6567 # AIX install. It has an incompatible calling convention.
6569 elif test $ac_prog = install &&
6570 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6571 # program-specific install script used by HP pwplus--don't use.
6574 rm -rf conftest.one conftest.two conftest.dir
6575 echo one > conftest.one
6576 echo two > conftest.two
6578 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
6579 test -s conftest.one && test -s conftest.two &&
6580 test -s conftest.dir/conftest.one &&
6581 test -s conftest.dir/conftest.two
6583 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6596 rm -rf conftest.one conftest.two conftest.dir
6599 if test "${ac_cv_path_install+set}" = set; then
6600 INSTALL=$ac_cv_path_install
6602 # As a last resort, use the slow shell script. Don't cache a
6603 # value for INSTALL within a source directory, because that will
6604 # break other packages using the cache if that directory is
6605 # removed, or if the value is a relative name.
6606 INSTALL=$ac_install_sh
6609 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
6610 $as_echo "$INSTALL" >&6; }
6612 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6613 # It thinks the first close brace ends the variable substitution.
6614 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6616 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6618 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6622 # is a backport of autoconf-2.60's AC_PROG_MKDIR_P.
6623 # Remove this macro when we can assume autoconf >= 2.60.
6625 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
6626 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
6627 if test -z "$MKDIR_P"; then
6628 if test "${ac_cv_path_mkdir+set}" = set; then
6629 $as_echo_n "(cached) " >&6
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
6635 test -z "$as_dir" && as_dir=.
6636 for ac_prog in mkdir gmkdir; do
6637 for ac_exec_ext in '' $ac_executable_extensions; do
6638 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
6639 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
6640 'mkdir (GNU coreutils) '* | \
6641 'mkdir (coreutils) '* | \
6642 'mkdir (fileutils) '4.1*)
6643 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
6653 if test "${ac_cv_path_mkdir+set}" = set; then
6654 MKDIR_P="$ac_cv_path_mkdir -p"
6656 # As a last resort, use the slow shell script. Don't cache a
6657 # value for MKDIR_P within a source directory, because that will
6658 # break other packages using the cache if that directory is
6659 # removed, or if the value is a relative name.
6660 test -d ./--version && rmdir ./--version
6661 MKDIR_P="$ac_install_sh -d"
6664 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
6665 $as_echo "$MKDIR_P" >&6; }
6668 # Extract the first word of "rm", so it can be a program name with args.
6669 set dummy rm; ac_word=$2
6670 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6671 $as_echo_n "checking for $ac_word... " >&6; }
6672 if test "${ac_cv_path_RM_PROG+set}" = set; then
6673 $as_echo_n "(cached) " >&6
6677 ac_cv_path_RM_PROG="$RM_PROG" # Let the user override the test with a path.
6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6684 test -z "$as_dir" && as_dir=.
6685 for ac_exec_ext in '' $ac_executable_extensions; do
6686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6687 ac_cv_path_RM_PROG="$as_dir/$ac_word$ac_exec_ext"
6688 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6698 RM_PROG=$ac_cv_path_RM_PROG
6699 if test -n "$RM_PROG"; then
6700 { $as_echo "$as_me:$LINENO: result: $RM_PROG" >&5
6701 $as_echo "$RM_PROG" >&6; }
6703 { $as_echo "$as_me:$LINENO: result: no" >&5
6704 $as_echo "no" >&6; }
6709 enable_win32_dll=yes
6712 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
6713 if test -n "$ac_tool_prefix"; then
6714 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6715 set dummy ${ac_tool_prefix}as; ac_word=$2
6716 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6717 $as_echo_n "checking for $ac_word... " >&6; }
6718 if test "${ac_cv_prog_AS+set}" = set; then
6719 $as_echo_n "(cached) " >&6
6721 if test -n "$AS"; then
6722 ac_cv_prog_AS="$AS" # Let the user override the test.
6724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 test -z "$as_dir" && as_dir=.
6729 for ac_exec_ext in '' $ac_executable_extensions; do
6730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6731 ac_cv_prog_AS="${ac_tool_prefix}as"
6732 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6742 if test -n "$AS"; then
6743 { $as_echo "$as_me:$LINENO: result: $AS" >&5
6744 $as_echo "$AS" >&6; }
6746 { $as_echo "$as_me:$LINENO: result: no" >&5
6747 $as_echo "no" >&6; }
6752 if test -z "$ac_cv_prog_AS"; then
6754 # Extract the first word of "as", so it can be a program name with args.
6755 set dummy as; ac_word=$2
6756 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6757 $as_echo_n "checking for $ac_word... " >&6; }
6758 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
6759 $as_echo_n "(cached) " >&6
6761 if test -n "$ac_ct_AS"; then
6762 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768 test -z "$as_dir" && as_dir=.
6769 for ac_exec_ext in '' $ac_executable_extensions; do
6770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6771 ac_cv_prog_ac_ct_AS="as"
6772 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6781 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6782 if test -n "$ac_ct_AS"; then
6783 { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
6784 $as_echo "$ac_ct_AS" >&6; }
6786 { $as_echo "$as_me:$LINENO: result: no" >&5
6787 $as_echo "no" >&6; }
6790 if test "x$ac_ct_AS" = x; then
6793 case $cross_compiling:$ac_tool_warned in
6795 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6797 ac_tool_warned=yes ;;
6805 if test -n "$ac_tool_prefix"; then
6806 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6807 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6808 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6809 $as_echo_n "checking for $ac_word... " >&6; }
6810 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
6811 $as_echo_n "(cached) " >&6
6813 if test -n "$DLLTOOL"; then
6814 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6820 test -z "$as_dir" && as_dir=.
6821 for ac_exec_ext in '' $ac_executable_extensions; do
6822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6823 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6824 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6833 DLLTOOL=$ac_cv_prog_DLLTOOL
6834 if test -n "$DLLTOOL"; then
6835 { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
6836 $as_echo "$DLLTOOL" >&6; }
6838 { $as_echo "$as_me:$LINENO: result: no" >&5
6839 $as_echo "no" >&6; }
6844 if test -z "$ac_cv_prog_DLLTOOL"; then
6845 ac_ct_DLLTOOL=$DLLTOOL
6846 # Extract the first word of "dlltool", so it can be a program name with args.
6847 set dummy dlltool; ac_word=$2
6848 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6849 $as_echo_n "checking for $ac_word... " >&6; }
6850 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
6851 $as_echo_n "(cached) " >&6
6853 if test -n "$ac_ct_DLLTOOL"; then
6854 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6860 test -z "$as_dir" && as_dir=.
6861 for ac_exec_ext in '' $ac_executable_extensions; do
6862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6863 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6864 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6873 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6874 if test -n "$ac_ct_DLLTOOL"; then
6875 { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
6876 $as_echo "$ac_ct_DLLTOOL" >&6; }
6878 { $as_echo "$as_me:$LINENO: result: no" >&5
6879 $as_echo "no" >&6; }
6882 if test "x$ac_ct_DLLTOOL" = x; then
6885 case $cross_compiling:$ac_tool_warned in
6887 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6889 ac_tool_warned=yes ;;
6891 DLLTOOL=$ac_ct_DLLTOOL
6894 DLLTOOL="$ac_cv_prog_DLLTOOL"
6897 if test -n "$ac_tool_prefix"; then
6898 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6899 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6900 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6901 $as_echo_n "checking for $ac_word... " >&6; }
6902 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6903 $as_echo_n "(cached) " >&6
6905 if test -n "$OBJDUMP"; then
6906 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912 test -z "$as_dir" && as_dir=.
6913 for ac_exec_ext in '' $ac_executable_extensions; do
6914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6915 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6916 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6925 OBJDUMP=$ac_cv_prog_OBJDUMP
6926 if test -n "$OBJDUMP"; then
6927 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6928 $as_echo "$OBJDUMP" >&6; }
6930 { $as_echo "$as_me:$LINENO: result: no" >&5
6931 $as_echo "no" >&6; }
6936 if test -z "$ac_cv_prog_OBJDUMP"; then
6937 ac_ct_OBJDUMP=$OBJDUMP
6938 # Extract the first word of "objdump", so it can be a program name with args.
6939 set dummy objdump; ac_word=$2
6940 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6941 $as_echo_n "checking for $ac_word... " >&6; }
6942 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6943 $as_echo_n "(cached) " >&6
6945 if test -n "$ac_ct_OBJDUMP"; then
6946 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6952 test -z "$as_dir" && as_dir=.
6953 for ac_exec_ext in '' $ac_executable_extensions; do
6954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6955 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6956 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6965 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6966 if test -n "$ac_ct_OBJDUMP"; then
6967 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
6968 $as_echo "$ac_ct_OBJDUMP" >&6; }
6970 { $as_echo "$as_me:$LINENO: result: no" >&5
6971 $as_echo "no" >&6; }
6974 if test "x$ac_ct_OBJDUMP" = x; then
6977 case $cross_compiling:$ac_tool_warned in
6979 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6981 ac_tool_warned=yes ;;
6983 OBJDUMP=$ac_ct_OBJDUMP
6986 OBJDUMP="$ac_cv_prog_OBJDUMP"
6992 test -z "$AS" && AS=as
6998 test -z "$DLLTOOL" && DLLTOOL=dlltool
7004 test -z "$OBJDUMP" && OBJDUMP=objdump
7012 # Check whether --enable-shared was given.
7013 if test "${enable_shared+set}" = set; then
7014 enableval=$enable_shared; p=${PACKAGE-default}
7016 yes) enable_shared=yes ;;
7017 no) enable_shared=no ;;
7020 # Look at the argument we got. We use all the common list separators.
7021 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7022 for pkg in $enableval; do
7024 if test "X$pkg" = "X$p"; then
7042 # Check whether --enable-static was given.
7043 if test "${enable_static+set}" = set; then
7044 enableval=$enable_static; p=${PACKAGE-default}
7046 yes) enable_static=yes ;;
7047 no) enable_static=no ;;
7050 # Look at the argument we got. We use all the common list separators.
7051 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7052 for pkg in $enableval; do
7054 if test "X$pkg" = "X$p"; then
7074 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7075 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7080 macro_version='2.2.6'
7081 macro_revision='1.3012'
7095 ltmain="$ac_aux_dir/ltmain.sh"
7097 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7098 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7099 if test "${ac_cv_path_SED+set}" = set; then
7100 $as_echo_n "(cached) " >&6
7102 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7103 for ac_i in 1 2 3 4 5 6 7; do
7104 ac_script="$ac_script$as_nl$ac_script"
7106 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7107 $as_unset ac_script || ac_script=
7108 if test -z "$SED"; then
7109 ac_path_SED_found=false
7110 # Loop through the user's path and test for each of PROGNAME-LIST
7111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7115 test -z "$as_dir" && as_dir=.
7116 for ac_prog in sed gsed; do
7117 for ac_exec_ext in '' $ac_executable_extensions; do
7118 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7119 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7120 # Check for GNU ac_path_SED and select it if it is found.
7121 # Check for GNU $ac_path_SED
7122 case `"$ac_path_SED" --version 2>&1` in
7124 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7127 $as_echo_n 0123456789 >"conftest.in"
7130 cat "conftest.in" "conftest.in" >"conftest.tmp"
7131 mv "conftest.tmp" "conftest.in"
7132 cp "conftest.in" "conftest.nl"
7133 $as_echo '' >> "conftest.nl"
7134 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7135 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7136 ac_count=`expr $ac_count + 1`
7137 if test $ac_count -gt ${ac_path_SED_max-0}; then
7138 # Best one so far, save it but keep looking for a better one
7139 ac_cv_path_SED="$ac_path_SED"
7140 ac_path_SED_max=$ac_count
7142 # 10*(2^10) chars as input seems more than enough
7143 test $ac_count -gt 10 && break
7145 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7148 $ac_path_SED_found && break 3
7153 if test -z "$ac_cv_path_SED"; then
7154 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
7155 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
7156 { (exit 1); exit 1; }; }
7163 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
7164 $as_echo "$ac_cv_path_SED" >&6; }
7165 SED="$ac_cv_path_SED"
7168 test -z "$SED" && SED=sed
7169 Xsed="$SED -e 1s/^X//"
7181 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
7182 $as_echo_n "checking for fgrep... " >&6; }
7183 if test "${ac_cv_path_FGREP+set}" = set; then
7184 $as_echo_n "(cached) " >&6
7186 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7187 then ac_cv_path_FGREP="$GREP -F"
7189 if test -z "$FGREP"; then
7190 ac_path_FGREP_found=false
7191 # Loop through the user's path and test for each of PROGNAME-LIST
7192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7193 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7196 test -z "$as_dir" && as_dir=.
7197 for ac_prog in fgrep; do
7198 for ac_exec_ext in '' $ac_executable_extensions; do
7199 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7200 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7201 # Check for GNU ac_path_FGREP and select it if it is found.
7202 # Check for GNU $ac_path_FGREP
7203 case `"$ac_path_FGREP" --version 2>&1` in
7205 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7208 $as_echo_n 0123456789 >"conftest.in"
7211 cat "conftest.in" "conftest.in" >"conftest.tmp"
7212 mv "conftest.tmp" "conftest.in"
7213 cp "conftest.in" "conftest.nl"
7214 $as_echo 'FGREP' >> "conftest.nl"
7215 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7216 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7217 ac_count=`expr $ac_count + 1`
7218 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7219 # Best one so far, save it but keep looking for a better one
7220 ac_cv_path_FGREP="$ac_path_FGREP"
7221 ac_path_FGREP_max=$ac_count
7223 # 10*(2^10) chars as input seems more than enough
7224 test $ac_count -gt 10 && break
7226 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7229 $ac_path_FGREP_found && break 3
7234 if test -z "$ac_cv_path_FGREP"; then
7235 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7236 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7237 { (exit 1); exit 1; }; }
7240 ac_cv_path_FGREP=$FGREP
7245 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
7246 $as_echo "$ac_cv_path_FGREP" >&6; }
7247 FGREP="$ac_cv_path_FGREP"
7250 test -z "$GREP" && GREP=grep
7270 # Check whether --with-gnu-ld was given.
7271 if test "${with_gnu_ld+set}" = set; then
7272 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7278 if test "$GCC" = yes; then
7279 # Check if gcc -print-prog-name=ld gives a path.
7280 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7281 $as_echo_n "checking for ld used by $CC... " >&6; }
7284 # gcc leaves a trailing carriage return which upsets mingw
7285 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7287 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7290 # Accept absolute paths.
7292 re_direlt='/[^/][^/]*/\.\./'
7293 # Canonicalize the pathname of ld
7294 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7295 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7296 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7298 test -z "$LD" && LD="$ac_prog"
7301 # If it fails, then pretend we aren't using GCC.
7305 # If it is relative, then search for the first ld in PATH.
7309 elif test "$with_gnu_ld" = yes; then
7310 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
7311 $as_echo_n "checking for GNU ld... " >&6; }
7313 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7314 $as_echo_n "checking for non-GNU ld... " >&6; }
7316 if test "${lt_cv_path_LD+set}" = set; then
7317 $as_echo_n "(cached) " >&6
7319 if test -z "$LD"; then
7320 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7321 for ac_dir in $PATH; do
7323 test -z "$ac_dir" && ac_dir=.
7324 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7325 lt_cv_path_LD="$ac_dir/$ac_prog"
7326 # Check to see if the program is GNU ld. I'd rather use --version,
7327 # but apparently some variants of GNU ld only accept -v.
7328 # Break only if it was the GNU/non-GNU ld that we prefer.
7329 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7330 *GNU* | *'with BFD'*)
7331 test "$with_gnu_ld" != no && break
7334 test "$with_gnu_ld" != yes && break
7341 lt_cv_path_LD="$LD" # Let the user override the test with a path.
7346 if test -n "$LD"; then
7347 { $as_echo "$as_me:$LINENO: result: $LD" >&5
7348 $as_echo "$LD" >&6; }
7350 { $as_echo "$as_me:$LINENO: result: no" >&5
7351 $as_echo "no" >&6; }
7353 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7354 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7355 { (exit 1); exit 1; }; }
7356 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7357 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7358 if test "${lt_cv_prog_gnu_ld+set}" = set; then
7359 $as_echo_n "(cached) " >&6
7361 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7362 case `$LD -v 2>&1 </dev/null` in
7363 *GNU* | *'with BFD'*)
7364 lt_cv_prog_gnu_ld=yes
7367 lt_cv_prog_gnu_ld=no
7371 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7372 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7373 with_gnu_ld=$lt_cv_prog_gnu_ld
7383 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
7384 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7385 if test "${lt_cv_path_NM+set}" = set; then
7386 $as_echo_n "(cached) " >&6
7388 if test -n "$NM"; then
7389 # Let the user override the test.
7392 lt_nm_to_check="${ac_tool_prefix}nm"
7393 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7394 lt_nm_to_check="$lt_nm_to_check nm"
7396 for lt_tmp_nm in $lt_nm_to_check; do
7397 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7398 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7400 test -z "$ac_dir" && ac_dir=.
7401 tmp_nm="$ac_dir/$lt_tmp_nm"
7402 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7403 # Check to see if the nm accepts a BSD-compat flag.
7404 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7405 # nm: unknown option "B" ignored
7406 # Tru64's nm complains that /dev/null is an invalid object file
7407 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7408 */dev/null* | *'Invalid file or object type'*)
7409 lt_cv_path_NM="$tmp_nm -B"
7413 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7415 lt_cv_path_NM="$tmp_nm -p"
7419 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7420 continue # so that we can try to find one that supports BSD flags
7429 : ${lt_cv_path_NM=no}
7432 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7433 $as_echo "$lt_cv_path_NM" >&6; }
7434 if test "$lt_cv_path_NM" != "no"; then
7437 # Didn't find any BSD compatible name lister, look for dumpbin.
7438 if test -n "$ac_tool_prefix"; then
7439 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
7441 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7442 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7443 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7444 $as_echo_n "checking for $ac_word... " >&6; }
7445 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
7446 $as_echo_n "(cached) " >&6
7448 if test -n "$DUMPBIN"; then
7449 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7455 test -z "$as_dir" && as_dir=.
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7458 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7459 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7468 DUMPBIN=$ac_cv_prog_DUMPBIN
7469 if test -n "$DUMPBIN"; then
7470 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
7471 $as_echo "$DUMPBIN" >&6; }
7473 { $as_echo "$as_me:$LINENO: result: no" >&5
7474 $as_echo "no" >&6; }
7478 test -n "$DUMPBIN" && break
7481 if test -z "$DUMPBIN"; then
7482 ac_ct_DUMPBIN=$DUMPBIN
7483 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
7485 # Extract the first word of "$ac_prog", so it can be a program name with args.
7486 set dummy $ac_prog; ac_word=$2
7487 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7488 $as_echo_n "checking for $ac_word... " >&6; }
7489 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
7490 $as_echo_n "(cached) " >&6
7492 if test -n "$ac_ct_DUMPBIN"; then
7493 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7499 test -z "$as_dir" && as_dir=.
7500 for ac_exec_ext in '' $ac_executable_extensions; do
7501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7502 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7503 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7512 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7513 if test -n "$ac_ct_DUMPBIN"; then
7514 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
7515 $as_echo "$ac_ct_DUMPBIN" >&6; }
7517 { $as_echo "$as_me:$LINENO: result: no" >&5
7518 $as_echo "no" >&6; }
7522 test -n "$ac_ct_DUMPBIN" && break
7525 if test "x$ac_ct_DUMPBIN" = x; then
7528 case $cross_compiling:$ac_tool_warned in
7530 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7532 ac_tool_warned=yes ;;
7534 DUMPBIN=$ac_ct_DUMPBIN
7539 if test "$DUMPBIN" != ":"; then
7543 test -z "$NM" && NM=nm
7550 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
7551 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7552 if test "${lt_cv_nm_interface+set}" = set; then
7553 $as_echo_n "(cached) " >&6
7555 lt_cv_nm_interface="BSD nm"
7556 echo "int some_variable = 0;" > conftest.$ac_ext
7557 (eval echo "\"\$as_me:7557: $ac_compile\"" >&5)
7558 (eval "$ac_compile" 2>conftest.err)
7559 cat conftest.err >&5
7560 (eval echo "\"\$as_me:7560: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7561 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7562 cat conftest.err >&5
7563 (eval echo "\"\$as_me:7563: output\"" >&5)
7564 cat conftest.out >&5
7565 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7566 lt_cv_nm_interface="MS dumpbin"
7570 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
7571 $as_echo "$lt_cv_nm_interface" >&6; }
7573 # find the maximum length of command line arguments
7574 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7575 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7576 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7577 $as_echo_n "(cached) " >&6
7584 # On DJGPP, this test can blow up pretty badly due to problems in libc
7585 # (any single argument exceeding 2000 bytes causes a buffer overrun
7586 # during glob expansion). Even if it were fixed, the result of this
7587 # check would be larger than it should be.
7588 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7592 # Under GNU Hurd, this test is not required because there is
7593 # no limit to the length of command line arguments.
7594 # Libtool will interpret -1 as no limit whatsoever
7595 lt_cv_sys_max_cmd_len=-1;
7598 cygwin* | mingw* | cegcc*)
7599 # On Win9x/ME, this test blows up -- it succeeds, but takes
7600 # about 5 minutes as the teststring grows exponentially.
7601 # Worse, since 9x/ME are not pre-emptively multitasking,
7602 # you end up with a "frozen" computer, even though with patience
7603 # the test eventually succeeds (with a max line length of 256k).
7604 # Instead, let's just punt: use the minimum linelength reported by
7605 # all of the supported platforms: 8192 (on NT/2K/XP).
7606 lt_cv_sys_max_cmd_len=8192;
7610 # On AmigaOS with pdksh, this test takes hours, literally.
7611 # So we just punt and use a minimum line length of 8192.
7612 lt_cv_sys_max_cmd_len=8192;
7615 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7616 # This has been around since 386BSD, at least. Likely further.
7617 if test -x /sbin/sysctl; then
7618 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7619 elif test -x /usr/sbin/sysctl; then
7620 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7622 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7624 # And add a safety zone
7625 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7626 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7630 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7631 lt_cv_sys_max_cmd_len=196608
7635 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7636 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7637 # nice to cause kernel panics so lets avoid the loop below.
7638 # First set a reasonable default.
7639 lt_cv_sys_max_cmd_len=16384
7641 if test -x /sbin/sysconfig; then
7642 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7643 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7648 lt_cv_sys_max_cmd_len=102400
7650 sysv5* | sco5v6* | sysv4.2uw2*)
7651 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7652 if test -n "$kargmax"; then
7653 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7655 lt_cv_sys_max_cmd_len=32768
7659 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7660 if test -n "$lt_cv_sys_max_cmd_len"; then
7661 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7662 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7664 # Make teststring a little bigger before we do anything with it.
7665 # a 1K string should be a reasonable start.
7666 for i in 1 2 3 4 5 6 7 8 ; do
7667 teststring=$teststring$teststring
7669 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7670 # If test is not a shell built-in, we'll probably end up computing a
7671 # maximum length that is only half of the actual maximum length, but
7673 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
7674 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
7675 test $i != 17 # 1/2 MB should be enough
7678 teststring=$teststring$teststring
7680 # Only check the string length outside the loop.
7681 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7683 # Add a significant safety factor because C++ compilers can tack on
7684 # massive amounts of additional arguments before passing them to the
7685 # linker. It appears as though 1/2 is a usable value.
7686 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7693 if test -n $lt_cv_sys_max_cmd_len ; then
7694 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7695 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7697 { $as_echo "$as_me:$LINENO: result: none" >&5
7698 $as_echo "none" >&6; }
7700 max_cmd_len=$lt_cv_sys_max_cmd_len
7711 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
7712 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7713 # Try some XSI features
7716 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7718 && eval 'test $(( 1 + 1 )) -eq 2 \
7719 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7721 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
7722 $as_echo "$xsi_shell" >&6; }
7725 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
7726 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7728 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7730 && lt_shell_append=yes
7731 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
7732 $as_echo "$lt_shell_append" >&6; }
7735 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7745 # test EBCDIC or ASCII
7746 case `echo X|tr X '\101'` in
7747 A) # ASCII based system
7748 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7749 lt_SP2NL='tr \040 \012'
7750 lt_NL2SP='tr \015\012 \040\040'
7752 *) # EBCDIC based system
7753 lt_SP2NL='tr \100 \n'
7754 lt_NL2SP='tr \r\n \100\100'
7766 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7767 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7768 if test "${lt_cv_ld_reload_flag+set}" = set; then
7769 $as_echo_n "(cached) " >&6
7771 lt_cv_ld_reload_flag='-r'
7773 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7774 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7775 reload_flag=$lt_cv_ld_reload_flag
7776 case $reload_flag in
7778 *) reload_flag=" $reload_flag" ;;
7780 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7783 if test "$GCC" = yes; then
7784 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7786 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7799 if test -n "$ac_tool_prefix"; then
7800 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7801 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7802 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7803 $as_echo_n "checking for $ac_word... " >&6; }
7804 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7805 $as_echo_n "(cached) " >&6
7807 if test -n "$OBJDUMP"; then
7808 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7814 test -z "$as_dir" && as_dir=.
7815 for ac_exec_ext in '' $ac_executable_extensions; do
7816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7817 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7818 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7827 OBJDUMP=$ac_cv_prog_OBJDUMP
7828 if test -n "$OBJDUMP"; then
7829 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
7830 $as_echo "$OBJDUMP" >&6; }
7832 { $as_echo "$as_me:$LINENO: result: no" >&5
7833 $as_echo "no" >&6; }
7838 if test -z "$ac_cv_prog_OBJDUMP"; then
7839 ac_ct_OBJDUMP=$OBJDUMP
7840 # Extract the first word of "objdump", so it can be a program name with args.
7841 set dummy objdump; ac_word=$2
7842 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7843 $as_echo_n "checking for $ac_word... " >&6; }
7844 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
7845 $as_echo_n "(cached) " >&6
7847 if test -n "$ac_ct_OBJDUMP"; then
7848 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7854 test -z "$as_dir" && as_dir=.
7855 for ac_exec_ext in '' $ac_executable_extensions; do
7856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7857 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7858 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7867 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7868 if test -n "$ac_ct_OBJDUMP"; then
7869 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
7870 $as_echo "$ac_ct_OBJDUMP" >&6; }
7872 { $as_echo "$as_me:$LINENO: result: no" >&5
7873 $as_echo "no" >&6; }
7876 if test "x$ac_ct_OBJDUMP" = x; then
7879 case $cross_compiling:$ac_tool_warned in
7881 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7883 ac_tool_warned=yes ;;
7885 OBJDUMP=$ac_ct_OBJDUMP
7888 OBJDUMP="$ac_cv_prog_OBJDUMP"
7891 test -z "$OBJDUMP" && OBJDUMP=objdump
7898 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
7899 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7900 if test "${lt_cv_deplibs_check_method+set}" = set; then
7901 $as_echo_n "(cached) " >&6
7903 lt_cv_file_magic_cmd='$MAGIC_CMD'
7904 lt_cv_file_magic_test_file=
7905 lt_cv_deplibs_check_method='unknown'
7906 # Need to set the preceding variable on all platforms that support
7907 # interlibrary dependencies.
7908 # 'none' -- dependencies not supported.
7909 # `unknown' -- same as none, but documents that we really don't know.
7910 # 'pass_all' -- all dependencies passed with no checks.
7911 # 'test_compile' -- check by making test program.
7912 # 'file_magic [[regex]]' -- check by looking for files in library path
7913 # which responds to the $file_magic_cmd with a given extended regex.
7914 # If you have `file' or equivalent on your system and you're not sure
7915 # whether `pass_all' will *always* work, you probably want this one.
7919 lt_cv_deplibs_check_method=pass_all
7923 lt_cv_deplibs_check_method=pass_all
7927 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7928 lt_cv_file_magic_cmd='/usr/bin/file -L'
7929 lt_cv_file_magic_test_file=/shlib/libc.so
7933 # func_win32_libid is a shell function defined in ltmain.sh
7934 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7935 lt_cv_file_magic_cmd='func_win32_libid'
7939 # Base MSYS/MinGW do not provide the 'file' command needed by
7940 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7941 # unless we find 'file', for example because we are cross-compiling.
7942 if ( file / ) >/dev/null 2>&1; then
7943 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7944 lt_cv_file_magic_cmd='func_win32_libid'
7946 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7947 lt_cv_file_magic_cmd='$OBJDUMP -f'
7952 # use the weaker test based on 'objdump'. See mingw*.
7953 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7954 lt_cv_file_magic_cmd='$OBJDUMP -f'
7957 darwin* | rhapsody*)
7958 lt_cv_deplibs_check_method=pass_all
7961 freebsd* | dragonfly*)
7962 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7965 # Not sure whether the presence of OpenBSD here was a mistake.
7966 # Let's accept both of them until this is cleared up.
7967 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7968 lt_cv_file_magic_cmd=/usr/bin/file
7969 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7973 lt_cv_deplibs_check_method=pass_all
7978 lt_cv_deplibs_check_method=pass_all
7981 hpux10.20* | hpux11*)
7982 lt_cv_file_magic_cmd=/usr/bin/file
7985 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7986 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7989 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]'
7990 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7993 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7994 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8000 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8001 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8004 irix5* | irix6* | nonstopux*)
8006 *-32|*"-32 ") libmagic=32-bit;;
8007 *-n32|*"-n32 ") libmagic=N32;;
8008 *-64|*"-64 ") libmagic=64-bit;;
8009 *) libmagic=never-match;;
8011 lt_cv_deplibs_check_method=pass_all
8014 # This must be Linux ELF.
8015 linux* | k*bsd*-gnu)
8016 lt_cv_deplibs_check_method=pass_all
8019 netbsd* | netbsdelf*-gnu)
8020 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8021 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8023 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8028 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8029 lt_cv_file_magic_cmd=/usr/bin/file
8030 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8034 lt_cv_deplibs_check_method=pass_all
8038 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8039 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8041 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8045 osf3* | osf4* | osf5*)
8046 lt_cv_deplibs_check_method=pass_all
8050 lt_cv_deplibs_check_method=pass_all
8054 lt_cv_deplibs_check_method=pass_all
8057 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8058 lt_cv_deplibs_check_method=pass_all
8062 case $host_vendor in
8064 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]'
8065 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8068 lt_cv_deplibs_check_method=pass_all
8071 lt_cv_file_magic_cmd='/bin/file'
8072 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8075 lt_cv_file_magic_cmd='/bin/file'
8076 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8077 lt_cv_file_magic_test_file=/lib/libc.so
8080 lt_cv_deplibs_check_method=pass_all
8083 lt_cv_deplibs_check_method=pass_all
8089 lt_cv_deplibs_check_method=pass_all
8094 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
8095 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8096 file_magic_cmd=$lt_cv_file_magic_cmd
8097 deplibs_check_method=$lt_cv_deplibs_check_method
8098 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8111 if test -n "$ac_tool_prefix"; then
8112 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8113 set dummy ${ac_tool_prefix}ar; ac_word=$2
8114 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8115 $as_echo_n "checking for $ac_word... " >&6; }
8116 if test "${ac_cv_prog_AR+set}" = set; then
8117 $as_echo_n "(cached) " >&6
8119 if test -n "$AR"; then
8120 ac_cv_prog_AR="$AR" # Let the user override the test.
8122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8126 test -z "$as_dir" && as_dir=.
8127 for ac_exec_ext in '' $ac_executable_extensions; do
8128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8129 ac_cv_prog_AR="${ac_tool_prefix}ar"
8130 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8140 if test -n "$AR"; then
8141 { $as_echo "$as_me:$LINENO: result: $AR" >&5
8142 $as_echo "$AR" >&6; }
8144 { $as_echo "$as_me:$LINENO: result: no" >&5
8145 $as_echo "no" >&6; }
8150 if test -z "$ac_cv_prog_AR"; then
8152 # Extract the first word of "ar", so it can be a program name with args.
8153 set dummy ar; ac_word=$2
8154 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8155 $as_echo_n "checking for $ac_word... " >&6; }
8156 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8157 $as_echo_n "(cached) " >&6
8159 if test -n "$ac_ct_AR"; then
8160 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8166 test -z "$as_dir" && as_dir=.
8167 for ac_exec_ext in '' $ac_executable_extensions; do
8168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8169 ac_cv_prog_ac_ct_AR="ar"
8170 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8179 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8180 if test -n "$ac_ct_AR"; then
8181 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8182 $as_echo "$ac_ct_AR" >&6; }
8184 { $as_echo "$as_me:$LINENO: result: no" >&5
8185 $as_echo "no" >&6; }
8188 if test "x$ac_ct_AR" = x; then
8191 case $cross_compiling:$ac_tool_warned in
8193 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8195 ac_tool_warned=yes ;;
8203 test -z "$AR" && AR=ar
8204 test -z "$AR_FLAGS" && AR_FLAGS=cru
8216 if test -n "$ac_tool_prefix"; then
8217 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8218 set dummy ${ac_tool_prefix}strip; ac_word=$2
8219 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8220 $as_echo_n "checking for $ac_word... " >&6; }
8221 if test "${ac_cv_prog_STRIP+set}" = set; then
8222 $as_echo_n "(cached) " >&6
8224 if test -n "$STRIP"; then
8225 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8231 test -z "$as_dir" && as_dir=.
8232 for ac_exec_ext in '' $ac_executable_extensions; do
8233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8234 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8235 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8244 STRIP=$ac_cv_prog_STRIP
8245 if test -n "$STRIP"; then
8246 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
8247 $as_echo "$STRIP" >&6; }
8249 { $as_echo "$as_me:$LINENO: result: no" >&5
8250 $as_echo "no" >&6; }
8255 if test -z "$ac_cv_prog_STRIP"; then
8257 # Extract the first word of "strip", so it can be a program name with args.
8258 set dummy strip; ac_word=$2
8259 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8260 $as_echo_n "checking for $ac_word... " >&6; }
8261 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8262 $as_echo_n "(cached) " >&6
8264 if test -n "$ac_ct_STRIP"; then
8265 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8271 test -z "$as_dir" && as_dir=.
8272 for ac_exec_ext in '' $ac_executable_extensions; do
8273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8274 ac_cv_prog_ac_ct_STRIP="strip"
8275 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8284 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8285 if test -n "$ac_ct_STRIP"; then
8286 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8287 $as_echo "$ac_ct_STRIP" >&6; }
8289 { $as_echo "$as_me:$LINENO: result: no" >&5
8290 $as_echo "no" >&6; }
8293 if test "x$ac_ct_STRIP" = x; then
8296 case $cross_compiling:$ac_tool_warned in
8298 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8300 ac_tool_warned=yes ;;
8305 STRIP="$ac_cv_prog_STRIP"
8308 test -z "$STRIP" && STRIP=:
8315 if test -n "$ac_tool_prefix"; then
8316 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8317 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8318 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8319 $as_echo_n "checking for $ac_word... " >&6; }
8320 if test "${ac_cv_prog_RANLIB+set}" = set; then
8321 $as_echo_n "(cached) " >&6
8323 if test -n "$RANLIB"; then
8324 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8330 test -z "$as_dir" && as_dir=.
8331 for ac_exec_ext in '' $ac_executable_extensions; do
8332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8333 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8334 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8343 RANLIB=$ac_cv_prog_RANLIB
8344 if test -n "$RANLIB"; then
8345 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
8346 $as_echo "$RANLIB" >&6; }
8348 { $as_echo "$as_me:$LINENO: result: no" >&5
8349 $as_echo "no" >&6; }
8354 if test -z "$ac_cv_prog_RANLIB"; then
8355 ac_ct_RANLIB=$RANLIB
8356 # Extract the first word of "ranlib", so it can be a program name with args.
8357 set dummy ranlib; ac_word=$2
8358 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8359 $as_echo_n "checking for $ac_word... " >&6; }
8360 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8361 $as_echo_n "(cached) " >&6
8363 if test -n "$ac_ct_RANLIB"; then
8364 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8370 test -z "$as_dir" && as_dir=.
8371 for ac_exec_ext in '' $ac_executable_extensions; do
8372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8373 ac_cv_prog_ac_ct_RANLIB="ranlib"
8374 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8383 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8384 if test -n "$ac_ct_RANLIB"; then
8385 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8386 $as_echo "$ac_ct_RANLIB" >&6; }
8388 { $as_echo "$as_me:$LINENO: result: no" >&5
8389 $as_echo "no" >&6; }
8392 if test "x$ac_ct_RANLIB" = x; then
8395 case $cross_compiling:$ac_tool_warned in
8397 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8399 ac_tool_warned=yes ;;
8401 RANLIB=$ac_ct_RANLIB
8404 RANLIB="$ac_cv_prog_RANLIB"
8407 test -z "$RANLIB" && RANLIB=:
8414 # Determine commands to create old-style static archives.
8415 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8416 old_postinstall_cmds='chmod 644 $oldlib'
8417 old_postuninstall_cmds=
8419 if test -n "$RANLIB"; then
8422 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8425 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8428 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8464 # If no C compiler was specified, use CC.
8467 # If no C compiler flags were specified, use CFLAGS.
8468 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8470 # Allow CC to be a program name with arguments.
8474 # Check for command to grab the raw symbol name followed by C symbol from nm.
8475 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8476 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8477 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8478 $as_echo_n "(cached) " >&6
8481 # These are sane defaults that work on at least a few old systems.
8482 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8484 # Character class describing NM global symbol codes.
8485 symcode='[BCDEGRST]'
8487 # Regexp to match symbols that can be accessed directly from C.
8488 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8490 # Define system-specific variables.
8495 cygwin* | mingw* | pw32* | cegcc*)
8496 symcode='[ABCDGISTW]'
8499 if test "$host_cpu" = ia64; then
8500 symcode='[ABCDEGRST]'
8504 symcode='[BCDEGRST]'
8507 symcode='[BCDEGQRST]'
8518 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8526 # If we're using GNU nm, then use its standard symbol codes.
8527 case `$NM -V 2>&1` in
8528 *GNU* | *'with BFD'*)
8529 symcode='[ABCDGIRSTW]' ;;
8532 # Transform an extracted symbol line into a proper C declaration.
8533 # Some systems (esp. on ia64) link data and code symbols differently,
8534 # so use this general approach.
8535 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8537 # Transform an extracted symbol line into symbol name and symbol address
8538 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8539 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'"
8541 # Handle CRLF in mingw tool chain
8545 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8549 # Try without a prefix underscore, then with it.
8550 for ac_symprfx in "" "_"; do
8552 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8553 symxfrm="\\1 $ac_symprfx\\2 \\2"
8555 # Write the raw and C identifiers.
8556 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8557 # Fake it for dumpbin and say T for any non-static function
8558 # and D for any global variable.
8559 # Also find C++ and __fastcall symbols from MSVC++,
8560 # which start with @ or ?.
8561 lt_cv_sys_global_symbol_pipe="$AWK '"\
8562 " {last_section=section; section=\$ 3};"\
8563 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8564 " \$ 0!~/External *\|/{next};"\
8565 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8566 " {if(hide[section]) next};"\
8567 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8568 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8569 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8570 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8571 " ' prfx=^$ac_symprfx"
8573 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8576 # Check to see that the pipe works correctly.
8580 cat > conftest.$ac_ext <<_LT_EOF
8585 void nm_test_func(void);
8586 void nm_test_func(void){}
8590 int main(){nm_test_var='a';nm_test_func();return(0);}
8593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8594 (eval $ac_compile) 2>&5
8596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 (exit $ac_status); }; then
8598 # Now try to grab the symbols.
8600 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8601 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 (exit $ac_status); } && test -s "$nlist"; then
8605 # Try sorting and uniquifying the output.
8606 if sort "$nlist" | uniq > "$nlist"T; then
8607 mv -f "$nlist"T "$nlist"
8612 # Make sure that we snagged all the symbols we need.
8613 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8614 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8615 cat <<_LT_EOF > conftest.$ac_ext
8621 # Now generate the symbol file.
8622 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8624 cat <<_LT_EOF >> conftest.$ac_ext
8626 /* The mapping between symbol names and symbols. */
8631 lt__PROGRAM__LTX_preloaded_symbols[] =
8633 { "@PROGRAM@", (void *) 0 },
8635 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8636 cat <<\_LT_EOF >> conftest.$ac_ext
8640 /* This works around a problem in FreeBSD linker */
8641 #ifdef FREEBSD_WORKAROUND
8642 static const void *lt_preloaded_setup() {
8643 return lt__PROGRAM__LTX_preloaded_symbols;
8651 # Now try linking the two files.
8652 mv conftest.$ac_objext conftstm.$ac_objext
8653 lt_save_LIBS="$LIBS"
8654 lt_save_CFLAGS="$CFLAGS"
8655 LIBS="conftstm.$ac_objext"
8656 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8658 (eval $ac_link) 2>&5
8660 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); } && test -s conftest${ac_exeext}; then
8664 LIBS="$lt_save_LIBS"
8665 CFLAGS="$lt_save_CFLAGS"
8667 echo "cannot find nm_test_func in $nlist" >&5
8670 echo "cannot find nm_test_var in $nlist" >&5
8673 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8676 echo "$progname: failed program was:" >&5
8677 cat conftest.$ac_ext >&5
8679 rm -rf conftest* conftst*
8681 # Do not use the global_symbol_pipe unless it works.
8682 if test "$pipe_works" = yes; then
8685 lt_cv_sys_global_symbol_pipe=
8691 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8692 lt_cv_sys_global_symbol_to_cdecl=
8694 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8695 { $as_echo "$as_me:$LINENO: result: failed" >&5
8696 $as_echo "failed" >&6; }
8698 { $as_echo "$as_me:$LINENO: result: ok" >&5
8699 $as_echo "ok" >&6; }
8723 # Check whether --enable-libtool-lock was given.
8724 if test "${enable_libtool_lock+set}" = set; then
8725 enableval=$enable_libtool_lock;
8728 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8730 # Some flags need to be propagated to the compiler or linker for good
8734 # Find out which ABI we are using.
8735 echo 'int i;' > conftest.$ac_ext
8736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8737 (eval $ac_compile) 2>&5
8739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 (exit $ac_status); }; then
8741 case `/usr/bin/file conftest.$ac_objext` in
8753 # Find out which ABI we are using.
8754 echo '#line 8754 "configure"' > conftest.$ac_ext
8755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8756 (eval $ac_compile) 2>&5
8758 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759 (exit $ac_status); }; then
8760 if test "$lt_cv_prog_gnu_ld" = yes; then
8761 case `/usr/bin/file conftest.$ac_objext` in
8763 LD="${LD-ld} -melf32bsmip"
8766 LD="${LD-ld} -melf32bmipn32"
8769 LD="${LD-ld} -melf64bmip"
8773 case `/usr/bin/file conftest.$ac_objext` in
8789 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8790 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8791 # Find out which ABI we are using.
8792 echo 'int i;' > conftest.$ac_ext
8793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8794 (eval $ac_compile) 2>&5
8796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8797 (exit $ac_status); }; then
8798 case `/usr/bin/file conftest.o` in
8801 x86_64-*kfreebsd*-gnu)
8802 LD="${LD-ld} -m elf_i386_fbsd"
8805 LD="${LD-ld} -m elf_i386"
8807 ppc64-*linux*|powerpc64-*linux*)
8808 LD="${LD-ld} -m elf32ppclinux"
8811 LD="${LD-ld} -m elf_s390"
8814 LD="${LD-ld} -m elf32_sparc"
8820 x86_64-*kfreebsd*-gnu)
8821 LD="${LD-ld} -m elf_x86_64_fbsd"
8824 LD="${LD-ld} -m elf_x86_64"
8826 ppc*-*linux*|powerpc*-*linux*)
8827 LD="${LD-ld} -m elf64ppc"
8829 s390*-*linux*|s390*-*tpf*)
8830 LD="${LD-ld} -m elf64_s390"
8833 LD="${LD-ld} -m elf64_sparc"
8843 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8844 SAVE_CFLAGS="$CFLAGS"
8845 CFLAGS="$CFLAGS -belf"
8846 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8847 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8848 if test "${lt_cv_cc_needs_belf+set}" = set; then
8849 $as_echo_n "(cached) " >&6
8852 ac_cpp='$CPP $CPPFLAGS'
8853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8857 cat >conftest.$ac_ext <<_ACEOF
8860 cat confdefs.h >>conftest.$ac_ext
8861 cat >>conftest.$ac_ext <<_ACEOF
8862 /* end confdefs.h. */
8872 rm -f conftest.$ac_objext conftest$ac_exeext
8873 if { (ac_try="$ac_link"
8875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8876 *) ac_try_echo=$ac_try;;
8878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8879 $as_echo "$ac_try_echo") >&5
8880 (eval "$ac_link") 2>conftest.er1
8882 grep -v '^ *+' conftest.er1 >conftest.err
8884 cat conftest.err >&5
8885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 (exit $ac_status); } && {
8887 test -z "$ac_c_werror_flag" ||
8888 test ! -s conftest.err
8889 } && test -s conftest$ac_exeext && {
8890 test "$cross_compiling" = yes ||
8891 $as_test_x conftest$ac_exeext
8893 lt_cv_cc_needs_belf=yes
8895 $as_echo "$as_me: failed program was:" >&5
8896 sed 's/^/| /' conftest.$ac_ext >&5
8898 lt_cv_cc_needs_belf=no
8901 rm -rf conftest.dSYM
8902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8903 conftest$ac_exeext conftest.$ac_ext
8905 ac_cpp='$CPP $CPPFLAGS'
8906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8911 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8912 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8913 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8914 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8915 CFLAGS="$SAVE_CFLAGS"
8919 # Find out which ABI we are using.
8920 echo 'int i;' > conftest.$ac_ext
8921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8922 (eval $ac_compile) 2>&5
8924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925 (exit $ac_status); }; then
8926 case `/usr/bin/file conftest.o` in
8928 case $lt_cv_prog_gnu_ld in
8929 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8931 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8943 need_locks="$enable_libtool_lock"
8947 rhapsody* | darwin*)
8948 if test -n "$ac_tool_prefix"; then
8949 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8950 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8951 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8952 $as_echo_n "checking for $ac_word... " >&6; }
8953 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8954 $as_echo_n "(cached) " >&6
8956 if test -n "$DSYMUTIL"; then
8957 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8963 test -z "$as_dir" && as_dir=.
8964 for ac_exec_ext in '' $ac_executable_extensions; do
8965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8966 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8967 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8976 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8977 if test -n "$DSYMUTIL"; then
8978 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8979 $as_echo "$DSYMUTIL" >&6; }
8981 { $as_echo "$as_me:$LINENO: result: no" >&5
8982 $as_echo "no" >&6; }
8987 if test -z "$ac_cv_prog_DSYMUTIL"; then
8988 ac_ct_DSYMUTIL=$DSYMUTIL
8989 # Extract the first word of "dsymutil", so it can be a program name with args.
8990 set dummy dsymutil; ac_word=$2
8991 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8992 $as_echo_n "checking for $ac_word... " >&6; }
8993 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8994 $as_echo_n "(cached) " >&6
8996 if test -n "$ac_ct_DSYMUTIL"; then
8997 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9003 test -z "$as_dir" && as_dir=.
9004 for ac_exec_ext in '' $ac_executable_extensions; do
9005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9006 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9007 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9016 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9017 if test -n "$ac_ct_DSYMUTIL"; then
9018 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
9019 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9021 { $as_echo "$as_me:$LINENO: result: no" >&5
9022 $as_echo "no" >&6; }
9025 if test "x$ac_ct_DSYMUTIL" = x; then
9028 case $cross_compiling:$ac_tool_warned in
9030 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9032 ac_tool_warned=yes ;;
9034 DSYMUTIL=$ac_ct_DSYMUTIL
9037 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9040 if test -n "$ac_tool_prefix"; then
9041 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9042 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9043 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9044 $as_echo_n "checking for $ac_word... " >&6; }
9045 if test "${ac_cv_prog_NMEDIT+set}" = set; then
9046 $as_echo_n "(cached) " >&6
9048 if test -n "$NMEDIT"; then
9049 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9055 test -z "$as_dir" && as_dir=.
9056 for ac_exec_ext in '' $ac_executable_extensions; do
9057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9058 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9059 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9068 NMEDIT=$ac_cv_prog_NMEDIT
9069 if test -n "$NMEDIT"; then
9070 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
9071 $as_echo "$NMEDIT" >&6; }
9073 { $as_echo "$as_me:$LINENO: result: no" >&5
9074 $as_echo "no" >&6; }
9079 if test -z "$ac_cv_prog_NMEDIT"; then
9080 ac_ct_NMEDIT=$NMEDIT
9081 # Extract the first word of "nmedit", so it can be a program name with args.
9082 set dummy nmedit; ac_word=$2
9083 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9084 $as_echo_n "checking for $ac_word... " >&6; }
9085 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
9086 $as_echo_n "(cached) " >&6
9088 if test -n "$ac_ct_NMEDIT"; then
9089 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9095 test -z "$as_dir" && as_dir=.
9096 for ac_exec_ext in '' $ac_executable_extensions; do
9097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9098 ac_cv_prog_ac_ct_NMEDIT="nmedit"
9099 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9108 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9109 if test -n "$ac_ct_NMEDIT"; then
9110 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
9111 $as_echo "$ac_ct_NMEDIT" >&6; }
9113 { $as_echo "$as_me:$LINENO: result: no" >&5
9114 $as_echo "no" >&6; }
9117 if test "x$ac_ct_NMEDIT" = x; then
9120 case $cross_compiling:$ac_tool_warned in
9122 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9124 ac_tool_warned=yes ;;
9126 NMEDIT=$ac_ct_NMEDIT
9129 NMEDIT="$ac_cv_prog_NMEDIT"
9132 if test -n "$ac_tool_prefix"; then
9133 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9134 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9135 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9136 $as_echo_n "checking for $ac_word... " >&6; }
9137 if test "${ac_cv_prog_LIPO+set}" = set; then
9138 $as_echo_n "(cached) " >&6
9140 if test -n "$LIPO"; then
9141 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9147 test -z "$as_dir" && as_dir=.
9148 for ac_exec_ext in '' $ac_executable_extensions; do
9149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9150 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9151 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9160 LIPO=$ac_cv_prog_LIPO
9161 if test -n "$LIPO"; then
9162 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
9163 $as_echo "$LIPO" >&6; }
9165 { $as_echo "$as_me:$LINENO: result: no" >&5
9166 $as_echo "no" >&6; }
9171 if test -z "$ac_cv_prog_LIPO"; then
9173 # Extract the first word of "lipo", so it can be a program name with args.
9174 set dummy lipo; ac_word=$2
9175 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9176 $as_echo_n "checking for $ac_word... " >&6; }
9177 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
9178 $as_echo_n "(cached) " >&6
9180 if test -n "$ac_ct_LIPO"; then
9181 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9187 test -z "$as_dir" && as_dir=.
9188 for ac_exec_ext in '' $ac_executable_extensions; do
9189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9190 ac_cv_prog_ac_ct_LIPO="lipo"
9191 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9200 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9201 if test -n "$ac_ct_LIPO"; then
9202 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
9203 $as_echo "$ac_ct_LIPO" >&6; }
9205 { $as_echo "$as_me:$LINENO: result: no" >&5
9206 $as_echo "no" >&6; }
9209 if test "x$ac_ct_LIPO" = x; then
9212 case $cross_compiling:$ac_tool_warned in
9214 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9216 ac_tool_warned=yes ;;
9221 LIPO="$ac_cv_prog_LIPO"
9224 if test -n "$ac_tool_prefix"; then
9225 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9226 set dummy ${ac_tool_prefix}otool; ac_word=$2
9227 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9228 $as_echo_n "checking for $ac_word... " >&6; }
9229 if test "${ac_cv_prog_OTOOL+set}" = set; then
9230 $as_echo_n "(cached) " >&6
9232 if test -n "$OTOOL"; then
9233 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9239 test -z "$as_dir" && as_dir=.
9240 for ac_exec_ext in '' $ac_executable_extensions; do
9241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9242 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9243 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9252 OTOOL=$ac_cv_prog_OTOOL
9253 if test -n "$OTOOL"; then
9254 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
9255 $as_echo "$OTOOL" >&6; }
9257 { $as_echo "$as_me:$LINENO: result: no" >&5
9258 $as_echo "no" >&6; }
9263 if test -z "$ac_cv_prog_OTOOL"; then
9265 # Extract the first word of "otool", so it can be a program name with args.
9266 set dummy otool; ac_word=$2
9267 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9268 $as_echo_n "checking for $ac_word... " >&6; }
9269 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
9270 $as_echo_n "(cached) " >&6
9272 if test -n "$ac_ct_OTOOL"; then
9273 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9279 test -z "$as_dir" && as_dir=.
9280 for ac_exec_ext in '' $ac_executable_extensions; do
9281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9282 ac_cv_prog_ac_ct_OTOOL="otool"
9283 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9292 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9293 if test -n "$ac_ct_OTOOL"; then
9294 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
9295 $as_echo "$ac_ct_OTOOL" >&6; }
9297 { $as_echo "$as_me:$LINENO: result: no" >&5
9298 $as_echo "no" >&6; }
9301 if test "x$ac_ct_OTOOL" = x; then
9304 case $cross_compiling:$ac_tool_warned in
9306 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9308 ac_tool_warned=yes ;;
9313 OTOOL="$ac_cv_prog_OTOOL"
9316 if test -n "$ac_tool_prefix"; then
9317 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9318 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9319 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9320 $as_echo_n "checking for $ac_word... " >&6; }
9321 if test "${ac_cv_prog_OTOOL64+set}" = set; then
9322 $as_echo_n "(cached) " >&6
9324 if test -n "$OTOOL64"; then
9325 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9331 test -z "$as_dir" && as_dir=.
9332 for ac_exec_ext in '' $ac_executable_extensions; do
9333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9334 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9335 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9344 OTOOL64=$ac_cv_prog_OTOOL64
9345 if test -n "$OTOOL64"; then
9346 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
9347 $as_echo "$OTOOL64" >&6; }
9349 { $as_echo "$as_me:$LINENO: result: no" >&5
9350 $as_echo "no" >&6; }
9355 if test -z "$ac_cv_prog_OTOOL64"; then
9356 ac_ct_OTOOL64=$OTOOL64
9357 # Extract the first word of "otool64", so it can be a program name with args.
9358 set dummy otool64; ac_word=$2
9359 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9360 $as_echo_n "checking for $ac_word... " >&6; }
9361 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
9362 $as_echo_n "(cached) " >&6
9364 if test -n "$ac_ct_OTOOL64"; then
9365 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9371 test -z "$as_dir" && as_dir=.
9372 for ac_exec_ext in '' $ac_executable_extensions; do
9373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9374 ac_cv_prog_ac_ct_OTOOL64="otool64"
9375 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9384 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9385 if test -n "$ac_ct_OTOOL64"; then
9386 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
9387 $as_echo "$ac_ct_OTOOL64" >&6; }
9389 { $as_echo "$as_me:$LINENO: result: no" >&5
9390 $as_echo "no" >&6; }
9393 if test "x$ac_ct_OTOOL64" = x; then
9396 case $cross_compiling:$ac_tool_warned in
9398 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9400 ac_tool_warned=yes ;;
9402 OTOOL64=$ac_ct_OTOOL64
9405 OTOOL64="$ac_cv_prog_OTOOL64"
9434 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
9435 $as_echo_n "checking for -single_module linker flag... " >&6; }
9436 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9437 $as_echo_n "(cached) " >&6
9439 lt_cv_apple_cc_single_mod=no
9440 if test -z "${LT_MULTI_MODULE}"; then
9441 # By default we will add the -single_module flag. You can override
9442 # by either setting the environment variable LT_MULTI_MODULE
9443 # non-empty at configure time, or by adding -multi_module to the
9445 rm -rf libconftest.dylib*
9446 echo "int foo(void){return 1;}" > conftest.c
9447 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9448 -dynamiclib -Wl,-single_module conftest.c" >&5
9449 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9450 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9452 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9453 lt_cv_apple_cc_single_mod=yes
9455 cat conftest.err >&5
9457 rm -rf libconftest.dylib*
9461 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
9462 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9463 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
9464 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9465 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
9466 $as_echo_n "(cached) " >&6
9468 lt_cv_ld_exported_symbols_list=no
9469 save_LDFLAGS=$LDFLAGS
9470 echo "_main" > conftest.sym
9471 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9472 cat >conftest.$ac_ext <<_ACEOF
9475 cat confdefs.h >>conftest.$ac_ext
9476 cat >>conftest.$ac_ext <<_ACEOF
9477 /* end confdefs.h. */
9487 rm -f conftest.$ac_objext conftest$ac_exeext
9488 if { (ac_try="$ac_link"
9490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9491 *) ac_try_echo=$ac_try;;
9493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9494 $as_echo "$ac_try_echo") >&5
9495 (eval "$ac_link") 2>conftest.er1
9497 grep -v '^ *+' conftest.er1 >conftest.err
9499 cat conftest.err >&5
9500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501 (exit $ac_status); } && {
9502 test -z "$ac_c_werror_flag" ||
9503 test ! -s conftest.err
9504 } && test -s conftest$ac_exeext && {
9505 test "$cross_compiling" = yes ||
9506 $as_test_x conftest$ac_exeext
9508 lt_cv_ld_exported_symbols_list=yes
9510 $as_echo "$as_me: failed program was:" >&5
9511 sed 's/^/| /' conftest.$ac_ext >&5
9513 lt_cv_ld_exported_symbols_list=no
9516 rm -rf conftest.dSYM
9517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9518 conftest$ac_exeext conftest.$ac_ext
9519 LDFLAGS="$save_LDFLAGS"
9522 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
9523 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9525 rhapsody* | darwin1.[012])
9526 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9528 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9529 darwin*) # darwin 5.x on
9530 # if running on 10.5 or later, the deployment target defaults
9531 # to the OS version, if on x86, and 10.4, the deployment
9532 # target defaults to 10.4. Don't you love it?
9533 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9534 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9535 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9537 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9539 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9543 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9544 _lt_dar_single_mod='$single_module'
9546 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9547 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9549 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9551 if test "$DSYMUTIL" != ":"; then
9552 _lt_dsymutil='~$DSYMUTIL $lib || :'
9560 for ac_header in dlfcn.h
9562 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9563 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9564 $as_echo_n "checking for $ac_header... " >&6; }
9565 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9566 $as_echo_n "(cached) " >&6
9568 cat >conftest.$ac_ext <<_ACEOF
9571 cat confdefs.h >>conftest.$ac_ext
9572 cat >>conftest.$ac_ext <<_ACEOF
9573 /* end confdefs.h. */
9574 $ac_includes_default
9576 #include <$ac_header>
9578 rm -f conftest.$ac_objext
9579 if { (ac_try="$ac_compile"
9581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9582 *) ac_try_echo=$ac_try;;
9584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9585 $as_echo "$ac_try_echo") >&5
9586 (eval "$ac_compile") 2>conftest.er1
9588 grep -v '^ *+' conftest.er1 >conftest.err
9590 cat conftest.err >&5
9591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592 (exit $ac_status); } && {
9593 test -z "$ac_c_werror_flag" ||
9594 test ! -s conftest.err
9595 } && test -s conftest.$ac_objext; then
9596 eval "$as_ac_Header=yes"
9598 $as_echo "$as_me: failed program was:" >&5
9599 sed 's/^/| /' conftest.$ac_ext >&5
9601 eval "$as_ac_Header=no"
9604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9606 ac_res=`eval 'as_val=${'$as_ac_Header'}
9607 $as_echo "$as_val"'`
9608 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9609 $as_echo "$ac_res" >&6; }
9610 as_val=`eval 'as_val=${'$as_ac_Header'}
9611 $as_echo "$as_val"'`
9612 if test "x$as_val" = x""yes; then
9613 cat >>confdefs.h <<_ACEOF
9614 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9624 ac_cpp='$CXXCPP $CPPFLAGS'
9625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9628 if test -z "$CXX"; then
9629 if test -n "$CCC"; then
9632 if test -n "$ac_tool_prefix"; then
9633 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
9635 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9636 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9637 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9638 $as_echo_n "checking for $ac_word... " >&6; }
9639 if test "${ac_cv_prog_CXX+set}" = set; then
9640 $as_echo_n "(cached) " >&6
9642 if test -n "$CXX"; then
9643 ac_cv_prog_CXX="$CXX" # Let the user override the test.
9645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9649 test -z "$as_dir" && as_dir=.
9650 for ac_exec_ext in '' $ac_executable_extensions; do
9651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9652 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
9653 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9663 if test -n "$CXX"; then
9664 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
9665 $as_echo "$CXX" >&6; }
9667 { $as_echo "$as_me:$LINENO: result: no" >&5
9668 $as_echo "no" >&6; }
9672 test -n "$CXX" && break
9675 if test -z "$CXX"; then
9677 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
9679 # Extract the first word of "$ac_prog", so it can be a program name with args.
9680 set dummy $ac_prog; ac_word=$2
9681 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9682 $as_echo_n "checking for $ac_word... " >&6; }
9683 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
9684 $as_echo_n "(cached) " >&6
9686 if test -n "$ac_ct_CXX"; then
9687 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
9689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9693 test -z "$as_dir" && as_dir=.
9694 for ac_exec_ext in '' $ac_executable_extensions; do
9695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9696 ac_cv_prog_ac_ct_CXX="$ac_prog"
9697 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9706 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
9707 if test -n "$ac_ct_CXX"; then
9708 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
9709 $as_echo "$ac_ct_CXX" >&6; }
9711 { $as_echo "$as_me:$LINENO: result: no" >&5
9712 $as_echo "no" >&6; }
9716 test -n "$ac_ct_CXX" && break
9719 if test "x$ac_ct_CXX" = x; then
9722 case $cross_compiling:$ac_tool_warned in
9724 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9726 ac_tool_warned=yes ;;
9734 # Provide some information about the compiler.
9735 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
9738 { (ac_try="$ac_compiler --version >&5"
9740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9741 *) ac_try_echo=$ac_try;;
9743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9744 $as_echo "$ac_try_echo") >&5
9745 (eval "$ac_compiler --version >&5") 2>&5
9747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9748 (exit $ac_status); }
9749 { (ac_try="$ac_compiler -v >&5"
9751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9752 *) ac_try_echo=$ac_try;;
9754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9755 $as_echo "$ac_try_echo") >&5
9756 (eval "$ac_compiler -v >&5") 2>&5
9758 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 (exit $ac_status); }
9760 { (ac_try="$ac_compiler -V >&5"
9762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9763 *) ac_try_echo=$ac_try;;
9765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9766 $as_echo "$ac_try_echo") >&5
9767 (eval "$ac_compiler -V >&5") 2>&5
9769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 (exit $ac_status); }
9772 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
9773 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
9774 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
9775 $as_echo_n "(cached) " >&6
9777 cat >conftest.$ac_ext <<_ACEOF
9780 cat confdefs.h >>conftest.$ac_ext
9781 cat >>conftest.$ac_ext <<_ACEOF
9782 /* end confdefs.h. */
9795 rm -f conftest.$ac_objext
9796 if { (ac_try="$ac_compile"
9798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9799 *) ac_try_echo=$ac_try;;
9801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9802 $as_echo "$ac_try_echo") >&5
9803 (eval "$ac_compile") 2>conftest.er1
9805 grep -v '^ *+' conftest.er1 >conftest.err
9807 cat conftest.err >&5
9808 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809 (exit $ac_status); } && {
9810 test -z "$ac_cxx_werror_flag" ||
9811 test ! -s conftest.err
9812 } && test -s conftest.$ac_objext; then
9815 $as_echo "$as_me: failed program was:" >&5
9816 sed 's/^/| /' conftest.$ac_ext >&5
9821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9822 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
9825 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
9826 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
9827 if test $ac_compiler_gnu = yes; then
9832 ac_test_CXXFLAGS=${CXXFLAGS+set}
9833 ac_save_CXXFLAGS=$CXXFLAGS
9834 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
9835 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
9836 if test "${ac_cv_prog_cxx_g+set}" = set; then
9837 $as_echo_n "(cached) " >&6
9839 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
9840 ac_cxx_werror_flag=yes
9843 cat >conftest.$ac_ext <<_ACEOF
9846 cat confdefs.h >>conftest.$ac_ext
9847 cat >>conftest.$ac_ext <<_ACEOF
9848 /* end confdefs.h. */
9858 rm -f conftest.$ac_objext
9859 if { (ac_try="$ac_compile"
9861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9862 *) ac_try_echo=$ac_try;;
9864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9865 $as_echo "$ac_try_echo") >&5
9866 (eval "$ac_compile") 2>conftest.er1
9868 grep -v '^ *+' conftest.er1 >conftest.err
9870 cat conftest.err >&5
9871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); } && {
9873 test -z "$ac_cxx_werror_flag" ||
9874 test ! -s conftest.err
9875 } && test -s conftest.$ac_objext; then
9876 ac_cv_prog_cxx_g=yes
9878 $as_echo "$as_me: failed program was:" >&5
9879 sed 's/^/| /' conftest.$ac_ext >&5
9882 cat >conftest.$ac_ext <<_ACEOF
9885 cat confdefs.h >>conftest.$ac_ext
9886 cat >>conftest.$ac_ext <<_ACEOF
9887 /* end confdefs.h. */
9897 rm -f conftest.$ac_objext
9898 if { (ac_try="$ac_compile"
9900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9901 *) ac_try_echo=$ac_try;;
9903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9904 $as_echo "$ac_try_echo") >&5
9905 (eval "$ac_compile") 2>conftest.er1
9907 grep -v '^ *+' conftest.er1 >conftest.err
9909 cat conftest.err >&5
9910 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911 (exit $ac_status); } && {
9912 test -z "$ac_cxx_werror_flag" ||
9913 test ! -s conftest.err
9914 } && test -s conftest.$ac_objext; then
9917 $as_echo "$as_me: failed program was:" >&5
9918 sed 's/^/| /' conftest.$ac_ext >&5
9920 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9922 cat >conftest.$ac_ext <<_ACEOF
9925 cat confdefs.h >>conftest.$ac_ext
9926 cat >>conftest.$ac_ext <<_ACEOF
9927 /* end confdefs.h. */
9937 rm -f conftest.$ac_objext
9938 if { (ac_try="$ac_compile"
9940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9941 *) ac_try_echo=$ac_try;;
9943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9944 $as_echo "$ac_try_echo") >&5
9945 (eval "$ac_compile") 2>conftest.er1
9947 grep -v '^ *+' conftest.er1 >conftest.err
9949 cat conftest.err >&5
9950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9951 (exit $ac_status); } && {
9952 test -z "$ac_cxx_werror_flag" ||
9953 test ! -s conftest.err
9954 } && test -s conftest.$ac_objext; then
9955 ac_cv_prog_cxx_g=yes
9957 $as_echo "$as_me: failed program was:" >&5
9958 sed 's/^/| /' conftest.$ac_ext >&5
9963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9970 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9972 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
9973 $as_echo "$ac_cv_prog_cxx_g" >&6; }
9974 if test "$ac_test_CXXFLAGS" = set; then
9975 CXXFLAGS=$ac_save_CXXFLAGS
9976 elif test $ac_cv_prog_cxx_g = yes; then
9977 if test "$GXX" = yes; then
9983 if test "$GXX" = yes; then
9990 ac_cpp='$CPP $CPPFLAGS'
9991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9995 depcc="$CXX" am_compiler_list=
9997 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9998 $as_echo_n "checking dependency style of $depcc... " >&6; }
9999 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
10000 $as_echo_n "(cached) " >&6
10002 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10003 # We make a subdir and do the tests there. Otherwise we can end up
10004 # making bogus files that we don't know about and never remove. For
10005 # instance it was reported that on HP-UX the gcc test will end up
10006 # making a dummy file named `D' -- because `-MD' means `put the output
10009 # Copy depcomp to subdir because otherwise we won't find it if we're
10010 # using a relative directory.
10011 cp "$am_depcomp" conftest.dir
10013 # We will build objects and dependencies in a subdirectory because
10014 # it helps to detect inapplicable dependency modes. For instance
10015 # both Tru64's cc and ICC support -MD to output dependencies as a
10016 # side effect of compilation, but ICC will put the dependencies in
10017 # the current directory while Tru64 will put them in the object
10021 am_cv_CXX_dependencies_compiler_type=none
10022 if test "$am_compiler_list" = ""; then
10023 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10025 for depmode in $am_compiler_list; do
10026 # Setup a source with many dependencies, because some compilers
10027 # like to wrap large dependency lists on column 80 (with \), and
10028 # we should not choose a depcomp mode which is confused by this.
10030 # We need to recreate these files for each test, as the compiler may
10031 # overwrite some of them when testing with obscure command lines.
10032 # This happens at least with the AIX C compiler.
10034 for i in 1 2 3 4 5 6; do
10035 echo '#include "conftst'$i'.h"' >> sub/conftest.c
10036 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
10037 # Solaris 8's {/usr,}/bin/sh.
10038 touch sub/conftst$i.h
10040 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10044 # after this tag, mechanisms are not by side-effect, so they'll
10045 # only be used when explicitly requested
10046 if test "x$enable_dependency_tracking" = xyes; then
10054 # We check with `-c' and `-o' for the sake of the "dashmstdout"
10055 # mode. It turns out that the SunPro C++ compiler does not properly
10056 # handle `-M -o', and we need to detect this.
10057 if depmode=$depmode \
10058 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
10059 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10060 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
10061 >/dev/null 2>conftest.err &&
10062 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10063 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10064 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
10065 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10066 # icc doesn't choke on unknown options, it will just issue warnings
10067 # or remarks (even with -Werror). So we grep stderr for any message
10068 # that says an option was ignored or not supported.
10069 # When given -MP, icc 7.0 and 7.1 complain thusly:
10070 # icc: Command line warning: ignoring option '-M'; no argument required
10071 # The diagnosis changed in icc 8.0:
10072 # icc: Command line remark: option '-MP' not supported
10073 if (grep 'ignoring option' conftest.err ||
10074 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10075 am_cv_CXX_dependencies_compiler_type=$depmode
10082 rm -rf conftest.dir
10084 am_cv_CXX_dependencies_compiler_type=none
10088 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
10089 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
10090 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
10093 test "x$enable_dependency_tracking" != xno \
10094 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
10095 am__fastdepCXX_TRUE=
10096 am__fastdepCXX_FALSE='#'
10098 am__fastdepCXX_TRUE='#'
10099 am__fastdepCXX_FALSE=
10103 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10104 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10105 (test "X$CXX" != "Xg++"))) ; then
10107 ac_cpp='$CXXCPP $CPPFLAGS'
10108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10111 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
10112 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
10113 if test -z "$CXXCPP"; then
10114 if test "${ac_cv_prog_CXXCPP+set}" = set; then
10115 $as_echo_n "(cached) " >&6
10117 # Double quotes because CXXCPP needs to be expanded
10118 for CXXCPP in "$CXX -E" "/lib/cpp"
10120 ac_preproc_ok=false
10121 for ac_cxx_preproc_warn_flag in '' yes
10123 # Use a header file that comes with gcc, so configuring glibc
10124 # with a fresh cross-compiler works.
10125 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10126 # <limits.h> exists even on freestanding compilers.
10127 # On the NeXT, cc -E runs the code through the compiler's parser,
10128 # not just through cpp. "Syntax error" is here to catch this case.
10129 cat >conftest.$ac_ext <<_ACEOF
10132 cat confdefs.h >>conftest.$ac_ext
10133 cat >>conftest.$ac_ext <<_ACEOF
10134 /* end confdefs.h. */
10136 # include <limits.h>
10138 # include <assert.h>
10142 if { (ac_try="$ac_cpp conftest.$ac_ext"
10143 case "(($ac_try" in
10144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10145 *) ac_try_echo=$ac_try;;
10147 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10148 $as_echo "$ac_try_echo") >&5
10149 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10151 grep -v '^ *+' conftest.er1 >conftest.err
10153 cat conftest.err >&5
10154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); } >/dev/null && {
10156 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10157 test ! -s conftest.err
10161 $as_echo "$as_me: failed program was:" >&5
10162 sed 's/^/| /' conftest.$ac_ext >&5
10164 # Broken: fails on valid input.
10168 rm -f conftest.err conftest.$ac_ext
10170 # OK, works on sane cases. Now check whether nonexistent headers
10171 # can be detected and how.
10172 cat >conftest.$ac_ext <<_ACEOF
10175 cat confdefs.h >>conftest.$ac_ext
10176 cat >>conftest.$ac_ext <<_ACEOF
10177 /* end confdefs.h. */
10178 #include <ac_nonexistent.h>
10180 if { (ac_try="$ac_cpp conftest.$ac_ext"
10181 case "(($ac_try" in
10182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10183 *) ac_try_echo=$ac_try;;
10185 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10186 $as_echo "$ac_try_echo") >&5
10187 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10189 grep -v '^ *+' conftest.er1 >conftest.err
10191 cat conftest.err >&5
10192 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193 (exit $ac_status); } >/dev/null && {
10194 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10195 test ! -s conftest.err
10197 # Broken: success on invalid input.
10200 $as_echo "$as_me: failed program was:" >&5
10201 sed 's/^/| /' conftest.$ac_ext >&5
10203 # Passes both tests.
10208 rm -f conftest.err conftest.$ac_ext
10211 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10212 rm -f conftest.err conftest.$ac_ext
10213 if $ac_preproc_ok; then
10218 ac_cv_prog_CXXCPP=$CXXCPP
10221 CXXCPP=$ac_cv_prog_CXXCPP
10223 ac_cv_prog_CXXCPP=$CXXCPP
10225 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
10226 $as_echo "$CXXCPP" >&6; }
10227 ac_preproc_ok=false
10228 for ac_cxx_preproc_warn_flag in '' yes
10230 # Use a header file that comes with gcc, so configuring glibc
10231 # with a fresh cross-compiler works.
10232 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10233 # <limits.h> exists even on freestanding compilers.
10234 # On the NeXT, cc -E runs the code through the compiler's parser,
10235 # not just through cpp. "Syntax error" is here to catch this case.
10236 cat >conftest.$ac_ext <<_ACEOF
10239 cat confdefs.h >>conftest.$ac_ext
10240 cat >>conftest.$ac_ext <<_ACEOF
10241 /* end confdefs.h. */
10243 # include <limits.h>
10245 # include <assert.h>
10249 if { (ac_try="$ac_cpp conftest.$ac_ext"
10250 case "(($ac_try" in
10251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10252 *) ac_try_echo=$ac_try;;
10254 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10255 $as_echo "$ac_try_echo") >&5
10256 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10258 grep -v '^ *+' conftest.er1 >conftest.err
10260 cat conftest.err >&5
10261 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); } >/dev/null && {
10263 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10264 test ! -s conftest.err
10268 $as_echo "$as_me: failed program was:" >&5
10269 sed 's/^/| /' conftest.$ac_ext >&5
10271 # Broken: fails on valid input.
10275 rm -f conftest.err conftest.$ac_ext
10277 # OK, works on sane cases. Now check whether nonexistent headers
10278 # can be detected and how.
10279 cat >conftest.$ac_ext <<_ACEOF
10282 cat confdefs.h >>conftest.$ac_ext
10283 cat >>conftest.$ac_ext <<_ACEOF
10284 /* end confdefs.h. */
10285 #include <ac_nonexistent.h>
10287 if { (ac_try="$ac_cpp conftest.$ac_ext"
10288 case "(($ac_try" in
10289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10290 *) ac_try_echo=$ac_try;;
10292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10293 $as_echo "$ac_try_echo") >&5
10294 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10296 grep -v '^ *+' conftest.er1 >conftest.err
10298 cat conftest.err >&5
10299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300 (exit $ac_status); } >/dev/null && {
10301 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10302 test ! -s conftest.err
10304 # Broken: success on invalid input.
10307 $as_echo "$as_me: failed program was:" >&5
10308 sed 's/^/| /' conftest.$ac_ext >&5
10310 # Passes both tests.
10315 rm -f conftest.err conftest.$ac_ext
10318 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10319 rm -f conftest.err conftest.$ac_ext
10320 if $ac_preproc_ok; then
10323 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
10324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10325 _lt_caught_CXX_error=yes; }
10329 ac_cpp='$CPP $CPPFLAGS'
10330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10335 _lt_caught_CXX_error=yes
10352 # Check whether --with-pic was given.
10353 if test "${with_pic+set}" = set; then
10354 withval=$with_pic; pic_mode="$withval"
10360 test -z "$pic_mode" && pic_mode=default
10368 # Check whether --enable-fast-install was given.
10369 if test "${enable_fast_install+set}" = set; then
10370 enableval=$enable_fast_install; p=${PACKAGE-default}
10372 yes) enable_fast_install=yes ;;
10373 no) enable_fast_install=no ;;
10375 enable_fast_install=no
10376 # Look at the argument we got. We use all the common list separators.
10377 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10378 for pkg in $enableval; do
10380 if test "X$pkg" = "X$p"; then
10381 enable_fast_install=yes
10388 enable_fast_install=yes
10401 # This can be used to rebuild libtool when needed
10402 LIBTOOL_DEPS="$ltmain"
10404 # Always use our own libtool.
10405 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10431 test -z "$LN_S" && LN_S="ln -s"
10446 if test -n "${ZSH_VERSION+set}" ; then
10447 setopt NO_GLOB_SUBST
10450 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
10451 $as_echo_n "checking for objdir... " >&6; }
10452 if test "${lt_cv_objdir+set}" = set; then
10453 $as_echo_n "(cached) " >&6
10455 rm -f .libs 2>/dev/null
10456 mkdir .libs 2>/dev/null
10457 if test -d .libs; then
10460 # MS-DOS does not allow filenames that begin with a dot.
10463 rmdir .libs 2>/dev/null
10465 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
10466 $as_echo "$lt_cv_objdir" >&6; }
10467 objdir=$lt_cv_objdir
10473 cat >>confdefs.h <<_ACEOF
10474 #define LT_OBJDIR "$lt_cv_objdir/"
10495 # AIX sometimes has problems with the GCC collect2 program. For some
10496 # reason, if we set the COLLECT_NAMES environment variable, the problems
10497 # vanish in a puff of smoke.
10498 if test "X${COLLECT_NAMES+set}" != Xset; then
10500 export COLLECT_NAMES
10505 # Sed substitution that helps us do robust quoting. It backslashifies
10506 # metacharacters that are still active within double-quoted strings.
10507 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
10509 # Same as above, but do not quote variable references.
10510 double_quote_subst='s/\(["`\\]\)/\\\1/g'
10512 # Sed substitution to delay expansion of an escaped shell variable in a
10513 # double_quote_subst'ed string.
10514 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
10516 # Sed substitution to delay expansion of an escaped single quote.
10517 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
10519 # Sed substitution to avoid accidental globbing in evaled expressions
10520 no_glob_subst='s/\*/\\\*/g'
10522 # Global variables:
10524 can_build_shared=yes
10526 # All known linkers require a `.a' archive for static linking (except MSVC,
10527 # which needs '.lib').
10530 with_gnu_ld="$lt_cv_prog_gnu_ld"
10533 old_CFLAGS="$CFLAGS"
10535 # Set sane defaults for various variables
10536 test -z "$CC" && CC=cc
10537 test -z "$LTCC" && LTCC=$CC
10538 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10539 test -z "$LD" && LD=ld
10540 test -z "$ac_objext" && ac_objext=o
10542 for cc_temp in $compiler""; do
10544 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10545 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10550 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10553 # Only perform the check for file, if the check method requires it
10554 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10555 case $deplibs_check_method in
10557 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10558 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
10559 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10560 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10561 $as_echo_n "(cached) " >&6
10565 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10568 lt_save_MAGIC_CMD="$MAGIC_CMD"
10569 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10570 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10571 for ac_dir in $ac_dummy; do
10573 test -z "$ac_dir" && ac_dir=.
10574 if test -f $ac_dir/${ac_tool_prefix}file; then
10575 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10576 if test -n "$file_magic_test_file"; then
10577 case $deplibs_check_method in
10579 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10580 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10581 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10582 $EGREP "$file_magic_regex" > /dev/null; then
10587 *** Warning: the command libtool uses to detect shared libraries,
10588 *** $file_magic_cmd, produces output that libtool cannot recognize.
10589 *** The result is that libtool may fail to recognize shared libraries
10590 *** as such. This will affect the creation of libtool libraries that
10591 *** depend on shared libraries, but programs linked with such libtool
10592 *** libraries will work regardless of this problem. Nevertheless, you
10593 *** may want to report the problem to your system manager and/or to
10594 *** bug-libtool@gnu.org
10604 MAGIC_CMD="$lt_save_MAGIC_CMD"
10609 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10610 if test -n "$MAGIC_CMD"; then
10611 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10612 $as_echo "$MAGIC_CMD" >&6; }
10614 { $as_echo "$as_me:$LINENO: result: no" >&5
10615 $as_echo "no" >&6; }
10622 if test -z "$lt_cv_path_MAGIC_CMD"; then
10623 if test -n "$ac_tool_prefix"; then
10624 { $as_echo "$as_me:$LINENO: checking for file" >&5
10625 $as_echo_n "checking for file... " >&6; }
10626 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10627 $as_echo_n "(cached) " >&6
10631 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10634 lt_save_MAGIC_CMD="$MAGIC_CMD"
10635 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10636 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10637 for ac_dir in $ac_dummy; do
10639 test -z "$ac_dir" && ac_dir=.
10640 if test -f $ac_dir/file; then
10641 lt_cv_path_MAGIC_CMD="$ac_dir/file"
10642 if test -n "$file_magic_test_file"; then
10643 case $deplibs_check_method in
10645 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10646 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10647 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10648 $EGREP "$file_magic_regex" > /dev/null; then
10653 *** Warning: the command libtool uses to detect shared libraries,
10654 *** $file_magic_cmd, produces output that libtool cannot recognize.
10655 *** The result is that libtool may fail to recognize shared libraries
10656 *** as such. This will affect the creation of libtool libraries that
10657 *** depend on shared libraries, but programs linked with such libtool
10658 *** libraries will work regardless of this problem. Nevertheless, you
10659 *** may want to report the problem to your system manager and/or to
10660 *** bug-libtool@gnu.org
10670 MAGIC_CMD="$lt_save_MAGIC_CMD"
10675 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10676 if test -n "$MAGIC_CMD"; then
10677 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10678 $as_echo "$MAGIC_CMD" >&6; }
10680 { $as_echo "$as_me:$LINENO: result: no" >&5
10681 $as_echo "no" >&6; }
10694 # Use C for the default configuration in the libtool script
10698 ac_cpp='$CPP $CPPFLAGS'
10699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10704 # Source file extension for C test sources.
10707 # Object file extension for compiled C test sources.
10711 # Code to be used in simple compile tests
10712 lt_simple_compile_test_code="int some_variable = 0;"
10714 # Code to be used in simple link tests
10715 lt_simple_link_test_code='int main(){return(0);}'
10723 # If no C compiler was specified, use CC.
10726 # If no C compiler flags were specified, use CFLAGS.
10727 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10729 # Allow CC to be a program name with arguments.
10732 # Save the default compiler, since it gets overwritten when the other
10733 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10734 compiler_DEFAULT=$CC
10736 # save warnings/boilerplate of simple test code
10737 ac_outfile=conftest.$ac_objext
10738 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10739 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10740 _lt_compiler_boilerplate=`cat conftest.err`
10743 ac_outfile=conftest.$ac_objext
10744 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10745 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10746 _lt_linker_boilerplate=`cat conftest.err`
10751 ## There is no encapsulation within the following macros, do not change
10752 ## the running order or otherwise move them around unless you know exactly
10753 ## what you are doing...
10754 if test -n "$compiler"; then
10756 lt_prog_compiler_no_builtin_flag=
10758 if test "$GCC" = yes; then
10759 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10761 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10762 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10763 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10764 $as_echo_n "(cached) " >&6
10766 lt_cv_prog_compiler_rtti_exceptions=no
10767 ac_outfile=conftest.$ac_objext
10768 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10769 lt_compiler_flag="-fno-rtti -fno-exceptions"
10770 # Insert the option either (1) after the last *FLAGS variable, or
10771 # (2) before a word containing "conftest.", or (3) at the end.
10772 # Note that $ac_compile itself does not contain backslashes and begins
10773 # with a dollar sign (not a hyphen), so the echo should work correctly.
10774 # The option is referenced via a variable to avoid confusing sed.
10775 lt_compile=`echo "$ac_compile" | $SED \
10776 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10777 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10778 -e 's:$: $lt_compiler_flag:'`
10779 (eval echo "\"\$as_me:10779: $lt_compile\"" >&5)
10780 (eval "$lt_compile" 2>conftest.err)
10782 cat conftest.err >&5
10783 echo "$as_me:10783: \$? = $ac_status" >&5
10784 if (exit $ac_status) && test -s "$ac_outfile"; then
10785 # The compiler can only warn and ignore the option if not recognized
10786 # So say no if there are warnings other than the usual output.
10787 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10788 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10789 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10790 lt_cv_prog_compiler_rtti_exceptions=yes
10796 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10797 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10799 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10800 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10812 lt_prog_compiler_wl=
10813 lt_prog_compiler_pic=
10814 lt_prog_compiler_static=
10816 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10817 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10819 if test "$GCC" = yes; then
10820 lt_prog_compiler_wl='-Wl,'
10821 lt_prog_compiler_static='-static'
10825 # All AIX code is PIC.
10826 if test "$host_cpu" = ia64; then
10827 # AIX 5 now supports IA64 processor
10828 lt_prog_compiler_static='-Bstatic'
10835 # see comment about AmigaOS4 .so support
10836 lt_prog_compiler_pic='-fPIC'
10839 # FIXME: we need at least 68020 code to build shared libraries, but
10840 # adding the `-m68020' flag to GCC prevents building anything better,
10842 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10847 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10848 # PIC is the default for these OSes.
10851 mingw* | cygwin* | pw32* | os2* | cegcc*)
10852 # This hack is so that the source file can tell whether it is being
10853 # built for inclusion in a dll (and should export symbols for example).
10854 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10855 # (--disable-auto-import) libraries
10856 lt_prog_compiler_pic='-DDLL_EXPORT'
10859 darwin* | rhapsody*)
10860 # PIC is the default on this platform
10861 # Common symbols not allowed in MH_DYLIB files
10862 lt_prog_compiler_pic='-fno-common'
10866 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10867 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10868 # sets the default TLS model and affects inlining.
10874 lt_prog_compiler_pic='-fPIC'
10880 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10881 # Instead, we relocate shared libraries at runtime.
10885 # Just because we use GCC doesn't mean we suddenly get shared libraries
10886 # on systems that don't support them.
10887 lt_prog_compiler_can_build_shared=no
10892 # QNX uses GNU C++, but need to define -shared option too, otherwise
10893 # it will coredump.
10894 lt_prog_compiler_pic='-fPIC -shared'
10898 if test -d /usr/nec; then
10899 lt_prog_compiler_pic=-Kconform_pic
10904 lt_prog_compiler_pic='-fPIC'
10908 # PORTME Check for flag to pass linker flags through the system compiler.
10911 lt_prog_compiler_wl='-Wl,'
10912 if test "$host_cpu" = ia64; then
10913 # AIX 5 now supports IA64 processor
10914 lt_prog_compiler_static='-Bstatic'
10916 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10920 mingw* | cygwin* | pw32* | os2* | cegcc*)
10921 # This hack is so that the source file can tell whether it is being
10922 # built for inclusion in a dll (and should export symbols for example).
10923 lt_prog_compiler_pic='-DDLL_EXPORT'
10926 hpux9* | hpux10* | hpux11*)
10927 lt_prog_compiler_wl='-Wl,'
10928 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10929 # not for PA HP-UX.
10935 lt_prog_compiler_pic='+Z'
10938 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10939 lt_prog_compiler_static='${wl}-a ${wl}archive'
10942 irix5* | irix6* | nonstopux*)
10943 lt_prog_compiler_wl='-Wl,'
10944 # PIC (with -KPIC) is the default.
10945 lt_prog_compiler_static='-non_shared'
10948 linux* | k*bsd*-gnu)
10949 case $cc_basename in
10950 # old Intel for x86_64 which still supported -KPIC.
10952 lt_prog_compiler_wl='-Wl,'
10953 lt_prog_compiler_pic='-KPIC'
10954 lt_prog_compiler_static='-static'
10956 # icc used to be incompatible with GCC.
10957 # ICC 10 doesn't accept -KPIC any more.
10959 lt_prog_compiler_wl='-Wl,'
10960 lt_prog_compiler_pic='-fPIC'
10961 lt_prog_compiler_static='-static'
10963 # Lahey Fortran 8.1.
10965 lt_prog_compiler_wl='-Wl,'
10966 lt_prog_compiler_pic='--shared'
10967 lt_prog_compiler_static='--static'
10969 pgcc* | pgf77* | pgf90* | pgf95*)
10970 # Portland Group compilers (*not* the Pentium gcc compiler,
10971 # which looks to be a dead project)
10972 lt_prog_compiler_wl='-Wl,'
10973 lt_prog_compiler_pic='-fpic'
10974 lt_prog_compiler_static='-Bstatic'
10977 lt_prog_compiler_wl='-Wl,'
10978 # All Alpha code is PIC.
10979 lt_prog_compiler_static='-non_shared'
10982 # IBM XL C 8.0/Fortran 10.1 on PPC
10983 lt_prog_compiler_wl='-Wl,'
10984 lt_prog_compiler_pic='-qpic'
10985 lt_prog_compiler_static='-qstaticlink'
10988 case `$CC -V 2>&1 | sed 5q` in
10991 lt_prog_compiler_pic='-KPIC'
10992 lt_prog_compiler_static='-Bstatic'
10993 lt_prog_compiler_wl='-Wl,'
10996 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10997 lt_prog_compiler_pic='-KPIC'
10998 lt_prog_compiler_static='-Bstatic'
10999 lt_prog_compiler_wl=''
11007 lt_prog_compiler_pic='-KPIC'
11008 lt_prog_compiler_static='-Bstatic'
11012 # QNX uses GNU C++, but need to define -shared option too, otherwise
11013 # it will coredump.
11014 lt_prog_compiler_pic='-fPIC -shared'
11017 osf3* | osf4* | osf5*)
11018 lt_prog_compiler_wl='-Wl,'
11019 # All OSF/1 code is PIC.
11020 lt_prog_compiler_static='-non_shared'
11024 lt_prog_compiler_static='-non_shared'
11028 lt_prog_compiler_pic='-KPIC'
11029 lt_prog_compiler_static='-Bstatic'
11030 case $cc_basename in
11031 f77* | f90* | f95*)
11032 lt_prog_compiler_wl='-Qoption ld ';;
11034 lt_prog_compiler_wl='-Wl,';;
11039 lt_prog_compiler_wl='-Qoption ld '
11040 lt_prog_compiler_pic='-PIC'
11041 lt_prog_compiler_static='-Bstatic'
11044 sysv4 | sysv4.2uw2* | sysv4.3*)
11045 lt_prog_compiler_wl='-Wl,'
11046 lt_prog_compiler_pic='-KPIC'
11047 lt_prog_compiler_static='-Bstatic'
11051 if test -d /usr/nec ;then
11052 lt_prog_compiler_pic='-Kconform_pic'
11053 lt_prog_compiler_static='-Bstatic'
11057 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11058 lt_prog_compiler_wl='-Wl,'
11059 lt_prog_compiler_pic='-KPIC'
11060 lt_prog_compiler_static='-Bstatic'
11064 lt_prog_compiler_wl='-Wl,'
11065 lt_prog_compiler_can_build_shared=no
11069 lt_prog_compiler_pic='-pic'
11070 lt_prog_compiler_static='-Bstatic'
11074 lt_prog_compiler_can_build_shared=no
11080 # For platforms which do not support PIC, -DPIC is meaningless:
11082 lt_prog_compiler_pic=
11085 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11088 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
11089 $as_echo "$lt_prog_compiler_pic" >&6; }
11097 # Check to make sure the PIC flag actually works.
11099 if test -n "$lt_prog_compiler_pic"; then
11100 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11101 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11102 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
11103 $as_echo_n "(cached) " >&6
11105 lt_cv_prog_compiler_pic_works=no
11106 ac_outfile=conftest.$ac_objext
11107 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11108 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11109 # Insert the option either (1) after the last *FLAGS variable, or
11110 # (2) before a word containing "conftest.", or (3) at the end.
11111 # Note that $ac_compile itself does not contain backslashes and begins
11112 # with a dollar sign (not a hyphen), so the echo should work correctly.
11113 # The option is referenced via a variable to avoid confusing sed.
11114 lt_compile=`echo "$ac_compile" | $SED \
11115 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11116 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11117 -e 's:$: $lt_compiler_flag:'`
11118 (eval echo "\"\$as_me:11118: $lt_compile\"" >&5)
11119 (eval "$lt_compile" 2>conftest.err)
11121 cat conftest.err >&5
11122 echo "$as_me:11122: \$? = $ac_status" >&5
11123 if (exit $ac_status) && test -s "$ac_outfile"; then
11124 # The compiler can only warn and ignore the option if not recognized
11125 # So say no if there are warnings other than the usual output.
11126 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11127 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11128 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11129 lt_cv_prog_compiler_pic_works=yes
11135 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
11136 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11138 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11139 case $lt_prog_compiler_pic in
11141 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11144 lt_prog_compiler_pic=
11145 lt_prog_compiler_can_build_shared=no
11156 # Check to make sure the static flag actually works.
11158 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11159 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11160 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11161 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
11162 $as_echo_n "(cached) " >&6
11164 lt_cv_prog_compiler_static_works=no
11165 save_LDFLAGS="$LDFLAGS"
11166 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11167 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11168 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11169 # The linker can only warn and ignore the option if not recognized
11170 # So say no if there are warnings
11171 if test -s conftest.err; then
11172 # Append any errors to the config.log.
11173 cat conftest.err 1>&5
11174 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11175 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11176 if diff conftest.exp conftest.er2 >/dev/null; then
11177 lt_cv_prog_compiler_static_works=yes
11180 lt_cv_prog_compiler_static_works=yes
11184 LDFLAGS="$save_LDFLAGS"
11187 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
11188 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11190 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11193 lt_prog_compiler_static=
11202 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11203 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11204 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
11205 $as_echo_n "(cached) " >&6
11207 lt_cv_prog_compiler_c_o=no
11208 $RM -r conftest 2>/dev/null
11212 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11214 lt_compiler_flag="-o out/conftest2.$ac_objext"
11215 # Insert the option either (1) after the last *FLAGS variable, or
11216 # (2) before a word containing "conftest.", or (3) at the end.
11217 # Note that $ac_compile itself does not contain backslashes and begins
11218 # with a dollar sign (not a hyphen), so the echo should work correctly.
11219 lt_compile=`echo "$ac_compile" | $SED \
11220 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11221 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11222 -e 's:$: $lt_compiler_flag:'`
11223 (eval echo "\"\$as_me:11223: $lt_compile\"" >&5)
11224 (eval "$lt_compile" 2>out/conftest.err)
11226 cat out/conftest.err >&5
11227 echo "$as_me:11227: \$? = $ac_status" >&5
11228 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11230 # The compiler can only warn and ignore the option if not recognized
11231 # So say no if there are warnings
11232 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11233 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11234 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11235 lt_cv_prog_compiler_c_o=yes
11240 # SGI C++ compiler will create directory out/ii_files/ for
11241 # template instantiation
11242 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11243 $RM out/* && rmdir out
11249 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
11250 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11257 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11258 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11259 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
11260 $as_echo_n "(cached) " >&6
11262 lt_cv_prog_compiler_c_o=no
11263 $RM -r conftest 2>/dev/null
11267 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11269 lt_compiler_flag="-o out/conftest2.$ac_objext"
11270 # Insert the option either (1) after the last *FLAGS variable, or
11271 # (2) before a word containing "conftest.", or (3) at the end.
11272 # Note that $ac_compile itself does not contain backslashes and begins
11273 # with a dollar sign (not a hyphen), so the echo should work correctly.
11274 lt_compile=`echo "$ac_compile" | $SED \
11275 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11276 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11277 -e 's:$: $lt_compiler_flag:'`
11278 (eval echo "\"\$as_me:11278: $lt_compile\"" >&5)
11279 (eval "$lt_compile" 2>out/conftest.err)
11281 cat out/conftest.err >&5
11282 echo "$as_me:11282: \$? = $ac_status" >&5
11283 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11285 # The compiler can only warn and ignore the option if not recognized
11286 # So say no if there are warnings
11287 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11288 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11289 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11290 lt_cv_prog_compiler_c_o=yes
11295 # SGI C++ compiler will create directory out/ii_files/ for
11296 # template instantiation
11297 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11298 $RM out/* && rmdir out
11304 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
11305 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11310 hard_links="nottested"
11311 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11312 # do not overwrite the value of need_locks provided by the user
11313 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11314 $as_echo_n "checking if we can lock with hard links... " >&6; }
11317 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11319 ln conftest.a conftest.b 2>&5 || hard_links=no
11320 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11321 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
11322 $as_echo "$hard_links" >&6; }
11323 if test "$hard_links" = no; then
11324 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11325 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11337 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11338 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11341 allow_undefined_flag=
11342 always_export_symbols=no
11344 archive_expsym_cmds=
11345 compiler_needs_object=no
11346 enable_shared_with_static_runtimes=no
11347 export_dynamic_flag_spec=
11348 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11349 hardcode_automatic=no
11351 hardcode_direct_absolute=no
11352 hardcode_libdir_flag_spec=
11353 hardcode_libdir_flag_spec_ld=
11354 hardcode_libdir_separator=
11355 hardcode_minus_L=no
11356 hardcode_shlibpath_var=unsupported
11358 link_all_deplibs=unknown
11360 module_expsym_cmds=
11361 old_archive_from_new_cmds=
11362 old_archive_from_expsyms_cmds=
11363 thread_safe_flag_spec=
11364 whole_archive_flag_spec=
11365 # include_expsyms should be a list of space-separated symbols to be *always*
11366 # included in the symbol list
11368 # exclude_expsyms can be an extended regexp of symbols to exclude
11369 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11370 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11371 # as well as any symbol that contains `d'.
11372 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11373 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11374 # platforms (ab)use it in PIC code, but their linkers get confused if
11375 # the symbol is explicitly referenced. Since portable code cannot
11376 # rely on this symbol name, it's probably fine to never include it in
11377 # preloaded symbol tables.
11378 # Exclude shared library initialization/finalization symbols.
11379 extract_expsyms_cmds=
11382 cygwin* | mingw* | pw32* | cegcc*)
11383 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11384 # When not using gcc, we currently assume that we are using
11385 # Microsoft Visual C++.
11386 if test "$GCC" != yes; then
11391 # we just hope/assume this is gcc and not c89 (= MSVC++)
11400 if test "$with_gnu_ld" = yes; then
11401 # If archive_cmds runs LD, not CC, wlarc should be empty
11404 # Set some defaults for GNU ld with shared library support. These
11405 # are reset later if shared libraries are not supported. Putting them
11406 # here allows them to be overridden if necessary.
11407 runpath_var=LD_RUN_PATH
11408 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11409 export_dynamic_flag_spec='${wl}--export-dynamic'
11410 # ancient GNU ld didn't support --whole-archive et. al.
11411 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11412 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11414 whole_archive_flag_spec=
11416 supports_anon_versioning=no
11417 case `$LD -v 2>&1` in
11418 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11419 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11420 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11421 *\ 2.11.*) ;; # other 2.11 versions
11422 *) supports_anon_versioning=yes ;;
11425 # See if GNU ld supports shared libraries.
11428 # On AIX/PPC, the GNU linker is very broken
11429 if test "$host_cpu" != ia64; then
11433 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11434 *** to be unable to reliably create shared libraries on AIX.
11435 *** Therefore, libtool is disabling shared libraries support. If you
11436 *** really care for shared libraries, you may want to modify your PATH
11437 *** so that a non-GNU linker is found, and then restart.
11446 # see comment about AmigaOS4 .so support
11447 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11448 archive_expsym_cmds=''
11451 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)'
11452 hardcode_libdir_flag_spec='-L$libdir'
11453 hardcode_minus_L=yes
11459 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11460 allow_undefined_flag=unsupported
11461 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11462 # support --undefined. This deserves some investigation. FIXME
11463 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11469 cygwin* | mingw* | pw32* | cegcc*)
11470 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11471 # as there is no search path for DLLs.
11472 hardcode_libdir_flag_spec='-L$libdir'
11473 allow_undefined_flag=unsupported
11474 always_export_symbols=no
11475 enable_shared_with_static_runtimes=yes
11476 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11478 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11479 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11480 # If the export-symbols file already is a .def file (1st line
11481 # is EXPORTS), use it as is; otherwise, prepend...
11482 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11483 cp $export_symbols $output_objdir/$soname.def;
11485 echo EXPORTS > $output_objdir/$soname.def;
11486 cat $export_symbols >> $output_objdir/$soname.def;
11488 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11496 hardcode_shlibpath_var=no
11497 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11498 export_dynamic_flag_spec='${wl}-E'
11499 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11500 # Instead, shared libraries are loaded at an image base (0x10000000 by
11501 # default) and relocated if they conflict, which is a slow very memory
11502 # consuming and fragmenting process. To avoid this, we pick a random,
11503 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11504 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11505 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11506 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'
11509 gnu* | linux* | tpf* | k*bsd*-gnu)
11511 if test "$host_os" = linux-dietlibc; then
11512 case $cc_basename in
11513 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11516 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11517 && test "$tmp_diet" = no
11520 tmp_sharedflag='-shared'
11521 case $cc_basename,$host_cpu in
11522 pgcc*) # Portland Group C compiler
11523 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'
11524 tmp_addflag=' $pic_flag'
11526 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
11527 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'
11528 tmp_addflag=' $pic_flag -Mnomain' ;;
11529 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11530 tmp_addflag=' -i_dynamic' ;;
11531 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11532 tmp_addflag=' -i_dynamic -nofor_main' ;;
11533 ifc* | ifort*) # Intel Fortran compiler
11534 tmp_addflag=' -nofor_main' ;;
11535 lf95*) # Lahey Fortran 8.1
11536 whole_archive_flag_spec=
11537 tmp_sharedflag='--shared' ;;
11538 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11539 tmp_sharedflag='-qmkshrobj'
11542 case `$CC -V 2>&1 | sed 5q` in
11543 *Sun\ C*) # Sun C 5.9
11544 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'
11545 compiler_needs_object=yes
11546 tmp_sharedflag='-G' ;;
11547 *Sun\ F*) # Sun Fortran 8.3
11548 tmp_sharedflag='-G' ;;
11550 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11552 if test "x$supports_anon_versioning" = xyes; then
11553 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11554 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11555 echo "local: *; };" >> $output_objdir/$libname.ver~
11556 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11559 case $cc_basename in
11561 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11562 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11563 hardcode_libdir_flag_spec=
11564 hardcode_libdir_flag_spec_ld='-rpath $libdir'
11565 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
11566 if test "x$supports_anon_versioning" = xyes; then
11567 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11568 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11569 echo "local: *; };" >> $output_objdir/$libname.ver~
11570 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11579 netbsd* | netbsdelf*-gnu)
11580 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11581 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11584 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11585 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11590 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11594 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11595 *** create shared libraries on Solaris systems. Therefore, libtool
11596 *** is disabling shared libraries support. We urge you to upgrade GNU
11597 *** binutils to release 2.9.1 or newer. Another option is to modify
11598 *** your PATH or compiler configuration so that the native linker is
11599 *** used, and then restart.
11602 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11603 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11604 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11610 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11611 case `$LD -v 2>&1` in
11612 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11616 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11617 *** reliably create shared libraries on SCO systems. Therefore, libtool
11618 *** is disabling shared libraries support. We urge you to upgrade GNU
11619 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11620 *** your PATH or compiler configuration so that the native linker is
11621 *** used, and then restart.
11626 # For security reasons, it is highly recommended that you always
11627 # use absolute paths for naming shared libraries, and exclude the
11628 # DT_RUNPATH tag from executables and libraries. But doing so
11629 # requires that you compile everything twice, which is a pain.
11630 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11631 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11632 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11633 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11642 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11644 hardcode_direct=yes
11645 hardcode_shlibpath_var=no
11649 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11650 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11651 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11658 if test "$ld_shlibs" = no; then
11660 hardcode_libdir_flag_spec=
11661 export_dynamic_flag_spec=
11662 whole_archive_flag_spec=
11665 # PORTME fill in a description of your system's linker (not GNU ld)
11668 allow_undefined_flag=unsupported
11669 always_export_symbols=yes
11670 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'
11671 # Note: this linker hardcodes the directories in LIBPATH if there
11672 # are no directories specified by -L.
11673 hardcode_minus_L=yes
11674 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11675 # Neither direct hardcoding nor static linking is supported with a
11677 hardcode_direct=unsupported
11682 if test "$host_cpu" = ia64; then
11683 # On IA64, the linker does run time linking by default, so we don't
11684 # have to do anything special.
11685 aix_use_runtimelinking=no
11686 exp_sym_flag='-Bexport'
11689 # If we're using GNU nm, then we don't want the "-C" option.
11690 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11691 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11692 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'
11694 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'
11696 aix_use_runtimelinking=no
11698 # Test if we are trying to use run time linking or normal
11699 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11700 # need to do runtime linking.
11701 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11702 for ld_flag in $LDFLAGS; do
11703 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11704 aix_use_runtimelinking=yes
11711 exp_sym_flag='-bexport'
11712 no_entry_flag='-bnoentry'
11715 # When large executables or shared objects are built, AIX ld can
11716 # have problems creating the table of contents. If linking a library
11717 # or program results in "error TOC overflow" add -mminimal-toc to
11718 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11719 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11722 hardcode_direct=yes
11723 hardcode_direct_absolute=yes
11724 hardcode_libdir_separator=':'
11725 link_all_deplibs=yes
11726 file_list_spec='${wl}-f,'
11728 if test "$GCC" = yes; then
11729 case $host_os in aix4.[012]|aix4.[012].*)
11730 # We only want to do this on AIX 4.2 and lower, the check
11731 # below for broken collect2 doesn't work under 4.3+
11732 collect2name=`${CC} -print-prog-name=collect2`
11733 if test -f "$collect2name" &&
11734 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11736 # We have reworked collect2
11739 # We have old collect2
11740 hardcode_direct=unsupported
11741 # It fails to find uninstalled libraries when the uninstalled
11742 # path is not listed in the libpath. Setting hardcode_minus_L
11743 # to unsupported forces relinking
11744 hardcode_minus_L=yes
11745 hardcode_libdir_flag_spec='-L$libdir'
11746 hardcode_libdir_separator=
11750 shared_flag='-shared'
11751 if test "$aix_use_runtimelinking" = yes; then
11752 shared_flag="$shared_flag "'${wl}-G'
11754 link_all_deplibs=no
11757 if test "$host_cpu" = ia64; then
11758 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11759 # chokes on -Wl,-G. The following line is correct:
11762 if test "$aix_use_runtimelinking" = yes; then
11763 shared_flag='${wl}-G'
11765 shared_flag='${wl}-bM:SRE'
11770 export_dynamic_flag_spec='${wl}-bexpall'
11771 # It seems that -bexpall does not export symbols beginning with
11772 # underscore (_), so it is better to generate a list of symbols to export.
11773 always_export_symbols=yes
11774 if test "$aix_use_runtimelinking" = yes; then
11775 # Warning - without using the other runtime loading flags (-brtl),
11776 # -berok will link without error, but may produce a broken library.
11777 allow_undefined_flag='-berok'
11778 # Determine the default libpath from the value encoded in an
11779 # empty executable.
11780 cat >conftest.$ac_ext <<_ACEOF
11783 cat confdefs.h >>conftest.$ac_ext
11784 cat >>conftest.$ac_ext <<_ACEOF
11785 /* end confdefs.h. */
11795 rm -f conftest.$ac_objext conftest$ac_exeext
11796 if { (ac_try="$ac_link"
11797 case "(($ac_try" in
11798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11799 *) ac_try_echo=$ac_try;;
11801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11802 $as_echo "$ac_try_echo") >&5
11803 (eval "$ac_link") 2>conftest.er1
11805 grep -v '^ *+' conftest.er1 >conftest.err
11807 cat conftest.err >&5
11808 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11809 (exit $ac_status); } && {
11810 test -z "$ac_c_werror_flag" ||
11811 test ! -s conftest.err
11812 } && test -s conftest$ac_exeext && {
11813 test "$cross_compiling" = yes ||
11814 $as_test_x conftest$ac_exeext
11817 lt_aix_libpath_sed='
11818 /Import File Strings/,/^$/ {
11824 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11825 # Check for a 64-bit object if we didn't find anything.
11826 if test -z "$aix_libpath"; then
11827 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11830 $as_echo "$as_me: failed program was:" >&5
11831 sed 's/^/| /' conftest.$ac_ext >&5
11836 rm -rf conftest.dSYM
11837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11838 conftest$ac_exeext conftest.$ac_ext
11839 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11841 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11842 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"
11844 if test "$host_cpu" = ia64; then
11845 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11846 allow_undefined_flag="-z nodefs"
11847 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"
11849 # Determine the default libpath from the value encoded in an
11850 # empty executable.
11851 cat >conftest.$ac_ext <<_ACEOF
11854 cat confdefs.h >>conftest.$ac_ext
11855 cat >>conftest.$ac_ext <<_ACEOF
11856 /* end confdefs.h. */
11866 rm -f conftest.$ac_objext conftest$ac_exeext
11867 if { (ac_try="$ac_link"
11868 case "(($ac_try" in
11869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11870 *) ac_try_echo=$ac_try;;
11872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11873 $as_echo "$ac_try_echo") >&5
11874 (eval "$ac_link") 2>conftest.er1
11876 grep -v '^ *+' conftest.er1 >conftest.err
11878 cat conftest.err >&5
11879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 (exit $ac_status); } && {
11881 test -z "$ac_c_werror_flag" ||
11882 test ! -s conftest.err
11883 } && test -s conftest$ac_exeext && {
11884 test "$cross_compiling" = yes ||
11885 $as_test_x conftest$ac_exeext
11888 lt_aix_libpath_sed='
11889 /Import File Strings/,/^$/ {
11895 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11896 # Check for a 64-bit object if we didn't find anything.
11897 if test -z "$aix_libpath"; then
11898 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11901 $as_echo "$as_me: failed program was:" >&5
11902 sed 's/^/| /' conftest.$ac_ext >&5
11907 rm -rf conftest.dSYM
11908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11909 conftest$ac_exeext conftest.$ac_ext
11910 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11912 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11913 # Warning - without using the other run time loading flags,
11914 # -berok will link without error, but may produce a broken library.
11915 no_undefined_flag=' ${wl}-bernotok'
11916 allow_undefined_flag=' ${wl}-berok'
11917 # Exported symbols can be pulled into shared objects from archives
11918 whole_archive_flag_spec='$convenience'
11919 archive_cmds_need_lc=yes
11920 # This is similar to how AIX traditionally builds its shared libraries.
11921 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'
11929 # see comment about AmigaOS4 .so support
11930 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11931 archive_expsym_cmds=''
11934 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)'
11935 hardcode_libdir_flag_spec='-L$libdir'
11936 hardcode_minus_L=yes
11942 export_dynamic_flag_spec=-rdynamic
11945 cygwin* | mingw* | pw32* | cegcc*)
11946 # When not using gcc, we currently assume that we are using
11947 # Microsoft Visual C++.
11948 # hardcode_libdir_flag_spec is actually meaningless, as there is
11949 # no search path for DLLs.
11950 hardcode_libdir_flag_spec=' '
11951 allow_undefined_flag=unsupported
11952 # Tell ltmain to make .lib files, not .a files.
11954 # Tell ltmain to make .dll files, not .so files.
11956 # FIXME: Setting linknames here is a bad hack.
11957 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11958 # The linker will automatically build a .lib file if we build a DLL.
11959 old_archive_from_new_cmds='true'
11960 # FIXME: Should let the user specify the lib program.
11961 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11962 fix_srcfile_path='`cygpath -w "$srcfile"`'
11963 enable_shared_with_static_runtimes=yes
11966 darwin* | rhapsody*)
11969 archive_cmds_need_lc=no
11971 hardcode_automatic=yes
11972 hardcode_shlibpath_var=unsupported
11973 whole_archive_flag_spec=''
11974 link_all_deplibs=yes
11975 allow_undefined_flag="$_lt_dar_allow_undefined"
11976 case $cc_basename in
11977 ifort*) _lt_dar_can_shared=yes ;;
11978 *) _lt_dar_can_shared=$GCC ;;
11980 if test "$_lt_dar_can_shared" = "yes"; then
11981 output_verbose_link_cmd=echo
11982 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11983 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11984 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}"
11985 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}"
11994 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11995 hardcode_libdir_flag_spec='-L$libdir'
11996 hardcode_shlibpath_var=no
12003 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12004 # support. Future versions do this automatically, but an explicit c++rt0.o
12005 # does not break anything, and helps significantly (at the cost of a little
12008 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12009 hardcode_libdir_flag_spec='-R$libdir'
12010 hardcode_direct=yes
12011 hardcode_shlibpath_var=no
12014 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12016 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12017 hardcode_direct=yes
12018 hardcode_minus_L=yes
12019 hardcode_shlibpath_var=no
12022 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12023 freebsd* | dragonfly*)
12024 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12025 hardcode_libdir_flag_spec='-R$libdir'
12026 hardcode_direct=yes
12027 hardcode_shlibpath_var=no
12031 if test "$GCC" = yes; then
12032 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'
12034 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'
12036 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12037 hardcode_libdir_separator=:
12038 hardcode_direct=yes
12040 # hardcode_minus_L: Not really in the search PATH,
12041 # but as the default location of the library.
12042 hardcode_minus_L=yes
12043 export_dynamic_flag_spec='${wl}-E'
12047 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12048 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12050 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12052 if test "$with_gnu_ld" = no; then
12053 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12054 hardcode_libdir_flag_spec_ld='+b $libdir'
12055 hardcode_libdir_separator=:
12056 hardcode_direct=yes
12057 hardcode_direct_absolute=yes
12058 export_dynamic_flag_spec='${wl}-E'
12059 # hardcode_minus_L: Not really in the search PATH,
12060 # but as the default location of the library.
12061 hardcode_minus_L=yes
12066 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12069 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12072 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12075 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12081 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12084 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12087 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12091 if test "$with_gnu_ld" = no; then
12092 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12093 hardcode_libdir_separator=:
12098 hardcode_shlibpath_var=no
12101 hardcode_direct=yes
12102 hardcode_direct_absolute=yes
12103 export_dynamic_flag_spec='${wl}-E'
12105 # hardcode_minus_L: Not really in the search PATH,
12106 # but as the default location of the library.
12107 hardcode_minus_L=yes
12113 irix5* | irix6* | nonstopux*)
12114 if test "$GCC" = yes; then
12115 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'
12116 # Try to use the -exported_symbol ld option, if it does not
12117 # work, assume that -exports_file does not work either and
12118 # implicitly export all symbols.
12119 save_LDFLAGS="$LDFLAGS"
12120 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12121 cat >conftest.$ac_ext <<_ACEOF
12124 rm -f conftest.$ac_objext conftest$ac_exeext
12125 if { (ac_try="$ac_link"
12126 case "(($ac_try" in
12127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12128 *) ac_try_echo=$ac_try;;
12130 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12131 $as_echo "$ac_try_echo") >&5
12132 (eval "$ac_link") 2>conftest.er1
12134 grep -v '^ *+' conftest.er1 >conftest.err
12136 cat conftest.err >&5
12137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12138 (exit $ac_status); } && {
12139 test -z "$ac_c_werror_flag" ||
12140 test ! -s conftest.err
12141 } && test -s conftest$ac_exeext && {
12142 test "$cross_compiling" = yes ||
12143 $as_test_x conftest$ac_exeext
12145 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'
12148 $as_echo "$as_me: failed program was:" >&5
12149 sed 's/^/| /' conftest.$ac_ext >&5
12154 rm -rf conftest.dSYM
12155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12156 conftest$ac_exeext conftest.$ac_ext
12157 LDFLAGS="$save_LDFLAGS"
12159 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'
12160 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'
12162 archive_cmds_need_lc='no'
12163 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12164 hardcode_libdir_separator=:
12166 link_all_deplibs=yes
12169 netbsd* | netbsdelf*-gnu)
12170 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12171 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12173 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12175 hardcode_libdir_flag_spec='-R$libdir'
12176 hardcode_direct=yes
12177 hardcode_shlibpath_var=no
12181 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12182 hardcode_direct=yes
12183 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12184 hardcode_libdir_separator=:
12185 hardcode_shlibpath_var=no
12192 if test -f /usr/libexec/ld.so; then
12193 hardcode_direct=yes
12194 hardcode_shlibpath_var=no
12195 hardcode_direct_absolute=yes
12196 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12197 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12198 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12199 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12200 export_dynamic_flag_spec='${wl}-E'
12203 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12204 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12205 hardcode_libdir_flag_spec='-R$libdir'
12208 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12209 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12219 hardcode_libdir_flag_spec='-L$libdir'
12220 hardcode_minus_L=yes
12221 allow_undefined_flag=unsupported
12222 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'
12223 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12227 if test "$GCC" = yes; then
12228 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12229 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'
12231 allow_undefined_flag=' -expect_unresolved \*'
12232 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'
12234 archive_cmds_need_lc='no'
12235 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12236 hardcode_libdir_separator=:
12239 osf4* | osf5*) # as osf3* with the addition of -msym flag
12240 if test "$GCC" = yes; then
12241 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12242 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'
12243 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12245 allow_undefined_flag=' -expect_unresolved \*'
12246 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'
12247 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~
12248 $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'
12250 # Both c and cxx compiler support -rpath directly
12251 hardcode_libdir_flag_spec='-rpath $libdir'
12253 archive_cmds_need_lc='no'
12254 hardcode_libdir_separator=:
12258 no_undefined_flag=' -z defs'
12259 if test "$GCC" = yes; then
12261 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12262 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12263 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12265 case `$CC -V 2>&1` in
12268 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12269 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12270 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12274 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12275 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12276 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12280 hardcode_libdir_flag_spec='-R$libdir'
12281 hardcode_shlibpath_var=no
12283 solaris2.[0-5] | solaris2.[0-5].*) ;;
12285 # The compiler driver will combine and reorder linker options,
12286 # but understands `-z linker_flag'. GCC discards it without `$wl',
12287 # but is careful enough not to reorder.
12288 # Supported since Solaris 2.6 (maybe 2.5.1?)
12289 if test "$GCC" = yes; then
12290 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12292 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12296 link_all_deplibs=yes
12300 if test "x$host_vendor" = xsequent; then
12301 # Use $CC to link under sequent, because it throws in some extra .o
12302 # files that make .init and .fini sections work.
12303 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12305 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12307 hardcode_libdir_flag_spec='-L$libdir'
12308 hardcode_direct=yes
12309 hardcode_minus_L=yes
12310 hardcode_shlibpath_var=no
12314 case $host_vendor in
12316 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12317 hardcode_direct=yes # is this really true???
12320 ## LD is ld it makes a PLAMLIB
12321 ## CC just makes a GrossModule.
12322 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12323 reload_cmds='$CC -r -o $output$reload_objs'
12327 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12328 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12331 runpath_var='LD_RUN_PATH'
12332 hardcode_shlibpath_var=no
12336 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12337 hardcode_shlibpath_var=no
12338 export_dynamic_flag_spec='-Bexport'
12342 if test -d /usr/nec; then
12343 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12344 hardcode_shlibpath_var=no
12345 runpath_var=LD_RUN_PATH
12346 hardcode_runpath_var=yes
12351 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12352 no_undefined_flag='${wl}-z,text'
12353 archive_cmds_need_lc=no
12354 hardcode_shlibpath_var=no
12355 runpath_var='LD_RUN_PATH'
12357 if test "$GCC" = yes; then
12358 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12359 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12361 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12362 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12366 sysv5* | sco3.2v5* | sco5v6*)
12367 # Note: We can NOT use -z defs as we might desire, because we do not
12368 # link with -lc, and that would cause any symbols used from libc to
12369 # always be unresolved, which means just about no library would
12370 # ever link correctly. If we're not using GNU ld we use -z text
12371 # though, which does catch some bad symbols but isn't as heavy-handed
12373 no_undefined_flag='${wl}-z,text'
12374 allow_undefined_flag='${wl}-z,nodefs'
12375 archive_cmds_need_lc=no
12376 hardcode_shlibpath_var=no
12377 hardcode_libdir_flag_spec='${wl}-R,$libdir'
12378 hardcode_libdir_separator=':'
12379 link_all_deplibs=yes
12380 export_dynamic_flag_spec='${wl}-Bexport'
12381 runpath_var='LD_RUN_PATH'
12383 if test "$GCC" = yes; then
12384 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12385 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12387 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12388 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12393 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12394 hardcode_libdir_flag_spec='-L$libdir'
12395 hardcode_shlibpath_var=no
12403 if test x$host_vendor = xsni; then
12405 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12406 export_dynamic_flag_spec='${wl}-Blargedynsym'
12412 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
12413 $as_echo "$ld_shlibs" >&6; }
12414 test "$ld_shlibs" = no && can_build_shared=no
12416 with_gnu_ld=$with_gnu_ld
12433 # Do we need to explicitly link libc?
12435 case "x$archive_cmds_need_lc" in
12437 # Assume -lc should be added
12438 archive_cmds_need_lc=yes
12440 if test "$enable_shared" = yes && test "$GCC" = yes; then
12441 case $archive_cmds in
12443 # FIXME: we may have to deal with multi-command sequences.
12446 # Test whether the compiler implicitly links with -lc since on some
12447 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12448 # to ld, don't add -lc before -lgcc.
12449 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12450 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12452 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12455 (eval $ac_compile) 2>&5
12457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); } 2>conftest.err; then
12461 libobjs=conftest.$ac_objext
12463 wl=$lt_prog_compiler_wl
12464 pic_flag=$lt_prog_compiler_pic
12470 lt_save_allow_undefined_flag=$allow_undefined_flag
12471 allow_undefined_flag=
12472 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12473 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); }
12478 archive_cmds_need_lc=no
12480 archive_cmds_need_lc=yes
12482 allow_undefined_flag=$lt_save_allow_undefined_flag
12484 cat conftest.err 1>&5
12487 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
12488 $as_echo "$archive_cmds_need_lc" >&6; }
12651 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12652 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12654 if test "$GCC" = yes; then
12656 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12657 *) lt_awk_arg="/^libraries:/" ;;
12659 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12660 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
12661 # if the path contains ";" then we assume it to be the separator
12662 # otherwise default to the standard path separator (i.e. ":") - it is
12663 # assumed that no part of a normal pathname contains ";" but that should
12664 # okay in the real world where ";" in dirpaths is itself problematic.
12665 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
12667 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12669 # Ok, now we have the path, separated by spaces, we can step through it
12670 # and add multilib dir if necessary.
12671 lt_tmp_lt_search_path_spec=
12672 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12673 for lt_sys_path in $lt_search_path_spec; do
12674 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12675 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12677 test -d "$lt_sys_path" && \
12678 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12681 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
12682 BEGIN {RS=" "; FS="/|\n";} {
12685 for (lt_i = NF; lt_i > 0; lt_i--) {
12686 if ($lt_i != "" && $lt_i != ".") {
12687 if ($lt_i == "..") {
12690 if (lt_count == 0) {
12691 lt_foo="/" $lt_i lt_foo;
12698 if (lt_foo != "") { lt_freq[lt_foo]++; }
12699 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12701 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
12703 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12705 library_names_spec=
12706 libname_spec='lib$name'
12710 postuninstall_cmds=
12714 shlibpath_overrides_runpath=unknown
12716 dynamic_linker="$host_os ld.so"
12717 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12718 need_lib_prefix=unknown
12719 hardcode_into_libs=no
12721 # when you set need_version to no, make sure it does not cause -set_version
12722 # flags to be left without arguments
12723 need_version=unknown
12728 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12729 shlibpath_var=LIBPATH
12731 # AIX 3 has no versioning support, so we append a major version to the name.
12732 soname_spec='${libname}${release}${shared_ext}$major'
12739 hardcode_into_libs=yes
12740 if test "$host_cpu" = ia64; then
12741 # AIX 5 supports IA64
12742 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12743 shlibpath_var=LD_LIBRARY_PATH
12745 # With GCC up to 2.95.x, collect2 would create an import file
12746 # for dependence libraries. The import file would start with
12747 # the line `#! .'. This would cause the generated library to
12748 # depend on `.', always an invalid library. This was fixed in
12749 # development snapshots of GCC prior to 3.0.
12751 aix4 | aix4.[01] | aix4.[01].*)
12752 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12754 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12757 can_build_shared=no
12761 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12762 # soname into executable. Probably we can add versioning support to
12763 # collect2, so additional links can be useful in future.
12764 if test "$aix_use_runtimelinking" = yes; then
12765 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12766 # instead of lib<name>.a to let people know that these are not
12767 # typical AIX shared libraries.
12768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12770 # We preserve .a as extension for shared libraries through AIX4.2
12771 # and later when we are not doing run time linking.
12772 library_names_spec='${libname}${release}.a $libname.a'
12773 soname_spec='${libname}${release}${shared_ext}$major'
12775 shlibpath_var=LIBPATH
12782 # Since July 2007 AmigaOS4 officially supports .so libraries.
12783 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12787 library_names_spec='$libname.ixlibrary $libname.a'
12788 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12789 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'
12795 library_names_spec='${libname}${shared_ext}'
12796 dynamic_linker="$host_os ld.so"
12797 shlibpath_var=LIBRARY_PATH
12803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12804 soname_spec='${libname}${release}${shared_ext}$major'
12805 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12806 shlibpath_var=LD_LIBRARY_PATH
12807 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12808 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12809 # the default ld.so.conf also contains /usr/contrib/lib and
12810 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12811 # libtool to hard-code these into programs
12814 cygwin* | mingw* | pw32* | cegcc*)
12815 version_type=windows
12820 case $GCC,$host_os in
12821 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
12822 library_names_spec='$libname.dll.a'
12823 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12824 postinstall_cmds='base_file=`basename \${file}`~
12825 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12826 dldir=$destdir/`dirname \$dlpath`~
12827 test -d \$dldir || mkdir -p \$dldir~
12828 $install_prog $dir/$dlname \$dldir/$dlname~
12829 chmod a+x \$dldir/$dlname~
12830 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12831 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12833 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12834 dlpath=$dir/\$dldll~
12836 shlibpath_overrides_runpath=yes
12840 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12841 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12842 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12845 # MinGW DLLs use traditional 'lib' prefix
12846 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12847 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12848 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12849 # It is most probably a Windows format PATH printed by
12850 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12851 # path with ; separators, and with drive letters. We can handle the
12852 # drive letters (cygwin fileutils understands them), so leave them,
12853 # especially as we might pass files found there to a mingw objdump,
12854 # which wouldn't understand a cygwinified path. Ahh.
12855 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12857 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12861 # pw32 DLLs use 'pw' prefix rather than 'lib'
12862 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12868 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12871 dynamic_linker='Win32 ld.exe'
12872 # FIXME: first we should search . and the directory the executable is in
12876 darwin* | rhapsody*)
12877 dynamic_linker="$host_os dyld"
12878 version_type=darwin
12881 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12882 soname_spec='${libname}${release}${major}$shared_ext'
12883 shlibpath_overrides_runpath=yes
12884 shlibpath_var=DYLD_LIBRARY_PATH
12885 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12887 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12888 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12896 soname_spec='${libname}${release}${shared_ext}$major'
12897 shlibpath_var=LD_LIBRARY_PATH
12904 freebsd* | dragonfly*)
12905 # DragonFly does not have aout. When/if they implement a new
12906 # versioning mechanism, adjust this.
12907 if test -x /usr/bin/objformat; then
12908 objformat=`/usr/bin/objformat`
12911 freebsd[123]*) objformat=aout ;;
12912 *) objformat=elf ;;
12915 version_type=freebsd-$objformat
12916 case $version_type in
12918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12923 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12927 shlibpath_var=LD_LIBRARY_PATH
12930 shlibpath_overrides_runpath=yes
12932 freebsd3.[01]* | freebsdelf3.[01]*)
12933 shlibpath_overrides_runpath=yes
12934 hardcode_into_libs=yes
12936 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12937 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12938 shlibpath_overrides_runpath=no
12939 hardcode_into_libs=yes
12941 *) # from 4.6 on, and DragonFly
12942 shlibpath_overrides_runpath=yes
12943 hardcode_into_libs=yes
12952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12953 soname_spec='${libname}${release}${shared_ext}$major'
12954 shlibpath_var=LD_LIBRARY_PATH
12955 hardcode_into_libs=yes
12958 hpux9* | hpux10* | hpux11*)
12959 # Give a soname corresponding to the major version so that dld.sl refuses to
12960 # link against other versions.
12967 hardcode_into_libs=yes
12968 dynamic_linker="$host_os dld.so"
12969 shlibpath_var=LD_LIBRARY_PATH
12970 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12972 soname_spec='${libname}${release}${shared_ext}$major'
12973 if test "X$HPUX_IA64_MODE" = X32; then
12974 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12976 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12978 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12982 hardcode_into_libs=yes
12983 dynamic_linker="$host_os dld.sl"
12984 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12985 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12987 soname_spec='${libname}${release}${shared_ext}$major'
12988 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12989 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12993 dynamic_linker="$host_os dld.sl"
12994 shlibpath_var=SHLIB_PATH
12995 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12997 soname_spec='${libname}${release}${shared_ext}$major'
13000 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13001 postinstall_cmds='chmod 555 $lib'
13008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13009 soname_spec='${libname}${release}${shared_ext}$major'
13010 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13011 shlibpath_var=LD_LIBRARY_PATH
13012 shlibpath_overrides_runpath=no
13013 hardcode_into_libs=yes
13016 irix5* | irix6* | nonstopux*)
13018 nonstopux*) version_type=nonstopux ;;
13020 if test "$lt_cv_prog_gnu_ld" = yes; then
13028 soname_spec='${libname}${release}${shared_ext}$major'
13029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13031 irix5* | nonstopux*)
13032 libsuff= shlibsuff=
13035 case $LD in # libtool.m4 will add one of these switches to LD
13036 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13037 libsuff= shlibsuff= libmagic=32-bit;;
13038 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13039 libsuff=32 shlibsuff=N32 libmagic=N32;;
13040 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13041 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13042 *) libsuff= shlibsuff= libmagic=never-match;;
13046 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13047 shlibpath_overrides_runpath=no
13048 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13049 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13050 hardcode_into_libs=yes
13053 # No shared lib support for Linux oldld, aout, or coff.
13054 linux*oldld* | linux*aout* | linux*coff*)
13058 # This must be Linux ELF.
13059 linux* | k*bsd*-gnu)
13063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13064 soname_spec='${libname}${release}${shared_ext}$major'
13065 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13066 shlibpath_var=LD_LIBRARY_PATH
13067 shlibpath_overrides_runpath=no
13068 # Some binutils ld are patched to set DT_RUNPATH
13069 save_LDFLAGS=$LDFLAGS
13070 save_libdir=$libdir
13071 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13072 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13073 cat >conftest.$ac_ext <<_ACEOF
13076 cat confdefs.h >>conftest.$ac_ext
13077 cat >>conftest.$ac_ext <<_ACEOF
13078 /* end confdefs.h. */
13088 rm -f conftest.$ac_objext conftest$ac_exeext
13089 if { (ac_try="$ac_link"
13090 case "(($ac_try" in
13091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13092 *) ac_try_echo=$ac_try;;
13094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13095 $as_echo "$ac_try_echo") >&5
13096 (eval "$ac_link") 2>conftest.er1
13098 grep -v '^ *+' conftest.er1 >conftest.err
13100 cat conftest.err >&5
13101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); } && {
13103 test -z "$ac_c_werror_flag" ||
13104 test ! -s conftest.err
13105 } && test -s conftest$ac_exeext && {
13106 test "$cross_compiling" = yes ||
13107 $as_test_x conftest$ac_exeext
13109 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
13110 shlibpath_overrides_runpath=yes
13114 $as_echo "$as_me: failed program was:" >&5
13115 sed 's/^/| /' conftest.$ac_ext >&5
13120 rm -rf conftest.dSYM
13121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13122 conftest$ac_exeext conftest.$ac_ext
13123 LDFLAGS=$save_LDFLAGS
13124 libdir=$save_libdir
13126 # This implies no fast_install, which is unacceptable.
13127 # Some rework will be needed to allow for fast_install
13128 # before this can be enabled.
13129 hardcode_into_libs=yes
13131 # Append ld.so.conf contents to the search path
13132 if test -f /etc/ld.so.conf; then
13133 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' ' '`
13134 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13137 # We used to test for /lib/ld.so.1 and disable shared libraries on
13138 # powerpc, because MkLinux only supported shared libraries with the
13139 # GNU dynamic linker. Since this was broken with cross compilers,
13140 # most powerpc-linux boxes support dynamic linking these days and
13141 # people can always --disable-shared, the test was removed, and we
13142 # assume the GNU/Linux dynamic linker is in use.
13143 dynamic_linker='GNU/Linux ld.so'
13150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13151 soname_spec='${libname}${release}${shared_ext}$major'
13152 shlibpath_var=LD_LIBRARY_PATH
13153 shlibpath_overrides_runpath=no
13154 hardcode_into_libs=yes
13155 dynamic_linker='NetBSD ld.elf_so'
13162 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13164 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13165 dynamic_linker='NetBSD (a.out) ld.so'
13167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13168 soname_spec='${libname}${release}${shared_ext}$major'
13169 dynamic_linker='NetBSD ld.elf_so'
13171 shlibpath_var=LD_LIBRARY_PATH
13172 shlibpath_overrides_runpath=yes
13173 hardcode_into_libs=yes
13178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13179 shlibpath_var=LD_LIBRARY_PATH
13180 shlibpath_overrides_runpath=yes
13187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13188 soname_spec='${libname}${release}${shared_ext}$major'
13189 shlibpath_var=LD_LIBRARY_PATH
13190 shlibpath_overrides_runpath=no
13191 hardcode_into_libs=yes
13192 dynamic_linker='ldqnx.so'
13197 sys_lib_dlsearch_path_spec="/usr/lib"
13199 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13201 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13202 *) need_version=no ;;
13204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13205 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13206 shlibpath_var=LD_LIBRARY_PATH
13207 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13209 openbsd2.[89] | openbsd2.[89].*)
13210 shlibpath_overrides_runpath=no
13213 shlibpath_overrides_runpath=yes
13217 shlibpath_overrides_runpath=yes
13222 libname_spec='$name'
13225 library_names_spec='$libname${shared_ext} $libname.a'
13226 dynamic_linker='OS/2 ld.exe'
13227 shlibpath_var=LIBPATH
13230 osf3* | osf4* | osf5*)
13234 soname_spec='${libname}${release}${shared_ext}$major'
13235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13236 shlibpath_var=LD_LIBRARY_PATH
13237 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13238 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13250 soname_spec='${libname}${release}${shared_ext}$major'
13251 shlibpath_var=LD_LIBRARY_PATH
13252 shlibpath_overrides_runpath=yes
13253 hardcode_into_libs=yes
13254 # ldd complains unless libraries are executable
13255 postinstall_cmds='chmod +x $lib'
13260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13261 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13262 shlibpath_var=LD_LIBRARY_PATH
13263 shlibpath_overrides_runpath=yes
13264 if test "$with_gnu_ld" = yes; then
13272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13273 soname_spec='${libname}${release}${shared_ext}$major'
13274 shlibpath_var=LD_LIBRARY_PATH
13275 case $host_vendor in
13277 shlibpath_overrides_runpath=no
13279 runpath_var=LD_RUN_PATH
13287 shlibpath_overrides_runpath=no
13288 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13294 if test -d /usr/nec ;then
13296 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13297 soname_spec='$libname${shared_ext}.$major'
13298 shlibpath_var=LD_LIBRARY_PATH
13302 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13303 version_type=freebsd-elf
13306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13307 soname_spec='${libname}${release}${shared_ext}$major'
13308 shlibpath_var=LD_LIBRARY_PATH
13309 shlibpath_overrides_runpath=yes
13310 hardcode_into_libs=yes
13311 if test "$with_gnu_ld" = yes; then
13312 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13314 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13317 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13321 sys_lib_dlsearch_path_spec='/usr/lib'
13325 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13330 shlibpath_var=LD_LIBRARY_PATH
13331 shlibpath_overrides_runpath=no
13332 hardcode_into_libs=yes
13337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13338 soname_spec='${libname}${release}${shared_ext}$major'
13339 shlibpath_var=LD_LIBRARY_PATH
13346 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13347 $as_echo "$dynamic_linker" >&6; }
13348 test "$dynamic_linker" = no && can_build_shared=no
13350 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13351 if test "$GCC" = yes; then
13352 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13355 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13356 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13358 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13359 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13448 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13449 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13451 if test -n "$hardcode_libdir_flag_spec" ||
13452 test -n "$runpath_var" ||
13453 test "X$hardcode_automatic" = "Xyes" ; then
13455 # We can hardcode non-existent directories.
13456 if test "$hardcode_direct" != no &&
13457 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13458 # have to relink, otherwise we might link with an installed library
13459 # when we should be linking with a yet-to-be-installed one
13460 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13461 test "$hardcode_minus_L" != no; then
13462 # Linking always hardcodes the temporary library directory.
13463 hardcode_action=relink
13465 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13466 hardcode_action=immediate
13469 # We cannot hardcode anything, or else we can only hardcode existing
13471 hardcode_action=unsupported
13473 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
13474 $as_echo "$hardcode_action" >&6; }
13476 if test "$hardcode_action" = relink ||
13477 test "$inherit_rpath" = yes; then
13478 # Fast installation is not supported
13479 enable_fast_install=no
13480 elif test "$shlibpath_overrides_runpath" = yes ||
13481 test "$enable_shared" = no; then
13482 # Fast installation is not necessary
13483 enable_fast_install=needless
13491 if test "x$enable_dlopen" != xyes; then
13492 enable_dlopen=unknown
13493 enable_dlopen_self=unknown
13494 enable_dlopen_self_static=unknown
13501 lt_cv_dlopen="load_add_on"
13503 lt_cv_dlopen_self=yes
13506 mingw* | pw32* | cegcc*)
13507 lt_cv_dlopen="LoadLibrary"
13512 lt_cv_dlopen="dlopen"
13517 # if libdl is installed we need to link against it
13518 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13519 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13520 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13521 $as_echo_n "(cached) " >&6
13523 ac_check_lib_save_LIBS=$LIBS
13525 cat >conftest.$ac_ext <<_ACEOF
13528 cat confdefs.h >>conftest.$ac_ext
13529 cat >>conftest.$ac_ext <<_ACEOF
13530 /* end confdefs.h. */
13532 /* Override any GCC internal prototype to avoid an error.
13533 Use char because int might match the return type of a GCC
13534 builtin and then its argument prototype would still apply. */
13547 rm -f conftest.$ac_objext conftest$ac_exeext
13548 if { (ac_try="$ac_link"
13549 case "(($ac_try" in
13550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13551 *) ac_try_echo=$ac_try;;
13553 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13554 $as_echo "$ac_try_echo") >&5
13555 (eval "$ac_link") 2>conftest.er1
13557 grep -v '^ *+' conftest.er1 >conftest.err
13559 cat conftest.err >&5
13560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); } && {
13562 test -z "$ac_c_werror_flag" ||
13563 test ! -s conftest.err
13564 } && test -s conftest$ac_exeext && {
13565 test "$cross_compiling" = yes ||
13566 $as_test_x conftest$ac_exeext
13568 ac_cv_lib_dl_dlopen=yes
13570 $as_echo "$as_me: failed program was:" >&5
13571 sed 's/^/| /' conftest.$ac_ext >&5
13573 ac_cv_lib_dl_dlopen=no
13576 rm -rf conftest.dSYM
13577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13578 conftest$ac_exeext conftest.$ac_ext
13579 LIBS=$ac_check_lib_save_LIBS
13581 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13582 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13583 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
13584 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13587 lt_cv_dlopen="dyld"
13589 lt_cv_dlopen_self=yes
13596 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
13597 $as_echo_n "checking for shl_load... " >&6; }
13598 if test "${ac_cv_func_shl_load+set}" = set; then
13599 $as_echo_n "(cached) " >&6
13601 cat >conftest.$ac_ext <<_ACEOF
13604 cat confdefs.h >>conftest.$ac_ext
13605 cat >>conftest.$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13607 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
13608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13609 #define shl_load innocuous_shl_load
13611 /* System header to define __stub macros and hopefully few prototypes,
13612 which can conflict with char shl_load (); below.
13613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13614 <limits.h> exists even on freestanding compilers. */
13617 # include <limits.h>
13619 # include <assert.h>
13624 /* Override any GCC internal prototype to avoid an error.
13625 Use char because int might match the return type of a GCC
13626 builtin and then its argument prototype would still apply. */
13631 /* The GNU C library defines this for functions which it implements
13632 to always fail with ENOSYS. Some functions are actually named
13633 something starting with __ and the normal name is an alias. */
13634 #if defined __stub_shl_load || defined __stub___shl_load
13641 return shl_load ();
13646 rm -f conftest.$ac_objext conftest$ac_exeext
13647 if { (ac_try="$ac_link"
13648 case "(($ac_try" in
13649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13650 *) ac_try_echo=$ac_try;;
13652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13653 $as_echo "$ac_try_echo") >&5
13654 (eval "$ac_link") 2>conftest.er1
13656 grep -v '^ *+' conftest.er1 >conftest.err
13658 cat conftest.err >&5
13659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); } && {
13661 test -z "$ac_c_werror_flag" ||
13662 test ! -s conftest.err
13663 } && test -s conftest$ac_exeext && {
13664 test "$cross_compiling" = yes ||
13665 $as_test_x conftest$ac_exeext
13667 ac_cv_func_shl_load=yes
13669 $as_echo "$as_me: failed program was:" >&5
13670 sed 's/^/| /' conftest.$ac_ext >&5
13672 ac_cv_func_shl_load=no
13675 rm -rf conftest.dSYM
13676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13677 conftest$ac_exeext conftest.$ac_ext
13679 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13680 $as_echo "$ac_cv_func_shl_load" >&6; }
13681 if test "x$ac_cv_func_shl_load" = x""yes; then
13682 lt_cv_dlopen="shl_load"
13684 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13685 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13686 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13687 $as_echo_n "(cached) " >&6
13689 ac_check_lib_save_LIBS=$LIBS
13691 cat >conftest.$ac_ext <<_ACEOF
13694 cat confdefs.h >>conftest.$ac_ext
13695 cat >>conftest.$ac_ext <<_ACEOF
13696 /* end confdefs.h. */
13698 /* Override any GCC internal prototype to avoid an error.
13699 Use char because int might match the return type of a GCC
13700 builtin and then its argument prototype would still apply. */
13708 return shl_load ();
13713 rm -f conftest.$ac_objext conftest$ac_exeext
13714 if { (ac_try="$ac_link"
13715 case "(($ac_try" in
13716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13717 *) ac_try_echo=$ac_try;;
13719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13720 $as_echo "$ac_try_echo") >&5
13721 (eval "$ac_link") 2>conftest.er1
13723 grep -v '^ *+' conftest.er1 >conftest.err
13725 cat conftest.err >&5
13726 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); } && {
13728 test -z "$ac_c_werror_flag" ||
13729 test ! -s conftest.err
13730 } && test -s conftest$ac_exeext && {
13731 test "$cross_compiling" = yes ||
13732 $as_test_x conftest$ac_exeext
13734 ac_cv_lib_dld_shl_load=yes
13736 $as_echo "$as_me: failed program was:" >&5
13737 sed 's/^/| /' conftest.$ac_ext >&5
13739 ac_cv_lib_dld_shl_load=no
13742 rm -rf conftest.dSYM
13743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13744 conftest$ac_exeext conftest.$ac_ext
13745 LIBS=$ac_check_lib_save_LIBS
13747 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13748 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13749 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
13750 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13752 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
13753 $as_echo_n "checking for dlopen... " >&6; }
13754 if test "${ac_cv_func_dlopen+set}" = set; then
13755 $as_echo_n "(cached) " >&6
13757 cat >conftest.$ac_ext <<_ACEOF
13760 cat confdefs.h >>conftest.$ac_ext
13761 cat >>conftest.$ac_ext <<_ACEOF
13762 /* end confdefs.h. */
13763 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13765 #define dlopen innocuous_dlopen
13767 /* System header to define __stub macros and hopefully few prototypes,
13768 which can conflict with char dlopen (); below.
13769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13770 <limits.h> exists even on freestanding compilers. */
13773 # include <limits.h>
13775 # include <assert.h>
13780 /* Override any GCC internal prototype to avoid an error.
13781 Use char because int might match the return type of a GCC
13782 builtin and then its argument prototype would still apply. */
13787 /* The GNU C library defines this for functions which it implements
13788 to always fail with ENOSYS. Some functions are actually named
13789 something starting with __ and the normal name is an alias. */
13790 #if defined __stub_dlopen || defined __stub___dlopen
13802 rm -f conftest.$ac_objext conftest$ac_exeext
13803 if { (ac_try="$ac_link"
13804 case "(($ac_try" in
13805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13806 *) ac_try_echo=$ac_try;;
13808 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13809 $as_echo "$ac_try_echo") >&5
13810 (eval "$ac_link") 2>conftest.er1
13812 grep -v '^ *+' conftest.er1 >conftest.err
13814 cat conftest.err >&5
13815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); } && {
13817 test -z "$ac_c_werror_flag" ||
13818 test ! -s conftest.err
13819 } && test -s conftest$ac_exeext && {
13820 test "$cross_compiling" = yes ||
13821 $as_test_x conftest$ac_exeext
13823 ac_cv_func_dlopen=yes
13825 $as_echo "$as_me: failed program was:" >&5
13826 sed 's/^/| /' conftest.$ac_ext >&5
13828 ac_cv_func_dlopen=no
13831 rm -rf conftest.dSYM
13832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13833 conftest$ac_exeext conftest.$ac_ext
13835 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13836 $as_echo "$ac_cv_func_dlopen" >&6; }
13837 if test "x$ac_cv_func_dlopen" = x""yes; then
13838 lt_cv_dlopen="dlopen"
13840 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13841 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13842 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13843 $as_echo_n "(cached) " >&6
13845 ac_check_lib_save_LIBS=$LIBS
13847 cat >conftest.$ac_ext <<_ACEOF
13850 cat confdefs.h >>conftest.$ac_ext
13851 cat >>conftest.$ac_ext <<_ACEOF
13852 /* end confdefs.h. */
13854 /* Override any GCC internal prototype to avoid an error.
13855 Use char because int might match the return type of a GCC
13856 builtin and then its argument prototype would still apply. */
13869 rm -f conftest.$ac_objext conftest$ac_exeext
13870 if { (ac_try="$ac_link"
13871 case "(($ac_try" in
13872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13873 *) ac_try_echo=$ac_try;;
13875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13876 $as_echo "$ac_try_echo") >&5
13877 (eval "$ac_link") 2>conftest.er1
13879 grep -v '^ *+' conftest.er1 >conftest.err
13881 cat conftest.err >&5
13882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); } && {
13884 test -z "$ac_c_werror_flag" ||
13885 test ! -s conftest.err
13886 } && test -s conftest$ac_exeext && {
13887 test "$cross_compiling" = yes ||
13888 $as_test_x conftest$ac_exeext
13890 ac_cv_lib_dl_dlopen=yes
13892 $as_echo "$as_me: failed program was:" >&5
13893 sed 's/^/| /' conftest.$ac_ext >&5
13895 ac_cv_lib_dl_dlopen=no
13898 rm -rf conftest.dSYM
13899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13900 conftest$ac_exeext conftest.$ac_ext
13901 LIBS=$ac_check_lib_save_LIBS
13903 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13904 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13905 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
13906 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13908 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13909 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13910 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13911 $as_echo_n "(cached) " >&6
13913 ac_check_lib_save_LIBS=$LIBS
13914 LIBS="-lsvld $LIBS"
13915 cat >conftest.$ac_ext <<_ACEOF
13918 cat confdefs.h >>conftest.$ac_ext
13919 cat >>conftest.$ac_ext <<_ACEOF
13920 /* end confdefs.h. */
13922 /* Override any GCC internal prototype to avoid an error.
13923 Use char because int might match the return type of a GCC
13924 builtin and then its argument prototype would still apply. */
13937 rm -f conftest.$ac_objext conftest$ac_exeext
13938 if { (ac_try="$ac_link"
13939 case "(($ac_try" in
13940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13941 *) ac_try_echo=$ac_try;;
13943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13944 $as_echo "$ac_try_echo") >&5
13945 (eval "$ac_link") 2>conftest.er1
13947 grep -v '^ *+' conftest.er1 >conftest.err
13949 cat conftest.err >&5
13950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); } && {
13952 test -z "$ac_c_werror_flag" ||
13953 test ! -s conftest.err
13954 } && test -s conftest$ac_exeext && {
13955 test "$cross_compiling" = yes ||
13956 $as_test_x conftest$ac_exeext
13958 ac_cv_lib_svld_dlopen=yes
13960 $as_echo "$as_me: failed program was:" >&5
13961 sed 's/^/| /' conftest.$ac_ext >&5
13963 ac_cv_lib_svld_dlopen=no
13966 rm -rf conftest.dSYM
13967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13968 conftest$ac_exeext conftest.$ac_ext
13969 LIBS=$ac_check_lib_save_LIBS
13971 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13972 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13973 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
13974 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13976 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13977 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13978 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13979 $as_echo_n "(cached) " >&6
13981 ac_check_lib_save_LIBS=$LIBS
13983 cat >conftest.$ac_ext <<_ACEOF
13986 cat confdefs.h >>conftest.$ac_ext
13987 cat >>conftest.$ac_ext <<_ACEOF
13988 /* end confdefs.h. */
13990 /* Override any GCC internal prototype to avoid an error.
13991 Use char because int might match the return type of a GCC
13992 builtin and then its argument prototype would still apply. */
14000 return dld_link ();
14005 rm -f conftest.$ac_objext conftest$ac_exeext
14006 if { (ac_try="$ac_link"
14007 case "(($ac_try" in
14008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14009 *) ac_try_echo=$ac_try;;
14011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14012 $as_echo "$ac_try_echo") >&5
14013 (eval "$ac_link") 2>conftest.er1
14015 grep -v '^ *+' conftest.er1 >conftest.err
14017 cat conftest.err >&5
14018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); } && {
14020 test -z "$ac_c_werror_flag" ||
14021 test ! -s conftest.err
14022 } && test -s conftest$ac_exeext && {
14023 test "$cross_compiling" = yes ||
14024 $as_test_x conftest$ac_exeext
14026 ac_cv_lib_dld_dld_link=yes
14028 $as_echo "$as_me: failed program was:" >&5
14029 sed 's/^/| /' conftest.$ac_ext >&5
14031 ac_cv_lib_dld_dld_link=no
14034 rm -rf conftest.dSYM
14035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14036 conftest$ac_exeext conftest.$ac_ext
14037 LIBS=$ac_check_lib_save_LIBS
14039 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
14040 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14041 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
14042 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
14063 if test "x$lt_cv_dlopen" != xno; then
14069 case $lt_cv_dlopen in
14071 save_CPPFLAGS="$CPPFLAGS"
14072 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14074 save_LDFLAGS="$LDFLAGS"
14075 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14078 LIBS="$lt_cv_dlopen_libs $LIBS"
14080 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
14081 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14082 if test "${lt_cv_dlopen_self+set}" = set; then
14083 $as_echo_n "(cached) " >&6
14085 if test "$cross_compiling" = yes; then :
14086 lt_cv_dlopen_self=cross
14088 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14089 lt_status=$lt_dlunknown
14090 cat > conftest.$ac_ext <<_LT_EOF
14091 #line 14091 "configure"
14092 #include "confdefs.h"
14101 # define LT_DLGLOBAL RTLD_GLOBAL
14104 # define LT_DLGLOBAL DL_GLOBAL
14106 # define LT_DLGLOBAL 0
14110 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14111 find out it does not work in some platform. */
14112 #ifndef LT_DLLAZY_OR_NOW
14114 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14117 # define LT_DLLAZY_OR_NOW DL_LAZY
14120 # define LT_DLLAZY_OR_NOW RTLD_NOW
14123 # define LT_DLLAZY_OR_NOW DL_NOW
14125 # define LT_DLLAZY_OR_NOW 0
14132 void fnord() { int i=42;}
14135 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14136 int status = $lt_dlunknown;
14140 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14141 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14142 /* dlclose (self); */
14150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14151 (eval $ac_link) 2>&5
14153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14154 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14155 (./conftest; exit; ) >&5 2>/dev/null
14157 case x$lt_status in
14158 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14159 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14160 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14163 # compilation failed
14164 lt_cv_dlopen_self=no
14171 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
14172 $as_echo "$lt_cv_dlopen_self" >&6; }
14174 if test "x$lt_cv_dlopen_self" = xyes; then
14175 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14176 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
14177 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14178 if test "${lt_cv_dlopen_self_static+set}" = set; then
14179 $as_echo_n "(cached) " >&6
14181 if test "$cross_compiling" = yes; then :
14182 lt_cv_dlopen_self_static=cross
14184 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14185 lt_status=$lt_dlunknown
14186 cat > conftest.$ac_ext <<_LT_EOF
14187 #line 14187 "configure"
14188 #include "confdefs.h"
14197 # define LT_DLGLOBAL RTLD_GLOBAL
14200 # define LT_DLGLOBAL DL_GLOBAL
14202 # define LT_DLGLOBAL 0
14206 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14207 find out it does not work in some platform. */
14208 #ifndef LT_DLLAZY_OR_NOW
14210 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14213 # define LT_DLLAZY_OR_NOW DL_LAZY
14216 # define LT_DLLAZY_OR_NOW RTLD_NOW
14219 # define LT_DLLAZY_OR_NOW DL_NOW
14221 # define LT_DLLAZY_OR_NOW 0
14228 void fnord() { int i=42;}
14231 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14232 int status = $lt_dlunknown;
14236 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14237 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14238 /* dlclose (self); */
14246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14247 (eval $ac_link) 2>&5
14249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14251 (./conftest; exit; ) >&5 2>/dev/null
14253 case x$lt_status in
14254 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14255 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14256 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14259 # compilation failed
14260 lt_cv_dlopen_self_static=no
14267 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
14268 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14271 CPPFLAGS="$save_CPPFLAGS"
14272 LDFLAGS="$save_LDFLAGS"
14277 case $lt_cv_dlopen_self in
14278 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14279 *) enable_dlopen_self=unknown ;;
14282 case $lt_cv_dlopen_self_static in
14283 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14284 *) enable_dlopen_self_static=unknown ;;
14306 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14307 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14308 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14309 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14310 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14311 { $as_echo "$as_me:$LINENO: result: yes" >&5
14312 $as_echo "yes" >&6; }
14314 # FIXME - insert some real tests, host_os isn't really good enough
14317 if test -n "$STRIP" ; then
14318 striplib="$STRIP -x"
14319 old_striplib="$STRIP -S"
14320 { $as_echo "$as_me:$LINENO: result: yes" >&5
14321 $as_echo "yes" >&6; }
14323 { $as_echo "$as_me:$LINENO: result: no" >&5
14324 $as_echo "no" >&6; }
14328 { $as_echo "$as_me:$LINENO: result: no" >&5
14329 $as_echo "no" >&6; }
14345 # Report which library types will actually be built
14346 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14347 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14348 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
14349 $as_echo "$can_build_shared" >&6; }
14351 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14352 $as_echo_n "checking whether to build shared libraries... " >&6; }
14353 test "$can_build_shared" = "no" && enable_shared=no
14355 # On AIX, shared libraries and static libraries use the same namespace, and
14356 # are all built from PIC.
14359 test "$enable_shared" = yes && enable_static=no
14360 if test -n "$RANLIB"; then
14361 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14362 postinstall_cmds='$RANLIB $lib'
14367 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14368 test "$enable_shared" = yes && enable_static=no
14372 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
14373 $as_echo "$enable_shared" >&6; }
14375 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14376 $as_echo_n "checking whether to build static libraries... " >&6; }
14377 # Make sure either enable_shared or enable_static is yes.
14378 test "$enable_shared" = yes || enable_static=yes
14379 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
14380 $as_echo "$enable_static" >&6; }
14387 ac_cpp='$CPP $CPPFLAGS'
14388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14396 ac_cpp='$CXXCPP $CPPFLAGS'
14397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14401 archive_cmds_need_lc_CXX=no
14402 allow_undefined_flag_CXX=
14403 always_export_symbols_CXX=no
14404 archive_expsym_cmds_CXX=
14405 compiler_needs_object_CXX=no
14406 export_dynamic_flag_spec_CXX=
14407 hardcode_direct_CXX=no
14408 hardcode_direct_absolute_CXX=no
14409 hardcode_libdir_flag_spec_CXX=
14410 hardcode_libdir_flag_spec_ld_CXX=
14411 hardcode_libdir_separator_CXX=
14412 hardcode_minus_L_CXX=no
14413 hardcode_shlibpath_var_CXX=unsupported
14414 hardcode_automatic_CXX=no
14415 inherit_rpath_CXX=no
14417 module_expsym_cmds_CXX=
14418 link_all_deplibs_CXX=unknown
14419 old_archive_cmds_CXX=$old_archive_cmds
14420 no_undefined_flag_CXX=
14421 whole_archive_flag_spec_CXX=
14422 enable_shared_with_static_runtimes_CXX=no
14424 # Source file extension for C++ test sources.
14427 # Object file extension for compiled C++ test sources.
14431 # No sense in running all these tests if we already determined that
14432 # the CXX compiler isn't working. Some variables (like enable_shared)
14433 # are currently assumed to apply to all compilers on this platform,
14434 # and will be corrupted by setting them based on a non-working compiler.
14435 if test "$_lt_caught_CXX_error" != yes; then
14436 # Code to be used in simple compile tests
14437 lt_simple_compile_test_code="int some_variable = 0;"
14439 # Code to be used in simple link tests
14440 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14442 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14449 # If no C compiler was specified, use CC.
14452 # If no C compiler flags were specified, use CFLAGS.
14453 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14455 # Allow CC to be a program name with arguments.
14459 # save warnings/boilerplate of simple test code
14460 ac_outfile=conftest.$ac_objext
14461 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14462 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14463 _lt_compiler_boilerplate=`cat conftest.err`
14466 ac_outfile=conftest.$ac_objext
14467 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14468 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14469 _lt_linker_boilerplate=`cat conftest.err`
14473 # Allow CC to be a program name with arguments.
14478 lt_save_with_gnu_ld=$with_gnu_ld
14479 lt_save_path_LD=$lt_cv_path_LD
14480 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14481 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14483 $as_unset lt_cv_prog_gnu_ld
14485 if test -n "${lt_cv_path_LDCXX+set}"; then
14486 lt_cv_path_LD=$lt_cv_path_LDCXX
14488 $as_unset lt_cv_path_LD
14490 test -z "${LDCXX+set}" || LD=$LDCXX
14494 for cc_temp in $compiler""; do
14496 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14497 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14502 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14505 if test -n "$compiler"; then
14506 # We don't want -fno-exception when compiling C++ code, so set the
14507 # no_builtin_flag separately
14508 if test "$GXX" = yes; then
14509 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14511 lt_prog_compiler_no_builtin_flag_CXX=
14514 if test "$GXX" = yes; then
14515 # Set up default GNU C++ configuration
14519 # Check whether --with-gnu-ld was given.
14520 if test "${with_gnu_ld+set}" = set; then
14521 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14527 if test "$GCC" = yes; then
14528 # Check if gcc -print-prog-name=ld gives a path.
14529 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
14530 $as_echo_n "checking for ld used by $CC... " >&6; }
14533 # gcc leaves a trailing carriage return which upsets mingw
14534 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14536 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14539 # Accept absolute paths.
14541 re_direlt='/[^/][^/]*/\.\./'
14542 # Canonicalize the pathname of ld
14543 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14544 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14545 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14547 test -z "$LD" && LD="$ac_prog"
14550 # If it fails, then pretend we aren't using GCC.
14554 # If it is relative, then search for the first ld in PATH.
14555 with_gnu_ld=unknown
14558 elif test "$with_gnu_ld" = yes; then
14559 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
14560 $as_echo_n "checking for GNU ld... " >&6; }
14562 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
14563 $as_echo_n "checking for non-GNU ld... " >&6; }
14565 if test "${lt_cv_path_LD+set}" = set; then
14566 $as_echo_n "(cached) " >&6
14568 if test -z "$LD"; then
14569 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14570 for ac_dir in $PATH; do
14572 test -z "$ac_dir" && ac_dir=.
14573 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14574 lt_cv_path_LD="$ac_dir/$ac_prog"
14575 # Check to see if the program is GNU ld. I'd rather use --version,
14576 # but apparently some variants of GNU ld only accept -v.
14577 # Break only if it was the GNU/non-GNU ld that we prefer.
14578 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14579 *GNU* | *'with BFD'*)
14580 test "$with_gnu_ld" != no && break
14583 test "$with_gnu_ld" != yes && break
14590 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14594 LD="$lt_cv_path_LD"
14595 if test -n "$LD"; then
14596 { $as_echo "$as_me:$LINENO: result: $LD" >&5
14597 $as_echo "$LD" >&6; }
14599 { $as_echo "$as_me:$LINENO: result: no" >&5
14600 $as_echo "no" >&6; }
14602 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
14603 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
14604 { (exit 1); exit 1; }; }
14605 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
14606 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14607 if test "${lt_cv_prog_gnu_ld+set}" = set; then
14608 $as_echo_n "(cached) " >&6
14610 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14611 case `$LD -v 2>&1 </dev/null` in
14612 *GNU* | *'with BFD'*)
14613 lt_cv_prog_gnu_ld=yes
14616 lt_cv_prog_gnu_ld=no
14620 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
14621 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14622 with_gnu_ld=$lt_cv_prog_gnu_ld
14630 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14631 # archiving commands below assume that GNU ld is being used.
14632 if test "$with_gnu_ld" = yes; then
14633 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14634 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'
14636 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14637 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14639 # If archive_cmds runs LD, not CC, wlarc should be empty
14640 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14641 # investigate it a little bit more. (MM)
14644 # ancient GNU ld didn't support --whole-archive et. al.
14645 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14646 $GREP 'no-whole-archive' > /dev/null; then
14647 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14649 whole_archive_flag_spec_CXX=
14655 # A generic and very simple default shared library creation
14656 # command for GNU C++ for the case where it uses the native
14657 # linker, instead of GNU ld. If possible, this setting should
14658 # overridden to take advantage of the native linker features on
14659 # the platform it is being used on.
14660 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14663 # Commands to make compiler produce verbose output that lists
14664 # what "hidden" libraries, object files and flags are used when
14665 # linking a shared library.
14666 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14674 # PORTME: fill in a description of your system's C++ link characteristics
14675 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14676 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14680 # FIXME: insert proper C++ library support
14684 if test "$host_cpu" = ia64; then
14685 # On IA64, the linker does run time linking by default, so we don't
14686 # have to do anything special.
14687 aix_use_runtimelinking=no
14688 exp_sym_flag='-Bexport'
14691 aix_use_runtimelinking=no
14693 # Test if we are trying to use run time linking or normal
14694 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14695 # need to do runtime linking.
14696 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14697 for ld_flag in $LDFLAGS; do
14700 aix_use_runtimelinking=yes
14708 exp_sym_flag='-bexport'
14709 no_entry_flag='-bnoentry'
14712 # When large executables or shared objects are built, AIX ld can
14713 # have problems creating the table of contents. If linking a library
14714 # or program results in "error TOC overflow" add -mminimal-toc to
14715 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14716 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14718 archive_cmds_CXX=''
14719 hardcode_direct_CXX=yes
14720 hardcode_direct_absolute_CXX=yes
14721 hardcode_libdir_separator_CXX=':'
14722 link_all_deplibs_CXX=yes
14723 file_list_spec_CXX='${wl}-f,'
14725 if test "$GXX" = yes; then
14726 case $host_os in aix4.[012]|aix4.[012].*)
14727 # We only want to do this on AIX 4.2 and lower, the check
14728 # below for broken collect2 doesn't work under 4.3+
14729 collect2name=`${CC} -print-prog-name=collect2`
14730 if test -f "$collect2name" &&
14731 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14733 # We have reworked collect2
14736 # We have old collect2
14737 hardcode_direct_CXX=unsupported
14738 # It fails to find uninstalled libraries when the uninstalled
14739 # path is not listed in the libpath. Setting hardcode_minus_L
14740 # to unsupported forces relinking
14741 hardcode_minus_L_CXX=yes
14742 hardcode_libdir_flag_spec_CXX='-L$libdir'
14743 hardcode_libdir_separator_CXX=
14746 shared_flag='-shared'
14747 if test "$aix_use_runtimelinking" = yes; then
14748 shared_flag="$shared_flag "'${wl}-G'
14752 if test "$host_cpu" = ia64; then
14753 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14754 # chokes on -Wl,-G. The following line is correct:
14757 if test "$aix_use_runtimelinking" = yes; then
14758 shared_flag='${wl}-G'
14760 shared_flag='${wl}-bM:SRE'
14765 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14766 # It seems that -bexpall does not export symbols beginning with
14767 # underscore (_), so it is better to generate a list of symbols to
14769 always_export_symbols_CXX=yes
14770 if test "$aix_use_runtimelinking" = yes; then
14771 # Warning - without using the other runtime loading flags (-brtl),
14772 # -berok will link without error, but may produce a broken library.
14773 allow_undefined_flag_CXX='-berok'
14774 # Determine the default libpath from the value encoded in an empty
14776 cat >conftest.$ac_ext <<_ACEOF
14779 cat confdefs.h >>conftest.$ac_ext
14780 cat >>conftest.$ac_ext <<_ACEOF
14781 /* end confdefs.h. */
14791 rm -f conftest.$ac_objext conftest$ac_exeext
14792 if { (ac_try="$ac_link"
14793 case "(($ac_try" in
14794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14795 *) ac_try_echo=$ac_try;;
14797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14798 $as_echo "$ac_try_echo") >&5
14799 (eval "$ac_link") 2>conftest.er1
14801 grep -v '^ *+' conftest.er1 >conftest.err
14803 cat conftest.err >&5
14804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); } && {
14806 test -z "$ac_cxx_werror_flag" ||
14807 test ! -s conftest.err
14808 } && test -s conftest$ac_exeext && {
14809 test "$cross_compiling" = yes ||
14810 $as_test_x conftest$ac_exeext
14813 lt_aix_libpath_sed='
14814 /Import File Strings/,/^$/ {
14820 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14821 # Check for a 64-bit object if we didn't find anything.
14822 if test -z "$aix_libpath"; then
14823 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14826 $as_echo "$as_me: failed program was:" >&5
14827 sed 's/^/| /' conftest.$ac_ext >&5
14832 rm -rf conftest.dSYM
14833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14834 conftest$ac_exeext conftest.$ac_ext
14835 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14837 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14839 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"
14841 if test "$host_cpu" = ia64; then
14842 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14843 allow_undefined_flag_CXX="-z nodefs"
14844 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"
14846 # Determine the default libpath from the value encoded in an
14847 # empty executable.
14848 cat >conftest.$ac_ext <<_ACEOF
14851 cat confdefs.h >>conftest.$ac_ext
14852 cat >>conftest.$ac_ext <<_ACEOF
14853 /* end confdefs.h. */
14863 rm -f conftest.$ac_objext conftest$ac_exeext
14864 if { (ac_try="$ac_link"
14865 case "(($ac_try" in
14866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14867 *) ac_try_echo=$ac_try;;
14869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14870 $as_echo "$ac_try_echo") >&5
14871 (eval "$ac_link") 2>conftest.er1
14873 grep -v '^ *+' conftest.er1 >conftest.err
14875 cat conftest.err >&5
14876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); } && {
14878 test -z "$ac_cxx_werror_flag" ||
14879 test ! -s conftest.err
14880 } && test -s conftest$ac_exeext && {
14881 test "$cross_compiling" = yes ||
14882 $as_test_x conftest$ac_exeext
14885 lt_aix_libpath_sed='
14886 /Import File Strings/,/^$/ {
14892 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14893 # Check for a 64-bit object if we didn't find anything.
14894 if test -z "$aix_libpath"; then
14895 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14898 $as_echo "$as_me: failed program was:" >&5
14899 sed 's/^/| /' conftest.$ac_ext >&5
14904 rm -rf conftest.dSYM
14905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14906 conftest$ac_exeext conftest.$ac_ext
14907 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14909 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14910 # Warning - without using the other run time loading flags,
14911 # -berok will link without error, but may produce a broken library.
14912 no_undefined_flag_CXX=' ${wl}-bernotok'
14913 allow_undefined_flag_CXX=' ${wl}-berok'
14914 # Exported symbols can be pulled into shared objects from archives
14915 whole_archive_flag_spec_CXX='$convenience'
14916 archive_cmds_need_lc_CXX=yes
14917 # This is similar to how AIX traditionally builds its shared
14919 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'
14925 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14926 allow_undefined_flag_CXX=unsupported
14927 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14928 # support --undefined. This deserves some investigation. FIXME
14929 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14936 case $cc_basename in
14938 # FIXME: insert proper C++ library support
14944 cygwin* | mingw* | pw32* | cegcc*)
14945 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14946 # as there is no search path for DLLs.
14947 hardcode_libdir_flag_spec_CXX='-L$libdir'
14948 allow_undefined_flag_CXX=unsupported
14949 always_export_symbols_CXX=no
14950 enable_shared_with_static_runtimes_CXX=yes
14952 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14953 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'
14954 # If the export-symbols file already is a .def file (1st line
14955 # is EXPORTS), use it as is; otherwise, prepend...
14956 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14957 cp $export_symbols $output_objdir/$soname.def;
14959 echo EXPORTS > $output_objdir/$soname.def;
14960 cat $export_symbols >> $output_objdir/$soname.def;
14962 $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'
14967 darwin* | rhapsody*)
14970 archive_cmds_need_lc_CXX=no
14971 hardcode_direct_CXX=no
14972 hardcode_automatic_CXX=yes
14973 hardcode_shlibpath_var_CXX=unsupported
14974 whole_archive_flag_spec_CXX=''
14975 link_all_deplibs_CXX=yes
14976 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14977 case $cc_basename in
14978 ifort*) _lt_dar_can_shared=yes ;;
14979 *) _lt_dar_can_shared=$GCC ;;
14981 if test "$_lt_dar_can_shared" = "yes"; then
14982 output_verbose_link_cmd=echo
14983 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}"
14984 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14985 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}"
14986 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}"
14987 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14988 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}"
14989 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}"
14999 case $cc_basename in
15001 # FIXME: insert proper C++ library support
15005 # Green Hills C++ Compiler
15006 # FIXME: insert proper C++ library support
15010 # FIXME: insert proper C++ library support
15017 # C++ shared libraries reported to be fairly broken before
15023 archive_cmds_need_lc_CXX=no
15026 freebsd* | dragonfly*)
15027 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15036 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15037 hardcode_libdir_separator_CXX=:
15038 export_dynamic_flag_spec_CXX='${wl}-E'
15039 hardcode_direct_CXX=yes
15040 hardcode_minus_L_CXX=yes # Not in the search PATH,
15041 # but as the default
15042 # location of the library.
15044 case $cc_basename in
15046 # FIXME: insert proper C++ library support
15050 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'
15051 # Commands to make compiler produce verbose output that lists
15052 # what "hidden" libraries, object files and flags are used when
15053 # linking a shared library.
15055 # There doesn't appear to be a way to prevent this compiler from
15056 # explicitly linking system object files so we need to strip them
15057 # from the output so that they don't get included in the library
15059 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'
15062 if test "$GXX" = yes; then
15063 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'
15065 # FIXME: insert proper C++ library support
15073 if test $with_gnu_ld = no; then
15074 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15075 hardcode_libdir_separator_CXX=:
15081 export_dynamic_flag_spec_CXX='${wl}-E'
15087 hardcode_direct_CXX=no
15088 hardcode_shlibpath_var_CXX=no
15091 hardcode_direct_CXX=yes
15092 hardcode_direct_absolute_CXX=yes
15093 hardcode_minus_L_CXX=yes # Not in the search PATH,
15094 # but as the default
15095 # location of the library.
15099 case $cc_basename in
15101 # FIXME: insert proper C++ library support
15107 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15110 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15113 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15116 # Commands to make compiler produce verbose output that lists
15117 # what "hidden" libraries, object files and flags are used when
15118 # linking a shared library.
15120 # There doesn't appear to be a way to prevent this compiler from
15121 # explicitly linking system object files so we need to strip them
15122 # from the output so that they don't get included in the library
15124 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'
15127 if test "$GXX" = yes; then
15128 if test $with_gnu_ld = no; then
15131 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15134 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15137 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'
15142 # FIXME: insert proper C++ library support
15150 hardcode_direct_CXX=no
15151 hardcode_shlibpath_var_CXX=no
15152 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15153 export_dynamic_flag_spec_CXX='${wl}-E'
15154 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15155 # Instead, shared libraries are loaded at an image base (0x10000000 by
15156 # default) and relocated if they conflict, which is a slow very memory
15157 # consuming and fragmenting process. To avoid this, we pick a random,
15158 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15159 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15160 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'
15161 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'
15164 case $cc_basename in
15167 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'
15169 # Archives containing C++ object files must be created using
15170 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15171 # necessary to make sure instantiated templates are included
15173 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15176 if test "$GXX" = yes; then
15177 if test "$with_gnu_ld" = no; then
15178 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'
15180 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'
15183 link_all_deplibs_CXX=yes
15186 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15187 hardcode_libdir_separator_CXX=:
15188 inherit_rpath_CXX=yes
15191 linux* | k*bsd*-gnu)
15192 case $cc_basename in
15194 # Kuck and Associates, Inc. (KAI) C++ Compiler
15196 # KCC will only create a shared library if the output file
15197 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15198 # to its proper name (with version) after linking.
15199 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'
15200 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'
15201 # Commands to make compiler produce verbose output that lists
15202 # what "hidden" libraries, object files and flags are used when
15203 # linking a shared library.
15205 # There doesn't appear to be a way to prevent this compiler from
15206 # explicitly linking system object files so we need to strip them
15207 # from the output so that they don't get included in the library
15209 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'
15211 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15212 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15214 # Archives containing C++ object files must be created using
15215 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15216 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15221 # version 8.0 and above of icpc choke on multiply defined symbols
15222 # if we add $predep_objects and $postdep_objects, however 7.1 and
15223 # earlier do not add the objects themselves.
15224 case `$CC -V 2>&1` in
15226 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15227 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'
15229 *) # Version 8.0 or newer
15232 ia64*) tmp_idyn=' -i_dynamic';;
15234 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15235 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'
15238 archive_cmds_need_lc_CXX=no
15239 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15240 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15241 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15244 # Portland Group C++ compiler
15246 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
15247 prelink_cmds_CXX='tpldir=Template.dir~
15249 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15250 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
15251 old_archive_cmds_CXX='tpldir=Template.dir~
15253 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15254 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
15256 archive_cmds_CXX='tpldir=Template.dir~
15258 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15259 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15260 archive_expsym_cmds_CXX='tpldir=Template.dir~
15262 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15263 $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'
15265 *) # Version 6 will use weak symbols
15266 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15267 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'
15271 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15272 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15273 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'
15277 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15278 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'
15280 runpath_var=LD_RUN_PATH
15281 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15282 hardcode_libdir_separator_CXX=:
15284 # Commands to make compiler produce verbose output that lists
15285 # what "hidden" libraries, object files and flags are used when
15286 # linking a shared library.
15288 # There doesn't appear to be a way to prevent this compiler from
15289 # explicitly linking system object files so we need to strip them
15290 # from the output so that they don't get included in the library
15292 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'
15295 # IBM XL 8.0 on PPC, with GNU ld
15296 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15297 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15298 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15299 if test "x$supports_anon_versioning" = xyes; then
15300 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15301 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15302 echo "local: *; };" >> $output_objdir/$libname.ver~
15303 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15307 case `$CC -V 2>&1 | sed 5q` in
15310 no_undefined_flag_CXX=' -zdefs'
15311 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15312 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'
15313 hardcode_libdir_flag_spec_CXX='-R$libdir'
15314 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'
15315 compiler_needs_object_CXX=yes
15317 # Not sure whether something based on
15318 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15320 output_verbose_link_cmd='echo'
15322 # Archives containing C++ object files must be created using
15323 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15324 # necessary to make sure instantiated templates are included
15326 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15334 # FIXME: insert proper C++ library support
15339 # FIXME: insert proper C++ library support
15344 case $cc_basename in
15346 # FIXME: insert proper C++ library support
15350 # FIXME: insert proper C++ library support
15357 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15358 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15360 hardcode_libdir_flag_spec_CXX='-R$libdir'
15361 hardcode_direct_CXX=yes
15362 hardcode_shlibpath_var_CXX=no
15364 # Workaround some broken pre-1.5 toolchains
15365 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15373 # C++ shared libraries are fairly broken
15378 if test -f /usr/libexec/ld.so; then
15379 hardcode_direct_CXX=yes
15380 hardcode_shlibpath_var_CXX=no
15381 hardcode_direct_absolute_CXX=yes
15382 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15383 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15384 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15385 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15386 export_dynamic_flag_spec_CXX='${wl}-E'
15387 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15389 output_verbose_link_cmd=echo
15395 osf3* | osf4* | osf5*)
15396 case $cc_basename in
15398 # Kuck and Associates, Inc. (KAI) C++ Compiler
15400 # KCC will only create a shared library if the output file
15401 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15402 # to its proper name (with version) after linking.
15403 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'
15405 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15406 hardcode_libdir_separator_CXX=:
15408 # Archives containing C++ object files must be created using
15409 # the KAI C++ compiler.
15411 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15412 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15416 # Rational C++ 2.4.1
15417 # FIXME: insert proper C++ library support
15423 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15424 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'
15425 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15428 allow_undefined_flag_CXX=' -expect_unresolved \*'
15429 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'
15430 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15431 echo "-hidden">> $lib.exp~
15432 $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~
15434 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15438 hardcode_libdir_separator_CXX=:
15440 # Commands to make compiler produce verbose output that lists
15441 # what "hidden" libraries, object files and flags are used when
15442 # linking a shared library.
15444 # There doesn't appear to be a way to prevent this compiler from
15445 # explicitly linking system object files so we need to strip them
15446 # from the output so that they don't get included in the library
15448 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'
15451 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15452 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15455 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'
15458 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'
15462 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15463 hardcode_libdir_separator_CXX=:
15465 # Commands to make compiler produce verbose output that lists
15466 # what "hidden" libraries, object files and flags are used when
15467 # linking a shared library.
15468 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15471 # FIXME: insert proper C++ library support
15479 # FIXME: insert proper C++ library support
15484 case $cc_basename in
15487 # FIXME: insert proper C++ library support
15492 # FIXME: insert proper C++ library support
15496 # FIXME: insert proper C++ library support
15503 case $cc_basename in
15505 # Sun C++ 4.2, 5.x and Centerline C++
15506 archive_cmds_need_lc_CXX=yes
15507 no_undefined_flag_CXX=' -zdefs'
15508 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15509 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15510 $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'
15512 hardcode_libdir_flag_spec_CXX='-R$libdir'
15513 hardcode_shlibpath_var_CXX=no
15515 solaris2.[0-5] | solaris2.[0-5].*) ;;
15517 # The compiler driver will combine and reorder linker options,
15518 # but understands `-z linker_flag'.
15519 # Supported since Solaris 2.6 (maybe 2.5.1?)
15520 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15523 link_all_deplibs_CXX=yes
15525 output_verbose_link_cmd='echo'
15527 # Archives containing C++ object files must be created using
15528 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15529 # necessary to make sure instantiated templates are included
15531 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15534 # Green Hills C++ Compiler
15535 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15537 # The C++ compiler must be used to create the archive.
15538 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15541 # GNU C++ compiler with Solaris linker
15542 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15543 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15544 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15545 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15546 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15547 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15549 # Commands to make compiler produce verbose output that lists
15550 # what "hidden" libraries, object files and flags are used when
15551 # linking a shared library.
15552 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15554 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15556 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15557 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15558 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15560 # Commands to make compiler produce verbose output that lists
15561 # what "hidden" libraries, object files and flags are used when
15562 # linking a shared library.
15563 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15566 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15568 solaris2.[0-5] | solaris2.[0-5].*) ;;
15570 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15578 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15579 no_undefined_flag_CXX='${wl}-z,text'
15580 archive_cmds_need_lc_CXX=no
15581 hardcode_shlibpath_var_CXX=no
15582 runpath_var='LD_RUN_PATH'
15584 case $cc_basename in
15586 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15587 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15590 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15591 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15596 sysv5* | sco3.2v5* | sco5v6*)
15597 # Note: We can NOT use -z defs as we might desire, because we do not
15598 # link with -lc, and that would cause any symbols used from libc to
15599 # always be unresolved, which means just about no library would
15600 # ever link correctly. If we're not using GNU ld we use -z text
15601 # though, which does catch some bad symbols but isn't as heavy-handed
15603 no_undefined_flag_CXX='${wl}-z,text'
15604 allow_undefined_flag_CXX='${wl}-z,nodefs'
15605 archive_cmds_need_lc_CXX=no
15606 hardcode_shlibpath_var_CXX=no
15607 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15608 hardcode_libdir_separator_CXX=':'
15609 link_all_deplibs_CXX=yes
15610 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15611 runpath_var='LD_RUN_PATH'
15613 case $cc_basename in
15615 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15616 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15619 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15620 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15626 case $cc_basename in
15628 # NonStop-UX NCC 3.20
15629 # FIXME: insert proper C++ library support
15633 # FIXME: insert proper C++ library support
15640 # FIXME: insert proper C++ library support
15645 # FIXME: insert proper C++ library support
15650 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15651 $as_echo "$ld_shlibs_CXX" >&6; }
15652 test "$ld_shlibs_CXX" = no && can_build_shared=no
15658 ## There is no encapsulation within the following macros, do not change
15659 ## the running order or otherwise move them around unless you know exactly
15660 ## what you are doing...
15661 # Dependencies to place before and after the object being linked:
15662 predep_objects_CXX=
15663 postdep_objects_CXX=
15666 compiler_lib_search_path_CXX=
15668 cat > conftest.$ac_ext <<_LT_EOF
15672 Foo (void) { a = 0; }
15678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15679 (eval $ac_compile) 2>&5
15681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); }; then
15683 # Parse the compiler output and extract the necessary
15684 # objects, libraries and library flags.
15686 # Sentinel used to keep track of whether or not we are before
15687 # the conftest object file.
15688 pre_test_object_deps_done=no
15690 for p in `eval "$output_verbose_link_cmd"`; do
15694 # Some compilers place space between "-{L,R}" and the path.
15695 # Remove the space.
15696 if test $p = "-L" ||
15697 test $p = "-R"; then
15704 if test "$pre_test_object_deps_done" = no; then
15707 # Internal compiler library paths should come after those
15708 # provided the user. The postdeps already come after the
15709 # user supplied libs so there is no need to process them.
15710 if test -z "$compiler_lib_search_path_CXX"; then
15711 compiler_lib_search_path_CXX="${prev}${p}"
15713 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15716 # The "-l" case would never come before the object being
15717 # linked, so don't bother handling this case.
15720 if test -z "$postdeps_CXX"; then
15721 postdeps_CXX="${prev}${p}"
15723 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15729 # This assumes that the test object file only shows up
15730 # once in the compiler output.
15731 if test "$p" = "conftest.$objext"; then
15732 pre_test_object_deps_done=yes
15736 if test "$pre_test_object_deps_done" = no; then
15737 if test -z "$predep_objects_CXX"; then
15738 predep_objects_CXX="$p"
15740 predep_objects_CXX="$predep_objects_CXX $p"
15743 if test -z "$postdep_objects_CXX"; then
15744 postdep_objects_CXX="$p"
15746 postdep_objects_CXX="$postdep_objects_CXX $p"
15751 *) ;; # Ignore the rest.
15759 echo "libtool.m4: error: problem compiling CXX test program"
15762 $RM -f confest.$objext
15764 # PORTME: override above test on systems where it is broken
15767 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15768 # hack all around it, let's just trust "g++" to DTRT.
15769 predep_objects_CXX=
15770 postdep_objects_CXX=
15775 case `$CC -V 2>&1 | sed 5q` in
15779 # The more standards-conforming stlport4 library is
15780 # incompatible with the Cstd library. Avoid specifying
15781 # it if it's in CXXFLAGS. Ignore libCrun as
15782 # -library=stlport4 depends on it.
15783 case " $CXX $CXXFLAGS " in
15784 *" -library=stlport4 "*)
15785 solaris_use_stlport4=yes
15789 if test "$solaris_use_stlport4" != yes; then
15790 postdeps_CXX='-library=Cstd -library=Crun'
15797 case $cc_basename in
15799 # The more standards-conforming stlport4 library is
15800 # incompatible with the Cstd library. Avoid specifying
15801 # it if it's in CXXFLAGS. Ignore libCrun as
15802 # -library=stlport4 depends on it.
15803 case " $CXX $CXXFLAGS " in
15804 *" -library=stlport4 "*)
15805 solaris_use_stlport4=yes
15809 # Adding this requires a known-good setup of shared libraries for
15810 # Sun compiler versions before 5.6, else PIC objects from an old
15811 # archive will be linked into the output, leading to subtle bugs.
15812 if test "$solaris_use_stlport4" != yes; then
15813 postdeps_CXX='-library=Cstd -library=Crun'
15821 case " $postdeps_CXX " in
15822 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15824 compiler_lib_search_dirs_CXX=
15825 if test -n "${compiler_lib_search_path_CXX}"; then
15826 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15859 lt_prog_compiler_wl_CXX=
15860 lt_prog_compiler_pic_CXX=
15861 lt_prog_compiler_static_CXX=
15863 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15864 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15866 # C++ specific cases for pic, static, wl, etc.
15867 if test "$GXX" = yes; then
15868 lt_prog_compiler_wl_CXX='-Wl,'
15869 lt_prog_compiler_static_CXX='-static'
15873 # All AIX code is PIC.
15874 if test "$host_cpu" = ia64; then
15875 # AIX 5 now supports IA64 processor
15876 lt_prog_compiler_static_CXX='-Bstatic'
15883 # see comment about AmigaOS4 .so support
15884 lt_prog_compiler_pic_CXX='-fPIC'
15887 # FIXME: we need at least 68020 code to build shared libraries, but
15888 # adding the `-m68020' flag to GCC prevents building anything better,
15890 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15895 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15896 # PIC is the default for these OSes.
15898 mingw* | cygwin* | os2* | pw32* | cegcc*)
15899 # This hack is so that the source file can tell whether it is being
15900 # built for inclusion in a dll (and should export symbols for example).
15901 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15902 # (--disable-auto-import) libraries
15903 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15905 darwin* | rhapsody*)
15906 # PIC is the default on this platform
15907 # Common symbols not allowed in MH_DYLIB files
15908 lt_prog_compiler_pic_CXX='-fno-common'
15911 # DJGPP does not support shared libraries at all
15912 lt_prog_compiler_pic_CXX=
15915 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15916 # Instead, we relocate shared libraries at runtime.
15919 if test -d /usr/nec; then
15920 lt_prog_compiler_pic_CXX=-Kconform_pic
15924 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15925 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15926 # sets the default TLS model and affects inlining.
15931 lt_prog_compiler_pic_CXX='-fPIC'
15936 # QNX uses GNU C++, but need to define -shared option too, otherwise
15937 # it will coredump.
15938 lt_prog_compiler_pic_CXX='-fPIC -shared'
15941 lt_prog_compiler_pic_CXX='-fPIC'
15947 # All AIX code is PIC.
15948 if test "$host_cpu" = ia64; then
15949 # AIX 5 now supports IA64 processor
15950 lt_prog_compiler_static_CXX='-Bstatic'
15952 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15956 case $cc_basename in
15958 # Green Hills C++ Compiler
15959 # _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"
15964 case $cc_basename in
15966 lt_prog_compiler_pic_CXX='-KPIC'
15969 # Green Hills C++ Compiler
15970 lt_prog_compiler_pic_CXX='-pic'
15976 freebsd* | dragonfly*)
15977 # FreeBSD uses GNU C++
15979 hpux9* | hpux10* | hpux11*)
15980 case $cc_basename in
15982 lt_prog_compiler_wl_CXX='-Wl,'
15983 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15984 if test "$host_cpu" != ia64; then
15985 lt_prog_compiler_pic_CXX='+Z'
15989 lt_prog_compiler_wl_CXX='-Wl,'
15990 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15996 lt_prog_compiler_pic_CXX='+Z'
16005 # This is c89, which is MS Visual C++ (no shared libs)
16006 # Anyone wants to do a port?
16008 irix5* | irix6* | nonstopux*)
16009 case $cc_basename in
16011 lt_prog_compiler_wl_CXX='-Wl,'
16012 lt_prog_compiler_static_CXX='-non_shared'
16013 # CC pic flag -KPIC is the default.
16019 linux* | k*bsd*-gnu)
16020 case $cc_basename in
16023 lt_prog_compiler_wl_CXX='--backend -Wl,'
16024 lt_prog_compiler_pic_CXX='-fPIC'
16027 # old Intel C++ for x86_64 which still supported -KPIC.
16028 lt_prog_compiler_wl_CXX='-Wl,'
16029 lt_prog_compiler_pic_CXX='-KPIC'
16030 lt_prog_compiler_static_CXX='-static'
16033 # Intel C++, used to be incompatible with GCC.
16034 # ICC 10 doesn't accept -KPIC any more.
16035 lt_prog_compiler_wl_CXX='-Wl,'
16036 lt_prog_compiler_pic_CXX='-fPIC'
16037 lt_prog_compiler_static_CXX='-static'
16040 # Portland Group C++ compiler
16041 lt_prog_compiler_wl_CXX='-Wl,'
16042 lt_prog_compiler_pic_CXX='-fpic'
16043 lt_prog_compiler_static_CXX='-Bstatic'
16047 # Make sure the PIC flag is empty. It appears that all Alpha
16048 # Linux and Compaq Tru64 Unix objects are PIC.
16049 lt_prog_compiler_pic_CXX=
16050 lt_prog_compiler_static_CXX='-non_shared'
16053 # IBM XL 8.0 on PPC
16054 lt_prog_compiler_wl_CXX='-Wl,'
16055 lt_prog_compiler_pic_CXX='-qpic'
16056 lt_prog_compiler_static_CXX='-qstaticlink'
16059 case `$CC -V 2>&1 | sed 5q` in
16062 lt_prog_compiler_pic_CXX='-KPIC'
16063 lt_prog_compiler_static_CXX='-Bstatic'
16064 lt_prog_compiler_wl_CXX='-Qoption ld '
16075 case $cc_basename in
16077 lt_prog_compiler_pic_CXX='-W c,exportall'
16083 netbsd* | netbsdelf*-gnu)
16086 # QNX uses GNU C++, but need to define -shared option too, otherwise
16087 # it will coredump.
16088 lt_prog_compiler_pic_CXX='-fPIC -shared'
16090 osf3* | osf4* | osf5*)
16091 case $cc_basename in
16093 lt_prog_compiler_wl_CXX='--backend -Wl,'
16096 # Rational C++ 2.4.1
16097 lt_prog_compiler_pic_CXX='-pic'
16100 # Digital/Compaq C++
16101 lt_prog_compiler_wl_CXX='-Wl,'
16102 # Make sure the PIC flag is empty. It appears that all Alpha
16103 # Linux and Compaq Tru64 Unix objects are PIC.
16104 lt_prog_compiler_pic_CXX=
16105 lt_prog_compiler_static_CXX='-non_shared'
16114 case $cc_basename in
16116 # Sun C++ 4.2, 5.x and Centerline C++
16117 lt_prog_compiler_pic_CXX='-KPIC'
16118 lt_prog_compiler_static_CXX='-Bstatic'
16119 lt_prog_compiler_wl_CXX='-Qoption ld '
16122 # Green Hills C++ Compiler
16123 lt_prog_compiler_pic_CXX='-PIC'
16130 case $cc_basename in
16133 lt_prog_compiler_pic_CXX='-pic'
16134 lt_prog_compiler_static_CXX='-Bstatic'
16138 lt_prog_compiler_pic_CXX='-pic'
16144 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16145 case $cc_basename in
16147 lt_prog_compiler_wl_CXX='-Wl,'
16148 lt_prog_compiler_pic_CXX='-KPIC'
16149 lt_prog_compiler_static_CXX='-Bstatic'
16154 case $cc_basename in
16156 # NonStop-UX NCC 3.20
16157 lt_prog_compiler_pic_CXX='-KPIC'
16166 lt_prog_compiler_can_build_shared_CXX=no
16172 # For platforms which do not support PIC, -DPIC is meaningless:
16174 lt_prog_compiler_pic_CXX=
16177 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16180 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
16181 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
16186 # Check to make sure the PIC flag actually works.
16188 if test -n "$lt_prog_compiler_pic_CXX"; then
16189 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16190 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16191 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
16192 $as_echo_n "(cached) " >&6
16194 lt_cv_prog_compiler_pic_works_CXX=no
16195 ac_outfile=conftest.$ac_objext
16196 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16197 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16198 # Insert the option either (1) after the last *FLAGS variable, or
16199 # (2) before a word containing "conftest.", or (3) at the end.
16200 # Note that $ac_compile itself does not contain backslashes and begins
16201 # with a dollar sign (not a hyphen), so the echo should work correctly.
16202 # The option is referenced via a variable to avoid confusing sed.
16203 lt_compile=`echo "$ac_compile" | $SED \
16204 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16205 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16206 -e 's:$: $lt_compiler_flag:'`
16207 (eval echo "\"\$as_me:16207: $lt_compile\"" >&5)
16208 (eval "$lt_compile" 2>conftest.err)
16210 cat conftest.err >&5
16211 echo "$as_me:16211: \$? = $ac_status" >&5
16212 if (exit $ac_status) && test -s "$ac_outfile"; then
16213 # The compiler can only warn and ignore the option if not recognized
16214 # So say no if there are warnings other than the usual output.
16215 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16216 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16217 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16218 lt_cv_prog_compiler_pic_works_CXX=yes
16224 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16225 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16227 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16228 case $lt_prog_compiler_pic_CXX in
16230 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16233 lt_prog_compiler_pic_CXX=
16234 lt_prog_compiler_can_build_shared_CXX=no
16242 # Check to make sure the static flag actually works.
16244 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16245 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16246 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16247 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
16248 $as_echo_n "(cached) " >&6
16250 lt_cv_prog_compiler_static_works_CXX=no
16251 save_LDFLAGS="$LDFLAGS"
16252 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16253 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16254 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16255 # The linker can only warn and ignore the option if not recognized
16256 # So say no if there are warnings
16257 if test -s conftest.err; then
16258 # Append any errors to the config.log.
16259 cat conftest.err 1>&5
16260 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16261 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16262 if diff conftest.exp conftest.er2 >/dev/null; then
16263 lt_cv_prog_compiler_static_works_CXX=yes
16266 lt_cv_prog_compiler_static_works_CXX=yes
16270 LDFLAGS="$save_LDFLAGS"
16273 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16274 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16276 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16279 lt_prog_compiler_static_CXX=
16285 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16286 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16287 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
16288 $as_echo_n "(cached) " >&6
16290 lt_cv_prog_compiler_c_o_CXX=no
16291 $RM -r conftest 2>/dev/null
16295 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16297 lt_compiler_flag="-o out/conftest2.$ac_objext"
16298 # Insert the option either (1) after the last *FLAGS variable, or
16299 # (2) before a word containing "conftest.", or (3) at the end.
16300 # Note that $ac_compile itself does not contain backslashes and begins
16301 # with a dollar sign (not a hyphen), so the echo should work correctly.
16302 lt_compile=`echo "$ac_compile" | $SED \
16303 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16304 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16305 -e 's:$: $lt_compiler_flag:'`
16306 (eval echo "\"\$as_me:16306: $lt_compile\"" >&5)
16307 (eval "$lt_compile" 2>out/conftest.err)
16309 cat out/conftest.err >&5
16310 echo "$as_me:16310: \$? = $ac_status" >&5
16311 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16313 # The compiler can only warn and ignore the option if not recognized
16314 # So say no if there are warnings
16315 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16316 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16317 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16318 lt_cv_prog_compiler_c_o_CXX=yes
16323 # SGI C++ compiler will create directory out/ii_files/ for
16324 # template instantiation
16325 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16326 $RM out/* && rmdir out
16332 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16333 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16337 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16338 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16339 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
16340 $as_echo_n "(cached) " >&6
16342 lt_cv_prog_compiler_c_o_CXX=no
16343 $RM -r conftest 2>/dev/null
16347 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16349 lt_compiler_flag="-o out/conftest2.$ac_objext"
16350 # Insert the option either (1) after the last *FLAGS variable, or
16351 # (2) before a word containing "conftest.", or (3) at the end.
16352 # Note that $ac_compile itself does not contain backslashes and begins
16353 # with a dollar sign (not a hyphen), so the echo should work correctly.
16354 lt_compile=`echo "$ac_compile" | $SED \
16355 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16356 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16357 -e 's:$: $lt_compiler_flag:'`
16358 (eval echo "\"\$as_me:16358: $lt_compile\"" >&5)
16359 (eval "$lt_compile" 2>out/conftest.err)
16361 cat out/conftest.err >&5
16362 echo "$as_me:16362: \$? = $ac_status" >&5
16363 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16365 # The compiler can only warn and ignore the option if not recognized
16366 # So say no if there are warnings
16367 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16368 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16369 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16370 lt_cv_prog_compiler_c_o_CXX=yes
16375 # SGI C++ compiler will create directory out/ii_files/ for
16376 # template instantiation
16377 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16378 $RM out/* && rmdir out
16384 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16385 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16390 hard_links="nottested"
16391 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16392 # do not overwrite the value of need_locks provided by the user
16393 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16394 $as_echo_n "checking if we can lock with hard links... " >&6; }
16397 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16399 ln conftest.a conftest.b 2>&5 || hard_links=no
16400 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16401 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
16402 $as_echo "$hard_links" >&6; }
16403 if test "$hard_links" = no; then
16404 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16405 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16414 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16415 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16417 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16420 # If we're using GNU nm, then we don't want the "-C" option.
16421 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16422 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16423 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'
16425 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'
16429 export_symbols_cmds_CXX="$ltdll_cmds"
16431 cygwin* | mingw* | cegcc*)
16432 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'
16434 linux* | k*bsd*-gnu)
16435 link_all_deplibs_CXX=no
16438 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16441 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16443 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
16444 $as_echo "$ld_shlibs_CXX" >&6; }
16445 test "$ld_shlibs_CXX" = no && can_build_shared=no
16447 with_gnu_ld_CXX=$with_gnu_ld
16455 # Do we need to explicitly link libc?
16457 case "x$archive_cmds_need_lc_CXX" in
16459 # Assume -lc should be added
16460 archive_cmds_need_lc_CXX=yes
16462 if test "$enable_shared" = yes && test "$GCC" = yes; then
16463 case $archive_cmds_CXX in
16465 # FIXME: we may have to deal with multi-command sequences.
16468 # Test whether the compiler implicitly links with -lc since on some
16469 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16470 # to ld, don't add -lc before -lgcc.
16471 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16472 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16474 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16477 (eval $ac_compile) 2>&5
16479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); } 2>conftest.err; then
16483 libobjs=conftest.$ac_objext
16485 wl=$lt_prog_compiler_wl_CXX
16486 pic_flag=$lt_prog_compiler_pic_CXX
16492 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16493 allow_undefined_flag_CXX=
16494 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
16495 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); }
16500 archive_cmds_need_lc_CXX=no
16502 archive_cmds_need_lc_CXX=yes
16504 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16506 cat conftest.err 1>&5
16509 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
16510 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
16580 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16581 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16583 library_names_spec=
16584 libname_spec='lib$name'
16588 postuninstall_cmds=
16592 shlibpath_overrides_runpath=unknown
16594 dynamic_linker="$host_os ld.so"
16595 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16596 need_lib_prefix=unknown
16597 hardcode_into_libs=no
16599 # when you set need_version to no, make sure it does not cause -set_version
16600 # flags to be left without arguments
16601 need_version=unknown
16606 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16607 shlibpath_var=LIBPATH
16609 # AIX 3 has no versioning support, so we append a major version to the name.
16610 soname_spec='${libname}${release}${shared_ext}$major'
16617 hardcode_into_libs=yes
16618 if test "$host_cpu" = ia64; then
16619 # AIX 5 supports IA64
16620 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16621 shlibpath_var=LD_LIBRARY_PATH
16623 # With GCC up to 2.95.x, collect2 would create an import file
16624 # for dependence libraries. The import file would start with
16625 # the line `#! .'. This would cause the generated library to
16626 # depend on `.', always an invalid library. This was fixed in
16627 # development snapshots of GCC prior to 3.0.
16629 aix4 | aix4.[01] | aix4.[01].*)
16630 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16632 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16635 can_build_shared=no
16639 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16640 # soname into executable. Probably we can add versioning support to
16641 # collect2, so additional links can be useful in future.
16642 if test "$aix_use_runtimelinking" = yes; then
16643 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16644 # instead of lib<name>.a to let people know that these are not
16645 # typical AIX shared libraries.
16646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16648 # We preserve .a as extension for shared libraries through AIX4.2
16649 # and later when we are not doing run time linking.
16650 library_names_spec='${libname}${release}.a $libname.a'
16651 soname_spec='${libname}${release}${shared_ext}$major'
16653 shlibpath_var=LIBPATH
16660 # Since July 2007 AmigaOS4 officially supports .so libraries.
16661 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16665 library_names_spec='$libname.ixlibrary $libname.a'
16666 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16667 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'
16673 library_names_spec='${libname}${shared_ext}'
16674 dynamic_linker="$host_os ld.so"
16675 shlibpath_var=LIBRARY_PATH
16681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16682 soname_spec='${libname}${release}${shared_ext}$major'
16683 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16684 shlibpath_var=LD_LIBRARY_PATH
16685 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16686 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16687 # the default ld.so.conf also contains /usr/contrib/lib and
16688 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16689 # libtool to hard-code these into programs
16692 cygwin* | mingw* | pw32* | cegcc*)
16693 version_type=windows
16698 case $GCC,$host_os in
16699 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
16700 library_names_spec='$libname.dll.a'
16701 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16702 postinstall_cmds='base_file=`basename \${file}`~
16703 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16704 dldir=$destdir/`dirname \$dlpath`~
16705 test -d \$dldir || mkdir -p \$dldir~
16706 $install_prog $dir/$dlname \$dldir/$dlname~
16707 chmod a+x \$dldir/$dlname~
16708 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16709 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16711 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16712 dlpath=$dir/\$dldll~
16714 shlibpath_overrides_runpath=yes
16718 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16719 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16720 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16723 # MinGW DLLs use traditional 'lib' prefix
16724 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16725 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16726 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16727 # It is most probably a Windows format PATH printed by
16728 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16729 # path with ; separators, and with drive letters. We can handle the
16730 # drive letters (cygwin fileutils understands them), so leave them,
16731 # especially as we might pass files found there to a mingw objdump,
16732 # which wouldn't understand a cygwinified path. Ahh.
16733 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16735 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16739 # pw32 DLLs use 'pw' prefix rather than 'lib'
16740 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16746 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16749 dynamic_linker='Win32 ld.exe'
16750 # FIXME: first we should search . and the directory the executable is in
16754 darwin* | rhapsody*)
16755 dynamic_linker="$host_os dyld"
16756 version_type=darwin
16759 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16760 soname_spec='${libname}${release}${major}$shared_ext'
16761 shlibpath_overrides_runpath=yes
16762 shlibpath_var=DYLD_LIBRARY_PATH
16763 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16765 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16773 soname_spec='${libname}${release}${shared_ext}$major'
16774 shlibpath_var=LD_LIBRARY_PATH
16781 freebsd* | dragonfly*)
16782 # DragonFly does not have aout. When/if they implement a new
16783 # versioning mechanism, adjust this.
16784 if test -x /usr/bin/objformat; then
16785 objformat=`/usr/bin/objformat`
16788 freebsd[123]*) objformat=aout ;;
16789 *) objformat=elf ;;
16792 version_type=freebsd-$objformat
16793 case $version_type in
16795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16800 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16804 shlibpath_var=LD_LIBRARY_PATH
16807 shlibpath_overrides_runpath=yes
16809 freebsd3.[01]* | freebsdelf3.[01]*)
16810 shlibpath_overrides_runpath=yes
16811 hardcode_into_libs=yes
16813 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16814 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16815 shlibpath_overrides_runpath=no
16816 hardcode_into_libs=yes
16818 *) # from 4.6 on, and DragonFly
16819 shlibpath_overrides_runpath=yes
16820 hardcode_into_libs=yes
16829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16830 soname_spec='${libname}${release}${shared_ext}$major'
16831 shlibpath_var=LD_LIBRARY_PATH
16832 hardcode_into_libs=yes
16835 hpux9* | hpux10* | hpux11*)
16836 # Give a soname corresponding to the major version so that dld.sl refuses to
16837 # link against other versions.
16844 hardcode_into_libs=yes
16845 dynamic_linker="$host_os dld.so"
16846 shlibpath_var=LD_LIBRARY_PATH
16847 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16849 soname_spec='${libname}${release}${shared_ext}$major'
16850 if test "X$HPUX_IA64_MODE" = X32; then
16851 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16853 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16855 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16859 hardcode_into_libs=yes
16860 dynamic_linker="$host_os dld.sl"
16861 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16862 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16864 soname_spec='${libname}${release}${shared_ext}$major'
16865 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16866 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16870 dynamic_linker="$host_os dld.sl"
16871 shlibpath_var=SHLIB_PATH
16872 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16874 soname_spec='${libname}${release}${shared_ext}$major'
16877 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16878 postinstall_cmds='chmod 555 $lib'
16885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16886 soname_spec='${libname}${release}${shared_ext}$major'
16887 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16888 shlibpath_var=LD_LIBRARY_PATH
16889 shlibpath_overrides_runpath=no
16890 hardcode_into_libs=yes
16893 irix5* | irix6* | nonstopux*)
16895 nonstopux*) version_type=nonstopux ;;
16897 if test "$lt_cv_prog_gnu_ld" = yes; then
16905 soname_spec='${libname}${release}${shared_ext}$major'
16906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16908 irix5* | nonstopux*)
16909 libsuff= shlibsuff=
16912 case $LD in # libtool.m4 will add one of these switches to LD
16913 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16914 libsuff= shlibsuff= libmagic=32-bit;;
16915 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16916 libsuff=32 shlibsuff=N32 libmagic=N32;;
16917 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16918 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16919 *) libsuff= shlibsuff= libmagic=never-match;;
16923 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16924 shlibpath_overrides_runpath=no
16925 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16926 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16927 hardcode_into_libs=yes
16930 # No shared lib support for Linux oldld, aout, or coff.
16931 linux*oldld* | linux*aout* | linux*coff*)
16935 # This must be Linux ELF.
16936 linux* | k*bsd*-gnu)
16940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16941 soname_spec='${libname}${release}${shared_ext}$major'
16942 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16943 shlibpath_var=LD_LIBRARY_PATH
16944 shlibpath_overrides_runpath=no
16945 # Some binutils ld are patched to set DT_RUNPATH
16946 save_LDFLAGS=$LDFLAGS
16947 save_libdir=$libdir
16948 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16949 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16950 cat >conftest.$ac_ext <<_ACEOF
16953 cat confdefs.h >>conftest.$ac_ext
16954 cat >>conftest.$ac_ext <<_ACEOF
16955 /* end confdefs.h. */
16965 rm -f conftest.$ac_objext conftest$ac_exeext
16966 if { (ac_try="$ac_link"
16967 case "(($ac_try" in
16968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16969 *) ac_try_echo=$ac_try;;
16971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16972 $as_echo "$ac_try_echo") >&5
16973 (eval "$ac_link") 2>conftest.er1
16975 grep -v '^ *+' conftest.er1 >conftest.err
16977 cat conftest.err >&5
16978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } && {
16980 test -z "$ac_cxx_werror_flag" ||
16981 test ! -s conftest.err
16982 } && test -s conftest$ac_exeext && {
16983 test "$cross_compiling" = yes ||
16984 $as_test_x conftest$ac_exeext
16986 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
16987 shlibpath_overrides_runpath=yes
16991 $as_echo "$as_me: failed program was:" >&5
16992 sed 's/^/| /' conftest.$ac_ext >&5
16997 rm -rf conftest.dSYM
16998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16999 conftest$ac_exeext conftest.$ac_ext
17000 LDFLAGS=$save_LDFLAGS
17001 libdir=$save_libdir
17003 # This implies no fast_install, which is unacceptable.
17004 # Some rework will be needed to allow for fast_install
17005 # before this can be enabled.
17006 hardcode_into_libs=yes
17008 # Append ld.so.conf contents to the search path
17009 if test -f /etc/ld.so.conf; then
17010 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' ' '`
17011 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17014 # We used to test for /lib/ld.so.1 and disable shared libraries on
17015 # powerpc, because MkLinux only supported shared libraries with the
17016 # GNU dynamic linker. Since this was broken with cross compilers,
17017 # most powerpc-linux boxes support dynamic linking these days and
17018 # people can always --disable-shared, the test was removed, and we
17019 # assume the GNU/Linux dynamic linker is in use.
17020 dynamic_linker='GNU/Linux ld.so'
17027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17028 soname_spec='${libname}${release}${shared_ext}$major'
17029 shlibpath_var=LD_LIBRARY_PATH
17030 shlibpath_overrides_runpath=no
17031 hardcode_into_libs=yes
17032 dynamic_linker='NetBSD ld.elf_so'
17039 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17041 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17042 dynamic_linker='NetBSD (a.out) ld.so'
17044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17045 soname_spec='${libname}${release}${shared_ext}$major'
17046 dynamic_linker='NetBSD ld.elf_so'
17048 shlibpath_var=LD_LIBRARY_PATH
17049 shlibpath_overrides_runpath=yes
17050 hardcode_into_libs=yes
17055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17056 shlibpath_var=LD_LIBRARY_PATH
17057 shlibpath_overrides_runpath=yes
17064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17065 soname_spec='${libname}${release}${shared_ext}$major'
17066 shlibpath_var=LD_LIBRARY_PATH
17067 shlibpath_overrides_runpath=no
17068 hardcode_into_libs=yes
17069 dynamic_linker='ldqnx.so'
17074 sys_lib_dlsearch_path_spec="/usr/lib"
17076 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17078 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17079 *) need_version=no ;;
17081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17082 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17083 shlibpath_var=LD_LIBRARY_PATH
17084 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17086 openbsd2.[89] | openbsd2.[89].*)
17087 shlibpath_overrides_runpath=no
17090 shlibpath_overrides_runpath=yes
17094 shlibpath_overrides_runpath=yes
17099 libname_spec='$name'
17102 library_names_spec='$libname${shared_ext} $libname.a'
17103 dynamic_linker='OS/2 ld.exe'
17104 shlibpath_var=LIBPATH
17107 osf3* | osf4* | osf5*)
17111 soname_spec='${libname}${release}${shared_ext}$major'
17112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17113 shlibpath_var=LD_LIBRARY_PATH
17114 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17115 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17127 soname_spec='${libname}${release}${shared_ext}$major'
17128 shlibpath_var=LD_LIBRARY_PATH
17129 shlibpath_overrides_runpath=yes
17130 hardcode_into_libs=yes
17131 # ldd complains unless libraries are executable
17132 postinstall_cmds='chmod +x $lib'
17137 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17138 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17139 shlibpath_var=LD_LIBRARY_PATH
17140 shlibpath_overrides_runpath=yes
17141 if test "$with_gnu_ld" = yes; then
17149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17150 soname_spec='${libname}${release}${shared_ext}$major'
17151 shlibpath_var=LD_LIBRARY_PATH
17152 case $host_vendor in
17154 shlibpath_overrides_runpath=no
17156 runpath_var=LD_RUN_PATH
17164 shlibpath_overrides_runpath=no
17165 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17171 if test -d /usr/nec ;then
17173 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17174 soname_spec='$libname${shared_ext}.$major'
17175 shlibpath_var=LD_LIBRARY_PATH
17179 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17180 version_type=freebsd-elf
17183 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17184 soname_spec='${libname}${release}${shared_ext}$major'
17185 shlibpath_var=LD_LIBRARY_PATH
17186 shlibpath_overrides_runpath=yes
17187 hardcode_into_libs=yes
17188 if test "$with_gnu_ld" = yes; then
17189 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17191 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17194 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17198 sys_lib_dlsearch_path_spec='/usr/lib'
17202 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17206 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17207 shlibpath_var=LD_LIBRARY_PATH
17208 shlibpath_overrides_runpath=no
17209 hardcode_into_libs=yes
17214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17215 soname_spec='${libname}${release}${shared_ext}$major'
17216 shlibpath_var=LD_LIBRARY_PATH
17223 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17224 $as_echo "$dynamic_linker" >&6; }
17225 test "$dynamic_linker" = no && can_build_shared=no
17227 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17228 if test "$GCC" = yes; then
17229 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17232 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17233 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17235 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17236 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17274 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17275 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17276 hardcode_action_CXX=
17277 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17278 test -n "$runpath_var_CXX" ||
17279 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17281 # We can hardcode non-existent directories.
17282 if test "$hardcode_direct_CXX" != no &&
17283 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17284 # have to relink, otherwise we might link with an installed library
17285 # when we should be linking with a yet-to-be-installed one
17286 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17287 test "$hardcode_minus_L_CXX" != no; then
17288 # Linking always hardcodes the temporary library directory.
17289 hardcode_action_CXX=relink
17291 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17292 hardcode_action_CXX=immediate
17295 # We cannot hardcode anything, or else we can only hardcode existing
17297 hardcode_action_CXX=unsupported
17299 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
17300 $as_echo "$hardcode_action_CXX" >&6; }
17302 if test "$hardcode_action_CXX" = relink ||
17303 test "$inherit_rpath_CXX" = yes; then
17304 # Fast installation is not supported
17305 enable_fast_install=no
17306 elif test "$shlibpath_overrides_runpath" = yes ||
17307 test "$enable_shared" = no; then
17308 # Fast installation is not necessary
17309 enable_fast_install=needless
17318 fi # test -n "$compiler"
17324 with_gnu_ld=$lt_save_with_gnu_ld
17325 lt_cv_path_LDCXX=$lt_cv_path_LD
17326 lt_cv_path_LD=$lt_save_path_LD
17327 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17328 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17329 fi # test "$_lt_caught_CXX_error" != yes
17332 ac_cpp='$CPP $CPPFLAGS'
17333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17349 ac_config_commands="$ac_config_commands libtool"
17354 # Only expand once:
17360 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
17361 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17362 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
17363 if test -n "$ac_tool_prefix"; then
17364 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
17366 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17367 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17368 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17369 $as_echo_n "checking for $ac_word... " >&6; }
17370 if test "${ac_cv_prog_F77+set}" = set; then
17371 $as_echo_n "(cached) " >&6
17373 if test -n "$F77"; then
17374 ac_cv_prog_F77="$F77" # Let the user override the test.
17376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17377 for as_dir in $PATH
17380 test -z "$as_dir" && as_dir=.
17381 for ac_exec_ext in '' $ac_executable_extensions; do
17382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17383 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
17384 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17393 F77=$ac_cv_prog_F77
17394 if test -n "$F77"; then
17395 { $as_echo "$as_me:$LINENO: result: $F77" >&5
17396 $as_echo "$F77" >&6; }
17398 { $as_echo "$as_me:$LINENO: result: no" >&5
17399 $as_echo "no" >&6; }
17403 test -n "$F77" && break
17406 if test -z "$F77"; then
17408 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
17410 # Extract the first word of "$ac_prog", so it can be a program name with args.
17411 set dummy $ac_prog; ac_word=$2
17412 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17413 $as_echo_n "checking for $ac_word... " >&6; }
17414 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
17415 $as_echo_n "(cached) " >&6
17417 if test -n "$ac_ct_F77"; then
17418 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
17420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17421 for as_dir in $PATH
17424 test -z "$as_dir" && as_dir=.
17425 for ac_exec_ext in '' $ac_executable_extensions; do
17426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17427 ac_cv_prog_ac_ct_F77="$ac_prog"
17428 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17437 ac_ct_F77=$ac_cv_prog_ac_ct_F77
17438 if test -n "$ac_ct_F77"; then
17439 { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
17440 $as_echo "$ac_ct_F77" >&6; }
17442 { $as_echo "$as_me:$LINENO: result: no" >&5
17443 $as_echo "no" >&6; }
17447 test -n "$ac_ct_F77" && break
17450 if test "x$ac_ct_F77" = x; then
17453 case $cross_compiling:$ac_tool_warned in
17455 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
17456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17457 ac_tool_warned=yes ;;
17464 # Provide some information about the compiler.
17465 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
17468 { (ac_try="$ac_compiler --version >&5"
17469 case "(($ac_try" in
17470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17471 *) ac_try_echo=$ac_try;;
17473 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17474 $as_echo "$ac_try_echo") >&5
17475 (eval "$ac_compiler --version >&5") 2>&5
17477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); }
17479 { (ac_try="$ac_compiler -v >&5"
17480 case "(($ac_try" in
17481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17482 *) ac_try_echo=$ac_try;;
17484 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17485 $as_echo "$ac_try_echo") >&5
17486 (eval "$ac_compiler -v >&5") 2>&5
17488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); }
17490 { (ac_try="$ac_compiler -V >&5"
17491 case "(($ac_try" in
17492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17493 *) ac_try_echo=$ac_try;;
17495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17496 $as_echo "$ac_try_echo") >&5
17497 (eval "$ac_compiler -V >&5") 2>&5
17499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); }
17503 # If we don't use `.F' as extension, the preprocessor is not run on the
17504 # input file. (Note that this only needs to work for GNU compilers.)
17505 ac_save_ext=$ac_ext
17507 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
17508 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
17509 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
17510 $as_echo_n "(cached) " >&6
17512 cat >conftest.$ac_ext <<_ACEOF
17520 rm -f conftest.$ac_objext
17521 if { (ac_try="$ac_compile"
17522 case "(($ac_try" in
17523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17524 *) ac_try_echo=$ac_try;;
17526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17527 $as_echo "$ac_try_echo") >&5
17528 (eval "$ac_compile") 2>conftest.er1
17530 grep -v '^ *+' conftest.er1 >conftest.err
17532 cat conftest.err >&5
17533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); } && {
17535 test -z "$ac_f77_werror_flag" ||
17536 test ! -s conftest.err
17537 } && test -s conftest.$ac_objext; then
17538 ac_compiler_gnu=yes
17540 $as_echo "$as_me: failed program was:" >&5
17541 sed 's/^/| /' conftest.$ac_ext >&5
17546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17547 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
17550 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
17551 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
17552 ac_ext=$ac_save_ext
17553 ac_test_FFLAGS=${FFLAGS+set}
17554 ac_save_FFLAGS=$FFLAGS
17556 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
17557 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
17558 if test "${ac_cv_prog_f77_g+set}" = set; then
17559 $as_echo_n "(cached) " >&6
17562 cat >conftest.$ac_ext <<_ACEOF
17567 rm -f conftest.$ac_objext
17568 if { (ac_try="$ac_compile"
17569 case "(($ac_try" in
17570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17571 *) ac_try_echo=$ac_try;;
17573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17574 $as_echo "$ac_try_echo") >&5
17575 (eval "$ac_compile") 2>conftest.er1
17577 grep -v '^ *+' conftest.er1 >conftest.err
17579 cat conftest.err >&5
17580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } && {
17582 test -z "$ac_f77_werror_flag" ||
17583 test ! -s conftest.err
17584 } && test -s conftest.$ac_objext; then
17585 ac_cv_prog_f77_g=yes
17587 $as_echo "$as_me: failed program was:" >&5
17588 sed 's/^/| /' conftest.$ac_ext >&5
17590 ac_cv_prog_f77_g=no
17593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17596 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
17597 $as_echo "$ac_cv_prog_f77_g" >&6; }
17598 if test "$ac_test_FFLAGS" = set; then
17599 FFLAGS=$ac_save_FFLAGS
17600 elif test $ac_cv_prog_f77_g = yes; then
17601 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
17607 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
17614 if test $ac_compiler_gnu = yes; then
17620 ac_cpp='$CPP $CPPFLAGS'
17621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17625 if test -z "$F77" || test "X$F77" = "Xno"; then
17626 _lt_disable_F77=yes
17632 # Check whether --enable-fortran was given.
17633 if test "${enable_fortran+set}" = set; then
17634 enableval=$enable_fortran;
17639 if test "x$enable_fortran" = xyes; then
17640 ENABLE_FORTRAN_TRUE=
17641 ENABLE_FORTRAN_FALSE='#'
17643 ENABLE_FORTRAN_TRUE='#'
17644 ENABLE_FORTRAN_FALSE=
17648 if test "x$enable_fortran" = xyes
17651 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
17652 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17653 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
17654 if test -n "$ac_tool_prefix"; then
17655 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
17657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17658 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17659 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17660 $as_echo_n "checking for $ac_word... " >&6; }
17661 if test "${ac_cv_prog_F77+set}" = set; then
17662 $as_echo_n "(cached) " >&6
17664 if test -n "$F77"; then
17665 ac_cv_prog_F77="$F77" # Let the user override the test.
17667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17668 for as_dir in $PATH
17671 test -z "$as_dir" && as_dir=.
17672 for ac_exec_ext in '' $ac_executable_extensions; do
17673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17674 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
17675 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17684 F77=$ac_cv_prog_F77
17685 if test -n "$F77"; then
17686 { $as_echo "$as_me:$LINENO: result: $F77" >&5
17687 $as_echo "$F77" >&6; }
17689 { $as_echo "$as_me:$LINENO: result: no" >&5
17690 $as_echo "no" >&6; }
17694 test -n "$F77" && break
17697 if test -z "$F77"; then
17699 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
17701 # Extract the first word of "$ac_prog", so it can be a program name with args.
17702 set dummy $ac_prog; ac_word=$2
17703 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17704 $as_echo_n "checking for $ac_word... " >&6; }
17705 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
17706 $as_echo_n "(cached) " >&6
17708 if test -n "$ac_ct_F77"; then
17709 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
17711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17712 for as_dir in $PATH
17715 test -z "$as_dir" && as_dir=.
17716 for ac_exec_ext in '' $ac_executable_extensions; do
17717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17718 ac_cv_prog_ac_ct_F77="$ac_prog"
17719 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17728 ac_ct_F77=$ac_cv_prog_ac_ct_F77
17729 if test -n "$ac_ct_F77"; then
17730 { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
17731 $as_echo "$ac_ct_F77" >&6; }
17733 { $as_echo "$as_me:$LINENO: result: no" >&5
17734 $as_echo "no" >&6; }
17738 test -n "$ac_ct_F77" && break
17741 if test "x$ac_ct_F77" = x; then
17744 case $cross_compiling:$ac_tool_warned in
17746 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
17747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17748 ac_tool_warned=yes ;;
17755 # Provide some information about the compiler.
17756 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
17759 { (ac_try="$ac_compiler --version >&5"
17760 case "(($ac_try" in
17761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17762 *) ac_try_echo=$ac_try;;
17764 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17765 $as_echo "$ac_try_echo") >&5
17766 (eval "$ac_compiler --version >&5") 2>&5
17768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }
17770 { (ac_try="$ac_compiler -v >&5"
17771 case "(($ac_try" in
17772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17773 *) ac_try_echo=$ac_try;;
17775 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17776 $as_echo "$ac_try_echo") >&5
17777 (eval "$ac_compiler -v >&5") 2>&5
17779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); }
17781 { (ac_try="$ac_compiler -V >&5"
17782 case "(($ac_try" in
17783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17784 *) ac_try_echo=$ac_try;;
17786 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17787 $as_echo "$ac_try_echo") >&5
17788 (eval "$ac_compiler -V >&5") 2>&5
17790 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); }
17794 # If we don't use `.F' as extension, the preprocessor is not run on the
17795 # input file. (Note that this only needs to work for GNU compilers.)
17796 ac_save_ext=$ac_ext
17798 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
17799 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
17800 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
17801 $as_echo_n "(cached) " >&6
17803 cat >conftest.$ac_ext <<_ACEOF
17811 rm -f conftest.$ac_objext
17812 if { (ac_try="$ac_compile"
17813 case "(($ac_try" in
17814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17815 *) ac_try_echo=$ac_try;;
17817 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17818 $as_echo "$ac_try_echo") >&5
17819 (eval "$ac_compile") 2>conftest.er1
17821 grep -v '^ *+' conftest.er1 >conftest.err
17823 cat conftest.err >&5
17824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); } && {
17826 test -z "$ac_f77_werror_flag" ||
17827 test ! -s conftest.err
17828 } && test -s conftest.$ac_objext; then
17829 ac_compiler_gnu=yes
17831 $as_echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.$ac_ext >&5
17837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17838 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
17841 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
17842 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
17843 ac_ext=$ac_save_ext
17844 ac_test_FFLAGS=${FFLAGS+set}
17845 ac_save_FFLAGS=$FFLAGS
17847 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
17848 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
17849 if test "${ac_cv_prog_f77_g+set}" = set; then
17850 $as_echo_n "(cached) " >&6
17853 cat >conftest.$ac_ext <<_ACEOF
17858 rm -f conftest.$ac_objext
17859 if { (ac_try="$ac_compile"
17860 case "(($ac_try" in
17861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17862 *) ac_try_echo=$ac_try;;
17864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17865 $as_echo "$ac_try_echo") >&5
17866 (eval "$ac_compile") 2>conftest.er1
17868 grep -v '^ *+' conftest.er1 >conftest.err
17870 cat conftest.err >&5
17871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); } && {
17873 test -z "$ac_f77_werror_flag" ||
17874 test ! -s conftest.err
17875 } && test -s conftest.$ac_objext; then
17876 ac_cv_prog_f77_g=yes
17878 $as_echo "$as_me: failed program was:" >&5
17879 sed 's/^/| /' conftest.$ac_ext >&5
17881 ac_cv_prog_f77_g=no
17884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17887 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
17888 $as_echo "$ac_cv_prog_f77_g" >&6; }
17889 if test "$ac_test_FFLAGS" = set; then
17890 FFLAGS=$ac_save_FFLAGS
17891 elif test $ac_cv_prog_f77_g = yes; then
17892 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
17898 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
17905 if test $ac_compiler_gnu = yes; then
17911 ac_cpp='$CPP $CPPFLAGS'
17912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17916 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
17917 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17918 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
17921 archive_cmds_need_lc_F77=no
17922 allow_undefined_flag_F77=
17923 always_export_symbols_F77=no
17924 archive_expsym_cmds_F77=
17925 export_dynamic_flag_spec_F77=
17926 hardcode_direct_F77=no
17927 hardcode_direct_absolute_F77=no
17928 hardcode_libdir_flag_spec_F77=
17929 hardcode_libdir_flag_spec_ld_F77=
17930 hardcode_libdir_separator_F77=
17931 hardcode_minus_L_F77=no
17932 hardcode_automatic_F77=no
17933 inherit_rpath_F77=no
17935 module_expsym_cmds_F77=
17936 link_all_deplibs_F77=unknown
17937 old_archive_cmds_F77=$old_archive_cmds
17938 no_undefined_flag_F77=
17939 whole_archive_flag_spec_F77=
17940 enable_shared_with_static_runtimes_F77=no
17942 # Source file extension for f77 test sources.
17945 # Object file extension for compiled f77 test sources.
17949 # No sense in running all these tests if we already determined that
17950 # the F77 compiler isn't working. Some variables (like enable_shared)
17951 # are currently assumed to apply to all compilers on this platform,
17952 # and will be corrupted by setting them based on a non-working compiler.
17953 if test "$_lt_disable_F77" != yes; then
17954 # Code to be used in simple compile tests
17955 lt_simple_compile_test_code="\
17961 # Code to be used in simple link tests
17962 lt_simple_link_test_code="\
17967 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17974 # If no C compiler was specified, use CC.
17977 # If no C compiler flags were specified, use CFLAGS.
17978 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17980 # Allow CC to be a program name with arguments.
17984 # save warnings/boilerplate of simple test code
17985 ac_outfile=conftest.$ac_objext
17986 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17987 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17988 _lt_compiler_boilerplate=`cat conftest.err`
17991 ac_outfile=conftest.$ac_objext
17992 echo "$lt_simple_link_test_code" >conftest.$ac_ext
17993 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17994 _lt_linker_boilerplate=`cat conftest.err`
17998 # Allow CC to be a program name with arguments.
18004 for cc_temp in $compiler""; do
18006 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18007 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18012 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18015 if test -n "$compiler"; then
18016 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
18017 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
18018 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
18019 $as_echo "$can_build_shared" >&6; }
18021 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
18022 $as_echo_n "checking whether to build shared libraries... " >&6; }
18023 test "$can_build_shared" = "no" && enable_shared=no
18025 # On AIX, shared libraries and static libraries use the same namespace, and
18026 # are all built from PIC.
18029 test "$enable_shared" = yes && enable_static=no
18030 if test -n "$RANLIB"; then
18031 archive_cmds="$archive_cmds~\$RANLIB \$lib"
18032 postinstall_cmds='$RANLIB $lib'
18036 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
18037 test "$enable_shared" = yes && enable_static=no
18041 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
18042 $as_echo "$enable_shared" >&6; }
18044 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
18045 $as_echo_n "checking whether to build static libraries... " >&6; }
18046 # Make sure either enable_shared or enable_static is yes.
18047 test "$enable_shared" = yes || enable_static=yes
18048 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
18049 $as_echo "$enable_static" >&6; }
18055 ## There is no encapsulation within the following macros, do not change
18056 ## the running order or otherwise move them around unless you know exactly
18057 ## what you are doing...
18058 lt_prog_compiler_wl_F77=
18059 lt_prog_compiler_pic_F77=
18060 lt_prog_compiler_static_F77=
18062 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18063 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18065 if test "$GCC" = yes; then
18066 lt_prog_compiler_wl_F77='-Wl,'
18067 lt_prog_compiler_static_F77='-static'
18071 # All AIX code is PIC.
18072 if test "$host_cpu" = ia64; then
18073 # AIX 5 now supports IA64 processor
18074 lt_prog_compiler_static_F77='-Bstatic'
18081 # see comment about AmigaOS4 .so support
18082 lt_prog_compiler_pic_F77='-fPIC'
18085 # FIXME: we need at least 68020 code to build shared libraries, but
18086 # adding the `-m68020' flag to GCC prevents building anything better,
18088 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
18093 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18094 # PIC is the default for these OSes.
18097 mingw* | cygwin* | pw32* | os2* | cegcc*)
18098 # This hack is so that the source file can tell whether it is being
18099 # built for inclusion in a dll (and should export symbols for example).
18100 # Although the cygwin gcc ignores -fPIC, still need this for old-style
18101 # (--disable-auto-import) libraries
18102 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
18105 darwin* | rhapsody*)
18106 # PIC is the default on this platform
18107 # Common symbols not allowed in MH_DYLIB files
18108 lt_prog_compiler_pic_F77='-fno-common'
18112 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
18113 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
18114 # sets the default TLS model and affects inlining.
18120 lt_prog_compiler_pic_F77='-fPIC'
18126 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18127 # Instead, we relocate shared libraries at runtime.
18131 # Just because we use GCC doesn't mean we suddenly get shared libraries
18132 # on systems that don't support them.
18133 lt_prog_compiler_can_build_shared_F77=no
18138 # QNX uses GNU C++, but need to define -shared option too, otherwise
18139 # it will coredump.
18140 lt_prog_compiler_pic_F77='-fPIC -shared'
18144 if test -d /usr/nec; then
18145 lt_prog_compiler_pic_F77=-Kconform_pic
18150 lt_prog_compiler_pic_F77='-fPIC'
18154 # PORTME Check for flag to pass linker flags through the system compiler.
18157 lt_prog_compiler_wl_F77='-Wl,'
18158 if test "$host_cpu" = ia64; then
18159 # AIX 5 now supports IA64 processor
18160 lt_prog_compiler_static_F77='-Bstatic'
18162 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
18166 mingw* | cygwin* | pw32* | os2* | cegcc*)
18167 # This hack is so that the source file can tell whether it is being
18168 # built for inclusion in a dll (and should export symbols for example).
18169 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
18172 hpux9* | hpux10* | hpux11*)
18173 lt_prog_compiler_wl_F77='-Wl,'
18174 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18175 # not for PA HP-UX.
18181 lt_prog_compiler_pic_F77='+Z'
18184 # Is there a better lt_prog_compiler_static that works with the bundled CC?
18185 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
18188 irix5* | irix6* | nonstopux*)
18189 lt_prog_compiler_wl_F77='-Wl,'
18190 # PIC (with -KPIC) is the default.
18191 lt_prog_compiler_static_F77='-non_shared'
18194 linux* | k*bsd*-gnu)
18195 case $cc_basename in
18196 # old Intel for x86_64 which still supported -KPIC.
18198 lt_prog_compiler_wl_F77='-Wl,'
18199 lt_prog_compiler_pic_F77='-KPIC'
18200 lt_prog_compiler_static_F77='-static'
18202 # icc used to be incompatible with GCC.
18203 # ICC 10 doesn't accept -KPIC any more.
18205 lt_prog_compiler_wl_F77='-Wl,'
18206 lt_prog_compiler_pic_F77='-fPIC'
18207 lt_prog_compiler_static_F77='-static'
18209 # Lahey Fortran 8.1.
18211 lt_prog_compiler_wl_F77='-Wl,'
18212 lt_prog_compiler_pic_F77='--shared'
18213 lt_prog_compiler_static_F77='--static'
18215 pgcc* | pgf77* | pgf90* | pgf95*)
18216 # Portland Group compilers (*not* the Pentium gcc compiler,
18217 # which looks to be a dead project)
18218 lt_prog_compiler_wl_F77='-Wl,'
18219 lt_prog_compiler_pic_F77='-fpic'
18220 lt_prog_compiler_static_F77='-Bstatic'
18223 lt_prog_compiler_wl_F77='-Wl,'
18224 # All Alpha code is PIC.
18225 lt_prog_compiler_static_F77='-non_shared'
18228 # IBM XL C 8.0/Fortran 10.1 on PPC
18229 lt_prog_compiler_wl_F77='-Wl,'
18230 lt_prog_compiler_pic_F77='-qpic'
18231 lt_prog_compiler_static_F77='-qstaticlink'
18234 case `$CC -V 2>&1 | sed 5q` in
18237 lt_prog_compiler_pic_F77='-KPIC'
18238 lt_prog_compiler_static_F77='-Bstatic'
18239 lt_prog_compiler_wl_F77='-Wl,'
18242 # Sun Fortran 8.3 passes all unrecognized flags to the linker
18243 lt_prog_compiler_pic_F77='-KPIC'
18244 lt_prog_compiler_static_F77='-Bstatic'
18245 lt_prog_compiler_wl_F77=''
18253 lt_prog_compiler_pic_F77='-KPIC'
18254 lt_prog_compiler_static_F77='-Bstatic'
18258 # QNX uses GNU C++, but need to define -shared option too, otherwise
18259 # it will coredump.
18260 lt_prog_compiler_pic_F77='-fPIC -shared'
18263 osf3* | osf4* | osf5*)
18264 lt_prog_compiler_wl_F77='-Wl,'
18265 # All OSF/1 code is PIC.
18266 lt_prog_compiler_static_F77='-non_shared'
18270 lt_prog_compiler_static_F77='-non_shared'
18274 lt_prog_compiler_pic_F77='-KPIC'
18275 lt_prog_compiler_static_F77='-Bstatic'
18276 case $cc_basename in
18277 f77* | f90* | f95*)
18278 lt_prog_compiler_wl_F77='-Qoption ld ';;
18280 lt_prog_compiler_wl_F77='-Wl,';;
18285 lt_prog_compiler_wl_F77='-Qoption ld '
18286 lt_prog_compiler_pic_F77='-PIC'
18287 lt_prog_compiler_static_F77='-Bstatic'
18290 sysv4 | sysv4.2uw2* | sysv4.3*)
18291 lt_prog_compiler_wl_F77='-Wl,'
18292 lt_prog_compiler_pic_F77='-KPIC'
18293 lt_prog_compiler_static_F77='-Bstatic'
18297 if test -d /usr/nec ;then
18298 lt_prog_compiler_pic_F77='-Kconform_pic'
18299 lt_prog_compiler_static_F77='-Bstatic'
18303 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18304 lt_prog_compiler_wl_F77='-Wl,'
18305 lt_prog_compiler_pic_F77='-KPIC'
18306 lt_prog_compiler_static_F77='-Bstatic'
18310 lt_prog_compiler_wl_F77='-Wl,'
18311 lt_prog_compiler_can_build_shared_F77=no
18315 lt_prog_compiler_pic_F77='-pic'
18316 lt_prog_compiler_static_F77='-Bstatic'
18320 lt_prog_compiler_can_build_shared_F77=no
18326 # For platforms which do not support PIC, -DPIC is meaningless:
18328 lt_prog_compiler_pic_F77=
18331 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
18334 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
18335 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
18340 # Check to make sure the PIC flag actually works.
18342 if test -n "$lt_prog_compiler_pic_F77"; then
18343 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
18344 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
18345 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
18346 $as_echo_n "(cached) " >&6
18348 lt_cv_prog_compiler_pic_works_F77=no
18349 ac_outfile=conftest.$ac_objext
18350 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18351 lt_compiler_flag="$lt_prog_compiler_pic_F77"
18352 # Insert the option either (1) after the last *FLAGS variable, or
18353 # (2) before a word containing "conftest.", or (3) at the end.
18354 # Note that $ac_compile itself does not contain backslashes and begins
18355 # with a dollar sign (not a hyphen), so the echo should work correctly.
18356 # The option is referenced via a variable to avoid confusing sed.
18357 lt_compile=`echo "$ac_compile" | $SED \
18358 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18359 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18360 -e 's:$: $lt_compiler_flag:'`
18361 (eval echo "\"\$as_me:18361: $lt_compile\"" >&5)
18362 (eval "$lt_compile" 2>conftest.err)
18364 cat conftest.err >&5
18365 echo "$as_me:18365: \$? = $ac_status" >&5
18366 if (exit $ac_status) && test -s "$ac_outfile"; then
18367 # The compiler can only warn and ignore the option if not recognized
18368 # So say no if there are warnings other than the usual output.
18369 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18370 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18371 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18372 lt_cv_prog_compiler_pic_works_F77=yes
18378 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
18379 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
18381 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
18382 case $lt_prog_compiler_pic_F77 in
18384 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
18387 lt_prog_compiler_pic_F77=
18388 lt_prog_compiler_can_build_shared_F77=no
18396 # Check to make sure the static flag actually works.
18398 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
18399 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18400 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18401 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
18402 $as_echo_n "(cached) " >&6
18404 lt_cv_prog_compiler_static_works_F77=no
18405 save_LDFLAGS="$LDFLAGS"
18406 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18407 echo "$lt_simple_link_test_code" > conftest.$ac_ext
18408 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18409 # The linker can only warn and ignore the option if not recognized
18410 # So say no if there are warnings
18411 if test -s conftest.err; then
18412 # Append any errors to the config.log.
18413 cat conftest.err 1>&5
18414 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18415 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18416 if diff conftest.exp conftest.er2 >/dev/null; then
18417 lt_cv_prog_compiler_static_works_F77=yes
18420 lt_cv_prog_compiler_static_works_F77=yes
18424 LDFLAGS="$save_LDFLAGS"
18427 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
18428 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
18430 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
18433 lt_prog_compiler_static_F77=
18439 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18440 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18441 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
18442 $as_echo_n "(cached) " >&6
18444 lt_cv_prog_compiler_c_o_F77=no
18445 $RM -r conftest 2>/dev/null
18449 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18451 lt_compiler_flag="-o out/conftest2.$ac_objext"
18452 # Insert the option either (1) after the last *FLAGS variable, or
18453 # (2) before a word containing "conftest.", or (3) at the end.
18454 # Note that $ac_compile itself does not contain backslashes and begins
18455 # with a dollar sign (not a hyphen), so the echo should work correctly.
18456 lt_compile=`echo "$ac_compile" | $SED \
18457 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18458 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18459 -e 's:$: $lt_compiler_flag:'`
18460 (eval echo "\"\$as_me:18460: $lt_compile\"" >&5)
18461 (eval "$lt_compile" 2>out/conftest.err)
18463 cat out/conftest.err >&5
18464 echo "$as_me:18464: \$? = $ac_status" >&5
18465 if (exit $ac_status) && test -s out/conftest2.$ac_objext
18467 # The compiler can only warn and ignore the option if not recognized
18468 # So say no if there are warnings
18469 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18470 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18471 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18472 lt_cv_prog_compiler_c_o_F77=yes
18477 # SGI C++ compiler will create directory out/ii_files/ for
18478 # template instantiation
18479 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
18480 $RM out/* && rmdir out
18486 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
18487 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
18491 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18492 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18493 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
18494 $as_echo_n "(cached) " >&6
18496 lt_cv_prog_compiler_c_o_F77=no
18497 $RM -r conftest 2>/dev/null
18501 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18503 lt_compiler_flag="-o out/conftest2.$ac_objext"
18504 # Insert the option either (1) after the last *FLAGS variable, or
18505 # (2) before a word containing "conftest.", or (3) at the end.
18506 # Note that $ac_compile itself does not contain backslashes and begins
18507 # with a dollar sign (not a hyphen), so the echo should work correctly.
18508 lt_compile=`echo "$ac_compile" | $SED \
18509 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18510 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18511 -e 's:$: $lt_compiler_flag:'`
18512 (eval echo "\"\$as_me:18512: $lt_compile\"" >&5)
18513 (eval "$lt_compile" 2>out/conftest.err)
18515 cat out/conftest.err >&5
18516 echo "$as_me:18516: \$? = $ac_status" >&5
18517 if (exit $ac_status) && test -s out/conftest2.$ac_objext
18519 # The compiler can only warn and ignore the option if not recognized
18520 # So say no if there are warnings
18521 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18522 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18523 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18524 lt_cv_prog_compiler_c_o_F77=yes
18529 # SGI C++ compiler will create directory out/ii_files/ for
18530 # template instantiation
18531 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
18532 $RM out/* && rmdir out
18538 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
18539 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
18544 hard_links="nottested"
18545 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
18546 # do not overwrite the value of need_locks provided by the user
18547 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18548 $as_echo_n "checking if we can lock with hard links... " >&6; }
18551 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18553 ln conftest.a conftest.b 2>&5 || hard_links=no
18554 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18555 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
18556 $as_echo "$hard_links" >&6; }
18557 if test "$hard_links" = no; then
18558 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18559 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18568 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18569 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18572 allow_undefined_flag_F77=
18573 always_export_symbols_F77=no
18575 archive_expsym_cmds_F77=
18576 compiler_needs_object_F77=no
18577 enable_shared_with_static_runtimes_F77=no
18578 export_dynamic_flag_spec_F77=
18579 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18580 hardcode_automatic_F77=no
18581 hardcode_direct_F77=no
18582 hardcode_direct_absolute_F77=no
18583 hardcode_libdir_flag_spec_F77=
18584 hardcode_libdir_flag_spec_ld_F77=
18585 hardcode_libdir_separator_F77=
18586 hardcode_minus_L_F77=no
18587 hardcode_shlibpath_var_F77=unsupported
18588 inherit_rpath_F77=no
18589 link_all_deplibs_F77=unknown
18591 module_expsym_cmds_F77=
18592 old_archive_from_new_cmds_F77=
18593 old_archive_from_expsyms_cmds_F77=
18594 thread_safe_flag_spec_F77=
18595 whole_archive_flag_spec_F77=
18596 # include_expsyms should be a list of space-separated symbols to be *always*
18597 # included in the symbol list
18598 include_expsyms_F77=
18599 # exclude_expsyms can be an extended regexp of symbols to exclude
18600 # it will be wrapped by ` (' and `)$', so one must not match beginning or
18601 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18602 # as well as any symbol that contains `d'.
18603 exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18604 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18605 # platforms (ab)use it in PIC code, but their linkers get confused if
18606 # the symbol is explicitly referenced. Since portable code cannot
18607 # rely on this symbol name, it's probably fine to never include it in
18608 # preloaded symbol tables.
18609 # Exclude shared library initialization/finalization symbols.
18610 extract_expsyms_cmds=
18613 cygwin* | mingw* | pw32* | cegcc*)
18614 # FIXME: the MSVC++ port hasn't been tested in a loooong time
18615 # When not using gcc, we currently assume that we are using
18616 # Microsoft Visual C++.
18617 if test "$GCC" != yes; then
18622 # we just hope/assume this is gcc and not c89 (= MSVC++)
18631 if test "$with_gnu_ld" = yes; then
18632 # If archive_cmds runs LD, not CC, wlarc should be empty
18635 # Set some defaults for GNU ld with shared library support. These
18636 # are reset later if shared libraries are not supported. Putting them
18637 # here allows them to be overridden if necessary.
18638 runpath_var=LD_RUN_PATH
18639 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18640 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
18641 # ancient GNU ld didn't support --whole-archive et. al.
18642 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
18643 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18645 whole_archive_flag_spec_F77=
18647 supports_anon_versioning=no
18648 case `$LD -v 2>&1` in
18649 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18650 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18651 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18652 *\ 2.11.*) ;; # other 2.11 versions
18653 *) supports_anon_versioning=yes ;;
18656 # See if GNU ld supports shared libraries.
18659 # On AIX/PPC, the GNU linker is very broken
18660 if test "$host_cpu" != ia64; then
18664 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
18665 *** to be unable to reliably create shared libraries on AIX.
18666 *** Therefore, libtool is disabling shared libraries support. If you
18667 *** really care for shared libraries, you may want to modify your PATH
18668 *** so that a non-GNU linker is found, and then restart.
18677 # see comment about AmigaOS4 .so support
18678 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18679 archive_expsym_cmds_F77=''
18682 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)'
18683 hardcode_libdir_flag_spec_F77='-L$libdir'
18684 hardcode_minus_L_F77=yes
18690 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18691 allow_undefined_flag_F77=unsupported
18692 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18693 # support --undefined. This deserves some investigation. FIXME
18694 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18700 cygwin* | mingw* | pw32* | cegcc*)
18701 # _LT_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
18702 # as there is no search path for DLLs.
18703 hardcode_libdir_flag_spec_F77='-L$libdir'
18704 allow_undefined_flag_F77=unsupported
18705 always_export_symbols_F77=no
18706 enable_shared_with_static_runtimes_F77=yes
18707 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18709 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
18710 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18711 # If the export-symbols file already is a .def file (1st line
18712 # is EXPORTS), use it as is; otherwise, prepend...
18713 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18714 cp $export_symbols $output_objdir/$soname.def;
18716 echo EXPORTS > $output_objdir/$soname.def;
18717 cat $export_symbols >> $output_objdir/$soname.def;
18719 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18726 hardcode_direct_F77=no
18727 hardcode_shlibpath_var_F77=no
18728 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
18729 export_dynamic_flag_spec_F77='${wl}-E'
18730 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18731 # Instead, shared libraries are loaded at an image base (0x10000000 by
18732 # default) and relocated if they conflict, which is a slow very memory
18733 # consuming and fragmenting process. To avoid this, we pick a random,
18734 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18735 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18736 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'
18737 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'
18740 gnu* | linux* | tpf* | k*bsd*-gnu)
18742 if test "$host_os" = linux-dietlibc; then
18743 case $cc_basename in
18744 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
18747 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
18748 && test "$tmp_diet" = no
18751 tmp_sharedflag='-shared'
18752 case $cc_basename,$host_cpu in
18753 pgcc*) # Portland Group C compiler
18754 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'
18755 tmp_addflag=' $pic_flag'
18757 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
18758 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'
18759 tmp_addflag=' $pic_flag -Mnomain' ;;
18760 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
18761 tmp_addflag=' -i_dynamic' ;;
18762 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
18763 tmp_addflag=' -i_dynamic -nofor_main' ;;
18764 ifc* | ifort*) # Intel Fortran compiler
18765 tmp_addflag=' -nofor_main' ;;
18766 lf95*) # Lahey Fortran 8.1
18767 whole_archive_flag_spec_F77=
18768 tmp_sharedflag='--shared' ;;
18769 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
18770 tmp_sharedflag='-qmkshrobj'
18773 case `$CC -V 2>&1 | sed 5q` in
18774 *Sun\ C*) # Sun C 5.9
18775 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'
18776 compiler_needs_object_F77=yes
18777 tmp_sharedflag='-G' ;;
18778 *Sun\ F*) # Sun Fortran 8.3
18779 tmp_sharedflag='-G' ;;
18781 archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18783 if test "x$supports_anon_versioning" = xyes; then
18784 archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
18785 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18786 echo "local: *; };" >> $output_objdir/$libname.ver~
18787 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18790 case $cc_basename in
18792 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
18793 whole_archive_flag_spec_F77='--whole-archive$convenience --no-whole-archive'
18794 hardcode_libdir_flag_spec_F77=
18795 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
18796 archive_cmds_F77='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
18797 if test "x$supports_anon_versioning" = xyes; then
18798 archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
18799 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18800 echo "local: *; };" >> $output_objdir/$libname.ver~
18801 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
18810 netbsd* | netbsdelf*-gnu)
18811 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18812 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18815 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18816 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18821 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
18825 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18826 *** create shared libraries on Solaris systems. Therefore, libtool
18827 *** is disabling shared libraries support. We urge you to upgrade GNU
18828 *** binutils to release 2.9.1 or newer. Another option is to modify
18829 *** your PATH or compiler configuration so that the native linker is
18830 *** used, and then restart.
18833 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18834 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18835 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18841 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18842 case `$LD -v 2>&1` in
18843 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
18847 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18848 *** reliably create shared libraries on SCO systems. Therefore, libtool
18849 *** is disabling shared libraries support. We urge you to upgrade GNU
18850 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18851 *** your PATH or compiler configuration so that the native linker is
18852 *** used, and then restart.
18857 # For security reasons, it is highly recommended that you always
18858 # use absolute paths for naming shared libraries, and exclude the
18859 # DT_RUNPATH tag from executables and libraries. But doing so
18860 # requires that you compile everything twice, which is a pain.
18861 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18862 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18863 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18864 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18873 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18875 hardcode_direct_F77=yes
18876 hardcode_shlibpath_var_F77=no
18880 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18881 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18882 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18889 if test "$ld_shlibs_F77" = no; then
18891 hardcode_libdir_flag_spec_F77=
18892 export_dynamic_flag_spec_F77=
18893 whole_archive_flag_spec_F77=
18896 # PORTME fill in a description of your system's linker (not GNU ld)
18899 allow_undefined_flag_F77=unsupported
18900 always_export_symbols_F77=yes
18901 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'
18902 # Note: this linker hardcodes the directories in LIBPATH if there
18903 # are no directories specified by -L.
18904 hardcode_minus_L_F77=yes
18905 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18906 # Neither direct hardcoding nor static linking is supported with a
18908 hardcode_direct_F77=unsupported
18913 if test "$host_cpu" = ia64; then
18914 # On IA64, the linker does run time linking by default, so we don't
18915 # have to do anything special.
18916 aix_use_runtimelinking=no
18917 exp_sym_flag='-Bexport'
18920 # If we're using GNU nm, then we don't want the "-C" option.
18921 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18922 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
18923 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'
18925 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'
18927 aix_use_runtimelinking=no
18929 # Test if we are trying to use run time linking or normal
18930 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18931 # need to do runtime linking.
18932 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18933 for ld_flag in $LDFLAGS; do
18934 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18935 aix_use_runtimelinking=yes
18942 exp_sym_flag='-bexport'
18943 no_entry_flag='-bnoentry'
18946 # When large executables or shared objects are built, AIX ld can
18947 # have problems creating the table of contents. If linking a library
18948 # or program results in "error TOC overflow" add -mminimal-toc to
18949 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18950 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18952 archive_cmds_F77=''
18953 hardcode_direct_F77=yes
18954 hardcode_direct_absolute_F77=yes
18955 hardcode_libdir_separator_F77=':'
18956 link_all_deplibs_F77=yes
18957 file_list_spec_F77='${wl}-f,'
18959 if test "$GCC" = yes; then
18960 case $host_os in aix4.[012]|aix4.[012].*)
18961 # We only want to do this on AIX 4.2 and lower, the check
18962 # below for broken collect2 doesn't work under 4.3+
18963 collect2name=`${CC} -print-prog-name=collect2`
18964 if test -f "$collect2name" &&
18965 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
18967 # We have reworked collect2
18970 # We have old collect2
18971 hardcode_direct_F77=unsupported
18972 # It fails to find uninstalled libraries when the uninstalled
18973 # path is not listed in the libpath. Setting hardcode_minus_L
18974 # to unsupported forces relinking
18975 hardcode_minus_L_F77=yes
18976 hardcode_libdir_flag_spec_F77='-L$libdir'
18977 hardcode_libdir_separator_F77=
18981 shared_flag='-shared'
18982 if test "$aix_use_runtimelinking" = yes; then
18983 shared_flag="$shared_flag "'${wl}-G'
18985 link_all_deplibs_F77=no
18988 if test "$host_cpu" = ia64; then
18989 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18990 # chokes on -Wl,-G. The following line is correct:
18993 if test "$aix_use_runtimelinking" = yes; then
18994 shared_flag='${wl}-G'
18996 shared_flag='${wl}-bM:SRE'
19001 export_dynamic_flag_spec_F77='${wl}-bexpall'
19002 # It seems that -bexpall does not export symbols beginning with
19003 # underscore (_), so it is better to generate a list of symbols to export.
19004 always_export_symbols_F77=yes
19005 if test "$aix_use_runtimelinking" = yes; then
19006 # Warning - without using the other runtime loading flags (-brtl),
19007 # -berok will link without error, but may produce a broken library.
19008 allow_undefined_flag_F77='-berok'
19009 # Determine the default libpath from the value encoded in an
19010 # empty executable.
19011 cat >conftest.$ac_ext <<_ACEOF
19016 rm -f conftest.$ac_objext conftest$ac_exeext
19017 if { (ac_try="$ac_link"
19018 case "(($ac_try" in
19019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19020 *) ac_try_echo=$ac_try;;
19022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19023 $as_echo "$ac_try_echo") >&5
19024 (eval "$ac_link") 2>conftest.er1
19026 grep -v '^ *+' conftest.er1 >conftest.err
19028 cat conftest.err >&5
19029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); } && {
19031 test -z "$ac_f77_werror_flag" ||
19032 test ! -s conftest.err
19033 } && test -s conftest$ac_exeext && {
19034 test "$cross_compiling" = yes ||
19035 $as_test_x conftest$ac_exeext
19038 lt_aix_libpath_sed='
19039 /Import File Strings/,/^$/ {
19045 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19046 # Check for a 64-bit object if we didn't find anything.
19047 if test -z "$aix_libpath"; then
19048 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19051 $as_echo "$as_me: failed program was:" >&5
19052 sed 's/^/| /' conftest.$ac_ext >&5
19057 rm -rf conftest.dSYM
19058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19059 conftest$ac_exeext conftest.$ac_ext
19060 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19062 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
19063 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"
19065 if test "$host_cpu" = ia64; then
19066 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
19067 allow_undefined_flag_F77="-z nodefs"
19068 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"
19070 # Determine the default libpath from the value encoded in an
19071 # empty executable.
19072 cat >conftest.$ac_ext <<_ACEOF
19077 rm -f conftest.$ac_objext conftest$ac_exeext
19078 if { (ac_try="$ac_link"
19079 case "(($ac_try" in
19080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19081 *) ac_try_echo=$ac_try;;
19083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19084 $as_echo "$ac_try_echo") >&5
19085 (eval "$ac_link") 2>conftest.er1
19087 grep -v '^ *+' conftest.er1 >conftest.err
19089 cat conftest.err >&5
19090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); } && {
19092 test -z "$ac_f77_werror_flag" ||
19093 test ! -s conftest.err
19094 } && test -s conftest$ac_exeext && {
19095 test "$cross_compiling" = yes ||
19096 $as_test_x conftest$ac_exeext
19099 lt_aix_libpath_sed='
19100 /Import File Strings/,/^$/ {
19106 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19107 # Check for a 64-bit object if we didn't find anything.
19108 if test -z "$aix_libpath"; then
19109 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19112 $as_echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.$ac_ext >&5
19118 rm -rf conftest.dSYM
19119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19120 conftest$ac_exeext conftest.$ac_ext
19121 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19123 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
19124 # Warning - without using the other run time loading flags,
19125 # -berok will link without error, but may produce a broken library.
19126 no_undefined_flag_F77=' ${wl}-bernotok'
19127 allow_undefined_flag_F77=' ${wl}-berok'
19128 # Exported symbols can be pulled into shared objects from archives
19129 whole_archive_flag_spec_F77='$convenience'
19130 archive_cmds_need_lc_F77=yes
19131 # This is similar to how AIX traditionally builds its shared libraries.
19132 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'
19140 # see comment about AmigaOS4 .so support
19141 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19142 archive_expsym_cmds_F77=''
19145 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)'
19146 hardcode_libdir_flag_spec_F77='-L$libdir'
19147 hardcode_minus_L_F77=yes
19153 export_dynamic_flag_spec_F77=-rdynamic
19156 cygwin* | mingw* | pw32* | cegcc*)
19157 # When not using gcc, we currently assume that we are using
19158 # Microsoft Visual C++.
19159 # hardcode_libdir_flag_spec is actually meaningless, as there is
19160 # no search path for DLLs.
19161 hardcode_libdir_flag_spec_F77=' '
19162 allow_undefined_flag_F77=unsupported
19163 # Tell ltmain to make .lib files, not .a files.
19165 # Tell ltmain to make .dll files, not .so files.
19167 # FIXME: Setting linknames here is a bad hack.
19168 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
19169 # The linker will automatically build a .lib file if we build a DLL.
19170 old_archive_from_new_cmds_F77='true'
19171 # FIXME: Should let the user specify the lib program.
19172 old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
19173 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
19174 enable_shared_with_static_runtimes_F77=yes
19177 darwin* | rhapsody*)
19180 archive_cmds_need_lc_F77=no
19181 hardcode_direct_F77=no
19182 hardcode_automatic_F77=yes
19183 hardcode_shlibpath_var_F77=unsupported
19184 whole_archive_flag_spec_F77=''
19185 link_all_deplibs_F77=yes
19186 allow_undefined_flag_F77="$_lt_dar_allow_undefined"
19187 case $cc_basename in
19188 ifort*) _lt_dar_can_shared=yes ;;
19189 *) _lt_dar_can_shared=$GCC ;;
19191 if test "$_lt_dar_can_shared" = "yes"; then
19192 output_verbose_link_cmd=echo
19193 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}"
19194 module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
19195 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}"
19196 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}"
19205 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19206 hardcode_libdir_flag_spec_F77='-L$libdir'
19207 hardcode_shlibpath_var_F77=no
19214 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19215 # support. Future versions do this automatically, but an explicit c++rt0.o
19216 # does not break anything, and helps significantly (at the cost of a little
19219 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19220 hardcode_libdir_flag_spec_F77='-R$libdir'
19221 hardcode_direct_F77=yes
19222 hardcode_shlibpath_var_F77=no
19225 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19227 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19228 hardcode_direct_F77=yes
19229 hardcode_minus_L_F77=yes
19230 hardcode_shlibpath_var_F77=no
19233 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19234 freebsd* | dragonfly*)
19235 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19236 hardcode_libdir_flag_spec_F77='-R$libdir'
19237 hardcode_direct_F77=yes
19238 hardcode_shlibpath_var_F77=no
19242 if test "$GCC" = yes; then
19243 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'
19245 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'
19247 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
19248 hardcode_libdir_separator_F77=:
19249 hardcode_direct_F77=yes
19251 # hardcode_minus_L: Not really in the search PATH,
19252 # but as the default location of the library.
19253 hardcode_minus_L_F77=yes
19254 export_dynamic_flag_spec_F77='${wl}-E'
19258 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19259 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19261 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19263 if test "$with_gnu_ld" = no; then
19264 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
19265 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
19266 hardcode_libdir_separator_F77=:
19267 hardcode_direct_F77=yes
19268 hardcode_direct_absolute_F77=yes
19269 export_dynamic_flag_spec_F77='${wl}-E'
19270 # hardcode_minus_L: Not really in the search PATH,
19271 # but as the default location of the library.
19272 hardcode_minus_L_F77=yes
19277 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19280 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19283 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19286 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19292 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19295 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19298 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19302 if test "$with_gnu_ld" = no; then
19303 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
19304 hardcode_libdir_separator_F77=:
19308 hardcode_direct_F77=no
19309 hardcode_shlibpath_var_F77=no
19312 hardcode_direct_F77=yes
19313 hardcode_direct_absolute_F77=yes
19314 export_dynamic_flag_spec_F77='${wl}-E'
19316 # hardcode_minus_L: Not really in the search PATH,
19317 # but as the default location of the library.
19318 hardcode_minus_L_F77=yes
19324 irix5* | irix6* | nonstopux*)
19325 if test "$GCC" = yes; then
19326 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'
19327 # Try to use the -exported_symbol ld option, if it does not
19328 # work, assume that -exports_file does not work either and
19329 # implicitly export all symbols.
19330 save_LDFLAGS="$LDFLAGS"
19331 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
19332 cat >conftest.$ac_ext <<_ACEOF
19335 rm -f conftest.$ac_objext conftest$ac_exeext
19336 if { (ac_try="$ac_link"
19337 case "(($ac_try" in
19338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19339 *) ac_try_echo=$ac_try;;
19341 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19342 $as_echo "$ac_try_echo") >&5
19343 (eval "$ac_link") 2>conftest.er1
19345 grep -v '^ *+' conftest.er1 >conftest.err
19347 cat conftest.err >&5
19348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); } && {
19350 test -z "$ac_f77_werror_flag" ||
19351 test ! -s conftest.err
19352 } && test -s conftest$ac_exeext && {
19353 test "$cross_compiling" = yes ||
19354 $as_test_x conftest$ac_exeext
19356 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'
19359 $as_echo "$as_me: failed program was:" >&5
19360 sed 's/^/| /' conftest.$ac_ext >&5
19365 rm -rf conftest.dSYM
19366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19367 conftest$ac_exeext conftest.$ac_ext
19368 LDFLAGS="$save_LDFLAGS"
19370 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'
19371 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'
19373 archive_cmds_need_lc_F77='no'
19374 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
19375 hardcode_libdir_separator_F77=:
19376 inherit_rpath_F77=yes
19377 link_all_deplibs_F77=yes
19380 netbsd* | netbsdelf*-gnu)
19381 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19382 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19384 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19386 hardcode_libdir_flag_spec_F77='-R$libdir'
19387 hardcode_direct_F77=yes
19388 hardcode_shlibpath_var_F77=no
19392 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19393 hardcode_direct_F77=yes
19394 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
19395 hardcode_libdir_separator_F77=:
19396 hardcode_shlibpath_var_F77=no
19403 if test -f /usr/libexec/ld.so; then
19404 hardcode_direct_F77=yes
19405 hardcode_shlibpath_var_F77=no
19406 hardcode_direct_absolute_F77=yes
19407 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19408 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19409 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19410 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
19411 export_dynamic_flag_spec_F77='${wl}-E'
19414 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19415 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19416 hardcode_libdir_flag_spec_F77='-R$libdir'
19419 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19420 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
19430 hardcode_libdir_flag_spec_F77='-L$libdir'
19431 hardcode_minus_L_F77=yes
19432 allow_undefined_flag_F77=unsupported
19433 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'
19434 old_archive_from_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19438 if test "$GCC" = yes; then
19439 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
19440 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'
19442 allow_undefined_flag_F77=' -expect_unresolved \*'
19443 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'
19445 archive_cmds_need_lc_F77='no'
19446 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
19447 hardcode_libdir_separator_F77=:
19450 osf4* | osf5*) # as osf3* with the addition of -msym flag
19451 if test "$GCC" = yes; then
19452 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
19453 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'
19454 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
19456 allow_undefined_flag_F77=' -expect_unresolved \*'
19457 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'
19458 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~
19459 $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'
19461 # Both c and cxx compiler support -rpath directly
19462 hardcode_libdir_flag_spec_F77='-rpath $libdir'
19464 archive_cmds_need_lc_F77='no'
19465 hardcode_libdir_separator_F77=:
19469 no_undefined_flag_F77=' -z defs'
19470 if test "$GCC" = yes; then
19472 archive_cmds_F77='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19473 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19474 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
19476 case `$CC -V 2>&1` in
19479 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19480 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19481 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
19485 archive_cmds_F77='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
19486 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19487 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
19491 hardcode_libdir_flag_spec_F77='-R$libdir'
19492 hardcode_shlibpath_var_F77=no
19494 solaris2.[0-5] | solaris2.[0-5].*) ;;
19496 # The compiler driver will combine and reorder linker options,
19497 # but understands `-z linker_flag'. GCC discards it without `$wl',
19498 # but is careful enough not to reorder.
19499 # Supported since Solaris 2.6 (maybe 2.5.1?)
19500 if test "$GCC" = yes; then
19501 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19503 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
19507 link_all_deplibs_F77=yes
19511 if test "x$host_vendor" = xsequent; then
19512 # Use $CC to link under sequent, because it throws in some extra .o
19513 # files that make .init and .fini sections work.
19514 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19516 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19518 hardcode_libdir_flag_spec_F77='-L$libdir'
19519 hardcode_direct_F77=yes
19520 hardcode_minus_L_F77=yes
19521 hardcode_shlibpath_var_F77=no
19525 case $host_vendor in
19527 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19528 hardcode_direct_F77=yes # is this really true???
19531 ## LD is ld it makes a PLAMLIB
19532 ## CC just makes a GrossModule.
19533 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19534 reload_cmds_F77='$CC -r -o $output$reload_objs'
19535 hardcode_direct_F77=no
19538 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19539 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
19542 runpath_var='LD_RUN_PATH'
19543 hardcode_shlibpath_var_F77=no
19547 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19548 hardcode_shlibpath_var_F77=no
19549 export_dynamic_flag_spec_F77='-Bexport'
19553 if test -d /usr/nec; then
19554 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19555 hardcode_shlibpath_var_F77=no
19556 runpath_var=LD_RUN_PATH
19557 hardcode_runpath_var=yes
19562 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19563 no_undefined_flag_F77='${wl}-z,text'
19564 archive_cmds_need_lc_F77=no
19565 hardcode_shlibpath_var_F77=no
19566 runpath_var='LD_RUN_PATH'
19568 if test "$GCC" = yes; then
19569 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19570 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19572 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19573 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19577 sysv5* | sco3.2v5* | sco5v6*)
19578 # Note: We can NOT use -z defs as we might desire, because we do not
19579 # link with -lc, and that would cause any symbols used from libc to
19580 # always be unresolved, which means just about no library would
19581 # ever link correctly. If we're not using GNU ld we use -z text
19582 # though, which does catch some bad symbols but isn't as heavy-handed
19584 no_undefined_flag_F77='${wl}-z,text'
19585 allow_undefined_flag_F77='${wl}-z,nodefs'
19586 archive_cmds_need_lc_F77=no
19587 hardcode_shlibpath_var_F77=no
19588 hardcode_libdir_flag_spec_F77='${wl}-R,$libdir'
19589 hardcode_libdir_separator_F77=':'
19590 link_all_deplibs_F77=yes
19591 export_dynamic_flag_spec_F77='${wl}-Bexport'
19592 runpath_var='LD_RUN_PATH'
19594 if test "$GCC" = yes; then
19595 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19596 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19598 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19599 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19604 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19605 hardcode_libdir_flag_spec_F77='-L$libdir'
19606 hardcode_shlibpath_var_F77=no
19614 if test x$host_vendor = xsni; then
19616 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19617 export_dynamic_flag_spec_F77='${wl}-Blargedynsym'
19623 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
19624 $as_echo "$ld_shlibs_F77" >&6; }
19625 test "$ld_shlibs_F77" = no && can_build_shared=no
19627 with_gnu_ld_F77=$with_gnu_ld
19635 # Do we need to explicitly link libc?
19637 case "x$archive_cmds_need_lc_F77" in
19639 # Assume -lc should be added
19640 archive_cmds_need_lc_F77=yes
19642 if test "$enable_shared" = yes && test "$GCC" = yes; then
19643 case $archive_cmds_F77 in
19645 # FIXME: we may have to deal with multi-command sequences.
19648 # Test whether the compiler implicitly links with -lc since on some
19649 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19650 # to ld, don't add -lc before -lgcc.
19651 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19652 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
19654 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19657 (eval $ac_compile) 2>&5
19659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } 2>conftest.err; then
19663 libobjs=conftest.$ac_objext
19665 wl=$lt_prog_compiler_wl_F77
19666 pic_flag=$lt_prog_compiler_pic_F77
19672 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
19673 allow_undefined_flag_F77=
19674 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
19675 (eval $archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
19677 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); }
19680 archive_cmds_need_lc_F77=no
19682 archive_cmds_need_lc_F77=yes
19684 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
19686 cat conftest.err 1>&5
19689 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
19690 $as_echo "$archive_cmds_need_lc_F77" >&6; }
19760 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19761 $as_echo_n "checking dynamic linker characteristics... " >&6; }
19763 library_names_spec=
19764 libname_spec='lib$name'
19768 postuninstall_cmds=
19772 shlibpath_overrides_runpath=unknown
19774 dynamic_linker="$host_os ld.so"
19775 sys_lib_dlsearch_path_spec="/lib /usr/lib"
19776 need_lib_prefix=unknown
19777 hardcode_into_libs=no
19779 # when you set need_version to no, make sure it does not cause -set_version
19780 # flags to be left without arguments
19781 need_version=unknown
19786 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19787 shlibpath_var=LIBPATH
19789 # AIX 3 has no versioning support, so we append a major version to the name.
19790 soname_spec='${libname}${release}${shared_ext}$major'
19797 hardcode_into_libs=yes
19798 if test "$host_cpu" = ia64; then
19799 # AIX 5 supports IA64
19800 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19801 shlibpath_var=LD_LIBRARY_PATH
19803 # With GCC up to 2.95.x, collect2 would create an import file
19804 # for dependence libraries. The import file would start with
19805 # the line `#! .'. This would cause the generated library to
19806 # depend on `.', always an invalid library. This was fixed in
19807 # development snapshots of GCC prior to 3.0.
19809 aix4 | aix4.[01] | aix4.[01].*)
19810 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19812 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
19815 can_build_shared=no
19819 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19820 # soname into executable. Probably we can add versioning support to
19821 # collect2, so additional links can be useful in future.
19822 if test "$aix_use_runtimelinking" = yes; then
19823 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19824 # instead of lib<name>.a to let people know that these are not
19825 # typical AIX shared libraries.
19826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19828 # We preserve .a as extension for shared libraries through AIX4.2
19829 # and later when we are not doing run time linking.
19830 library_names_spec='${libname}${release}.a $libname.a'
19831 soname_spec='${libname}${release}${shared_ext}$major'
19833 shlibpath_var=LIBPATH
19840 # Since July 2007 AmigaOS4 officially supports .so libraries.
19841 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
19842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19845 library_names_spec='$libname.ixlibrary $libname.a'
19846 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19847 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'
19853 library_names_spec='${libname}${shared_ext}'
19854 dynamic_linker="$host_os ld.so"
19855 shlibpath_var=LIBRARY_PATH
19861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19862 soname_spec='${libname}${release}${shared_ext}$major'
19863 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19864 shlibpath_var=LD_LIBRARY_PATH
19865 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19866 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19867 # the default ld.so.conf also contains /usr/contrib/lib and
19868 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19869 # libtool to hard-code these into programs
19872 cygwin* | mingw* | pw32* | cegcc*)
19873 version_type=windows
19878 case $GCC,$host_os in
19879 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
19880 library_names_spec='$libname.dll.a'
19881 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19882 postinstall_cmds='base_file=`basename \${file}`~
19883 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
19884 dldir=$destdir/`dirname \$dlpath`~
19885 test -d \$dldir || mkdir -p \$dldir~
19886 $install_prog $dir/$dlname \$dldir/$dlname~
19887 chmod a+x \$dldir/$dlname~
19888 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19889 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19891 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19892 dlpath=$dir/\$dldll~
19894 shlibpath_overrides_runpath=yes
19898 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19899 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19900 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19903 # MinGW DLLs use traditional 'lib' prefix
19904 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19905 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19906 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
19907 # It is most probably a Windows format PATH printed by
19908 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19909 # path with ; separators, and with drive letters. We can handle the
19910 # drive letters (cygwin fileutils understands them), so leave them,
19911 # especially as we might pass files found there to a mingw objdump,
19912 # which wouldn't understand a cygwinified path. Ahh.
19913 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19915 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19919 # pw32 DLLs use 'pw' prefix rather than 'lib'
19920 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19926 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19929 dynamic_linker='Win32 ld.exe'
19930 # FIXME: first we should search . and the directory the executable is in
19934 darwin* | rhapsody*)
19935 dynamic_linker="$host_os dyld"
19936 version_type=darwin
19939 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19940 soname_spec='${libname}${release}${major}$shared_ext'
19941 shlibpath_overrides_runpath=yes
19942 shlibpath_var=DYLD_LIBRARY_PATH
19943 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19945 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19953 soname_spec='${libname}${release}${shared_ext}$major'
19954 shlibpath_var=LD_LIBRARY_PATH
19961 freebsd* | dragonfly*)
19962 # DragonFly does not have aout. When/if they implement a new
19963 # versioning mechanism, adjust this.
19964 if test -x /usr/bin/objformat; then
19965 objformat=`/usr/bin/objformat`
19968 freebsd[123]*) objformat=aout ;;
19969 *) objformat=elf ;;
19972 version_type=freebsd-$objformat
19973 case $version_type in
19975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19980 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19984 shlibpath_var=LD_LIBRARY_PATH
19987 shlibpath_overrides_runpath=yes
19989 freebsd3.[01]* | freebsdelf3.[01]*)
19990 shlibpath_overrides_runpath=yes
19991 hardcode_into_libs=yes
19993 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19994 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19995 shlibpath_overrides_runpath=no
19996 hardcode_into_libs=yes
19998 *) # from 4.6 on, and DragonFly
19999 shlibpath_overrides_runpath=yes
20000 hardcode_into_libs=yes
20009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20010 soname_spec='${libname}${release}${shared_ext}$major'
20011 shlibpath_var=LD_LIBRARY_PATH
20012 hardcode_into_libs=yes
20015 hpux9* | hpux10* | hpux11*)
20016 # Give a soname corresponding to the major version so that dld.sl refuses to
20017 # link against other versions.
20024 hardcode_into_libs=yes
20025 dynamic_linker="$host_os dld.so"
20026 shlibpath_var=LD_LIBRARY_PATH
20027 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20029 soname_spec='${libname}${release}${shared_ext}$major'
20030 if test "X$HPUX_IA64_MODE" = X32; then
20031 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20033 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20035 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20039 hardcode_into_libs=yes
20040 dynamic_linker="$host_os dld.sl"
20041 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20042 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20044 soname_spec='${libname}${release}${shared_ext}$major'
20045 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20046 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20050 dynamic_linker="$host_os dld.sl"
20051 shlibpath_var=SHLIB_PATH
20052 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20054 soname_spec='${libname}${release}${shared_ext}$major'
20057 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20058 postinstall_cmds='chmod 555 $lib'
20065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20066 soname_spec='${libname}${release}${shared_ext}$major'
20067 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20068 shlibpath_var=LD_LIBRARY_PATH
20069 shlibpath_overrides_runpath=no
20070 hardcode_into_libs=yes
20073 irix5* | irix6* | nonstopux*)
20075 nonstopux*) version_type=nonstopux ;;
20077 if test "$lt_cv_prog_gnu_ld" = yes; then
20085 soname_spec='${libname}${release}${shared_ext}$major'
20086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20088 irix5* | nonstopux*)
20089 libsuff= shlibsuff=
20092 case $LD in # libtool.m4 will add one of these switches to LD
20093 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20094 libsuff= shlibsuff= libmagic=32-bit;;
20095 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20096 libsuff=32 shlibsuff=N32 libmagic=N32;;
20097 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20098 libsuff=64 shlibsuff=64 libmagic=64-bit;;
20099 *) libsuff= shlibsuff= libmagic=never-match;;
20103 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20104 shlibpath_overrides_runpath=no
20105 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20106 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20107 hardcode_into_libs=yes
20110 # No shared lib support for Linux oldld, aout, or coff.
20111 linux*oldld* | linux*aout* | linux*coff*)
20115 # This must be Linux ELF.
20116 linux* | k*bsd*-gnu)
20120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20121 soname_spec='${libname}${release}${shared_ext}$major'
20122 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20123 shlibpath_var=LD_LIBRARY_PATH
20124 shlibpath_overrides_runpath=no
20125 # Some binutils ld are patched to set DT_RUNPATH
20126 save_LDFLAGS=$LDFLAGS
20127 save_libdir=$libdir
20128 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_F77\"; \
20129 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_F77\""
20130 cat >conftest.$ac_ext <<_ACEOF
20135 rm -f conftest.$ac_objext conftest$ac_exeext
20136 if { (ac_try="$ac_link"
20137 case "(($ac_try" in
20138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20139 *) ac_try_echo=$ac_try;;
20141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20142 $as_echo "$ac_try_echo") >&5
20143 (eval "$ac_link") 2>conftest.er1
20145 grep -v '^ *+' conftest.er1 >conftest.err
20147 cat conftest.err >&5
20148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && {
20150 test -z "$ac_f77_werror_flag" ||
20151 test ! -s conftest.err
20152 } && test -s conftest$ac_exeext && {
20153 test "$cross_compiling" = yes ||
20154 $as_test_x conftest$ac_exeext
20156 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
20157 shlibpath_overrides_runpath=yes
20161 $as_echo "$as_me: failed program was:" >&5
20162 sed 's/^/| /' conftest.$ac_ext >&5
20167 rm -rf conftest.dSYM
20168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20169 conftest$ac_exeext conftest.$ac_ext
20170 LDFLAGS=$save_LDFLAGS
20171 libdir=$save_libdir
20173 # This implies no fast_install, which is unacceptable.
20174 # Some rework will be needed to allow for fast_install
20175 # before this can be enabled.
20176 hardcode_into_libs=yes
20178 # Append ld.so.conf contents to the search path
20179 if test -f /etc/ld.so.conf; then
20180 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' ' '`
20181 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20184 # We used to test for /lib/ld.so.1 and disable shared libraries on
20185 # powerpc, because MkLinux only supported shared libraries with the
20186 # GNU dynamic linker. Since this was broken with cross compilers,
20187 # most powerpc-linux boxes support dynamic linking these days and
20188 # people can always --disable-shared, the test was removed, and we
20189 # assume the GNU/Linux dynamic linker is in use.
20190 dynamic_linker='GNU/Linux ld.so'
20197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20198 soname_spec='${libname}${release}${shared_ext}$major'
20199 shlibpath_var=LD_LIBRARY_PATH
20200 shlibpath_overrides_runpath=no
20201 hardcode_into_libs=yes
20202 dynamic_linker='NetBSD ld.elf_so'
20209 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20211 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20212 dynamic_linker='NetBSD (a.out) ld.so'
20214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20215 soname_spec='${libname}${release}${shared_ext}$major'
20216 dynamic_linker='NetBSD ld.elf_so'
20218 shlibpath_var=LD_LIBRARY_PATH
20219 shlibpath_overrides_runpath=yes
20220 hardcode_into_libs=yes
20225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20226 shlibpath_var=LD_LIBRARY_PATH
20227 shlibpath_overrides_runpath=yes
20234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20235 soname_spec='${libname}${release}${shared_ext}$major'
20236 shlibpath_var=LD_LIBRARY_PATH
20237 shlibpath_overrides_runpath=no
20238 hardcode_into_libs=yes
20239 dynamic_linker='ldqnx.so'
20244 sys_lib_dlsearch_path_spec="/usr/lib"
20246 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20248 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20249 *) need_version=no ;;
20251 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20252 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20253 shlibpath_var=LD_LIBRARY_PATH
20254 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20256 openbsd2.[89] | openbsd2.[89].*)
20257 shlibpath_overrides_runpath=no
20260 shlibpath_overrides_runpath=yes
20264 shlibpath_overrides_runpath=yes
20269 libname_spec='$name'
20272 library_names_spec='$libname${shared_ext} $libname.a'
20273 dynamic_linker='OS/2 ld.exe'
20274 shlibpath_var=LIBPATH
20277 osf3* | osf4* | osf5*)
20281 soname_spec='${libname}${release}${shared_ext}$major'
20282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20283 shlibpath_var=LD_LIBRARY_PATH
20284 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20285 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20297 soname_spec='${libname}${release}${shared_ext}$major'
20298 shlibpath_var=LD_LIBRARY_PATH
20299 shlibpath_overrides_runpath=yes
20300 hardcode_into_libs=yes
20301 # ldd complains unless libraries are executable
20302 postinstall_cmds='chmod +x $lib'
20307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20308 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20309 shlibpath_var=LD_LIBRARY_PATH
20310 shlibpath_overrides_runpath=yes
20311 if test "$with_gnu_ld" = yes; then
20319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20320 soname_spec='${libname}${release}${shared_ext}$major'
20321 shlibpath_var=LD_LIBRARY_PATH
20322 case $host_vendor in
20324 shlibpath_overrides_runpath=no
20326 runpath_var=LD_RUN_PATH
20334 shlibpath_overrides_runpath=no
20335 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20341 if test -d /usr/nec ;then
20343 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20344 soname_spec='$libname${shared_ext}.$major'
20345 shlibpath_var=LD_LIBRARY_PATH
20349 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20350 version_type=freebsd-elf
20353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20354 soname_spec='${libname}${release}${shared_ext}$major'
20355 shlibpath_var=LD_LIBRARY_PATH
20356 shlibpath_overrides_runpath=yes
20357 hardcode_into_libs=yes
20358 if test "$with_gnu_ld" = yes; then
20359 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20361 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20364 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20368 sys_lib_dlsearch_path_spec='/usr/lib'
20372 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
20376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20377 shlibpath_var=LD_LIBRARY_PATH
20378 shlibpath_overrides_runpath=no
20379 hardcode_into_libs=yes
20384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20385 soname_spec='${libname}${release}${shared_ext}$major'
20386 shlibpath_var=LD_LIBRARY_PATH
20393 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20394 $as_echo "$dynamic_linker" >&6; }
20395 test "$dynamic_linker" = no && can_build_shared=no
20397 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20398 if test "$GCC" = yes; then
20399 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20402 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20403 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20405 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20406 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20444 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20445 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20446 hardcode_action_F77=
20447 if test -n "$hardcode_libdir_flag_spec_F77" ||
20448 test -n "$runpath_var_F77" ||
20449 test "X$hardcode_automatic_F77" = "Xyes" ; then
20451 # We can hardcode non-existent directories.
20452 if test "$hardcode_direct_F77" != no &&
20453 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20454 # have to relink, otherwise we might link with an installed library
20455 # when we should be linking with a yet-to-be-installed one
20456 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
20457 test "$hardcode_minus_L_F77" != no; then
20458 # Linking always hardcodes the temporary library directory.
20459 hardcode_action_F77=relink
20461 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20462 hardcode_action_F77=immediate
20465 # We cannot hardcode anything, or else we can only hardcode existing
20467 hardcode_action_F77=unsupported
20469 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
20470 $as_echo "$hardcode_action_F77" >&6; }
20472 if test "$hardcode_action_F77" = relink ||
20473 test "$inherit_rpath_F77" = yes; then
20474 # Fast installation is not supported
20475 enable_fast_install=no
20476 elif test "$shlibpath_overrides_runpath" = yes ||
20477 test "$enable_shared" = no; then
20478 # Fast installation is not necessary
20479 enable_fast_install=needless
20488 fi # test -n "$compiler"
20492 fi # test "$_lt_disable_F77" != yes
20495 ac_cpp='$CPP $CPPFLAGS'
20496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20502 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
20503 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20504 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
20505 { $as_echo "$as_me:$LINENO: checking how to get verbose linking output from $F77" >&5
20506 $as_echo_n "checking how to get verbose linking output from $F77... " >&6; }
20507 if test "${ac_cv_prog_f77_v+set}" = set; then
20508 $as_echo_n "(cached) " >&6
20510 cat >conftest.$ac_ext <<_ACEOF
20515 rm -f conftest.$ac_objext
20516 if { (ac_try="$ac_compile"
20517 case "(($ac_try" in
20518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20519 *) ac_try_echo=$ac_try;;
20521 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20522 $as_echo "$ac_try_echo") >&5
20523 (eval "$ac_compile") 2>conftest.er1
20525 grep -v '^ *+' conftest.er1 >conftest.err
20527 cat conftest.err >&5
20528 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); } && {
20530 test -z "$ac_f77_werror_flag" ||
20531 test ! -s conftest.err
20532 } && test -s conftest.$ac_objext; then
20534 # Try some options frequently used verbose output
20535 for ac_verb in -v -verbose --verbose -V -\#\#\#; do
20536 cat >conftest.$ac_ext <<_ACEOF
20542 # Compile and link our simple test program by passing a flag (argument
20543 # 1 to this macro) to the Fortran compiler in order to get
20544 # "verbose" output that we can then parse for the Fortran linker
20546 ac_save_FFLAGS=$FFLAGS
20547 FFLAGS="$FFLAGS $ac_verb"
20548 eval "set x $ac_link"
20550 $as_echo "$as_me:$LINENO: $*" >&5
20551 # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
20552 # LIBRARY_PATH; skip all such settings.
20553 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
20554 grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
20555 $as_echo "$ac_f77_v_output" >&5
20556 FFLAGS=$ac_save_FFLAGS
20560 # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
20561 # /foo, /bar, and /baz are search directories for the Fortran linker.
20562 # Here, we change these into -L/foo -L/bar -L/baz (and put it first):
20563 ac_f77_v_output="`echo $ac_f77_v_output |
20565 sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_f77_v_output"
20567 # FIXME: we keep getting bitten by quoted arguments; a more general fix
20568 # that detects unbalanced quotes in FLIBS should be implemented
20569 # and (ugh) tested at some point.
20570 case $ac_f77_v_output in
20571 # If we are using xlf then replace all the commas with spaces.
20573 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;;
20575 # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
20576 # $LIBS confuse us, and the libraries appear later in the output anyway).
20577 *mGLOB_options_string*)
20578 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
20580 # Portland Group compiler has singly- or doubly-quoted -cmdline argument
20581 # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
20582 # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
20583 *-cmdline\ * | *-ignore\ * | *-def\ *)
20584 ac_f77_v_output=`echo $ac_f77_v_output | sed "\
20585 s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g
20586 s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g
20587 s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;;
20589 # If we are using Cray Fortran then delete quotes.
20591 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"//g'` ;;
20595 # look for -l* and *.a constructs in the output
20596 for ac_arg in $ac_f77_v_output; do
20598 [\\/]*.a | ?:[\\/]*.a | -[lLRu]*)
20599 ac_cv_prog_f77_v=$ac_verb
20604 if test -z "$ac_cv_prog_f77_v"; then
20605 { $as_echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F77" >&5
20606 $as_echo "$as_me: WARNING: cannot determine how to obtain linking information from $F77" >&2;}
20609 $as_echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.$ac_ext >&5
20612 { $as_echo "$as_me:$LINENO: WARNING: compilation failed" >&5
20613 $as_echo "$as_me: WARNING: compilation failed" >&2;}
20616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20619 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_v" >&5
20620 $as_echo "$ac_cv_prog_f77_v" >&6; }
20621 { $as_echo "$as_me:$LINENO: checking for Fortran 77 libraries of $F77" >&5
20622 $as_echo_n "checking for Fortran 77 libraries of $F77... " >&6; }
20623 if test "${ac_cv_f77_libs+set}" = set; then
20624 $as_echo_n "(cached) " >&6
20626 if test "x$FLIBS" != "x"; then
20627 ac_cv_f77_libs="$FLIBS" # Let the user override the test.
20630 cat >conftest.$ac_ext <<_ACEOF
20636 # Compile and link our simple test program by passing a flag (argument
20637 # 1 to this macro) to the Fortran compiler in order to get
20638 # "verbose" output that we can then parse for the Fortran linker
20640 ac_save_FFLAGS=$FFLAGS
20641 FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
20642 eval "set x $ac_link"
20644 $as_echo "$as_me:$LINENO: $*" >&5
20645 # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
20646 # LIBRARY_PATH; skip all such settings.
20647 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
20648 grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
20649 $as_echo "$ac_f77_v_output" >&5
20650 FFLAGS=$ac_save_FFLAGS
20654 # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
20655 # /foo, /bar, and /baz are search directories for the Fortran linker.
20656 # Here, we change these into -L/foo -L/bar -L/baz (and put it first):
20657 ac_f77_v_output="`echo $ac_f77_v_output |
20659 sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_f77_v_output"
20661 # FIXME: we keep getting bitten by quoted arguments; a more general fix
20662 # that detects unbalanced quotes in FLIBS should be implemented
20663 # and (ugh) tested at some point.
20664 case $ac_f77_v_output in
20665 # If we are using xlf then replace all the commas with spaces.
20667 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;;
20669 # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
20670 # $LIBS confuse us, and the libraries appear later in the output anyway).
20671 *mGLOB_options_string*)
20672 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
20674 # Portland Group compiler has singly- or doubly-quoted -cmdline argument
20675 # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
20676 # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
20677 *-cmdline\ * | *-ignore\ * | *-def\ *)
20678 ac_f77_v_output=`echo $ac_f77_v_output | sed "\
20679 s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g
20680 s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g
20681 s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;;
20683 # If we are using Cray Fortran then delete quotes.
20685 ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"//g'` ;;
20692 # Save positional arguments (if any)
20693 ac_save_positional="$@"
20695 set X $ac_f77_v_output
20696 while test $# != 1; do
20700 [\\/]*.a | ?:[\\/]*.a)
20702 for ac_i in $ac_cv_f77_libs; do
20703 if test x"$ac_arg" = x"$ac_i"; then
20709 if test x"$ac_exists" = xtrue; then
20712 ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
20718 for ac_i in $ac_cv_f77_libs; do
20719 if test x"$ac_arg" = x"$ac_i"; then
20725 if test x"$ac_exists" = xtrue; then
20728 if test "$ac_compiler_gnu" = yes; then
20729 for ac_link_opt in $ac_arg; do
20730 ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt"
20733 ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
20738 # Ignore these flags.
20739 -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*)
20742 test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
20745 # These flags, when seen by themselves, take an argument.
20746 # We remove the space between option and argument and re-iterate
20747 # unless we find an empty arg or a new option (starting with -)
20758 for ac_j in `$as_echo "$ac_arg" | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
20760 for ac_i in $ac_cv_f77_libs; do
20761 if test x"$ac_j" = x"$ac_i"; then
20767 if test x"$ac_exists" = xtrue; then
20770 ac_arg="$ac_arg $ac_j"
20771 ac_cv_f77_libs="$ac_cv_f77_libs $ac_j"
20778 for ac_i in $ac_cv_f77_libs; do
20779 if test x"$ac_arg" = x"$ac_i"; then
20785 if test x"$ac_exists" = xtrue; then
20788 ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
20792 -zallextract*| -zdefaultextract)
20793 ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
20795 # Ignore everything else.
20798 # restore positional arguments
20799 set X $ac_save_positional; shift
20801 # We only consider "LD_RUN_PATH" on Solaris systems. If this is seen,
20802 # then we insist that the "run path" must be an absolute path (i.e. it
20803 # must begin with a "/").
20804 case `(uname -sr) 2>/dev/null` in
20806 ac_ld_run_path=`$as_echo "$ac_f77_v_output" |
20807 sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'`
20808 test "x$ac_ld_run_path" != x &&
20809 if test "$ac_compiler_gnu" = yes; then
20810 for ac_link_opt in $ac_ld_run_path; do
20811 ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt"
20814 ac_cv_f77_libs="$ac_cv_f77_libs $ac_ld_run_path"
20818 fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x"
20821 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_libs" >&5
20822 $as_echo "$ac_cv_f77_libs" >&6; }
20823 FLIBS="$ac_cv_f77_libs"
20827 ac_cpp='$CPP $CPPFLAGS'
20828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20838 case "${host_os}" in
20839 *mingw* | *cygwin*)
20841 # on MinGW/Cygwin extra LDFLAGS are required
20842 no_undefined="-no-undefined"
20845 NO_UNDEFINED=$no_undefined
20852 # Find any Python interpreter.
20853 if test -z "$PYTHON"; then
20854 for ac_prog in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
20856 # Extract the first word of "$ac_prog", so it can be a program name with args.
20857 set dummy $ac_prog; ac_word=$2
20858 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20859 $as_echo_n "checking for $ac_word... " >&6; }
20860 if test "${ac_cv_path_PYTHON+set}" = set; then
20861 $as_echo_n "(cached) " >&6
20865 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
20868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20869 for as_dir in $PATH
20872 test -z "$as_dir" && as_dir=.
20873 for ac_exec_ext in '' $ac_executable_extensions; do
20874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20875 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
20876 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20886 PYTHON=$ac_cv_path_PYTHON
20887 if test -n "$PYTHON"; then
20888 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
20889 $as_echo "$PYTHON" >&6; }
20891 { $as_echo "$as_me:$LINENO: result: no" >&5
20892 $as_echo "no" >&6; }
20896 test -n "$PYTHON" && break
20898 test -n "$PYTHON" || PYTHON=":"
20901 am_display_PYTHON=python
20904 if test "$PYTHON" = :; then
20905 { { $as_echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
20906 $as_echo "$as_me: error: no suitable Python interpreter found" >&2;}
20907 { (exit 1); exit 1; }; }
20911 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
20912 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
20913 if test "${am_cv_python_version+set}" = set; then
20914 $as_echo_n "(cached) " >&6
20916 am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
20918 { $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
20919 $as_echo "$am_cv_python_version" >&6; }
20920 PYTHON_VERSION=$am_cv_python_version
20924 PYTHON_PREFIX='${prefix}'
20926 PYTHON_EXEC_PREFIX='${exec_prefix}'
20930 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
20931 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
20932 if test "${am_cv_python_platform+set}" = set; then
20933 $as_echo_n "(cached) " >&6
20935 am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
20937 { $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
20938 $as_echo "$am_cv_python_platform" >&6; }
20939 PYTHON_PLATFORM=$am_cv_python_platform
20944 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
20945 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
20946 if test "${am_cv_python_pythondir+set}" = set; then
20947 $as_echo_n "(cached) " >&6
20949 if test "x$prefix" = xNONE
20953 py_prefix_arg=",prefix='$prefix'"
20955 am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0$py_prefix_arg)" -n -q install $py_prefix_arg 2>/dev/null ||
20956 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
20958 { $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
20959 $as_echo "$am_cv_python_pythondir" >&6; }
20960 pythondir=$am_cv_python_pythondir
20964 pkgpythondir=\${pythondir}/$PACKAGE
20967 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
20968 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
20969 if test "${am_cv_python_pyexecdir+set}" = set; then
20970 $as_echo_n "(cached) " >&6
20972 if test "x$exec_prefix" = xNONE
20974 py_exec_prefix_arg=$py_prefix_arg
20976 py_exec_prefix_arg=",prefix='$exec_prefix'"
20978 am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0$py_exec_prefix_arg)" -n -q install $py_exec_prefix_arg 2>/dev/null ||
20979 echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
20981 { $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
20982 $as_echo "$am_cv_python_pyexecdir" >&6; }
20983 pyexecdir=$am_cv_python_pyexecdir
20987 pkgpyexecdir=\${pyexecdir}/$PACKAGE
20999 # Check whether --with-pythondir was given.
21000 if test "${with_pythondir+set}" = set; then
21001 withval=$with_pythondir; with_pythondir=${withval}
21003 with_pythondir=${prefix}/lib/python2.5/site-packages
21007 # if we're cross-compiling, asking the host python about any of
21008 # this is completely useless...
21010 if test x$cross_compiling != xno
21012 pythondir=$with_pythondir
21013 pyexecdir=$with_pythondir
21018 # For Fedora Core 5 and 6, see ticket:39 in Trac
21019 if test -f '/etc/redhat-release'; then
21020 if (echo $pyexecdir | grep -q lib64); then
21021 pythondir="$pyexecdir"
21025 # Check for Python include path
21026 { $as_echo "$as_me:$LINENO: checking for Python include path" >&5
21027 $as_echo_n "checking for Python include path... " >&6; }
21028 if test -z "$PYTHON" ; then
21029 { { $as_echo "$as_me:$LINENO: error: cannot find Python path" >&5
21030 $as_echo "$as_me: error: cannot find Python path" >&2;}
21031 { (exit 1); exit 1; }; }
21034 # ask distutils which include path we should use
21036 import distutils.sysconfig
21038 path = distutils.sysconfig.get_python_inc(plat_specific=False)
21040 path = path.replace("\\", "/")
21043 python_path=`$PYTHON -c "$python_cmd"`
21044 { $as_echo "$as_me:$LINENO: result: $python_path" >&5
21045 $as_echo "$python_path" >&6; }
21046 if test -z "$python_path" ; then
21047 { { $as_echo "$as_me:$LINENO: error: cannot find Python include path" >&5
21048 $as_echo "$as_me: error: cannot find Python include path" >&2;}
21049 { (exit 1); exit 1; }; }
21052 PYTHON_CPPFLAGS=-I$python_path
21055 # Check for Python headers usability
21056 python_save_CPPFLAGS=$CPPFLAGS
21057 CPPFLAGS="$CPPFLAGS $PYTHON_CPPFLAGS"
21059 for ac_header in Python.h
21061 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21062 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21063 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21064 $as_echo_n "checking for $ac_header... " >&6; }
21065 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21066 $as_echo_n "(cached) " >&6
21068 ac_res=`eval 'as_val=${'$as_ac_Header'}
21069 $as_echo "$as_val"'`
21070 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21071 $as_echo "$ac_res" >&6; }
21073 # Is the header compilable?
21074 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
21075 $as_echo_n "checking $ac_header usability... " >&6; }
21076 cat >conftest.$ac_ext <<_ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 $ac_includes_default
21083 #include <$ac_header>
21085 rm -f conftest.$ac_objext
21086 if { (ac_try="$ac_compile"
21087 case "(($ac_try" in
21088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21089 *) ac_try_echo=$ac_try;;
21091 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21092 $as_echo "$ac_try_echo") >&5
21093 (eval "$ac_compile") 2>conftest.er1
21095 grep -v '^ *+' conftest.er1 >conftest.err
21097 cat conftest.err >&5
21098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); } && {
21100 test -z "$ac_c_werror_flag" ||
21101 test ! -s conftest.err
21102 } && test -s conftest.$ac_objext; then
21103 ac_header_compiler=yes
21105 $as_echo "$as_me: failed program was:" >&5
21106 sed 's/^/| /' conftest.$ac_ext >&5
21108 ac_header_compiler=no
21111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21112 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21113 $as_echo "$ac_header_compiler" >&6; }
21115 # Is the header present?
21116 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
21117 $as_echo_n "checking $ac_header presence... " >&6; }
21118 cat >conftest.$ac_ext <<_ACEOF
21121 cat confdefs.h >>conftest.$ac_ext
21122 cat >>conftest.$ac_ext <<_ACEOF
21123 /* end confdefs.h. */
21124 #include <$ac_header>
21126 if { (ac_try="$ac_cpp conftest.$ac_ext"
21127 case "(($ac_try" in
21128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21129 *) ac_try_echo=$ac_try;;
21131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21132 $as_echo "$ac_try_echo") >&5
21133 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21135 grep -v '^ *+' conftest.er1 >conftest.err
21137 cat conftest.err >&5
21138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); } >/dev/null && {
21140 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21141 test ! -s conftest.err
21143 ac_header_preproc=yes
21145 $as_echo "$as_me: failed program was:" >&5
21146 sed 's/^/| /' conftest.$ac_ext >&5
21148 ac_header_preproc=no
21151 rm -f conftest.err conftest.$ac_ext
21152 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21153 $as_echo "$ac_header_preproc" >&6; }
21155 # So? What about this header?
21156 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21158 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21159 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21160 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21161 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21162 ac_header_preproc=yes
21165 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21166 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21167 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21168 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21169 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21170 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21171 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21172 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21173 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21174 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21175 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21176 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21180 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21181 $as_echo_n "checking for $ac_header... " >&6; }
21182 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21183 $as_echo_n "(cached) " >&6
21185 eval "$as_ac_Header=\$ac_header_preproc"
21187 ac_res=`eval 'as_val=${'$as_ac_Header'}
21188 $as_echo "$as_val"'`
21189 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21190 $as_echo "$ac_res" >&6; }
21193 as_val=`eval 'as_val=${'$as_ac_Header'}
21194 $as_echo "$as_val"'`
21195 if test "x$as_val" = x""yes; then
21196 cat >>confdefs.h <<_ACEOF
21197 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21201 { { $as_echo "$as_me:$LINENO: error: cannot find usable Python headers" >&5
21202 $as_echo "$as_me: error: cannot find usable Python headers" >&2;}
21203 { (exit 1); exit 1; }; }
21208 CPPFLAGS="$python_save_CPPFLAGS"
21210 # Only set this on mingw and cygwin hosts, (only implemented
21211 # for mingw host, for crosscompiling you need to trick this)
21215 *mingw* | *cygwin* )
21216 { $as_echo "$as_me:$LINENO: checking for Python LDFLAGS" >&5
21217 $as_echo_n "checking for Python LDFLAGS... " >&6; }
21220 import distutils.sysconfig
21222 path = distutils.sysconfig.get_config_var("LIBPL")
21224 path = distutils.sysconfig.PREFIX + "/libs"
21226 path = path.replace("\\", "/")
21229 python_stdlib_path=`$PYTHON -c "$python_cmd"`
21231 python_version_nodot=`echo $PYTHON_VERSION | sed "s,\.,,"`
21232 libpython_name="python$PYTHON_VERSION"
21234 # Standard install of python for win32 has libpython24.a
21235 # instead of libpython2.4.a so we check for the library
21236 # without the dot in the version number.
21238 python_stdlib_filename=`find $python_stdlib_path -type f -name libpython$python_version_nodot.* -print | sed "1q"`
21239 if test -n "$python_stdlib_filename" ; then
21240 libpython_name="python$python_version_nodot"
21243 PYTHON_LDFLAGS="-L$python_stdlib_path -l$libpython_name"
21244 { $as_echo "$as_me:$LINENO: result: $PYTHON_LDFLAGS" >&5
21245 $as_echo "$PYTHON_LDFLAGS" >&6; }
21246 # Replace all backslashes in PYTHON Paths with forward slashes
21247 pythondir=`echo $pythondir |sed 's,\\\\,/,g'`
21248 pkgpythondir=`echo $pkgpythondir |sed 's,\\\\,/,g'`
21249 pyexecdir=`echo $pyexecdir |sed 's,\\\\,/,g'`
21250 pkgpyexecdir=`echo $pkgpyexecdir |sed 's,\\\\,/,g'`
21264 # Extract the first word of "swig", so it can be a program name with args.
21265 set dummy swig; ac_word=$2
21266 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21267 $as_echo_n "checking for $ac_word... " >&6; }
21268 if test "${ac_cv_prog_SWIG+set}" = set; then
21269 $as_echo_n "(cached) " >&6
21271 if test -n "$SWIG"; then
21272 ac_cv_prog_SWIG="$SWIG" # Let the user override the test.
21274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21275 for as_dir in $PATH
21278 test -z "$as_dir" && as_dir=.
21279 for ac_exec_ext in '' $ac_executable_extensions; do
21280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21281 ac_cv_prog_SWIG="`which swig`"
21282 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21291 SWIG=$ac_cv_prog_SWIG
21292 if test -n "$SWIG"; then
21293 { $as_echo "$as_me:$LINENO: result: $SWIG" >&5
21294 $as_echo "$SWIG" >&6; }
21296 { $as_echo "$as_me:$LINENO: result: no" >&5
21297 $as_echo "no" >&6; }
21301 if test -z "$SWIG" ; then
21302 { { $as_echo "$as_me:$LINENO: error: Cannot find 'swig' program. SWIG version >= 1.3.31 required" >&5
21303 $as_echo "$as_me: error: Cannot find 'swig' program. SWIG version >= 1.3.31 required" >&2;}
21304 { (exit 1); exit 1; }; }
21306 elif test -n "1.3.31" ; then
21307 { $as_echo "$as_me:$LINENO: checking for SWIG version" >&5
21308 $as_echo_n "checking for SWIG version... " >&6; }
21309 swig_version=`$SWIG -version 2>&1 | \
21310 awk '/^SWIG Version [0-9]+\.[0-9]+\.[0-9]+.*$/ { split($3,a,"[^.0-9]"); print a[1] }'`
21311 { $as_echo "$as_me:$LINENO: result: $swig_version" >&5
21312 $as_echo "$swig_version" >&6; }
21313 if test -n "$swig_version" ; then
21314 swig_version=`echo $swig_version | \
21315 awk '{ split($1,a,"\."); print a[1]*1000000+a[2]*1000+a[3] }' 2>/dev/null`
21316 swig_required_version=`echo 1.3.31 | \
21317 awk '{ split($1,a,"\."); print a[1]*1000000+a[2]*1000+a[3] }' 2>/dev/null`
21318 if test $swig_required_version -gt $swig_version ; then
21319 { { $as_echo "$as_me:$LINENO: error: SWIG version >= 1.3.31 required" >&5
21320 $as_echo "$as_me: error: SWIG version >= 1.3.31 required" >&2;}
21321 { (exit 1); exit 1; }; }
21324 { { $as_echo "$as_me:$LINENO: error: cannot determine SWIG version" >&5
21325 $as_echo "$as_me: error: cannot determine SWIG version" >&2;}
21326 { (exit 1); exit 1; }; }
21333 if test "$SWIG" != "false" ; then
21340 if test "$SWIG" != "false" ; then
21341 SWIG_PYTHON_LIB=-lswigpy
21343 SWIG_PYTHON_OPT=-python
21346 SWIG_PYTHON_CPPFLAGS=$PYTHON_CPPFLAGS
21351 # Extract the first word of "xmlto", so it can be a program name with args.
21352 set dummy xmlto; ac_word=$2
21353 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21354 $as_echo_n "checking for $ac_word... " >&6; }
21355 if test "${ac_cv_prog_XMLTO+set}" = set; then
21356 $as_echo_n "(cached) " >&6
21358 if test -n "$XMLTO"; then
21359 ac_cv_prog_XMLTO="$XMLTO" # Let the user override the test.
21361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21362 for as_dir in $PATH
21365 test -z "$as_dir" && as_dir=.
21366 for ac_exec_ext in '' $ac_executable_extensions; do
21367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21368 ac_cv_prog_XMLTO="yes"
21369 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21378 XMLTO=$ac_cv_prog_XMLTO
21379 if test -n "$XMLTO"; then
21380 { $as_echo "$as_me:$LINENO: result: $XMLTO" >&5
21381 $as_echo "$XMLTO" >&6; }
21383 { $as_echo "$as_me:$LINENO: result: no" >&5
21384 $as_echo "no" >&6; }
21388 if test x$XMLTO = xyes; then
21390 HAS_XMLTO_FALSE='#'
21398 { $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
21399 $as_echo_n "checking for socket in -lsocket... " >&6; }
21400 if test "${ac_cv_lib_socket_socket+set}" = set; then
21401 $as_echo_n "(cached) " >&6
21403 ac_check_lib_save_LIBS=$LIBS
21404 LIBS="-lsocket $LIBS"
21405 cat >conftest.$ac_ext <<_ACEOF
21408 cat confdefs.h >>conftest.$ac_ext
21409 cat >>conftest.$ac_ext <<_ACEOF
21410 /* end confdefs.h. */
21412 /* Override any GCC internal prototype to avoid an error.
21413 Use char because int might match the return type of a GCC
21414 builtin and then its argument prototype would still apply. */
21427 rm -f conftest.$ac_objext conftest$ac_exeext
21428 if { (ac_try="$ac_link"
21429 case "(($ac_try" in
21430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21431 *) ac_try_echo=$ac_try;;
21433 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21434 $as_echo "$ac_try_echo") >&5
21435 (eval "$ac_link") 2>conftest.er1
21437 grep -v '^ *+' conftest.er1 >conftest.err
21439 cat conftest.err >&5
21440 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); } && {
21442 test -z "$ac_c_werror_flag" ||
21443 test ! -s conftest.err
21444 } && test -s conftest$ac_exeext && {
21445 test "$cross_compiling" = yes ||
21446 $as_test_x conftest$ac_exeext
21448 ac_cv_lib_socket_socket=yes
21450 $as_echo "$as_me: failed program was:" >&5
21451 sed 's/^/| /' conftest.$ac_ext >&5
21453 ac_cv_lib_socket_socket=no
21456 rm -rf conftest.dSYM
21457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21458 conftest$ac_exeext conftest.$ac_ext
21459 LIBS=$ac_check_lib_save_LIBS
21461 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
21462 $as_echo "$ac_cv_lib_socket_socket" >&6; }
21463 if test "x$ac_cv_lib_socket_socket" = x""yes; then
21464 cat >>confdefs.h <<_ACEOF
21465 #define HAVE_LIBSOCKET 1
21468 LIBS="-lsocket $LIBS"
21474 # Check first for POSIX
21479 ac_cpp='$CPP $CPPFLAGS'
21480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21486 # We used to check for pthread.h first, but this fails if pthread.h
21487 # requires special compiler flags (e.g. on True64 or Sequent).
21488 # It gets checked for in the link test anyway.
21490 # First of all, check if the user has set any of the PTHREAD_LIBS,
21491 # etcetera environment variables, and if threads linking works using
21493 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
21494 save_CFLAGS="$CFLAGS"
21495 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
21497 LIBS="$PTHREAD_LIBS $LIBS"
21498 { $as_echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
21499 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
21500 cat >conftest.$ac_ext <<_ACEOF
21503 cat confdefs.h >>conftest.$ac_ext
21504 cat >>conftest.$ac_ext <<_ACEOF
21505 /* end confdefs.h. */
21507 /* Override any GCC internal prototype to avoid an error.
21508 Use char because int might match the return type of a GCC
21509 builtin and then its argument prototype would still apply. */
21513 char pthread_join ();
21517 return pthread_join ();
21522 rm -f conftest.$ac_objext conftest$ac_exeext
21523 if { (ac_try="$ac_link"
21524 case "(($ac_try" in
21525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21526 *) ac_try_echo=$ac_try;;
21528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21529 $as_echo "$ac_try_echo") >&5
21530 (eval "$ac_link") 2>conftest.er1
21532 grep -v '^ *+' conftest.er1 >conftest.err
21534 cat conftest.err >&5
21535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); } && {
21537 test -z "$ac_c_werror_flag" ||
21538 test ! -s conftest.err
21539 } && test -s conftest$ac_exeext && {
21540 test "$cross_compiling" = yes ||
21541 $as_test_x conftest$ac_exeext
21545 $as_echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.$ac_ext >&5
21551 rm -rf conftest.dSYM
21552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21553 conftest$ac_exeext conftest.$ac_ext
21554 { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
21555 $as_echo "$acx_pthread_ok" >&6; }
21556 if test x"$acx_pthread_ok" = xno; then
21561 CFLAGS="$save_CFLAGS"
21564 # We must check for the threads library under a number of different
21565 # names; the ordering is very important because some systems
21566 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
21567 # libraries is broken (non-POSIX).
21569 # Create a list of thread flags to try. Items starting with a "-" are
21570 # C compiler flags, and other items are library names, except for "none"
21571 # which indicates that we try without any flags at all, and "pthread-config"
21572 # which is a program returning the flags for the Pth emulation library.
21574 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
21576 # The ordering *is* (sometimes) important. Some notes on the
21577 # individual items follow:
21579 # pthreads: AIX (must check this before -lpthread)
21580 # none: in case threads are in libc; should be tried before -Kthread and
21581 # other compiler flags to prevent continual compiler warnings
21582 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
21583 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
21584 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
21585 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
21586 # -pthreads: Solaris/gcc
21587 # -mthreads: Mingw32/gcc, Lynx/gcc
21588 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
21589 # doesn't hurt to check since this sometimes defines pthreads too;
21590 # also defines -D_REENTRANT)
21591 # ... -mt is also the pthreads flag for HP/aCC
21592 # pthread: Linux, etcetera
21593 # --thread-safe: KAI C++
21594 # pthread-config: use pthread-config program (for GNU Pth library)
21596 case "${host_cpu}-${host_os}" in
21599 # On Solaris (at least, for some versions), libc contains stubbed
21600 # (non-functional) versions of the pthreads routines, so link-based
21601 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
21602 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
21603 # a function called by this macro, so we could check for that, but
21604 # who knows whether they'll stub that too in a future libc.) So,
21605 # we'll just look for -pthreads and -lpthread first:
21607 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
21611 if test x"$acx_pthread_ok" = xno; then
21612 for flag in $acx_pthread_flags; do
21616 { $as_echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
21617 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
21621 { $as_echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
21622 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
21623 PTHREAD_CFLAGS="$flag"
21627 # Extract the first word of "pthread-config", so it can be a program name with args.
21628 set dummy pthread-config; ac_word=$2
21629 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21630 $as_echo_n "checking for $ac_word... " >&6; }
21631 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
21632 $as_echo_n "(cached) " >&6
21634 if test -n "$acx_pthread_config"; then
21635 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
21637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21638 for as_dir in $PATH
21641 test -z "$as_dir" && as_dir=.
21642 for ac_exec_ext in '' $ac_executable_extensions; do
21643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21644 ac_cv_prog_acx_pthread_config="yes"
21645 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21652 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
21655 acx_pthread_config=$ac_cv_prog_acx_pthread_config
21656 if test -n "$acx_pthread_config"; then
21657 { $as_echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
21658 $as_echo "$acx_pthread_config" >&6; }
21660 { $as_echo "$as_me:$LINENO: result: no" >&5
21661 $as_echo "no" >&6; }
21665 if test x"$acx_pthread_config" = xno; then continue; fi
21666 PTHREAD_CFLAGS="`pthread-config --cflags`"
21667 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
21671 { $as_echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
21672 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
21673 PTHREAD_LIBS="-l$flag"
21678 save_CFLAGS="$CFLAGS"
21679 LIBS="$PTHREAD_LIBS $LIBS"
21680 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
21682 # Check for various functions. We must include pthread.h,
21683 # since some functions may be macros. (On the Sequent, we
21684 # need a special flag -Kthread to make this header compile.)
21685 # We check for pthread_join because it is in -lpthread on IRIX
21686 # while pthread_create is in libc. We check for pthread_attr_init
21687 # due to DEC craziness with -lpthreads. We check for
21688 # pthread_cleanup_push because it is one of the few pthread
21689 # functions on Solaris that doesn't have a non-functional libc stub.
21690 # We try pthread_create on general principles.
21691 cat >conftest.$ac_ext <<_ACEOF
21694 cat confdefs.h >>conftest.$ac_ext
21695 cat >>conftest.$ac_ext <<_ACEOF
21696 /* end confdefs.h. */
21697 #include <pthread.h>
21701 pthread_t th; pthread_join(th, 0);
21702 pthread_attr_init(0); pthread_cleanup_push(0, 0);
21703 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
21708 rm -f conftest.$ac_objext conftest$ac_exeext
21709 if { (ac_try="$ac_link"
21710 case "(($ac_try" in
21711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21712 *) ac_try_echo=$ac_try;;
21714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21715 $as_echo "$ac_try_echo") >&5
21716 (eval "$ac_link") 2>conftest.er1
21718 grep -v '^ *+' conftest.er1 >conftest.err
21720 cat conftest.err >&5
21721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); } && {
21723 test -z "$ac_c_werror_flag" ||
21724 test ! -s conftest.err
21725 } && test -s conftest$ac_exeext && {
21726 test "$cross_compiling" = yes ||
21727 $as_test_x conftest$ac_exeext
21731 $as_echo "$as_me: failed program was:" >&5
21732 sed 's/^/| /' conftest.$ac_ext >&5
21737 rm -rf conftest.dSYM
21738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21739 conftest$ac_exeext conftest.$ac_ext
21742 CFLAGS="$save_CFLAGS"
21744 { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
21745 $as_echo "$acx_pthread_ok" >&6; }
21746 if test "x$acx_pthread_ok" = xyes; then
21755 # Various other checks:
21756 if test "x$acx_pthread_ok" = xyes; then
21758 LIBS="$PTHREAD_LIBS $LIBS"
21759 save_CFLAGS="$CFLAGS"
21760 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
21762 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
21763 { $as_echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
21764 $as_echo_n "checking for joinable pthread attribute... " >&6; }
21766 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
21767 cat >conftest.$ac_ext <<_ACEOF
21770 cat confdefs.h >>conftest.$ac_ext
21771 cat >>conftest.$ac_ext <<_ACEOF
21772 /* end confdefs.h. */
21773 #include <pthread.h>
21777 int attr=$attr; return attr;
21782 rm -f conftest.$ac_objext conftest$ac_exeext
21783 if { (ac_try="$ac_link"
21784 case "(($ac_try" in
21785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21786 *) ac_try_echo=$ac_try;;
21788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21789 $as_echo "$ac_try_echo") >&5
21790 (eval "$ac_link") 2>conftest.er1
21792 grep -v '^ *+' conftest.er1 >conftest.err
21794 cat conftest.err >&5
21795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21796 (exit $ac_status); } && {
21797 test -z "$ac_c_werror_flag" ||
21798 test ! -s conftest.err
21799 } && test -s conftest$ac_exeext && {
21800 test "$cross_compiling" = yes ||
21801 $as_test_x conftest$ac_exeext
21803 attr_name=$attr; break
21805 $as_echo "$as_me: failed program was:" >&5
21806 sed 's/^/| /' conftest.$ac_ext >&5
21811 rm -rf conftest.dSYM
21812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21813 conftest$ac_exeext conftest.$ac_ext
21815 { $as_echo "$as_me:$LINENO: result: $attr_name" >&5
21816 $as_echo "$attr_name" >&6; }
21817 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
21819 cat >>confdefs.h <<_ACEOF
21820 #define PTHREAD_CREATE_JOINABLE $attr_name
21825 { $as_echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
21826 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
21828 case "${host_cpu}-${host_os}" in
21829 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
21830 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
21832 { $as_echo "$as_me:$LINENO: result: ${flag}" >&5
21833 $as_echo "${flag}" >&6; }
21834 if test "x$flag" != xno; then
21835 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
21839 CFLAGS="$save_CFLAGS"
21841 # More AIX lossage: must compile with xlc_r or cc_r
21842 if test x"$GCC" != xyes; then
21843 for ac_prog in xlc_r cc_r
21845 # Extract the first word of "$ac_prog", so it can be a program name with args.
21846 set dummy $ac_prog; ac_word=$2
21847 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21848 $as_echo_n "checking for $ac_word... " >&6; }
21849 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
21850 $as_echo_n "(cached) " >&6
21852 if test -n "$PTHREAD_CC"; then
21853 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
21855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21856 for as_dir in $PATH
21859 test -z "$as_dir" && as_dir=.
21860 for ac_exec_ext in '' $ac_executable_extensions; do
21861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21862 ac_cv_prog_PTHREAD_CC="$ac_prog"
21863 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21872 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
21873 if test -n "$PTHREAD_CC"; then
21874 { $as_echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
21875 $as_echo "$PTHREAD_CC" >&6; }
21877 { $as_echo "$as_me:$LINENO: result: no" >&5
21878 $as_echo "no" >&6; }
21882 test -n "$PTHREAD_CC" && break
21884 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
21897 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
21898 if test x"$acx_pthread_ok" = xyes; then
21900 cat >>confdefs.h <<\_ACEOF
21901 #define HAVE_PTHREAD 1
21905 DEFINES="$DEFINES -DOMNITHREAD_POSIX=1"
21911 # If no POSIX support found, then check for NT threads
21912 { $as_echo "$as_me:$LINENO: checking for NT threads" >&5
21913 $as_echo_n "checking for NT threads... " >&6; }
21915 cat >conftest.$ac_ext <<_ACEOF
21917 #include <windows.h>
21918 #include <winbase.h>
21919 int main() { InitializeCriticalSection(NULL); return 0; }
21922 rm -f conftest.$ac_objext conftest$ac_exeext
21923 if { (ac_try="$ac_link"
21924 case "(($ac_try" in
21925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21926 *) ac_try_echo=$ac_try;;
21928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21929 $as_echo "$ac_try_echo") >&5
21930 (eval "$ac_link") 2>conftest.er1
21932 grep -v '^ *+' conftest.er1 >conftest.err
21934 cat conftest.err >&5
21935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); } && {
21937 test -z "$ac_c_werror_flag" ||
21938 test ! -s conftest.err
21939 } && test -s conftest$ac_exeext && {
21940 test "$cross_compiling" = yes ||
21941 $as_test_x conftest$ac_exeext
21945 DEFINES="$DEFINES -DOMNITHREAD_NT=1"
21948 $as_echo "$as_me: failed program was:" >&5
21949 sed 's/^/| /' conftest.$ac_ext >&5
21951 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21953 { { $as_echo "$as_me:$LINENO: error: GNU Radio requires POSIX threads. pthreads not found.
21954 See \`config.log' for more details." >&5
21955 $as_echo "$as_me: error: GNU Radio requires POSIX threads. pthreads not found.
21956 See \`config.log' for more details." >&2;}
21957 { (exit 1); exit 1; }; }; }
21961 rm -rf conftest.dSYM
21962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21963 conftest$ac_exeext conftest.$ac_ext
21964 { $as_echo "$as_me:$LINENO: result: yes" >&5
21965 $as_echo "yes" >&6; }
21969 ac_cpp='$CPP $CPPFLAGS'
21970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21975 if test "x$ot_posix" = xyes; then
21976 OMNITHREAD_POSIX_TRUE=
21977 OMNITHREAD_POSIX_FALSE='#'
21979 OMNITHREAD_POSIX_TRUE='#'
21980 OMNITHREAD_POSIX_FALSE=
21983 if test "x$ot_nt" = xyes; then
21984 OMNITHREAD_NT_TRUE=
21985 OMNITHREAD_NT_FALSE='#'
21987 OMNITHREAD_NT_TRUE='#'
21988 OMNITHREAD_NT_FALSE=
21993 { $as_echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
21994 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21995 if test "${ac_cv_search_clock_gettime+set}" = set; then
21996 $as_echo_n "(cached) " >&6
21998 ac_func_search_save_LIBS=$LIBS
21999 cat >conftest.$ac_ext <<_ACEOF
22002 cat confdefs.h >>conftest.$ac_ext
22003 cat >>conftest.$ac_ext <<_ACEOF
22004 /* end confdefs.h. */
22006 /* Override any GCC internal prototype to avoid an error.
22007 Use char because int might match the return type of a GCC
22008 builtin and then its argument prototype would still apply. */
22012 char clock_gettime ();
22016 return clock_gettime ();
22021 for ac_lib in '' rt; do
22022 if test -z "$ac_lib"; then
22023 ac_res="none required"
22026 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22028 rm -f conftest.$ac_objext conftest$ac_exeext
22029 if { (ac_try="$ac_link"
22030 case "(($ac_try" in
22031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22032 *) ac_try_echo=$ac_try;;
22034 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22035 $as_echo "$ac_try_echo") >&5
22036 (eval "$ac_link") 2>conftest.er1
22038 grep -v '^ *+' conftest.er1 >conftest.err
22040 cat conftest.err >&5
22041 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); } && {
22043 test -z "$ac_c_werror_flag" ||
22044 test ! -s conftest.err
22045 } && test -s conftest$ac_exeext && {
22046 test "$cross_compiling" = yes ||
22047 $as_test_x conftest$ac_exeext
22049 ac_cv_search_clock_gettime=$ac_res
22051 $as_echo "$as_me: failed program was:" >&5
22052 sed 's/^/| /' conftest.$ac_ext >&5
22057 rm -rf conftest.dSYM
22058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22060 if test "${ac_cv_search_clock_gettime+set}" = set; then
22064 if test "${ac_cv_search_clock_gettime+set}" = set; then
22067 ac_cv_search_clock_gettime=no
22069 rm conftest.$ac_ext
22070 LIBS=$ac_func_search_save_LIBS
22072 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
22073 $as_echo "$ac_cv_search_clock_gettime" >&6; }
22074 ac_res=$ac_cv_search_clock_gettime
22075 if test "$ac_res" != no; then
22076 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22077 PTHREAD_LIBS="$PTHREAD_LIBS $LIBS"
22083 for ac_func in clock_gettime gettimeofday nanosleep
22085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22086 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
22087 $as_echo_n "checking for $ac_func... " >&6; }
22088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22089 $as_echo_n "(cached) " >&6
22091 cat >conftest.$ac_ext <<_ACEOF
22094 cat confdefs.h >>conftest.$ac_ext
22095 cat >>conftest.$ac_ext <<_ACEOF
22096 /* end confdefs.h. */
22097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22099 #define $ac_func innocuous_$ac_func
22101 /* System header to define __stub macros and hopefully few prototypes,
22102 which can conflict with char $ac_func (); below.
22103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22104 <limits.h> exists even on freestanding compilers. */
22107 # include <limits.h>
22109 # include <assert.h>
22114 /* Override any GCC internal prototype to avoid an error.
22115 Use char because int might match the return type of a GCC
22116 builtin and then its argument prototype would still apply. */
22121 /* The GNU C library defines this for functions which it implements
22122 to always fail with ENOSYS. Some functions are actually named
22123 something starting with __ and the normal name is an alias. */
22124 #if defined __stub_$ac_func || defined __stub___$ac_func
22131 return $ac_func ();
22136 rm -f conftest.$ac_objext conftest$ac_exeext
22137 if { (ac_try="$ac_link"
22138 case "(($ac_try" in
22139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22140 *) ac_try_echo=$ac_try;;
22142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22143 $as_echo "$ac_try_echo") >&5
22144 (eval "$ac_link") 2>conftest.er1
22146 grep -v '^ *+' conftest.er1 >conftest.err
22148 cat conftest.err >&5
22149 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); } && {
22151 test -z "$ac_c_werror_flag" ||
22152 test ! -s conftest.err
22153 } && test -s conftest$ac_exeext && {
22154 test "$cross_compiling" = yes ||
22155 $as_test_x conftest$ac_exeext
22157 eval "$as_ac_var=yes"
22159 $as_echo "$as_me: failed program was:" >&5
22160 sed 's/^/| /' conftest.$ac_ext >&5
22162 eval "$as_ac_var=no"
22165 rm -rf conftest.dSYM
22166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22167 conftest$ac_exeext conftest.$ac_ext
22169 ac_res=`eval 'as_val=${'$as_ac_var'}
22170 $as_echo "$as_val"'`
22171 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22172 $as_echo "$ac_res" >&6; }
22173 as_val=`eval 'as_val=${'$as_ac_var'}
22174 $as_echo "$as_val"'`
22175 if test "x$as_val" = x""yes; then
22176 cat >>confdefs.h <<_ACEOF
22177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22186 if test x$CXX_FOR_BUILD = x
22188 if test x$cross_compiling = xno; then
22189 CXX_FOR_BUILD=${CXX}
22199 ac_cpp='$CPP $CPPFLAGS'
22200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22207 for ac_header in sys/ipc.h sys/shm.h
22209 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22210 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22211 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22212 $as_echo_n "checking for $ac_header... " >&6; }
22213 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22214 $as_echo_n "(cached) " >&6
22216 ac_res=`eval 'as_val=${'$as_ac_Header'}
22217 $as_echo "$as_val"'`
22218 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22219 $as_echo "$ac_res" >&6; }
22221 # Is the header compilable?
22222 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
22223 $as_echo_n "checking $ac_header usability... " >&6; }
22224 cat >conftest.$ac_ext <<_ACEOF
22227 cat confdefs.h >>conftest.$ac_ext
22228 cat >>conftest.$ac_ext <<_ACEOF
22229 /* end confdefs.h. */
22230 $ac_includes_default
22231 #include <$ac_header>
22233 rm -f conftest.$ac_objext
22234 if { (ac_try="$ac_compile"
22235 case "(($ac_try" in
22236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22237 *) ac_try_echo=$ac_try;;
22239 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22240 $as_echo "$ac_try_echo") >&5
22241 (eval "$ac_compile") 2>conftest.er1
22243 grep -v '^ *+' conftest.er1 >conftest.err
22245 cat conftest.err >&5
22246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); } && {
22248 test -z "$ac_c_werror_flag" ||
22249 test ! -s conftest.err
22250 } && test -s conftest.$ac_objext; then
22251 ac_header_compiler=yes
22253 $as_echo "$as_me: failed program was:" >&5
22254 sed 's/^/| /' conftest.$ac_ext >&5
22256 ac_header_compiler=no
22259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22260 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22261 $as_echo "$ac_header_compiler" >&6; }
22263 # Is the header present?
22264 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
22265 $as_echo_n "checking $ac_header presence... " >&6; }
22266 cat >conftest.$ac_ext <<_ACEOF
22269 cat confdefs.h >>conftest.$ac_ext
22270 cat >>conftest.$ac_ext <<_ACEOF
22271 /* end confdefs.h. */
22272 #include <$ac_header>
22274 if { (ac_try="$ac_cpp conftest.$ac_ext"
22275 case "(($ac_try" in
22276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22277 *) ac_try_echo=$ac_try;;
22279 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22280 $as_echo "$ac_try_echo") >&5
22281 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22283 grep -v '^ *+' conftest.er1 >conftest.err
22285 cat conftest.err >&5
22286 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); } >/dev/null && {
22288 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22289 test ! -s conftest.err
22291 ac_header_preproc=yes
22293 $as_echo "$as_me: failed program was:" >&5
22294 sed 's/^/| /' conftest.$ac_ext >&5
22296 ac_header_preproc=no
22299 rm -f conftest.err conftest.$ac_ext
22300 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22301 $as_echo "$ac_header_preproc" >&6; }
22303 # So? What about this header?
22304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22306 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22307 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22308 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22309 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22310 ac_header_preproc=yes
22313 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22314 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22315 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22316 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22317 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22318 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22319 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22320 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22321 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22322 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22323 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22324 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22328 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22329 $as_echo_n "checking for $ac_header... " >&6; }
22330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22331 $as_echo_n "(cached) " >&6
22333 eval "$as_ac_Header=\$ac_header_preproc"
22335 ac_res=`eval 'as_val=${'$as_ac_Header'}
22336 $as_echo "$as_val"'`
22337 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22338 $as_echo "$ac_res" >&6; }
22341 as_val=`eval 'as_val=${'$as_ac_Header'}
22342 $as_echo "$as_val"'`
22343 if test "x$as_val" = x""yes; then
22344 cat >>confdefs.h <<_ACEOF
22345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22354 { $as_echo "$as_me:$LINENO: checking for library containing shmat" >&5
22355 $as_echo_n "checking for library containing shmat... " >&6; }
22356 if test "${ac_cv_search_shmat+set}" = set; then
22357 $as_echo_n "(cached) " >&6
22359 ac_func_search_save_LIBS=$LIBS
22360 cat >conftest.$ac_ext <<_ACEOF
22363 cat confdefs.h >>conftest.$ac_ext
22364 cat >>conftest.$ac_ext <<_ACEOF
22365 /* end confdefs.h. */
22367 /* Override any GCC internal prototype to avoid an error.
22368 Use char because int might match the return type of a GCC
22369 builtin and then its argument prototype would still apply. */
22382 for ac_lib in '' cygipc ipc; do
22383 if test -z "$ac_lib"; then
22384 ac_res="none required"
22387 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22389 rm -f conftest.$ac_objext conftest$ac_exeext
22390 if { (ac_try="$ac_link"
22391 case "(($ac_try" in
22392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22393 *) ac_try_echo=$ac_try;;
22395 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22396 $as_echo "$ac_try_echo") >&5
22397 (eval "$ac_link") 2>conftest.er1
22399 grep -v '^ *+' conftest.er1 >conftest.err
22401 cat conftest.err >&5
22402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); } && {
22404 test -z "$ac_c_werror_flag" ||
22405 test ! -s conftest.err
22406 } && test -s conftest$ac_exeext && {
22407 test "$cross_compiling" = yes ||
22408 $as_test_x conftest$ac_exeext
22410 ac_cv_search_shmat=$ac_res
22412 $as_echo "$as_me: failed program was:" >&5
22413 sed 's/^/| /' conftest.$ac_ext >&5
22418 rm -rf conftest.dSYM
22419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22421 if test "${ac_cv_search_shmat+set}" = set; then
22425 if test "${ac_cv_search_shmat+set}" = set; then
22428 ac_cv_search_shmat=no
22430 rm conftest.$ac_ext
22431 LIBS=$ac_func_search_save_LIBS
22433 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_shmat" >&5
22434 $as_echo "$ac_cv_search_shmat" >&6; }
22435 ac_res=$ac_cv_search_shmat
22436 if test "$ac_res" != no; then
22437 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22440 { $as_echo "$as_me:$LINENO: WARNING: SystemV IPC support not found. " >&5
22441 $as_echo "$as_me: WARNING: SystemV IPC support not found. " >&2;}
22448 ac_cpp='$CPP $CPPFLAGS'
22449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22456 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
22457 $as_echo_n "checking for ANSI C header files... " >&6; }
22458 if test "${ac_cv_header_stdc+set}" = set; then
22459 $as_echo_n "(cached) " >&6
22461 cat >conftest.$ac_ext <<_ACEOF
22464 cat confdefs.h >>conftest.$ac_ext
22465 cat >>conftest.$ac_ext <<_ACEOF
22466 /* end confdefs.h. */
22467 #include <stdlib.h>
22468 #include <stdarg.h>
22469 #include <string.h>
22480 rm -f conftest.$ac_objext
22481 if { (ac_try="$ac_compile"
22482 case "(($ac_try" in
22483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22484 *) ac_try_echo=$ac_try;;
22486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22487 $as_echo "$ac_try_echo") >&5
22488 (eval "$ac_compile") 2>conftest.er1
22490 grep -v '^ *+' conftest.er1 >conftest.err
22492 cat conftest.err >&5
22493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); } && {
22495 test -z "$ac_c_werror_flag" ||
22496 test ! -s conftest.err
22497 } && test -s conftest.$ac_objext; then
22498 ac_cv_header_stdc=yes
22500 $as_echo "$as_me: failed program was:" >&5
22501 sed 's/^/| /' conftest.$ac_ext >&5
22503 ac_cv_header_stdc=no
22506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22508 if test $ac_cv_header_stdc = yes; then
22509 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
22510 cat >conftest.$ac_ext <<_ACEOF
22513 cat confdefs.h >>conftest.$ac_ext
22514 cat >>conftest.$ac_ext <<_ACEOF
22515 /* end confdefs.h. */
22516 #include <string.h>
22519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22520 $EGREP "memchr" >/dev/null 2>&1; then
22523 ac_cv_header_stdc=no
22529 if test $ac_cv_header_stdc = yes; then
22530 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
22531 cat >conftest.$ac_ext <<_ACEOF
22534 cat confdefs.h >>conftest.$ac_ext
22535 cat >>conftest.$ac_ext <<_ACEOF
22536 /* end confdefs.h. */
22537 #include <stdlib.h>
22540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22541 $EGREP "free" >/dev/null 2>&1; then
22544 ac_cv_header_stdc=no
22550 if test $ac_cv_header_stdc = yes; then
22551 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
22552 if test "$cross_compiling" = yes; then
22555 cat >conftest.$ac_ext <<_ACEOF
22558 cat confdefs.h >>conftest.$ac_ext
22559 cat >>conftest.$ac_ext <<_ACEOF
22560 /* end confdefs.h. */
22562 #include <stdlib.h>
22563 #if ((' ' & 0x0FF) == 0x020)
22564 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
22565 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
22567 # define ISLOWER(c) \
22568 (('a' <= (c) && (c) <= 'i') \
22569 || ('j' <= (c) && (c) <= 'r') \
22570 || ('s' <= (c) && (c) <= 'z'))
22571 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
22574 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
22579 for (i = 0; i < 256; i++)
22580 if (XOR (islower (i), ISLOWER (i))
22581 || toupper (i) != TOUPPER (i))
22586 rm -f conftest$ac_exeext
22587 if { (ac_try="$ac_link"
22588 case "(($ac_try" in
22589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22590 *) ac_try_echo=$ac_try;;
22592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22593 $as_echo "$ac_try_echo") >&5
22594 (eval "$ac_link") 2>&5
22596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22597 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22598 { (case "(($ac_try" in
22599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22600 *) ac_try_echo=$ac_try;;
22602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22603 $as_echo "$ac_try_echo") >&5
22604 (eval "$ac_try") 2>&5
22606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); }; }; then
22610 $as_echo "$as_me: program exited with status $ac_status" >&5
22611 $as_echo "$as_me: failed program was:" >&5
22612 sed 's/^/| /' conftest.$ac_ext >&5
22614 ( exit $ac_status )
22615 ac_cv_header_stdc=no
22617 rm -rf conftest.dSYM
22618 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22624 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
22625 $as_echo "$ac_cv_header_stdc" >&6; }
22626 if test $ac_cv_header_stdc = yes; then
22628 cat >>confdefs.h <<\_ACEOF
22629 #define STDC_HEADERS 1
22634 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
22635 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
22636 if test "${ac_cv_header_sys_wait_h+set}" = set; then
22637 $as_echo_n "(cached) " >&6
22639 cat >conftest.$ac_ext <<_ACEOF
22642 cat confdefs.h >>conftest.$ac_ext
22643 cat >>conftest.$ac_ext <<_ACEOF
22644 /* end confdefs.h. */
22645 #include <sys/types.h>
22646 #include <sys/wait.h>
22647 #ifndef WEXITSTATUS
22648 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
22651 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
22659 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
22664 rm -f conftest.$ac_objext
22665 if { (ac_try="$ac_compile"
22666 case "(($ac_try" in
22667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22668 *) ac_try_echo=$ac_try;;
22670 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22671 $as_echo "$ac_try_echo") >&5
22672 (eval "$ac_compile") 2>conftest.er1
22674 grep -v '^ *+' conftest.er1 >conftest.err
22676 cat conftest.err >&5
22677 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678 (exit $ac_status); } && {
22679 test -z "$ac_c_werror_flag" ||
22680 test ! -s conftest.err
22681 } && test -s conftest.$ac_objext; then
22682 ac_cv_header_sys_wait_h=yes
22684 $as_echo "$as_me: failed program was:" >&5
22685 sed 's/^/| /' conftest.$ac_ext >&5
22687 ac_cv_header_sys_wait_h=no
22690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22692 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
22693 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
22694 if test $ac_cv_header_sys_wait_h = yes; then
22696 cat >>confdefs.h <<\_ACEOF
22697 #define HAVE_SYS_WAIT_H 1
22709 for ac_header in fcntl.h limits.h strings.h time.h sys/ioctl.h sys/time.h unistd.h
22711 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22712 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22713 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22714 $as_echo_n "checking for $ac_header... " >&6; }
22715 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22716 $as_echo_n "(cached) " >&6
22718 ac_res=`eval 'as_val=${'$as_ac_Header'}
22719 $as_echo "$as_val"'`
22720 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22721 $as_echo "$ac_res" >&6; }
22723 # Is the header compilable?
22724 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
22725 $as_echo_n "checking $ac_header usability... " >&6; }
22726 cat >conftest.$ac_ext <<_ACEOF
22729 cat confdefs.h >>conftest.$ac_ext
22730 cat >>conftest.$ac_ext <<_ACEOF
22731 /* end confdefs.h. */
22732 $ac_includes_default
22733 #include <$ac_header>
22735 rm -f conftest.$ac_objext
22736 if { (ac_try="$ac_compile"
22737 case "(($ac_try" in
22738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22739 *) ac_try_echo=$ac_try;;
22741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22742 $as_echo "$ac_try_echo") >&5
22743 (eval "$ac_compile") 2>conftest.er1
22745 grep -v '^ *+' conftest.er1 >conftest.err
22747 cat conftest.err >&5
22748 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); } && {
22750 test -z "$ac_c_werror_flag" ||
22751 test ! -s conftest.err
22752 } && test -s conftest.$ac_objext; then
22753 ac_header_compiler=yes
22755 $as_echo "$as_me: failed program was:" >&5
22756 sed 's/^/| /' conftest.$ac_ext >&5
22758 ac_header_compiler=no
22761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22762 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22763 $as_echo "$ac_header_compiler" >&6; }
22765 # Is the header present?
22766 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
22767 $as_echo_n "checking $ac_header presence... " >&6; }
22768 cat >conftest.$ac_ext <<_ACEOF
22771 cat confdefs.h >>conftest.$ac_ext
22772 cat >>conftest.$ac_ext <<_ACEOF
22773 /* end confdefs.h. */
22774 #include <$ac_header>
22776 if { (ac_try="$ac_cpp conftest.$ac_ext"
22777 case "(($ac_try" in
22778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22779 *) ac_try_echo=$ac_try;;
22781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22782 $as_echo "$ac_try_echo") >&5
22783 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22785 grep -v '^ *+' conftest.er1 >conftest.err
22787 cat conftest.err >&5
22788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); } >/dev/null && {
22790 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22791 test ! -s conftest.err
22793 ac_header_preproc=yes
22795 $as_echo "$as_me: failed program was:" >&5
22796 sed 's/^/| /' conftest.$ac_ext >&5
22798 ac_header_preproc=no
22801 rm -f conftest.err conftest.$ac_ext
22802 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22803 $as_echo "$ac_header_preproc" >&6; }
22805 # So? What about this header?
22806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22808 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22809 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22810 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22811 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22812 ac_header_preproc=yes
22815 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22816 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22817 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22818 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22819 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22820 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22821 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22822 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22823 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22824 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22825 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22826 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22830 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22831 $as_echo_n "checking for $ac_header... " >&6; }
22832 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22833 $as_echo_n "(cached) " >&6
22835 eval "$as_ac_Header=\$ac_header_preproc"
22837 ac_res=`eval 'as_val=${'$as_ac_Header'}
22838 $as_echo "$as_val"'`
22839 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22840 $as_echo "$ac_res" >&6; }
22843 as_val=`eval 'as_val=${'$as_ac_Header'}
22844 $as_echo "$as_val"'`
22845 if test "x$as_val" = x""yes; then
22846 cat >>confdefs.h <<_ACEOF
22847 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22859 for ac_header in linux/ppdev.h dev/ppbus/ppi.h sys/mman.h sys/select.h sys/types.h
22861 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22862 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22863 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22864 $as_echo_n "checking for $ac_header... " >&6; }
22865 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22866 $as_echo_n "(cached) " >&6
22868 ac_res=`eval 'as_val=${'$as_ac_Header'}
22869 $as_echo "$as_val"'`
22870 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22871 $as_echo "$ac_res" >&6; }
22873 # Is the header compilable?
22874 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
22875 $as_echo_n "checking $ac_header usability... " >&6; }
22876 cat >conftest.$ac_ext <<_ACEOF
22879 cat confdefs.h >>conftest.$ac_ext
22880 cat >>conftest.$ac_ext <<_ACEOF
22881 /* end confdefs.h. */
22882 $ac_includes_default
22883 #include <$ac_header>
22885 rm -f conftest.$ac_objext
22886 if { (ac_try="$ac_compile"
22887 case "(($ac_try" in
22888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22889 *) ac_try_echo=$ac_try;;
22891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22892 $as_echo "$ac_try_echo") >&5
22893 (eval "$ac_compile") 2>conftest.er1
22895 grep -v '^ *+' conftest.er1 >conftest.err
22897 cat conftest.err >&5
22898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); } && {
22900 test -z "$ac_c_werror_flag" ||
22901 test ! -s conftest.err
22902 } && test -s conftest.$ac_objext; then
22903 ac_header_compiler=yes
22905 $as_echo "$as_me: failed program was:" >&5
22906 sed 's/^/| /' conftest.$ac_ext >&5
22908 ac_header_compiler=no
22911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22912 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22913 $as_echo "$ac_header_compiler" >&6; }
22915 # Is the header present?
22916 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
22917 $as_echo_n "checking $ac_header presence... " >&6; }
22918 cat >conftest.$ac_ext <<_ACEOF
22921 cat confdefs.h >>conftest.$ac_ext
22922 cat >>conftest.$ac_ext <<_ACEOF
22923 /* end confdefs.h. */
22924 #include <$ac_header>
22926 if { (ac_try="$ac_cpp conftest.$ac_ext"
22927 case "(($ac_try" in
22928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22929 *) ac_try_echo=$ac_try;;
22931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22932 $as_echo "$ac_try_echo") >&5
22933 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22935 grep -v '^ *+' conftest.er1 >conftest.err
22937 cat conftest.err >&5
22938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); } >/dev/null && {
22940 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22941 test ! -s conftest.err
22943 ac_header_preproc=yes
22945 $as_echo "$as_me: failed program was:" >&5
22946 sed 's/^/| /' conftest.$ac_ext >&5
22948 ac_header_preproc=no
22951 rm -f conftest.err conftest.$ac_ext
22952 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22953 $as_echo "$ac_header_preproc" >&6; }
22955 # So? What about this header?
22956 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22958 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22959 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22960 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22961 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22962 ac_header_preproc=yes
22965 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22966 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22967 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22968 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22969 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22970 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22971 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22972 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22973 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22974 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22975 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22976 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22980 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22981 $as_echo_n "checking for $ac_header... " >&6; }
22982 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22983 $as_echo_n "(cached) " >&6
22985 eval "$as_ac_Header=\$ac_header_preproc"
22987 ac_res=`eval 'as_val=${'$as_ac_Header'}
22988 $as_echo "$as_val"'`
22989 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22990 $as_echo "$ac_res" >&6; }
22993 as_val=`eval 'as_val=${'$as_ac_Header'}
22994 $as_echo "$as_val"'`
22995 if test "x$as_val" = x""yes; then
22996 cat >>confdefs.h <<_ACEOF
22997 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23010 for ac_header in sys/resource.h stdint.h sched.h signal.h sys/syscall.h malloc.h
23012 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23013 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23014 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23015 $as_echo_n "checking for $ac_header... " >&6; }
23016 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23017 $as_echo_n "(cached) " >&6
23019 ac_res=`eval 'as_val=${'$as_ac_Header'}
23020 $as_echo "$as_val"'`
23021 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23022 $as_echo "$ac_res" >&6; }
23024 # Is the header compilable?
23025 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23026 $as_echo_n "checking $ac_header usability... " >&6; }
23027 cat >conftest.$ac_ext <<_ACEOF
23030 cat confdefs.h >>conftest.$ac_ext
23031 cat >>conftest.$ac_ext <<_ACEOF
23032 /* end confdefs.h. */
23033 $ac_includes_default
23034 #include <$ac_header>
23036 rm -f conftest.$ac_objext
23037 if { (ac_try="$ac_compile"
23038 case "(($ac_try" in
23039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23040 *) ac_try_echo=$ac_try;;
23042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23043 $as_echo "$ac_try_echo") >&5
23044 (eval "$ac_compile") 2>conftest.er1
23046 grep -v '^ *+' conftest.er1 >conftest.err
23048 cat conftest.err >&5
23049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); } && {
23051 test -z "$ac_c_werror_flag" ||
23052 test ! -s conftest.err
23053 } && test -s conftest.$ac_objext; then
23054 ac_header_compiler=yes
23056 $as_echo "$as_me: failed program was:" >&5
23057 sed 's/^/| /' conftest.$ac_ext >&5
23059 ac_header_compiler=no
23062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23063 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23064 $as_echo "$ac_header_compiler" >&6; }
23066 # Is the header present?
23067 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23068 $as_echo_n "checking $ac_header presence... " >&6; }
23069 cat >conftest.$ac_ext <<_ACEOF
23072 cat confdefs.h >>conftest.$ac_ext
23073 cat >>conftest.$ac_ext <<_ACEOF
23074 /* end confdefs.h. */
23075 #include <$ac_header>
23077 if { (ac_try="$ac_cpp conftest.$ac_ext"
23078 case "(($ac_try" in
23079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23080 *) ac_try_echo=$ac_try;;
23082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23083 $as_echo "$ac_try_echo") >&5
23084 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23086 grep -v '^ *+' conftest.er1 >conftest.err
23088 cat conftest.err >&5
23089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); } >/dev/null && {
23091 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23092 test ! -s conftest.err
23094 ac_header_preproc=yes
23096 $as_echo "$as_me: failed program was:" >&5
23097 sed 's/^/| /' conftest.$ac_ext >&5
23099 ac_header_preproc=no
23102 rm -f conftest.err conftest.$ac_ext
23103 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23104 $as_echo "$ac_header_preproc" >&6; }
23106 # So? What about this header?
23107 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23109 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23110 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23111 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23112 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23113 ac_header_preproc=yes
23116 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23117 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23118 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23119 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23120 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23121 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23122 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23123 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23124 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23125 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23126 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23127 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23131 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23132 $as_echo_n "checking for $ac_header... " >&6; }
23133 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23134 $as_echo_n "(cached) " >&6
23136 eval "$as_ac_Header=\$ac_header_preproc"
23138 ac_res=`eval 'as_val=${'$as_ac_Header'}
23139 $as_echo "$as_val"'`
23140 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23141 $as_echo "$ac_res" >&6; }
23144 as_val=`eval 'as_val=${'$as_ac_Header'}
23145 $as_echo "$as_val"'`
23146 if test "x$as_val" = x""yes; then
23147 cat >>confdefs.h <<_ACEOF
23148 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23156 for ac_header in netinet/in.h
23158 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23160 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23161 $as_echo_n "checking for $ac_header... " >&6; }
23162 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23163 $as_echo_n "(cached) " >&6
23165 ac_res=`eval 'as_val=${'$as_ac_Header'}
23166 $as_echo "$as_val"'`
23167 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23168 $as_echo "$ac_res" >&6; }
23170 # Is the header compilable?
23171 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23172 $as_echo_n "checking $ac_header usability... " >&6; }
23173 cat >conftest.$ac_ext <<_ACEOF
23176 cat confdefs.h >>conftest.$ac_ext
23177 cat >>conftest.$ac_ext <<_ACEOF
23178 /* end confdefs.h. */
23179 $ac_includes_default
23180 #include <$ac_header>
23182 rm -f conftest.$ac_objext
23183 if { (ac_try="$ac_compile"
23184 case "(($ac_try" in
23185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23186 *) ac_try_echo=$ac_try;;
23188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23189 $as_echo "$ac_try_echo") >&5
23190 (eval "$ac_compile") 2>conftest.er1
23192 grep -v '^ *+' conftest.er1 >conftest.err
23194 cat conftest.err >&5
23195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23196 (exit $ac_status); } && {
23197 test -z "$ac_c_werror_flag" ||
23198 test ! -s conftest.err
23199 } && test -s conftest.$ac_objext; then
23200 ac_header_compiler=yes
23202 $as_echo "$as_me: failed program was:" >&5
23203 sed 's/^/| /' conftest.$ac_ext >&5
23205 ac_header_compiler=no
23208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23209 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23210 $as_echo "$ac_header_compiler" >&6; }
23212 # Is the header present?
23213 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23214 $as_echo_n "checking $ac_header presence... " >&6; }
23215 cat >conftest.$ac_ext <<_ACEOF
23218 cat confdefs.h >>conftest.$ac_ext
23219 cat >>conftest.$ac_ext <<_ACEOF
23220 /* end confdefs.h. */
23221 #include <$ac_header>
23223 if { (ac_try="$ac_cpp conftest.$ac_ext"
23224 case "(($ac_try" in
23225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23226 *) ac_try_echo=$ac_try;;
23228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23229 $as_echo "$ac_try_echo") >&5
23230 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23232 grep -v '^ *+' conftest.er1 >conftest.err
23234 cat conftest.err >&5
23235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); } >/dev/null && {
23237 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23238 test ! -s conftest.err
23240 ac_header_preproc=yes
23242 $as_echo "$as_me: failed program was:" >&5
23243 sed 's/^/| /' conftest.$ac_ext >&5
23245 ac_header_preproc=no
23248 rm -f conftest.err conftest.$ac_ext
23249 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23250 $as_echo "$ac_header_preproc" >&6; }
23252 # So? What about this header?
23253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23255 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23256 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23257 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23258 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23259 ac_header_preproc=yes
23262 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23263 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23264 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23265 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23266 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23267 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23268 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23269 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23270 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23271 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23272 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23273 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23277 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23278 $as_echo_n "checking for $ac_header... " >&6; }
23279 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23280 $as_echo_n "(cached) " >&6
23282 eval "$as_ac_Header=\$ac_header_preproc"
23284 ac_res=`eval 'as_val=${'$as_ac_Header'}
23285 $as_echo "$as_val"'`
23286 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23287 $as_echo "$ac_res" >&6; }
23290 as_val=`eval 'as_val=${'$as_ac_Header'}
23291 $as_echo "$as_val"'`
23292 if test "x$as_val" = x""yes; then
23293 cat >>confdefs.h <<_ACEOF
23294 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23302 for ac_header in windows.h
23304 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23305 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23306 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23307 $as_echo_n "checking for $ac_header... " >&6; }
23308 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23309 $as_echo_n "(cached) " >&6
23311 ac_res=`eval 'as_val=${'$as_ac_Header'}
23312 $as_echo "$as_val"'`
23313 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23314 $as_echo "$ac_res" >&6; }
23316 # Is the header compilable?
23317 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23318 $as_echo_n "checking $ac_header usability... " >&6; }
23319 cat >conftest.$ac_ext <<_ACEOF
23322 cat confdefs.h >>conftest.$ac_ext
23323 cat >>conftest.$ac_ext <<_ACEOF
23324 /* end confdefs.h. */
23325 $ac_includes_default
23326 #include <$ac_header>
23328 rm -f conftest.$ac_objext
23329 if { (ac_try="$ac_compile"
23330 case "(($ac_try" in
23331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23332 *) ac_try_echo=$ac_try;;
23334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23335 $as_echo "$ac_try_echo") >&5
23336 (eval "$ac_compile") 2>conftest.er1
23338 grep -v '^ *+' conftest.er1 >conftest.err
23340 cat conftest.err >&5
23341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342 (exit $ac_status); } && {
23343 test -z "$ac_c_werror_flag" ||
23344 test ! -s conftest.err
23345 } && test -s conftest.$ac_objext; then
23346 ac_header_compiler=yes
23348 $as_echo "$as_me: failed program was:" >&5
23349 sed 's/^/| /' conftest.$ac_ext >&5
23351 ac_header_compiler=no
23354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23355 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23356 $as_echo "$ac_header_compiler" >&6; }
23358 # Is the header present?
23359 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23360 $as_echo_n "checking $ac_header presence... " >&6; }
23361 cat >conftest.$ac_ext <<_ACEOF
23364 cat confdefs.h >>conftest.$ac_ext
23365 cat >>conftest.$ac_ext <<_ACEOF
23366 /* end confdefs.h. */
23367 #include <$ac_header>
23369 if { (ac_try="$ac_cpp conftest.$ac_ext"
23370 case "(($ac_try" in
23371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23372 *) ac_try_echo=$ac_try;;
23374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23375 $as_echo "$ac_try_echo") >&5
23376 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23378 grep -v '^ *+' conftest.er1 >conftest.err
23380 cat conftest.err >&5
23381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); } >/dev/null && {
23383 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23384 test ! -s conftest.err
23386 ac_header_preproc=yes
23388 $as_echo "$as_me: failed program was:" >&5
23389 sed 's/^/| /' conftest.$ac_ext >&5
23391 ac_header_preproc=no
23394 rm -f conftest.err conftest.$ac_ext
23395 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23396 $as_echo "$ac_header_preproc" >&6; }
23398 # So? What about this header?
23399 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23401 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23402 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23403 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23404 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23405 ac_header_preproc=yes
23408 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23409 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23410 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23411 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23412 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23413 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23414 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23415 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23416 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23417 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23418 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23419 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23423 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23424 $as_echo_n "checking for $ac_header... " >&6; }
23425 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23426 $as_echo_n "(cached) " >&6
23428 eval "$as_ac_Header=\$ac_header_preproc"
23430 ac_res=`eval 'as_val=${'$as_ac_Header'}
23431 $as_echo "$as_val"'`
23432 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23433 $as_echo "$ac_res" >&6; }
23436 as_val=`eval 'as_val=${'$as_ac_Header'}
23437 $as_echo "$as_val"'`
23438 if test "x$as_val" = x""yes; then
23439 cat >>confdefs.h <<_ACEOF
23440 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23448 for ac_header in vec_types.h
23450 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23452 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23453 $as_echo_n "checking for $ac_header... " >&6; }
23454 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23455 $as_echo_n "(cached) " >&6
23457 ac_res=`eval 'as_val=${'$as_ac_Header'}
23458 $as_echo "$as_val"'`
23459 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23460 $as_echo "$ac_res" >&6; }
23462 # Is the header compilable?
23463 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23464 $as_echo_n "checking $ac_header usability... " >&6; }
23465 cat >conftest.$ac_ext <<_ACEOF
23468 cat confdefs.h >>conftest.$ac_ext
23469 cat >>conftest.$ac_ext <<_ACEOF
23470 /* end confdefs.h. */
23471 $ac_includes_default
23472 #include <$ac_header>
23474 rm -f conftest.$ac_objext
23475 if { (ac_try="$ac_compile"
23476 case "(($ac_try" in
23477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23478 *) ac_try_echo=$ac_try;;
23480 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23481 $as_echo "$ac_try_echo") >&5
23482 (eval "$ac_compile") 2>conftest.er1
23484 grep -v '^ *+' conftest.er1 >conftest.err
23486 cat conftest.err >&5
23487 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23488 (exit $ac_status); } && {
23489 test -z "$ac_c_werror_flag" ||
23490 test ! -s conftest.err
23491 } && test -s conftest.$ac_objext; then
23492 ac_header_compiler=yes
23494 $as_echo "$as_me: failed program was:" >&5
23495 sed 's/^/| /' conftest.$ac_ext >&5
23497 ac_header_compiler=no
23500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23501 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23502 $as_echo "$ac_header_compiler" >&6; }
23504 # Is the header present?
23505 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23506 $as_echo_n "checking $ac_header presence... " >&6; }
23507 cat >conftest.$ac_ext <<_ACEOF
23510 cat confdefs.h >>conftest.$ac_ext
23511 cat >>conftest.$ac_ext <<_ACEOF
23512 /* end confdefs.h. */
23513 #include <$ac_header>
23515 if { (ac_try="$ac_cpp conftest.$ac_ext"
23516 case "(($ac_try" in
23517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23518 *) ac_try_echo=$ac_try;;
23520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23521 $as_echo "$ac_try_echo") >&5
23522 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23524 grep -v '^ *+' conftest.er1 >conftest.err
23526 cat conftest.err >&5
23527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); } >/dev/null && {
23529 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23530 test ! -s conftest.err
23532 ac_header_preproc=yes
23534 $as_echo "$as_me: failed program was:" >&5
23535 sed 's/^/| /' conftest.$ac_ext >&5
23537 ac_header_preproc=no
23540 rm -f conftest.err conftest.$ac_ext
23541 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23542 $as_echo "$ac_header_preproc" >&6; }
23544 # So? What about this header?
23545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23547 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23548 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23549 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23550 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23551 ac_header_preproc=yes
23554 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23555 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23556 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23557 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23558 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23559 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23560 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23561 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23562 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23563 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23564 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23565 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23569 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23570 $as_echo_n "checking for $ac_header... " >&6; }
23571 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23572 $as_echo_n "(cached) " >&6
23574 eval "$as_ac_Header=\$ac_header_preproc"
23576 ac_res=`eval 'as_val=${'$as_ac_Header'}
23577 $as_echo "$as_val"'`
23578 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23579 $as_echo "$ac_res" >&6; }
23582 as_val=`eval 'as_val=${'$as_ac_Header'}
23583 $as_echo "$as_val"'`
23584 if test "x$as_val" = x""yes; then
23585 cat >>confdefs.h <<_ACEOF
23586 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23594 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
23595 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
23596 if test "${ac_cv_c_const+set}" = set; then
23597 $as_echo_n "(cached) " >&6
23599 cat >conftest.$ac_ext <<_ACEOF
23602 cat confdefs.h >>conftest.$ac_ext
23603 cat >>conftest.$ac_ext <<_ACEOF
23604 /* end confdefs.h. */
23609 /* FIXME: Include the comments suggested by Paul. */
23610 #ifndef __cplusplus
23611 /* Ultrix mips cc rejects this. */
23612 typedef int charset[2];
23614 /* SunOS 4.1.1 cc rejects this. */
23615 char const *const *pcpcc;
23617 /* NEC SVR4.0.2 mips cc rejects this. */
23618 struct point {int x, y;};
23619 static struct point const zero = {0,0};
23620 /* AIX XL C 1.02.0.0 rejects this.
23621 It does not let you subtract one const X* pointer from another in
23622 an arm of an if-expression whose if-part is not a constant
23624 const char *g = "string";
23625 pcpcc = &g + (g ? g-g : 0);
23626 /* HPUX 7.0 cc rejects these. */
23628 ppc = (char**) pcpcc;
23629 pcpcc = (char const *const *) ppc;
23630 { /* SCO 3.2v4 cc rejects this. */
23632 char const *s = 0 ? (char *) 0 : (char const *) 0;
23637 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
23638 int x[] = {25, 17};
23639 const int *foo = &x[0];
23642 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
23643 typedef const int *iptr;
23647 { /* AIX XL C 1.02.0.0 rejects this saying
23648 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
23649 struct s { int j; const int *ap[3]; };
23650 struct s *b; b->j = 5;
23652 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
23653 const int foo = 10;
23654 if (!foo) return 0;
23656 return !cs[0] && !zero.x;
23663 rm -f conftest.$ac_objext
23664 if { (ac_try="$ac_compile"
23665 case "(($ac_try" in
23666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23667 *) ac_try_echo=$ac_try;;
23669 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23670 $as_echo "$ac_try_echo") >&5
23671 (eval "$ac_compile") 2>conftest.er1
23673 grep -v '^ *+' conftest.er1 >conftest.err
23675 cat conftest.err >&5
23676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23677 (exit $ac_status); } && {
23678 test -z "$ac_c_werror_flag" ||
23679 test ! -s conftest.err
23680 } && test -s conftest.$ac_objext; then
23683 $as_echo "$as_me: failed program was:" >&5
23684 sed 's/^/| /' conftest.$ac_ext >&5
23689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23691 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
23692 $as_echo "$ac_cv_c_const" >&6; }
23693 if test $ac_cv_c_const = no; then
23695 cat >>confdefs.h <<\_ACEOF
23701 { $as_echo "$as_me:$LINENO: checking for inline" >&5
23702 $as_echo_n "checking for inline... " >&6; }
23703 if test "${ac_cv_c_inline+set}" = set; then
23704 $as_echo_n "(cached) " >&6
23707 for ac_kw in inline __inline__ __inline; do
23708 cat >conftest.$ac_ext <<_ACEOF
23711 cat confdefs.h >>conftest.$ac_ext
23712 cat >>conftest.$ac_ext <<_ACEOF
23713 /* end confdefs.h. */
23714 #ifndef __cplusplus
23716 static $ac_kw foo_t static_foo () {return 0; }
23717 $ac_kw foo_t foo () {return 0; }
23721 rm -f conftest.$ac_objext
23722 if { (ac_try="$ac_compile"
23723 case "(($ac_try" in
23724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23725 *) ac_try_echo=$ac_try;;
23727 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23728 $as_echo "$ac_try_echo") >&5
23729 (eval "$ac_compile") 2>conftest.er1
23731 grep -v '^ *+' conftest.er1 >conftest.err
23733 cat conftest.err >&5
23734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23735 (exit $ac_status); } && {
23736 test -z "$ac_c_werror_flag" ||
23737 test ! -s conftest.err
23738 } && test -s conftest.$ac_objext; then
23739 ac_cv_c_inline=$ac_kw
23741 $as_echo "$as_me: failed program was:" >&5
23742 sed 's/^/| /' conftest.$ac_ext >&5
23747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23748 test "$ac_cv_c_inline" != no && break
23752 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
23753 $as_echo "$ac_cv_c_inline" >&6; }
23756 case $ac_cv_c_inline in
23759 case $ac_cv_c_inline in
23761 *) ac_val=$ac_cv_c_inline;;
23763 cat >>confdefs.h <<_ACEOF
23764 #ifndef __cplusplus
23765 #define inline $ac_val
23771 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
23772 $as_echo_n "checking for size_t... " >&6; }
23773 if test "${ac_cv_type_size_t+set}" = set; then
23774 $as_echo_n "(cached) " >&6
23776 ac_cv_type_size_t=no
23777 cat >conftest.$ac_ext <<_ACEOF
23780 cat confdefs.h >>conftest.$ac_ext
23781 cat >>conftest.$ac_ext <<_ACEOF
23782 /* end confdefs.h. */
23783 $ac_includes_default
23787 if (sizeof (size_t))
23793 rm -f conftest.$ac_objext
23794 if { (ac_try="$ac_compile"
23795 case "(($ac_try" in
23796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23797 *) ac_try_echo=$ac_try;;
23799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23800 $as_echo "$ac_try_echo") >&5
23801 (eval "$ac_compile") 2>conftest.er1
23803 grep -v '^ *+' conftest.er1 >conftest.err
23805 cat conftest.err >&5
23806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); } && {
23808 test -z "$ac_c_werror_flag" ||
23809 test ! -s conftest.err
23810 } && test -s conftest.$ac_objext; then
23811 cat >conftest.$ac_ext <<_ACEOF
23814 cat confdefs.h >>conftest.$ac_ext
23815 cat >>conftest.$ac_ext <<_ACEOF
23816 /* end confdefs.h. */
23817 $ac_includes_default
23821 if (sizeof ((size_t)))
23827 rm -f conftest.$ac_objext
23828 if { (ac_try="$ac_compile"
23829 case "(($ac_try" in
23830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23831 *) ac_try_echo=$ac_try;;
23833 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23834 $as_echo "$ac_try_echo") >&5
23835 (eval "$ac_compile") 2>conftest.er1
23837 grep -v '^ *+' conftest.er1 >conftest.err
23839 cat conftest.err >&5
23840 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); } && {
23842 test -z "$ac_c_werror_flag" ||
23843 test ! -s conftest.err
23844 } && test -s conftest.$ac_objext; then
23847 $as_echo "$as_me: failed program was:" >&5
23848 sed 's/^/| /' conftest.$ac_ext >&5
23850 ac_cv_type_size_t=yes
23853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23855 $as_echo "$as_me: failed program was:" >&5
23856 sed 's/^/| /' conftest.$ac_ext >&5
23861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23863 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23864 $as_echo "$ac_cv_type_size_t" >&6; }
23865 if test "x$ac_cv_type_size_t" = x""yes; then
23869 cat >>confdefs.h <<_ACEOF
23870 #define size_t unsigned int
23875 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
23876 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
23877 if test "${ac_cv_header_time+set}" = set; then
23878 $as_echo_n "(cached) " >&6
23880 cat >conftest.$ac_ext <<_ACEOF
23883 cat confdefs.h >>conftest.$ac_ext
23884 cat >>conftest.$ac_ext <<_ACEOF
23885 /* end confdefs.h. */
23886 #include <sys/types.h>
23887 #include <sys/time.h>
23893 if ((struct tm *) 0)
23899 rm -f conftest.$ac_objext
23900 if { (ac_try="$ac_compile"
23901 case "(($ac_try" in
23902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23903 *) ac_try_echo=$ac_try;;
23905 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23906 $as_echo "$ac_try_echo") >&5
23907 (eval "$ac_compile") 2>conftest.er1
23909 grep -v '^ *+' conftest.er1 >conftest.err
23911 cat conftest.err >&5
23912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23913 (exit $ac_status); } && {
23914 test -z "$ac_c_werror_flag" ||
23915 test ! -s conftest.err
23916 } && test -s conftest.$ac_objext; then
23917 ac_cv_header_time=yes
23919 $as_echo "$as_me: failed program was:" >&5
23920 sed 's/^/| /' conftest.$ac_ext >&5
23922 ac_cv_header_time=no
23925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23927 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
23928 $as_echo "$ac_cv_header_time" >&6; }
23929 if test $ac_cv_header_time = yes; then
23931 cat >>confdefs.h <<\_ACEOF
23932 #define TIME_WITH_SYS_TIME 1
23938 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23939 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
23940 if test "${ac_cv_c_bigendian+set}" = set; then
23941 $as_echo_n "(cached) " >&6
23943 ac_cv_c_bigendian=unknown
23944 # See if we're dealing with a universal compiler.
23945 cat >conftest.$ac_ext <<_ACEOF
23948 cat confdefs.h >>conftest.$ac_ext
23949 cat >>conftest.$ac_ext <<_ACEOF
23950 /* end confdefs.h. */
23951 #ifndef __APPLE_CC__
23952 not a universal capable compiler
23957 rm -f conftest.$ac_objext
23958 if { (ac_try="$ac_compile"
23959 case "(($ac_try" in
23960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23961 *) ac_try_echo=$ac_try;;
23963 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23964 $as_echo "$ac_try_echo") >&5
23965 (eval "$ac_compile") 2>conftest.er1
23967 grep -v '^ *+' conftest.er1 >conftest.err
23969 cat conftest.err >&5
23970 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); } && {
23972 test -z "$ac_c_werror_flag" ||
23973 test ! -s conftest.err
23974 } && test -s conftest.$ac_objext; then
23976 # Check for potential -arch flags. It is not universal unless
23977 # there are some -arch flags. Note that *ppc* also matches
23978 # ppc64. This check is also rather less than ideal.
23979 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
23980 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
23983 $as_echo "$as_me: failed program was:" >&5
23984 sed 's/^/| /' conftest.$ac_ext >&5
23989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23990 if test $ac_cv_c_bigendian = unknown; then
23991 # See if sys/param.h defines the BYTE_ORDER macro.
23992 cat >conftest.$ac_ext <<_ACEOF
23995 cat confdefs.h >>conftest.$ac_ext
23996 cat >>conftest.$ac_ext <<_ACEOF
23997 /* end confdefs.h. */
23998 #include <sys/types.h>
23999 #include <sys/param.h>
24004 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
24005 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
24007 bogus endian macros
24014 rm -f conftest.$ac_objext
24015 if { (ac_try="$ac_compile"
24016 case "(($ac_try" in
24017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24018 *) ac_try_echo=$ac_try;;
24020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24021 $as_echo "$ac_try_echo") >&5
24022 (eval "$ac_compile") 2>conftest.er1
24024 grep -v '^ *+' conftest.er1 >conftest.err
24026 cat conftest.err >&5
24027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24028 (exit $ac_status); } && {
24029 test -z "$ac_c_werror_flag" ||
24030 test ! -s conftest.err
24031 } && test -s conftest.$ac_objext; then
24032 # It does; now see whether it defined to BIG_ENDIAN or not.
24033 cat >conftest.$ac_ext <<_ACEOF
24036 cat confdefs.h >>conftest.$ac_ext
24037 cat >>conftest.$ac_ext <<_ACEOF
24038 /* end confdefs.h. */
24039 #include <sys/types.h>
24040 #include <sys/param.h>
24045 #if BYTE_ORDER != BIG_ENDIAN
24053 rm -f conftest.$ac_objext
24054 if { (ac_try="$ac_compile"
24055 case "(($ac_try" in
24056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24057 *) ac_try_echo=$ac_try;;
24059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24060 $as_echo "$ac_try_echo") >&5
24061 (eval "$ac_compile") 2>conftest.er1
24063 grep -v '^ *+' conftest.er1 >conftest.err
24065 cat conftest.err >&5
24066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067 (exit $ac_status); } && {
24068 test -z "$ac_c_werror_flag" ||
24069 test ! -s conftest.err
24070 } && test -s conftest.$ac_objext; then
24071 ac_cv_c_bigendian=yes
24073 $as_echo "$as_me: failed program was:" >&5
24074 sed 's/^/| /' conftest.$ac_ext >&5
24076 ac_cv_c_bigendian=no
24079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24081 $as_echo "$as_me: failed program was:" >&5
24082 sed 's/^/| /' conftest.$ac_ext >&5
24087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24089 if test $ac_cv_c_bigendian = unknown; then
24090 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
24091 cat >conftest.$ac_ext <<_ACEOF
24094 cat confdefs.h >>conftest.$ac_ext
24095 cat >>conftest.$ac_ext <<_ACEOF
24096 /* end confdefs.h. */
24097 #include <limits.h>
24102 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
24103 bogus endian macros
24110 rm -f conftest.$ac_objext
24111 if { (ac_try="$ac_compile"
24112 case "(($ac_try" in
24113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24114 *) ac_try_echo=$ac_try;;
24116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24117 $as_echo "$ac_try_echo") >&5
24118 (eval "$ac_compile") 2>conftest.er1
24120 grep -v '^ *+' conftest.er1 >conftest.err
24122 cat conftest.err >&5
24123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); } && {
24125 test -z "$ac_c_werror_flag" ||
24126 test ! -s conftest.err
24127 } && test -s conftest.$ac_objext; then
24128 # It does; now see whether it defined to _BIG_ENDIAN or not.
24129 cat >conftest.$ac_ext <<_ACEOF
24132 cat confdefs.h >>conftest.$ac_ext
24133 cat >>conftest.$ac_ext <<_ACEOF
24134 /* end confdefs.h. */
24135 #include <limits.h>
24140 #ifndef _BIG_ENDIAN
24148 rm -f conftest.$ac_objext
24149 if { (ac_try="$ac_compile"
24150 case "(($ac_try" in
24151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24152 *) ac_try_echo=$ac_try;;
24154 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24155 $as_echo "$ac_try_echo") >&5
24156 (eval "$ac_compile") 2>conftest.er1
24158 grep -v '^ *+' conftest.er1 >conftest.err
24160 cat conftest.err >&5
24161 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162 (exit $ac_status); } && {
24163 test -z "$ac_c_werror_flag" ||
24164 test ! -s conftest.err
24165 } && test -s conftest.$ac_objext; then
24166 ac_cv_c_bigendian=yes
24168 $as_echo "$as_me: failed program was:" >&5
24169 sed 's/^/| /' conftest.$ac_ext >&5
24171 ac_cv_c_bigendian=no
24174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24176 $as_echo "$as_me: failed program was:" >&5
24177 sed 's/^/| /' conftest.$ac_ext >&5
24182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24184 if test $ac_cv_c_bigendian = unknown; then
24185 # Compile a test program.
24186 if test "$cross_compiling" = yes; then
24187 # Try to guess by grepping values from an object file.
24188 cat >conftest.$ac_ext <<_ACEOF
24191 cat confdefs.h >>conftest.$ac_ext
24192 cat >>conftest.$ac_ext <<_ACEOF
24193 /* end confdefs.h. */
24194 short int ascii_mm[] =
24195 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
24196 short int ascii_ii[] =
24197 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
24198 int use_ascii (int i) {
24199 return ascii_mm[i] + ascii_ii[i];
24201 short int ebcdic_ii[] =
24202 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
24203 short int ebcdic_mm[] =
24204 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
24205 int use_ebcdic (int i) {
24206 return ebcdic_mm[i] + ebcdic_ii[i];
24213 return use_ascii (foo) == use_ebcdic (foo);
24218 rm -f conftest.$ac_objext
24219 if { (ac_try="$ac_compile"
24220 case "(($ac_try" in
24221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24222 *) ac_try_echo=$ac_try;;
24224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24225 $as_echo "$ac_try_echo") >&5
24226 (eval "$ac_compile") 2>conftest.er1
24228 grep -v '^ *+' conftest.er1 >conftest.err
24230 cat conftest.err >&5
24231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232 (exit $ac_status); } && {
24233 test -z "$ac_c_werror_flag" ||
24234 test ! -s conftest.err
24235 } && test -s conftest.$ac_objext; then
24236 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
24237 ac_cv_c_bigendian=yes
24239 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
24240 if test "$ac_cv_c_bigendian" = unknown; then
24241 ac_cv_c_bigendian=no
24243 # finding both strings is unlikely to happen, but who knows?
24244 ac_cv_c_bigendian=unknown
24248 $as_echo "$as_me: failed program was:" >&5
24249 sed 's/^/| /' conftest.$ac_ext >&5
24254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24256 cat >conftest.$ac_ext <<_ACEOF
24259 cat confdefs.h >>conftest.$ac_ext
24260 cat >>conftest.$ac_ext <<_ACEOF
24261 /* end confdefs.h. */
24262 $ac_includes_default
24267 /* Are we little or big endian? From Harbison&Steele. */
24271 char c[sizeof (long int)];
24274 return u.c[sizeof (long int) - 1] == 1;
24280 rm -f conftest$ac_exeext
24281 if { (ac_try="$ac_link"
24282 case "(($ac_try" in
24283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24284 *) ac_try_echo=$ac_try;;
24286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24287 $as_echo "$ac_try_echo") >&5
24288 (eval "$ac_link") 2>&5
24290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24291 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24292 { (case "(($ac_try" in
24293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24294 *) ac_try_echo=$ac_try;;
24296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24297 $as_echo "$ac_try_echo") >&5
24298 (eval "$ac_try") 2>&5
24300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301 (exit $ac_status); }; }; then
24302 ac_cv_c_bigendian=no
24304 $as_echo "$as_me: program exited with status $ac_status" >&5
24305 $as_echo "$as_me: failed program was:" >&5
24306 sed 's/^/| /' conftest.$ac_ext >&5
24308 ( exit $ac_status )
24309 ac_cv_c_bigendian=yes
24311 rm -rf conftest.dSYM
24312 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24318 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24319 $as_echo "$ac_cv_c_bigendian" >&6; }
24320 case $ac_cv_c_bigendian in #(
24322 GR_ARCH_BIGENDIAN=1;; #(
24324 GR_ARCH_BIGENDIAN=0 ;; #(
24327 cat >>confdefs.h <<\_ACEOF
24328 #define AC_APPLE_UNIVERSAL_BUILD 1
24333 { { $as_echo "$as_me:$LINENO: error: unknown endianness
24334 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
24335 $as_echo "$as_me: error: unknown endianness
24336 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
24337 { (exit 1); exit 1; }; } ;;
24341 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
24342 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
24343 if test "${ac_cv_struct_tm+set}" = set; then
24344 $as_echo_n "(cached) " >&6
24346 cat >conftest.$ac_ext <<_ACEOF
24349 cat confdefs.h >>conftest.$ac_ext
24350 cat >>conftest.$ac_ext <<_ACEOF
24351 /* end confdefs.h. */
24352 #include <sys/types.h>
24359 int *p = &tm.tm_sec;
24365 rm -f conftest.$ac_objext
24366 if { (ac_try="$ac_compile"
24367 case "(($ac_try" in
24368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24369 *) ac_try_echo=$ac_try;;
24371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24372 $as_echo "$ac_try_echo") >&5
24373 (eval "$ac_compile") 2>conftest.er1
24375 grep -v '^ *+' conftest.er1 >conftest.err
24377 cat conftest.err >&5
24378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24379 (exit $ac_status); } && {
24380 test -z "$ac_c_werror_flag" ||
24381 test ! -s conftest.err
24382 } && test -s conftest.$ac_objext; then
24383 ac_cv_struct_tm=time.h
24385 $as_echo "$as_me: failed program was:" >&5
24386 sed 's/^/| /' conftest.$ac_ext >&5
24388 ac_cv_struct_tm=sys/time.h
24391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24393 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
24394 $as_echo "$ac_cv_struct_tm" >&6; }
24395 if test $ac_cv_struct_tm = sys/time.h; then
24397 cat >>confdefs.h <<\_ACEOF
24398 #define TM_IN_SYS_TIME 1
24404 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
24405 # for constant arguments. Useless!
24406 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
24407 $as_echo_n "checking for working alloca.h... " >&6; }
24408 if test "${ac_cv_working_alloca_h+set}" = set; then
24409 $as_echo_n "(cached) " >&6
24411 cat >conftest.$ac_ext <<_ACEOF
24414 cat confdefs.h >>conftest.$ac_ext
24415 cat >>conftest.$ac_ext <<_ACEOF
24416 /* end confdefs.h. */
24417 #include <alloca.h>
24421 char *p = (char *) alloca (2 * sizeof (int));
24427 rm -f conftest.$ac_objext conftest$ac_exeext
24428 if { (ac_try="$ac_link"
24429 case "(($ac_try" in
24430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24431 *) ac_try_echo=$ac_try;;
24433 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24434 $as_echo "$ac_try_echo") >&5
24435 (eval "$ac_link") 2>conftest.er1
24437 grep -v '^ *+' conftest.er1 >conftest.err
24439 cat conftest.err >&5
24440 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); } && {
24442 test -z "$ac_c_werror_flag" ||
24443 test ! -s conftest.err
24444 } && test -s conftest$ac_exeext && {
24445 test "$cross_compiling" = yes ||
24446 $as_test_x conftest$ac_exeext
24448 ac_cv_working_alloca_h=yes
24450 $as_echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.$ac_ext >&5
24453 ac_cv_working_alloca_h=no
24456 rm -rf conftest.dSYM
24457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24458 conftest$ac_exeext conftest.$ac_ext
24460 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
24461 $as_echo "$ac_cv_working_alloca_h" >&6; }
24462 if test $ac_cv_working_alloca_h = yes; then
24464 cat >>confdefs.h <<\_ACEOF
24465 #define HAVE_ALLOCA_H 1
24470 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
24471 $as_echo_n "checking for alloca... " >&6; }
24472 if test "${ac_cv_func_alloca_works+set}" = set; then
24473 $as_echo_n "(cached) " >&6
24475 cat >conftest.$ac_ext <<_ACEOF
24478 cat confdefs.h >>conftest.$ac_ext
24479 cat >>conftest.$ac_ext <<_ACEOF
24480 /* end confdefs.h. */
24482 # define alloca __builtin_alloca
24485 # include <malloc.h>
24486 # define alloca _alloca
24488 # ifdef HAVE_ALLOCA_H
24489 # include <alloca.h>
24494 # ifndef alloca /* predefined by HP cc +Olibcalls */
24505 char *p = (char *) alloca (1);
24511 rm -f conftest.$ac_objext conftest$ac_exeext
24512 if { (ac_try="$ac_link"
24513 case "(($ac_try" in
24514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24515 *) ac_try_echo=$ac_try;;
24517 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24518 $as_echo "$ac_try_echo") >&5
24519 (eval "$ac_link") 2>conftest.er1
24521 grep -v '^ *+' conftest.er1 >conftest.err
24523 cat conftest.err >&5
24524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525 (exit $ac_status); } && {
24526 test -z "$ac_c_werror_flag" ||
24527 test ! -s conftest.err
24528 } && test -s conftest$ac_exeext && {
24529 test "$cross_compiling" = yes ||
24530 $as_test_x conftest$ac_exeext
24532 ac_cv_func_alloca_works=yes
24534 $as_echo "$as_me: failed program was:" >&5
24535 sed 's/^/| /' conftest.$ac_ext >&5
24537 ac_cv_func_alloca_works=no
24540 rm -rf conftest.dSYM
24541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24542 conftest$ac_exeext conftest.$ac_ext
24544 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
24545 $as_echo "$ac_cv_func_alloca_works" >&6; }
24547 if test $ac_cv_func_alloca_works = yes; then
24549 cat >>confdefs.h <<\_ACEOF
24550 #define HAVE_ALLOCA 1
24554 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
24555 # that cause trouble. Some versions do not even contain alloca or
24556 # contain a buggy version. If you still want to use their alloca,
24557 # use ar to extract alloca.o from them instead of compiling alloca.c.
24559 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
24561 cat >>confdefs.h <<\_ACEOF
24566 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
24567 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
24568 if test "${ac_cv_os_cray+set}" = set; then
24569 $as_echo_n "(cached) " >&6
24571 cat >conftest.$ac_ext <<_ACEOF
24574 cat confdefs.h >>conftest.$ac_ext
24575 cat >>conftest.$ac_ext <<_ACEOF
24576 /* end confdefs.h. */
24577 #if defined CRAY && ! defined CRAY2
24584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24585 $EGREP "webecray" >/dev/null 2>&1; then
24593 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
24594 $as_echo "$ac_cv_os_cray" >&6; }
24595 if test $ac_cv_os_cray = yes; then
24596 for ac_func in _getb67 GETB67 getb67; do
24597 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24598 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
24599 $as_echo_n "checking for $ac_func... " >&6; }
24600 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24601 $as_echo_n "(cached) " >&6
24603 cat >conftest.$ac_ext <<_ACEOF
24606 cat confdefs.h >>conftest.$ac_ext
24607 cat >>conftest.$ac_ext <<_ACEOF
24608 /* end confdefs.h. */
24609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24611 #define $ac_func innocuous_$ac_func
24613 /* System header to define __stub macros and hopefully few prototypes,
24614 which can conflict with char $ac_func (); below.
24615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24616 <limits.h> exists even on freestanding compilers. */
24619 # include <limits.h>
24621 # include <assert.h>
24626 /* Override any GCC internal prototype to avoid an error.
24627 Use char because int might match the return type of a GCC
24628 builtin and then its argument prototype would still apply. */
24633 /* The GNU C library defines this for functions which it implements
24634 to always fail with ENOSYS. Some functions are actually named
24635 something starting with __ and the normal name is an alias. */
24636 #if defined __stub_$ac_func || defined __stub___$ac_func
24643 return $ac_func ();
24648 rm -f conftest.$ac_objext conftest$ac_exeext
24649 if { (ac_try="$ac_link"
24650 case "(($ac_try" in
24651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24652 *) ac_try_echo=$ac_try;;
24654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24655 $as_echo "$ac_try_echo") >&5
24656 (eval "$ac_link") 2>conftest.er1
24658 grep -v '^ *+' conftest.er1 >conftest.err
24660 cat conftest.err >&5
24661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24662 (exit $ac_status); } && {
24663 test -z "$ac_c_werror_flag" ||
24664 test ! -s conftest.err
24665 } && test -s conftest$ac_exeext && {
24666 test "$cross_compiling" = yes ||
24667 $as_test_x conftest$ac_exeext
24669 eval "$as_ac_var=yes"
24671 $as_echo "$as_me: failed program was:" >&5
24672 sed 's/^/| /' conftest.$ac_ext >&5
24674 eval "$as_ac_var=no"
24677 rm -rf conftest.dSYM
24678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24679 conftest$ac_exeext conftest.$ac_ext
24681 ac_res=`eval 'as_val=${'$as_ac_var'}
24682 $as_echo "$as_val"'`
24683 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24684 $as_echo "$ac_res" >&6; }
24685 as_val=`eval 'as_val=${'$as_ac_var'}
24686 $as_echo "$as_val"'`
24687 if test "x$as_val" = x""yes; then
24689 cat >>confdefs.h <<_ACEOF
24690 #define CRAY_STACKSEG_END $ac_func
24699 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
24700 $as_echo_n "checking stack direction for C alloca... " >&6; }
24701 if test "${ac_cv_c_stack_direction+set}" = set; then
24702 $as_echo_n "(cached) " >&6
24704 if test "$cross_compiling" = yes; then
24705 ac_cv_c_stack_direction=0
24707 cat >conftest.$ac_ext <<_ACEOF
24710 cat confdefs.h >>conftest.$ac_ext
24711 cat >>conftest.$ac_ext <<_ACEOF
24712 /* end confdefs.h. */
24713 $ac_includes_default
24715 find_stack_direction ()
24717 static char *addr = 0;
24722 return find_stack_direction ();
24725 return (&dummy > addr) ? 1 : -1;
24731 return find_stack_direction () < 0;
24734 rm -f conftest$ac_exeext
24735 if { (ac_try="$ac_link"
24736 case "(($ac_try" in
24737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24738 *) ac_try_echo=$ac_try;;
24740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24741 $as_echo "$ac_try_echo") >&5
24742 (eval "$ac_link") 2>&5
24744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24745 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24746 { (case "(($ac_try" in
24747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24748 *) ac_try_echo=$ac_try;;
24750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24751 $as_echo "$ac_try_echo") >&5
24752 (eval "$ac_try") 2>&5
24754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24755 (exit $ac_status); }; }; then
24756 ac_cv_c_stack_direction=1
24758 $as_echo "$as_me: program exited with status $ac_status" >&5
24759 $as_echo "$as_me: failed program was:" >&5
24760 sed 's/^/| /' conftest.$ac_ext >&5
24762 ( exit $ac_status )
24763 ac_cv_c_stack_direction=-1
24765 rm -rf conftest.dSYM
24766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24771 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
24772 $as_echo "$ac_cv_c_stack_direction" >&6; }
24774 cat >>confdefs.h <<_ACEOF
24775 #define STACK_DIRECTION $ac_cv_c_stack_direction
24784 # Check for allocing memory alignment functions
24785 # If 'posix_memalign' is available, use it solely.
24787 for ac_func in posix_memalign
24789 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24790 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
24791 $as_echo_n "checking for $ac_func... " >&6; }
24792 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24793 $as_echo_n "(cached) " >&6
24795 cat >conftest.$ac_ext <<_ACEOF
24798 cat confdefs.h >>conftest.$ac_ext
24799 cat >>conftest.$ac_ext <<_ACEOF
24800 /* end confdefs.h. */
24801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24803 #define $ac_func innocuous_$ac_func
24805 /* System header to define __stub macros and hopefully few prototypes,
24806 which can conflict with char $ac_func (); below.
24807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24808 <limits.h> exists even on freestanding compilers. */
24811 # include <limits.h>
24813 # include <assert.h>
24818 /* Override any GCC internal prototype to avoid an error.
24819 Use char because int might match the return type of a GCC
24820 builtin and then its argument prototype would still apply. */
24825 /* The GNU C library defines this for functions which it implements
24826 to always fail with ENOSYS. Some functions are actually named
24827 something starting with __ and the normal name is an alias. */
24828 #if defined __stub_$ac_func || defined __stub___$ac_func
24835 return $ac_func ();
24840 rm -f conftest.$ac_objext conftest$ac_exeext
24841 if { (ac_try="$ac_link"
24842 case "(($ac_try" in
24843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24844 *) ac_try_echo=$ac_try;;
24846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24847 $as_echo "$ac_try_echo") >&5
24848 (eval "$ac_link") 2>conftest.er1
24850 grep -v '^ *+' conftest.er1 >conftest.err
24852 cat conftest.err >&5
24853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24854 (exit $ac_status); } && {
24855 test -z "$ac_c_werror_flag" ||
24856 test ! -s conftest.err
24857 } && test -s conftest$ac_exeext && {
24858 test "$cross_compiling" = yes ||
24859 $as_test_x conftest$ac_exeext
24861 eval "$as_ac_var=yes"
24863 $as_echo "$as_me: failed program was:" >&5
24864 sed 's/^/| /' conftest.$ac_ext >&5
24866 eval "$as_ac_var=no"
24869 rm -rf conftest.dSYM
24870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24871 conftest$ac_exeext conftest.$ac_ext
24873 ac_res=`eval 'as_val=${'$as_ac_var'}
24874 $as_echo "$as_val"'`
24875 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24876 $as_echo "$ac_res" >&6; }
24877 as_val=`eval 'as_val=${'$as_ac_var'}
24878 $as_echo "$as_val"'`
24879 if test "x$as_val" = x""yes; then
24880 cat >>confdefs.h <<_ACEOF
24881 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24886 # Otherwise, check for valloc and the
24887 # (a-priori known) alignment of 'malloc'
24889 for ac_func in valloc
24891 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24892 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
24893 $as_echo_n "checking for $ac_func... " >&6; }
24894 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24895 $as_echo_n "(cached) " >&6
24897 cat >conftest.$ac_ext <<_ACEOF
24900 cat confdefs.h >>conftest.$ac_ext
24901 cat >>conftest.$ac_ext <<_ACEOF
24902 /* end confdefs.h. */
24903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24905 #define $ac_func innocuous_$ac_func
24907 /* System header to define __stub macros and hopefully few prototypes,
24908 which can conflict with char $ac_func (); below.
24909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24910 <limits.h> exists even on freestanding compilers. */
24913 # include <limits.h>
24915 # include <assert.h>
24920 /* Override any GCC internal prototype to avoid an error.
24921 Use char because int might match the return type of a GCC
24922 builtin and then its argument prototype would still apply. */
24927 /* The GNU C library defines this for functions which it implements
24928 to always fail with ENOSYS. Some functions are actually named
24929 something starting with __ and the normal name is an alias. */
24930 #if defined __stub_$ac_func || defined __stub___$ac_func
24937 return $ac_func ();
24942 rm -f conftest.$ac_objext conftest$ac_exeext
24943 if { (ac_try="$ac_link"
24944 case "(($ac_try" in
24945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24946 *) ac_try_echo=$ac_try;;
24948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24949 $as_echo "$ac_try_echo") >&5
24950 (eval "$ac_link") 2>conftest.er1
24952 grep -v '^ *+' conftest.er1 >conftest.err
24954 cat conftest.err >&5
24955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24956 (exit $ac_status); } && {
24957 test -z "$ac_c_werror_flag" ||
24958 test ! -s conftest.err
24959 } && test -s conftest$ac_exeext && {
24960 test "$cross_compiling" = yes ||
24961 $as_test_x conftest$ac_exeext
24963 eval "$as_ac_var=yes"
24965 $as_echo "$as_me: failed program was:" >&5
24966 sed 's/^/| /' conftest.$ac_ext >&5
24968 eval "$as_ac_var=no"
24971 rm -rf conftest.dSYM
24972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24973 conftest$ac_exeext conftest.$ac_ext
24975 ac_res=`eval 'as_val=${'$as_ac_var'}
24976 $as_echo "$as_val"'`
24977 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24978 $as_echo "$ac_res" >&6; }
24979 as_val=`eval 'as_val=${'$as_ac_var'}
24980 $as_echo "$as_val"'`
24981 if test "x$as_val" = x""yes; then
24982 cat >>confdefs.h <<_ACEOF
24983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24990 # 'malloc' is 16-byte aligned on (at least) Darwin 8 and 9
24992 darwin8*) aligned_malloc=16 ;;
24993 darwin9*) aligned_malloc=16 ;;
24996 if test $aligned_malloc = 0; then
24997 { $as_echo "$as_me:$LINENO: result: malloc has unknown alignment." >&5
24998 $as_echo "malloc has unknown alignment." >&6; }
25000 { $as_echo "$as_me:$LINENO: result: malloc is $aligned_malloc-byte aligned." >&5
25001 $as_echo "malloc is $aligned_malloc-byte aligned." >&6; }
25004 cat >>confdefs.h <<_ACEOF
25005 #define ALIGNED_MALLOC $aligned_malloc
25013 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
25014 $as_echo_n "(cached) " >&6
25016 ac_cv_func_setvbuf_reversed=no
25021 for ac_func in vprintf
25023 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25024 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
25025 $as_echo_n "checking for $ac_func... " >&6; }
25026 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25027 $as_echo_n "(cached) " >&6
25029 cat >conftest.$ac_ext <<_ACEOF
25032 cat confdefs.h >>conftest.$ac_ext
25033 cat >>conftest.$ac_ext <<_ACEOF
25034 /* end confdefs.h. */
25035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25037 #define $ac_func innocuous_$ac_func
25039 /* System header to define __stub macros and hopefully few prototypes,
25040 which can conflict with char $ac_func (); below.
25041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25042 <limits.h> exists even on freestanding compilers. */
25045 # include <limits.h>
25047 # include <assert.h>
25052 /* Override any GCC internal prototype to avoid an error.
25053 Use char because int might match the return type of a GCC
25054 builtin and then its argument prototype would still apply. */
25059 /* The GNU C library defines this for functions which it implements
25060 to always fail with ENOSYS. Some functions are actually named
25061 something starting with __ and the normal name is an alias. */
25062 #if defined __stub_$ac_func || defined __stub___$ac_func
25069 return $ac_func ();
25074 rm -f conftest.$ac_objext conftest$ac_exeext
25075 if { (ac_try="$ac_link"
25076 case "(($ac_try" in
25077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25078 *) ac_try_echo=$ac_try;;
25080 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25081 $as_echo "$ac_try_echo") >&5
25082 (eval "$ac_link") 2>conftest.er1
25084 grep -v '^ *+' conftest.er1 >conftest.err
25086 cat conftest.err >&5
25087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25088 (exit $ac_status); } && {
25089 test -z "$ac_c_werror_flag" ||
25090 test ! -s conftest.err
25091 } && test -s conftest$ac_exeext && {
25092 test "$cross_compiling" = yes ||
25093 $as_test_x conftest$ac_exeext
25095 eval "$as_ac_var=yes"
25097 $as_echo "$as_me: failed program was:" >&5
25098 sed 's/^/| /' conftest.$ac_ext >&5
25100 eval "$as_ac_var=no"
25103 rm -rf conftest.dSYM
25104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25105 conftest$ac_exeext conftest.$ac_ext
25107 ac_res=`eval 'as_val=${'$as_ac_var'}
25108 $as_echo "$as_val"'`
25109 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25110 $as_echo "$ac_res" >&6; }
25111 as_val=`eval 'as_val=${'$as_ac_var'}
25112 $as_echo "$as_val"'`
25113 if test "x$as_val" = x""yes; then
25114 cat >>confdefs.h <<_ACEOF
25115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25118 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
25119 $as_echo_n "checking for _doprnt... " >&6; }
25120 if test "${ac_cv_func__doprnt+set}" = set; then
25121 $as_echo_n "(cached) " >&6
25123 cat >conftest.$ac_ext <<_ACEOF
25126 cat confdefs.h >>conftest.$ac_ext
25127 cat >>conftest.$ac_ext <<_ACEOF
25128 /* end confdefs.h. */
25129 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
25130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25131 #define _doprnt innocuous__doprnt
25133 /* System header to define __stub macros and hopefully few prototypes,
25134 which can conflict with char _doprnt (); below.
25135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25136 <limits.h> exists even on freestanding compilers. */
25139 # include <limits.h>
25141 # include <assert.h>
25146 /* Override any GCC internal prototype to avoid an error.
25147 Use char because int might match the return type of a GCC
25148 builtin and then its argument prototype would still apply. */
25153 /* The GNU C library defines this for functions which it implements
25154 to always fail with ENOSYS. Some functions are actually named
25155 something starting with __ and the normal name is an alias. */
25156 #if defined __stub__doprnt || defined __stub____doprnt
25168 rm -f conftest.$ac_objext conftest$ac_exeext
25169 if { (ac_try="$ac_link"
25170 case "(($ac_try" in
25171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25172 *) ac_try_echo=$ac_try;;
25174 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25175 $as_echo "$ac_try_echo") >&5
25176 (eval "$ac_link") 2>conftest.er1
25178 grep -v '^ *+' conftest.er1 >conftest.err
25180 cat conftest.err >&5
25181 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); } && {
25183 test -z "$ac_c_werror_flag" ||
25184 test ! -s conftest.err
25185 } && test -s conftest$ac_exeext && {
25186 test "$cross_compiling" = yes ||
25187 $as_test_x conftest$ac_exeext
25189 ac_cv_func__doprnt=yes
25191 $as_echo "$as_me: failed program was:" >&5
25192 sed 's/^/| /' conftest.$ac_ext >&5
25194 ac_cv_func__doprnt=no
25197 rm -rf conftest.dSYM
25198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25199 conftest$ac_exeext conftest.$ac_ext
25201 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
25202 $as_echo "$ac_cv_func__doprnt" >&6; }
25203 if test "x$ac_cv_func__doprnt" = x""yes; then
25205 cat >>confdefs.h <<\_ACEOF
25206 #define HAVE_DOPRNT 1
25223 for ac_func in mmap select socket strcspn strerror strspn getpagesize sysconf
25225 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25226 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
25227 $as_echo_n "checking for $ac_func... " >&6; }
25228 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25229 $as_echo_n "(cached) " >&6
25231 cat >conftest.$ac_ext <<_ACEOF
25234 cat confdefs.h >>conftest.$ac_ext
25235 cat >>conftest.$ac_ext <<_ACEOF
25236 /* end confdefs.h. */
25237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25239 #define $ac_func innocuous_$ac_func
25241 /* System header to define __stub macros and hopefully few prototypes,
25242 which can conflict with char $ac_func (); below.
25243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25244 <limits.h> exists even on freestanding compilers. */
25247 # include <limits.h>
25249 # include <assert.h>
25254 /* Override any GCC internal prototype to avoid an error.
25255 Use char because int might match the return type of a GCC
25256 builtin and then its argument prototype would still apply. */
25261 /* The GNU C library defines this for functions which it implements
25262 to always fail with ENOSYS. Some functions are actually named
25263 something starting with __ and the normal name is an alias. */
25264 #if defined __stub_$ac_func || defined __stub___$ac_func
25271 return $ac_func ();
25276 rm -f conftest.$ac_objext conftest$ac_exeext
25277 if { (ac_try="$ac_link"
25278 case "(($ac_try" in
25279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25280 *) ac_try_echo=$ac_try;;
25282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25283 $as_echo "$ac_try_echo") >&5
25284 (eval "$ac_link") 2>conftest.er1
25286 grep -v '^ *+' conftest.er1 >conftest.err
25288 cat conftest.err >&5
25289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290 (exit $ac_status); } && {
25291 test -z "$ac_c_werror_flag" ||
25292 test ! -s conftest.err
25293 } && test -s conftest$ac_exeext && {
25294 test "$cross_compiling" = yes ||
25295 $as_test_x conftest$ac_exeext
25297 eval "$as_ac_var=yes"
25299 $as_echo "$as_me: failed program was:" >&5
25300 sed 's/^/| /' conftest.$ac_ext >&5
25302 eval "$as_ac_var=no"
25305 rm -rf conftest.dSYM
25306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25307 conftest$ac_exeext conftest.$ac_ext
25309 ac_res=`eval 'as_val=${'$as_ac_var'}
25310 $as_echo "$as_val"'`
25311 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25312 $as_echo "$ac_res" >&6; }
25313 as_val=`eval 'as_val=${'$as_ac_var'}
25314 $as_echo "$as_val"'`
25315 if test "x$as_val" = x""yes; then
25316 cat >>confdefs.h <<_ACEOF
25317 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25327 for ac_func in snprintf gettimeofday nanosleep sched_setscheduler
25329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25330 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
25331 $as_echo_n "checking for $ac_func... " >&6; }
25332 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25333 $as_echo_n "(cached) " >&6
25335 cat >conftest.$ac_ext <<_ACEOF
25338 cat confdefs.h >>conftest.$ac_ext
25339 cat >>conftest.$ac_ext <<_ACEOF
25340 /* end confdefs.h. */
25341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25343 #define $ac_func innocuous_$ac_func
25345 /* System header to define __stub macros and hopefully few prototypes,
25346 which can conflict with char $ac_func (); below.
25347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25348 <limits.h> exists even on freestanding compilers. */
25351 # include <limits.h>
25353 # include <assert.h>
25358 /* Override any GCC internal prototype to avoid an error.
25359 Use char because int might match the return type of a GCC
25360 builtin and then its argument prototype would still apply. */
25365 /* The GNU C library defines this for functions which it implements
25366 to always fail with ENOSYS. Some functions are actually named
25367 something starting with __ and the normal name is an alias. */
25368 #if defined __stub_$ac_func || defined __stub___$ac_func
25375 return $ac_func ();
25380 rm -f conftest.$ac_objext conftest$ac_exeext
25381 if { (ac_try="$ac_link"
25382 case "(($ac_try" in
25383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25384 *) ac_try_echo=$ac_try;;
25386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25387 $as_echo "$ac_try_echo") >&5
25388 (eval "$ac_link") 2>conftest.er1
25390 grep -v '^ *+' conftest.er1 >conftest.err
25392 cat conftest.err >&5
25393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25394 (exit $ac_status); } && {
25395 test -z "$ac_c_werror_flag" ||
25396 test ! -s conftest.err
25397 } && test -s conftest$ac_exeext && {
25398 test "$cross_compiling" = yes ||
25399 $as_test_x conftest$ac_exeext
25401 eval "$as_ac_var=yes"
25403 $as_echo "$as_me: failed program was:" >&5
25404 sed 's/^/| /' conftest.$ac_ext >&5
25406 eval "$as_ac_var=no"
25409 rm -rf conftest.dSYM
25410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25411 conftest$ac_exeext conftest.$ac_ext
25413 ac_res=`eval 'as_val=${'$as_ac_var'}
25414 $as_echo "$as_val"'`
25415 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25416 $as_echo "$ac_res" >&6; }
25417 as_val=`eval 'as_val=${'$as_ac_var'}
25418 $as_echo "$as_val"'`
25419 if test "x$as_val" = x""yes; then
25420 cat >>confdefs.h <<_ACEOF
25421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25432 for ac_func in modf sqrt sigaction sigprocmask pthread_sigmask
25434 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25435 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
25436 $as_echo_n "checking for $ac_func... " >&6; }
25437 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25438 $as_echo_n "(cached) " >&6
25440 cat >conftest.$ac_ext <<_ACEOF
25443 cat confdefs.h >>conftest.$ac_ext
25444 cat >>conftest.$ac_ext <<_ACEOF
25445 /* end confdefs.h. */
25446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25448 #define $ac_func innocuous_$ac_func
25450 /* System header to define __stub macros and hopefully few prototypes,
25451 which can conflict with char $ac_func (); below.
25452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25453 <limits.h> exists even on freestanding compilers. */
25456 # include <limits.h>
25458 # include <assert.h>
25463 /* Override any GCC internal prototype to avoid an error.
25464 Use char because int might match the return type of a GCC
25465 builtin and then its argument prototype would still apply. */
25470 /* The GNU C library defines this for functions which it implements
25471 to always fail with ENOSYS. Some functions are actually named
25472 something starting with __ and the normal name is an alias. */
25473 #if defined __stub_$ac_func || defined __stub___$ac_func
25480 return $ac_func ();
25485 rm -f conftest.$ac_objext conftest$ac_exeext
25486 if { (ac_try="$ac_link"
25487 case "(($ac_try" in
25488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25489 *) ac_try_echo=$ac_try;;
25491 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25492 $as_echo "$ac_try_echo") >&5
25493 (eval "$ac_link") 2>conftest.er1
25495 grep -v '^ *+' conftest.er1 >conftest.err
25497 cat conftest.err >&5
25498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25499 (exit $ac_status); } && {
25500 test -z "$ac_c_werror_flag" ||
25501 test ! -s conftest.err
25502 } && test -s conftest$ac_exeext && {
25503 test "$cross_compiling" = yes ||
25504 $as_test_x conftest$ac_exeext
25506 eval "$as_ac_var=yes"
25508 $as_echo "$as_me: failed program was:" >&5
25509 sed 's/^/| /' conftest.$ac_ext >&5
25511 eval "$as_ac_var=no"
25514 rm -rf conftest.dSYM
25515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25516 conftest$ac_exeext conftest.$ac_ext
25518 ac_res=`eval 'as_val=${'$as_ac_var'}
25519 $as_echo "$as_val"'`
25520 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25521 $as_echo "$ac_res" >&6; }
25522 as_val=`eval 'as_val=${'$as_ac_var'}
25523 $as_echo "$as_val"'`
25524 if test "x$as_val" = x""yes; then
25525 cat >>confdefs.h <<_ACEOF
25526 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25533 for ac_func in sched_setaffinity
25535 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25536 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
25537 $as_echo_n "checking for $ac_func... " >&6; }
25538 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25539 $as_echo_n "(cached) " >&6
25541 cat >conftest.$ac_ext <<_ACEOF
25544 cat confdefs.h >>conftest.$ac_ext
25545 cat >>conftest.$ac_ext <<_ACEOF
25546 /* end confdefs.h. */
25547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25549 #define $ac_func innocuous_$ac_func
25551 /* System header to define __stub macros and hopefully few prototypes,
25552 which can conflict with char $ac_func (); below.
25553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25554 <limits.h> exists even on freestanding compilers. */
25557 # include <limits.h>
25559 # include <assert.h>
25564 /* Override any GCC internal prototype to avoid an error.
25565 Use char because int might match the return type of a GCC
25566 builtin and then its argument prototype would still apply. */
25571 /* The GNU C library defines this for functions which it implements
25572 to always fail with ENOSYS. Some functions are actually named
25573 something starting with __ and the normal name is an alias. */
25574 #if defined __stub_$ac_func || defined __stub___$ac_func
25581 return $ac_func ();
25586 rm -f conftest.$ac_objext conftest$ac_exeext
25587 if { (ac_try="$ac_link"
25588 case "(($ac_try" in
25589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25590 *) ac_try_echo=$ac_try;;
25592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25593 $as_echo "$ac_try_echo") >&5
25594 (eval "$ac_link") 2>conftest.er1
25596 grep -v '^ *+' conftest.er1 >conftest.err
25598 cat conftest.err >&5
25599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600 (exit $ac_status); } && {
25601 test -z "$ac_c_werror_flag" ||
25602 test ! -s conftest.err
25603 } && test -s conftest$ac_exeext && {
25604 test "$cross_compiling" = yes ||
25605 $as_test_x conftest$ac_exeext
25607 eval "$as_ac_var=yes"
25609 $as_echo "$as_me: failed program was:" >&5
25610 sed 's/^/| /' conftest.$ac_ext >&5
25612 eval "$as_ac_var=no"
25615 rm -rf conftest.dSYM
25616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25617 conftest$ac_exeext conftest.$ac_ext
25619 ac_res=`eval 'as_val=${'$as_ac_var'}
25620 $as_echo "$as_val"'`
25621 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25622 $as_echo "$ac_res" >&6; }
25623 as_val=`eval 'as_val=${'$as_ac_var'}
25624 $as_echo "$as_val"'`
25625 if test "x$as_val" = x""yes; then
25626 cat >>confdefs.h <<_ACEOF
25627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25634 { $as_echo "$as_me:$LINENO: checking for sincos in -lm" >&5
25635 $as_echo_n "checking for sincos in -lm... " >&6; }
25636 if test "${ac_cv_lib_m_sincos+set}" = set; then
25637 $as_echo_n "(cached) " >&6
25639 ac_check_lib_save_LIBS=$LIBS
25641 cat >conftest.$ac_ext <<_ACEOF
25644 cat confdefs.h >>conftest.$ac_ext
25645 cat >>conftest.$ac_ext <<_ACEOF
25646 /* end confdefs.h. */
25648 /* Override any GCC internal prototype to avoid an error.
25649 Use char because int might match the return type of a GCC
25650 builtin and then its argument prototype would still apply. */
25663 rm -f conftest.$ac_objext conftest$ac_exeext
25664 if { (ac_try="$ac_link"
25665 case "(($ac_try" in
25666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25667 *) ac_try_echo=$ac_try;;
25669 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25670 $as_echo "$ac_try_echo") >&5
25671 (eval "$ac_link") 2>conftest.er1
25673 grep -v '^ *+' conftest.er1 >conftest.err
25675 cat conftest.err >&5
25676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25677 (exit $ac_status); } && {
25678 test -z "$ac_c_werror_flag" ||
25679 test ! -s conftest.err
25680 } && test -s conftest$ac_exeext && {
25681 test "$cross_compiling" = yes ||
25682 $as_test_x conftest$ac_exeext
25684 ac_cv_lib_m_sincos=yes
25686 $as_echo "$as_me: failed program was:" >&5
25687 sed 's/^/| /' conftest.$ac_ext >&5
25689 ac_cv_lib_m_sincos=no
25692 rm -rf conftest.dSYM
25693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25694 conftest$ac_exeext conftest.$ac_ext
25695 LIBS=$ac_check_lib_save_LIBS
25697 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sincos" >&5
25698 $as_echo "$ac_cv_lib_m_sincos" >&6; }
25699 if test "x$ac_cv_lib_m_sincos" = x""yes; then
25701 cat >>confdefs.h <<\_ACEOF
25702 #define HAVE_SINCOS 1
25707 { $as_echo "$as_me:$LINENO: checking for sincosf in -lm" >&5
25708 $as_echo_n "checking for sincosf in -lm... " >&6; }
25709 if test "${ac_cv_lib_m_sincosf+set}" = set; then
25710 $as_echo_n "(cached) " >&6
25712 ac_check_lib_save_LIBS=$LIBS
25714 cat >conftest.$ac_ext <<_ACEOF
25717 cat confdefs.h >>conftest.$ac_ext
25718 cat >>conftest.$ac_ext <<_ACEOF
25719 /* end confdefs.h. */
25721 /* Override any GCC internal prototype to avoid an error.
25722 Use char because int might match the return type of a GCC
25723 builtin and then its argument prototype would still apply. */
25736 rm -f conftest.$ac_objext conftest$ac_exeext
25737 if { (ac_try="$ac_link"
25738 case "(($ac_try" in
25739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25740 *) ac_try_echo=$ac_try;;
25742 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25743 $as_echo "$ac_try_echo") >&5
25744 (eval "$ac_link") 2>conftest.er1
25746 grep -v '^ *+' conftest.er1 >conftest.err
25748 cat conftest.err >&5
25749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25750 (exit $ac_status); } && {
25751 test -z "$ac_c_werror_flag" ||
25752 test ! -s conftest.err
25753 } && test -s conftest$ac_exeext && {
25754 test "$cross_compiling" = yes ||
25755 $as_test_x conftest$ac_exeext
25757 ac_cv_lib_m_sincosf=yes
25759 $as_echo "$as_me: failed program was:" >&5
25760 sed 's/^/| /' conftest.$ac_ext >&5
25762 ac_cv_lib_m_sincosf=no
25765 rm -rf conftest.dSYM
25766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25767 conftest$ac_exeext conftest.$ac_ext
25768 LIBS=$ac_check_lib_save_LIBS
25770 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sincosf" >&5
25771 $as_echo "$ac_cv_lib_m_sincosf" >&6; }
25772 if test "x$ac_cv_lib_m_sincosf" = x""yes; then
25774 cat >>confdefs.h <<\_ACEOF
25775 #define HAVE_SINCOSF 1
25780 { $as_echo "$as_me:$LINENO: checking for sinf in -lm" >&5
25781 $as_echo_n "checking for sinf in -lm... " >&6; }
25782 if test "${ac_cv_lib_m_sinf+set}" = set; then
25783 $as_echo_n "(cached) " >&6
25785 ac_check_lib_save_LIBS=$LIBS
25787 cat >conftest.$ac_ext <<_ACEOF
25790 cat confdefs.h >>conftest.$ac_ext
25791 cat >>conftest.$ac_ext <<_ACEOF
25792 /* end confdefs.h. */
25794 /* Override any GCC internal prototype to avoid an error.
25795 Use char because int might match the return type of a GCC
25796 builtin and then its argument prototype would still apply. */
25809 rm -f conftest.$ac_objext conftest$ac_exeext
25810 if { (ac_try="$ac_link"
25811 case "(($ac_try" in
25812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25813 *) ac_try_echo=$ac_try;;
25815 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25816 $as_echo "$ac_try_echo") >&5
25817 (eval "$ac_link") 2>conftest.er1
25819 grep -v '^ *+' conftest.er1 >conftest.err
25821 cat conftest.err >&5
25822 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25823 (exit $ac_status); } && {
25824 test -z "$ac_c_werror_flag" ||
25825 test ! -s conftest.err
25826 } && test -s conftest$ac_exeext && {
25827 test "$cross_compiling" = yes ||
25828 $as_test_x conftest$ac_exeext
25830 ac_cv_lib_m_sinf=yes
25832 $as_echo "$as_me: failed program was:" >&5
25833 sed 's/^/| /' conftest.$ac_ext >&5
25835 ac_cv_lib_m_sinf=no
25838 rm -rf conftest.dSYM
25839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25840 conftest$ac_exeext conftest.$ac_ext
25841 LIBS=$ac_check_lib_save_LIBS
25843 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
25844 $as_echo "$ac_cv_lib_m_sinf" >&6; }
25845 if test "x$ac_cv_lib_m_sinf" = x""yes; then
25847 cat >>confdefs.h <<\_ACEOF
25848 #define HAVE_SINF 1
25853 { $as_echo "$as_me:$LINENO: checking for cosf in -lm" >&5
25854 $as_echo_n "checking for cosf in -lm... " >&6; }
25855 if test "${ac_cv_lib_m_cosf+set}" = set; then
25856 $as_echo_n "(cached) " >&6
25858 ac_check_lib_save_LIBS=$LIBS
25860 cat >conftest.$ac_ext <<_ACEOF
25863 cat confdefs.h >>conftest.$ac_ext
25864 cat >>conftest.$ac_ext <<_ACEOF
25865 /* end confdefs.h. */
25867 /* Override any GCC internal prototype to avoid an error.
25868 Use char because int might match the return type of a GCC
25869 builtin and then its argument prototype would still apply. */
25882 rm -f conftest.$ac_objext conftest$ac_exeext
25883 if { (ac_try="$ac_link"
25884 case "(($ac_try" in
25885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25886 *) ac_try_echo=$ac_try;;
25888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25889 $as_echo "$ac_try_echo") >&5
25890 (eval "$ac_link") 2>conftest.er1
25892 grep -v '^ *+' conftest.er1 >conftest.err
25894 cat conftest.err >&5
25895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25896 (exit $ac_status); } && {
25897 test -z "$ac_c_werror_flag" ||
25898 test ! -s conftest.err
25899 } && test -s conftest$ac_exeext && {
25900 test "$cross_compiling" = yes ||
25901 $as_test_x conftest$ac_exeext
25903 ac_cv_lib_m_cosf=yes
25905 $as_echo "$as_me: failed program was:" >&5
25906 sed 's/^/| /' conftest.$ac_ext >&5
25908 ac_cv_lib_m_cosf=no
25911 rm -rf conftest.dSYM
25912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25913 conftest$ac_exeext conftest.$ac_ext
25914 LIBS=$ac_check_lib_save_LIBS
25916 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
25917 $as_echo "$ac_cv_lib_m_cosf" >&6; }
25918 if test "x$ac_cv_lib_m_cosf" = x""yes; then
25920 cat >>confdefs.h <<\_ACEOF
25921 #define HAVE_COSF 1
25926 { $as_echo "$as_me:$LINENO: checking for trunc in -lm" >&5
25927 $as_echo_n "checking for trunc in -lm... " >&6; }
25928 if test "${ac_cv_lib_m_trunc+set}" = set; then
25929 $as_echo_n "(cached) " >&6
25931 ac_check_lib_save_LIBS=$LIBS
25933 cat >conftest.$ac_ext <<_ACEOF
25936 cat confdefs.h >>conftest.$ac_ext
25937 cat >>conftest.$ac_ext <<_ACEOF
25938 /* end confdefs.h. */
25940 /* Override any GCC internal prototype to avoid an error.
25941 Use char because int might match the return type of a GCC
25942 builtin and then its argument prototype would still apply. */
25955 rm -f conftest.$ac_objext conftest$ac_exeext
25956 if { (ac_try="$ac_link"
25957 case "(($ac_try" in
25958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25959 *) ac_try_echo=$ac_try;;
25961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25962 $as_echo "$ac_try_echo") >&5
25963 (eval "$ac_link") 2>conftest.er1
25965 grep -v '^ *+' conftest.er1 >conftest.err
25967 cat conftest.err >&5
25968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969 (exit $ac_status); } && {
25970 test -z "$ac_c_werror_flag" ||
25971 test ! -s conftest.err
25972 } && test -s conftest$ac_exeext && {
25973 test "$cross_compiling" = yes ||
25974 $as_test_x conftest$ac_exeext
25976 ac_cv_lib_m_trunc=yes
25978 $as_echo "$as_me: failed program was:" >&5
25979 sed 's/^/| /' conftest.$ac_ext >&5
25981 ac_cv_lib_m_trunc=no
25984 rm -rf conftest.dSYM
25985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25986 conftest$ac_exeext conftest.$ac_ext
25987 LIBS=$ac_check_lib_save_LIBS
25989 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
25990 $as_echo "$ac_cv_lib_m_trunc" >&6; }
25991 if test "x$ac_cv_lib_m_trunc" = x""yes; then
25993 cat >>confdefs.h <<\_ACEOF
25994 #define HAVE_TRUNC 1
25999 { $as_echo "$as_me:$LINENO: checking for exp10 in -lm" >&5
26000 $as_echo_n "checking for exp10 in -lm... " >&6; }
26001 if test "${ac_cv_lib_m_exp10+set}" = set; then
26002 $as_echo_n "(cached) " >&6
26004 ac_check_lib_save_LIBS=$LIBS
26006 cat >conftest.$ac_ext <<_ACEOF
26009 cat confdefs.h >>conftest.$ac_ext
26010 cat >>conftest.$ac_ext <<_ACEOF
26011 /* end confdefs.h. */
26013 /* Override any GCC internal prototype to avoid an error.
26014 Use char because int might match the return type of a GCC
26015 builtin and then its argument prototype would still apply. */
26028 rm -f conftest.$ac_objext conftest$ac_exeext
26029 if { (ac_try="$ac_link"
26030 case "(($ac_try" in
26031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26032 *) ac_try_echo=$ac_try;;
26034 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26035 $as_echo "$ac_try_echo") >&5
26036 (eval "$ac_link") 2>conftest.er1
26038 grep -v '^ *+' conftest.er1 >conftest.err
26040 cat conftest.err >&5
26041 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } && {
26043 test -z "$ac_c_werror_flag" ||
26044 test ! -s conftest.err
26045 } && test -s conftest$ac_exeext && {
26046 test "$cross_compiling" = yes ||
26047 $as_test_x conftest$ac_exeext
26049 ac_cv_lib_m_exp10=yes
26051 $as_echo "$as_me: failed program was:" >&5
26052 sed 's/^/| /' conftest.$ac_ext >&5
26054 ac_cv_lib_m_exp10=no
26057 rm -rf conftest.dSYM
26058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26059 conftest$ac_exeext conftest.$ac_ext
26060 LIBS=$ac_check_lib_save_LIBS
26062 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp10" >&5
26063 $as_echo "$ac_cv_lib_m_exp10" >&6; }
26064 if test "x$ac_cv_lib_m_exp10" = x""yes; then
26066 cat >>confdefs.h <<\_ACEOF
26067 #define HAVE_EXP10 1
26072 { $as_echo "$as_me:$LINENO: checking for log2 in -lm" >&5
26073 $as_echo_n "checking for log2 in -lm... " >&6; }
26074 if test "${ac_cv_lib_m_log2+set}" = set; then
26075 $as_echo_n "(cached) " >&6
26077 ac_check_lib_save_LIBS=$LIBS
26079 cat >conftest.$ac_ext <<_ACEOF
26082 cat confdefs.h >>conftest.$ac_ext
26083 cat >>conftest.$ac_ext <<_ACEOF
26084 /* end confdefs.h. */
26086 /* Override any GCC internal prototype to avoid an error.
26087 Use char because int might match the return type of a GCC
26088 builtin and then its argument prototype would still apply. */
26101 rm -f conftest.$ac_objext conftest$ac_exeext
26102 if { (ac_try="$ac_link"
26103 case "(($ac_try" in
26104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26105 *) ac_try_echo=$ac_try;;
26107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26108 $as_echo "$ac_try_echo") >&5
26109 (eval "$ac_link") 2>conftest.er1
26111 grep -v '^ *+' conftest.er1 >conftest.err
26113 cat conftest.err >&5
26114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26115 (exit $ac_status); } && {
26116 test -z "$ac_c_werror_flag" ||
26117 test ! -s conftest.err
26118 } && test -s conftest$ac_exeext && {
26119 test "$cross_compiling" = yes ||
26120 $as_test_x conftest$ac_exeext
26122 ac_cv_lib_m_log2=yes
26124 $as_echo "$as_me: failed program was:" >&5
26125 sed 's/^/| /' conftest.$ac_ext >&5
26127 ac_cv_lib_m_log2=no
26130 rm -rf conftest.dSYM
26131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26132 conftest$ac_exeext conftest.$ac_ext
26133 LIBS=$ac_check_lib_save_LIBS
26135 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_log2" >&5
26136 $as_echo "$ac_cv_lib_m_log2" >&6; }
26137 if test "x$ac_cv_lib_m_log2" = x""yes; then
26139 cat >>confdefs.h <<\_ACEOF
26140 #define HAVE_LOG2 1
26153 { $as_echo "$as_me:$LINENO: checking for library containing shm_open" >&5
26154 $as_echo_n "checking for library containing shm_open... " >&6; }
26155 if test "${ac_cv_search_shm_open+set}" = set; then
26156 $as_echo_n "(cached) " >&6
26158 ac_func_search_save_LIBS=$LIBS
26159 cat >conftest.$ac_ext <<_ACEOF
26162 cat confdefs.h >>conftest.$ac_ext
26163 cat >>conftest.$ac_ext <<_ACEOF
26164 /* end confdefs.h. */
26166 /* Override any GCC internal prototype to avoid an error.
26167 Use char because int might match the return type of a GCC
26168 builtin and then its argument prototype would still apply. */
26176 return shm_open ();
26181 for ac_lib in '' rt; do
26182 if test -z "$ac_lib"; then
26183 ac_res="none required"
26186 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
26188 rm -f conftest.$ac_objext conftest$ac_exeext
26189 if { (ac_try="$ac_link"
26190 case "(($ac_try" in
26191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26192 *) ac_try_echo=$ac_try;;
26194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26195 $as_echo "$ac_try_echo") >&5
26196 (eval "$ac_link") 2>conftest.er1
26198 grep -v '^ *+' conftest.er1 >conftest.err
26200 cat conftest.err >&5
26201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26202 (exit $ac_status); } && {
26203 test -z "$ac_c_werror_flag" ||
26204 test ! -s conftest.err
26205 } && test -s conftest$ac_exeext && {
26206 test "$cross_compiling" = yes ||
26207 $as_test_x conftest$ac_exeext
26209 ac_cv_search_shm_open=$ac_res
26211 $as_echo "$as_me: failed program was:" >&5
26212 sed 's/^/| /' conftest.$ac_ext >&5
26217 rm -rf conftest.dSYM
26218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26220 if test "${ac_cv_search_shm_open+set}" = set; then
26224 if test "${ac_cv_search_shm_open+set}" = set; then
26227 ac_cv_search_shm_open=no
26229 rm conftest.$ac_ext
26230 LIBS=$ac_func_search_save_LIBS
26232 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_shm_open" >&5
26233 $as_echo "$ac_cv_search_shm_open" >&6; }
26234 ac_res=$ac_cv_search_shm_open
26235 if test "$ac_res" != no; then
26236 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
26237 SHM_OPEN_LIBS="$LIBS"
26241 for ac_func in shm_open
26243 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26244 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
26245 $as_echo_n "checking for $ac_func... " >&6; }
26246 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26247 $as_echo_n "(cached) " >&6
26249 cat >conftest.$ac_ext <<_ACEOF
26252 cat confdefs.h >>conftest.$ac_ext
26253 cat >>conftest.$ac_ext <<_ACEOF
26254 /* end confdefs.h. */
26255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26257 #define $ac_func innocuous_$ac_func
26259 /* System header to define __stub macros and hopefully few prototypes,
26260 which can conflict with char $ac_func (); below.
26261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26262 <limits.h> exists even on freestanding compilers. */
26265 # include <limits.h>
26267 # include <assert.h>
26272 /* Override any GCC internal prototype to avoid an error.
26273 Use char because int might match the return type of a GCC
26274 builtin and then its argument prototype would still apply. */
26279 /* The GNU C library defines this for functions which it implements
26280 to always fail with ENOSYS. Some functions are actually named
26281 something starting with __ and the normal name is an alias. */
26282 #if defined __stub_$ac_func || defined __stub___$ac_func
26289 return $ac_func ();
26294 rm -f conftest.$ac_objext conftest$ac_exeext
26295 if { (ac_try="$ac_link"
26296 case "(($ac_try" in
26297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26298 *) ac_try_echo=$ac_try;;
26300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26301 $as_echo "$ac_try_echo") >&5
26302 (eval "$ac_link") 2>conftest.er1
26304 grep -v '^ *+' conftest.er1 >conftest.err
26306 cat conftest.err >&5
26307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26308 (exit $ac_status); } && {
26309 test -z "$ac_c_werror_flag" ||
26310 test ! -s conftest.err
26311 } && test -s conftest$ac_exeext && {
26312 test "$cross_compiling" = yes ||
26313 $as_test_x conftest$ac_exeext
26315 eval "$as_ac_var=yes"
26317 $as_echo "$as_me: failed program was:" >&5
26318 sed 's/^/| /' conftest.$ac_ext >&5
26320 eval "$as_ac_var=no"
26323 rm -rf conftest.dSYM
26324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26325 conftest$ac_exeext conftest.$ac_ext
26327 ac_res=`eval 'as_val=${'$as_ac_var'}
26328 $as_echo "$as_val"'`
26329 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26330 $as_echo "$ac_res" >&6; }
26331 as_val=`eval 'as_val=${'$as_ac_var'}
26332 $as_echo "$as_val"'`
26333 if test "x$as_val" = x""yes; then
26334 cat >>confdefs.h <<_ACEOF
26335 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26346 # Check whether --with-gnu-ld was given.
26347 if test "${with_gnu_ld+set}" = set; then
26348 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26354 if test "$GCC" = yes; then
26355 # Check if gcc -print-prog-name=ld gives a path.
26356 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
26357 $as_echo_n "checking for ld used by $CC... " >&6; }
26360 # gcc leaves a trailing carriage return which upsets mingw
26361 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26363 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26366 # Accept absolute paths.
26368 re_direlt='/[^/][^/]*/\.\./'
26369 # Canonicalize the pathname of ld
26370 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
26371 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
26372 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
26374 test -z "$LD" && LD="$ac_prog"
26377 # If it fails, then pretend we aren't using GCC.
26381 # If it is relative, then search for the first ld in PATH.
26382 with_gnu_ld=unknown
26385 elif test "$with_gnu_ld" = yes; then
26386 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
26387 $as_echo_n "checking for GNU ld... " >&6; }
26389 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
26390 $as_echo_n "checking for non-GNU ld... " >&6; }
26392 if test "${lt_cv_path_LD+set}" = set; then
26393 $as_echo_n "(cached) " >&6
26395 if test -z "$LD"; then
26396 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
26397 for ac_dir in $PATH; do
26399 test -z "$ac_dir" && ac_dir=.
26400 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26401 lt_cv_path_LD="$ac_dir/$ac_prog"
26402 # Check to see if the program is GNU ld. I'd rather use --version,
26403 # but apparently some variants of GNU ld only accept -v.
26404 # Break only if it was the GNU/non-GNU ld that we prefer.
26405 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
26406 *GNU* | *'with BFD'*)
26407 test "$with_gnu_ld" != no && break
26410 test "$with_gnu_ld" != yes && break
26417 lt_cv_path_LD="$LD" # Let the user override the test with a path.
26421 LD="$lt_cv_path_LD"
26422 if test -n "$LD"; then
26423 { $as_echo "$as_me:$LINENO: result: $LD" >&5
26424 $as_echo "$LD" >&6; }
26426 { $as_echo "$as_me:$LINENO: result: no" >&5
26427 $as_echo "no" >&6; }
26429 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
26430 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
26431 { (exit 1); exit 1; }; }
26432 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
26433 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26434 if test "${lt_cv_prog_gnu_ld+set}" = set; then
26435 $as_echo_n "(cached) " >&6
26437 # I'd rather use --version here, but apparently some GNU lds only accept -v.
26438 case `$LD -v 2>&1 </dev/null` in
26439 *GNU* | *'with BFD'*)
26440 lt_cv_prog_gnu_ld=yes
26443 lt_cv_prog_gnu_ld=no
26447 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
26448 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
26449 with_gnu_ld=$lt_cv_prog_gnu_ld
26458 # on Mingw32 extra LDFLAGS are required to ease global variable linking
26459 LIBGNURADIO_CORE_EXTRA_LDFLAGS=""
26461 { $as_echo "$as_me:$LINENO: checking whether $LD accepts --enable-runtime-pseudo-reloc" >&5
26462 $as_echo_n "checking whether $LD accepts --enable-runtime-pseudo-reloc... " >&6; }
26463 if ${LD} --enable-runtime-pseudo-reloc --version >/dev/null 2>&1
26465 # libtool requires the quotes
26466 LIBGNURADIO_CORE_EXTRA_LDFLAGS="\"-Wl,--enable-runtime-pseudo-reloc\""
26467 { $as_echo "$as_me:$LINENO: result: yes" >&5
26468 $as_echo "yes" >&6; }
26470 { $as_echo "$as_me:$LINENO: result: no" >&5
26471 $as_echo "no" >&6; }
26478 { $as_echo "$as_me:$LINENO: checking for CreateFileMapping function" >&5
26479 $as_echo_n "checking for CreateFileMapping function... " >&6; }
26480 cat >conftest.$ac_ext <<_ACEOF
26482 #include <windows.h>
26483 int main (int argc, char **argv)
26487 char seg_name[1024];
26488 handle = CreateFileMapping(
26489 INVALID_HANDLE_VALUE, // use paging file
26490 NULL, // default security
26491 PAGE_READWRITE, // read/write access
26492 0, // max. object size
26493 size, // buffer size
26494 seg_name); // name of mapping object
26499 rm -f conftest.$ac_objext
26500 if { (ac_try="$ac_compile"
26501 case "(($ac_try" in
26502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26503 *) ac_try_echo=$ac_try;;
26505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26506 $as_echo "$ac_try_echo") >&5
26507 (eval "$ac_compile") 2>conftest.er1
26509 grep -v '^ *+' conftest.er1 >conftest.err
26511 cat conftest.err >&5
26512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513 (exit $ac_status); } && {
26514 test -z "$ac_c_werror_flag" ||
26515 test ! -s conftest.err
26516 } && test -s conftest.$ac_objext; then
26517 HAVE_CREATEFILEMAPPING=yes
26519 cat >>confdefs.h <<\_ACEOF
26520 #define HAVE_CREATEFILEMAPPING 1
26524 $as_echo "$as_me: failed program was:" >&5
26525 sed 's/^/| /' conftest.$ac_ext >&5
26527 HAVE_CREATEFILEMAPPING=no
26530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26532 { $as_echo "$as_me:$LINENO: result: $HAVE_CREATEFILEMAPPING" >&5
26533 $as_echo "$HAVE_CREATEFILEMAPPING" >&6; }
26534 if test x$HAVE_CREATEFILEMAPPING = xyes; then
26535 HAVE_CREATEFILEMAPPING_TRUE=
26536 HAVE_CREATEFILEMAPPING_FALSE='#'
26538 HAVE_CREATEFILEMAPPING_TRUE='#'
26539 HAVE_CREATEFILEMAPPING_FALSE=
26549 for ac_header in sys/types.h fcntl.h io.h
26551 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
26552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26553 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
26554 $as_echo_n "checking for $ac_header... " >&6; }
26555 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26556 $as_echo_n "(cached) " >&6
26558 ac_res=`eval 'as_val=${'$as_ac_Header'}
26559 $as_echo "$as_val"'`
26560 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26561 $as_echo "$ac_res" >&6; }
26563 # Is the header compilable?
26564 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
26565 $as_echo_n "checking $ac_header usability... " >&6; }
26566 cat >conftest.$ac_ext <<_ACEOF
26569 cat confdefs.h >>conftest.$ac_ext
26570 cat >>conftest.$ac_ext <<_ACEOF
26571 /* end confdefs.h. */
26572 $ac_includes_default
26573 #include <$ac_header>
26575 rm -f conftest.$ac_objext
26576 if { (ac_try="$ac_compile"
26577 case "(($ac_try" in
26578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26579 *) ac_try_echo=$ac_try;;
26581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26582 $as_echo "$ac_try_echo") >&5
26583 (eval "$ac_compile") 2>conftest.er1
26585 grep -v '^ *+' conftest.er1 >conftest.err
26587 cat conftest.err >&5
26588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26589 (exit $ac_status); } && {
26590 test -z "$ac_c_werror_flag" ||
26591 test ! -s conftest.err
26592 } && test -s conftest.$ac_objext; then
26593 ac_header_compiler=yes
26595 $as_echo "$as_me: failed program was:" >&5
26596 sed 's/^/| /' conftest.$ac_ext >&5
26598 ac_header_compiler=no
26601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26602 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26603 $as_echo "$ac_header_compiler" >&6; }
26605 # Is the header present?
26606 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
26607 $as_echo_n "checking $ac_header presence... " >&6; }
26608 cat >conftest.$ac_ext <<_ACEOF
26611 cat confdefs.h >>conftest.$ac_ext
26612 cat >>conftest.$ac_ext <<_ACEOF
26613 /* end confdefs.h. */
26614 #include <$ac_header>
26616 if { (ac_try="$ac_cpp conftest.$ac_ext"
26617 case "(($ac_try" in
26618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26619 *) ac_try_echo=$ac_try;;
26621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26622 $as_echo "$ac_try_echo") >&5
26623 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26625 grep -v '^ *+' conftest.er1 >conftest.err
26627 cat conftest.err >&5
26628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); } >/dev/null && {
26630 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26631 test ! -s conftest.err
26633 ac_header_preproc=yes
26635 $as_echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.$ac_ext >&5
26638 ac_header_preproc=no
26641 rm -f conftest.err conftest.$ac_ext
26642 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26643 $as_echo "$ac_header_preproc" >&6; }
26645 # So? What about this header?
26646 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26648 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26649 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26650 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26651 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26652 ac_header_preproc=yes
26655 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26656 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26657 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26658 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26659 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26660 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26661 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26662 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26663 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26664 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26665 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26666 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26670 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
26671 $as_echo_n "checking for $ac_header... " >&6; }
26672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26673 $as_echo_n "(cached) " >&6
26675 eval "$as_ac_Header=\$ac_header_preproc"
26677 ac_res=`eval 'as_val=${'$as_ac_Header'}
26678 $as_echo "$as_val"'`
26679 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26680 $as_echo "$ac_res" >&6; }
26683 as_val=`eval 'as_val=${'$as_ac_Header'}
26684 $as_echo "$as_val"'`
26685 if test "x$as_val" = x""yes; then
26686 cat >>confdefs.h <<_ACEOF
26687 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26695 for ac_header in windows.h
26697 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
26698 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26699 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
26700 $as_echo_n "checking for $ac_header... " >&6; }
26701 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26702 $as_echo_n "(cached) " >&6
26704 ac_res=`eval 'as_val=${'$as_ac_Header'}
26705 $as_echo "$as_val"'`
26706 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26707 $as_echo "$ac_res" >&6; }
26709 # Is the header compilable?
26710 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
26711 $as_echo_n "checking $ac_header usability... " >&6; }
26712 cat >conftest.$ac_ext <<_ACEOF
26715 cat confdefs.h >>conftest.$ac_ext
26716 cat >>conftest.$ac_ext <<_ACEOF
26717 /* end confdefs.h. */
26718 $ac_includes_default
26719 #include <$ac_header>
26721 rm -f conftest.$ac_objext
26722 if { (ac_try="$ac_compile"
26723 case "(($ac_try" in
26724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26725 *) ac_try_echo=$ac_try;;
26727 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26728 $as_echo "$ac_try_echo") >&5
26729 (eval "$ac_compile") 2>conftest.er1
26731 grep -v '^ *+' conftest.er1 >conftest.err
26733 cat conftest.err >&5
26734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } && {
26736 test -z "$ac_c_werror_flag" ||
26737 test ! -s conftest.err
26738 } && test -s conftest.$ac_objext; then
26739 ac_header_compiler=yes
26741 $as_echo "$as_me: failed program was:" >&5
26742 sed 's/^/| /' conftest.$ac_ext >&5
26744 ac_header_compiler=no
26747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26748 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26749 $as_echo "$ac_header_compiler" >&6; }
26751 # Is the header present?
26752 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
26753 $as_echo_n "checking $ac_header presence... " >&6; }
26754 cat >conftest.$ac_ext <<_ACEOF
26757 cat confdefs.h >>conftest.$ac_ext
26758 cat >>conftest.$ac_ext <<_ACEOF
26759 /* end confdefs.h. */
26760 #include <$ac_header>
26762 if { (ac_try="$ac_cpp conftest.$ac_ext"
26763 case "(($ac_try" in
26764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26765 *) ac_try_echo=$ac_try;;
26767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26768 $as_echo "$ac_try_echo") >&5
26769 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26771 grep -v '^ *+' conftest.er1 >conftest.err
26773 cat conftest.err >&5
26774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26775 (exit $ac_status); } >/dev/null && {
26776 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26777 test ! -s conftest.err
26779 ac_header_preproc=yes
26781 $as_echo "$as_me: failed program was:" >&5
26782 sed 's/^/| /' conftest.$ac_ext >&5
26784 ac_header_preproc=no
26787 rm -f conftest.err conftest.$ac_ext
26788 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26789 $as_echo "$ac_header_preproc" >&6; }
26791 # So? What about this header?
26792 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26794 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26795 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26796 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26797 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26798 ac_header_preproc=yes
26801 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26802 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26803 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26804 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26805 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26806 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26807 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26808 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26809 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26810 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26811 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26812 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26816 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
26817 $as_echo_n "checking for $ac_header... " >&6; }
26818 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26819 $as_echo_n "(cached) " >&6
26821 eval "$as_ac_Header=\$ac_header_preproc"
26823 ac_res=`eval 'as_val=${'$as_ac_Header'}
26824 $as_echo "$as_val"'`
26825 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26826 $as_echo "$ac_res" >&6; }
26829 as_val=`eval 'as_val=${'$as_ac_Header'}
26830 $as_echo "$as_val"'`
26831 if test "x$as_val" = x""yes; then
26832 cat >>confdefs.h <<_ACEOF
26833 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26842 for ac_header in winioctl.h winbase.h
26844 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
26845 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
26846 $as_echo_n "checking for $ac_header... " >&6; }
26847 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26848 $as_echo_n "(cached) " >&6
26850 cat >conftest.$ac_ext <<_ACEOF
26853 cat confdefs.h >>conftest.$ac_ext
26854 cat >>conftest.$ac_ext <<_ACEOF
26855 /* end confdefs.h. */
26858 #include <windows.h>
26862 #include <$ac_header>
26864 rm -f conftest.$ac_objext
26865 if { (ac_try="$ac_compile"
26866 case "(($ac_try" in
26867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26868 *) ac_try_echo=$ac_try;;
26870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26871 $as_echo "$ac_try_echo") >&5
26872 (eval "$ac_compile") 2>conftest.er1
26874 grep -v '^ *+' conftest.er1 >conftest.err
26876 cat conftest.err >&5
26877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26878 (exit $ac_status); } && {
26879 test -z "$ac_c_werror_flag" ||
26880 test ! -s conftest.err
26881 } && test -s conftest.$ac_objext; then
26882 eval "$as_ac_Header=yes"
26884 $as_echo "$as_me: failed program was:" >&5
26885 sed 's/^/| /' conftest.$ac_ext >&5
26887 eval "$as_ac_Header=no"
26890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26892 ac_res=`eval 'as_val=${'$as_ac_Header'}
26893 $as_echo "$as_val"'`
26894 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26895 $as_echo "$ac_res" >&6; }
26896 as_val=`eval 'as_val=${'$as_ac_Header'}
26897 $as_echo "$as_val"'`
26898 if test "x$as_val" = x""yes; then
26899 cat >>confdefs.h <<_ACEOF
26900 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26918 for ac_func in getopt usleep gettimeofday nanosleep rand srand random srandom sleep sigaction
26920 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26921 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
26922 $as_echo_n "checking for $ac_func... " >&6; }
26923 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26924 $as_echo_n "(cached) " >&6
26926 cat >conftest.$ac_ext <<_ACEOF
26929 cat confdefs.h >>conftest.$ac_ext
26930 cat >>conftest.$ac_ext <<_ACEOF
26931 /* end confdefs.h. */
26932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26934 #define $ac_func innocuous_$ac_func
26936 /* System header to define __stub macros and hopefully few prototypes,
26937 which can conflict with char $ac_func (); below.
26938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26939 <limits.h> exists even on freestanding compilers. */
26942 # include <limits.h>
26944 # include <assert.h>
26949 /* Override any GCC internal prototype to avoid an error.
26950 Use char because int might match the return type of a GCC
26951 builtin and then its argument prototype would still apply. */
26956 /* The GNU C library defines this for functions which it implements
26957 to always fail with ENOSYS. Some functions are actually named
26958 something starting with __ and the normal name is an alias. */
26959 #if defined __stub_$ac_func || defined __stub___$ac_func
26966 return $ac_func ();
26971 rm -f conftest.$ac_objext conftest$ac_exeext
26972 if { (ac_try="$ac_link"
26973 case "(($ac_try" in
26974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26975 *) ac_try_echo=$ac_try;;
26977 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26978 $as_echo "$ac_try_echo") >&5
26979 (eval "$ac_link") 2>conftest.er1
26981 grep -v '^ *+' conftest.er1 >conftest.err
26983 cat conftest.err >&5
26984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } && {
26986 test -z "$ac_c_werror_flag" ||
26987 test ! -s conftest.err
26988 } && test -s conftest$ac_exeext && {
26989 test "$cross_compiling" = yes ||
26990 $as_test_x conftest$ac_exeext
26992 eval "$as_ac_var=yes"
26994 $as_echo "$as_me: failed program was:" >&5
26995 sed 's/^/| /' conftest.$ac_ext >&5
26997 eval "$as_ac_var=no"
27000 rm -rf conftest.dSYM
27001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27002 conftest$ac_exeext conftest.$ac_ext
27004 ac_res=`eval 'as_val=${'$as_ac_var'}
27005 $as_echo "$as_val"'`
27006 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
27007 $as_echo "$ac_res" >&6; }
27008 as_val=`eval 'as_val=${'$as_ac_var'}
27009 $as_echo "$as_val"'`
27010 if test "x$as_val" = x""yes; then
27011 cat >>confdefs.h <<_ACEOF
27012 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27018 { $as_echo "$as_me:$LINENO: checking for struct timezone" >&5
27019 $as_echo_n "checking for struct timezone... " >&6; }
27020 if test "${ac_cv_type_struct_timezone+set}" = set; then
27021 $as_echo_n "(cached) " >&6
27023 ac_cv_type_struct_timezone=no
27024 cat >conftest.$ac_ext <<_ACEOF
27027 cat confdefs.h >>conftest.$ac_ext
27028 cat >>conftest.$ac_ext <<_ACEOF
27029 /* end confdefs.h. */
27031 #if HAVE_SYS_TYPES_H
27032 # include <sys/types.h>
27034 #if TIME_WITH_SYS_TIME
27035 # include <sys/time.h>
27038 # if HAVE_SYS_TIME_H
27039 # include <sys/time.h>
27049 if (sizeof (struct timezone))
27055 rm -f conftest.$ac_objext
27056 if { (ac_try="$ac_compile"
27057 case "(($ac_try" in
27058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27059 *) ac_try_echo=$ac_try;;
27061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27062 $as_echo "$ac_try_echo") >&5
27063 (eval "$ac_compile") 2>conftest.er1
27065 grep -v '^ *+' conftest.er1 >conftest.err
27067 cat conftest.err >&5
27068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); } && {
27070 test -z "$ac_c_werror_flag" ||
27071 test ! -s conftest.err
27072 } && test -s conftest.$ac_objext; then
27073 cat >conftest.$ac_ext <<_ACEOF
27076 cat confdefs.h >>conftest.$ac_ext
27077 cat >>conftest.$ac_ext <<_ACEOF
27078 /* end confdefs.h. */
27080 #if HAVE_SYS_TYPES_H
27081 # include <sys/types.h>
27083 #if TIME_WITH_SYS_TIME
27084 # include <sys/time.h>
27087 # if HAVE_SYS_TIME_H
27088 # include <sys/time.h>
27098 if (sizeof ((struct timezone)))
27104 rm -f conftest.$ac_objext
27105 if { (ac_try="$ac_compile"
27106 case "(($ac_try" in
27107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27108 *) ac_try_echo=$ac_try;;
27110 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27111 $as_echo "$ac_try_echo") >&5
27112 (eval "$ac_compile") 2>conftest.er1
27114 grep -v '^ *+' conftest.er1 >conftest.err
27116 cat conftest.err >&5
27117 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 (exit $ac_status); } && {
27119 test -z "$ac_c_werror_flag" ||
27120 test ! -s conftest.err
27121 } && test -s conftest.$ac_objext; then
27124 $as_echo "$as_me: failed program was:" >&5
27125 sed 's/^/| /' conftest.$ac_ext >&5
27127 ac_cv_type_struct_timezone=yes
27130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27132 $as_echo "$as_me: failed program was:" >&5
27133 sed 's/^/| /' conftest.$ac_ext >&5
27138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27140 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_timezone" >&5
27141 $as_echo "$ac_cv_type_struct_timezone" >&6; }
27142 if test "x$ac_cv_type_struct_timezone" = x""yes; then
27144 cat >>confdefs.h <<_ACEOF
27145 #define HAVE_STRUCT_TIMEZONE 1
27150 { $as_echo "$as_me:$LINENO: checking for struct timespec" >&5
27151 $as_echo_n "checking for struct timespec... " >&6; }
27152 if test "${ac_cv_type_struct_timespec+set}" = set; then
27153 $as_echo_n "(cached) " >&6
27155 ac_cv_type_struct_timespec=no
27156 cat >conftest.$ac_ext <<_ACEOF
27159 cat confdefs.h >>conftest.$ac_ext
27160 cat >>conftest.$ac_ext <<_ACEOF
27161 /* end confdefs.h. */
27163 #if HAVE_SYS_TYPES_H
27164 # include <sys/types.h>
27166 #if TIME_WITH_SYS_TIME
27167 # include <sys/time.h>
27170 # if HAVE_SYS_TIME_H
27171 # include <sys/time.h>
27181 if (sizeof (struct timespec))
27187 rm -f conftest.$ac_objext
27188 if { (ac_try="$ac_compile"
27189 case "(($ac_try" in
27190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27191 *) ac_try_echo=$ac_try;;
27193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27194 $as_echo "$ac_try_echo") >&5
27195 (eval "$ac_compile") 2>conftest.er1
27197 grep -v '^ *+' conftest.er1 >conftest.err
27199 cat conftest.err >&5
27200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201 (exit $ac_status); } && {
27202 test -z "$ac_c_werror_flag" ||
27203 test ! -s conftest.err
27204 } && test -s conftest.$ac_objext; then
27205 cat >conftest.$ac_ext <<_ACEOF
27208 cat confdefs.h >>conftest.$ac_ext
27209 cat >>conftest.$ac_ext <<_ACEOF
27210 /* end confdefs.h. */
27212 #if HAVE_SYS_TYPES_H
27213 # include <sys/types.h>
27215 #if TIME_WITH_SYS_TIME
27216 # include <sys/time.h>
27219 # if HAVE_SYS_TIME_H
27220 # include <sys/time.h>
27230 if (sizeof ((struct timespec)))
27236 rm -f conftest.$ac_objext
27237 if { (ac_try="$ac_compile"
27238 case "(($ac_try" in
27239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27240 *) ac_try_echo=$ac_try;;
27242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27243 $as_echo "$ac_try_echo") >&5
27244 (eval "$ac_compile") 2>conftest.er1
27246 grep -v '^ *+' conftest.er1 >conftest.err
27248 cat conftest.err >&5
27249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27250 (exit $ac_status); } && {
27251 test -z "$ac_c_werror_flag" ||
27252 test ! -s conftest.err
27253 } && test -s conftest.$ac_objext; then
27256 $as_echo "$as_me: failed program was:" >&5
27257 sed 's/^/| /' conftest.$ac_ext >&5
27259 ac_cv_type_struct_timespec=yes
27262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27264 $as_echo "$as_me: failed program was:" >&5
27265 sed 's/^/| /' conftest.$ac_ext >&5
27270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27272 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5
27273 $as_echo "$ac_cv_type_struct_timespec" >&6; }
27274 if test "x$ac_cv_type_struct_timespec" = x""yes; then
27276 cat >>confdefs.h <<_ACEOF
27277 #define HAVE_STRUCT_TIMESPEC 1
27282 { $as_echo "$as_me:$LINENO: checking for ssize_t" >&5
27283 $as_echo_n "checking for ssize_t... " >&6; }
27284 if test "${ac_cv_type_ssize_t+set}" = set; then
27285 $as_echo_n "(cached) " >&6
27287 ac_cv_type_ssize_t=no
27288 cat >conftest.$ac_ext <<_ACEOF
27291 cat confdefs.h >>conftest.$ac_ext
27292 cat >>conftest.$ac_ext <<_ACEOF
27293 /* end confdefs.h. */
27295 #if HAVE_SYS_TYPES_H
27296 # include <sys/types.h>
27298 #if TIME_WITH_SYS_TIME
27299 # include <sys/time.h>
27302 # if HAVE_SYS_TIME_H
27303 # include <sys/time.h>
27313 if (sizeof (ssize_t))
27319 rm -f conftest.$ac_objext
27320 if { (ac_try="$ac_compile"
27321 case "(($ac_try" in
27322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27323 *) ac_try_echo=$ac_try;;
27325 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27326 $as_echo "$ac_try_echo") >&5
27327 (eval "$ac_compile") 2>conftest.er1
27329 grep -v '^ *+' conftest.er1 >conftest.err
27331 cat conftest.err >&5
27332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); } && {
27334 test -z "$ac_c_werror_flag" ||
27335 test ! -s conftest.err
27336 } && test -s conftest.$ac_objext; then
27337 cat >conftest.$ac_ext <<_ACEOF
27340 cat confdefs.h >>conftest.$ac_ext
27341 cat >>conftest.$ac_ext <<_ACEOF
27342 /* end confdefs.h. */
27344 #if HAVE_SYS_TYPES_H
27345 # include <sys/types.h>
27347 #if TIME_WITH_SYS_TIME
27348 # include <sys/time.h>
27351 # if HAVE_SYS_TIME_H
27352 # include <sys/time.h>
27362 if (sizeof ((ssize_t)))
27368 rm -f conftest.$ac_objext
27369 if { (ac_try="$ac_compile"
27370 case "(($ac_try" in
27371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27372 *) ac_try_echo=$ac_try;;
27374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27375 $as_echo "$ac_try_echo") >&5
27376 (eval "$ac_compile") 2>conftest.er1
27378 grep -v '^ *+' conftest.er1 >conftest.err
27380 cat conftest.err >&5
27381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27382 (exit $ac_status); } && {
27383 test -z "$ac_c_werror_flag" ||
27384 test ! -s conftest.err
27385 } && test -s conftest.$ac_objext; then
27388 $as_echo "$as_me: failed program was:" >&5
27389 sed 's/^/| /' conftest.$ac_ext >&5
27391 ac_cv_type_ssize_t=yes
27394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27396 $as_echo "$as_me: failed program was:" >&5
27397 sed 's/^/| /' conftest.$ac_ext >&5
27402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27404 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
27405 $as_echo "$ac_cv_type_ssize_t" >&6; }
27406 if test "x$ac_cv_type_ssize_t" = x""yes; then
27408 cat >>confdefs.h <<_ACEOF
27409 #define HAVE_SSIZE_T 1
27419 for ac_func in getopt usleep gettimeofday
27421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27422 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
27423 $as_echo_n "checking for $ac_func... " >&6; }
27424 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27425 $as_echo_n "(cached) " >&6
27427 cat >conftest.$ac_ext <<_ACEOF
27430 cat confdefs.h >>conftest.$ac_ext
27431 cat >>conftest.$ac_ext <<_ACEOF
27432 /* end confdefs.h. */
27433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27435 #define $ac_func innocuous_$ac_func
27437 /* System header to define __stub macros and hopefully few prototypes,
27438 which can conflict with char $ac_func (); below.
27439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27440 <limits.h> exists even on freestanding compilers. */
27443 # include <limits.h>
27445 # include <assert.h>
27450 /* Override any GCC internal prototype to avoid an error.
27451 Use char because int might match the return type of a GCC
27452 builtin and then its argument prototype would still apply. */
27457 /* The GNU C library defines this for functions which it implements
27458 to always fail with ENOSYS. Some functions are actually named
27459 something starting with __ and the normal name is an alias. */
27460 #if defined __stub_$ac_func || defined __stub___$ac_func
27467 return $ac_func ();
27472 rm -f conftest.$ac_objext conftest$ac_exeext
27473 if { (ac_try="$ac_link"
27474 case "(($ac_try" in
27475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27476 *) ac_try_echo=$ac_try;;
27478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27479 $as_echo "$ac_try_echo") >&5
27480 (eval "$ac_link") 2>conftest.er1
27482 grep -v '^ *+' conftest.er1 >conftest.err
27484 cat conftest.err >&5
27485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486 (exit $ac_status); } && {
27487 test -z "$ac_c_werror_flag" ||
27488 test ! -s conftest.err
27489 } && test -s conftest$ac_exeext && {
27490 test "$cross_compiling" = yes ||
27491 $as_test_x conftest$ac_exeext
27493 eval "$as_ac_var=yes"
27495 $as_echo "$as_me: failed program was:" >&5
27496 sed 's/^/| /' conftest.$ac_ext >&5
27498 eval "$as_ac_var=no"
27501 rm -rf conftest.dSYM
27502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27503 conftest$ac_exeext conftest.$ac_ext
27505 ac_res=`eval 'as_val=${'$as_ac_var'}
27506 $as_echo "$as_val"'`
27507 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
27508 $as_echo "$ac_res" >&6; }
27509 as_val=`eval 'as_val=${'$as_ac_var'}
27510 $as_echo "$as_val"'`
27511 if test "x$as_val" = x""yes; then
27512 cat >>confdefs.h <<_ACEOF
27513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27517 case " $LIBOBJS " in
27518 *" $ac_func.$ac_objext "* ) ;;
27519 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
27529 { $as_echo "$as_me:$LINENO: checking for Sleep" >&5
27530 $as_echo_n "checking for Sleep... " >&6; }
27531 cat >conftest.$ac_ext <<_ACEOF
27534 cat confdefs.h >>conftest.$ac_ext
27535 cat >>conftest.$ac_ext <<_ACEOF
27536 /* end confdefs.h. */
27537 #include <windows.h>
27538 #include <winbase.h>
27548 rm -f conftest.$ac_objext conftest$ac_exeext
27549 if { (ac_try="$ac_link"
27550 case "(($ac_try" in
27551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27552 *) ac_try_echo=$ac_try;;
27554 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27555 $as_echo "$ac_try_echo") >&5
27556 (eval "$ac_link") 2>conftest.er1
27558 grep -v '^ *+' conftest.er1 >conftest.err
27560 cat conftest.err >&5
27561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); } && {
27563 test -z "$ac_c_werror_flag" ||
27564 test ! -s conftest.err
27565 } && test -s conftest$ac_exeext && {
27566 test "$cross_compiling" = yes ||
27567 $as_test_x conftest$ac_exeext
27570 cat >>confdefs.h <<\_ACEOF
27571 #define HAVE_SSLEEP 1
27574 { $as_echo "$as_me:$LINENO: result: yes" >&5
27575 $as_echo "yes" >&6; }
27577 $as_echo "$as_me: failed program was:" >&5
27578 sed 's/^/| /' conftest.$ac_ext >&5
27580 { $as_echo "$as_me:$LINENO: result: no" >&5
27581 $as_echo "no" >&6; }
27585 rm -rf conftest.dSYM
27586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27587 conftest$ac_exeext conftest.$ac_ext
27589 { $as_echo "$as_me:$LINENO: checking whether mkdir accepts only one arg" >&5
27590 $as_echo_n "checking whether mkdir accepts only one arg... " >&6; }
27591 cat >conftest.$ac_ext <<_ACEOF
27594 cat confdefs.h >>conftest.$ac_ext
27595 cat >>conftest.$ac_ext <<_ACEOF
27596 /* end confdefs.h. */
27597 #include <sys/types.h>
27598 #include <sys/stat.h>
27610 rm -f conftest.$ac_objext
27611 if { (ac_try="$ac_compile"
27612 case "(($ac_try" in
27613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27614 *) ac_try_echo=$ac_try;;
27616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27617 $as_echo "$ac_try_echo") >&5
27618 (eval "$ac_compile") 2>conftest.er1
27620 grep -v '^ *+' conftest.er1 >conftest.err
27622 cat conftest.err >&5
27623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27624 (exit $ac_status); } && {
27625 test -z "$ac_c_werror_flag" ||
27626 test ! -s conftest.err
27627 } && test -s conftest.$ac_objext; then
27628 { $as_echo "$as_me:$LINENO: result: yes" >&5
27629 $as_echo "yes" >&6; }
27631 cat >>confdefs.h <<\_ACEOF
27632 #define MKDIR_TAKES_ONE_ARG /**/
27636 $as_echo "$as_me: failed program was:" >&5
27637 sed 's/^/| /' conftest.$ac_ext >&5
27639 { $as_echo "$as_me:$LINENO: result: no" >&5
27640 $as_echo "no" >&6; }
27644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27652 # Extract the first word of "dot", so it can be a program name with args.
27653 set dummy dot; ac_word=$2
27654 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
27655 $as_echo_n "checking for $ac_word... " >&6; }
27656 if test "${ac_cv_prog_HAVE_DOT+set}" = set; then
27657 $as_echo_n "(cached) " >&6
27659 if test -n "$HAVE_DOT"; then
27660 ac_cv_prog_HAVE_DOT="$HAVE_DOT" # Let the user override the test.
27662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27663 for as_dir in $PATH
27666 test -z "$as_dir" && as_dir=.
27667 for ac_exec_ext in '' $ac_executable_extensions; do
27668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27669 ac_cv_prog_HAVE_DOT="YES"
27670 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27677 test -z "$ac_cv_prog_HAVE_DOT" && ac_cv_prog_HAVE_DOT="NO"
27680 HAVE_DOT=$ac_cv_prog_HAVE_DOT
27681 if test -n "$HAVE_DOT"; then
27682 { $as_echo "$as_me:$LINENO: result: $HAVE_DOT" >&5
27683 $as_echo "$HAVE_DOT" >&6; }
27685 { $as_echo "$as_me:$LINENO: result: no" >&5
27686 $as_echo "no" >&6; }
27693 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27694 if test -n "$ac_tool_prefix"; then
27695 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27696 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27697 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
27698 $as_echo_n "checking for $ac_word... " >&6; }
27699 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27700 $as_echo_n "(cached) " >&6
27702 case $PKG_CONFIG in
27704 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27708 for as_dir in $PATH
27711 test -z "$as_dir" && as_dir=.
27712 for ac_exec_ext in '' $ac_executable_extensions; do
27713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27714 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27715 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27725 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27726 if test -n "$PKG_CONFIG"; then
27727 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27728 $as_echo "$PKG_CONFIG" >&6; }
27730 { $as_echo "$as_me:$LINENO: result: no" >&5
27731 $as_echo "no" >&6; }
27736 if test -z "$ac_cv_path_PKG_CONFIG"; then
27737 ac_pt_PKG_CONFIG=$PKG_CONFIG
27738 # Extract the first word of "pkg-config", so it can be a program name with args.
27739 set dummy pkg-config; ac_word=$2
27740 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
27741 $as_echo_n "checking for $ac_word... " >&6; }
27742 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
27743 $as_echo_n "(cached) " >&6
27745 case $ac_pt_PKG_CONFIG in
27747 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27751 for as_dir in $PATH
27754 test -z "$as_dir" && as_dir=.
27755 for ac_exec_ext in '' $ac_executable_extensions; do
27756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27757 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27758 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27768 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27769 if test -n "$ac_pt_PKG_CONFIG"; then
27770 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
27771 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27773 { $as_echo "$as_me:$LINENO: result: no" >&5
27774 $as_echo "no" >&6; }
27777 if test "x$ac_pt_PKG_CONFIG" = x; then
27780 case $cross_compiling:$ac_tool_warned in
27782 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
27783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27784 ac_tool_warned=yes ;;
27786 PKG_CONFIG=$ac_pt_PKG_CONFIG
27789 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27793 if test -n "$PKG_CONFIG"; then
27794 _pkg_min_version=0.18
27795 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
27796 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27797 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27798 { $as_echo "$as_me:$LINENO: result: yes" >&5
27799 $as_echo "yes" >&6; }
27801 { $as_echo "$as_me:$LINENO: result: no" >&5
27802 $as_echo "no" >&6; }
27811 { $as_echo "$as_me:$LINENO: checking for FFTW3F" >&5
27812 $as_echo_n "checking for FFTW3F... " >&6; }
27814 if test -n "$PKG_CONFIG"; then
27815 if test -n "$FFTW3F_CFLAGS"; then
27816 pkg_cv_FFTW3F_CFLAGS="$FFTW3F_CFLAGS"
27818 if test -n "$PKG_CONFIG" && \
27819 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fftw3f >= 3.0\"") >&5
27820 ($PKG_CONFIG --exists --print-errors "fftw3f >= 3.0") 2>&5
27822 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27823 (exit $ac_status); }; then
27824 pkg_cv_FFTW3F_CFLAGS=`$PKG_CONFIG --cflags "fftw3f >= 3.0" 2>/dev/null`
27833 if test x$cross_compiling = xyes
27835 if test -n "$PKG_CONFIG"; then
27836 if test -n "$FFTW3F_LIBS"; then
27837 pkg_cv_FFTW3F_LIBS="$FFTW3F_LIBS"
27839 if test -n "$PKG_CONFIG" && \
27840 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fftw3f >= 3.0\"") >&5
27841 ($PKG_CONFIG --exists --print-errors "fftw3f >= 3.0") 2>&5
27843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27844 (exit $ac_status); }; then
27845 pkg_cv_FFTW3F_LIBS=`$PKG_CONFIG --libs --static "fftw3f >= 3.0" 2>/dev/null`
27854 for flag in $pkg_cv_FFTW3F_LIBS; do
27856 (-L/lib* | -L/usr/lib* ) ;; # ignore
27857 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
27860 pkg_cv_FFTW3F_LIBS="$_pkg_tmp"
27862 if test -n "$PKG_CONFIG"; then
27863 if test -n "$FFTW3F_LIBS"; then
27864 pkg_cv_FFTW3F_LIBS="$FFTW3F_LIBS"
27866 if test -n "$PKG_CONFIG" && \
27867 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fftw3f >= 3.0\"") >&5
27868 ($PKG_CONFIG --exists --print-errors "fftw3f >= 3.0") 2>&5
27870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871 (exit $ac_status); }; then
27872 pkg_cv_FFTW3F_LIBS=`$PKG_CONFIG --libs --static "fftw3f >= 3.0" 2>/dev/null`
27882 if test -n "$PKG_CONFIG"; then
27883 if test -n "$FFTW3F_INCLUDEDIR"; then
27884 pkg_cv_FFTW3F_INCLUDEDIR="$FFTW3F_INCLUDEDIR"
27886 if test -n "$PKG_CONFIG" && \
27887 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fftw3f >= 3.0\"") >&5
27888 ($PKG_CONFIG --exists --print-errors "fftw3f >= 3.0") 2>&5
27890 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); }; then
27892 pkg_cv_FFTW3F_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "fftw3f >= 3.0" 2>/dev/null`
27904 if test $pkg_failed = yes; then
27906 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27907 _pkg_short_errors_supported=yes
27909 _pkg_short_errors_supported=no
27911 if test $_pkg_short_errors_supported = yes; then
27912 FFTW3F_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fftw3f >= 3.0"`
27914 FFTW3F_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fftw3f >= 3.0"`
27916 # Put the nasty error message in config.log where it belongs
27917 echo "$FFTW3F_PKG_ERRORS" >&5
27919 { { $as_echo "$as_me:$LINENO: error: Package requirements (fftw3f >= 3.0) were not met:
27923 Consider adjusting the PKG_CONFIG_PATH environment variable if you
27924 installed software in a non-standard prefix.
27926 Alternatively, you may set the environment variables FFTW3F_CFLAGS
27927 and FFTW3F_LIBS to avoid the need to call pkg-config.
27928 See the pkg-config man page for more details.
27930 $as_echo "$as_me: error: Package requirements (fftw3f >= 3.0) were not met:
27934 Consider adjusting the PKG_CONFIG_PATH environment variable if you
27935 installed software in a non-standard prefix.
27937 Alternatively, you may set the environment variables FFTW3F_CFLAGS
27938 and FFTW3F_LIBS to avoid the need to call pkg-config.
27939 See the pkg-config man page for more details.
27941 { (exit 1); exit 1; }; }
27942 elif test $pkg_failed = untried; then
27943 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27945 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
27946 is in your PATH or set the PKG_CONFIG environment variable to the full
27947 path to pkg-config.
27949 Alternatively, you may set the environment variables FFTW3F_CFLAGS
27950 and FFTW3F_LIBS to avoid the need to call pkg-config.
27951 See the pkg-config man page for more details.
27953 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27954 See \`config.log' for more details." >&5
27955 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
27956 is in your PATH or set the PKG_CONFIG environment variable to the full
27957 path to pkg-config.
27959 Alternatively, you may set the environment variables FFTW3F_CFLAGS
27960 and FFTW3F_LIBS to avoid the need to call pkg-config.
27961 See the pkg-config man page for more details.
27963 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27964 See \`config.log' for more details." >&2;}
27965 { (exit 1); exit 1; }; }; }
27967 FFTW3F_CFLAGS=$pkg_cv_FFTW3F_CFLAGS
27968 FFTW3F_LIBS=$pkg_cv_FFTW3F_LIBS
27969 FFTW3F_INCLUDEDIR=$pkg_cv_FFTW3F_INCLUDEDIR
27972 for flag in $FFTW3F_CFLAGS; do
27974 -I* | -D* | -U*) FFTW3F_CPPFLAGS="$FFTW3F_CPPFLAGS $flag" ;;
27977 pkg_cv_FFTW3F_CPPFLAGS=$FFTW3F_CPPFLAGS
27980 { $as_echo "$as_me:$LINENO: result: yes" >&5
27981 $as_echo "yes" >&6; }
27987 # Check whether --enable-doxygen was given.
27988 if test "${enable_doxygen+set}" = set; then
27989 enableval=$enable_doxygen;
27992 # Check whether --enable-dot was given.
27993 if test "${enable_dot+set}" = set; then
27994 enableval=$enable_dot;
27998 if test "x$enable_doxygen" = xno; then
28001 # Extract the first word of "doxygen", so it can be a program name with args.
28002 set dummy doxygen; ac_word=$2
28003 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
28004 $as_echo_n "checking for $ac_word... " >&6; }
28005 if test "${ac_cv_path_DOXYGEN+set}" = set; then
28006 $as_echo_n "(cached) " >&6
28010 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
28013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28014 for as_dir in $PATH
28017 test -z "$as_dir" && as_dir=.
28018 for ac_exec_ext in '' $ac_executable_extensions; do
28019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28020 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
28021 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28031 DOXYGEN=$ac_cv_path_DOXYGEN
28032 if test -n "$DOXYGEN"; then
28033 { $as_echo "$as_me:$LINENO: result: $DOXYGEN" >&5
28034 $as_echo "$DOXYGEN" >&6; }
28036 { $as_echo "$as_me:$LINENO: result: no" >&5
28037 $as_echo "no" >&6; }
28041 if test x$DOXYGEN = x; then
28042 if test "x$enable_doxygen" = xyes; then
28043 { { $as_echo "$as_me:$LINENO: error: could not find doxygen" >&5
28044 $as_echo "$as_me: error: could not find doxygen" >&2;}
28045 { (exit 1); exit 1; }; }
28052 # Extract the first word of "dot", so it can be a program name with args.
28053 set dummy dot; ac_word=$2
28054 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
28055 $as_echo_n "checking for $ac_word... " >&6; }
28056 if test "${ac_cv_path_DOT+set}" = set; then
28057 $as_echo_n "(cached) " >&6
28061 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
28064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28065 for as_dir in $PATH
28068 test -z "$as_dir" && as_dir=.
28069 for ac_exec_ext in '' $ac_executable_extensions; do
28070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28071 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
28072 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28082 DOT=$ac_cv_path_DOT
28083 if test -n "$DOT"; then
28084 { $as_echo "$as_me:$LINENO: result: $DOT" >&5
28085 $as_echo "$DOT" >&6; }
28087 { $as_echo "$as_me:$LINENO: result: no" >&5
28088 $as_echo "no" >&6; }
28095 if test x$enable_doc = xyes; then
28104 if test x$DOT = x; then
28105 if test "x$enable_dot" = xyes; then
28106 { { $as_echo "$as_me:$LINENO: error: could not find dot" >&5
28107 $as_echo "$as_me: error: could not find dot" >&2;}
28108 { (exit 1); exit 1; }; }
28115 enable_xml_docs=YES
28117 enable_html_docs=YES
28119 enable_latex_docs=NO
28126 # Check whether --with-md-cpu was given.
28127 if test "${with_md_cpu+set}" = set; then
28128 withval=$with_md_cpu; cf_with_md_cpu="$withval"
28130 cf_with_md_cpu="$host_cpu"
28134 case "$cf_with_md_cpu" in
28135 x86 | i[3-7]86) MD_CPU=x86 MD_SUBCPU=x86 ;;
28136 x86_64) MD_CPU=x86 MD_SUBCPU=x86_64 ;;
28137 powerpc*) MD_CPU=powerpc ;;
28138 *) MD_CPU=generic ;;
28141 # Check whether --enable-altivec was given.
28142 if test "${enable_altivec+set}" = set; then
28143 enableval=$enable_altivec; if test $MD_CPU = powerpc; then
28144 case "$enableval" in
28145 (no) MD_CPU=generic ;;
28148 echo 'void f(){}' > conftest.c
28149 for i in -mabi=altivec -maltivec
28151 { $as_echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
28152 $as_echo_n "checking whether $CC accepts $i... " >&6; }
28153 if test -z "`${CC} $i -c conftest.c 2>&1`"
28155 lf_CFLAGS="${lf_CFLAGS} $i"
28156 { $as_echo "$as_me:$LINENO: result: yes" >&5
28157 $as_echo "yes" >&6; }
28159 { $as_echo "$as_me:$LINENO: result: no" >&5
28160 $as_echo "no" >&6; }
28163 rm -f conftest.c conftest.o
28167 echo 'void f(){}' > conftest.cc
28168 for i in -mabi=altivec -maltivec
28170 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
28171 $as_echo_n "checking whether $CXX accepts $i... " >&6; }
28172 if test -z "`${CXX} $i -c conftest.cc 2>&1`"
28174 lf_CXXFLAGS="${lf_CXXFLAGS} $i"
28175 { $as_echo "$as_me:$LINENO: result: yes" >&5
28176 $as_echo "yes" >&6; }
28178 { $as_echo "$as_me:$LINENO: result: no" >&5
28179 $as_echo "no" >&6; }
28182 rm -f conftest.cc conftest.o
28186 (*) { { $as_echo "$as_me:$LINENO: error: Invalid argument ($enableval) to --enable-altivec" >&5
28187 $as_echo "$as_me: error: Invalid argument ($enableval) to --enable-altivec" >&2;}
28188 { (exit 1); exit 1; }; } ;;
28192 if test $MD_CPU = powerpc; then
28194 echo 'void f(){}' > conftest.c
28195 for i in -mabi=altivec -maltivec
28197 { $as_echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
28198 $as_echo_n "checking whether $CC accepts $i... " >&6; }
28199 if test -z "`${CC} $i -c conftest.c 2>&1`"
28201 lf_CFLAGS="${lf_CFLAGS} $i"
28202 { $as_echo "$as_me:$LINENO: result: yes" >&5
28203 $as_echo "yes" >&6; }
28205 { $as_echo "$as_me:$LINENO: result: no" >&5
28206 $as_echo "no" >&6; }
28209 rm -f conftest.c conftest.o
28213 echo 'void f(){}' > conftest.cc
28214 for i in -mabi=altivec -maltivec
28216 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
28217 $as_echo_n "checking whether $CXX accepts $i... " >&6; }
28218 if test -z "`${CXX} $i -c conftest.cc 2>&1`"
28220 lf_CXXFLAGS="${lf_CXXFLAGS} $i"
28221 { $as_echo "$as_me:$LINENO: result: yes" >&5
28222 $as_echo "yes" >&6; }
28224 { $as_echo "$as_me:$LINENO: result: no" >&5
28225 $as_echo "no" >&6; }
28228 rm -f conftest.cc conftest.o
28236 { $as_echo "$as_me:$LINENO: checking for machine dependent speedups" >&5
28237 $as_echo_n "checking for machine dependent speedups... " >&6; }
28238 { $as_echo "$as_me:$LINENO: result: $MD_CPU" >&5
28239 $as_echo "$MD_CPU" >&6; }
28243 if test "$MD_CPU" = "x86"; then
28245 MD_CPU_x86_FALSE='#'
28247 MD_CPU_x86_TRUE='#'
28251 if test "$MD_SUBCPU" = "x86_64"; then
28252 MD_SUBCPU_x86_64_TRUE=
28253 MD_SUBCPU_x86_64_FALSE='#'
28255 MD_SUBCPU_x86_64_TRUE='#'
28256 MD_SUBCPU_x86_64_FALSE=
28259 if test "$MD_CPU" = "powerpc"; then
28260 MD_CPU_powerpc_TRUE=
28261 MD_CPU_powerpc_FALSE='#'
28263 MD_CPU_powerpc_TRUE='#'
28264 MD_CPU_powerpc_FALSE=
28267 if test "$MD_CPU" = "generic"; then
28268 MD_CPU_generic_TRUE=
28269 MD_CPU_generic_FALSE='#'
28271 MD_CPU_generic_TRUE='#'
28272 MD_CPU_generic_FALSE=
28277 if test -n "$PKG_CONFIG" && \
28278 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cppunit\"") >&5
28279 ($PKG_CONFIG --exists --print-errors "cppunit") 2>&5
28281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28282 (exit $ac_status); }; then
28287 { $as_echo "$as_me:$LINENO: checking for CPPUNIT" >&5
28288 $as_echo_n "checking for CPPUNIT... " >&6; }
28290 if test -n "$PKG_CONFIG"; then
28291 if test -n "$CPPUNIT_CFLAGS"; then
28292 pkg_cv_CPPUNIT_CFLAGS="$CPPUNIT_CFLAGS"
28294 if test -n "$PKG_CONFIG" && \
28295 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cppunit >= 1.9.14\"") >&5
28296 ($PKG_CONFIG --exists --print-errors "cppunit >= 1.9.14") 2>&5
28298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); }; then
28300 pkg_cv_CPPUNIT_CFLAGS=`$PKG_CONFIG --cflags "cppunit >= 1.9.14" 2>/dev/null`
28309 if test x$cross_compiling = xyes
28311 if test -n "$PKG_CONFIG"; then
28312 if test -n "$CPPUNIT_LIBS"; then
28313 pkg_cv_CPPUNIT_LIBS="$CPPUNIT_LIBS"
28315 if test -n "$PKG_CONFIG" && \
28316 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cppunit >= 1.9.14\"") >&5
28317 ($PKG_CONFIG --exists --print-errors "cppunit >= 1.9.14") 2>&5
28319 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320 (exit $ac_status); }; then
28321 pkg_cv_CPPUNIT_LIBS=`$PKG_CONFIG --libs --static "cppunit >= 1.9.14" 2>/dev/null`
28330 for flag in $pkg_cv_CPPUNIT_LIBS; do
28332 (-L/lib* | -L/usr/lib* ) ;; # ignore
28333 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
28336 pkg_cv_CPPUNIT_LIBS="$_pkg_tmp"
28338 if test -n "$PKG_CONFIG"; then
28339 if test -n "$CPPUNIT_LIBS"; then
28340 pkg_cv_CPPUNIT_LIBS="$CPPUNIT_LIBS"
28342 if test -n "$PKG_CONFIG" && \
28343 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cppunit >= 1.9.14\"") >&5
28344 ($PKG_CONFIG --exists --print-errors "cppunit >= 1.9.14") 2>&5
28346 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); }; then
28348 pkg_cv_CPPUNIT_LIBS=`$PKG_CONFIG --libs --static "cppunit >= 1.9.14" 2>/dev/null`
28358 if test -n "$PKG_CONFIG"; then
28359 if test -n "$CPPUNIT_INCLUDEDIR"; then
28360 pkg_cv_CPPUNIT_INCLUDEDIR="$CPPUNIT_INCLUDEDIR"
28362 if test -n "$PKG_CONFIG" && \
28363 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cppunit >= 1.9.14\"") >&5
28364 ($PKG_CONFIG --exists --print-errors "cppunit >= 1.9.14") 2>&5
28366 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367 (exit $ac_status); }; then
28368 pkg_cv_CPPUNIT_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "cppunit >= 1.9.14" 2>/dev/null`
28380 if test $pkg_failed = yes; then
28382 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28383 _pkg_short_errors_supported=yes
28385 _pkg_short_errors_supported=no
28387 if test $_pkg_short_errors_supported = yes; then
28388 CPPUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cppunit >= 1.9.14"`
28390 CPPUNIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cppunit >= 1.9.14"`
28392 # Put the nasty error message in config.log where it belongs
28393 echo "$CPPUNIT_PKG_ERRORS" >&5
28395 { { $as_echo "$as_me:$LINENO: error: Package requirements (cppunit >= 1.9.14) were not met:
28397 $CPPUNIT_PKG_ERRORS
28399 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28400 installed software in a non-standard prefix.
28402 Alternatively, you may set the environment variables CPPUNIT_CFLAGS
28403 and CPPUNIT_LIBS to avoid the need to call pkg-config.
28404 See the pkg-config man page for more details.
28406 $as_echo "$as_me: error: Package requirements (cppunit >= 1.9.14) were not met:
28408 $CPPUNIT_PKG_ERRORS
28410 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28411 installed software in a non-standard prefix.
28413 Alternatively, you may set the environment variables CPPUNIT_CFLAGS
28414 and CPPUNIT_LIBS to avoid the need to call pkg-config.
28415 See the pkg-config man page for more details.
28417 { (exit 1); exit 1; }; }
28418 elif test $pkg_failed = untried; then
28419 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
28420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28421 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
28422 is in your PATH or set the PKG_CONFIG environment variable to the full
28423 path to pkg-config.
28425 Alternatively, you may set the environment variables CPPUNIT_CFLAGS
28426 and CPPUNIT_LIBS to avoid the need to call pkg-config.
28427 See the pkg-config man page for more details.
28429 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
28430 See \`config.log' for more details." >&5
28431 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
28432 is in your PATH or set the PKG_CONFIG environment variable to the full
28433 path to pkg-config.
28435 Alternatively, you may set the environment variables CPPUNIT_CFLAGS
28436 and CPPUNIT_LIBS to avoid the need to call pkg-config.
28437 See the pkg-config man page for more details.
28439 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
28440 See \`config.log' for more details." >&2;}
28441 { (exit 1); exit 1; }; }; }
28443 CPPUNIT_CFLAGS=$pkg_cv_CPPUNIT_CFLAGS
28444 CPPUNIT_LIBS=$pkg_cv_CPPUNIT_LIBS
28445 CPPUNIT_INCLUDEDIR=$pkg_cv_CPPUNIT_INCLUDEDIR
28447 CPPUNIT_CPPFLAGS=""
28448 for flag in $CPPUNIT_CFLAGS; do
28450 -I* | -D* | -U*) CPPUNIT_CPPFLAGS="$CPPUNIT_CPPFLAGS $flag" ;;
28453 pkg_cv_CPPUNIT_CPPFLAGS=$CPPUNIT_CPPFLAGS
28456 { $as_echo "$as_me:$LINENO: result: yes" >&5
28457 $as_echo "yes" >&6; }
28464 # Check whether --with-cppunit-prefix was given.
28465 if test "${with_cppunit_prefix+set}" = set; then
28466 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
28468 cppunit_config_prefix=""
28472 # Check whether --with-cppunit-exec-prefix was given.
28473 if test "${with_cppunit_exec_prefix+set}" = set; then
28474 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
28476 cppunit_config_exec_prefix=""
28480 if test x$cppunit_config_exec_prefix != x ; then
28481 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
28482 if test x${CPPUNIT_CONFIG+set} != xset ; then
28483 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
28486 if test x$cppunit_config_prefix != x ; then
28487 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
28488 if test x${CPPUNIT_CONFIG+set} != xset ; then
28489 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
28493 # Extract the first word of "cppunit-config", so it can be a program name with args.
28494 set dummy cppunit-config; ac_word=$2
28495 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
28496 $as_echo_n "checking for $ac_word... " >&6; }
28497 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
28498 $as_echo_n "(cached) " >&6
28500 case $CPPUNIT_CONFIG in
28502 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
28505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28506 for as_dir in $PATH
28509 test -z "$as_dir" && as_dir=.
28510 for ac_exec_ext in '' $ac_executable_extensions; do
28511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28512 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28513 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28520 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
28524 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
28525 if test -n "$CPPUNIT_CONFIG"; then
28526 { $as_echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
28527 $as_echo "$CPPUNIT_CONFIG" >&6; }
28529 { $as_echo "$as_me:$LINENO: result: no" >&5
28530 $as_echo "no" >&6; }
28534 cppunit_version_min=1.9.14
28536 { $as_echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
28537 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
28539 if test "$CPPUNIT_CONFIG" = "no" ; then
28542 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
28543 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
28544 cppunit_version=`$CPPUNIT_CONFIG --version`
28546 cppunit_major_version=`echo $cppunit_version | \
28547 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28548 cppunit_minor_version=`echo $cppunit_version | \
28549 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28550 cppunit_micro_version=`echo $cppunit_version | \
28551 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28553 cppunit_major_min=`echo $cppunit_version_min | \
28554 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28555 cppunit_minor_min=`echo $cppunit_version_min | \
28556 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28557 cppunit_micro_min=`echo $cppunit_version_min | \
28558 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28560 cppunit_version_proper=`expr \
28561 $cppunit_major_version \> $cppunit_major_min \| \
28562 $cppunit_major_version \= $cppunit_major_min \& \
28563 $cppunit_minor_version \> $cppunit_minor_min \| \
28564 $cppunit_major_version \= $cppunit_major_min \& \
28565 $cppunit_minor_version \= $cppunit_minor_min \& \
28566 $cppunit_micro_version \>= $cppunit_micro_min `
28568 if test "$cppunit_version_proper" = "1" ; then
28569 { $as_echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
28570 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
28572 { $as_echo "$as_me:$LINENO: result: no" >&5
28573 $as_echo "no" >&6; }
28578 if test "x$no_cppunit" = x ; then
28583 { { $as_echo "$as_me:$LINENO: error: GNU Radio requires cppunit. Stop" >&5
28584 $as_echo "$as_me: error: GNU Radio requires cppunit. Stop" >&2;}
28585 { (exit 1); exit 1; }; }
28593 CPPUNIT_INCLUDES=$CPPUNIT_CFLAGS
28596 # Extract the first word of "guile", so it can be a program name with args.
28597 set dummy guile; ac_word=$2
28598 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
28599 $as_echo_n "checking for $ac_word... " >&6; }
28600 if test "${ac_cv_path_GUILE+set}" = set; then
28601 $as_echo_n "(cached) " >&6
28605 ac_cv_path_GUILE="$GUILE" # Let the user override the test with a path.
28608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28609 for as_dir in $PATH
28612 test -z "$as_dir" && as_dir=.
28613 for ac_exec_ext in '' $ac_executable_extensions; do
28614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28615 ac_cv_path_GUILE="$as_dir/$ac_word$ac_exec_ext"
28616 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28626 GUILE=$ac_cv_path_GUILE
28627 if test -n "$GUILE"; then
28628 { $as_echo "$as_me:$LINENO: result: $GUILE" >&5
28629 $as_echo "$GUILE" >&6; }
28631 { $as_echo "$as_me:$LINENO: result: no" >&5
28632 $as_echo "no" >&6; }
28640 # Check whether --with-boost was given.
28641 if test "${with_boost+set}" = set; then
28642 withval=$with_boost;
28643 if test "$withval" = "no"; then
28645 elif test "$withval" = "yes"; then
28650 ac_boost_path="$withval"
28660 # Check whether --with-boost-libdir was given.
28661 if test "${with_boost_libdir+set}" = set; then
28662 withval=$with_boost_libdir;
28663 if test -d $withval
28665 ac_boost_lib_path="$withval"
28667 { { $as_echo "$as_me:$LINENO: error: --with-boost-libdir expected directory name" >&5
28668 $as_echo "$as_me: error: --with-boost-libdir expected directory name" >&2;}
28669 { (exit 1); exit 1; }; }
28673 ac_boost_lib_path=""
28678 if test "x$want_boost" = "xyes"; then
28679 boost_lib_version_req=1.35
28680 boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([0-9]*\.[0-9]*\)'`
28681 boost_lib_version_req_major=`expr $boost_lib_version_req : '\([0-9]*\)'`
28682 boost_lib_version_req_minor=`expr $boost_lib_version_req : '[0-9]*\.\([0-9]*\)'`
28683 boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
28684 if test "x$boost_lib_version_req_sub_minor" = "x" ; then
28685 boost_lib_version_req_sub_minor="0"
28687 WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
28688 { $as_echo "$as_me:$LINENO: checking for boost >= $boost_lib_version_req" >&5
28689 $as_echo_n "checking for boost >= $boost_lib_version_req... " >&6; }
28692 if test "$ac_boost_path" != ""; then
28693 if test -d "$ac_boost_path/lib${gr_libdir_suffix}"; then
28694 BOOST_LDFLAGS="-L$ac_boost_path/lib${gr_libdir_suffix}"
28696 BOOST_LDFLAGS="-L$ac_boost_path/lib"
28698 BOOST_CPPFLAGS="-I$ac_boost_path/include"
28700 for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
28701 if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
28702 if test -d "$ac_boost_path_tmp/lib${gr_libdir_suffix}"; then
28703 BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib${gr_libdir_suffix}"
28705 BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib"
28707 BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
28713 if test "$ac_boost_lib_path" != ""; then
28714 BOOST_LDFLAGS="-L$ac_boost_lib_path"
28717 CPPFLAGS_SAVED="$CPPFLAGS"
28718 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
28721 LDFLAGS_SAVED="$LDFLAGS"
28722 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
28726 ac_cpp='$CXXCPP $CPPFLAGS'
28727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28731 cat >conftest.$ac_ext <<_ACEOF
28734 cat confdefs.h >>conftest.$ac_ext
28735 cat >>conftest.$ac_ext <<_ACEOF
28736 /* end confdefs.h. */
28738 #include <boost/version.hpp>
28744 #if BOOST_VERSION >= $WANT_BOOST_VERSION
28745 // Everything is okay
28747 # error Boost version is too old
28754 rm -f conftest.$ac_objext
28755 if { (ac_try="$ac_compile"
28756 case "(($ac_try" in
28757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28758 *) ac_try_echo=$ac_try;;
28760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28761 $as_echo "$ac_try_echo") >&5
28762 (eval "$ac_compile") 2>conftest.er1
28764 grep -v '^ *+' conftest.er1 >conftest.err
28766 cat conftest.err >&5
28767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28768 (exit $ac_status); } && {
28769 test -z "$ac_cxx_werror_flag" ||
28770 test ! -s conftest.err
28771 } && test -s conftest.$ac_objext; then
28772 { $as_echo "$as_me:$LINENO: result: yes" >&5
28773 $as_echo "yes" >&6; }
28778 $as_echo "$as_me: failed program was:" >&5
28779 sed 's/^/| /' conftest.$ac_ext >&5
28784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28786 ac_cpp='$CPP $CPPFLAGS'
28787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28791 CPPFLAGS="$CPPFLAGS_SAVED"
28792 LDFLAGS="$LDFLAGS_SAVED"
28795 if test "$succeeded" != "yes"; then
28798 if test "$ac_boost_path" != ""; then
28799 path_list="$ac_boost_path"
28801 path_list="/usr /usr/local /opt /opt/local"
28803 for ac_boost_path in $path_list ; do
28804 if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
28805 for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
28806 _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's,/include/boost-,,; s,_,.,'`
28807 V_CHECK=`expr $_version_tmp \> $_version`
28808 if test "$V_CHECK" = "1" ; then
28809 _version=$_version_tmp
28810 best_path=$ac_boost_path
28816 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
28817 BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
28819 if test "$ac_boost_lib_path" = ""; then
28820 if test -d "$best_path/lib${gr_libdir_suffix}"; then
28821 BOOST_LDFLAGS="-L$best_path/lib${gr_libdir_suffix}"
28823 BOOST_LDFLAGS="-L$best_path/lib"
28827 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
28829 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
28833 ac_cpp='$CXXCPP $CPPFLAGS'
28834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28838 cat >conftest.$ac_ext <<_ACEOF
28841 cat confdefs.h >>conftest.$ac_ext
28842 cat >>conftest.$ac_ext <<_ACEOF
28843 /* end confdefs.h. */
28845 #include <boost/version.hpp>
28851 #if BOOST_VERSION >= $WANT_BOOST_VERSION
28852 // Everything is okay
28854 # error Boost version is too old
28861 rm -f conftest.$ac_objext
28862 if { (ac_try="$ac_compile"
28863 case "(($ac_try" in
28864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28865 *) ac_try_echo=$ac_try;;
28867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28868 $as_echo "$ac_try_echo") >&5
28869 (eval "$ac_compile") 2>conftest.er1
28871 grep -v '^ *+' conftest.er1 >conftest.err
28873 cat conftest.err >&5
28874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28875 (exit $ac_status); } && {
28876 test -z "$ac_cxx_werror_flag" ||
28877 test ! -s conftest.err
28878 } && test -s conftest.$ac_objext; then
28879 { $as_echo "$as_me:$LINENO: result: yes" >&5
28880 $as_echo "yes" >&6; }
28885 $as_echo "$as_me: failed program was:" >&5
28886 sed 's/^/| /' conftest.$ac_ext >&5
28891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28893 ac_cpp='$CPP $CPPFLAGS'
28894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28898 CPPFLAGS="$CPPFLAGS_SAVED"
28899 LDFLAGS="$LDFLAGS_SAVED"
28902 if test "$succeeded" != "yes" ; then
28903 { $as_echo "$as_me:$LINENO: result: no" >&5
28904 $as_echo "no" >&6; }
28905 if test "$_version" = "0" ; then
28906 { { $as_echo "$as_me:$LINENO: error: we could not detect the boost libraries (version $boost_lib_version_req_shorten or higher).
28907 If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>." >&5
28908 $as_echo "$as_me: error: we could not detect the boost libraries (version $boost_lib_version_req_shorten or higher).
28909 If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>." >&2;}
28910 { (exit 1); exit 1; }; }
28912 { { $as_echo "$as_me:$LINENO: error: your boost libraries seem to old (version $_version)." >&5
28913 $as_echo "$as_me: error: your boost libraries seem to old (version $_version)." >&2;}
28914 { (exit 1); exit 1; }; }
28920 cat >>confdefs.h <<\_ACEOF
28921 #define HAVE_BOOST 1
28934 # Check whether --with-boost-thread was given.
28935 if test "${with_boost_thread+set}" = set; then
28936 withval=$with_boost_thread;
28937 if test "$withval" = "no"; then
28939 elif test "$withval" = "yes"; then
28941 ax_boost_user_lib=""
28944 ax_boost_user_lib="$withval"
28954 if test "$want_boost" = "yes"; then
28959 CPPFLAGS_SAVED="$CPPFLAGS"
28960 LDFLAGS_SAVED="$LDFLAGS"
28961 CXXFLAGS_SAVED="$CXXFLAGS"
28963 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
28964 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS $PTHREAD_LIBS"
28965 CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
28967 { $as_echo "$as_me:$LINENO: checking whether the boost::thread includes are available" >&5
28968 $as_echo_n "checking whether the boost::thread includes are available... " >&6; }
28969 if test "${ax_cv_boost_thread+set}" = set; then
28970 $as_echo_n "(cached) " >&6
28973 ac_cpp='$CXXCPP $CPPFLAGS'
28974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28978 cat >conftest.$ac_ext <<_ACEOF
28981 cat confdefs.h >>conftest.$ac_ext
28982 cat >>conftest.$ac_ext <<_ACEOF
28983 /* end confdefs.h. */
28984 #include <boost/thread/thread.hpp>
28988 boost::thread_group thrds;
28994 rm -f conftest.$ac_objext
28995 if { (ac_try="$ac_compile"
28996 case "(($ac_try" in
28997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28998 *) ac_try_echo=$ac_try;;
29000 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29001 $as_echo "$ac_try_echo") >&5
29002 (eval "$ac_compile") 2>conftest.er1
29004 grep -v '^ *+' conftest.er1 >conftest.err
29006 cat conftest.err >&5
29007 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29008 (exit $ac_status); } && {
29009 test -z "$ac_cxx_werror_flag" ||
29010 test ! -s conftest.err
29011 } && test -s conftest.$ac_objext; then
29012 ax_cv_boost_thread=yes
29014 $as_echo "$as_me: failed program was:" >&5
29015 sed 's/^/| /' conftest.$ac_ext >&5
29017 ax_cv_boost_thread=no
29020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29022 ac_cpp='$CPP $CPPFLAGS'
29023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29029 { $as_echo "$as_me:$LINENO: result: $ax_cv_boost_thread" >&5
29030 $as_echo "$ax_cv_boost_thread" >&6; }
29032 if test "$ax_cv_boost_thread" = "yes"; then
29033 BOOST_CXXFLAGS="$PTHREAD_CFLAGS"
29038 ac_cpp='$CXXCPP $CPPFLAGS'
29039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29044 cat >>confdefs.h <<\_ACEOF
29045 #define HAVE_BOOST_THREAD 1
29048 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
29051 if test "$ax_boost_user_lib" != ""; then
29052 for ax_lib in $ax_boost_user_lib boost_thread-${ax_boost_user_lib}; do
29053 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
29054 { $as_echo "$as_me:$LINENO: checking for exit in -l$ax_lib" >&5
29055 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
29056 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
29057 $as_echo_n "(cached) " >&6
29059 ac_check_lib_save_LIBS=$LIBS
29060 LIBS="-l$ax_lib $LIBS"
29061 cat >conftest.$ac_ext <<_ACEOF
29064 cat confdefs.h >>conftest.$ac_ext
29065 cat >>conftest.$ac_ext <<_ACEOF
29066 /* end confdefs.h. */
29068 /* Override any GCC internal prototype to avoid an error.
29069 Use char because int might match the return type of a GCC
29070 builtin and then its argument prototype would still apply. */
29083 rm -f conftest.$ac_objext conftest$ac_exeext
29084 if { (ac_try="$ac_link"
29085 case "(($ac_try" in
29086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29087 *) ac_try_echo=$ac_try;;
29089 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29090 $as_echo "$ac_try_echo") >&5
29091 (eval "$ac_link") 2>conftest.er1
29093 grep -v '^ *+' conftest.er1 >conftest.err
29095 cat conftest.err >&5
29096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29097 (exit $ac_status); } && {
29098 test -z "$ac_cxx_werror_flag" ||
29099 test ! -s conftest.err
29100 } && test -s conftest$ac_exeext && {
29101 test "$cross_compiling" = yes ||
29102 $as_test_x conftest$ac_exeext
29104 eval "$as_ac_Lib=yes"
29106 $as_echo "$as_me: failed program was:" >&5
29107 sed 's/^/| /' conftest.$ac_ext >&5
29109 eval "$as_ac_Lib=no"
29112 rm -rf conftest.dSYM
29113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29114 conftest$ac_exeext conftest.$ac_ext
29115 LIBS=$ac_check_lib_save_LIBS
29117 ac_res=`eval 'as_val=${'$as_ac_Lib'}
29118 $as_echo "$as_val"'`
29119 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29120 $as_echo "$ac_res" >&6; }
29121 as_val=`eval 'as_val=${'$as_ac_Lib'}
29122 $as_echo "$as_val"'`
29123 if test "x$as_val" = x""yes; then
29124 BOOST_THREAD_LIB="-l$ax_lib"; link_ok="yes"; break
29129 head=$BOOSTLIBDIR/libboost_thread
29130 for f in ${head}*.so* ${head}*.a* ${head}*.dll* ${head}*.dylib; do
29134 f=`echo $f | sed -e 's,.*/,,' -e 's,^lib,,'`
29135 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,'`
29138 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
29139 { $as_echo "$as_me:$LINENO: checking for exit in -l$ax_lib" >&5
29140 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
29141 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
29142 $as_echo_n "(cached) " >&6
29144 ac_check_lib_save_LIBS=$LIBS
29145 LIBS="-l$ax_lib $LIBS"
29146 cat >conftest.$ac_ext <<_ACEOF
29149 cat confdefs.h >>conftest.$ac_ext
29150 cat >>conftest.$ac_ext <<_ACEOF
29151 /* end confdefs.h. */
29153 /* Override any GCC internal prototype to avoid an error.
29154 Use char because int might match the return type of a GCC
29155 builtin and then its argument prototype would still apply. */
29168 rm -f conftest.$ac_objext conftest$ac_exeext
29169 if { (ac_try="$ac_link"
29170 case "(($ac_try" in
29171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29172 *) ac_try_echo=$ac_try;;
29174 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29175 $as_echo "$ac_try_echo") >&5
29176 (eval "$ac_link") 2>conftest.er1
29178 grep -v '^ *+' conftest.er1 >conftest.err
29180 cat conftest.err >&5
29181 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182 (exit $ac_status); } && {
29183 test -z "$ac_cxx_werror_flag" ||
29184 test ! -s conftest.err
29185 } && test -s conftest$ac_exeext && {
29186 test "$cross_compiling" = yes ||
29187 $as_test_x conftest$ac_exeext
29189 eval "$as_ac_Lib=yes"
29191 $as_echo "$as_me: failed program was:" >&5
29192 sed 's/^/| /' conftest.$ac_ext >&5
29194 eval "$as_ac_Lib=no"
29197 rm -rf conftest.dSYM
29198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29199 conftest$ac_exeext conftest.$ac_ext
29200 LIBS=$ac_check_lib_save_LIBS
29202 ac_res=`eval 'as_val=${'$as_ac_Lib'}
29203 $as_echo "$as_val"'`
29204 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29205 $as_echo "$ac_res" >&6; }
29206 as_val=`eval 'as_val=${'$as_ac_Lib'}
29207 $as_echo "$as_val"'`
29208 if test "x$as_val" = x""yes; then
29209 BOOST_THREAD_LIB="-l$ax_lib"; link_ok="yes"; break
29215 if test "$link_ok" != "yes"; then
29216 { { $as_echo "$as_me:$LINENO: error: Could not link against libboost_thread!" >&5
29217 $as_echo "$as_me: error: Could not link against libboost_thread!" >&2;}
29218 { (exit 1); exit 1; }; }
29221 ac_cpp='$CPP $CPPFLAGS'
29222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29228 if test "$link_ok" = "yes" && test -n "$PTHREAD_LIBS"; then
29229 BOOST_THREAD_LIB="$BOOST_THREAD_LIB $PTHREAD_LIBS"
29233 CPPFLAGS="$CPPFLAGS_SAVED"
29234 LDFLAGS="$LDFLAGS_SAVED"
29235 CXXFLAGS="$CXXFLAGS_SAVED"
29238 CXXFLAGS="$CXXFLAGS $BOOST_CXXFLAGS" CFLAGS="$CFLAGS $BOOST_CXXFLAGS"
29246 # Check whether --with-boost-date-time was given.
29247 if test "${with_boost_date_time+set}" = set; then
29248 withval=$with_boost_date_time;
29249 if test "$withval" = "no"; then
29251 elif test "$withval" = "yes"; then
29253 ax_boost_user_lib=""
29256 ax_boost_user_lib="$withval"
29265 if test "$want_boost" = "yes"; then
29268 CPPFLAGS_SAVED="$CPPFLAGS"
29269 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
29270 LDFLAGS_SAVED="$LDFLAGS"
29271 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
29272 { $as_echo "$as_me:$LINENO: checking whether the boost::date_time includes are available" >&5
29273 $as_echo_n "checking whether the boost::date_time includes are available... " >&6; }
29274 if test "${ax_cv_boost_date_time+set}" = set; then
29275 $as_echo_n "(cached) " >&6
29278 ac_cpp='$CXXCPP $CPPFLAGS'
29279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29283 cat >conftest.$ac_ext <<_ACEOF
29286 cat confdefs.h >>conftest.$ac_ext
29287 cat >>conftest.$ac_ext <<_ACEOF
29288 /* end confdefs.h. */
29289 #include <boost/date_time/gregorian/gregorian_types.hpp>
29293 using namespace boost::gregorian; date d(2002,Jan,10); return 0;
29298 rm -f conftest.$ac_objext
29299 if { (ac_try="$ac_compile"
29300 case "(($ac_try" in
29301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29302 *) ac_try_echo=$ac_try;;
29304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29305 $as_echo "$ac_try_echo") >&5
29306 (eval "$ac_compile") 2>conftest.er1
29308 grep -v '^ *+' conftest.er1 >conftest.err
29310 cat conftest.err >&5
29311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29312 (exit $ac_status); } && {
29313 test -z "$ac_cxx_werror_flag" ||
29314 test ! -s conftest.err
29315 } && test -s conftest.$ac_objext; then
29316 ax_cv_boost_date_time=yes
29318 $as_echo "$as_me: failed program was:" >&5
29319 sed 's/^/| /' conftest.$ac_ext >&5
29321 ax_cv_boost_date_time=no
29324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29326 ac_cpp='$CPP $CPPFLAGS'
29327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29333 { $as_echo "$as_me:$LINENO: result: $ax_cv_boost_date_time" >&5
29334 $as_echo "$ax_cv_boost_date_time" >&6; }
29335 if test "$ax_cv_boost_date_time" = "yes"; then
29339 ac_cpp='$CXXCPP $CPPFLAGS'
29340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29345 cat >>confdefs.h <<\_ACEOF
29346 #define HAVE_BOOST_DATE_TIME 1
29349 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
29352 if test "$ax_boost_user_lib" != ""; then
29353 for ax_lib in $ax_boost_user_lib boost_date_time-${ax_boost_user_lib}; do
29354 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
29355 { $as_echo "$as_me:$LINENO: checking for exit in -l$ax_lib" >&5
29356 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
29357 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
29358 $as_echo_n "(cached) " >&6
29360 ac_check_lib_save_LIBS=$LIBS
29361 LIBS="-l$ax_lib $LIBS"
29362 cat >conftest.$ac_ext <<_ACEOF
29365 cat confdefs.h >>conftest.$ac_ext
29366 cat >>conftest.$ac_ext <<_ACEOF
29367 /* end confdefs.h. */
29369 /* Override any GCC internal prototype to avoid an error.
29370 Use char because int might match the return type of a GCC
29371 builtin and then its argument prototype would still apply. */
29384 rm -f conftest.$ac_objext conftest$ac_exeext
29385 if { (ac_try="$ac_link"
29386 case "(($ac_try" in
29387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29388 *) ac_try_echo=$ac_try;;
29390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29391 $as_echo "$ac_try_echo") >&5
29392 (eval "$ac_link") 2>conftest.er1
29394 grep -v '^ *+' conftest.er1 >conftest.err
29396 cat conftest.err >&5
29397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398 (exit $ac_status); } && {
29399 test -z "$ac_cxx_werror_flag" ||
29400 test ! -s conftest.err
29401 } && test -s conftest$ac_exeext && {
29402 test "$cross_compiling" = yes ||
29403 $as_test_x conftest$ac_exeext
29405 eval "$as_ac_Lib=yes"
29407 $as_echo "$as_me: failed program was:" >&5
29408 sed 's/^/| /' conftest.$ac_ext >&5
29410 eval "$as_ac_Lib=no"
29413 rm -rf conftest.dSYM
29414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29415 conftest$ac_exeext conftest.$ac_ext
29416 LIBS=$ac_check_lib_save_LIBS
29418 ac_res=`eval 'as_val=${'$as_ac_Lib'}
29419 $as_echo "$as_val"'`
29420 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29421 $as_echo "$ac_res" >&6; }
29422 as_val=`eval 'as_val=${'$as_ac_Lib'}
29423 $as_echo "$as_val"'`
29424 if test "x$as_val" = x""yes; then
29425 BOOST_DATE_TIME_LIB="-l$ax_lib"; link_ok="yes"; break
29430 head=$BOOSTLIBDIR/libboost_date_time
29431 for f in ${head}*.so* ${head}*.a* ${head}*.dll* ${head}*.dylib; do
29435 f=`echo $f | sed -e 's,.*/,,' -e 's,^lib,,'`
29436 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,'`
29439 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
29440 { $as_echo "$as_me:$LINENO: checking for exit in -l$ax_lib" >&5
29441 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
29442 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
29443 $as_echo_n "(cached) " >&6
29445 ac_check_lib_save_LIBS=$LIBS
29446 LIBS="-l$ax_lib $LIBS"
29447 cat >conftest.$ac_ext <<_ACEOF
29450 cat confdefs.h >>conftest.$ac_ext
29451 cat >>conftest.$ac_ext <<_ACEOF
29452 /* end confdefs.h. */
29454 /* Override any GCC internal prototype to avoid an error.
29455 Use char because int might match the return type of a GCC
29456 builtin and then its argument prototype would still apply. */
29469 rm -f conftest.$ac_objext conftest$ac_exeext
29470 if { (ac_try="$ac_link"
29471 case "(($ac_try" in
29472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29473 *) ac_try_echo=$ac_try;;
29475 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29476 $as_echo "$ac_try_echo") >&5
29477 (eval "$ac_link") 2>conftest.er1
29479 grep -v '^ *+' conftest.er1 >conftest.err
29481 cat conftest.err >&5
29482 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29483 (exit $ac_status); } && {
29484 test -z "$ac_cxx_werror_flag" ||
29485 test ! -s conftest.err
29486 } && test -s conftest$ac_exeext && {
29487 test "$cross_compiling" = yes ||
29488 $as_test_x conftest$ac_exeext
29490 eval "$as_ac_Lib=yes"
29492 $as_echo "$as_me: failed program was:" >&5
29493 sed 's/^/| /' conftest.$ac_ext >&5
29495 eval "$as_ac_Lib=no"
29498 rm -rf conftest.dSYM
29499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29500 conftest$ac_exeext conftest.$ac_ext
29501 LIBS=$ac_check_lib_save_LIBS
29503 ac_res=`eval 'as_val=${'$as_ac_Lib'}
29504 $as_echo "$as_val"'`
29505 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29506 $as_echo "$ac_res" >&6; }
29507 as_val=`eval 'as_val=${'$as_ac_Lib'}
29508 $as_echo "$as_val"'`
29509 if test "x$as_val" = x""yes; then
29510 BOOST_DATE_TIME_LIB="-l$ax_lib"; link_ok="yes"; break
29516 if test "$link_ok" != "yes"; then
29517 { { $as_echo "$as_me:$LINENO: error: Could not link against libboost_date_time!" >&5
29518 $as_echo "$as_me: error: Could not link against libboost_date_time!" >&2;}
29519 { (exit 1); exit 1; }; }
29522 ac_cpp='$CPP $CPPFLAGS'
29523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29530 CPPFLAGS="$CPPFLAGS_SAVED"
29531 LDFLAGS="$LDFLAGS_SAVED"
29543 # Check whether --with-boost-program-options was given.
29544 if test "${with_boost_program_options+set}" = set; then
29545 withval=$with_boost_program_options;
29546 if test "$withval" = "no"; then
29548 elif test "$withval" = "yes"; then
29550 ax_boost_user_lib=""
29553 ax_boost_user_lib="$withval"
29562 if test "$want_boost" = "yes"; then
29565 CPPFLAGS_SAVED="$CPPFLAGS"
29566 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
29567 LDFLAGS_SAVED="$LDFLAGS"
29568 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
29569 { $as_echo "$as_me:$LINENO: checking whether the boost::program_options includes are available" >&5
29570 $as_echo_n "checking whether the boost::program_options includes are available... " >&6; }
29571 if test "${ax_cv_boost_program_options+set}" = set; then
29572 $as_echo_n "(cached) " >&6
29575 ac_cpp='$CXXCPP $CPPFLAGS'
29576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29580 cat >conftest.$ac_ext <<_ACEOF
29583 cat confdefs.h >>conftest.$ac_ext
29584 cat >>conftest.$ac_ext <<_ACEOF
29585 /* end confdefs.h. */
29586 #include <boost/program_options.hpp>
29590 boost::program_options::options_description generic("Generic options");
29596 rm -f conftest.$ac_objext
29597 if { (ac_try="$ac_compile"
29598 case "(($ac_try" in
29599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29600 *) ac_try_echo=$ac_try;;
29602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29603 $as_echo "$ac_try_echo") >&5
29604 (eval "$ac_compile") 2>conftest.er1
29606 grep -v '^ *+' conftest.er1 >conftest.err
29608 cat conftest.err >&5
29609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29610 (exit $ac_status); } && {
29611 test -z "$ac_cxx_werror_flag" ||
29612 test ! -s conftest.err
29613 } && test -s conftest.$ac_objext; then
29614 ax_cv_boost_program_options=yes
29616 $as_echo "$as_me: failed program was:" >&5
29617 sed 's/^/| /' conftest.$ac_ext >&5
29619 ax_cv_boost_program_options=no
29622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29624 ac_cpp='$CPP $CPPFLAGS'
29625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29631 { $as_echo "$as_me:$LINENO: result: $ax_cv_boost_program_options" >&5
29632 $as_echo "$ax_cv_boost_program_options" >&6; }
29633 if test "$ax_cv_boost_program_options" = "yes"; then
29637 ac_cpp='$CXXCPP $CPPFLAGS'
29638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29643 cat >>confdefs.h <<\_ACEOF
29644 #define HAVE_BOOST_PROGRAM_OPTIONS 1
29647 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
29650 if test "$ax_boost_user_lib" != ""; then
29651 for ax_lib in $ax_boost_user_lib boost_program_options-${ax_boost_user_lib}; do
29652 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
29653 { $as_echo "$as_me:$LINENO: checking for exit in -l$ax_lib" >&5
29654 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
29655 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
29656 $as_echo_n "(cached) " >&6
29658 ac_check_lib_save_LIBS=$LIBS
29659 LIBS="-l$ax_lib $LIBS"
29660 cat >conftest.$ac_ext <<_ACEOF
29663 cat confdefs.h >>conftest.$ac_ext
29664 cat >>conftest.$ac_ext <<_ACEOF
29665 /* end confdefs.h. */
29667 /* Override any GCC internal prototype to avoid an error.
29668 Use char because int might match the return type of a GCC
29669 builtin and then its argument prototype would still apply. */
29682 rm -f conftest.$ac_objext conftest$ac_exeext
29683 if { (ac_try="$ac_link"
29684 case "(($ac_try" in
29685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29686 *) ac_try_echo=$ac_try;;
29688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29689 $as_echo "$ac_try_echo") >&5
29690 (eval "$ac_link") 2>conftest.er1
29692 grep -v '^ *+' conftest.er1 >conftest.err
29694 cat conftest.err >&5
29695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29696 (exit $ac_status); } && {
29697 test -z "$ac_cxx_werror_flag" ||
29698 test ! -s conftest.err
29699 } && test -s conftest$ac_exeext && {
29700 test "$cross_compiling" = yes ||
29701 $as_test_x conftest$ac_exeext
29703 eval "$as_ac_Lib=yes"
29705 $as_echo "$as_me: failed program was:" >&5
29706 sed 's/^/| /' conftest.$ac_ext >&5
29708 eval "$as_ac_Lib=no"
29711 rm -rf conftest.dSYM
29712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29713 conftest$ac_exeext conftest.$ac_ext
29714 LIBS=$ac_check_lib_save_LIBS
29716 ac_res=`eval 'as_val=${'$as_ac_Lib'}
29717 $as_echo "$as_val"'`
29718 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29719 $as_echo "$ac_res" >&6; }
29720 as_val=`eval 'as_val=${'$as_ac_Lib'}
29721 $as_echo "$as_val"'`
29722 if test "x$as_val" = x""yes; then
29723 BOOST_PROGRAM_OPTIONS_LIB="-l$ax_lib"; link_ok="yes"; break
29728 head=$BOOSTLIBDIR/libboost_program_options
29729 for f in ${head}*.so* ${head}*.a* ${head}*.dll* ${head}*.dylib; do
29733 f=`echo $f | sed -e 's,.*/,,' -e 's,^lib,,'`
29734 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,'`
29737 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
29738 { $as_echo "$as_me:$LINENO: checking for exit in -l$ax_lib" >&5
29739 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
29740 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
29741 $as_echo_n "(cached) " >&6
29743 ac_check_lib_save_LIBS=$LIBS
29744 LIBS="-l$ax_lib $LIBS"
29745 cat >conftest.$ac_ext <<_ACEOF
29748 cat confdefs.h >>conftest.$ac_ext
29749 cat >>conftest.$ac_ext <<_ACEOF
29750 /* end confdefs.h. */
29752 /* Override any GCC internal prototype to avoid an error.
29753 Use char because int might match the return type of a GCC
29754 builtin and then its argument prototype would still apply. */
29767 rm -f conftest.$ac_objext conftest$ac_exeext
29768 if { (ac_try="$ac_link"
29769 case "(($ac_try" in
29770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29771 *) ac_try_echo=$ac_try;;
29773 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29774 $as_echo "$ac_try_echo") >&5
29775 (eval "$ac_link") 2>conftest.er1
29777 grep -v '^ *+' conftest.er1 >conftest.err
29779 cat conftest.err >&5
29780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29781 (exit $ac_status); } && {
29782 test -z "$ac_cxx_werror_flag" ||
29783 test ! -s conftest.err
29784 } && test -s conftest$ac_exeext && {
29785 test "$cross_compiling" = yes ||
29786 $as_test_x conftest$ac_exeext
29788 eval "$as_ac_Lib=yes"
29790 $as_echo "$as_me: failed program was:" >&5
29791 sed 's/^/| /' conftest.$ac_ext >&5
29793 eval "$as_ac_Lib=no"
29796 rm -rf conftest.dSYM
29797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29798 conftest$ac_exeext conftest.$ac_ext
29799 LIBS=$ac_check_lib_save_LIBS
29801 ac_res=`eval 'as_val=${'$as_ac_Lib'}
29802 $as_echo "$as_val"'`
29803 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29804 $as_echo "$ac_res" >&6; }
29805 as_val=`eval 'as_val=${'$as_ac_Lib'}
29806 $as_echo "$as_val"'`
29807 if test "x$as_val" = x""yes; then
29808 BOOST_PROGRAM_OPTIONS_LIB="-l$ax_lib"; link_ok="yes"; break
29814 if test "$link_ok" != "yes"; then
29815 { { $as_echo "$as_me:$LINENO: error: Could not link against libboost_program_options!" >&5
29816 $as_echo "$as_me: error: Could not link against libboost_program_options!" >&2;}
29817 { (exit 1); exit 1; }; }
29820 ac_cpp='$CPP $CPPFLAGS'
29821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29828 CPPFLAGS="$CPPFLAGS_SAVED"
29829 LDFLAGS="$LDFLAGS_SAVED"
29837 # Extract the first word of "svn", so it can be a program name with args.
29838 set dummy svn; ac_word=$2
29839 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
29840 $as_echo_n "checking for $ac_word... " >&6; }
29841 if test "${ac_cv_path_SVN+set}" = set; then
29842 $as_echo_n "(cached) " >&6
29846 ac_cv_path_SVN="$SVN" # Let the user override the test with a path.
29849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29850 for as_dir in $PATH
29853 test -z "$as_dir" && as_dir=.
29854 for ac_exec_ext in '' $ac_executable_extensions; do
29855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29856 ac_cv_path_SVN="$as_dir/$ac_word$ac_exec_ext"
29857 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29867 SVN=$ac_cv_path_SVN
29868 if test -n "$SVN"; then
29869 { $as_echo "$as_me:$LINENO: result: $SVN" >&5
29870 $as_echo "$SVN" >&6; }
29872 { $as_echo "$as_me:$LINENO: result: no" >&5
29873 $as_echo "no" >&6; }
29877 if test "$SVN" != "" -a -d .svn ; then
29878 SVNVERSION=`$SVN info . | grep '^Revision' | cut -f 2- -d ' '`
29879 SVNDATE=`$SVN info . | grep 'Last Changed Date' | cut -f 4-6 -d ' '`
29887 # Check whether --enable-all-components was given.
29888 if test "${enable_all_components+set}" = set; then
29889 enableval=$enable_all_components;
29893 build_dirs="config"
29898 # Check whether --enable-gruel was given.
29899 if test "${enable_gruel+set}" = set; then
29900 enableval=$enable_gruel;
29903 enable_gruel=$enable_all_components
29904 if test x$enable_all_components = xno; then
29913 if test x = x; then
29914 pc_comp_name="gruel"
29920 # Check whether --with-gruel was given.
29921 if test "${with_gruel+set}" = set; then
29922 withval=$with_gruel; if test "x$withval" != "xyes"; then
29923 with_gruel_val=$withval
29928 if test x$with_gruel = xyes; then
29929 if test x$enable_gruel = xyes; then
29930 { { $as_echo "$as_me:$LINENO: error: Component gruel: Cannot use both --enable and --with" >&5
29931 $as_echo "$as_me: error: Component gruel: Cannot use both --enable and --with" >&2;}
29932 { (exit 1); exit 1; }; }
29935 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
29937 l_PKG_CONFIG_PATH=$with_gruel_val
29938 if test "x$l_PKG_CONFIG_PATH" != "x"; then
29939 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
29941 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
29942 { { $as_echo "$as_me:$LINENO: error: Component gruel: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." >&5
29943 $as_echo "$as_me: error: Component gruel: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." >&2;}
29944 { (exit 1); exit 1; }; }
29948 if test -n "$PKG_CONFIG" && \
29949 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\"") >&5
29950 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
29952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29953 (exit $ac_status); }; then
29954 passed=with; check1=yes
29958 if test "x$l_PKG_CONFIG_PATH" != "x"; then
29959 if test "x$s_PKG_CONFIG_PATH" != "x"; then
29960 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
29961 if test -n "$PKG_CONFIG" && \
29962 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\"") >&5
29963 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
29965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966 (exit $ac_status); }; then
29973 if test $passed != with; then
29974 { { $as_echo "$as_me:$LINENO: error: Component gruel: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." >&5
29975 $as_echo "$as_me: error: Component gruel: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." >&2;}
29976 { (exit 1); exit 1; }; }
29978 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
29982 gruel_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
29983 gruel_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
29984 gruel_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
29986 if test x$check1 = xyes; then
29987 if test "x$s_PKG_CONFIG_PATH" != "x"; then
29988 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
29998 if test $passed != with; then
30000 -I\${abs_top_srcdir}/gruel/src/include \
30001 -I\${abs_top_builddir}/gruel/src/include"
30002 gruel_LA="\${abs_top_builddir}/gruel/src/lib/libgruel.la"
30003 gruel_LIBDIRPATH="\${abs_top_builddir}/gruel/src/lib:\${abs_top_builddir}/gruel/src/lib/.libs"
30006 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"
30009 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
30010 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
30011 $as_echo_n "checking for arpa/inet.h... " >&6; }
30012 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
30013 $as_echo_n "(cached) " >&6
30015 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
30016 $as_echo "$ac_cv_header_arpa_inet_h" >&6; }
30018 # Is the header compilable?
30019 { $as_echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
30020 $as_echo_n "checking arpa/inet.h usability... " >&6; }
30021 cat >conftest.$ac_ext <<_ACEOF
30024 cat confdefs.h >>conftest.$ac_ext
30025 cat >>conftest.$ac_ext <<_ACEOF
30026 /* end confdefs.h. */
30027 $ac_includes_default
30028 #include <arpa/inet.h>
30030 rm -f conftest.$ac_objext
30031 if { (ac_try="$ac_compile"
30032 case "(($ac_try" in
30033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30034 *) ac_try_echo=$ac_try;;
30036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30037 $as_echo "$ac_try_echo") >&5
30038 (eval "$ac_compile") 2>conftest.er1
30040 grep -v '^ *+' conftest.er1 >conftest.err
30042 cat conftest.err >&5
30043 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044 (exit $ac_status); } && {
30045 test -z "$ac_c_werror_flag" ||
30046 test ! -s conftest.err
30047 } && test -s conftest.$ac_objext; then
30048 ac_header_compiler=yes
30050 $as_echo "$as_me: failed program was:" >&5
30051 sed 's/^/| /' conftest.$ac_ext >&5
30053 ac_header_compiler=no
30056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30057 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30058 $as_echo "$ac_header_compiler" >&6; }
30060 # Is the header present?
30061 { $as_echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
30062 $as_echo_n "checking arpa/inet.h presence... " >&6; }
30063 cat >conftest.$ac_ext <<_ACEOF
30066 cat confdefs.h >>conftest.$ac_ext
30067 cat >>conftest.$ac_ext <<_ACEOF
30068 /* end confdefs.h. */
30069 #include <arpa/inet.h>
30071 if { (ac_try="$ac_cpp conftest.$ac_ext"
30072 case "(($ac_try" in
30073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30074 *) ac_try_echo=$ac_try;;
30076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30077 $as_echo "$ac_try_echo") >&5
30078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30080 grep -v '^ *+' conftest.er1 >conftest.err
30082 cat conftest.err >&5
30083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30084 (exit $ac_status); } >/dev/null && {
30085 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30086 test ! -s conftest.err
30088 ac_header_preproc=yes
30090 $as_echo "$as_me: failed program was:" >&5
30091 sed 's/^/| /' conftest.$ac_ext >&5
30093 ac_header_preproc=no
30096 rm -f conftest.err conftest.$ac_ext
30097 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30098 $as_echo "$ac_header_preproc" >&6; }
30100 # So? What about this header?
30101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30103 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
30104 $as_echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30105 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5
30106 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;}
30107 ac_header_preproc=yes
30110 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
30111 $as_echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
30112 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
30113 $as_echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
30114 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5
30115 $as_echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;}
30116 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5
30117 $as_echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
30118 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
30119 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
30120 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
30121 $as_echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
30125 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
30126 $as_echo_n "checking for arpa/inet.h... " >&6; }
30127 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
30128 $as_echo_n "(cached) " >&6
30130 ac_cv_header_arpa_inet_h=$ac_header_preproc
30132 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
30133 $as_echo "$ac_cv_header_arpa_inet_h" >&6; }
30136 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then
30137 GR_HAVE_ARPA_INET=1
30139 GR_HAVE_ARPA_INET=0
30143 if test "${ac_cv_header_netinet_in_h+set}" = set; then
30144 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5
30145 $as_echo_n "checking for netinet/in.h... " >&6; }
30146 if test "${ac_cv_header_netinet_in_h+set}" = set; then
30147 $as_echo_n "(cached) " >&6
30149 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
30150 $as_echo "$ac_cv_header_netinet_in_h" >&6; }
30152 # Is the header compilable?
30153 { $as_echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
30154 $as_echo_n "checking netinet/in.h usability... " >&6; }
30155 cat >conftest.$ac_ext <<_ACEOF
30158 cat confdefs.h >>conftest.$ac_ext
30159 cat >>conftest.$ac_ext <<_ACEOF
30160 /* end confdefs.h. */
30161 $ac_includes_default
30162 #include <netinet/in.h>
30164 rm -f conftest.$ac_objext
30165 if { (ac_try="$ac_compile"
30166 case "(($ac_try" in
30167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30168 *) ac_try_echo=$ac_try;;
30170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30171 $as_echo "$ac_try_echo") >&5
30172 (eval "$ac_compile") 2>conftest.er1
30174 grep -v '^ *+' conftest.er1 >conftest.err
30176 cat conftest.err >&5
30177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30178 (exit $ac_status); } && {
30179 test -z "$ac_c_werror_flag" ||
30180 test ! -s conftest.err
30181 } && test -s conftest.$ac_objext; then
30182 ac_header_compiler=yes
30184 $as_echo "$as_me: failed program was:" >&5
30185 sed 's/^/| /' conftest.$ac_ext >&5
30187 ac_header_compiler=no
30190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30191 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30192 $as_echo "$ac_header_compiler" >&6; }
30194 # Is the header present?
30195 { $as_echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
30196 $as_echo_n "checking netinet/in.h presence... " >&6; }
30197 cat >conftest.$ac_ext <<_ACEOF
30200 cat confdefs.h >>conftest.$ac_ext
30201 cat >>conftest.$ac_ext <<_ACEOF
30202 /* end confdefs.h. */
30203 #include <netinet/in.h>
30205 if { (ac_try="$ac_cpp conftest.$ac_ext"
30206 case "(($ac_try" in
30207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30208 *) ac_try_echo=$ac_try;;
30210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30211 $as_echo "$ac_try_echo") >&5
30212 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30214 grep -v '^ *+' conftest.er1 >conftest.err
30216 cat conftest.err >&5
30217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218 (exit $ac_status); } >/dev/null && {
30219 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30220 test ! -s conftest.err
30222 ac_header_preproc=yes
30224 $as_echo "$as_me: failed program was:" >&5
30225 sed 's/^/| /' conftest.$ac_ext >&5
30227 ac_header_preproc=no
30230 rm -f conftest.err conftest.$ac_ext
30231 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30232 $as_echo "$ac_header_preproc" >&6; }
30234 # So? What about this header?
30235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30237 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
30238 $as_echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30239 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5
30240 $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;}
30241 ac_header_preproc=yes
30244 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
30245 $as_echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
30246 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
30247 $as_echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
30248 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5
30249 $as_echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;}
30250 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5
30251 $as_echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
30252 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
30253 $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
30254 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
30255 $as_echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
30259 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5
30260 $as_echo_n "checking for netinet/in.h... " >&6; }
30261 if test "${ac_cv_header_netinet_in_h+set}" = set; then
30262 $as_echo_n "(cached) " >&6
30264 ac_cv_header_netinet_in_h=$ac_header_preproc
30266 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
30267 $as_echo "$ac_cv_header_netinet_in_h" >&6; }
30270 if test "x$ac_cv_header_netinet_in_h" = x""yes; then
30271 GR_HAVE_NETINET_IN=1
30273 GR_HAVE_NETINET_IN=0
30277 if test "${ac_cv_header_byteswap_h+set}" = set; then
30278 { $as_echo "$as_me:$LINENO: checking for byteswap.h" >&5
30279 $as_echo_n "checking for byteswap.h... " >&6; }
30280 if test "${ac_cv_header_byteswap_h+set}" = set; then
30281 $as_echo_n "(cached) " >&6
30283 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_byteswap_h" >&5
30284 $as_echo "$ac_cv_header_byteswap_h" >&6; }
30286 # Is the header compilable?
30287 { $as_echo "$as_me:$LINENO: checking byteswap.h usability" >&5
30288 $as_echo_n "checking byteswap.h usability... " >&6; }
30289 cat >conftest.$ac_ext <<_ACEOF
30292 cat confdefs.h >>conftest.$ac_ext
30293 cat >>conftest.$ac_ext <<_ACEOF
30294 /* end confdefs.h. */
30295 $ac_includes_default
30296 #include <byteswap.h>
30298 rm -f conftest.$ac_objext
30299 if { (ac_try="$ac_compile"
30300 case "(($ac_try" in
30301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30302 *) ac_try_echo=$ac_try;;
30304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30305 $as_echo "$ac_try_echo") >&5
30306 (eval "$ac_compile") 2>conftest.er1
30308 grep -v '^ *+' conftest.er1 >conftest.err
30310 cat conftest.err >&5
30311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30312 (exit $ac_status); } && {
30313 test -z "$ac_c_werror_flag" ||
30314 test ! -s conftest.err
30315 } && test -s conftest.$ac_objext; then
30316 ac_header_compiler=yes
30318 $as_echo "$as_me: failed program was:" >&5
30319 sed 's/^/| /' conftest.$ac_ext >&5
30321 ac_header_compiler=no
30324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30325 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30326 $as_echo "$ac_header_compiler" >&6; }
30328 # Is the header present?
30329 { $as_echo "$as_me:$LINENO: checking byteswap.h presence" >&5
30330 $as_echo_n "checking byteswap.h presence... " >&6; }
30331 cat >conftest.$ac_ext <<_ACEOF
30334 cat confdefs.h >>conftest.$ac_ext
30335 cat >>conftest.$ac_ext <<_ACEOF
30336 /* end confdefs.h. */
30337 #include <byteswap.h>
30339 if { (ac_try="$ac_cpp conftest.$ac_ext"
30340 case "(($ac_try" in
30341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30342 *) ac_try_echo=$ac_try;;
30344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30345 $as_echo "$ac_try_echo") >&5
30346 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30348 grep -v '^ *+' conftest.er1 >conftest.err
30350 cat conftest.err >&5
30351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352 (exit $ac_status); } >/dev/null && {
30353 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30354 test ! -s conftest.err
30356 ac_header_preproc=yes
30358 $as_echo "$as_me: failed program was:" >&5
30359 sed 's/^/| /' conftest.$ac_ext >&5
30361 ac_header_preproc=no
30364 rm -f conftest.err conftest.$ac_ext
30365 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30366 $as_echo "$ac_header_preproc" >&6; }
30368 # So? What about this header?
30369 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30371 { $as_echo "$as_me:$LINENO: WARNING: byteswap.h: accepted by the compiler, rejected by the preprocessor!" >&5
30372 $as_echo "$as_me: WARNING: byteswap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30373 { $as_echo "$as_me:$LINENO: WARNING: byteswap.h: proceeding with the compiler's result" >&5
30374 $as_echo "$as_me: WARNING: byteswap.h: proceeding with the compiler's result" >&2;}
30375 ac_header_preproc=yes
30378 { $as_echo "$as_me:$LINENO: WARNING: byteswap.h: present but cannot be compiled" >&5
30379 $as_echo "$as_me: WARNING: byteswap.h: present but cannot be compiled" >&2;}
30380 { $as_echo "$as_me:$LINENO: WARNING: byteswap.h: check for missing prerequisite headers?" >&5
30381 $as_echo "$as_me: WARNING: byteswap.h: check for missing prerequisite headers?" >&2;}
30382 { $as_echo "$as_me:$LINENO: WARNING: byteswap.h: see the Autoconf documentation" >&5
30383 $as_echo "$as_me: WARNING: byteswap.h: see the Autoconf documentation" >&2;}
30384 { $as_echo "$as_me:$LINENO: WARNING: byteswap.h: section \"Present But Cannot Be Compiled\"" >&5
30385 $as_echo "$as_me: WARNING: byteswap.h: section \"Present But Cannot Be Compiled\"" >&2;}
30386 { $as_echo "$as_me:$LINENO: WARNING: byteswap.h: proceeding with the preprocessor's result" >&5
30387 $as_echo "$as_me: WARNING: byteswap.h: proceeding with the preprocessor's result" >&2;}
30388 { $as_echo "$as_me:$LINENO: WARNING: byteswap.h: in the future, the compiler will take precedence" >&5
30389 $as_echo "$as_me: WARNING: byteswap.h: in the future, the compiler will take precedence" >&2;}
30393 { $as_echo "$as_me:$LINENO: checking for byteswap.h" >&5
30394 $as_echo_n "checking for byteswap.h... " >&6; }
30395 if test "${ac_cv_header_byteswap_h+set}" = set; then
30396 $as_echo_n "(cached) " >&6
30398 ac_cv_header_byteswap_h=$ac_header_preproc
30400 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_byteswap_h" >&5
30401 $as_echo "$ac_cv_header_byteswap_h" >&6; }
30404 if test "x$ac_cv_header_byteswap_h" = x""yes; then
30418 if test $passed = no; then
30419 if test x$enable_gruel = xyes; then
30420 { { $as_echo "$as_me:$LINENO: error: Component gruel has errors; stopping." >&5
30421 $as_echo "$as_me: error: Component gruel has errors; stopping." >&2;}
30422 { (exit 1); exit 1; }; }
30424 { $as_echo "$as_me:$LINENO: result: Not building component gruel." >&5
30425 $as_echo "Not building component gruel." >&6; }
30428 if test $passed = with; then
30429 with_dirs="$with_dirs gruel"
30431 if test "x${gruel_INCLUDES}" != "x"; then
30432 if test "x$with_INCLUDES" = "x"; then
30433 with_INCLUDES="${gruel_INCLUDES}"
30435 with_INCLUDES="${gruel_INCLUDES}"" ""$with_INCLUDES"
30441 if test "x${gruel_SWIG_INCLUDES}" != "x"; then
30442 if test "x$with_SWIG_INCLUDES" = "x"; then
30443 with_SWIG_INCLUDES="${gruel_SWIG_INCLUDES}"
30445 with_SWIG_INCLUDES="${gruel_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
30447 gruel_SWIG_INCLUDES=
30451 if test "x${gruel_PYDIRPATH}" != "x"; then
30452 if test "x$with_PYDIRPATH" = "x"; then
30453 with_PYDIRPATH="${gruel_PYDIRPATH}"
30455 with_PYDIRPATH="${gruel_PYDIRPATH}"":""$with_PYDIRPATH"
30461 if test "x${gruel_SWIGDIRPATH}" != "x"; then
30462 if test "x$with_SWIGDIRPATH" = "x"; then
30463 with_SWIGDIRPATH="${gruel_SWIGDIRPATH}"
30465 with_SWIGDIRPATH="${gruel_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
30471 if test "x${gruel_LIBDIRPATH}" != "x"; then
30472 if test "x$with_LIBDIRPATH" = "x"; then
30473 with_LIBDIRPATH="${gruel_LIBDIRPATH}"
30475 with_LIBDIRPATH="${gruel_LIBDIRPATH}"":""$with_LIBDIRPATH"
30480 { $as_echo "$as_me:$LINENO: result: Component gruel will be included from a pre-installed library and includes." >&5
30481 $as_echo "Component gruel will be included from a pre-installed library and includes." >&6; }
30485 if test x$enable_gruel != xno; then
30487 build_dirs="$build_dirs gruel"
30488 { $as_echo "$as_me:$LINENO: result: Component gruel passed configuration checks; building." >&5
30489 $as_echo "Component gruel passed configuration checks; building." >&6; }
30492 { $as_echo "$as_me:$LINENO: result: Component gruel passed configuration checks; but not building." >&5
30493 $as_echo "Component gruel passed configuration checks; but not building." >&6; }
30497 if test $passed = no; then
30498 skipped_dirs="$skipped_dirs gruel"
30514 # Check whether --enable-omnithread was given.
30515 if test "${enable_omnithread+set}" = set; then
30516 enableval=$enable_omnithread;
30519 enable_omnithread=$enable_all_components
30520 if test x$enable_all_components = xno; then
30530 if test xgnuradio-omnithread = x; then
30531 pc_comp_name="omnithread"
30533 pc_comp_name="gnuradio-omnithread"
30537 # Check whether --with-omnithread was given.
30538 if test "${with_omnithread+set}" = set; then
30539 withval=$with_omnithread; if test "x$withval" != "xyes"; then
30540 with_omnithread_val=$withval
30541 with_omnithread=yes
30545 if test x$with_omnithread = xyes; then
30546 if test x$enable_omnithread = xyes; then
30547 { { $as_echo "$as_me:$LINENO: error: Component omnithread: Cannot use both --enable and --with" >&5
30548 $as_echo "$as_me: error: Component omnithread: Cannot use both --enable and --with" >&2;}
30549 { (exit 1); exit 1; }; }
30552 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
30554 l_PKG_CONFIG_PATH=$with_omnithread_val
30555 if test "x$l_PKG_CONFIG_PATH" != "x"; then
30556 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
30558 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
30559 { { $as_echo "$as_me:$LINENO: error: Component omnithread: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." >&5
30560 $as_echo "$as_me: error: Component omnithread: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." >&2;}
30561 { (exit 1); exit 1; }; }
30565 if test -n "$PKG_CONFIG" && \
30566 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\"") >&5
30567 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
30569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); }; then
30571 passed=with; check1=yes
30575 if test "x$l_PKG_CONFIG_PATH" != "x"; then
30576 if test "x$s_PKG_CONFIG_PATH" != "x"; then
30577 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
30578 if test -n "$PKG_CONFIG" && \
30579 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\"") >&5
30580 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
30582 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); }; then
30590 if test $passed != with; then
30591 { { $as_echo "$as_me:$LINENO: error: Component omnithread: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." >&5
30592 $as_echo "$as_me: error: Component omnithread: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." >&2;}
30593 { (exit 1); exit 1; }; }
30595 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
30599 omnithread_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
30600 omnithread_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
30601 omnithread_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
30603 if test x$check1 = xyes; then
30604 if test "x$s_PKG_CONFIG_PATH" != "x"; then
30605 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
30615 if test $passed != with; then
30616 omnithread_INCLUDES="-I\${abs_top_srcdir}/omnithread"
30617 omnithread_LA="\${abs_top_builddir}/omnithread/libgromnithread.la"
30618 omnithread_LIBDIRPATH="\${abs_top_builddir}/omnithread:\${abs_top_builddir}/omnithread/.libs"
30621 ac_config_files="$ac_config_files omnithread/Makefile omnithread/gnuradio/Makefile omnithread/gnuradio-omnithread.pc"
30627 if test $passed = no; then
30628 if test x$enable_omnithread = xyes; then
30629 { { $as_echo "$as_me:$LINENO: error: Component omnithread has errors; stopping." >&5
30630 $as_echo "$as_me: error: Component omnithread has errors; stopping." >&2;}
30631 { (exit 1); exit 1; }; }
30633 { $as_echo "$as_me:$LINENO: result: Not building component omnithread." >&5
30634 $as_echo "Not building component omnithread." >&6; }
30637 if test $passed = with; then
30638 with_dirs="$with_dirs omnithread"
30640 if test "x${omnithread_INCLUDES}" != "x"; then
30641 if test "x$with_INCLUDES" = "x"; then
30642 with_INCLUDES="${omnithread_INCLUDES}"
30644 with_INCLUDES="${omnithread_INCLUDES}"" ""$with_INCLUDES"
30646 omnithread_INCLUDES=
30650 if test "x${omnithread_SWIG_INCLUDES}" != "x"; then
30651 if test "x$with_SWIG_INCLUDES" = "x"; then
30652 with_SWIG_INCLUDES="${omnithread_SWIG_INCLUDES}"
30654 with_SWIG_INCLUDES="${omnithread_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
30656 omnithread_SWIG_INCLUDES=
30660 if test "x${omnithread_PYDIRPATH}" != "x"; then
30661 if test "x$with_PYDIRPATH" = "x"; then
30662 with_PYDIRPATH="${omnithread_PYDIRPATH}"
30664 with_PYDIRPATH="${omnithread_PYDIRPATH}"":""$with_PYDIRPATH"
30666 omnithread_PYDIRPATH=
30670 if test "x${omnithread_SWIGDIRPATH}" != "x"; then
30671 if test "x$with_SWIGDIRPATH" = "x"; then
30672 with_SWIGDIRPATH="${omnithread_SWIGDIRPATH}"
30674 with_SWIGDIRPATH="${omnithread_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
30676 omnithread_SWIGDIRPATH=
30680 if test "x${omnithread_LIBDIRPATH}" != "x"; then
30681 if test "x$with_LIBDIRPATH" = "x"; then
30682 with_LIBDIRPATH="${omnithread_LIBDIRPATH}"
30684 with_LIBDIRPATH="${omnithread_LIBDIRPATH}"":""$with_LIBDIRPATH"
30686 omnithread_LIBDIRPATH=
30689 { $as_echo "$as_me:$LINENO: result: Component omnithread will be included from a pre-installed library and includes." >&5
30690 $as_echo "Component omnithread will be included from a pre-installed library and includes." >&6; }
30691 omnithread_with=yes
30694 if test x$enable_omnithread != xno; then
30696 build_dirs="$build_dirs omnithread"
30697 { $as_echo "$as_me:$LINENO: result: Component omnithread passed configuration checks; building." >&5
30698 $as_echo "Component omnithread passed configuration checks; building." >&6; }
30701 { $as_echo "$as_me:$LINENO: result: Component omnithread passed configuration checks; but not building." >&5
30702 $as_echo "Component omnithread passed configuration checks; but not building." >&6; }
30706 if test $passed = no; then
30707 skipped_dirs="$skipped_dirs omnithread"
30708 omnithread_skipped=yes
30710 omnithread_skipped=no
30723 # Check whether --enable-gcell was given.
30724 if test "${enable_gcell+set}" = set; then
30725 enableval=$enable_gcell;
30728 enable_gcell=$enable_all_components
30729 if test x$enable_all_components = xno; then
30739 if test $passed != no; then
30740 if test $passed = yes; then
30741 if test x$omnithread_skipped = xyes; then
30742 { $as_echo "$as_me:$LINENO: result: Component gcell requires omnithread, which is not being built or specified via pre-installed files." >&5
30743 $as_echo "Component gcell requires omnithread, which is not being built or specified via pre-installed files." >&6; }
30747 if test x$omnithread_with = xno; then
30748 { { $as_echo "$as_me:$LINENO: error: Component gcell requires omnithread to be included as --with-omnithread[=arg]" >&5
30749 $as_echo "$as_me: error: Component gcell requires omnithread to be included as --with-omnithread[=arg]" >&2;}
30750 { (exit 1); exit 1; }; }
30756 if test $passed = yes; then
30757 { $as_echo "$as_me:$LINENO: checking whether host_cpu is powerpc*" >&5
30758 $as_echo_n "checking whether host_cpu is powerpc*... " >&6; }
30759 case "$host_cpu" in
30761 { $as_echo "$as_me:$LINENO: result: yes" >&5
30762 $as_echo "yes" >&6; }
30766 { $as_echo "$as_me:$LINENO: result: no" >&5
30767 $as_echo "no" >&6; }
30771 # Extract the first word of "spu-gcc", so it can be a program name with args.
30772 set dummy spu-gcc; ac_word=$2
30773 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
30774 $as_echo_n "checking for $ac_word... " >&6; }
30775 if test "${ac_cv_prog_SPU_GCC_PROG+set}" = set; then
30776 $as_echo_n "(cached) " >&6
30778 if test -n "$SPU_GCC_PROG"; then
30779 ac_cv_prog_SPU_GCC_PROG="$SPU_GCC_PROG" # Let the user override the test.
30781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30782 for as_dir in $PATH
30785 test -z "$as_dir" && as_dir=.
30786 for ac_exec_ext in '' $ac_executable_extensions; do
30787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30788 ac_cv_prog_SPU_GCC_PROG="yes"
30789 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30796 test -z "$ac_cv_prog_SPU_GCC_PROG" && ac_cv_prog_SPU_GCC_PROG="no"
30799 SPU_GCC_PROG=$ac_cv_prog_SPU_GCC_PROG
30800 if test -n "$SPU_GCC_PROG"; then
30801 { $as_echo "$as_me:$LINENO: result: $SPU_GCC_PROG" >&5
30802 $as_echo "$SPU_GCC_PROG" >&6; }
30804 { $as_echo "$as_me:$LINENO: result: no" >&5
30805 $as_echo "no" >&6; }
30809 if test $SPU_GCC_PROG = no; then
30814 if test $passed != with; then
30815 gcell_INCLUDES="-I\${abs_top_srcdir}/gcell/include"
30816 gcell_LA="\${abs_top_builddir}/gcell/lib/libgcell.la"
30817 gcell_spu_INCLUDES="-I\${abs_top_srcdir}/gcell/include"
30818 gcell_spu_LA="\${abs_top_builddir}/gcell/lib/spu/libgcell_spu.a"
30824 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"
30830 if test $passed = no; then
30831 if test x$enable_gcell = xyes; then
30832 { { $as_echo "$as_me:$LINENO: error: Component gcell has errors; stopping." >&5
30833 $as_echo "$as_me: error: Component gcell has errors; stopping." >&2;}
30834 { (exit 1); exit 1; }; }
30836 { $as_echo "$as_me:$LINENO: result: Not building component gcell." >&5
30837 $as_echo "Not building component gcell." >&6; }
30840 if test $passed = with; then
30841 with_dirs="$with_dirs gcell"
30843 if test "x${gcell_INCLUDES}" != "x"; then
30844 if test "x$with_INCLUDES" = "x"; then
30845 with_INCLUDES="${gcell_INCLUDES}"
30847 with_INCLUDES="${gcell_INCLUDES}"" ""$with_INCLUDES"
30853 if test "x${gcell_SWIG_INCLUDES}" != "x"; then
30854 if test "x$with_SWIG_INCLUDES" = "x"; then
30855 with_SWIG_INCLUDES="${gcell_SWIG_INCLUDES}"
30857 with_SWIG_INCLUDES="${gcell_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
30859 gcell_SWIG_INCLUDES=
30863 if test "x${gcell_PYDIRPATH}" != "x"; then
30864 if test "x$with_PYDIRPATH" = "x"; then
30865 with_PYDIRPATH="${gcell_PYDIRPATH}"
30867 with_PYDIRPATH="${gcell_PYDIRPATH}"":""$with_PYDIRPATH"
30873 if test "x${gcell_SWIGDIRPATH}" != "x"; then
30874 if test "x$with_SWIGDIRPATH" = "x"; then
30875 with_SWIGDIRPATH="${gcell_SWIGDIRPATH}"
30877 with_SWIGDIRPATH="${gcell_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
30883 if test "x${gcell_LIBDIRPATH}" != "x"; then
30884 if test "x$with_LIBDIRPATH" = "x"; then
30885 with_LIBDIRPATH="${gcell_LIBDIRPATH}"
30887 with_LIBDIRPATH="${gcell_LIBDIRPATH}"":""$with_LIBDIRPATH"
30892 { $as_echo "$as_me:$LINENO: result: Component gcell will be included from a pre-installed library and includes." >&5
30893 $as_echo "Component gcell will be included from a pre-installed library and includes." >&6; }
30897 if test x$enable_gcell != xno; then
30899 build_dirs="$build_dirs gcell"
30900 { $as_echo "$as_me:$LINENO: result: Component gcell passed configuration checks; building." >&5
30901 $as_echo "Component gcell passed configuration checks; building." >&6; }
30904 { $as_echo "$as_me:$LINENO: result: Component gcell passed configuration checks; but not building." >&5
30905 $as_echo "Component gcell passed configuration checks; but not building." >&6; }
30909 if test $passed = no; then
30910 skipped_dirs="$skipped_dirs gcell"
30927 # Check whether --enable-gnuradio-core was given.
30928 if test "${enable_gnuradio_core+set}" = set; then
30929 enableval=$enable_gnuradio_core;
30932 enable_gnuradio_core=$enable_all_components
30933 if test x$enable_all_components = xno; then
30943 if test x = x; then
30944 pc_comp_name="gnuradio-core"
30950 # Check whether --with-gnuradio-core was given.
30951 if test "${with_gnuradio_core+set}" = set; then
30952 withval=$with_gnuradio_core; if test "x$withval" != "xyes"; then
30953 with_gnuradio_core_val=$withval
30954 with_gnuradio_core=yes
30958 if test x$with_gnuradio_core = xyes; then
30959 if test x$enable_gnuradio_core = xyes; then
30960 { { $as_echo "$as_me:$LINENO: error: Component gnuradio-core: Cannot use both --enable and --with" >&5
30961 $as_echo "$as_me: error: Component gnuradio-core: Cannot use both --enable and --with" >&2;}
30962 { (exit 1); exit 1; }; }
30965 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
30967 l_PKG_CONFIG_PATH=$with_gnuradio_core_val
30968 if test "x$l_PKG_CONFIG_PATH" != "x"; then
30969 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
30971 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
30972 { { $as_echo "$as_me:$LINENO: error: Component gnuradio-core: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." >&5
30973 $as_echo "$as_me: error: Component gnuradio-core: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." >&2;}
30974 { (exit 1); exit 1; }; }
30978 if test -n "$PKG_CONFIG" && \
30979 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\"") >&5
30980 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
30982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30983 (exit $ac_status); }; then
30984 passed=with; check1=yes
30988 if test "x$l_PKG_CONFIG_PATH" != "x"; then
30989 if test "x$s_PKG_CONFIG_PATH" != "x"; then
30990 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
30991 if test -n "$PKG_CONFIG" && \
30992 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\"") >&5
30993 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
30995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30996 (exit $ac_status); }; then
31003 if test $passed != with; then
31004 { { $as_echo "$as_me:$LINENO: error: Component gnuradio-core: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." >&5
31005 $as_echo "$as_me: error: Component gnuradio-core: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." >&2;}
31006 { (exit 1); exit 1; }; }
31008 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
31012 gnuradio_core_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
31013 gnuradio_core_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
31014 gnuradio_core_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
31016 if test x$check1 = xyes; then
31017 if test "x$s_PKG_CONFIG_PATH" != "x"; then
31018 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
31023 gnuradio_core_SWIGDIRPATH="$gnuradio_core_INCLUDEDIR/swig"
31024 gnuradio_core_I="$gnuradio_core_SWIGDIRPATH/gnuradio.i"
31025 gnuradio_core_SWIG_INCLUDES="-I$gnuradio_core_SWIGDIRPATH"
31026 gnuradio_core_PYDIRPATH=$pythondir
31034 if test $passed != no; then
31035 if test $passed = yes; then
31036 if test x$gruel_skipped = xyes; then
31037 { $as_echo "$as_me:$LINENO: result: Component gnuradio-core requires gruel, which is not being built or specified via pre-installed files." >&5
31038 $as_echo "Component gnuradio-core requires gruel, which is not being built or specified via pre-installed files." >&6; }
31042 if test x$gruel_with = xno; then
31043 { { $as_echo "$as_me:$LINENO: error: Component gnuradio-core requires gruel to be included as --with-gruel[=arg]" >&5
31044 $as_echo "$as_me: error: Component gnuradio-core requires gruel to be included as --with-gruel[=arg]" >&2;}
31045 { (exit 1); exit 1; }; }
31051 if test $passed != no; then
31052 if test $passed = yes; then
31053 if test x$omnithread_skipped = xyes; then
31054 { $as_echo "$as_me:$LINENO: result: Component gnuradio-core requires omnithread, which is not being built or specified via pre-installed files." >&5
31055 $as_echo "Component gnuradio-core requires omnithread, which is not being built or specified via pre-installed files." >&6; }
31059 if test x$omnithread_with = xno; then
31060 { { $as_echo "$as_me:$LINENO: error: Component gnuradio-core requires omnithread to be included as --with-omnithread[=arg]" >&5
31061 $as_echo "$as_me: error: Component gnuradio-core requires omnithread to be included as --with-omnithread[=arg]" >&2;}
31062 { (exit 1); exit 1; }; }
31068 if test $passed = yes; then
31075 # Check whether --with-cblas was given.
31076 if test "${with_cblas+set}" = set; then
31077 withval=$with_cblas;
31080 case $with_cblas in
31082 no) acx_cblas_ok=disable ;;
31083 -* | */* | *.a | *.so | *.so.* | *.o) CBLAS_LIBS="$with_cblas" ;;
31084 *) CBLAS_LIBS="-l$with_cblas" ;;
31088 acx_cblas_save_LIBS="$LIBS"
31089 LIBS="$LIBS $FLIBS"
31091 # First, check CBLAS_LIBS environment variable
31092 if test $acx_cblas_ok = no; then
31093 if test "x$CBLAS_LIBS" != x; then
31094 save_LIBS="$LIBS"; LIBS="$CBLAS_LIBS $LIBS"
31095 { $as_echo "$as_me:$LINENO: checking for cblas_sgemm in $CBLAS_LIBS" >&5
31096 $as_echo_n "checking for cblas_sgemm in $CBLAS_LIBS... " >&6; }
31097 cat >conftest.$ac_ext <<_ACEOF
31100 cat confdefs.h >>conftest.$ac_ext
31101 cat >>conftest.$ac_ext <<_ACEOF
31102 /* end confdefs.h. */
31104 /* Override any GCC internal prototype to avoid an error.
31105 Use char because int might match the return type of a GCC
31106 builtin and then its argument prototype would still apply. */
31110 char cblas_sgemm ();
31114 return cblas_sgemm ();
31119 rm -f conftest.$ac_objext conftest$ac_exeext
31120 if { (ac_try="$ac_link"
31121 case "(($ac_try" in
31122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31123 *) ac_try_echo=$ac_try;;
31125 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31126 $as_echo "$ac_try_echo") >&5
31127 (eval "$ac_link") 2>conftest.er1
31129 grep -v '^ *+' conftest.er1 >conftest.err
31131 cat conftest.err >&5
31132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133 (exit $ac_status); } && {
31134 test -z "$ac_c_werror_flag" ||
31135 test ! -s conftest.err
31136 } && test -s conftest$ac_exeext && {
31137 test "$cross_compiling" = yes ||
31138 $as_test_x conftest$ac_exeext
31142 $as_echo "$as_me: failed program was:" >&5
31143 sed 's/^/| /' conftest.$ac_ext >&5
31148 rm -rf conftest.dSYM
31149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31150 conftest$ac_exeext conftest.$ac_ext
31151 { $as_echo "$as_me:$LINENO: result: $acx_cblas_ok" >&5
31152 $as_echo "$acx_cblas_ok" >&6; }
31157 # CBLAS linked to by default? (happens on some supercomputers)
31158 if test $acx_cblas_ok = no; then
31159 save_LIBS="$LIBS"; LIBS="$LIBS"
31160 { $as_echo "$as_me:$LINENO: checking for cblas_sgemm" >&5
31161 $as_echo_n "checking for cblas_sgemm... " >&6; }
31162 if test "${ac_cv_func_cblas_sgemm+set}" = set; then
31163 $as_echo_n "(cached) " >&6
31165 cat >conftest.$ac_ext <<_ACEOF
31168 cat confdefs.h >>conftest.$ac_ext
31169 cat >>conftest.$ac_ext <<_ACEOF
31170 /* end confdefs.h. */
31171 /* Define cblas_sgemm to an innocuous variant, in case <limits.h> declares cblas_sgemm.
31172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31173 #define cblas_sgemm innocuous_cblas_sgemm
31175 /* System header to define __stub macros and hopefully few prototypes,
31176 which can conflict with char cblas_sgemm (); below.
31177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31178 <limits.h> exists even on freestanding compilers. */
31181 # include <limits.h>
31183 # include <assert.h>
31188 /* Override any GCC internal prototype to avoid an error.
31189 Use char because int might match the return type of a GCC
31190 builtin and then its argument prototype would still apply. */
31194 char cblas_sgemm ();
31195 /* The GNU C library defines this for functions which it implements
31196 to always fail with ENOSYS. Some functions are actually named
31197 something starting with __ and the normal name is an alias. */
31198 #if defined __stub_cblas_sgemm || defined __stub___cblas_sgemm
31205 return cblas_sgemm ();
31210 rm -f conftest.$ac_objext conftest$ac_exeext
31211 if { (ac_try="$ac_link"
31212 case "(($ac_try" in
31213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31214 *) ac_try_echo=$ac_try;;
31216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31217 $as_echo "$ac_try_echo") >&5
31218 (eval "$ac_link") 2>conftest.er1
31220 grep -v '^ *+' conftest.er1 >conftest.err
31222 cat conftest.err >&5
31223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); } && {
31225 test -z "$ac_c_werror_flag" ||
31226 test ! -s conftest.err
31227 } && test -s conftest$ac_exeext && {
31228 test "$cross_compiling" = yes ||
31229 $as_test_x conftest$ac_exeext
31231 ac_cv_func_cblas_sgemm=yes
31233 $as_echo "$as_me: failed program was:" >&5
31234 sed 's/^/| /' conftest.$ac_ext >&5
31236 ac_cv_func_cblas_sgemm=no
31239 rm -rf conftest.dSYM
31240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31241 conftest$ac_exeext conftest.$ac_ext
31243 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_cblas_sgemm" >&5
31244 $as_echo "$ac_cv_func_cblas_sgemm" >&6; }
31245 if test "x$ac_cv_func_cblas_sgemm" = x""yes; then
31252 # CBLAS in ATLAS library? (http://math-atlas.sourceforge.net/)
31253 if test $acx_cblas_ok = no; then
31254 { $as_echo "$as_me:$LINENO: checking for ATL_xerbla in -latlas" >&5
31255 $as_echo_n "checking for ATL_xerbla in -latlas... " >&6; }
31256 if test "${ac_cv_lib_atlas_ATL_xerbla+set}" = set; then
31257 $as_echo_n "(cached) " >&6
31259 ac_check_lib_save_LIBS=$LIBS
31260 LIBS="-latlas -latlas $LIBS"
31261 cat >conftest.$ac_ext <<_ACEOF
31264 cat confdefs.h >>conftest.$ac_ext
31265 cat >>conftest.$ac_ext <<_ACEOF
31266 /* end confdefs.h. */
31268 /* Override any GCC internal prototype to avoid an error.
31269 Use char because int might match the return type of a GCC
31270 builtin and then its argument prototype would still apply. */
31274 char ATL_xerbla ();
31278 return ATL_xerbla ();
31283 rm -f conftest.$ac_objext conftest$ac_exeext
31284 if { (ac_try="$ac_link"
31285 case "(($ac_try" in
31286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31287 *) ac_try_echo=$ac_try;;
31289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31290 $as_echo "$ac_try_echo") >&5
31291 (eval "$ac_link") 2>conftest.er1
31293 grep -v '^ *+' conftest.er1 >conftest.err
31295 cat conftest.err >&5
31296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31297 (exit $ac_status); } && {
31298 test -z "$ac_c_werror_flag" ||
31299 test ! -s conftest.err
31300 } && test -s conftest$ac_exeext && {
31301 test "$cross_compiling" = yes ||
31302 $as_test_x conftest$ac_exeext
31304 ac_cv_lib_atlas_ATL_xerbla=yes
31306 $as_echo "$as_me: failed program was:" >&5
31307 sed 's/^/| /' conftest.$ac_ext >&5
31309 ac_cv_lib_atlas_ATL_xerbla=no
31312 rm -rf conftest.dSYM
31313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31314 conftest$ac_exeext conftest.$ac_ext
31315 LIBS=$ac_check_lib_save_LIBS
31317 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_atlas_ATL_xerbla" >&5
31318 $as_echo "$ac_cv_lib_atlas_ATL_xerbla" >&6; }
31319 if test "x$ac_cv_lib_atlas_ATL_xerbla" = x""yes; then
31320 { $as_echo "$as_me:$LINENO: checking for cblas_dgemm in -lcblas" >&5
31321 $as_echo_n "checking for cblas_dgemm in -lcblas... " >&6; }
31322 if test "${ac_cv_lib_cblas_cblas_dgemm+set}" = set; then
31323 $as_echo_n "(cached) " >&6
31325 ac_check_lib_save_LIBS=$LIBS
31326 LIBS="-lcblas -latlas $LIBS"
31327 cat >conftest.$ac_ext <<_ACEOF
31330 cat confdefs.h >>conftest.$ac_ext
31331 cat >>conftest.$ac_ext <<_ACEOF
31332 /* end confdefs.h. */
31334 /* Override any GCC internal prototype to avoid an error.
31335 Use char because int might match the return type of a GCC
31336 builtin and then its argument prototype would still apply. */
31340 char cblas_dgemm ();
31344 return cblas_dgemm ();
31349 rm -f conftest.$ac_objext conftest$ac_exeext
31350 if { (ac_try="$ac_link"
31351 case "(($ac_try" in
31352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31353 *) ac_try_echo=$ac_try;;
31355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31356 $as_echo "$ac_try_echo") >&5
31357 (eval "$ac_link") 2>conftest.er1
31359 grep -v '^ *+' conftest.er1 >conftest.err
31361 cat conftest.err >&5
31362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31363 (exit $ac_status); } && {
31364 test -z "$ac_c_werror_flag" ||
31365 test ! -s conftest.err
31366 } && test -s conftest$ac_exeext && {
31367 test "$cross_compiling" = yes ||
31368 $as_test_x conftest$ac_exeext
31370 ac_cv_lib_cblas_cblas_dgemm=yes
31372 $as_echo "$as_me: failed program was:" >&5
31373 sed 's/^/| /' conftest.$ac_ext >&5
31375 ac_cv_lib_cblas_cblas_dgemm=no
31378 rm -rf conftest.dSYM
31379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31380 conftest$ac_exeext conftest.$ac_ext
31381 LIBS=$ac_check_lib_save_LIBS
31383 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cblas_cblas_dgemm" >&5
31384 $as_echo "$ac_cv_lib_cblas_cblas_dgemm" >&6; }
31385 if test "x$ac_cv_lib_cblas_cblas_dgemm" = x""yes; then
31387 CBLAS_LIBS="-lcblas -latlas"
31394 # CBLAS in ATLAS library in /usr/lib64/atlas (if not cross-compiling)
31395 if test $acx_cblas_ok = no && test "$cross_compiling" = no; then
31396 unset ac_cv_lib_atlas_ATL_xerbla
31397 unset ac_cv_lib_cblas_cblas_dgemm
31398 { $as_echo "$as_me:$LINENO: checking for ATL_xerbla in -latlas" >&5
31399 $as_echo_n "checking for ATL_xerbla in -latlas... " >&6; }
31400 if test "${ac_cv_lib_atlas_ATL_xerbla+set}" = set; then
31401 $as_echo_n "(cached) " >&6
31403 ac_check_lib_save_LIBS=$LIBS
31404 LIBS="-latlas -L/usr/lib64/atlas -latlas $LIBS"
31405 cat >conftest.$ac_ext <<_ACEOF
31408 cat confdefs.h >>conftest.$ac_ext
31409 cat >>conftest.$ac_ext <<_ACEOF
31410 /* end confdefs.h. */
31412 /* Override any GCC internal prototype to avoid an error.
31413 Use char because int might match the return type of a GCC
31414 builtin and then its argument prototype would still apply. */
31418 char ATL_xerbla ();
31422 return ATL_xerbla ();
31427 rm -f conftest.$ac_objext conftest$ac_exeext
31428 if { (ac_try="$ac_link"
31429 case "(($ac_try" in
31430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31431 *) ac_try_echo=$ac_try;;
31433 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31434 $as_echo "$ac_try_echo") >&5
31435 (eval "$ac_link") 2>conftest.er1
31437 grep -v '^ *+' conftest.er1 >conftest.err
31439 cat conftest.err >&5
31440 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31441 (exit $ac_status); } && {
31442 test -z "$ac_c_werror_flag" ||
31443 test ! -s conftest.err
31444 } && test -s conftest$ac_exeext && {
31445 test "$cross_compiling" = yes ||
31446 $as_test_x conftest$ac_exeext
31448 ac_cv_lib_atlas_ATL_xerbla=yes
31450 $as_echo "$as_me: failed program was:" >&5
31451 sed 's/^/| /' conftest.$ac_ext >&5
31453 ac_cv_lib_atlas_ATL_xerbla=no
31456 rm -rf conftest.dSYM
31457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31458 conftest$ac_exeext conftest.$ac_ext
31459 LIBS=$ac_check_lib_save_LIBS
31461 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_atlas_ATL_xerbla" >&5
31462 $as_echo "$ac_cv_lib_atlas_ATL_xerbla" >&6; }
31463 if test "x$ac_cv_lib_atlas_ATL_xerbla" = x""yes; then
31464 { $as_echo "$as_me:$LINENO: checking for cblas_dgemm in -lcblas" >&5
31465 $as_echo_n "checking for cblas_dgemm in -lcblas... " >&6; }
31466 if test "${ac_cv_lib_cblas_cblas_dgemm+set}" = set; then
31467 $as_echo_n "(cached) " >&6
31469 ac_check_lib_save_LIBS=$LIBS
31470 LIBS="-lcblas -L/usr/lib64/atlas -latlas $LIBS"
31471 cat >conftest.$ac_ext <<_ACEOF
31474 cat confdefs.h >>conftest.$ac_ext
31475 cat >>conftest.$ac_ext <<_ACEOF
31476 /* end confdefs.h. */
31478 /* Override any GCC internal prototype to avoid an error.
31479 Use char because int might match the return type of a GCC
31480 builtin and then its argument prototype would still apply. */
31484 char cblas_dgemm ();
31488 return cblas_dgemm ();
31493 rm -f conftest.$ac_objext conftest$ac_exeext
31494 if { (ac_try="$ac_link"
31495 case "(($ac_try" in
31496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31497 *) ac_try_echo=$ac_try;;
31499 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31500 $as_echo "$ac_try_echo") >&5
31501 (eval "$ac_link") 2>conftest.er1
31503 grep -v '^ *+' conftest.er1 >conftest.err
31505 cat conftest.err >&5
31506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); } && {
31508 test -z "$ac_c_werror_flag" ||
31509 test ! -s conftest.err
31510 } && test -s conftest$ac_exeext && {
31511 test "$cross_compiling" = yes ||
31512 $as_test_x conftest$ac_exeext
31514 ac_cv_lib_cblas_cblas_dgemm=yes
31516 $as_echo "$as_me: failed program was:" >&5
31517 sed 's/^/| /' conftest.$ac_ext >&5
31519 ac_cv_lib_cblas_cblas_dgemm=no
31522 rm -rf conftest.dSYM
31523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31524 conftest$ac_exeext conftest.$ac_ext
31525 LIBS=$ac_check_lib_save_LIBS
31527 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cblas_cblas_dgemm" >&5
31528 $as_echo "$ac_cv_lib_cblas_cblas_dgemm" >&6; }
31529 if test "x$ac_cv_lib_cblas_cblas_dgemm" = x""yes; then
31531 CBLAS_LIBS="-L/usr/lib64/atlas -lcblas -latlas"
31538 # CBLAS in ATLAS library in /usr/lib/atlas (if not cross-compiling)
31539 if test $acx_cblas_ok = no && test "$cross_compiling" = no; then
31540 unset ac_cv_lib_atlas_ATL_xerbla
31541 unset ac_cv_lib_cblas_cblas_dgemm
31542 { $as_echo "$as_me:$LINENO: checking for ATL_xerbla in -latlas" >&5
31543 $as_echo_n "checking for ATL_xerbla in -latlas... " >&6; }
31544 if test "${ac_cv_lib_atlas_ATL_xerbla+set}" = set; then
31545 $as_echo_n "(cached) " >&6
31547 ac_check_lib_save_LIBS=$LIBS
31548 LIBS="-latlas -L/usr/lib/atlas -latlas $LIBS"
31549 cat >conftest.$ac_ext <<_ACEOF
31552 cat confdefs.h >>conftest.$ac_ext
31553 cat >>conftest.$ac_ext <<_ACEOF
31554 /* end confdefs.h. */
31556 /* Override any GCC internal prototype to avoid an error.
31557 Use char because int might match the return type of a GCC
31558 builtin and then its argument prototype would still apply. */
31562 char ATL_xerbla ();
31566 return ATL_xerbla ();
31571 rm -f conftest.$ac_objext conftest$ac_exeext
31572 if { (ac_try="$ac_link"
31573 case "(($ac_try" in
31574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31575 *) ac_try_echo=$ac_try;;
31577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31578 $as_echo "$ac_try_echo") >&5
31579 (eval "$ac_link") 2>conftest.er1
31581 grep -v '^ *+' conftest.er1 >conftest.err
31583 cat conftest.err >&5
31584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); } && {
31586 test -z "$ac_c_werror_flag" ||
31587 test ! -s conftest.err
31588 } && test -s conftest$ac_exeext && {
31589 test "$cross_compiling" = yes ||
31590 $as_test_x conftest$ac_exeext
31592 ac_cv_lib_atlas_ATL_xerbla=yes
31594 $as_echo "$as_me: failed program was:" >&5
31595 sed 's/^/| /' conftest.$ac_ext >&5
31597 ac_cv_lib_atlas_ATL_xerbla=no
31600 rm -rf conftest.dSYM
31601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31602 conftest$ac_exeext conftest.$ac_ext
31603 LIBS=$ac_check_lib_save_LIBS
31605 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_atlas_ATL_xerbla" >&5
31606 $as_echo "$ac_cv_lib_atlas_ATL_xerbla" >&6; }
31607 if test "x$ac_cv_lib_atlas_ATL_xerbla" = x""yes; then
31608 { $as_echo "$as_me:$LINENO: checking for cblas_dgemm in -lcblas" >&5
31609 $as_echo_n "checking for cblas_dgemm in -lcblas... " >&6; }
31610 if test "${ac_cv_lib_cblas_cblas_dgemm+set}" = set; then
31611 $as_echo_n "(cached) " >&6
31613 ac_check_lib_save_LIBS=$LIBS
31614 LIBS="-lcblas -L/usr/lib/atlas -latlas $LIBS"
31615 cat >conftest.$ac_ext <<_ACEOF
31618 cat confdefs.h >>conftest.$ac_ext
31619 cat >>conftest.$ac_ext <<_ACEOF
31620 /* end confdefs.h. */
31622 /* Override any GCC internal prototype to avoid an error.
31623 Use char because int might match the return type of a GCC
31624 builtin and then its argument prototype would still apply. */
31628 char cblas_dgemm ();
31632 return cblas_dgemm ();
31637 rm -f conftest.$ac_objext conftest$ac_exeext
31638 if { (ac_try="$ac_link"
31639 case "(($ac_try" in
31640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31641 *) ac_try_echo=$ac_try;;
31643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31644 $as_echo "$ac_try_echo") >&5
31645 (eval "$ac_link") 2>conftest.er1
31647 grep -v '^ *+' conftest.er1 >conftest.err
31649 cat conftest.err >&5
31650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31651 (exit $ac_status); } && {
31652 test -z "$ac_c_werror_flag" ||
31653 test ! -s conftest.err
31654 } && test -s conftest$ac_exeext && {
31655 test "$cross_compiling" = yes ||
31656 $as_test_x conftest$ac_exeext
31658 ac_cv_lib_cblas_cblas_dgemm=yes
31660 $as_echo "$as_me: failed program was:" >&5
31661 sed 's/^/| /' conftest.$ac_ext >&5
31663 ac_cv_lib_cblas_cblas_dgemm=no
31666 rm -rf conftest.dSYM
31667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31668 conftest$ac_exeext conftest.$ac_ext
31669 LIBS=$ac_check_lib_save_LIBS
31671 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cblas_cblas_dgemm" >&5
31672 $as_echo "$ac_cv_lib_cblas_cblas_dgemm" >&6; }
31673 if test "x$ac_cv_lib_cblas_cblas_dgemm" = x""yes; then
31675 CBLAS_LIBS="-L/usr/lib/atlas -lcblas -latlas"
31683 # CBLAS in PhiPACK libraries? (requires generic BLAS lib, too)
31684 if test $acx_cblas_ok = no; then
31685 { $as_echo "$as_me:$LINENO: checking for cblas_sgemm in -lcblas" >&5
31686 $as_echo_n "checking for cblas_sgemm in -lcblas... " >&6; }
31687 if test "${ac_cv_lib_cblas_cblas_sgemm+set}" = set; then
31688 $as_echo_n "(cached) " >&6
31690 ac_check_lib_save_LIBS=$LIBS
31691 LIBS="-lcblas $LIBS"
31692 cat >conftest.$ac_ext <<_ACEOF
31695 cat confdefs.h >>conftest.$ac_ext
31696 cat >>conftest.$ac_ext <<_ACEOF
31697 /* end confdefs.h. */
31699 /* Override any GCC internal prototype to avoid an error.
31700 Use char because int might match the return type of a GCC
31701 builtin and then its argument prototype would still apply. */
31705 char cblas_sgemm ();
31709 return cblas_sgemm ();
31714 rm -f conftest.$ac_objext conftest$ac_exeext
31715 if { (ac_try="$ac_link"
31716 case "(($ac_try" in
31717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31718 *) ac_try_echo=$ac_try;;
31720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31721 $as_echo "$ac_try_echo") >&5
31722 (eval "$ac_link") 2>conftest.er1
31724 grep -v '^ *+' conftest.er1 >conftest.err
31726 cat conftest.err >&5
31727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31728 (exit $ac_status); } && {
31729 test -z "$ac_c_werror_flag" ||
31730 test ! -s conftest.err
31731 } && test -s conftest$ac_exeext && {
31732 test "$cross_compiling" = yes ||
31733 $as_test_x conftest$ac_exeext
31735 ac_cv_lib_cblas_cblas_sgemm=yes
31737 $as_echo "$as_me: failed program was:" >&5
31738 sed 's/^/| /' conftest.$ac_ext >&5
31740 ac_cv_lib_cblas_cblas_sgemm=no
31743 rm -rf conftest.dSYM
31744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31745 conftest$ac_exeext conftest.$ac_ext
31746 LIBS=$ac_check_lib_save_LIBS
31748 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cblas_cblas_sgemm" >&5
31749 $as_echo "$ac_cv_lib_cblas_cblas_sgemm" >&6; }
31750 if test "x$ac_cv_lib_cblas_cblas_sgemm" = x""yes; then
31751 { $as_echo "$as_me:$LINENO: checking for cblas_dgemm in -ldgemm" >&5
31752 $as_echo_n "checking for cblas_dgemm in -ldgemm... " >&6; }
31753 if test "${ac_cv_lib_dgemm_cblas_dgemm+set}" = set; then
31754 $as_echo_n "(cached) " >&6
31756 ac_check_lib_save_LIBS=$LIBS
31757 LIBS="-ldgemm -lblas $LIBS"
31758 cat >conftest.$ac_ext <<_ACEOF
31761 cat confdefs.h >>conftest.$ac_ext
31762 cat >>conftest.$ac_ext <<_ACEOF
31763 /* end confdefs.h. */
31765 /* Override any GCC internal prototype to avoid an error.
31766 Use char because int might match the return type of a GCC
31767 builtin and then its argument prototype would still apply. */
31771 char cblas_dgemm ();
31775 return cblas_dgemm ();
31780 rm -f conftest.$ac_objext conftest$ac_exeext
31781 if { (ac_try="$ac_link"
31782 case "(($ac_try" in
31783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31784 *) ac_try_echo=$ac_try;;
31786 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31787 $as_echo "$ac_try_echo") >&5
31788 (eval "$ac_link") 2>conftest.er1
31790 grep -v '^ *+' conftest.er1 >conftest.err
31792 cat conftest.err >&5
31793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31794 (exit $ac_status); } && {
31795 test -z "$ac_c_werror_flag" ||
31796 test ! -s conftest.err
31797 } && test -s conftest$ac_exeext && {
31798 test "$cross_compiling" = yes ||
31799 $as_test_x conftest$ac_exeext
31801 ac_cv_lib_dgemm_cblas_dgemm=yes
31803 $as_echo "$as_me: failed program was:" >&5
31804 sed 's/^/| /' conftest.$ac_ext >&5
31806 ac_cv_lib_dgemm_cblas_dgemm=no
31809 rm -rf conftest.dSYM
31810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31811 conftest$ac_exeext conftest.$ac_ext
31812 LIBS=$ac_check_lib_save_LIBS
31814 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dgemm_cblas_dgemm" >&5
31815 $as_echo "$ac_cv_lib_dgemm_cblas_dgemm" >&6; }
31816 if test "x$ac_cv_lib_dgemm_cblas_dgemm" = x""yes; then
31817 { $as_echo "$as_me:$LINENO: checking for cblas_sgemm in -lsgemm" >&5
31818 $as_echo_n "checking for cblas_sgemm in -lsgemm... " >&6; }
31819 if test "${ac_cv_lib_sgemm_cblas_sgemm+set}" = set; then
31820 $as_echo_n "(cached) " >&6
31822 ac_check_lib_save_LIBS=$LIBS
31823 LIBS="-lsgemm -lblas $LIBS"
31824 cat >conftest.$ac_ext <<_ACEOF
31827 cat confdefs.h >>conftest.$ac_ext
31828 cat >>conftest.$ac_ext <<_ACEOF
31829 /* end confdefs.h. */
31831 /* Override any GCC internal prototype to avoid an error.
31832 Use char because int might match the return type of a GCC
31833 builtin and then its argument prototype would still apply. */
31837 char cblas_sgemm ();
31841 return cblas_sgemm ();
31846 rm -f conftest.$ac_objext conftest$ac_exeext
31847 if { (ac_try="$ac_link"
31848 case "(($ac_try" in
31849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31850 *) ac_try_echo=$ac_try;;
31852 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31853 $as_echo "$ac_try_echo") >&5
31854 (eval "$ac_link") 2>conftest.er1
31856 grep -v '^ *+' conftest.er1 >conftest.err
31858 cat conftest.err >&5
31859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); } && {
31861 test -z "$ac_c_werror_flag" ||
31862 test ! -s conftest.err
31863 } && test -s conftest$ac_exeext && {
31864 test "$cross_compiling" = yes ||
31865 $as_test_x conftest$ac_exeext
31867 ac_cv_lib_sgemm_cblas_sgemm=yes
31869 $as_echo "$as_me: failed program was:" >&5
31870 sed 's/^/| /' conftest.$ac_ext >&5
31872 ac_cv_lib_sgemm_cblas_sgemm=no
31875 rm -rf conftest.dSYM
31876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31877 conftest$ac_exeext conftest.$ac_ext
31878 LIBS=$ac_check_lib_save_LIBS
31880 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sgemm_cblas_sgemm" >&5
31881 $as_echo "$ac_cv_lib_sgemm_cblas_sgemm" >&6; }
31882 if test "x$ac_cv_lib_sgemm_cblas_sgemm" = x""yes; then
31883 acx_cblas_ok=yes; CBLAS_LIBS="-lsgemm -ldgemm -lblas"
31892 # BLAS in Intel MKL library?
31893 if test $acx_cblas_ok = no; then
31894 { $as_echo "$as_me:$LINENO: checking for cblas_sgemm in -lmkl" >&5
31895 $as_echo_n "checking for cblas_sgemm in -lmkl... " >&6; }
31896 if test "${ac_cv_lib_mkl_cblas_sgemm+set}" = set; then
31897 $as_echo_n "(cached) " >&6
31899 ac_check_lib_save_LIBS=$LIBS
31901 cat >conftest.$ac_ext <<_ACEOF
31904 cat confdefs.h >>conftest.$ac_ext
31905 cat >>conftest.$ac_ext <<_ACEOF
31906 /* end confdefs.h. */
31908 /* Override any GCC internal prototype to avoid an error.
31909 Use char because int might match the return type of a GCC
31910 builtin and then its argument prototype would still apply. */
31914 char cblas_sgemm ();
31918 return cblas_sgemm ();
31923 rm -f conftest.$ac_objext conftest$ac_exeext
31924 if { (ac_try="$ac_link"
31925 case "(($ac_try" in
31926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31927 *) ac_try_echo=$ac_try;;
31929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31930 $as_echo "$ac_try_echo") >&5
31931 (eval "$ac_link") 2>conftest.er1
31933 grep -v '^ *+' conftest.er1 >conftest.err
31935 cat conftest.err >&5
31936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31937 (exit $ac_status); } && {
31938 test -z "$ac_c_werror_flag" ||
31939 test ! -s conftest.err
31940 } && test -s conftest$ac_exeext && {
31941 test "$cross_compiling" = yes ||
31942 $as_test_x conftest$ac_exeext
31944 ac_cv_lib_mkl_cblas_sgemm=yes
31946 $as_echo "$as_me: failed program was:" >&5
31947 sed 's/^/| /' conftest.$ac_ext >&5
31949 ac_cv_lib_mkl_cblas_sgemm=no
31952 rm -rf conftest.dSYM
31953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31954 conftest$ac_exeext conftest.$ac_ext
31955 LIBS=$ac_check_lib_save_LIBS
31957 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_cblas_sgemm" >&5
31958 $as_echo "$ac_cv_lib_mkl_cblas_sgemm" >&6; }
31959 if test "x$ac_cv_lib_mkl_cblas_sgemm" = x""yes; then
31960 acx_cblas_ok=yes;CBLAS_LIBS="-lmkl"
31965 # CBLAS in Apple vecLib library?
31966 if test $acx_cblas_ok = no; then
31967 save_LIBS="$LIBS"; LIBS="-framework vecLib $LIBS"
31968 { $as_echo "$as_me:$LINENO: checking for cblas_sgemm" >&5
31969 $as_echo_n "checking for cblas_sgemm... " >&6; }
31970 if test "${ac_cv_func_cblas_sgemm+set}" = set; then
31971 $as_echo_n "(cached) " >&6
31973 cat >conftest.$ac_ext <<_ACEOF
31976 cat confdefs.h >>conftest.$ac_ext
31977 cat >>conftest.$ac_ext <<_ACEOF
31978 /* end confdefs.h. */
31979 /* Define cblas_sgemm to an innocuous variant, in case <limits.h> declares cblas_sgemm.
31980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31981 #define cblas_sgemm innocuous_cblas_sgemm
31983 /* System header to define __stub macros and hopefully few prototypes,
31984 which can conflict with char cblas_sgemm (); below.
31985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31986 <limits.h> exists even on freestanding compilers. */
31989 # include <limits.h>
31991 # include <assert.h>
31996 /* Override any GCC internal prototype to avoid an error.
31997 Use char because int might match the return type of a GCC
31998 builtin and then its argument prototype would still apply. */
32002 char cblas_sgemm ();
32003 /* The GNU C library defines this for functions which it implements
32004 to always fail with ENOSYS. Some functions are actually named
32005 something starting with __ and the normal name is an alias. */
32006 #if defined __stub_cblas_sgemm || defined __stub___cblas_sgemm
32013 return cblas_sgemm ();
32018 rm -f conftest.$ac_objext conftest$ac_exeext
32019 if { (ac_try="$ac_link"
32020 case "(($ac_try" in
32021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32022 *) ac_try_echo=$ac_try;;
32024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32025 $as_echo "$ac_try_echo") >&5
32026 (eval "$ac_link") 2>conftest.er1
32028 grep -v '^ *+' conftest.er1 >conftest.err
32030 cat conftest.err >&5
32031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); } && {
32033 test -z "$ac_c_werror_flag" ||
32034 test ! -s conftest.err
32035 } && test -s conftest$ac_exeext && {
32036 test "$cross_compiling" = yes ||
32037 $as_test_x conftest$ac_exeext
32039 ac_cv_func_cblas_sgemm=yes
32041 $as_echo "$as_me: failed program was:" >&5
32042 sed 's/^/| /' conftest.$ac_ext >&5
32044 ac_cv_func_cblas_sgemm=no
32047 rm -rf conftest.dSYM
32048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32049 conftest$ac_exeext conftest.$ac_ext
32051 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_cblas_sgemm" >&5
32052 $as_echo "$ac_cv_func_cblas_sgemm" >&6; }
32053 if test "x$ac_cv_func_cblas_sgemm" = x""yes; then
32054 acx_cblas_ok=yes;CBLAS_LIBS="-framework vecLib"
32060 # CBLAS in Alpha CXML library?
32061 if test $acx_cblas_ok = no; then
32062 { $as_echo "$as_me:$LINENO: checking for cblas_sgemm in -lcxml" >&5
32063 $as_echo_n "checking for cblas_sgemm in -lcxml... " >&6; }
32064 if test "${ac_cv_lib_cxml_cblas_sgemm+set}" = set; then
32065 $as_echo_n "(cached) " >&6
32067 ac_check_lib_save_LIBS=$LIBS
32068 LIBS="-lcxml $LIBS"
32069 cat >conftest.$ac_ext <<_ACEOF
32072 cat confdefs.h >>conftest.$ac_ext
32073 cat >>conftest.$ac_ext <<_ACEOF
32074 /* end confdefs.h. */
32076 /* Override any GCC internal prototype to avoid an error.
32077 Use char because int might match the return type of a GCC
32078 builtin and then its argument prototype would still apply. */
32082 char cblas_sgemm ();
32086 return cblas_sgemm ();
32091 rm -f conftest.$ac_objext conftest$ac_exeext
32092 if { (ac_try="$ac_link"
32093 case "(($ac_try" in
32094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32095 *) ac_try_echo=$ac_try;;
32097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32098 $as_echo "$ac_try_echo") >&5
32099 (eval "$ac_link") 2>conftest.er1
32101 grep -v '^ *+' conftest.er1 >conftest.err
32103 cat conftest.err >&5
32104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32105 (exit $ac_status); } && {
32106 test -z "$ac_c_werror_flag" ||
32107 test ! -s conftest.err
32108 } && test -s conftest$ac_exeext && {
32109 test "$cross_compiling" = yes ||
32110 $as_test_x conftest$ac_exeext
32112 ac_cv_lib_cxml_cblas_sgemm=yes
32114 $as_echo "$as_me: failed program was:" >&5
32115 sed 's/^/| /' conftest.$ac_ext >&5
32117 ac_cv_lib_cxml_cblas_sgemm=no
32120 rm -rf conftest.dSYM
32121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32122 conftest$ac_exeext conftest.$ac_ext
32123 LIBS=$ac_check_lib_save_LIBS
32125 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cxml_cblas_sgemm" >&5
32126 $as_echo "$ac_cv_lib_cxml_cblas_sgemm" >&6; }
32127 if test "x$ac_cv_lib_cxml_cblas_sgemm" = x""yes; then
32128 acx_cblas_ok=yes;CBLAS_LIBS="-lcxml"
32133 # CBLAS in Alpha DXML library? (now called CXML, see above)
32134 if test $acx_cblas_ok = no; then
32135 { $as_echo "$as_me:$LINENO: checking for cblas_sgemm in -ldxml" >&5
32136 $as_echo_n "checking for cblas_sgemm in -ldxml... " >&6; }
32137 if test "${ac_cv_lib_dxml_cblas_sgemm+set}" = set; then
32138 $as_echo_n "(cached) " >&6
32140 ac_check_lib_save_LIBS=$LIBS
32141 LIBS="-ldxml $LIBS"
32142 cat >conftest.$ac_ext <<_ACEOF
32145 cat confdefs.h >>conftest.$ac_ext
32146 cat >>conftest.$ac_ext <<_ACEOF
32147 /* end confdefs.h. */
32149 /* Override any GCC internal prototype to avoid an error.
32150 Use char because int might match the return type of a GCC
32151 builtin and then its argument prototype would still apply. */
32155 char cblas_sgemm ();
32159 return cblas_sgemm ();
32164 rm -f conftest.$ac_objext conftest$ac_exeext
32165 if { (ac_try="$ac_link"
32166 case "(($ac_try" in
32167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32168 *) ac_try_echo=$ac_try;;
32170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32171 $as_echo "$ac_try_echo") >&5
32172 (eval "$ac_link") 2>conftest.er1
32174 grep -v '^ *+' conftest.er1 >conftest.err
32176 cat conftest.err >&5
32177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); } && {
32179 test -z "$ac_c_werror_flag" ||
32180 test ! -s conftest.err
32181 } && test -s conftest$ac_exeext && {
32182 test "$cross_compiling" = yes ||
32183 $as_test_x conftest$ac_exeext
32185 ac_cv_lib_dxml_cblas_sgemm=yes
32187 $as_echo "$as_me: failed program was:" >&5
32188 sed 's/^/| /' conftest.$ac_ext >&5
32190 ac_cv_lib_dxml_cblas_sgemm=no
32193 rm -rf conftest.dSYM
32194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32195 conftest$ac_exeext conftest.$ac_ext
32196 LIBS=$ac_check_lib_save_LIBS
32198 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dxml_cblas_sgemm" >&5
32199 $as_echo "$ac_cv_lib_dxml_cblas_sgemm" >&6; }
32200 if test "x$ac_cv_lib_dxml_cblas_sgemm" = x""yes; then
32201 acx_cblas_ok=yes;CBLAS_LIBS="-ldxml"
32206 # CBLAS in Sun Performance library?
32207 if test $acx_cblas_ok = no; then
32208 if test "x$GCC" != xyes; then # only works with Sun CC
32209 { $as_echo "$as_me:$LINENO: checking for acosp in -lsunmath" >&5
32210 $as_echo_n "checking for acosp in -lsunmath... " >&6; }
32211 if test "${ac_cv_lib_sunmath_acosp+set}" = set; then
32212 $as_echo_n "(cached) " >&6
32214 ac_check_lib_save_LIBS=$LIBS
32215 LIBS="-lsunmath $LIBS"
32216 cat >conftest.$ac_ext <<_ACEOF
32219 cat confdefs.h >>conftest.$ac_ext
32220 cat >>conftest.$ac_ext <<_ACEOF
32221 /* end confdefs.h. */
32223 /* Override any GCC internal prototype to avoid an error.
32224 Use char because int might match the return type of a GCC
32225 builtin and then its argument prototype would still apply. */
32238 rm -f conftest.$ac_objext conftest$ac_exeext
32239 if { (ac_try="$ac_link"
32240 case "(($ac_try" in
32241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32242 *) ac_try_echo=$ac_try;;
32244 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32245 $as_echo "$ac_try_echo") >&5
32246 (eval "$ac_link") 2>conftest.er1
32248 grep -v '^ *+' conftest.er1 >conftest.err
32250 cat conftest.err >&5
32251 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32252 (exit $ac_status); } && {
32253 test -z "$ac_c_werror_flag" ||
32254 test ! -s conftest.err
32255 } && test -s conftest$ac_exeext && {
32256 test "$cross_compiling" = yes ||
32257 $as_test_x conftest$ac_exeext
32259 ac_cv_lib_sunmath_acosp=yes
32261 $as_echo "$as_me: failed program was:" >&5
32262 sed 's/^/| /' conftest.$ac_ext >&5
32264 ac_cv_lib_sunmath_acosp=no
32267 rm -rf conftest.dSYM
32268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32269 conftest$ac_exeext conftest.$ac_ext
32270 LIBS=$ac_check_lib_save_LIBS
32272 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sunmath_acosp" >&5
32273 $as_echo "$ac_cv_lib_sunmath_acosp" >&6; }
32274 if test "x$ac_cv_lib_sunmath_acosp" = x""yes; then
32275 { $as_echo "$as_me:$LINENO: checking for cblas_sgemm in -lsunperf" >&5
32276 $as_echo_n "checking for cblas_sgemm in -lsunperf... " >&6; }
32277 if test "${ac_cv_lib_sunperf_cblas_sgemm+set}" = set; then
32278 $as_echo_n "(cached) " >&6
32280 ac_check_lib_save_LIBS=$LIBS
32281 LIBS="-lsunperf -lsunmath $LIBS"
32282 cat >conftest.$ac_ext <<_ACEOF
32285 cat confdefs.h >>conftest.$ac_ext
32286 cat >>conftest.$ac_ext <<_ACEOF
32287 /* end confdefs.h. */
32289 /* Override any GCC internal prototype to avoid an error.
32290 Use char because int might match the return type of a GCC
32291 builtin and then its argument prototype would still apply. */
32295 char cblas_sgemm ();
32299 return cblas_sgemm ();
32304 rm -f conftest.$ac_objext conftest$ac_exeext
32305 if { (ac_try="$ac_link"
32306 case "(($ac_try" in
32307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32308 *) ac_try_echo=$ac_try;;
32310 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32311 $as_echo "$ac_try_echo") >&5
32312 (eval "$ac_link") 2>conftest.er1
32314 grep -v '^ *+' conftest.er1 >conftest.err
32316 cat conftest.err >&5
32317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32318 (exit $ac_status); } && {
32319 test -z "$ac_c_werror_flag" ||
32320 test ! -s conftest.err
32321 } && test -s conftest$ac_exeext && {
32322 test "$cross_compiling" = yes ||
32323 $as_test_x conftest$ac_exeext
32325 ac_cv_lib_sunperf_cblas_sgemm=yes
32327 $as_echo "$as_me: failed program was:" >&5
32328 sed 's/^/| /' conftest.$ac_ext >&5
32330 ac_cv_lib_sunperf_cblas_sgemm=no
32333 rm -rf conftest.dSYM
32334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32335 conftest$ac_exeext conftest.$ac_ext
32336 LIBS=$ac_check_lib_save_LIBS
32338 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sunperf_cblas_sgemm" >&5
32339 $as_echo "$ac_cv_lib_sunperf_cblas_sgemm" >&6; }
32340 if test "x$ac_cv_lib_sunperf_cblas_sgemm" = x""yes; then
32341 CBLAS_LIBS="-xlic_lib=sunperf -lsunmath"
32350 # CBLAS in SCSL library? (SGI/Cray Scientific Library)
32351 if test $acx_cblas_ok = no; then
32352 { $as_echo "$as_me:$LINENO: checking for cblas_sgemm in -lscs" >&5
32353 $as_echo_n "checking for cblas_sgemm in -lscs... " >&6; }
32354 if test "${ac_cv_lib_scs_cblas_sgemm+set}" = set; then
32355 $as_echo_n "(cached) " >&6
32357 ac_check_lib_save_LIBS=$LIBS
32359 cat >conftest.$ac_ext <<_ACEOF
32362 cat confdefs.h >>conftest.$ac_ext
32363 cat >>conftest.$ac_ext <<_ACEOF
32364 /* end confdefs.h. */
32366 /* Override any GCC internal prototype to avoid an error.
32367 Use char because int might match the return type of a GCC
32368 builtin and then its argument prototype would still apply. */
32372 char cblas_sgemm ();
32376 return cblas_sgemm ();
32381 rm -f conftest.$ac_objext conftest$ac_exeext
32382 if { (ac_try="$ac_link"
32383 case "(($ac_try" in
32384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32385 *) ac_try_echo=$ac_try;;
32387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32388 $as_echo "$ac_try_echo") >&5
32389 (eval "$ac_link") 2>conftest.er1
32391 grep -v '^ *+' conftest.er1 >conftest.err
32393 cat conftest.err >&5
32394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32395 (exit $ac_status); } && {
32396 test -z "$ac_c_werror_flag" ||
32397 test ! -s conftest.err
32398 } && test -s conftest$ac_exeext && {
32399 test "$cross_compiling" = yes ||
32400 $as_test_x conftest$ac_exeext
32402 ac_cv_lib_scs_cblas_sgemm=yes
32404 $as_echo "$as_me: failed program was:" >&5
32405 sed 's/^/| /' conftest.$ac_ext >&5
32407 ac_cv_lib_scs_cblas_sgemm=no
32410 rm -rf conftest.dSYM
32411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32412 conftest$ac_exeext conftest.$ac_ext
32413 LIBS=$ac_check_lib_save_LIBS
32415 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_scs_cblas_sgemm" >&5
32416 $as_echo "$ac_cv_lib_scs_cblas_sgemm" >&6; }
32417 if test "x$ac_cv_lib_scs_cblas_sgemm" = x""yes; then
32418 acx_cblas_ok=yes; CBLAS_LIBS="-lscs"
32423 # CBLAS in SGIMATH library?
32424 if test $acx_cblas_ok = no; then
32425 { $as_echo "$as_me:$LINENO: checking for cblas_sgemm in -lcomplib.sgimath" >&5
32426 $as_echo_n "checking for cblas_sgemm in -lcomplib.sgimath... " >&6; }
32427 if test "${ac_cv_lib_complib_sgimath_cblas_sgemm+set}" = set; then
32428 $as_echo_n "(cached) " >&6
32430 ac_check_lib_save_LIBS=$LIBS
32431 LIBS="-lcomplib.sgimath $LIBS"
32432 cat >conftest.$ac_ext <<_ACEOF
32435 cat confdefs.h >>conftest.$ac_ext
32436 cat >>conftest.$ac_ext <<_ACEOF
32437 /* end confdefs.h. */
32439 /* Override any GCC internal prototype to avoid an error.
32440 Use char because int might match the return type of a GCC
32441 builtin and then its argument prototype would still apply. */
32445 char cblas_sgemm ();
32449 return cblas_sgemm ();
32454 rm -f conftest.$ac_objext conftest$ac_exeext
32455 if { (ac_try="$ac_link"
32456 case "(($ac_try" in
32457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32458 *) ac_try_echo=$ac_try;;
32460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32461 $as_echo "$ac_try_echo") >&5
32462 (eval "$ac_link") 2>conftest.er1
32464 grep -v '^ *+' conftest.er1 >conftest.err
32466 cat conftest.err >&5
32467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); } && {
32469 test -z "$ac_c_werror_flag" ||
32470 test ! -s conftest.err
32471 } && test -s conftest$ac_exeext && {
32472 test "$cross_compiling" = yes ||
32473 $as_test_x conftest$ac_exeext
32475 ac_cv_lib_complib_sgimath_cblas_sgemm=yes
32477 $as_echo "$as_me: failed program was:" >&5
32478 sed 's/^/| /' conftest.$ac_ext >&5
32480 ac_cv_lib_complib_sgimath_cblas_sgemm=no
32483 rm -rf conftest.dSYM
32484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32485 conftest$ac_exeext conftest.$ac_ext
32486 LIBS=$ac_check_lib_save_LIBS
32488 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_complib_sgimath_cblas_sgemm" >&5
32489 $as_echo "$ac_cv_lib_complib_sgimath_cblas_sgemm" >&6; }
32490 if test "x$ac_cv_lib_complib_sgimath_cblas_sgemm" = x""yes; then
32491 acx_cblas_ok=yes; CBLAS_LIBS="-lcomplib.sgimath"
32496 # CBLAS in IBM ESSL library? (requires generic CBLAS lib, too)
32497 if test $acx_cblas_ok = no; then
32498 { $as_echo "$as_me:$LINENO: checking for cblas_sgemm in -lcblas" >&5
32499 $as_echo_n "checking for cblas_sgemm in -lcblas... " >&6; }
32500 if test "${ac_cv_lib_cblas_cblas_sgemm+set}" = set; then
32501 $as_echo_n "(cached) " >&6
32503 ac_check_lib_save_LIBS=$LIBS
32504 LIBS="-lcblas $LIBS"
32505 cat >conftest.$ac_ext <<_ACEOF
32508 cat confdefs.h >>conftest.$ac_ext
32509 cat >>conftest.$ac_ext <<_ACEOF
32510 /* end confdefs.h. */
32512 /* Override any GCC internal prototype to avoid an error.
32513 Use char because int might match the return type of a GCC
32514 builtin and then its argument prototype would still apply. */
32518 char cblas_sgemm ();
32522 return cblas_sgemm ();
32527 rm -f conftest.$ac_objext conftest$ac_exeext
32528 if { (ac_try="$ac_link"
32529 case "(($ac_try" in
32530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32531 *) ac_try_echo=$ac_try;;
32533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32534 $as_echo "$ac_try_echo") >&5
32535 (eval "$ac_link") 2>conftest.er1
32537 grep -v '^ *+' conftest.er1 >conftest.err
32539 cat conftest.err >&5
32540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32541 (exit $ac_status); } && {
32542 test -z "$ac_c_werror_flag" ||
32543 test ! -s conftest.err
32544 } && test -s conftest$ac_exeext && {
32545 test "$cross_compiling" = yes ||
32546 $as_test_x conftest$ac_exeext
32548 ac_cv_lib_cblas_cblas_sgemm=yes
32550 $as_echo "$as_me: failed program was:" >&5
32551 sed 's/^/| /' conftest.$ac_ext >&5
32553 ac_cv_lib_cblas_cblas_sgemm=no
32556 rm -rf conftest.dSYM
32557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32558 conftest$ac_exeext conftest.$ac_ext
32559 LIBS=$ac_check_lib_save_LIBS
32561 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cblas_cblas_sgemm" >&5
32562 $as_echo "$ac_cv_lib_cblas_cblas_sgemm" >&6; }
32563 if test "x$ac_cv_lib_cblas_cblas_sgemm" = x""yes; then
32564 { $as_echo "$as_me:$LINENO: checking for cblas_sgemm in -lessl" >&5
32565 $as_echo_n "checking for cblas_sgemm in -lessl... " >&6; }
32566 if test "${ac_cv_lib_essl_cblas_sgemm+set}" = set; then
32567 $as_echo_n "(cached) " >&6
32569 ac_check_lib_save_LIBS=$LIBS
32570 LIBS="-lessl -lblas $FLIBS $LIBS"
32571 cat >conftest.$ac_ext <<_ACEOF
32574 cat confdefs.h >>conftest.$ac_ext
32575 cat >>conftest.$ac_ext <<_ACEOF
32576 /* end confdefs.h. */
32578 /* Override any GCC internal prototype to avoid an error.
32579 Use char because int might match the return type of a GCC
32580 builtin and then its argument prototype would still apply. */
32584 char cblas_sgemm ();
32588 return cblas_sgemm ();
32593 rm -f conftest.$ac_objext conftest$ac_exeext
32594 if { (ac_try="$ac_link"
32595 case "(($ac_try" in
32596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32597 *) ac_try_echo=$ac_try;;
32599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32600 $as_echo "$ac_try_echo") >&5
32601 (eval "$ac_link") 2>conftest.er1
32603 grep -v '^ *+' conftest.er1 >conftest.err
32605 cat conftest.err >&5
32606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607 (exit $ac_status); } && {
32608 test -z "$ac_c_werror_flag" ||
32609 test ! -s conftest.err
32610 } && test -s conftest$ac_exeext && {
32611 test "$cross_compiling" = yes ||
32612 $as_test_x conftest$ac_exeext
32614 ac_cv_lib_essl_cblas_sgemm=yes
32616 $as_echo "$as_me: failed program was:" >&5
32617 sed 's/^/| /' conftest.$ac_ext >&5
32619 ac_cv_lib_essl_cblas_sgemm=no
32622 rm -rf conftest.dSYM
32623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32624 conftest$ac_exeext conftest.$ac_ext
32625 LIBS=$ac_check_lib_save_LIBS
32627 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_essl_cblas_sgemm" >&5
32628 $as_echo "$ac_cv_lib_essl_cblas_sgemm" >&6; }
32629 if test "x$ac_cv_lib_essl_cblas_sgemm" = x""yes; then
32630 acx_cblas_ok=yes; CBLAS_LIBS="-lessl -lblas"
32637 # Generic CBLAS library?
32638 if test $acx_cblas_ok = no; then
32639 { $as_echo "$as_me:$LINENO: checking for cblas_sgemm in -lcblas" >&5
32640 $as_echo_n "checking for cblas_sgemm in -lcblas... " >&6; }
32641 if test "${ac_cv_lib_cblas_cblas_sgemm+set}" = set; then
32642 $as_echo_n "(cached) " >&6
32644 ac_check_lib_save_LIBS=$LIBS
32645 LIBS="-lcblas $LIBS"
32646 cat >conftest.$ac_ext <<_ACEOF
32649 cat confdefs.h >>conftest.$ac_ext
32650 cat >>conftest.$ac_ext <<_ACEOF
32651 /* end confdefs.h. */
32653 /* Override any GCC internal prototype to avoid an error.
32654 Use char because int might match the return type of a GCC
32655 builtin and then its argument prototype would still apply. */
32659 char cblas_sgemm ();
32663 return cblas_sgemm ();
32668 rm -f conftest.$ac_objext conftest$ac_exeext
32669 if { (ac_try="$ac_link"
32670 case "(($ac_try" in
32671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32672 *) ac_try_echo=$ac_try;;
32674 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32675 $as_echo "$ac_try_echo") >&5
32676 (eval "$ac_link") 2>conftest.er1
32678 grep -v '^ *+' conftest.er1 >conftest.err
32680 cat conftest.err >&5
32681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32682 (exit $ac_status); } && {
32683 test -z "$ac_c_werror_flag" ||
32684 test ! -s conftest.err
32685 } && test -s conftest$ac_exeext && {
32686 test "$cross_compiling" = yes ||
32687 $as_test_x conftest$ac_exeext
32689 ac_cv_lib_cblas_cblas_sgemm=yes
32691 $as_echo "$as_me: failed program was:" >&5
32692 sed 's/^/| /' conftest.$ac_ext >&5
32694 ac_cv_lib_cblas_cblas_sgemm=no
32697 rm -rf conftest.dSYM
32698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32699 conftest$ac_exeext conftest.$ac_ext
32700 LIBS=$ac_check_lib_save_LIBS
32702 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cblas_cblas_sgemm" >&5
32703 $as_echo "$ac_cv_lib_cblas_cblas_sgemm" >&6; }
32704 if test "x$ac_cv_lib_cblas_cblas_sgemm" = x""yes; then
32705 acx_cblas_ok=yes; CBLAS_LIBS="-lcblas"
32710 # Generic BLAS library?
32711 if test $acx_cblas_ok = no; then
32712 { $as_echo "$as_me:$LINENO: checking for cblas_sgemm in -lblas" >&5
32713 $as_echo_n "checking for cblas_sgemm in -lblas... " >&6; }
32714 if test "${ac_cv_lib_blas_cblas_sgemm+set}" = set; then
32715 $as_echo_n "(cached) " >&6
32717 ac_check_lib_save_LIBS=$LIBS
32718 LIBS="-lblas $LIBS"
32719 cat >conftest.$ac_ext <<_ACEOF
32722 cat confdefs.h >>conftest.$ac_ext
32723 cat >>conftest.$ac_ext <<_ACEOF
32724 /* end confdefs.h. */
32726 /* Override any GCC internal prototype to avoid an error.
32727 Use char because int might match the return type of a GCC
32728 builtin and then its argument prototype would still apply. */
32732 char cblas_sgemm ();
32736 return cblas_sgemm ();
32741 rm -f conftest.$ac_objext conftest$ac_exeext
32742 if { (ac_try="$ac_link"
32743 case "(($ac_try" in
32744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32745 *) ac_try_echo=$ac_try;;
32747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32748 $as_echo "$ac_try_echo") >&5
32749 (eval "$ac_link") 2>conftest.er1
32751 grep -v '^ *+' conftest.er1 >conftest.err
32753 cat conftest.err >&5
32754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755 (exit $ac_status); } && {
32756 test -z "$ac_c_werror_flag" ||
32757 test ! -s conftest.err
32758 } && test -s conftest$ac_exeext && {
32759 test "$cross_compiling" = yes ||
32760 $as_test_x conftest$ac_exeext
32762 ac_cv_lib_blas_cblas_sgemm=yes
32764 $as_echo "$as_me: failed program was:" >&5
32765 sed 's/^/| /' conftest.$ac_ext >&5
32767 ac_cv_lib_blas_cblas_sgemm=no
32770 rm -rf conftest.dSYM
32771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32772 conftest$ac_exeext conftest.$ac_ext
32773 LIBS=$ac_check_lib_save_LIBS
32775 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_blas_cblas_sgemm" >&5
32776 $as_echo "$ac_cv_lib_blas_cblas_sgemm" >&6; }
32777 if test "x$ac_cv_lib_blas_cblas_sgemm" = x""yes; then
32778 acx_cblas_ok=yes; CBLAS_LIBS="-lblas"
32783 # GSL generic CBLAS library?
32784 if test $acx_cblas_ok = no; then
32785 { $as_echo "$as_me:$LINENO: checking for cblas_sgemm in -lgslcblas" >&5
32786 $as_echo_n "checking for cblas_sgemm in -lgslcblas... " >&6; }
32787 if test "${ac_cv_lib_gslcblas_cblas_sgemm+set}" = set; then
32788 $as_echo_n "(cached) " >&6
32790 ac_check_lib_save_LIBS=$LIBS
32791 LIBS="-lgslcblas $LIBS"
32792 cat >conftest.$ac_ext <<_ACEOF
32795 cat confdefs.h >>conftest.$ac_ext
32796 cat >>conftest.$ac_ext <<_ACEOF
32797 /* end confdefs.h. */
32799 /* Override any GCC internal prototype to avoid an error.
32800 Use char because int might match the return type of a GCC
32801 builtin and then its argument prototype would still apply. */
32805 char cblas_sgemm ();
32809 return cblas_sgemm ();
32814 rm -f conftest.$ac_objext conftest$ac_exeext
32815 if { (ac_try="$ac_link"
32816 case "(($ac_try" in
32817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32818 *) ac_try_echo=$ac_try;;
32820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32821 $as_echo "$ac_try_echo") >&5
32822 (eval "$ac_link") 2>conftest.er1
32824 grep -v '^ *+' conftest.er1 >conftest.err
32826 cat conftest.err >&5
32827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32828 (exit $ac_status); } && {
32829 test -z "$ac_c_werror_flag" ||
32830 test ! -s conftest.err
32831 } && test -s conftest$ac_exeext && {
32832 test "$cross_compiling" = yes ||
32833 $as_test_x conftest$ac_exeext
32835 ac_cv_lib_gslcblas_cblas_sgemm=yes
32837 $as_echo "$as_me: failed program was:" >&5
32838 sed 's/^/| /' conftest.$ac_ext >&5
32840 ac_cv_lib_gslcblas_cblas_sgemm=no
32843 rm -rf conftest.dSYM
32844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32845 conftest$ac_exeext conftest.$ac_ext
32846 LIBS=$ac_check_lib_save_LIBS
32848 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gslcblas_cblas_sgemm" >&5
32849 $as_echo "$ac_cv_lib_gslcblas_cblas_sgemm" >&6; }
32850 if test "x$ac_cv_lib_gslcblas_cblas_sgemm" = x""yes; then
32851 acx_cblas_ok=yes; CBLAS_LIBS="-lgslcblas"
32858 LIBS="$acx_cblas_save_LIBS"
32860 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
32861 if test x"$acx_cblas_ok" = xyes; then
32863 cat >>confdefs.h <<\_ACEOF
32864 #define HAVE_CBLAS 1
32877 { $as_echo "$as_me:$LINENO: checking for GSL" >&5
32878 $as_echo_n "checking for GSL... " >&6; }
32880 if test -n "$PKG_CONFIG"; then
32881 if test -n "$GSL_CFLAGS"; then
32882 pkg_cv_GSL_CFLAGS="$GSL_CFLAGS"
32884 if test -n "$PKG_CONFIG" && \
32885 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gsl >= 1.10\"") >&5
32886 ($PKG_CONFIG --exists --print-errors "gsl >= 1.10") 2>&5
32888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32889 (exit $ac_status); }; then
32890 pkg_cv_GSL_CFLAGS=`$PKG_CONFIG --cflags "gsl >= 1.10" 2>/dev/null`
32899 if test x$cross_compiling = xyes
32901 if test -n "$PKG_CONFIG"; then
32902 if test -n "$GSL_LIBS"; then
32903 pkg_cv_GSL_LIBS="$GSL_LIBS"
32905 if test -n "$PKG_CONFIG" && \
32906 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gsl >= 1.10\"") >&5
32907 ($PKG_CONFIG --exists --print-errors "gsl >= 1.10") 2>&5
32909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 (exit $ac_status); }; then
32911 pkg_cv_GSL_LIBS=`$PKG_CONFIG --libs --static "gsl >= 1.10" 2>/dev/null`
32920 for flag in $pkg_cv_GSL_LIBS; do
32922 (-L/lib* | -L/usr/lib* ) ;; # ignore
32923 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
32926 pkg_cv_GSL_LIBS="$_pkg_tmp"
32928 if test -n "$PKG_CONFIG"; then
32929 if test -n "$GSL_LIBS"; then
32930 pkg_cv_GSL_LIBS="$GSL_LIBS"
32932 if test -n "$PKG_CONFIG" && \
32933 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gsl >= 1.10\"") >&5
32934 ($PKG_CONFIG --exists --print-errors "gsl >= 1.10") 2>&5
32936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32937 (exit $ac_status); }; then
32938 pkg_cv_GSL_LIBS=`$PKG_CONFIG --libs --static "gsl >= 1.10" 2>/dev/null`
32948 if test -n "$PKG_CONFIG"; then
32949 if test -n "$GSL_INCLUDEDIR"; then
32950 pkg_cv_GSL_INCLUDEDIR="$GSL_INCLUDEDIR"
32952 if test -n "$PKG_CONFIG" && \
32953 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gsl >= 1.10\"") >&5
32954 ($PKG_CONFIG --exists --print-errors "gsl >= 1.10") 2>&5
32956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32957 (exit $ac_status); }; then
32958 pkg_cv_GSL_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "gsl >= 1.10" 2>/dev/null`
32970 if test $pkg_failed = yes; then
32972 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32973 _pkg_short_errors_supported=yes
32975 _pkg_short_errors_supported=no
32977 if test $_pkg_short_errors_supported = yes; then
32978 GSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gsl >= 1.10"`
32980 GSL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gsl >= 1.10"`
32982 # Put the nasty error message in config.log where it belongs
32983 echo "$GSL_PKG_ERRORS" >&5
32985 { $as_echo "$as_me:$LINENO: result: no" >&5
32986 $as_echo "no" >&6; }
32987 passed=no;{ $as_echo "$as_me:$LINENO: result: gnuradio-core requires package gsl >= 1.10, not found." >&5
32988 $as_echo "gnuradio-core requires package gsl >= 1.10, not found." >&6; }
32989 elif test $pkg_failed = untried; then
32990 passed=no;{ $as_echo "$as_me:$LINENO: result: gnuradio-core requires package gsl >= 1.10, not found." >&5
32991 $as_echo "gnuradio-core requires package gsl >= 1.10, not found." >&6; }
32993 GSL_CFLAGS=$pkg_cv_GSL_CFLAGS
32994 GSL_LIBS=$pkg_cv_GSL_LIBS
32995 GSL_INCLUDEDIR=$pkg_cv_GSL_INCLUDEDIR
32998 for flag in $GSL_CFLAGS; do
33000 -I* | -D* | -U*) GSL_CPPFLAGS="$GSL_CPPFLAGS $flag" ;;
33003 pkg_cv_GSL_CPPFLAGS=$GSL_CPPFLAGS
33006 { $as_echo "$as_me:$LINENO: result: yes" >&5
33007 $as_echo "yes" >&6; }
33012 if test $passed != with; then
33013 gnuradio_core_INCLUDES="\
33014 -I\${abs_top_srcdir}/gnuradio-core/src/lib/runtime \
33015 -I\${abs_top_srcdir}/gnuradio-core/src/lib/general \
33016 -I\${abs_top_builddir}/gnuradio-core/src/lib/general \
33017 -I\${abs_top_srcdir}/gnuradio-core/src/lib/gengen \
33018 -I\${abs_top_builddir}/gnuradio-core/src/lib/gengen \
33019 -I\${abs_top_srcdir}/gnuradio-core/src/lib/filter \
33020 -I\${abs_top_builddir}/gnuradio-core/src/lib/filter \
33021 -I\${abs_top_srcdir}/gnuradio-core/src/lib/missing \
33022 -I\${abs_top_srcdir}/gnuradio-core/src/lib/reed-solomon \
33023 -I\${abs_top_srcdir}/gnuradio-core/src/lib/viterbi \
33024 -I\${abs_top_srcdir}/gnuradio-core/src/lib/io \
33025 -I\${abs_top_srcdir}/gnuradio-core/src/lib/g72x \
33026 -I\${abs_top_srcdir}/gnuradio-core/src/lib/swig \
33027 -I\${abs_top_srcdir}/gnuradio-core/src/lib/hier \
33028 -I\${abs_top_builddir}/gnuradio-core/src/lib/swig \
33029 \$(FFTW3F_CFLAGS) \
33031 gnuradio_core_LA="\${abs_top_builddir}/gnuradio-core/src/lib/libgnuradio-core.la"
33032 gnuradio_core_LIBDIRPATH="\${abs_top_builddir}/gnuradio-core/src/lib:\${abs_top_builddir}/gnuradio-core/src/lib/.libs"
33033 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"
33034 gnuradio_core_PYDIRPATH="\${abs_top_srcdir}/gnuradio-core/src/python"
33041 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"
33046 gnuradio_core_with=no
33047 if test $passed = no; then
33048 if test x$enable_gnuradio_core = xyes; then
33049 { { $as_echo "$as_me:$LINENO: error: Component gnuradio-core has errors; stopping." >&5
33050 $as_echo "$as_me: error: Component gnuradio-core has errors; stopping." >&2;}
33051 { (exit 1); exit 1; }; }
33053 { $as_echo "$as_me:$LINENO: result: Not building component gnuradio-core." >&5
33054 $as_echo "Not building component gnuradio-core." >&6; }
33057 if test $passed = with; then
33058 with_dirs="$with_dirs gnuradio-core"
33060 if test "x${gnuradio_core_INCLUDES}" != "x"; then
33061 if test "x$with_INCLUDES" = "x"; then
33062 with_INCLUDES="${gnuradio_core_INCLUDES}"
33064 with_INCLUDES="${gnuradio_core_INCLUDES}"" ""$with_INCLUDES"
33066 gnuradio_core_INCLUDES=
33070 if test "x${gnuradio_core_SWIG_INCLUDES}" != "x"; then
33071 if test "x$with_SWIG_INCLUDES" = "x"; then
33072 with_SWIG_INCLUDES="${gnuradio_core_SWIG_INCLUDES}"
33074 with_SWIG_INCLUDES="${gnuradio_core_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
33076 gnuradio_core_SWIG_INCLUDES=
33080 if test "x${gnuradio_core_PYDIRPATH}" != "x"; then
33081 if test "x$with_PYDIRPATH" = "x"; then
33082 with_PYDIRPATH="${gnuradio_core_PYDIRPATH}"
33084 with_PYDIRPATH="${gnuradio_core_PYDIRPATH}"":""$with_PYDIRPATH"
33086 gnuradio_core_PYDIRPATH=
33090 if test "x${gnuradio_core_SWIGDIRPATH}" != "x"; then
33091 if test "x$with_SWIGDIRPATH" = "x"; then
33092 with_SWIGDIRPATH="${gnuradio_core_SWIGDIRPATH}"
33094 with_SWIGDIRPATH="${gnuradio_core_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
33096 gnuradio_core_SWIGDIRPATH=
33100 if test "x${gnuradio_core_LIBDIRPATH}" != "x"; then
33101 if test "x$with_LIBDIRPATH" = "x"; then
33102 with_LIBDIRPATH="${gnuradio_core_LIBDIRPATH}"
33104 with_LIBDIRPATH="${gnuradio_core_LIBDIRPATH}"":""$with_LIBDIRPATH"
33106 gnuradio_core_LIBDIRPATH=
33109 { $as_echo "$as_me:$LINENO: result: Component gnuradio-core will be included from a pre-installed library and includes." >&5
33110 $as_echo "Component gnuradio-core will be included from a pre-installed library and includes." >&6; }
33111 gnuradio_core_with=yes
33113 gnuradio_core_LDFLAG=
33114 if test x$enable_gnuradio_core != xno; then
33115 ac_config_commands="$ac_config_commands run_tests_core"
33118 build_dirs="$build_dirs gnuradio-core"
33119 { $as_echo "$as_me:$LINENO: result: Component gnuradio-core passed configuration checks; building." >&5
33120 $as_echo "Component gnuradio-core passed configuration checks; building." >&6; }
33123 { $as_echo "$as_me:$LINENO: result: Component gnuradio-core passed configuration checks; but not building." >&5
33124 $as_echo "Component gnuradio-core passed configuration checks; but not building." >&6; }
33128 if test $passed = no; then
33129 skipped_dirs="$skipped_dirs gnuradio-core"
33130 gnuradio_core_skipped=yes
33132 gnuradio_core_skipped=no
33146 # Check whether --enable-pmt was given.
33147 if test "${enable_pmt+set}" = set; then
33148 enableval=$enable_pmt;
33151 enable_pmt=$enable_all_components
33152 if test x$enable_all_components = xno; then
33161 if test x = x; then
33168 # Check whether --with-pmt was given.
33169 if test "${with_pmt+set}" = set; then
33170 withval=$with_pmt; if test "x$withval" != "xyes"; then
33171 with_pmt_val=$withval
33176 if test x$with_pmt = xyes; then
33177 if test x$enable_pmt = xyes; then
33178 { { $as_echo "$as_me:$LINENO: error: Component pmt: Cannot use both --enable and --with" >&5
33179 $as_echo "$as_me: error: Component pmt: Cannot use both --enable and --with" >&2;}
33180 { (exit 1); exit 1; }; }
33183 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
33185 l_PKG_CONFIG_PATH=$with_pmt_val
33186 if test "x$l_PKG_CONFIG_PATH" != "x"; then
33187 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
33189 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
33190 { { $as_echo "$as_me:$LINENO: error: Component pmt: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." >&5
33191 $as_echo "$as_me: error: Component pmt: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." >&2;}
33192 { (exit 1); exit 1; }; }
33196 if test -n "$PKG_CONFIG" && \
33197 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\"") >&5
33198 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
33200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); }; then
33202 passed=with; check1=yes
33206 if test "x$l_PKG_CONFIG_PATH" != "x"; then
33207 if test "x$s_PKG_CONFIG_PATH" != "x"; then
33208 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
33209 if test -n "$PKG_CONFIG" && \
33210 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\"") >&5
33211 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
33213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214 (exit $ac_status); }; then
33221 if test $passed != with; then
33222 { { $as_echo "$as_me:$LINENO: error: Component pmt: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." >&5
33223 $as_echo "$as_me: error: Component pmt: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." >&2;}
33224 { (exit 1); exit 1; }; }
33226 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
33230 pmt_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
33231 pmt_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
33232 pmt_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
33234 if test x$check1 = xyes; then
33235 if test "x$s_PKG_CONFIG_PATH" != "x"; then
33236 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
33247 if test $passed != no; then
33248 if test $passed = yes; then
33249 if test x$omnithread_skipped = xyes; then
33250 { $as_echo "$as_me:$LINENO: result: Component pmt requires omnithread, which is not being built or specified via pre-installed files." >&5
33251 $as_echo "Component pmt requires omnithread, which is not being built or specified via pre-installed files." >&6; }
33255 if test x$omnithread_with = xno; then
33256 { { $as_echo "$as_me:$LINENO: error: Component pmt requires omnithread to be included as --with-omnithread[=arg]" >&5
33257 $as_echo "$as_me: error: Component pmt requires omnithread to be included as --with-omnithread[=arg]" >&2;}
33258 { (exit 1); exit 1; }; }
33264 if test $passed = yes; then
33266 if test x"$GUILE" = x; then
33267 { $as_echo "$as_me:$LINENO: result: Component pmt requires guile, which was not found." >&5
33268 $as_echo "Component pmt requires guile, which was not found." >&6; }
33273 if test $passed != with; then
33274 pmt_INCLUDES="-I\${abs_top_srcdir}/pmt/src/lib"
33275 pmt_LA="\${abs_top_builddir}/pmt/src/lib/libpmt.la"
33278 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"
33284 if test $passed = no; then
33285 if test x$enable_pmt = xyes; then
33286 { { $as_echo "$as_me:$LINENO: error: Component pmt has errors; stopping." >&5
33287 $as_echo "$as_me: error: Component pmt has errors; stopping." >&2;}
33288 { (exit 1); exit 1; }; }
33290 { $as_echo "$as_me:$LINENO: result: Not building component pmt." >&5
33291 $as_echo "Not building component pmt." >&6; }
33294 if test $passed = with; then
33295 with_dirs="$with_dirs pmt"
33297 if test "x${pmt_INCLUDES}" != "x"; then
33298 if test "x$with_INCLUDES" = "x"; then
33299 with_INCLUDES="${pmt_INCLUDES}"
33301 with_INCLUDES="${pmt_INCLUDES}"" ""$with_INCLUDES"
33307 if test "x${pmt_SWIG_INCLUDES}" != "x"; then
33308 if test "x$with_SWIG_INCLUDES" = "x"; then
33309 with_SWIG_INCLUDES="${pmt_SWIG_INCLUDES}"
33311 with_SWIG_INCLUDES="${pmt_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
33317 if test "x${pmt_PYDIRPATH}" != "x"; then
33318 if test "x$with_PYDIRPATH" = "x"; then
33319 with_PYDIRPATH="${pmt_PYDIRPATH}"
33321 with_PYDIRPATH="${pmt_PYDIRPATH}"":""$with_PYDIRPATH"
33327 if test "x${pmt_SWIGDIRPATH}" != "x"; then
33328 if test "x$with_SWIGDIRPATH" = "x"; then
33329 with_SWIGDIRPATH="${pmt_SWIGDIRPATH}"
33331 with_SWIGDIRPATH="${pmt_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
33337 if test "x${pmt_LIBDIRPATH}" != "x"; then
33338 if test "x$with_LIBDIRPATH" = "x"; then
33339 with_LIBDIRPATH="${pmt_LIBDIRPATH}"
33341 with_LIBDIRPATH="${pmt_LIBDIRPATH}"":""$with_LIBDIRPATH"
33346 { $as_echo "$as_me:$LINENO: result: Component pmt will be included from a pre-installed library and includes." >&5
33347 $as_echo "Component pmt will be included from a pre-installed library and includes." >&6; }
33351 if test x$enable_pmt != xno; then
33353 build_dirs="$build_dirs pmt"
33354 { $as_echo "$as_me:$LINENO: result: Component pmt passed configuration checks; building." >&5
33355 $as_echo "Component pmt passed configuration checks; building." >&6; }
33358 { $as_echo "$as_me:$LINENO: result: Component pmt passed configuration checks; but not building." >&5
33359 $as_echo "Component pmt passed configuration checks; but not building." >&6; }
33363 if test $passed = no; then
33364 skipped_dirs="$skipped_dirs pmt"
33381 # Check whether --enable-mblock was given.
33382 if test "${enable_mblock+set}" = set; then
33383 enableval=$enable_mblock;
33386 enable_mblock=$enable_all_components
33387 if test x$enable_all_components = xno; then
33397 if test x = x; then
33398 pc_comp_name="mblock"
33404 # Check whether --with-mblock was given.
33405 if test "${with_mblock+set}" = set; then
33406 withval=$with_mblock; if test "x$withval" != "xyes"; then
33407 with_mblock_val=$withval
33412 if test x$with_mblock = xyes; then
33413 if test x$enable_mblock = xyes; then
33414 { { $as_echo "$as_me:$LINENO: error: Component mblock: Cannot use both --enable and --with" >&5
33415 $as_echo "$as_me: error: Component mblock: Cannot use both --enable and --with" >&2;}
33416 { (exit 1); exit 1; }; }
33419 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
33421 l_PKG_CONFIG_PATH=$with_mblock_val
33422 if test "x$l_PKG_CONFIG_PATH" != "x"; then
33423 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
33425 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
33426 { { $as_echo "$as_me:$LINENO: error: Component mblock: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." >&5
33427 $as_echo "$as_me: error: Component mblock: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." >&2;}
33428 { (exit 1); exit 1; }; }
33432 if test -n "$PKG_CONFIG" && \
33433 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\"") >&5
33434 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
33436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33437 (exit $ac_status); }; then
33438 passed=with; check1=yes
33442 if test "x$l_PKG_CONFIG_PATH" != "x"; then
33443 if test "x$s_PKG_CONFIG_PATH" != "x"; then
33444 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
33445 if test -n "$PKG_CONFIG" && \
33446 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\"") >&5
33447 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
33449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); }; then
33457 if test $passed != with; then
33458 { { $as_echo "$as_me:$LINENO: error: Component mblock: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." >&5
33459 $as_echo "$as_me: error: Component mblock: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." >&2;}
33460 { (exit 1); exit 1; }; }
33462 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
33466 mblock_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
33467 mblock_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
33468 mblock_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
33470 if test x$check1 = xyes; then
33471 if test "x$s_PKG_CONFIG_PATH" != "x"; then
33472 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
33483 if test $passed != no; then
33484 if test $passed = yes; then
33485 if test x$pmt_skipped = xyes; then
33486 { $as_echo "$as_me:$LINENO: result: Component mblock requires pmt, which is not being built or specified via pre-installed files." >&5
33487 $as_echo "Component mblock requires pmt, which is not being built or specified via pre-installed files." >&6; }
33491 if test x$pmt_with = xno; then
33492 { { $as_echo "$as_me:$LINENO: error: Component mblock requires pmt to be included as --with-pmt[=arg]" >&5
33493 $as_echo "$as_me: error: Component mblock requires pmt to be included as --with-pmt[=arg]" >&2;}
33494 { (exit 1); exit 1; }; }
33500 if test $passed != no; then
33501 if test $passed = yes; then
33502 if test x$omnithread_skipped = xyes; then
33503 { $as_echo "$as_me:$LINENO: result: Component mblock requires omnithread, which is not being built or specified via pre-installed files." >&5
33504 $as_echo "Component mblock requires omnithread, which is not being built or specified via pre-installed files." >&6; }
33508 if test x$omnithread_with = xno; then
33509 { { $as_echo "$as_me:$LINENO: error: Component mblock requires omnithread to be included as --with-omnithread[=arg]" >&5
33510 $as_echo "$as_me: error: Component mblock requires omnithread to be included as --with-omnithread[=arg]" >&2;}
33511 { (exit 1); exit 1; }; }
33517 if test $passed = yes; then
33519 if test x"$GUILE" = x; then
33520 { $as_echo "$as_me:$LINENO: result: Component mblock requires guile, which was not found." >&5
33521 $as_echo "Component mblock requires guile, which was not found." >&6; }
33526 if test $passed != with; then
33527 mblock_INCLUDES="-I\${abs_top_srcdir}/mblock/src/include"
33528 mblock_LA="\${abs_top_builddir}/mblock/src/lib/libmblock.la"
33531 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"
33537 if test $passed = no; then
33538 if test x$enable_mblock = xyes; then
33539 { { $as_echo "$as_me:$LINENO: error: Component mblock has errors; stopping." >&5
33540 $as_echo "$as_me: error: Component mblock has errors; stopping." >&2;}
33541 { (exit 1); exit 1; }; }
33543 { $as_echo "$as_me:$LINENO: result: Not building component mblock." >&5
33544 $as_echo "Not building component mblock." >&6; }
33547 if test $passed = with; then
33548 with_dirs="$with_dirs mblock"
33550 if test "x${mblock_INCLUDES}" != "x"; then
33551 if test "x$with_INCLUDES" = "x"; then
33552 with_INCLUDES="${mblock_INCLUDES}"
33554 with_INCLUDES="${mblock_INCLUDES}"" ""$with_INCLUDES"
33560 if test "x${mblock_SWIG_INCLUDES}" != "x"; then
33561 if test "x$with_SWIG_INCLUDES" = "x"; then
33562 with_SWIG_INCLUDES="${mblock_SWIG_INCLUDES}"
33564 with_SWIG_INCLUDES="${mblock_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
33566 mblock_SWIG_INCLUDES=
33570 if test "x${mblock_PYDIRPATH}" != "x"; then
33571 if test "x$with_PYDIRPATH" = "x"; then
33572 with_PYDIRPATH="${mblock_PYDIRPATH}"
33574 with_PYDIRPATH="${mblock_PYDIRPATH}"":""$with_PYDIRPATH"
33580 if test "x${mblock_SWIGDIRPATH}" != "x"; then
33581 if test "x$with_SWIGDIRPATH" = "x"; then
33582 with_SWIGDIRPATH="${mblock_SWIGDIRPATH}"
33584 with_SWIGDIRPATH="${mblock_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
33586 mblock_SWIGDIRPATH=
33590 if test "x${mblock_LIBDIRPATH}" != "x"; then
33591 if test "x$with_LIBDIRPATH" = "x"; then
33592 with_LIBDIRPATH="${mblock_LIBDIRPATH}"
33594 with_LIBDIRPATH="${mblock_LIBDIRPATH}"":""$with_LIBDIRPATH"
33599 { $as_echo "$as_me:$LINENO: result: Component mblock will be included from a pre-installed library and includes." >&5
33600 $as_echo "Component mblock will be included from a pre-installed library and includes." >&6; }
33604 if test x$enable_mblock != xno; then
33606 build_dirs="$build_dirs mblock"
33607 { $as_echo "$as_me:$LINENO: result: Component mblock passed configuration checks; building." >&5
33608 $as_echo "Component mblock passed configuration checks; building." >&6; }
33611 { $as_echo "$as_me:$LINENO: result: Component mblock passed configuration checks; but not building." >&5
33612 $as_echo "Component mblock passed configuration checks; but not building." >&6; }
33616 if test $passed = no; then
33617 skipped_dirs="$skipped_dirs mblock"
33629 { $as_echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
33630 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
33631 if test "${ac_cv_header_stat_broken+set}" = set; then
33632 $as_echo_n "(cached) " >&6
33634 cat >conftest.$ac_ext <<_ACEOF
33637 cat confdefs.h >>conftest.$ac_ext
33638 cat >>conftest.$ac_ext <<_ACEOF
33639 /* end confdefs.h. */
33640 #include <sys/types.h>
33641 #include <sys/stat.h>
33643 #if defined S_ISBLK && defined S_IFDIR
33644 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
33647 #if defined S_ISBLK && defined S_IFCHR
33648 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
33651 #if defined S_ISLNK && defined S_IFREG
33652 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
33655 #if defined S_ISSOCK && defined S_IFREG
33656 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
33660 rm -f conftest.$ac_objext
33661 if { (ac_try="$ac_compile"
33662 case "(($ac_try" in
33663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33664 *) ac_try_echo=$ac_try;;
33666 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33667 $as_echo "$ac_try_echo") >&5
33668 (eval "$ac_compile") 2>conftest.er1
33670 grep -v '^ *+' conftest.er1 >conftest.err
33672 cat conftest.err >&5
33673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33674 (exit $ac_status); } && {
33675 test -z "$ac_c_werror_flag" ||
33676 test ! -s conftest.err
33677 } && test -s conftest.$ac_objext; then
33678 ac_cv_header_stat_broken=no
33680 $as_echo "$as_me: failed program was:" >&5
33681 sed 's/^/| /' conftest.$ac_ext >&5
33683 ac_cv_header_stat_broken=yes
33686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33688 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
33689 $as_echo "$ac_cv_header_stat_broken" >&6; }
33690 if test $ac_cv_header_stat_broken = yes; then
33692 cat >>confdefs.h <<\_ACEOF
33693 #define STAT_MACROS_BROKEN 1
33700 for ac_header in fcntl.h
33702 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
33703 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33704 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
33705 $as_echo_n "checking for $ac_header... " >&6; }
33706 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33707 $as_echo_n "(cached) " >&6
33709 ac_res=`eval 'as_val=${'$as_ac_Header'}
33710 $as_echo "$as_val"'`
33711 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
33712 $as_echo "$ac_res" >&6; }
33714 # Is the header compilable?
33715 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
33716 $as_echo_n "checking $ac_header usability... " >&6; }
33717 cat >conftest.$ac_ext <<_ACEOF
33720 cat confdefs.h >>conftest.$ac_ext
33721 cat >>conftest.$ac_ext <<_ACEOF
33722 /* end confdefs.h. */
33723 $ac_includes_default
33724 #include <$ac_header>
33726 rm -f conftest.$ac_objext
33727 if { (ac_try="$ac_compile"
33728 case "(($ac_try" in
33729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33730 *) ac_try_echo=$ac_try;;
33732 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33733 $as_echo "$ac_try_echo") >&5
33734 (eval "$ac_compile") 2>conftest.er1
33736 grep -v '^ *+' conftest.er1 >conftest.err
33738 cat conftest.err >&5
33739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33740 (exit $ac_status); } && {
33741 test -z "$ac_c_werror_flag" ||
33742 test ! -s conftest.err
33743 } && test -s conftest.$ac_objext; then
33744 ac_header_compiler=yes
33746 $as_echo "$as_me: failed program was:" >&5
33747 sed 's/^/| /' conftest.$ac_ext >&5
33749 ac_header_compiler=no
33752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33753 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33754 $as_echo "$ac_header_compiler" >&6; }
33756 # Is the header present?
33757 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
33758 $as_echo_n "checking $ac_header presence... " >&6; }
33759 cat >conftest.$ac_ext <<_ACEOF
33762 cat confdefs.h >>conftest.$ac_ext
33763 cat >>conftest.$ac_ext <<_ACEOF
33764 /* end confdefs.h. */
33765 #include <$ac_header>
33767 if { (ac_try="$ac_cpp conftest.$ac_ext"
33768 case "(($ac_try" in
33769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33770 *) ac_try_echo=$ac_try;;
33772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33773 $as_echo "$ac_try_echo") >&5
33774 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33776 grep -v '^ *+' conftest.er1 >conftest.err
33778 cat conftest.err >&5
33779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33780 (exit $ac_status); } >/dev/null && {
33781 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33782 test ! -s conftest.err
33784 ac_header_preproc=yes
33786 $as_echo "$as_me: failed program was:" >&5
33787 sed 's/^/| /' conftest.$ac_ext >&5
33789 ac_header_preproc=no
33792 rm -f conftest.err conftest.$ac_ext
33793 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33794 $as_echo "$ac_header_preproc" >&6; }
33796 # So? What about this header?
33797 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33799 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33800 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33801 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33802 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33803 ac_header_preproc=yes
33806 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33807 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33808 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33809 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33810 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33811 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33812 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33813 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33814 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33815 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33816 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33817 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33821 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
33822 $as_echo_n "checking for $ac_header... " >&6; }
33823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33824 $as_echo_n "(cached) " >&6
33826 eval "$as_ac_Header=\$ac_header_preproc"
33828 ac_res=`eval 'as_val=${'$as_ac_Header'}
33829 $as_echo "$as_val"'`
33830 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
33831 $as_echo "$ac_res" >&6; }
33834 as_val=`eval 'as_val=${'$as_ac_Header'}
33835 $as_echo "$as_val"'`
33836 if test "x$as_val" = x""yes; then
33837 cat >>confdefs.h <<_ACEOF
33838 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
33848 for ac_header in sys/time.h
33850 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
33851 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33852 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
33853 $as_echo_n "checking for $ac_header... " >&6; }
33854 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33855 $as_echo_n "(cached) " >&6
33857 ac_res=`eval 'as_val=${'$as_ac_Header'}
33858 $as_echo "$as_val"'`
33859 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
33860 $as_echo "$ac_res" >&6; }
33862 # Is the header compilable?
33863 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
33864 $as_echo_n "checking $ac_header usability... " >&6; }
33865 cat >conftest.$ac_ext <<_ACEOF
33868 cat confdefs.h >>conftest.$ac_ext
33869 cat >>conftest.$ac_ext <<_ACEOF
33870 /* end confdefs.h. */
33871 $ac_includes_default
33872 #include <$ac_header>
33874 rm -f conftest.$ac_objext
33875 if { (ac_try="$ac_compile"
33876 case "(($ac_try" in
33877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33878 *) ac_try_echo=$ac_try;;
33880 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33881 $as_echo "$ac_try_echo") >&5
33882 (eval "$ac_compile") 2>conftest.er1
33884 grep -v '^ *+' conftest.er1 >conftest.err
33886 cat conftest.err >&5
33887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); } && {
33889 test -z "$ac_c_werror_flag" ||
33890 test ! -s conftest.err
33891 } && test -s conftest.$ac_objext; then
33892 ac_header_compiler=yes
33894 $as_echo "$as_me: failed program was:" >&5
33895 sed 's/^/| /' conftest.$ac_ext >&5
33897 ac_header_compiler=no
33900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33901 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33902 $as_echo "$ac_header_compiler" >&6; }
33904 # Is the header present?
33905 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
33906 $as_echo_n "checking $ac_header presence... " >&6; }
33907 cat >conftest.$ac_ext <<_ACEOF
33910 cat confdefs.h >>conftest.$ac_ext
33911 cat >>conftest.$ac_ext <<_ACEOF
33912 /* end confdefs.h. */
33913 #include <$ac_header>
33915 if { (ac_try="$ac_cpp conftest.$ac_ext"
33916 case "(($ac_try" in
33917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33918 *) ac_try_echo=$ac_try;;
33920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33921 $as_echo "$ac_try_echo") >&5
33922 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33924 grep -v '^ *+' conftest.er1 >conftest.err
33926 cat conftest.err >&5
33927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33928 (exit $ac_status); } >/dev/null && {
33929 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33930 test ! -s conftest.err
33932 ac_header_preproc=yes
33934 $as_echo "$as_me: failed program was:" >&5
33935 sed 's/^/| /' conftest.$ac_ext >&5
33937 ac_header_preproc=no
33940 rm -f conftest.err conftest.$ac_ext
33941 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33942 $as_echo "$ac_header_preproc" >&6; }
33944 # So? What about this header?
33945 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33947 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33948 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33949 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33950 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33951 ac_header_preproc=yes
33954 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33955 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33956 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33957 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33958 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33959 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33960 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33961 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33962 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33963 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33964 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33965 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33969 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
33970 $as_echo_n "checking for $ac_header... " >&6; }
33971 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33972 $as_echo_n "(cached) " >&6
33974 eval "$as_ac_Header=\$ac_header_preproc"
33976 ac_res=`eval 'as_val=${'$as_ac_Header'}
33977 $as_echo "$as_val"'`
33978 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
33979 $as_echo "$ac_res" >&6; }
33982 as_val=`eval 'as_val=${'$as_ac_Header'}
33983 $as_echo "$as_val"'`
33984 if test "x$as_val" = x""yes; then
33985 cat >>confdefs.h <<_ACEOF
33986 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
33996 for ac_header in unistd.h
33998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
33999 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34000 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
34001 $as_echo_n "checking for $ac_header... " >&6; }
34002 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34003 $as_echo_n "(cached) " >&6
34005 ac_res=`eval 'as_val=${'$as_ac_Header'}
34006 $as_echo "$as_val"'`
34007 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
34008 $as_echo "$ac_res" >&6; }
34010 # Is the header compilable?
34011 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
34012 $as_echo_n "checking $ac_header usability... " >&6; }
34013 cat >conftest.$ac_ext <<_ACEOF
34016 cat confdefs.h >>conftest.$ac_ext
34017 cat >>conftest.$ac_ext <<_ACEOF
34018 /* end confdefs.h. */
34019 $ac_includes_default
34020 #include <$ac_header>
34022 rm -f conftest.$ac_objext
34023 if { (ac_try="$ac_compile"
34024 case "(($ac_try" in
34025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34026 *) ac_try_echo=$ac_try;;
34028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34029 $as_echo "$ac_try_echo") >&5
34030 (eval "$ac_compile") 2>conftest.er1
34032 grep -v '^ *+' conftest.er1 >conftest.err
34034 cat conftest.err >&5
34035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); } && {
34037 test -z "$ac_c_werror_flag" ||
34038 test ! -s conftest.err
34039 } && test -s conftest.$ac_objext; then
34040 ac_header_compiler=yes
34042 $as_echo "$as_me: failed program was:" >&5
34043 sed 's/^/| /' conftest.$ac_ext >&5
34045 ac_header_compiler=no
34048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34049 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34050 $as_echo "$ac_header_compiler" >&6; }
34052 # Is the header present?
34053 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
34054 $as_echo_n "checking $ac_header presence... " >&6; }
34055 cat >conftest.$ac_ext <<_ACEOF
34058 cat confdefs.h >>conftest.$ac_ext
34059 cat >>conftest.$ac_ext <<_ACEOF
34060 /* end confdefs.h. */
34061 #include <$ac_header>
34063 if { (ac_try="$ac_cpp conftest.$ac_ext"
34064 case "(($ac_try" in
34065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34066 *) ac_try_echo=$ac_try;;
34068 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34069 $as_echo "$ac_try_echo") >&5
34070 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34072 grep -v '^ *+' conftest.er1 >conftest.err
34074 cat conftest.err >&5
34075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34076 (exit $ac_status); } >/dev/null && {
34077 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34078 test ! -s conftest.err
34080 ac_header_preproc=yes
34082 $as_echo "$as_me: failed program was:" >&5
34083 sed 's/^/| /' conftest.$ac_ext >&5
34085 ac_header_preproc=no
34088 rm -f conftest.err conftest.$ac_ext
34089 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34090 $as_echo "$ac_header_preproc" >&6; }
34092 # So? What about this header?
34093 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34095 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34096 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34097 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34098 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34099 ac_header_preproc=yes
34102 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34103 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34104 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34105 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34106 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34107 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34108 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34109 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34110 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34111 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34112 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34113 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34117 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
34118 $as_echo_n "checking for $ac_header... " >&6; }
34119 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34120 $as_echo_n "(cached) " >&6
34122 eval "$as_ac_Header=\$ac_header_preproc"
34124 ac_res=`eval 'as_val=${'$as_ac_Header'}
34125 $as_echo "$as_val"'`
34126 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
34127 $as_echo "$ac_res" >&6; }
34130 as_val=`eval 'as_val=${'$as_ac_Header'}
34131 $as_echo "$as_val"'`
34132 if test "x$as_val" = x""yes; then
34133 cat >>confdefs.h <<_ACEOF
34134 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
34143 { $as_echo "$as_me:$LINENO: checking whether getenv is declared" >&5
34144 $as_echo_n "checking whether getenv is declared... " >&6; }
34145 if test "${ac_cv_have_decl_getenv+set}" = set; then
34146 $as_echo_n "(cached) " >&6
34148 cat >conftest.$ac_ext <<_ACEOF
34151 cat confdefs.h >>conftest.$ac_ext
34152 cat >>conftest.$ac_ext <<_ACEOF
34153 /* end confdefs.h. */
34154 $ac_includes_default
34166 rm -f conftest.$ac_objext
34167 if { (ac_try="$ac_compile"
34168 case "(($ac_try" in
34169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34170 *) ac_try_echo=$ac_try;;
34172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34173 $as_echo "$ac_try_echo") >&5
34174 (eval "$ac_compile") 2>conftest.er1
34176 grep -v '^ *+' conftest.er1 >conftest.err
34178 cat conftest.err >&5
34179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34180 (exit $ac_status); } && {
34181 test -z "$ac_c_werror_flag" ||
34182 test ! -s conftest.err
34183 } && test -s conftest.$ac_objext; then
34184 ac_cv_have_decl_getenv=yes
34186 $as_echo "$as_me: failed program was:" >&5
34187 sed 's/^/| /' conftest.$ac_ext >&5
34189 ac_cv_have_decl_getenv=no
34192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34194 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
34195 $as_echo "$ac_cv_have_decl_getenv" >&6; }
34196 if test "x$ac_cv_have_decl_getenv" = x""yes; then
34198 cat >>confdefs.h <<_ACEOF
34199 #define HAVE_DECL_GETENV 1
34204 cat >>confdefs.h <<_ACEOF
34205 #define HAVE_DECL_GETENV 0
34217 # Check whether --enable-usrp was given.
34218 if test "${enable_usrp+set}" = set; then
34219 enableval=$enable_usrp;
34222 enable_usrp=$enable_all_components
34223 if test x$enable_all_components = xno; then
34233 if test x = x; then
34234 pc_comp_name="usrp"
34240 # Check whether --with-usrp was given.
34241 if test "${with_usrp+set}" = set; then
34242 withval=$with_usrp; if test "x$withval" != "xyes"; then
34243 with_usrp_val=$withval
34248 if test x$with_usrp = xyes; then
34249 if test x$enable_usrp = xyes; then
34250 { { $as_echo "$as_me:$LINENO: error: Component usrp: Cannot use both --enable and --with" >&5
34251 $as_echo "$as_me: error: Component usrp: Cannot use both --enable and --with" >&2;}
34252 { (exit 1); exit 1; }; }
34255 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
34257 l_PKG_CONFIG_PATH=$with_usrp_val
34258 if test "x$l_PKG_CONFIG_PATH" != "x"; then
34259 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
34261 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
34262 { { $as_echo "$as_me:$LINENO: error: Component usrp: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." >&5
34263 $as_echo "$as_me: error: Component usrp: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." >&2;}
34264 { (exit 1); exit 1; }; }
34268 if test -n "$PKG_CONFIG" && \
34269 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\"") >&5
34270 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
34272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); }; then
34274 passed=with; check1=yes
34278 if test "x$l_PKG_CONFIG_PATH" != "x"; then
34279 if test "x$s_PKG_CONFIG_PATH" != "x"; then
34280 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
34281 if test -n "$PKG_CONFIG" && \
34282 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\"") >&5
34283 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
34285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34286 (exit $ac_status); }; then
34293 if test $passed != with; then
34294 { { $as_echo "$as_me:$LINENO: error: Component usrp: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." >&5
34295 $as_echo "$as_me: error: Component usrp: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." >&2;}
34296 { (exit 1); exit 1; }; }
34298 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
34302 usrp_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
34303 usrp_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
34304 usrp_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
34306 if test x$check1 = xyes; then
34307 if test "x$s_PKG_CONFIG_PATH" != "x"; then
34308 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
34319 if test $passed != no; then
34320 if test $passed = yes; then
34321 if test x$omnithread_skipped = xyes; then
34322 { $as_echo "$as_me:$LINENO: result: Component usrp requires omnithread, which is not being built or specified via pre-installed files." >&5
34323 $as_echo "Component usrp requires omnithread, which is not being built or specified via pre-installed files." >&6; }
34327 if test x$omnithread_with = xno; then
34328 { { $as_echo "$as_me:$LINENO: error: Component usrp requires omnithread to be included as --with-omnithread[=arg]" >&5
34329 $as_echo "$as_me: error: Component usrp requires omnithread to be included as --with-omnithread[=arg]" >&2;}
34330 { (exit 1); exit 1; }; }
34338 # Check whether --with-fusb-tech was given.
34339 if test "${with_fusb_tech+set}" = set; then
34340 withval=$with_fusb_tech; cf_with_fusb_tech="$withval"
34342 cf_with_fusb_tech="$host_os"
34345 if test x${enable_usrp} != xno; then
34346 case "$cf_with_fusb_tech" in
34348 if test "${ac_cv_header_linux_usbdevice_fs_h+set}" = set; then
34349 { $as_echo "$as_me:$LINENO: checking for linux/usbdevice_fs.h" >&5
34350 $as_echo_n "checking for linux/usbdevice_fs.h... " >&6; }
34351 if test "${ac_cv_header_linux_usbdevice_fs_h+set}" = set; then
34352 $as_echo_n "(cached) " >&6
34354 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_usbdevice_fs_h" >&5
34355 $as_echo "$ac_cv_header_linux_usbdevice_fs_h" >&6; }
34357 # Is the header compilable?
34358 { $as_echo "$as_me:$LINENO: checking linux/usbdevice_fs.h usability" >&5
34359 $as_echo_n "checking linux/usbdevice_fs.h usability... " >&6; }
34360 cat >conftest.$ac_ext <<_ACEOF
34363 cat confdefs.h >>conftest.$ac_ext
34364 cat >>conftest.$ac_ext <<_ACEOF
34365 /* end confdefs.h. */
34366 $ac_includes_default
34367 #include <linux/usbdevice_fs.h>
34369 rm -f conftest.$ac_objext
34370 if { (ac_try="$ac_compile"
34371 case "(($ac_try" in
34372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34373 *) ac_try_echo=$ac_try;;
34375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34376 $as_echo "$ac_try_echo") >&5
34377 (eval "$ac_compile") 2>conftest.er1
34379 grep -v '^ *+' conftest.er1 >conftest.err
34381 cat conftest.err >&5
34382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34383 (exit $ac_status); } && {
34384 test -z "$ac_c_werror_flag" ||
34385 test ! -s conftest.err
34386 } && test -s conftest.$ac_objext; then
34387 ac_header_compiler=yes
34389 $as_echo "$as_me: failed program was:" >&5
34390 sed 's/^/| /' conftest.$ac_ext >&5
34392 ac_header_compiler=no
34395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34396 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34397 $as_echo "$ac_header_compiler" >&6; }
34399 # Is the header present?
34400 { $as_echo "$as_me:$LINENO: checking linux/usbdevice_fs.h presence" >&5
34401 $as_echo_n "checking linux/usbdevice_fs.h presence... " >&6; }
34402 cat >conftest.$ac_ext <<_ACEOF
34405 cat confdefs.h >>conftest.$ac_ext
34406 cat >>conftest.$ac_ext <<_ACEOF
34407 /* end confdefs.h. */
34408 #include <linux/usbdevice_fs.h>
34410 if { (ac_try="$ac_cpp conftest.$ac_ext"
34411 case "(($ac_try" in
34412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34413 *) ac_try_echo=$ac_try;;
34415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34416 $as_echo "$ac_try_echo") >&5
34417 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34419 grep -v '^ *+' conftest.er1 >conftest.err
34421 cat conftest.err >&5
34422 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34423 (exit $ac_status); } >/dev/null && {
34424 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34425 test ! -s conftest.err
34427 ac_header_preproc=yes
34429 $as_echo "$as_me: failed program was:" >&5
34430 sed 's/^/| /' conftest.$ac_ext >&5
34432 ac_header_preproc=no
34435 rm -f conftest.err conftest.$ac_ext
34436 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34437 $as_echo "$ac_header_preproc" >&6; }
34439 # So? What about this header?
34440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34442 { $as_echo "$as_me:$LINENO: WARNING: linux/usbdevice_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
34443 $as_echo "$as_me: WARNING: linux/usbdevice_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34444 { $as_echo "$as_me:$LINENO: WARNING: linux/usbdevice_fs.h: proceeding with the compiler's result" >&5
34445 $as_echo "$as_me: WARNING: linux/usbdevice_fs.h: proceeding with the compiler's result" >&2;}
34446 ac_header_preproc=yes
34449 { $as_echo "$as_me:$LINENO: WARNING: linux/usbdevice_fs.h: present but cannot be compiled" >&5
34450 $as_echo "$as_me: WARNING: linux/usbdevice_fs.h: present but cannot be compiled" >&2;}
34451 { $as_echo "$as_me:$LINENO: WARNING: linux/usbdevice_fs.h: check for missing prerequisite headers?" >&5
34452 $as_echo "$as_me: WARNING: linux/usbdevice_fs.h: check for missing prerequisite headers?" >&2;}
34453 { $as_echo "$as_me:$LINENO: WARNING: linux/usbdevice_fs.h: see the Autoconf documentation" >&5
34454 $as_echo "$as_me: WARNING: linux/usbdevice_fs.h: see the Autoconf documentation" >&2;}
34455 { $as_echo "$as_me:$LINENO: WARNING: linux/usbdevice_fs.h: section \"Present But Cannot Be Compiled\"" >&5
34456 $as_echo "$as_me: WARNING: linux/usbdevice_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
34457 { $as_echo "$as_me:$LINENO: WARNING: linux/usbdevice_fs.h: proceeding with the preprocessor's result" >&5
34458 $as_echo "$as_me: WARNING: linux/usbdevice_fs.h: proceeding with the preprocessor's result" >&2;}
34459 { $as_echo "$as_me:$LINENO: WARNING: linux/usbdevice_fs.h: in the future, the compiler will take precedence" >&5
34460 $as_echo "$as_me: WARNING: linux/usbdevice_fs.h: in the future, the compiler will take precedence" >&2;}
34464 { $as_echo "$as_me:$LINENO: checking for linux/usbdevice_fs.h" >&5
34465 $as_echo_n "checking for linux/usbdevice_fs.h... " >&6; }
34466 if test "${ac_cv_header_linux_usbdevice_fs_h+set}" = set; then
34467 $as_echo_n "(cached) " >&6
34469 ac_cv_header_linux_usbdevice_fs_h=$ac_header_preproc
34471 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_usbdevice_fs_h" >&5
34472 $as_echo "$ac_cv_header_linux_usbdevice_fs_h" >&6; }
34475 if test "x$ac_cv_header_linux_usbdevice_fs_h" = x""yes; then
34476 x_have_usbdevice_fs_h=yes
34478 x_have_usbdevice_fs_h=no
34482 if test x${x_have_usbdevice_fs_h} = xyes; then
34491 cygwin*|win*|mingw*)
34495 { $as_echo "$as_me:$LINENO: checking for RA/WB" >&5
34496 $as_echo_n "checking for RA/WB... " >&6; }
34497 cat >conftest.$ac_ext <<_ACEOF
34500 cat confdefs.h >>conftest.$ac_ext
34501 cat >>conftest.$ac_ext <<_ACEOF
34502 /* end confdefs.h. */
34503 #include <dev/usb/usb.h>
34507 struct usb_bulk_ra_wb_opt o;
34508 ioctl(0, USB_SET_BULK_RA, &o);
34513 rm -f conftest.$ac_objext
34514 if { (ac_try="$ac_compile"
34515 case "(($ac_try" in
34516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34517 *) ac_try_echo=$ac_try;;
34519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34520 $as_echo "$ac_try_echo") >&5
34521 (eval "$ac_compile") 2>conftest.er1
34523 grep -v '^ *+' conftest.er1 >conftest.err
34525 cat conftest.err >&5
34526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34527 (exit $ac_status); } && {
34528 test -z "$ac_c_werror_flag" ||
34529 test ! -s conftest.err
34530 } && test -s conftest.$ac_objext; then
34533 $as_echo "$as_me: failed program was:" >&5
34534 sed 's/^/| /' conftest.$ac_ext >&5
34539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34546 { $as_echo "$as_me:$LINENO: checking for fast usb technique to use" >&5
34547 $as_echo_n "checking for fast usb technique to use... " >&6; }
34548 { $as_echo "$as_me:$LINENO: result: $FUSB_TECH" >&5
34549 $as_echo "$FUSB_TECH" >&6; }
34553 if test x$FUSB_TECH = xdarwin; then
34554 FUSB_TECH_darwin_TRUE=
34555 FUSB_TECH_darwin_FALSE='#'
34557 FUSB_TECH_darwin_TRUE='#'
34558 FUSB_TECH_darwin_FALSE=
34561 if test x$FUSB_TECH = xwin32; then
34562 FUSB_TECH_win32_TRUE=
34563 FUSB_TECH_win32_FALSE='#'
34565 FUSB_TECH_win32_TRUE='#'
34566 FUSB_TECH_win32_FALSE=
34569 if test x$FUSB_TECH = xgeneric; then
34570 FUSB_TECH_generic_TRUE=
34571 FUSB_TECH_generic_FALSE='#'
34573 FUSB_TECH_generic_TRUE='#'
34574 FUSB_TECH_generic_FALSE=
34577 if test x$FUSB_TECH = xlinux; then
34578 FUSB_TECH_linux_TRUE=
34579 FUSB_TECH_linux_FALSE='#'
34581 FUSB_TECH_linux_TRUE='#'
34582 FUSB_TECH_linux_FALSE=
34585 if test x$FUSB_TECH = xra_wb; then
34586 FUSB_TECH_ra_wb_TRUE=
34587 FUSB_TECH_ra_wb_FALSE='#'
34589 FUSB_TECH_ra_wb_TRUE='#'
34590 FUSB_TECH_ra_wb_FALSE=
34595 if test $passed = yes; then
34597 for ac_func in mkstemp
34599 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34600 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
34601 $as_echo_n "checking for $ac_func... " >&6; }
34602 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34603 $as_echo_n "(cached) " >&6
34605 cat >conftest.$ac_ext <<_ACEOF
34608 cat confdefs.h >>conftest.$ac_ext
34609 cat >>conftest.$ac_ext <<_ACEOF
34610 /* end confdefs.h. */
34611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34613 #define $ac_func innocuous_$ac_func
34615 /* System header to define __stub macros and hopefully few prototypes,
34616 which can conflict with char $ac_func (); below.
34617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34618 <limits.h> exists even on freestanding compilers. */
34621 # include <limits.h>
34623 # include <assert.h>
34628 /* Override any GCC internal prototype to avoid an error.
34629 Use char because int might match the return type of a GCC
34630 builtin and then its argument prototype would still apply. */
34635 /* The GNU C library defines this for functions which it implements
34636 to always fail with ENOSYS. Some functions are actually named
34637 something starting with __ and the normal name is an alias. */
34638 #if defined __stub_$ac_func || defined __stub___$ac_func
34645 return $ac_func ();
34650 rm -f conftest.$ac_objext conftest$ac_exeext
34651 if { (ac_try="$ac_link"
34652 case "(($ac_try" in
34653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34654 *) ac_try_echo=$ac_try;;
34656 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34657 $as_echo "$ac_try_echo") >&5
34658 (eval "$ac_link") 2>conftest.er1
34660 grep -v '^ *+' conftest.er1 >conftest.err
34662 cat conftest.err >&5
34663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34664 (exit $ac_status); } && {
34665 test -z "$ac_c_werror_flag" ||
34666 test ! -s conftest.err
34667 } && test -s conftest$ac_exeext && {
34668 test "$cross_compiling" = yes ||
34669 $as_test_x conftest$ac_exeext
34671 eval "$as_ac_var=yes"
34673 $as_echo "$as_me: failed program was:" >&5
34674 sed 's/^/| /' conftest.$ac_ext >&5
34676 eval "$as_ac_var=no"
34679 rm -rf conftest.dSYM
34680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34681 conftest$ac_exeext conftest.$ac_ext
34683 ac_res=`eval 'as_val=${'$as_ac_var'}
34684 $as_echo "$as_val"'`
34685 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
34686 $as_echo "$ac_res" >&6; }
34687 as_val=`eval 'as_val=${'$as_ac_var'}
34688 $as_echo "$as_val"'`
34689 if test "x$as_val" = x""yes; then
34690 cat >>confdefs.h <<_ACEOF
34691 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34695 case " $LIBOBJS " in
34696 *" $ac_func.$ac_objext "* ) ;;
34697 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
34705 if test $ac_cv_func_mkstemp = no; then
34706 utils_cv_func_mkstemp_limitations=yes
34708 { $as_echo "$as_me:$LINENO: checking for mkstemp limitations" >&5
34709 $as_echo_n "checking for mkstemp limitations... " >&6; }
34710 if test "${utils_cv_func_mkstemp_limitations+set}" = set; then
34711 $as_echo_n "(cached) " >&6
34714 if test "$cross_compiling" = yes; then
34715 utils_cv_func_mkstemp_limitations=yes
34718 cat >conftest.$ac_ext <<_ACEOF
34721 cat confdefs.h >>conftest.$ac_ext
34722 cat >>conftest.$ac_ext <<_ACEOF
34723 /* end confdefs.h. */
34725 # include <stdlib.h>
34729 for (i = 0; i < 70; i++)
34731 char template[] = "conftestXXXXXX";
34732 int fd = mkstemp (template);
34741 rm -f conftest$ac_exeext
34742 if { (ac_try="$ac_link"
34743 case "(($ac_try" in
34744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34745 *) ac_try_echo=$ac_try;;
34747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34748 $as_echo "$ac_try_echo") >&5
34749 (eval "$ac_link") 2>&5
34751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34752 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34753 { (case "(($ac_try" in
34754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34755 *) ac_try_echo=$ac_try;;
34757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34758 $as_echo "$ac_try_echo") >&5
34759 (eval "$ac_try") 2>&5
34761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); }; }; then
34763 utils_cv_func_mkstemp_limitations=no
34765 $as_echo "$as_me: program exited with status $ac_status" >&5
34766 $as_echo "$as_me: failed program was:" >&5
34767 sed 's/^/| /' conftest.$ac_ext >&5
34769 ( exit $ac_status )
34770 utils_cv_func_mkstemp_limitations=yes
34772 rm -rf conftest.dSYM
34773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34780 { $as_echo "$as_me:$LINENO: result: $utils_cv_func_mkstemp_limitations" >&5
34781 $as_echo "$utils_cv_func_mkstemp_limitations" >&6; }
34784 if test $utils_cv_func_mkstemp_limitations = yes; then
34785 case " $LIBOBJS " in
34786 *" mkstemp.$ac_objext "* ) ;;
34787 *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
34791 case " $LIBOBJS " in
34792 *" tempname.$ac_objext "* ) ;;
34793 *) LIBOBJS="$LIBOBJS tempname.$ac_objext"
34798 cat >>confdefs.h <<\_ACEOF
34799 #define mkstemp rpl_mkstemp
34822 for ac_header in stdint.h
34824 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
34825 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34826 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
34827 $as_echo_n "checking for $ac_header... " >&6; }
34828 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34829 $as_echo_n "(cached) " >&6
34831 ac_res=`eval 'as_val=${'$as_ac_Header'}
34832 $as_echo "$as_val"'`
34833 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
34834 $as_echo "$ac_res" >&6; }
34836 # Is the header compilable?
34837 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
34838 $as_echo_n "checking $ac_header usability... " >&6; }
34839 cat >conftest.$ac_ext <<_ACEOF
34842 cat confdefs.h >>conftest.$ac_ext
34843 cat >>conftest.$ac_ext <<_ACEOF
34844 /* end confdefs.h. */
34845 $ac_includes_default
34846 #include <$ac_header>
34848 rm -f conftest.$ac_objext
34849 if { (ac_try="$ac_compile"
34850 case "(($ac_try" in
34851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34852 *) ac_try_echo=$ac_try;;
34854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34855 $as_echo "$ac_try_echo") >&5
34856 (eval "$ac_compile") 2>conftest.er1
34858 grep -v '^ *+' conftest.er1 >conftest.err
34860 cat conftest.err >&5
34861 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); } && {
34863 test -z "$ac_c_werror_flag" ||
34864 test ! -s conftest.err
34865 } && test -s conftest.$ac_objext; then
34866 ac_header_compiler=yes
34868 $as_echo "$as_me: failed program was:" >&5
34869 sed 's/^/| /' conftest.$ac_ext >&5
34871 ac_header_compiler=no
34874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34875 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34876 $as_echo "$ac_header_compiler" >&6; }
34878 # Is the header present?
34879 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
34880 $as_echo_n "checking $ac_header presence... " >&6; }
34881 cat >conftest.$ac_ext <<_ACEOF
34884 cat confdefs.h >>conftest.$ac_ext
34885 cat >>conftest.$ac_ext <<_ACEOF
34886 /* end confdefs.h. */
34887 #include <$ac_header>
34889 if { (ac_try="$ac_cpp conftest.$ac_ext"
34890 case "(($ac_try" in
34891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34892 *) ac_try_echo=$ac_try;;
34894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34895 $as_echo "$ac_try_echo") >&5
34896 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34898 grep -v '^ *+' conftest.er1 >conftest.err
34900 cat conftest.err >&5
34901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34902 (exit $ac_status); } >/dev/null && {
34903 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34904 test ! -s conftest.err
34906 ac_header_preproc=yes
34908 $as_echo "$as_me: failed program was:" >&5
34909 sed 's/^/| /' conftest.$ac_ext >&5
34911 ac_header_preproc=no
34914 rm -f conftest.err conftest.$ac_ext
34915 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34916 $as_echo "$ac_header_preproc" >&6; }
34918 # So? What about this header?
34919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34921 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34922 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34923 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34924 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34925 ac_header_preproc=yes
34928 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34929 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34930 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34931 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34932 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34933 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34934 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34935 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34936 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34937 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34938 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34939 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34943 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
34944 $as_echo_n "checking for $ac_header... " >&6; }
34945 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34946 $as_echo_n "(cached) " >&6
34948 eval "$as_ac_Header=\$ac_header_preproc"
34950 ac_res=`eval 'as_val=${'$as_ac_Header'}
34951 $as_echo "$as_val"'`
34952 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
34953 $as_echo "$ac_res" >&6; }
34956 as_val=`eval 'as_val=${'$as_ac_Header'}
34957 $as_echo "$as_val"'`
34958 if test "x$as_val" = x""yes; then
34959 cat >>confdefs.h <<_ACEOF
34960 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
34970 for ac_func in __secure_getenv gettimeofday lstat
34972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34973 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
34974 $as_echo_n "checking for $ac_func... " >&6; }
34975 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34976 $as_echo_n "(cached) " >&6
34978 cat >conftest.$ac_ext <<_ACEOF
34981 cat confdefs.h >>conftest.$ac_ext
34982 cat >>conftest.$ac_ext <<_ACEOF
34983 /* end confdefs.h. */
34984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34986 #define $ac_func innocuous_$ac_func
34988 /* System header to define __stub macros and hopefully few prototypes,
34989 which can conflict with char $ac_func (); below.
34990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34991 <limits.h> exists even on freestanding compilers. */
34994 # include <limits.h>
34996 # include <assert.h>
35001 /* Override any GCC internal prototype to avoid an error.
35002 Use char because int might match the return type of a GCC
35003 builtin and then its argument prototype would still apply. */
35008 /* The GNU C library defines this for functions which it implements
35009 to always fail with ENOSYS. Some functions are actually named
35010 something starting with __ and the normal name is an alias. */
35011 #if defined __stub_$ac_func || defined __stub___$ac_func
35018 return $ac_func ();
35023 rm -f conftest.$ac_objext conftest$ac_exeext
35024 if { (ac_try="$ac_link"
35025 case "(($ac_try" in
35026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35027 *) ac_try_echo=$ac_try;;
35029 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35030 $as_echo "$ac_try_echo") >&5
35031 (eval "$ac_link") 2>conftest.er1
35033 grep -v '^ *+' conftest.er1 >conftest.err
35035 cat conftest.err >&5
35036 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35037 (exit $ac_status); } && {
35038 test -z "$ac_c_werror_flag" ||
35039 test ! -s conftest.err
35040 } && test -s conftest$ac_exeext && {
35041 test "$cross_compiling" = yes ||
35042 $as_test_x conftest$ac_exeext
35044 eval "$as_ac_var=yes"
35046 $as_echo "$as_me: failed program was:" >&5
35047 sed 's/^/| /' conftest.$ac_ext >&5
35049 eval "$as_ac_var=no"
35052 rm -rf conftest.dSYM
35053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35054 conftest$ac_exeext conftest.$ac_ext
35056 ac_res=`eval 'as_val=${'$as_ac_var'}
35057 $as_echo "$as_val"'`
35058 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
35059 $as_echo "$ac_res" >&6; }
35060 as_val=`eval 'as_val=${'$as_ac_var'}
35061 $as_echo "$as_val"'`
35062 if test "x$as_val" = x""yes; then
35063 cat >>confdefs.h <<_ACEOF
35064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35077 # AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
35079 { $as_echo "$as_me:$LINENO: checking whether mkdir accepts only one arg" >&5
35080 $as_echo_n "checking whether mkdir accepts only one arg... " >&6; }
35081 cat >conftest.$ac_ext <<_ACEOF
35084 cat confdefs.h >>conftest.$ac_ext
35085 cat >>conftest.$ac_ext <<_ACEOF
35086 /* end confdefs.h. */
35087 #include <sys/types.h>
35088 #include <sys/stat.h>
35100 rm -f conftest.$ac_objext
35101 if { (ac_try="$ac_compile"
35102 case "(($ac_try" in
35103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35104 *) ac_try_echo=$ac_try;;
35106 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35107 $as_echo "$ac_try_echo") >&5
35108 (eval "$ac_compile") 2>conftest.er1
35110 grep -v '^ *+' conftest.er1 >conftest.err
35112 cat conftest.err >&5
35113 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35114 (exit $ac_status); } && {
35115 test -z "$ac_c_werror_flag" ||
35116 test ! -s conftest.err
35117 } && test -s conftest.$ac_objext; then
35118 { $as_echo "$as_me:$LINENO: result: yes" >&5
35119 $as_echo "yes" >&6; }
35121 cat >>confdefs.h <<\_ACEOF
35122 #define MKDIR_TAKES_ONE_ARG /**/
35126 $as_echo "$as_me: failed program was:" >&5
35127 sed 's/^/| /' conftest.$ac_ext >&5
35129 { $as_echo "$as_me:$LINENO: result: no" >&5
35130 $as_echo "no" >&6; }
35134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35140 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
35141 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
35142 if test "${ac_cv_c_bigendian+set}" = set; then
35143 $as_echo_n "(cached) " >&6
35145 ac_cv_c_bigendian=unknown
35146 # See if we're dealing with a universal compiler.
35147 cat >conftest.$ac_ext <<_ACEOF
35150 cat confdefs.h >>conftest.$ac_ext
35151 cat >>conftest.$ac_ext <<_ACEOF
35152 /* end confdefs.h. */
35153 #ifndef __APPLE_CC__
35154 not a universal capable compiler
35159 rm -f conftest.$ac_objext
35160 if { (ac_try="$ac_compile"
35161 case "(($ac_try" in
35162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35163 *) ac_try_echo=$ac_try;;
35165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35166 $as_echo "$ac_try_echo") >&5
35167 (eval "$ac_compile") 2>conftest.er1
35169 grep -v '^ *+' conftest.er1 >conftest.err
35171 cat conftest.err >&5
35172 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 (exit $ac_status); } && {
35174 test -z "$ac_c_werror_flag" ||
35175 test ! -s conftest.err
35176 } && test -s conftest.$ac_objext; then
35178 # Check for potential -arch flags. It is not universal unless
35179 # there are some -arch flags. Note that *ppc* also matches
35180 # ppc64. This check is also rather less than ideal.
35181 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
35182 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
35185 $as_echo "$as_me: failed program was:" >&5
35186 sed 's/^/| /' conftest.$ac_ext >&5
35191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35192 if test $ac_cv_c_bigendian = unknown; then
35193 # See if sys/param.h defines the BYTE_ORDER macro.
35194 cat >conftest.$ac_ext <<_ACEOF
35197 cat confdefs.h >>conftest.$ac_ext
35198 cat >>conftest.$ac_ext <<_ACEOF
35199 /* end confdefs.h. */
35200 #include <sys/types.h>
35201 #include <sys/param.h>
35206 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
35207 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
35209 bogus endian macros
35216 rm -f conftest.$ac_objext
35217 if { (ac_try="$ac_compile"
35218 case "(($ac_try" in
35219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35220 *) ac_try_echo=$ac_try;;
35222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35223 $as_echo "$ac_try_echo") >&5
35224 (eval "$ac_compile") 2>conftest.er1
35226 grep -v '^ *+' conftest.er1 >conftest.err
35228 cat conftest.err >&5
35229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35230 (exit $ac_status); } && {
35231 test -z "$ac_c_werror_flag" ||
35232 test ! -s conftest.err
35233 } && test -s conftest.$ac_objext; then
35234 # It does; now see whether it defined to BIG_ENDIAN or not.
35235 cat >conftest.$ac_ext <<_ACEOF
35238 cat confdefs.h >>conftest.$ac_ext
35239 cat >>conftest.$ac_ext <<_ACEOF
35240 /* end confdefs.h. */
35241 #include <sys/types.h>
35242 #include <sys/param.h>
35247 #if BYTE_ORDER != BIG_ENDIAN
35255 rm -f conftest.$ac_objext
35256 if { (ac_try="$ac_compile"
35257 case "(($ac_try" in
35258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35259 *) ac_try_echo=$ac_try;;
35261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35262 $as_echo "$ac_try_echo") >&5
35263 (eval "$ac_compile") 2>conftest.er1
35265 grep -v '^ *+' conftest.er1 >conftest.err
35267 cat conftest.err >&5
35268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35269 (exit $ac_status); } && {
35270 test -z "$ac_c_werror_flag" ||
35271 test ! -s conftest.err
35272 } && test -s conftest.$ac_objext; then
35273 ac_cv_c_bigendian=yes
35275 $as_echo "$as_me: failed program was:" >&5
35276 sed 's/^/| /' conftest.$ac_ext >&5
35278 ac_cv_c_bigendian=no
35281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35283 $as_echo "$as_me: failed program was:" >&5
35284 sed 's/^/| /' conftest.$ac_ext >&5
35289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35291 if test $ac_cv_c_bigendian = unknown; then
35292 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
35293 cat >conftest.$ac_ext <<_ACEOF
35296 cat confdefs.h >>conftest.$ac_ext
35297 cat >>conftest.$ac_ext <<_ACEOF
35298 /* end confdefs.h. */
35299 #include <limits.h>
35304 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
35305 bogus endian macros
35312 rm -f conftest.$ac_objext
35313 if { (ac_try="$ac_compile"
35314 case "(($ac_try" in
35315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35316 *) ac_try_echo=$ac_try;;
35318 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35319 $as_echo "$ac_try_echo") >&5
35320 (eval "$ac_compile") 2>conftest.er1
35322 grep -v '^ *+' conftest.er1 >conftest.err
35324 cat conftest.err >&5
35325 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326 (exit $ac_status); } && {
35327 test -z "$ac_c_werror_flag" ||
35328 test ! -s conftest.err
35329 } && test -s conftest.$ac_objext; then
35330 # It does; now see whether it defined to _BIG_ENDIAN or not.
35331 cat >conftest.$ac_ext <<_ACEOF
35334 cat confdefs.h >>conftest.$ac_ext
35335 cat >>conftest.$ac_ext <<_ACEOF
35336 /* end confdefs.h. */
35337 #include <limits.h>
35342 #ifndef _BIG_ENDIAN
35350 rm -f conftest.$ac_objext
35351 if { (ac_try="$ac_compile"
35352 case "(($ac_try" in
35353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35354 *) ac_try_echo=$ac_try;;
35356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35357 $as_echo "$ac_try_echo") >&5
35358 (eval "$ac_compile") 2>conftest.er1
35360 grep -v '^ *+' conftest.er1 >conftest.err
35362 cat conftest.err >&5
35363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35364 (exit $ac_status); } && {
35365 test -z "$ac_c_werror_flag" ||
35366 test ! -s conftest.err
35367 } && test -s conftest.$ac_objext; then
35368 ac_cv_c_bigendian=yes
35370 $as_echo "$as_me: failed program was:" >&5
35371 sed 's/^/| /' conftest.$ac_ext >&5
35373 ac_cv_c_bigendian=no
35376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35378 $as_echo "$as_me: failed program was:" >&5
35379 sed 's/^/| /' conftest.$ac_ext >&5
35384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35386 if test $ac_cv_c_bigendian = unknown; then
35387 # Compile a test program.
35388 if test "$cross_compiling" = yes; then
35389 # Try to guess by grepping values from an object file.
35390 cat >conftest.$ac_ext <<_ACEOF
35393 cat confdefs.h >>conftest.$ac_ext
35394 cat >>conftest.$ac_ext <<_ACEOF
35395 /* end confdefs.h. */
35396 short int ascii_mm[] =
35397 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
35398 short int ascii_ii[] =
35399 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
35400 int use_ascii (int i) {
35401 return ascii_mm[i] + ascii_ii[i];
35403 short int ebcdic_ii[] =
35404 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
35405 short int ebcdic_mm[] =
35406 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
35407 int use_ebcdic (int i) {
35408 return ebcdic_mm[i] + ebcdic_ii[i];
35415 return use_ascii (foo) == use_ebcdic (foo);
35420 rm -f conftest.$ac_objext
35421 if { (ac_try="$ac_compile"
35422 case "(($ac_try" in
35423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35424 *) ac_try_echo=$ac_try;;
35426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35427 $as_echo "$ac_try_echo") >&5
35428 (eval "$ac_compile") 2>conftest.er1
35430 grep -v '^ *+' conftest.er1 >conftest.err
35432 cat conftest.err >&5
35433 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35434 (exit $ac_status); } && {
35435 test -z "$ac_c_werror_flag" ||
35436 test ! -s conftest.err
35437 } && test -s conftest.$ac_objext; then
35438 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
35439 ac_cv_c_bigendian=yes
35441 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
35442 if test "$ac_cv_c_bigendian" = unknown; then
35443 ac_cv_c_bigendian=no
35445 # finding both strings is unlikely to happen, but who knows?
35446 ac_cv_c_bigendian=unknown
35450 $as_echo "$as_me: failed program was:" >&5
35451 sed 's/^/| /' conftest.$ac_ext >&5
35456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35458 cat >conftest.$ac_ext <<_ACEOF
35461 cat confdefs.h >>conftest.$ac_ext
35462 cat >>conftest.$ac_ext <<_ACEOF
35463 /* end confdefs.h. */
35464 $ac_includes_default
35469 /* Are we little or big endian? From Harbison&Steele. */
35473 char c[sizeof (long int)];
35476 return u.c[sizeof (long int) - 1] == 1;
35482 rm -f conftest$ac_exeext
35483 if { (ac_try="$ac_link"
35484 case "(($ac_try" in
35485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35486 *) ac_try_echo=$ac_try;;
35488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35489 $as_echo "$ac_try_echo") >&5
35490 (eval "$ac_link") 2>&5
35492 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35493 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35494 { (case "(($ac_try" in
35495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35496 *) ac_try_echo=$ac_try;;
35498 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35499 $as_echo "$ac_try_echo") >&5
35500 (eval "$ac_try") 2>&5
35502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35503 (exit $ac_status); }; }; then
35504 ac_cv_c_bigendian=no
35506 $as_echo "$as_me: program exited with status $ac_status" >&5
35507 $as_echo "$as_me: failed program was:" >&5
35508 sed 's/^/| /' conftest.$ac_ext >&5
35510 ( exit $ac_status )
35511 ac_cv_c_bigendian=yes
35513 rm -rf conftest.dSYM
35514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35520 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
35521 $as_echo "$ac_cv_c_bigendian" >&6; }
35522 case $ac_cv_c_bigendian in #(
35524 cat >>confdefs.h <<\_ACEOF
35525 #define WORDS_BIGENDIAN 1
35532 cat >>confdefs.h <<\_ACEOF
35533 #define AC_APPLE_UNIVERSAL_BUILD 1
35538 { { $as_echo "$as_me:$LINENO: error: unknown endianness
35539 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
35540 $as_echo "$as_me: error: unknown endianness
35541 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
35542 { (exit 1); exit 1; }; } ;;
35547 for ac_header in byteswap.h linux/compiler.h
35549 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
35550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35551 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
35552 $as_echo_n "checking for $ac_header... " >&6; }
35553 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35554 $as_echo_n "(cached) " >&6
35556 ac_res=`eval 'as_val=${'$as_ac_Header'}
35557 $as_echo "$as_val"'`
35558 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
35559 $as_echo "$ac_res" >&6; }
35561 # Is the header compilable?
35562 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
35563 $as_echo_n "checking $ac_header usability... " >&6; }
35564 cat >conftest.$ac_ext <<_ACEOF
35567 cat confdefs.h >>conftest.$ac_ext
35568 cat >>conftest.$ac_ext <<_ACEOF
35569 /* end confdefs.h. */
35570 $ac_includes_default
35571 #include <$ac_header>
35573 rm -f conftest.$ac_objext
35574 if { (ac_try="$ac_compile"
35575 case "(($ac_try" in
35576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35577 *) ac_try_echo=$ac_try;;
35579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35580 $as_echo "$ac_try_echo") >&5
35581 (eval "$ac_compile") 2>conftest.er1
35583 grep -v '^ *+' conftest.er1 >conftest.err
35585 cat conftest.err >&5
35586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35587 (exit $ac_status); } && {
35588 test -z "$ac_c_werror_flag" ||
35589 test ! -s conftest.err
35590 } && test -s conftest.$ac_objext; then
35591 ac_header_compiler=yes
35593 $as_echo "$as_me: failed program was:" >&5
35594 sed 's/^/| /' conftest.$ac_ext >&5
35596 ac_header_compiler=no
35599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35600 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35601 $as_echo "$ac_header_compiler" >&6; }
35603 # Is the header present?
35604 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
35605 $as_echo_n "checking $ac_header presence... " >&6; }
35606 cat >conftest.$ac_ext <<_ACEOF
35609 cat confdefs.h >>conftest.$ac_ext
35610 cat >>conftest.$ac_ext <<_ACEOF
35611 /* end confdefs.h. */
35612 #include <$ac_header>
35614 if { (ac_try="$ac_cpp conftest.$ac_ext"
35615 case "(($ac_try" in
35616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35617 *) ac_try_echo=$ac_try;;
35619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35620 $as_echo "$ac_try_echo") >&5
35621 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35623 grep -v '^ *+' conftest.er1 >conftest.err
35625 cat conftest.err >&5
35626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35627 (exit $ac_status); } >/dev/null && {
35628 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35629 test ! -s conftest.err
35631 ac_header_preproc=yes
35633 $as_echo "$as_me: failed program was:" >&5
35634 sed 's/^/| /' conftest.$ac_ext >&5
35636 ac_header_preproc=no
35639 rm -f conftest.err conftest.$ac_ext
35640 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35641 $as_echo "$ac_header_preproc" >&6; }
35643 # So? What about this header?
35644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35646 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35647 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35648 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35649 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35650 ac_header_preproc=yes
35653 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35654 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35655 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35656 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35657 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35658 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35659 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35660 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35661 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35662 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35663 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35664 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35668 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
35669 $as_echo_n "checking for $ac_header... " >&6; }
35670 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35671 $as_echo_n "(cached) " >&6
35673 eval "$as_ac_Header=\$ac_header_preproc"
35675 ac_res=`eval 'as_val=${'$as_ac_Header'}
35676 $as_echo "$as_val"'`
35677 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
35678 $as_echo "$ac_res" >&6; }
35681 as_val=`eval 'as_val=${'$as_ac_Header'}
35682 $as_echo "$as_val"'`
35683 if test "x$as_val" = x""yes; then
35684 cat >>confdefs.h <<_ACEOF
35685 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
35695 for ac_func in getrusage sched_setscheduler pthread_setschedparam
35697 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35698 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
35699 $as_echo_n "checking for $ac_func... " >&6; }
35700 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35701 $as_echo_n "(cached) " >&6
35703 cat >conftest.$ac_ext <<_ACEOF
35706 cat confdefs.h >>conftest.$ac_ext
35707 cat >>conftest.$ac_ext <<_ACEOF
35708 /* end confdefs.h. */
35709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35711 #define $ac_func innocuous_$ac_func
35713 /* System header to define __stub macros and hopefully few prototypes,
35714 which can conflict with char $ac_func (); below.
35715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35716 <limits.h> exists even on freestanding compilers. */
35719 # include <limits.h>
35721 # include <assert.h>
35726 /* Override any GCC internal prototype to avoid an error.
35727 Use char because int might match the return type of a GCC
35728 builtin and then its argument prototype would still apply. */
35733 /* The GNU C library defines this for functions which it implements
35734 to always fail with ENOSYS. Some functions are actually named
35735 something starting with __ and the normal name is an alias. */
35736 #if defined __stub_$ac_func || defined __stub___$ac_func
35743 return $ac_func ();
35748 rm -f conftest.$ac_objext conftest$ac_exeext
35749 if { (ac_try="$ac_link"
35750 case "(($ac_try" in
35751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35752 *) ac_try_echo=$ac_try;;
35754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35755 $as_echo "$ac_try_echo") >&5
35756 (eval "$ac_link") 2>conftest.er1
35758 grep -v '^ *+' conftest.er1 >conftest.err
35760 cat conftest.err >&5
35761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); } && {
35763 test -z "$ac_c_werror_flag" ||
35764 test ! -s conftest.err
35765 } && test -s conftest$ac_exeext && {
35766 test "$cross_compiling" = yes ||
35767 $as_test_x conftest$ac_exeext
35769 eval "$as_ac_var=yes"
35771 $as_echo "$as_me: failed program was:" >&5
35772 sed 's/^/| /' conftest.$ac_ext >&5
35774 eval "$as_ac_var=no"
35777 rm -rf conftest.dSYM
35778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35779 conftest$ac_exeext conftest.$ac_ext
35781 ac_res=`eval 'as_val=${'$as_ac_var'}
35782 $as_echo "$as_val"'`
35783 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
35784 $as_echo "$ac_res" >&6; }
35785 as_val=`eval 'as_val=${'$as_ac_var'}
35786 $as_echo "$as_val"'`
35787 if test "x$as_val" = x""yes; then
35788 cat >>confdefs.h <<_ACEOF
35789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35797 for ac_func in sigaction snprintf
35799 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35800 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
35801 $as_echo_n "checking for $ac_func... " >&6; }
35802 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35803 $as_echo_n "(cached) " >&6
35805 cat >conftest.$ac_ext <<_ACEOF
35808 cat confdefs.h >>conftest.$ac_ext
35809 cat >>conftest.$ac_ext <<_ACEOF
35810 /* end confdefs.h. */
35811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35813 #define $ac_func innocuous_$ac_func
35815 /* System header to define __stub macros and hopefully few prototypes,
35816 which can conflict with char $ac_func (); below.
35817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35818 <limits.h> exists even on freestanding compilers. */
35821 # include <limits.h>
35823 # include <assert.h>
35828 /* Override any GCC internal prototype to avoid an error.
35829 Use char because int might match the return type of a GCC
35830 builtin and then its argument prototype would still apply. */
35835 /* The GNU C library defines this for functions which it implements
35836 to always fail with ENOSYS. Some functions are actually named
35837 something starting with __ and the normal name is an alias. */
35838 #if defined __stub_$ac_func || defined __stub___$ac_func
35845 return $ac_func ();
35850 rm -f conftest.$ac_objext conftest$ac_exeext
35851 if { (ac_try="$ac_link"
35852 case "(($ac_try" in
35853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35854 *) ac_try_echo=$ac_try;;
35856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35857 $as_echo "$ac_try_echo") >&5
35858 (eval "$ac_link") 2>conftest.er1
35860 grep -v '^ *+' conftest.er1 >conftest.err
35862 cat conftest.err >&5
35863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35864 (exit $ac_status); } && {
35865 test -z "$ac_c_werror_flag" ||
35866 test ! -s conftest.err
35867 } && test -s conftest$ac_exeext && {
35868 test "$cross_compiling" = yes ||
35869 $as_test_x conftest$ac_exeext
35871 eval "$as_ac_var=yes"
35873 $as_echo "$as_me: failed program was:" >&5
35874 sed 's/^/| /' conftest.$ac_ext >&5
35876 eval "$as_ac_var=no"
35879 rm -rf conftest.dSYM
35880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35881 conftest$ac_exeext conftest.$ac_ext
35883 ac_res=`eval 'as_val=${'$as_ac_var'}
35884 $as_echo "$as_val"'`
35885 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
35886 $as_echo "$ac_res" >&6; }
35887 as_val=`eval 'as_val=${'$as_ac_var'}
35888 $as_echo "$as_val"'`
35889 if test "x$as_val" = x""yes; then
35890 cat >>confdefs.h <<_ACEOF
35891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35904 { $as_echo "$as_me:$LINENO: checking for USB" >&5
35905 $as_echo_n "checking for USB... " >&6; }
35907 if test -n "$PKG_CONFIG"; then
35908 if test -n "$USB_CFLAGS"; then
35909 pkg_cv_USB_CFLAGS="$USB_CFLAGS"
35911 if test -n "$PKG_CONFIG" && \
35912 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb\"") >&5
35913 ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
35915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35916 (exit $ac_status); }; then
35917 pkg_cv_USB_CFLAGS=`$PKG_CONFIG --cflags "libusb" 2>/dev/null`
35926 if test x$cross_compiling = xyes
35928 if test -n "$PKG_CONFIG"; then
35929 if test -n "$USB_LIBS"; then
35930 pkg_cv_USB_LIBS="$USB_LIBS"
35932 if test -n "$PKG_CONFIG" && \
35933 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb\"") >&5
35934 ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
35936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35937 (exit $ac_status); }; then
35938 pkg_cv_USB_LIBS=`$PKG_CONFIG --libs --static "libusb" 2>/dev/null`
35947 for flag in $pkg_cv_USB_LIBS; do
35949 (-L/lib* | -L/usr/lib* ) ;; # ignore
35950 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
35953 pkg_cv_USB_LIBS="$_pkg_tmp"
35955 if test -n "$PKG_CONFIG"; then
35956 if test -n "$USB_LIBS"; then
35957 pkg_cv_USB_LIBS="$USB_LIBS"
35959 if test -n "$PKG_CONFIG" && \
35960 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb\"") >&5
35961 ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
35963 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35964 (exit $ac_status); }; then
35965 pkg_cv_USB_LIBS=`$PKG_CONFIG --libs --static "libusb" 2>/dev/null`
35975 if test -n "$PKG_CONFIG"; then
35976 if test -n "$USB_INCLUDEDIR"; then
35977 pkg_cv_USB_INCLUDEDIR="$USB_INCLUDEDIR"
35979 if test -n "$PKG_CONFIG" && \
35980 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libusb\"") >&5
35981 ($PKG_CONFIG --exists --print-errors "libusb") 2>&5
35983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35984 (exit $ac_status); }; then
35985 pkg_cv_USB_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "libusb" 2>/dev/null`
35997 if test $pkg_failed = yes; then
35999 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36000 _pkg_short_errors_supported=yes
36002 _pkg_short_errors_supported=no
36004 if test $_pkg_short_errors_supported = yes; then
36005 USB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libusb"`
36007 USB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libusb"`
36009 # Put the nasty error message in config.log where it belongs
36010 echo "$USB_PKG_ERRORS" >&5
36012 { $as_echo "$as_me:$LINENO: result: no" >&5
36013 $as_echo "no" >&6; }
36016 ac_cpp='$CPP $CPPFLAGS'
36017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36023 for ac_header in usb.h
36025 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
36026 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36027 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
36028 $as_echo_n "checking for $ac_header... " >&6; }
36029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36030 $as_echo_n "(cached) " >&6
36032 ac_res=`eval 'as_val=${'$as_ac_Header'}
36033 $as_echo "$as_val"'`
36034 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
36035 $as_echo "$ac_res" >&6; }
36037 # Is the header compilable?
36038 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
36039 $as_echo_n "checking $ac_header usability... " >&6; }
36040 cat >conftest.$ac_ext <<_ACEOF
36043 cat confdefs.h >>conftest.$ac_ext
36044 cat >>conftest.$ac_ext <<_ACEOF
36045 /* end confdefs.h. */
36046 $ac_includes_default
36047 #include <$ac_header>
36049 rm -f conftest.$ac_objext
36050 if { (ac_try="$ac_compile"
36051 case "(($ac_try" in
36052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36053 *) ac_try_echo=$ac_try;;
36055 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36056 $as_echo "$ac_try_echo") >&5
36057 (eval "$ac_compile") 2>conftest.er1
36059 grep -v '^ *+' conftest.er1 >conftest.err
36061 cat conftest.err >&5
36062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36063 (exit $ac_status); } && {
36064 test -z "$ac_c_werror_flag" ||
36065 test ! -s conftest.err
36066 } && test -s conftest.$ac_objext; then
36067 ac_header_compiler=yes
36069 $as_echo "$as_me: failed program was:" >&5
36070 sed 's/^/| /' conftest.$ac_ext >&5
36072 ac_header_compiler=no
36075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36076 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36077 $as_echo "$ac_header_compiler" >&6; }
36079 # Is the header present?
36080 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
36081 $as_echo_n "checking $ac_header presence... " >&6; }
36082 cat >conftest.$ac_ext <<_ACEOF
36085 cat confdefs.h >>conftest.$ac_ext
36086 cat >>conftest.$ac_ext <<_ACEOF
36087 /* end confdefs.h. */
36088 #include <$ac_header>
36090 if { (ac_try="$ac_cpp conftest.$ac_ext"
36091 case "(($ac_try" in
36092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36093 *) ac_try_echo=$ac_try;;
36095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36096 $as_echo "$ac_try_echo") >&5
36097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36099 grep -v '^ *+' conftest.er1 >conftest.err
36101 cat conftest.err >&5
36102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36103 (exit $ac_status); } >/dev/null && {
36104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36105 test ! -s conftest.err
36107 ac_header_preproc=yes
36109 $as_echo "$as_me: failed program was:" >&5
36110 sed 's/^/| /' conftest.$ac_ext >&5
36112 ac_header_preproc=no
36115 rm -f conftest.err conftest.$ac_ext
36116 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36117 $as_echo "$ac_header_preproc" >&6; }
36119 # So? What about this header?
36120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36122 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36123 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36124 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36125 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36126 ac_header_preproc=yes
36129 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36130 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36131 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36132 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36133 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36134 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36135 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36136 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36137 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36138 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36139 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36140 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36144 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
36145 $as_echo_n "checking for $ac_header... " >&6; }
36146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36147 $as_echo_n "(cached) " >&6
36149 eval "$as_ac_Header=\$ac_header_preproc"
36151 ac_res=`eval 'as_val=${'$as_ac_Header'}
36152 $as_echo "$as_val"'`
36153 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
36154 $as_echo "$ac_res" >&6; }
36157 as_val=`eval 'as_val=${'$as_ac_Header'}
36158 $as_echo "$as_val"'`
36159 if test "x$as_val" = x""yes; then
36160 cat >>confdefs.h <<_ACEOF
36161 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
36165 libusbok=no; { $as_echo "$as_me:$LINENO: result: USRP requires libusb. usb.h not found. See http://libusb.sf.net" >&5
36166 $as_echo "USRP requires libusb. usb.h not found. See http://libusb.sf.net" >&6; }
36175 LIBS="$LIBS -lIOKit"
36180 { $as_echo "$as_me:$LINENO: checking for library containing usb_bulk_write" >&5
36181 $as_echo_n "checking for library containing usb_bulk_write... " >&6; }
36182 if test "${ac_cv_search_usb_bulk_write+set}" = set; then
36183 $as_echo_n "(cached) " >&6
36185 ac_func_search_save_LIBS=$LIBS
36186 cat >conftest.$ac_ext <<_ACEOF
36189 cat confdefs.h >>conftest.$ac_ext
36190 cat >>conftest.$ac_ext <<_ACEOF
36191 /* end confdefs.h. */
36193 /* Override any GCC internal prototype to avoid an error.
36194 Use char because int might match the return type of a GCC
36195 builtin and then its argument prototype would still apply. */
36199 char usb_bulk_write ();
36203 return usb_bulk_write ();
36208 for ac_lib in '' usb; do
36209 if test -z "$ac_lib"; then
36210 ac_res="none required"
36213 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
36215 rm -f conftest.$ac_objext conftest$ac_exeext
36216 if { (ac_try="$ac_link"
36217 case "(($ac_try" in
36218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36219 *) ac_try_echo=$ac_try;;
36221 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36222 $as_echo "$ac_try_echo") >&5
36223 (eval "$ac_link") 2>conftest.er1
36225 grep -v '^ *+' conftest.er1 >conftest.err
36227 cat conftest.err >&5
36228 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36229 (exit $ac_status); } && {
36230 test -z "$ac_c_werror_flag" ||
36231 test ! -s conftest.err
36232 } && test -s conftest$ac_exeext && {
36233 test "$cross_compiling" = yes ||
36234 $as_test_x conftest$ac_exeext
36236 ac_cv_search_usb_bulk_write=$ac_res
36238 $as_echo "$as_me: failed program was:" >&5
36239 sed 's/^/| /' conftest.$ac_ext >&5
36244 rm -rf conftest.dSYM
36245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36247 if test "${ac_cv_search_usb_bulk_write+set}" = set; then
36251 if test "${ac_cv_search_usb_bulk_write+set}" = set; then
36254 ac_cv_search_usb_bulk_write=no
36256 rm conftest.$ac_ext
36257 LIBS=$ac_func_search_save_LIBS
36259 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_usb_bulk_write" >&5
36260 $as_echo "$ac_cv_search_usb_bulk_write" >&6; }
36261 ac_res=$ac_cv_search_usb_bulk_write
36262 if test "$ac_res" != no; then
36263 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
36266 libusbok=no; { $as_echo "$as_me:$LINENO: result: USRP requires libusb. usb_bulk_write not found. See http://libusb.sf.net" >&5
36267 $as_echo "USRP requires libusb. usb_bulk_write not found. See http://libusb.sf.net" >&6; }
36274 ac_cpp='$CPP $CPPFLAGS'
36275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36280 elif test $pkg_failed = untried; then
36283 ac_cpp='$CPP $CPPFLAGS'
36284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36290 for ac_header in usb.h
36292 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
36293 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36294 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
36295 $as_echo_n "checking for $ac_header... " >&6; }
36296 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36297 $as_echo_n "(cached) " >&6
36299 ac_res=`eval 'as_val=${'$as_ac_Header'}
36300 $as_echo "$as_val"'`
36301 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
36302 $as_echo "$ac_res" >&6; }
36304 # Is the header compilable?
36305 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
36306 $as_echo_n "checking $ac_header usability... " >&6; }
36307 cat >conftest.$ac_ext <<_ACEOF
36310 cat confdefs.h >>conftest.$ac_ext
36311 cat >>conftest.$ac_ext <<_ACEOF
36312 /* end confdefs.h. */
36313 $ac_includes_default
36314 #include <$ac_header>
36316 rm -f conftest.$ac_objext
36317 if { (ac_try="$ac_compile"
36318 case "(($ac_try" in
36319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36320 *) ac_try_echo=$ac_try;;
36322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36323 $as_echo "$ac_try_echo") >&5
36324 (eval "$ac_compile") 2>conftest.er1
36326 grep -v '^ *+' conftest.er1 >conftest.err
36328 cat conftest.err >&5
36329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36330 (exit $ac_status); } && {
36331 test -z "$ac_c_werror_flag" ||
36332 test ! -s conftest.err
36333 } && test -s conftest.$ac_objext; then
36334 ac_header_compiler=yes
36336 $as_echo "$as_me: failed program was:" >&5
36337 sed 's/^/| /' conftest.$ac_ext >&5
36339 ac_header_compiler=no
36342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36343 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36344 $as_echo "$ac_header_compiler" >&6; }
36346 # Is the header present?
36347 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
36348 $as_echo_n "checking $ac_header presence... " >&6; }
36349 cat >conftest.$ac_ext <<_ACEOF
36352 cat confdefs.h >>conftest.$ac_ext
36353 cat >>conftest.$ac_ext <<_ACEOF
36354 /* end confdefs.h. */
36355 #include <$ac_header>
36357 if { (ac_try="$ac_cpp conftest.$ac_ext"
36358 case "(($ac_try" in
36359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36360 *) ac_try_echo=$ac_try;;
36362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36363 $as_echo "$ac_try_echo") >&5
36364 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36366 grep -v '^ *+' conftest.er1 >conftest.err
36368 cat conftest.err >&5
36369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370 (exit $ac_status); } >/dev/null && {
36371 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36372 test ! -s conftest.err
36374 ac_header_preproc=yes
36376 $as_echo "$as_me: failed program was:" >&5
36377 sed 's/^/| /' conftest.$ac_ext >&5
36379 ac_header_preproc=no
36382 rm -f conftest.err conftest.$ac_ext
36383 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36384 $as_echo "$ac_header_preproc" >&6; }
36386 # So? What about this header?
36387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36389 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36390 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36391 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36392 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36393 ac_header_preproc=yes
36396 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36397 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36398 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36399 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36400 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36401 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36402 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36403 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36404 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36405 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36406 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36407 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36411 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
36412 $as_echo_n "checking for $ac_header... " >&6; }
36413 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36414 $as_echo_n "(cached) " >&6
36416 eval "$as_ac_Header=\$ac_header_preproc"
36418 ac_res=`eval 'as_val=${'$as_ac_Header'}
36419 $as_echo "$as_val"'`
36420 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
36421 $as_echo "$ac_res" >&6; }
36424 as_val=`eval 'as_val=${'$as_ac_Header'}
36425 $as_echo "$as_val"'`
36426 if test "x$as_val" = x""yes; then
36427 cat >>confdefs.h <<_ACEOF
36428 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
36432 libusbok=no; { $as_echo "$as_me:$LINENO: result: USRP requires libusb. usb.h not found. See http://libusb.sf.net" >&5
36433 $as_echo "USRP requires libusb. usb.h not found. See http://libusb.sf.net" >&6; }
36442 LIBS="$LIBS -lIOKit"
36447 { $as_echo "$as_me:$LINENO: checking for library containing usb_bulk_write" >&5
36448 $as_echo_n "checking for library containing usb_bulk_write... " >&6; }
36449 if test "${ac_cv_search_usb_bulk_write+set}" = set; then
36450 $as_echo_n "(cached) " >&6
36452 ac_func_search_save_LIBS=$LIBS
36453 cat >conftest.$ac_ext <<_ACEOF
36456 cat confdefs.h >>conftest.$ac_ext
36457 cat >>conftest.$ac_ext <<_ACEOF
36458 /* end confdefs.h. */
36460 /* Override any GCC internal prototype to avoid an error.
36461 Use char because int might match the return type of a GCC
36462 builtin and then its argument prototype would still apply. */
36466 char usb_bulk_write ();
36470 return usb_bulk_write ();
36475 for ac_lib in '' usb; do
36476 if test -z "$ac_lib"; then
36477 ac_res="none required"
36480 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
36482 rm -f conftest.$ac_objext conftest$ac_exeext
36483 if { (ac_try="$ac_link"
36484 case "(($ac_try" in
36485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36486 *) ac_try_echo=$ac_try;;
36488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36489 $as_echo "$ac_try_echo") >&5
36490 (eval "$ac_link") 2>conftest.er1
36492 grep -v '^ *+' conftest.er1 >conftest.err
36494 cat conftest.err >&5
36495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36496 (exit $ac_status); } && {
36497 test -z "$ac_c_werror_flag" ||
36498 test ! -s conftest.err
36499 } && test -s conftest$ac_exeext && {
36500 test "$cross_compiling" = yes ||
36501 $as_test_x conftest$ac_exeext
36503 ac_cv_search_usb_bulk_write=$ac_res
36505 $as_echo "$as_me: failed program was:" >&5
36506 sed 's/^/| /' conftest.$ac_ext >&5
36511 rm -rf conftest.dSYM
36512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36514 if test "${ac_cv_search_usb_bulk_write+set}" = set; then
36518 if test "${ac_cv_search_usb_bulk_write+set}" = set; then
36521 ac_cv_search_usb_bulk_write=no
36523 rm conftest.$ac_ext
36524 LIBS=$ac_func_search_save_LIBS
36526 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_usb_bulk_write" >&5
36527 $as_echo "$ac_cv_search_usb_bulk_write" >&6; }
36528 ac_res=$ac_cv_search_usb_bulk_write
36529 if test "$ac_res" != no; then
36530 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
36533 libusbok=no; { $as_echo "$as_me:$LINENO: result: USRP requires libusb. usb_bulk_write not found. See http://libusb.sf.net" >&5
36534 $as_echo "USRP requires libusb. usb_bulk_write not found. See http://libusb.sf.net" >&6; }
36541 ac_cpp='$CPP $CPPFLAGS'
36542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36548 USB_CFLAGS=$pkg_cv_USB_CFLAGS
36549 USB_LIBS=$pkg_cv_USB_LIBS
36550 USB_INCLUDEDIR=$pkg_cv_USB_INCLUDEDIR
36553 for flag in $USB_CFLAGS; do
36555 -I* | -D* | -U*) USB_CPPFLAGS="$USB_CPPFLAGS $flag" ;;
36558 pkg_cv_USB_CPPFLAGS=$USB_CPPFLAGS
36561 { $as_echo "$as_me:$LINENO: result: yes" >&5
36562 $as_echo "yes" >&6; }
36566 if test x$libusbok = xyes; then
36570 passed=no;{ $as_echo "$as_me:$LINENO: result: Unable to find dependency libusb." >&5
36571 $as_echo "Unable to find dependency libusb." >&6; }
36577 # Extract the first word of "sdcc", so it can be a program name with args.
36578 set dummy sdcc; ac_word=$2
36579 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
36580 $as_echo_n "checking for $ac_word... " >&6; }
36581 if test "${ac_cv_prog_XCC+set}" = set; then
36582 $as_echo_n "(cached) " >&6
36584 if test -n "$XCC"; then
36585 ac_cv_prog_XCC="$XCC" # Let the user override the test.
36587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36588 for as_dir in $PATH
36591 test -z "$as_dir" && as_dir=.
36592 for ac_exec_ext in '' $ac_executable_extensions; do
36593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36594 ac_cv_prog_XCC="sdcc -mmcs51 --no-xinit-opt"
36595 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36602 test -z "$ac_cv_prog_XCC" && ac_cv_prog_XCC="no"
36605 XCC=$ac_cv_prog_XCC
36606 if test -n "$XCC"; then
36607 { $as_echo "$as_me:$LINENO: result: $XCC" >&5
36608 $as_echo "$XCC" >&6; }
36610 { $as_echo "$as_me:$LINENO: result: no" >&5
36611 $as_echo "no" >&6; }
36615 # Extract the first word of "asx8051", so it can be a program name with args.
36616 set dummy asx8051; ac_word=$2
36617 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
36618 $as_echo_n "checking for $ac_word... " >&6; }
36619 if test "${ac_cv_prog_XAS+set}" = set; then
36620 $as_echo_n "(cached) " >&6
36622 if test -n "$XAS"; then
36623 ac_cv_prog_XAS="$XAS" # Let the user override the test.
36625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36626 for as_dir in $PATH
36629 test -z "$as_dir" && as_dir=.
36630 for ac_exec_ext in '' $ac_executable_extensions; do
36631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36632 ac_cv_prog_XAS="asx8051 -plosgff"
36633 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36640 test -z "$ac_cv_prog_XAS" && ac_cv_prog_XAS="no"
36643 XAS=$ac_cv_prog_XAS
36644 if test -n "$XAS"; then
36645 { $as_echo "$as_me:$LINENO: result: $XAS" >&5
36646 $as_echo "$XAS" >&6; }
36648 { $as_echo "$as_me:$LINENO: result: no" >&5
36649 $as_echo "no" >&6; }
36654 if test "$XCC" = "no" -o "$XAS" = "no" ; then
36655 { $as_echo "$as_me:$LINENO: result: USRP requires sdcc. sdcc not found. See http://sdcc.sf.net" >&5
36656 $as_echo "USRP requires sdcc. sdcc not found. See http://sdcc.sf.net" >&6; }
36659 sdcc_version_min=2.4.0
36661 sdcc_version=`sdcc --version 2>&1 | \
36662 sed 's/\(SDCC.* \)\([0-9]*\.[0-9]*\.[0-9]*\)\( .*$\)/\2/'`
36664 { $as_echo "$as_me:$LINENO: checking sdcc_version \"$sdcc_version\"" >&5
36665 $as_echo_n "checking sdcc_version \"$sdcc_version\"... " >&6; }
36667 sdcc_major_version=`echo $sdcc_version | \
36668 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36669 sdcc_minor_version=`echo $sdcc_version | \
36670 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36671 sdcc_micro_version=`echo $sdcc_version | \
36672 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36674 sdcc_major_min=`echo $sdcc_version_min | \
36675 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36676 sdcc_minor_min=`echo $sdcc_version_min | \
36677 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36678 sdcc_micro_min=`echo $sdcc_version_min | \
36679 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36681 sdcc_version_proper=`expr \
36682 "$sdcc_major_version" \> "$sdcc_major_min" \| \
36683 "$sdcc_major_version" \= "$sdcc_major_min" \& \
36684 "$sdcc_minor_version" \> "$sdcc_minor_min" \| \
36685 "$sdcc_major_version" \= "$sdcc_major_min" \& \
36686 "$sdcc_minor_version" \= "$sdcc_minor_min" \& \
36687 "$sdcc_micro_version" \>= "$sdcc_micro_min" `
36689 if test "$sdcc_version_proper" = "1" ; then
36690 { $as_echo "$as_me:$LINENO: result: $sdcc_major_version.$sdcc_minor_version.$sdcc_micro_version" >&5
36691 $as_echo "$sdcc_major_version.$sdcc_minor_version.$sdcc_micro_version" >&6; }
36694 { $as_echo "$as_me:$LINENO: result: USRP requires sdcc >= $sdcc_version_min. sdcc not found. See http://sdcc.sf.net" >&5
36695 $as_echo "USRP requires sdcc >= $sdcc_version_min. sdcc not found. See http://sdcc.sf.net" >&6; }
36702 if test $sdccok = yes; then
36705 passed=no;{ $as_echo "$as_me:$LINENO: result: Unable to find firmware compiler SDCC." >&5
36706 $as_echo "Unable to find firmware compiler SDCC." >&6; }
36710 if test $passed != with; then
36711 usrp_INCLUDES="-I\${abs_top_srcdir}/usrp/host/lib/legacy \
36712 -I\${abs_top_srcdir}/usrp/firmware/include \
36713 -I\${abs_top_builddir}/usrp/host/lib/legacy"
36714 usrp_LA="\${abs_top_builddir}/usrp/host/lib/legacy/libusrp.la"
36719 usrp_darwin_omnithread_pc_requires="gnuradio-omnithread"
36721 *) usrp_darwin_omnithread_pc_requires=""
36726 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"
36732 if test $passed = no; then
36733 if test x$enable_usrp = xyes; then
36734 { { $as_echo "$as_me:$LINENO: error: Component usrp has errors; stopping." >&5
36735 $as_echo "$as_me: error: Component usrp has errors; stopping." >&2;}
36736 { (exit 1); exit 1; }; }
36738 { $as_echo "$as_me:$LINENO: result: Not building component usrp." >&5
36739 $as_echo "Not building component usrp." >&6; }
36742 if test $passed = with; then
36743 with_dirs="$with_dirs usrp"
36745 if test "x${usrp_INCLUDES}" != "x"; then
36746 if test "x$with_INCLUDES" = "x"; then
36747 with_INCLUDES="${usrp_INCLUDES}"
36749 with_INCLUDES="${usrp_INCLUDES}"" ""$with_INCLUDES"
36755 if test "x${usrp_SWIG_INCLUDES}" != "x"; then
36756 if test "x$with_SWIG_INCLUDES" = "x"; then
36757 with_SWIG_INCLUDES="${usrp_SWIG_INCLUDES}"
36759 with_SWIG_INCLUDES="${usrp_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
36761 usrp_SWIG_INCLUDES=
36765 if test "x${usrp_PYDIRPATH}" != "x"; then
36766 if test "x$with_PYDIRPATH" = "x"; then
36767 with_PYDIRPATH="${usrp_PYDIRPATH}"
36769 with_PYDIRPATH="${usrp_PYDIRPATH}"":""$with_PYDIRPATH"
36775 if test "x${usrp_SWIGDIRPATH}" != "x"; then
36776 if test "x$with_SWIGDIRPATH" = "x"; then
36777 with_SWIGDIRPATH="${usrp_SWIGDIRPATH}"
36779 with_SWIGDIRPATH="${usrp_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
36785 if test "x${usrp_LIBDIRPATH}" != "x"; then
36786 if test "x$with_LIBDIRPATH" = "x"; then
36787 with_LIBDIRPATH="${usrp_LIBDIRPATH}"
36789 with_LIBDIRPATH="${usrp_LIBDIRPATH}"":""$with_LIBDIRPATH"
36794 { $as_echo "$as_me:$LINENO: result: Component usrp will be included from a pre-installed library and includes." >&5
36795 $as_echo "Component usrp will be included from a pre-installed library and includes." >&6; }
36799 if test x$enable_usrp != xno; then
36801 build_dirs="$build_dirs usrp"
36802 { $as_echo "$as_me:$LINENO: result: Component usrp passed configuration checks; building." >&5
36803 $as_echo "Component usrp passed configuration checks; building." >&6; }
36806 { $as_echo "$as_me:$LINENO: result: Component usrp passed configuration checks; but not building." >&5
36807 $as_echo "Component usrp passed configuration checks; but not building." >&6; }
36811 if test $passed = no; then
36812 skipped_dirs="$skipped_dirs usrp"
36831 # Check whether --enable-usrp2 was given.
36832 if test "${enable_usrp2+set}" = set; then
36833 enableval=$enable_usrp2;
36836 enable_usrp2=$enable_all_components
36837 if test x$enable_all_components = xno; then
36846 subdirs="$subdirs usrp2/firmware"
36850 if test $passed != no; then
36851 if test $passed = yes; then
36852 if test x$gruel_skipped = xyes; then
36853 { $as_echo "$as_me:$LINENO: result: Component usrp2 requires gruel, which is not being built or specified via pre-installed files." >&5
36854 $as_echo "Component usrp2 requires gruel, which is not being built or specified via pre-installed files." >&6; }
36858 if test x$gruel_with = xno; then
36859 { { $as_echo "$as_me:$LINENO: error: Component usrp2 requires gruel to be included as --with-gruel[=arg]" >&5
36860 $as_echo "$as_me: error: Component usrp2 requires gruel to be included as --with-gruel[=arg]" >&2;}
36861 { (exit 1); exit 1; }; }
36867 if test $passed != no; then
36868 if test $passed = yes; then
36869 if test x$omnithread_skipped = xyes; then
36870 { $as_echo "$as_me:$LINENO: result: Component usrp2 requires omnithread, which is not being built or specified via pre-installed files." >&5
36871 $as_echo "Component usrp2 requires omnithread, which is not being built or specified via pre-installed files." >&6; }
36875 if test x$omnithread_with = xno; then
36876 { { $as_echo "$as_me:$LINENO: error: Component usrp2 requires omnithread to be included as --with-omnithread[=arg]" >&5
36877 $as_echo "$as_me: error: Component usrp2 requires omnithread to be included as --with-omnithread[=arg]" >&2;}
36878 { (exit 1); exit 1; }; }
36884 { $as_echo "$as_me:$LINENO: checking whether host_os is linux*" >&5
36885 $as_echo_n "checking whether host_os is linux*... " >&6; }
36888 { $as_echo "$as_me:$LINENO: result: yes" >&5
36889 $as_echo "yes" >&6; }
36892 { $as_echo "$as_me:$LINENO: result: no" >&5
36893 $as_echo "no" >&6; }
36894 { $as_echo "$as_me:$LINENO: USRP2 currently requires Linux host OS, not found" >&5
36895 $as_echo "$as_me: USRP2 currently requires Linux host OS, not found" >&6;}
36900 if test $passed = yes; then
36906 for ac_header in arpa/inet.h byteswap.h linux/if_packet.h sys/socket.h sys/un.h
36908 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
36909 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36910 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
36911 $as_echo_n "checking for $ac_header... " >&6; }
36912 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36913 $as_echo_n "(cached) " >&6
36915 ac_res=`eval 'as_val=${'$as_ac_Header'}
36916 $as_echo "$as_val"'`
36917 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
36918 $as_echo "$ac_res" >&6; }
36920 # Is the header compilable?
36921 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
36922 $as_echo_n "checking $ac_header usability... " >&6; }
36923 cat >conftest.$ac_ext <<_ACEOF
36926 cat confdefs.h >>conftest.$ac_ext
36927 cat >>conftest.$ac_ext <<_ACEOF
36928 /* end confdefs.h. */
36929 $ac_includes_default
36930 #include <$ac_header>
36932 rm -f conftest.$ac_objext
36933 if { (ac_try="$ac_compile"
36934 case "(($ac_try" in
36935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36936 *) ac_try_echo=$ac_try;;
36938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36939 $as_echo "$ac_try_echo") >&5
36940 (eval "$ac_compile") 2>conftest.er1
36942 grep -v '^ *+' conftest.er1 >conftest.err
36944 cat conftest.err >&5
36945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36946 (exit $ac_status); } && {
36947 test -z "$ac_c_werror_flag" ||
36948 test ! -s conftest.err
36949 } && test -s conftest.$ac_objext; then
36950 ac_header_compiler=yes
36952 $as_echo "$as_me: failed program was:" >&5
36953 sed 's/^/| /' conftest.$ac_ext >&5
36955 ac_header_compiler=no
36958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36959 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36960 $as_echo "$ac_header_compiler" >&6; }
36962 # Is the header present?
36963 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
36964 $as_echo_n "checking $ac_header presence... " >&6; }
36965 cat >conftest.$ac_ext <<_ACEOF
36968 cat confdefs.h >>conftest.$ac_ext
36969 cat >>conftest.$ac_ext <<_ACEOF
36970 /* end confdefs.h. */
36971 #include <$ac_header>
36973 if { (ac_try="$ac_cpp conftest.$ac_ext"
36974 case "(($ac_try" in
36975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36976 *) ac_try_echo=$ac_try;;
36978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36979 $as_echo "$ac_try_echo") >&5
36980 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36982 grep -v '^ *+' conftest.er1 >conftest.err
36984 cat conftest.err >&5
36985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36986 (exit $ac_status); } >/dev/null && {
36987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36988 test ! -s conftest.err
36990 ac_header_preproc=yes
36992 $as_echo "$as_me: failed program was:" >&5
36993 sed 's/^/| /' conftest.$ac_ext >&5
36995 ac_header_preproc=no
36998 rm -f conftest.err conftest.$ac_ext
36999 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37000 $as_echo "$ac_header_preproc" >&6; }
37002 # So? What about this header?
37003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37005 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37006 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37007 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37008 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37009 ac_header_preproc=yes
37012 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37013 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37014 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37015 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37016 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37017 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37018 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37019 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37020 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37021 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37022 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37023 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37027 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
37028 $as_echo_n "checking for $ac_header... " >&6; }
37029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37030 $as_echo_n "(cached) " >&6
37032 eval "$as_ac_Header=\$ac_header_preproc"
37034 ac_res=`eval 'as_val=${'$as_ac_Header'}
37035 $as_echo "$as_val"'`
37036 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
37037 $as_echo "$ac_res" >&6; }
37040 as_val=`eval 'as_val=${'$as_ac_Header'}
37041 $as_echo "$as_val"'`
37042 if test "x$as_val" = x""yes; then
37043 cat >>confdefs.h <<_ACEOF
37044 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
37051 { $as_echo "$as_me:$LINENO: checking for struct msghdr.msg_control" >&5
37052 $as_echo_n "checking for struct msghdr.msg_control... " >&6; }
37053 if test "${ac_cv_member_struct_msghdr_msg_control+set}" = set; then
37054 $as_echo_n "(cached) " >&6
37056 cat >conftest.$ac_ext <<_ACEOF
37059 cat confdefs.h >>conftest.$ac_ext
37060 cat >>conftest.$ac_ext <<_ACEOF
37061 /* end confdefs.h. */
37062 #define __USE_GNU 1
37063 #include <sys/types.h>
37064 #include <sys/socket.h>
37065 #include <sys/un.h>
37070 static struct msghdr ac_aggr;
37071 if (ac_aggr.msg_control)
37077 rm -f conftest.$ac_objext
37078 if { (ac_try="$ac_compile"
37079 case "(($ac_try" in
37080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37081 *) ac_try_echo=$ac_try;;
37083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37084 $as_echo "$ac_try_echo") >&5
37085 (eval "$ac_compile") 2>conftest.er1
37087 grep -v '^ *+' conftest.er1 >conftest.err
37089 cat conftest.err >&5
37090 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091 (exit $ac_status); } && {
37092 test -z "$ac_c_werror_flag" ||
37093 test ! -s conftest.err
37094 } && test -s conftest.$ac_objext; then
37095 ac_cv_member_struct_msghdr_msg_control=yes
37097 $as_echo "$as_me: failed program was:" >&5
37098 sed 's/^/| /' conftest.$ac_ext >&5
37100 cat >conftest.$ac_ext <<_ACEOF
37103 cat confdefs.h >>conftest.$ac_ext
37104 cat >>conftest.$ac_ext <<_ACEOF
37105 /* end confdefs.h. */
37106 #define __USE_GNU 1
37107 #include <sys/types.h>
37108 #include <sys/socket.h>
37109 #include <sys/un.h>
37114 static struct msghdr ac_aggr;
37115 if (sizeof ac_aggr.msg_control)
37121 rm -f conftest.$ac_objext
37122 if { (ac_try="$ac_compile"
37123 case "(($ac_try" in
37124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37125 *) ac_try_echo=$ac_try;;
37127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37128 $as_echo "$ac_try_echo") >&5
37129 (eval "$ac_compile") 2>conftest.er1
37131 grep -v '^ *+' conftest.er1 >conftest.err
37133 cat conftest.err >&5
37134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37135 (exit $ac_status); } && {
37136 test -z "$ac_c_werror_flag" ||
37137 test ! -s conftest.err
37138 } && test -s conftest.$ac_objext; then
37139 ac_cv_member_struct_msghdr_msg_control=yes
37141 $as_echo "$as_me: failed program was:" >&5
37142 sed 's/^/| /' conftest.$ac_ext >&5
37144 ac_cv_member_struct_msghdr_msg_control=no
37147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37152 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_control" >&5
37153 $as_echo "$ac_cv_member_struct_msghdr_msg_control" >&6; }
37154 if test "x$ac_cv_member_struct_msghdr_msg_control" = x""yes; then
37156 cat >>confdefs.h <<_ACEOF
37157 #define HAVE_STRUCT_MSGHDR_MSG_CONTROL 1
37162 { $as_echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
37163 $as_echo_n "checking for struct msghdr.msg_accrights... " >&6; }
37164 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
37165 $as_echo_n "(cached) " >&6
37167 cat >conftest.$ac_ext <<_ACEOF
37170 cat confdefs.h >>conftest.$ac_ext
37171 cat >>conftest.$ac_ext <<_ACEOF
37172 /* end confdefs.h. */
37173 #define __USE_GNU 1
37174 #include <sys/types.h>
37175 #include <sys/socket.h>
37176 #include <sys/un.h>
37181 static struct msghdr ac_aggr;
37182 if (ac_aggr.msg_accrights)
37188 rm -f conftest.$ac_objext
37189 if { (ac_try="$ac_compile"
37190 case "(($ac_try" in
37191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37192 *) ac_try_echo=$ac_try;;
37194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37195 $as_echo "$ac_try_echo") >&5
37196 (eval "$ac_compile") 2>conftest.er1
37198 grep -v '^ *+' conftest.er1 >conftest.err
37200 cat conftest.err >&5
37201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37202 (exit $ac_status); } && {
37203 test -z "$ac_c_werror_flag" ||
37204 test ! -s conftest.err
37205 } && test -s conftest.$ac_objext; then
37206 ac_cv_member_struct_msghdr_msg_accrights=yes
37208 $as_echo "$as_me: failed program was:" >&5
37209 sed 's/^/| /' conftest.$ac_ext >&5
37211 cat >conftest.$ac_ext <<_ACEOF
37214 cat confdefs.h >>conftest.$ac_ext
37215 cat >>conftest.$ac_ext <<_ACEOF
37216 /* end confdefs.h. */
37217 #define __USE_GNU 1
37218 #include <sys/types.h>
37219 #include <sys/socket.h>
37220 #include <sys/un.h>
37225 static struct msghdr ac_aggr;
37226 if (sizeof ac_aggr.msg_accrights)
37232 rm -f conftest.$ac_objext
37233 if { (ac_try="$ac_compile"
37234 case "(($ac_try" in
37235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37236 *) ac_try_echo=$ac_try;;
37238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37239 $as_echo "$ac_try_echo") >&5
37240 (eval "$ac_compile") 2>conftest.er1
37242 grep -v '^ *+' conftest.er1 >conftest.err
37244 cat conftest.err >&5
37245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37246 (exit $ac_status); } && {
37247 test -z "$ac_c_werror_flag" ||
37248 test ! -s conftest.err
37249 } && test -s conftest.$ac_objext; then
37250 ac_cv_member_struct_msghdr_msg_accrights=yes
37252 $as_echo "$as_me: failed program was:" >&5
37253 sed 's/^/| /' conftest.$ac_ext >&5
37255 ac_cv_member_struct_msghdr_msg_accrights=no
37258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37263 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
37264 $as_echo "$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
37265 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = x""yes; then
37267 cat >>confdefs.h <<_ACEOF
37268 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
37273 { $as_echo "$as_me:$LINENO: checking for struct cmsgcred.cmcred_uid" >&5
37274 $as_echo_n "checking for struct cmsgcred.cmcred_uid... " >&6; }
37275 if test "${ac_cv_member_struct_cmsgcred_cmcred_uid+set}" = set; then
37276 $as_echo_n "(cached) " >&6
37278 cat >conftest.$ac_ext <<_ACEOF
37281 cat confdefs.h >>conftest.$ac_ext
37282 cat >>conftest.$ac_ext <<_ACEOF
37283 /* end confdefs.h. */
37284 #define __USE_GNU 1
37285 #include <sys/types.h>
37286 #include <sys/socket.h>
37287 #include <sys/un.h>
37292 static struct cmsgcred ac_aggr;
37293 if (ac_aggr.cmcred_uid)
37299 rm -f conftest.$ac_objext
37300 if { (ac_try="$ac_compile"
37301 case "(($ac_try" in
37302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37303 *) ac_try_echo=$ac_try;;
37305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37306 $as_echo "$ac_try_echo") >&5
37307 (eval "$ac_compile") 2>conftest.er1
37309 grep -v '^ *+' conftest.er1 >conftest.err
37311 cat conftest.err >&5
37312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37313 (exit $ac_status); } && {
37314 test -z "$ac_c_werror_flag" ||
37315 test ! -s conftest.err
37316 } && test -s conftest.$ac_objext; then
37317 ac_cv_member_struct_cmsgcred_cmcred_uid=yes
37319 $as_echo "$as_me: failed program was:" >&5
37320 sed 's/^/| /' conftest.$ac_ext >&5
37322 cat >conftest.$ac_ext <<_ACEOF
37325 cat confdefs.h >>conftest.$ac_ext
37326 cat >>conftest.$ac_ext <<_ACEOF
37327 /* end confdefs.h. */
37328 #define __USE_GNU 1
37329 #include <sys/types.h>
37330 #include <sys/socket.h>
37331 #include <sys/un.h>
37336 static struct cmsgcred ac_aggr;
37337 if (sizeof ac_aggr.cmcred_uid)
37343 rm -f conftest.$ac_objext
37344 if { (ac_try="$ac_compile"
37345 case "(($ac_try" in
37346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37347 *) ac_try_echo=$ac_try;;
37349 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37350 $as_echo "$ac_try_echo") >&5
37351 (eval "$ac_compile") 2>conftest.er1
37353 grep -v '^ *+' conftest.er1 >conftest.err
37355 cat conftest.err >&5
37356 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37357 (exit $ac_status); } && {
37358 test -z "$ac_c_werror_flag" ||
37359 test ! -s conftest.err
37360 } && test -s conftest.$ac_objext; then
37361 ac_cv_member_struct_cmsgcred_cmcred_uid=yes
37363 $as_echo "$as_me: failed program was:" >&5
37364 sed 's/^/| /' conftest.$ac_ext >&5
37366 ac_cv_member_struct_cmsgcred_cmcred_uid=no
37369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37374 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_cmsgcred_cmcred_uid" >&5
37375 $as_echo "$ac_cv_member_struct_cmsgcred_cmcred_uid" >&6; }
37376 if test "x$ac_cv_member_struct_cmsgcred_cmcred_uid" = x""yes; then
37378 cat >>confdefs.h <<_ACEOF
37379 #define HAVE_STRUCT_CMSGCRED_CMCRED_UID 1
37384 { $as_echo "$as_me:$LINENO: checking for struct ucred.uid" >&5
37385 $as_echo_n "checking for struct ucred.uid... " >&6; }
37386 if test "${ac_cv_member_struct_ucred_uid+set}" = set; then
37387 $as_echo_n "(cached) " >&6
37389 cat >conftest.$ac_ext <<_ACEOF
37392 cat confdefs.h >>conftest.$ac_ext
37393 cat >>conftest.$ac_ext <<_ACEOF
37394 /* end confdefs.h. */
37395 #define __USE_GNU 1
37396 #include <sys/types.h>
37397 #include <sys/socket.h>
37398 #include <sys/un.h>
37403 static struct ucred ac_aggr;
37410 rm -f conftest.$ac_objext
37411 if { (ac_try="$ac_compile"
37412 case "(($ac_try" in
37413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37414 *) ac_try_echo=$ac_try;;
37416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37417 $as_echo "$ac_try_echo") >&5
37418 (eval "$ac_compile") 2>conftest.er1
37420 grep -v '^ *+' conftest.er1 >conftest.err
37422 cat conftest.err >&5
37423 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37424 (exit $ac_status); } && {
37425 test -z "$ac_c_werror_flag" ||
37426 test ! -s conftest.err
37427 } && test -s conftest.$ac_objext; then
37428 ac_cv_member_struct_ucred_uid=yes
37430 $as_echo "$as_me: failed program was:" >&5
37431 sed 's/^/| /' conftest.$ac_ext >&5
37433 cat >conftest.$ac_ext <<_ACEOF
37436 cat confdefs.h >>conftest.$ac_ext
37437 cat >>conftest.$ac_ext <<_ACEOF
37438 /* end confdefs.h. */
37439 #define __USE_GNU 1
37440 #include <sys/types.h>
37441 #include <sys/socket.h>
37442 #include <sys/un.h>
37447 static struct ucred ac_aggr;
37448 if (sizeof ac_aggr.uid)
37454 rm -f conftest.$ac_objext
37455 if { (ac_try="$ac_compile"
37456 case "(($ac_try" in
37457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37458 *) ac_try_echo=$ac_try;;
37460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37461 $as_echo "$ac_try_echo") >&5
37462 (eval "$ac_compile") 2>conftest.er1
37464 grep -v '^ *+' conftest.er1 >conftest.err
37466 cat conftest.err >&5
37467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); } && {
37469 test -z "$ac_c_werror_flag" ||
37470 test ! -s conftest.err
37471 } && test -s conftest.$ac_objext; then
37472 ac_cv_member_struct_ucred_uid=yes
37474 $as_echo "$as_me: failed program was:" >&5
37475 sed 's/^/| /' conftest.$ac_ext >&5
37477 ac_cv_member_struct_ucred_uid=no
37480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37485 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ucred_uid" >&5
37486 $as_echo "$ac_cv_member_struct_ucred_uid" >&6; }
37487 if test "x$ac_cv_member_struct_ucred_uid" = x""yes; then
37489 cat >>confdefs.h <<_ACEOF
37490 #define HAVE_STRUCT_UCRED_UID 1
37497 if test $passed != with; then
37498 USRP2_INCLUDES="-I\${abs_top_srcdir}/usrp2/host/include \
37499 -I\${abs_top_srcdir}/usrp2/firmware/include"
37500 USRP2_LA="\${abs_top_builddir}/usrp2/host/lib/libusrp2.la"
37506 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"
37512 if test $passed = no; then
37513 if test x$enable_usrp2 = xyes; then
37514 { { $as_echo "$as_me:$LINENO: error: Component usrp2 has errors; stopping." >&5
37515 $as_echo "$as_me: error: Component usrp2 has errors; stopping." >&2;}
37516 { (exit 1); exit 1; }; }
37518 { $as_echo "$as_me:$LINENO: result: Not building component usrp2." >&5
37519 $as_echo "Not building component usrp2." >&6; }
37522 if test $passed = with; then
37523 with_dirs="$with_dirs usrp2"
37525 if test "x${usrp2_INCLUDES}" != "x"; then
37526 if test "x$with_INCLUDES" = "x"; then
37527 with_INCLUDES="${usrp2_INCLUDES}"
37529 with_INCLUDES="${usrp2_INCLUDES}"" ""$with_INCLUDES"
37535 if test "x${usrp2_SWIG_INCLUDES}" != "x"; then
37536 if test "x$with_SWIG_INCLUDES" = "x"; then
37537 with_SWIG_INCLUDES="${usrp2_SWIG_INCLUDES}"
37539 with_SWIG_INCLUDES="${usrp2_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
37541 usrp2_SWIG_INCLUDES=
37545 if test "x${usrp2_PYDIRPATH}" != "x"; then
37546 if test "x$with_PYDIRPATH" = "x"; then
37547 with_PYDIRPATH="${usrp2_PYDIRPATH}"
37549 with_PYDIRPATH="${usrp2_PYDIRPATH}"":""$with_PYDIRPATH"
37555 if test "x${usrp2_SWIGDIRPATH}" != "x"; then
37556 if test "x$with_SWIGDIRPATH" = "x"; then
37557 with_SWIGDIRPATH="${usrp2_SWIGDIRPATH}"
37559 with_SWIGDIRPATH="${usrp2_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
37565 if test "x${usrp2_LIBDIRPATH}" != "x"; then
37566 if test "x$with_LIBDIRPATH" = "x"; then
37567 with_LIBDIRPATH="${usrp2_LIBDIRPATH}"
37569 with_LIBDIRPATH="${usrp2_LIBDIRPATH}"":""$with_LIBDIRPATH"
37574 { $as_echo "$as_me:$LINENO: result: Component usrp2 will be included from a pre-installed library and includes." >&5
37575 $as_echo "Component usrp2 will be included from a pre-installed library and includes." >&6; }
37579 if test x$enable_usrp2 != xno; then
37581 build_dirs="$build_dirs usrp2"
37582 { $as_echo "$as_me:$LINENO: result: Component usrp2 passed configuration checks; building." >&5
37583 $as_echo "Component usrp2 passed configuration checks; building." >&6; }
37586 { $as_echo "$as_me:$LINENO: result: Component usrp2 passed configuration checks; but not building." >&5
37587 $as_echo "Component usrp2 passed configuration checks; but not building." >&6; }
37591 if test $passed = no; then
37592 skipped_dirs="$skipped_dirs usrp2"
37609 # Check whether --enable-gr-usrp was given.
37610 if test "${enable_gr_usrp+set}" = set; then
37611 enableval=$enable_gr_usrp;
37614 enable_gr_usrp=$enable_all_components
37615 if test x$enable_all_components = xno; then
37625 if test $passed != no; then
37626 if test $passed = yes; then
37627 if test x$usrp_skipped = xyes; then
37628 { $as_echo "$as_me:$LINENO: result: Component gr-usrp requires usrp, which is not being built or specified via pre-installed files." >&5
37629 $as_echo "Component gr-usrp requires usrp, which is not being built or specified via pre-installed files." >&6; }
37633 if test x$usrp_with = xno; then
37634 { { $as_echo "$as_me:$LINENO: error: Component gr-usrp requires usrp to be included as --with-usrp[=arg]" >&5
37635 $as_echo "$as_me: error: Component gr-usrp requires usrp to be included as --with-usrp[=arg]" >&2;}
37636 { (exit 1); exit 1; }; }
37642 if test $passed != no; then
37643 if test $passed = yes; then
37644 if test x$gnuradio_core_skipped = xyes; then
37645 { $as_echo "$as_me:$LINENO: result: Component gr-usrp requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
37646 $as_echo "Component gr-usrp requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
37650 if test x$gnuradio_core_with = xno; then
37651 { { $as_echo "$as_me:$LINENO: error: Component gr-usrp requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
37652 $as_echo "$as_me: error: Component gr-usrp requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
37653 { (exit 1); exit 1; }; }
37659 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"
37665 if test $passed = no; then
37666 if test x$enable_gr_usrp = xyes; then
37667 { { $as_echo "$as_me:$LINENO: error: Component gr-usrp has errors; stopping." >&5
37668 $as_echo "$as_me: error: Component gr-usrp has errors; stopping." >&2;}
37669 { (exit 1); exit 1; }; }
37671 { $as_echo "$as_me:$LINENO: result: Not building component gr-usrp." >&5
37672 $as_echo "Not building component gr-usrp." >&6; }
37675 if test $passed = with; then
37676 with_dirs="$with_dirs gr-usrp"
37678 if test "x${gr_usrp_INCLUDES}" != "x"; then
37679 if test "x$with_INCLUDES" = "x"; then
37680 with_INCLUDES="${gr_usrp_INCLUDES}"
37682 with_INCLUDES="${gr_usrp_INCLUDES}"" ""$with_INCLUDES"
37688 if test "x${gr_usrp_SWIG_INCLUDES}" != "x"; then
37689 if test "x$with_SWIG_INCLUDES" = "x"; then
37690 with_SWIG_INCLUDES="${gr_usrp_SWIG_INCLUDES}"
37692 with_SWIG_INCLUDES="${gr_usrp_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
37694 gr_usrp_SWIG_INCLUDES=
37698 if test "x${gr_usrp_PYDIRPATH}" != "x"; then
37699 if test "x$with_PYDIRPATH" = "x"; then
37700 with_PYDIRPATH="${gr_usrp_PYDIRPATH}"
37702 with_PYDIRPATH="${gr_usrp_PYDIRPATH}"":""$with_PYDIRPATH"
37708 if test "x${gr_usrp_SWIGDIRPATH}" != "x"; then
37709 if test "x$with_SWIGDIRPATH" = "x"; then
37710 with_SWIGDIRPATH="${gr_usrp_SWIGDIRPATH}"
37712 with_SWIGDIRPATH="${gr_usrp_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
37714 gr_usrp_SWIGDIRPATH=
37718 if test "x${gr_usrp_LIBDIRPATH}" != "x"; then
37719 if test "x$with_LIBDIRPATH" = "x"; then
37720 with_LIBDIRPATH="${gr_usrp_LIBDIRPATH}"
37722 with_LIBDIRPATH="${gr_usrp_LIBDIRPATH}"":""$with_LIBDIRPATH"
37724 gr_usrp_LIBDIRPATH=
37727 { $as_echo "$as_me:$LINENO: result: Component gr-usrp will be included from a pre-installed library and includes." >&5
37728 $as_echo "Component gr-usrp will be included from a pre-installed library and includes." >&6; }
37732 if test x$enable_gr_usrp != xno; then
37733 ac_config_commands="$ac_config_commands run_tests_usrp"
37736 build_dirs="$build_dirs gr-usrp"
37737 { $as_echo "$as_me:$LINENO: result: Component gr-usrp passed configuration checks; building." >&5
37738 $as_echo "Component gr-usrp passed configuration checks; building." >&6; }
37741 { $as_echo "$as_me:$LINENO: result: Component gr-usrp passed configuration checks; but not building." >&5
37742 $as_echo "Component gr-usrp passed configuration checks; but not building." >&6; }
37746 if test $passed = no; then
37747 skipped_dirs="$skipped_dirs gr-usrp"
37748 gr_usrp_skipped=yes
37763 # Check whether --enable-gr-usrp2 was given.
37764 if test "${enable_gr_usrp2+set}" = set; then
37765 enableval=$enable_gr_usrp2;
37768 enable_gr_usrp2=$enable_all_components
37769 if test x$enable_all_components = xno; then
37779 if test $passed != no; then
37780 if test $passed = yes; then
37781 if test x$usrp2_skipped = xyes; then
37782 { $as_echo "$as_me:$LINENO: result: Component gr-usrp2 requires usrp2, which is not being built or specified via pre-installed files." >&5
37783 $as_echo "Component gr-usrp2 requires usrp2, which is not being built or specified via pre-installed files." >&6; }
37787 if test x$usrp2_with = xno; then
37788 { { $as_echo "$as_me:$LINENO: error: Component gr-usrp2 requires usrp2 to be included as --with-usrp2[=arg]" >&5
37789 $as_echo "$as_me: error: Component gr-usrp2 requires usrp2 to be included as --with-usrp2[=arg]" >&2;}
37790 { (exit 1); exit 1; }; }
37796 if test $passed != no; then
37797 if test $passed = yes; then
37798 if test x$gnuradio_core_skipped = xyes; then
37799 { $as_echo "$as_me:$LINENO: result: Component gr-usrp2 requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
37800 $as_echo "Component gr-usrp2 requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
37804 if test x$gnuradio_core_with = xno; then
37805 { { $as_echo "$as_me:$LINENO: error: Component gr-usrp2 requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
37806 $as_echo "$as_me: error: Component gr-usrp2 requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
37807 { (exit 1); exit 1; }; }
37813 ac_config_files="$ac_config_files gr-usrp2/Makefile gr-usrp2/gnuradio-usrp2.pc gr-usrp2/src/Makefile gr-usrp2/src/run_tests"
37819 if test $passed = no; then
37820 if test x$enable_gr_usrp2 = xyes; then
37821 { { $as_echo "$as_me:$LINENO: error: Component gr-usrp2 has errors; stopping." >&5
37822 $as_echo "$as_me: error: Component gr-usrp2 has errors; stopping." >&2;}
37823 { (exit 1); exit 1; }; }
37825 { $as_echo "$as_me:$LINENO: result: Not building component gr-usrp2." >&5
37826 $as_echo "Not building component gr-usrp2." >&6; }
37829 if test $passed = with; then
37830 with_dirs="$with_dirs gr-usrp2"
37832 if test "x${gr_usrp2_INCLUDES}" != "x"; then
37833 if test "x$with_INCLUDES" = "x"; then
37834 with_INCLUDES="${gr_usrp2_INCLUDES}"
37836 with_INCLUDES="${gr_usrp2_INCLUDES}"" ""$with_INCLUDES"
37842 if test "x${gr_usrp2_SWIG_INCLUDES}" != "x"; then
37843 if test "x$with_SWIG_INCLUDES" = "x"; then
37844 with_SWIG_INCLUDES="${gr_usrp2_SWIG_INCLUDES}"
37846 with_SWIG_INCLUDES="${gr_usrp2_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
37848 gr_usrp2_SWIG_INCLUDES=
37852 if test "x${gr_usrp2_PYDIRPATH}" != "x"; then
37853 if test "x$with_PYDIRPATH" = "x"; then
37854 with_PYDIRPATH="${gr_usrp2_PYDIRPATH}"
37856 with_PYDIRPATH="${gr_usrp2_PYDIRPATH}"":""$with_PYDIRPATH"
37858 gr_usrp2_PYDIRPATH=
37862 if test "x${gr_usrp2_SWIGDIRPATH}" != "x"; then
37863 if test "x$with_SWIGDIRPATH" = "x"; then
37864 with_SWIGDIRPATH="${gr_usrp2_SWIGDIRPATH}"
37866 with_SWIGDIRPATH="${gr_usrp2_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
37868 gr_usrp2_SWIGDIRPATH=
37872 if test "x${gr_usrp2_LIBDIRPATH}" != "x"; then
37873 if test "x$with_LIBDIRPATH" = "x"; then
37874 with_LIBDIRPATH="${gr_usrp2_LIBDIRPATH}"
37876 with_LIBDIRPATH="${gr_usrp2_LIBDIRPATH}"":""$with_LIBDIRPATH"
37878 gr_usrp2_LIBDIRPATH=
37881 { $as_echo "$as_me:$LINENO: result: Component gr-usrp2 will be included from a pre-installed library and includes." >&5
37882 $as_echo "Component gr-usrp2 will be included from a pre-installed library and includes." >&6; }
37886 if test x$enable_gr_usrp2 != xno; then
37887 ac_config_commands="$ac_config_commands run_tests_usrp2"
37890 build_dirs="$build_dirs gr-usrp2"
37891 { $as_echo "$as_me:$LINENO: result: Component gr-usrp2 passed configuration checks; building." >&5
37892 $as_echo "Component gr-usrp2 passed configuration checks; building." >&6; }
37895 { $as_echo "$as_me:$LINENO: result: Component gr-usrp2 passed configuration checks; but not building." >&5
37896 $as_echo "Component gr-usrp2 passed configuration checks; but not building." >&6; }
37900 if test $passed = no; then
37901 skipped_dirs="$skipped_dirs gr-usrp2"
37902 gr_usrp2_skipped=yes
37904 gr_usrp2_skipped=no
37918 # Check whether --enable-gr-gcell was given.
37919 if test "${enable_gr_gcell+set}" = set; then
37920 enableval=$enable_gr_gcell;
37923 enable_gr_gcell=$enable_all_components
37924 if test x$enable_all_components = xno; then
37934 if test $passed != no; then
37935 if test $passed = yes; then
37936 if test x$gcell_skipped = xyes; then
37937 { $as_echo "$as_me:$LINENO: result: Component gr-gcell requires gcell, which is not being built or specified via pre-installed files." >&5
37938 $as_echo "Component gr-gcell requires gcell, which is not being built or specified via pre-installed files." >&6; }
37942 if test x$gcell_with = xno; then
37943 { { $as_echo "$as_me:$LINENO: error: Component gr-gcell requires gcell to be included as --with-gcell[=arg]" >&5
37944 $as_echo "$as_me: error: Component gr-gcell requires gcell to be included as --with-gcell[=arg]" >&2;}
37945 { (exit 1); exit 1; }; }
37951 if test $passed != no; then
37952 if test $passed = yes; then
37953 if test x$gnuradio_core_skipped = xyes; then
37954 { $as_echo "$as_me:$LINENO: result: Component gr-gcell requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
37955 $as_echo "Component gr-gcell requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
37959 if test x$gnuradio_core_with = xno; then
37960 { { $as_echo "$as_me:$LINENO: error: Component gr-gcell requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
37961 $as_echo "$as_me: error: Component gr-gcell requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
37962 { (exit 1); exit 1; }; }
37968 ac_config_files="$ac_config_files gr-gcell/Makefile gr-gcell/src/Makefile gr-gcell/src/examples/Makefile gr-gcell/src/run_tests"
37974 if test $passed = no; then
37975 if test x$enable_gr_gcell = xyes; then
37976 { { $as_echo "$as_me:$LINENO: error: Component gr-gcell has errors; stopping." >&5
37977 $as_echo "$as_me: error: Component gr-gcell has errors; stopping." >&2;}
37978 { (exit 1); exit 1; }; }
37980 { $as_echo "$as_me:$LINENO: result: Not building component gr-gcell." >&5
37981 $as_echo "Not building component gr-gcell." >&6; }
37984 if test $passed = with; then
37985 with_dirs="$with_dirs gr-gcell"
37987 if test "x${gr_gcell_INCLUDES}" != "x"; then
37988 if test "x$with_INCLUDES" = "x"; then
37989 with_INCLUDES="${gr_gcell_INCLUDES}"
37991 with_INCLUDES="${gr_gcell_INCLUDES}"" ""$with_INCLUDES"
37997 if test "x${gr_gcell_SWIG_INCLUDES}" != "x"; then
37998 if test "x$with_SWIG_INCLUDES" = "x"; then
37999 with_SWIG_INCLUDES="${gr_gcell_SWIG_INCLUDES}"
38001 with_SWIG_INCLUDES="${gr_gcell_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
38003 gr_gcell_SWIG_INCLUDES=
38007 if test "x${gr_gcell_PYDIRPATH}" != "x"; then
38008 if test "x$with_PYDIRPATH" = "x"; then
38009 with_PYDIRPATH="${gr_gcell_PYDIRPATH}"
38011 with_PYDIRPATH="${gr_gcell_PYDIRPATH}"":""$with_PYDIRPATH"
38013 gr_gcell_PYDIRPATH=
38017 if test "x${gr_gcell_SWIGDIRPATH}" != "x"; then
38018 if test "x$with_SWIGDIRPATH" = "x"; then
38019 with_SWIGDIRPATH="${gr_gcell_SWIGDIRPATH}"
38021 with_SWIGDIRPATH="${gr_gcell_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
38023 gr_gcell_SWIGDIRPATH=
38027 if test "x${gr_gcell_LIBDIRPATH}" != "x"; then
38028 if test "x$with_LIBDIRPATH" = "x"; then
38029 with_LIBDIRPATH="${gr_gcell_LIBDIRPATH}"
38031 with_LIBDIRPATH="${gr_gcell_LIBDIRPATH}"":""$with_LIBDIRPATH"
38033 gr_gcell_LIBDIRPATH=
38036 { $as_echo "$as_me:$LINENO: result: Component gr-gcell will be included from a pre-installed library and includes." >&5
38037 $as_echo "Component gr-gcell will be included from a pre-installed library and includes." >&6; }
38041 if test x$enable_gr_gcell != xno; then
38042 ac_config_commands="$ac_config_commands run_tests_gcell"
38045 build_dirs="$build_dirs gr-gcell"
38046 { $as_echo "$as_me:$LINENO: result: Component gr-gcell passed configuration checks; building." >&5
38047 $as_echo "Component gr-gcell passed configuration checks; building." >&6; }
38050 { $as_echo "$as_me:$LINENO: result: Component gr-gcell passed configuration checks; but not building." >&5
38051 $as_echo "Component gr-gcell passed configuration checks; but not building." >&6; }
38055 if test $passed = no; then
38056 skipped_dirs="$skipped_dirs gr-gcell"
38057 gr_gcell_skipped=yes
38059 gr_gcell_skipped=no
38072 # Check whether --enable-gr-audio-alsa was given.
38073 if test "${enable_gr_audio_alsa+set}" = set; then
38074 enableval=$enable_gr_audio_alsa;
38077 enable_gr_audio_alsa=$enable_all_components
38078 if test x$enable_all_components = xno; then
38088 if test $passed != no; then
38089 if test $passed = yes; then
38090 if test x$gnuradio_core_skipped = xyes; then
38091 { $as_echo "$as_me:$LINENO: result: Component gr-audio-alsa requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
38092 $as_echo "Component gr-audio-alsa requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
38096 if test x$gnuradio_core_with = xno; then
38097 { { $as_echo "$as_me:$LINENO: error: Component gr-audio-alsa requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
38098 $as_echo "$as_me: error: Component gr-audio-alsa requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
38099 { (exit 1); exit 1; }; }
38105 if test $passed = yes; then
38110 { $as_echo "$as_me:$LINENO: checking for ALSA" >&5
38111 $as_echo_n "checking for ALSA... " >&6; }
38113 if test -n "$PKG_CONFIG"; then
38114 if test -n "$ALSA_CFLAGS"; then
38115 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
38117 if test -n "$PKG_CONFIG" && \
38118 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9\"") >&5
38119 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9") 2>&5
38121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38122 (exit $ac_status); }; then
38123 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 0.9" 2>/dev/null`
38132 if test x$cross_compiling = xyes
38134 if test -n "$PKG_CONFIG"; then
38135 if test -n "$ALSA_LIBS"; then
38136 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
38138 if test -n "$PKG_CONFIG" && \
38139 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9\"") >&5
38140 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9") 2>&5
38142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38143 (exit $ac_status); }; then
38144 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs --static "alsa >= 0.9" 2>/dev/null`
38153 for flag in $pkg_cv_ALSA_LIBS; do
38155 (-L/lib* | -L/usr/lib* ) ;; # ignore
38156 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
38159 pkg_cv_ALSA_LIBS="$_pkg_tmp"
38161 if test -n "$PKG_CONFIG"; then
38162 if test -n "$ALSA_LIBS"; then
38163 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
38165 if test -n "$PKG_CONFIG" && \
38166 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9\"") >&5
38167 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9") 2>&5
38169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38170 (exit $ac_status); }; then
38171 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs --static "alsa >= 0.9" 2>/dev/null`
38181 if test -n "$PKG_CONFIG"; then
38182 if test -n "$ALSA_INCLUDEDIR"; then
38183 pkg_cv_ALSA_INCLUDEDIR="$ALSA_INCLUDEDIR"
38185 if test -n "$PKG_CONFIG" && \
38186 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9\"") >&5
38187 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9") 2>&5
38189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38190 (exit $ac_status); }; then
38191 pkg_cv_ALSA_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "alsa >= 0.9" 2>/dev/null`
38203 if test $pkg_failed = yes; then
38205 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
38206 _pkg_short_errors_supported=yes
38208 _pkg_short_errors_supported=no
38210 if test $_pkg_short_errors_supported = yes; then
38211 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "alsa >= 0.9"`
38213 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa >= 0.9"`
38215 # Put the nasty error message in config.log where it belongs
38216 echo "$ALSA_PKG_ERRORS" >&5
38218 { $as_echo "$as_me:$LINENO: result: no" >&5
38219 $as_echo "no" >&6; }
38220 passed=no;{ $as_echo "$as_me:$LINENO: result: gr-audio-alsa requires package alsa, not found." >&5
38221 $as_echo "gr-audio-alsa requires package alsa, not found." >&6; }
38222 elif test $pkg_failed = untried; then
38223 passed=no;{ $as_echo "$as_me:$LINENO: result: gr-audio-alsa requires package alsa, not found." >&5
38224 $as_echo "gr-audio-alsa requires package alsa, not found." >&6; }
38226 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
38227 ALSA_LIBS=$pkg_cv_ALSA_LIBS
38228 ALSA_INCLUDEDIR=$pkg_cv_ALSA_INCLUDEDIR
38231 for flag in $ALSA_CFLAGS; do
38233 -I* | -D* | -U*) ALSA_CPPFLAGS="$ALSA_CPPFLAGS $flag" ;;
38236 pkg_cv_ALSA_CPPFLAGS=$ALSA_CPPFLAGS
38239 { $as_echo "$as_me:$LINENO: result: yes" >&5
38240 $as_echo "yes" >&6; }
38245 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"
38250 gr_audio_alsa_with=no
38251 if test $passed = no; then
38252 if test x$enable_gr_audio_alsa = xyes; then
38253 { { $as_echo "$as_me:$LINENO: error: Component gr-audio-alsa has errors; stopping." >&5
38254 $as_echo "$as_me: error: Component gr-audio-alsa has errors; stopping." >&2;}
38255 { (exit 1); exit 1; }; }
38257 { $as_echo "$as_me:$LINENO: result: Not building component gr-audio-alsa." >&5
38258 $as_echo "Not building component gr-audio-alsa." >&6; }
38261 if test $passed = with; then
38262 with_dirs="$with_dirs gr-audio-alsa"
38264 if test "x${gr_audio_alsa_INCLUDES}" != "x"; then
38265 if test "x$with_INCLUDES" = "x"; then
38266 with_INCLUDES="${gr_audio_alsa_INCLUDES}"
38268 with_INCLUDES="${gr_audio_alsa_INCLUDES}"" ""$with_INCLUDES"
38270 gr_audio_alsa_INCLUDES=
38274 if test "x${gr_audio_alsa_SWIG_INCLUDES}" != "x"; then
38275 if test "x$with_SWIG_INCLUDES" = "x"; then
38276 with_SWIG_INCLUDES="${gr_audio_alsa_SWIG_INCLUDES}"
38278 with_SWIG_INCLUDES="${gr_audio_alsa_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
38280 gr_audio_alsa_SWIG_INCLUDES=
38284 if test "x${gr_audio_alsa_PYDIRPATH}" != "x"; then
38285 if test "x$with_PYDIRPATH" = "x"; then
38286 with_PYDIRPATH="${gr_audio_alsa_PYDIRPATH}"
38288 with_PYDIRPATH="${gr_audio_alsa_PYDIRPATH}"":""$with_PYDIRPATH"
38290 gr_audio_alsa_PYDIRPATH=
38294 if test "x${gr_audio_alsa_SWIGDIRPATH}" != "x"; then
38295 if test "x$with_SWIGDIRPATH" = "x"; then
38296 with_SWIGDIRPATH="${gr_audio_alsa_SWIGDIRPATH}"
38298 with_SWIGDIRPATH="${gr_audio_alsa_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
38300 gr_audio_alsa_SWIGDIRPATH=
38304 if test "x${gr_audio_alsa_LIBDIRPATH}" != "x"; then
38305 if test "x$with_LIBDIRPATH" = "x"; then
38306 with_LIBDIRPATH="${gr_audio_alsa_LIBDIRPATH}"
38308 with_LIBDIRPATH="${gr_audio_alsa_LIBDIRPATH}"":""$with_LIBDIRPATH"
38310 gr_audio_alsa_LIBDIRPATH=
38313 { $as_echo "$as_me:$LINENO: result: Component gr-audio-alsa will be included from a pre-installed library and includes." >&5
38314 $as_echo "Component gr-audio-alsa will be included from a pre-installed library and includes." >&6; }
38315 gr_audio_alsa_with=yes
38317 gr_audio_alsa_LDFLAG=
38318 if test x$enable_gr_audio_alsa != xno; then
38319 ac_config_commands="$ac_config_commands run_tests_alsa"
38322 build_dirs="$build_dirs gr-audio-alsa"
38323 { $as_echo "$as_me:$LINENO: result: Component gr-audio-alsa passed configuration checks; building." >&5
38324 $as_echo "Component gr-audio-alsa passed configuration checks; building." >&6; }
38327 { $as_echo "$as_me:$LINENO: result: Component gr-audio-alsa passed configuration checks; but not building." >&5
38328 $as_echo "Component gr-audio-alsa passed configuration checks; but not building." >&6; }
38332 if test $passed = no; then
38333 skipped_dirs="$skipped_dirs gr-audio-alsa"
38334 gr_audio_alsa_skipped=yes
38336 gr_audio_alsa_skipped=no
38350 # Check whether --enable-gr-audio-jack was given.
38351 if test "${enable_gr_audio_jack+set}" = set; then
38352 enableval=$enable_gr_audio_jack;
38355 enable_gr_audio_jack=$enable_all_components
38356 if test x$enable_all_components = xno; then
38366 if test $passed != no; then
38367 if test $passed = yes; then
38368 if test x$gnuradio_core_skipped = xyes; then
38369 { $as_echo "$as_me:$LINENO: result: Component gr-audio-jack requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
38370 $as_echo "Component gr-audio-jack requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
38374 if test x$gnuradio_core_with = xno; then
38375 { { $as_echo "$as_me:$LINENO: error: Component gr-audio-jack requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
38376 $as_echo "$as_me: error: Component gr-audio-jack requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
38377 { (exit 1); exit 1; }; }
38383 if test $passed = yes; then
38388 { $as_echo "$as_me:$LINENO: checking for JACK" >&5
38389 $as_echo_n "checking for JACK... " >&6; }
38391 if test -n "$PKG_CONFIG"; then
38392 if test -n "$JACK_CFLAGS"; then
38393 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
38395 if test -n "$PKG_CONFIG" && \
38396 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"jack >= 0.8\"") >&5
38397 ($PKG_CONFIG --exists --print-errors "jack >= 0.8") 2>&5
38399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38400 (exit $ac_status); }; then
38401 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.8" 2>/dev/null`
38410 if test x$cross_compiling = xyes
38412 if test -n "$PKG_CONFIG"; then
38413 if test -n "$JACK_LIBS"; then
38414 pkg_cv_JACK_LIBS="$JACK_LIBS"
38416 if test -n "$PKG_CONFIG" && \
38417 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"jack >= 0.8\"") >&5
38418 ($PKG_CONFIG --exists --print-errors "jack >= 0.8") 2>&5
38420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38421 (exit $ac_status); }; then
38422 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs --static "jack >= 0.8" 2>/dev/null`
38431 for flag in $pkg_cv_JACK_LIBS; do
38433 (-L/lib* | -L/usr/lib* ) ;; # ignore
38434 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
38437 pkg_cv_JACK_LIBS="$_pkg_tmp"
38439 if test -n "$PKG_CONFIG"; then
38440 if test -n "$JACK_LIBS"; then
38441 pkg_cv_JACK_LIBS="$JACK_LIBS"
38443 if test -n "$PKG_CONFIG" && \
38444 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"jack >= 0.8\"") >&5
38445 ($PKG_CONFIG --exists --print-errors "jack >= 0.8") 2>&5
38447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38448 (exit $ac_status); }; then
38449 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs --static "jack >= 0.8" 2>/dev/null`
38459 if test -n "$PKG_CONFIG"; then
38460 if test -n "$JACK_INCLUDEDIR"; then
38461 pkg_cv_JACK_INCLUDEDIR="$JACK_INCLUDEDIR"
38463 if test -n "$PKG_CONFIG" && \
38464 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"jack >= 0.8\"") >&5
38465 ($PKG_CONFIG --exists --print-errors "jack >= 0.8") 2>&5
38467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38468 (exit $ac_status); }; then
38469 pkg_cv_JACK_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "jack >= 0.8" 2>/dev/null`
38481 if test $pkg_failed = yes; then
38483 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
38484 _pkg_short_errors_supported=yes
38486 _pkg_short_errors_supported=no
38488 if test $_pkg_short_errors_supported = yes; then
38489 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "jack >= 0.8"`
38491 JACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "jack >= 0.8"`
38493 # Put the nasty error message in config.log where it belongs
38494 echo "$JACK_PKG_ERRORS" >&5
38496 { $as_echo "$as_me:$LINENO: result: no" >&5
38497 $as_echo "no" >&6; }
38498 passed=no;{ $as_echo "$as_me:$LINENO: result: gr-audio-jack requires package jack, not found." >&5
38499 $as_echo "gr-audio-jack requires package jack, not found." >&6; }
38500 elif test $pkg_failed = untried; then
38501 passed=no;{ $as_echo "$as_me:$LINENO: result: gr-audio-jack requires package jack, not found." >&5
38502 $as_echo "gr-audio-jack requires package jack, not found." >&6; }
38504 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
38505 JACK_LIBS=$pkg_cv_JACK_LIBS
38506 JACK_INCLUDEDIR=$pkg_cv_JACK_INCLUDEDIR
38509 for flag in $JACK_CFLAGS; do
38511 -I* | -D* | -U*) JACK_CPPFLAGS="$JACK_CPPFLAGS $flag" ;;
38514 pkg_cv_JACK_CPPFLAGS=$JACK_CPPFLAGS
38517 { $as_echo "$as_me:$LINENO: result: yes" >&5
38518 $as_echo "yes" >&6; }
38523 ac_config_files="$ac_config_files gr-audio-jack/Makefile gr-audio-jack/src/Makefile gr-audio-jack/src/run_tests"
38528 gr_audio_jack_with=no
38529 if test $passed = no; then
38530 if test x$enable_gr_audio_jack = xyes; then
38531 { { $as_echo "$as_me:$LINENO: error: Component gr-audio-jack has errors; stopping." >&5
38532 $as_echo "$as_me: error: Component gr-audio-jack has errors; stopping." >&2;}
38533 { (exit 1); exit 1; }; }
38535 { $as_echo "$as_me:$LINENO: result: Not building component gr-audio-jack." >&5
38536 $as_echo "Not building component gr-audio-jack." >&6; }
38539 if test $passed = with; then
38540 with_dirs="$with_dirs gr-audio-jack"
38542 if test "x${gr_audio_jack_INCLUDES}" != "x"; then
38543 if test "x$with_INCLUDES" = "x"; then
38544 with_INCLUDES="${gr_audio_jack_INCLUDES}"
38546 with_INCLUDES="${gr_audio_jack_INCLUDES}"" ""$with_INCLUDES"
38548 gr_audio_jack_INCLUDES=
38552 if test "x${gr_audio_jack_SWIG_INCLUDES}" != "x"; then
38553 if test "x$with_SWIG_INCLUDES" = "x"; then
38554 with_SWIG_INCLUDES="${gr_audio_jack_SWIG_INCLUDES}"
38556 with_SWIG_INCLUDES="${gr_audio_jack_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
38558 gr_audio_jack_SWIG_INCLUDES=
38562 if test "x${gr_audio_jack_PYDIRPATH}" != "x"; then
38563 if test "x$with_PYDIRPATH" = "x"; then
38564 with_PYDIRPATH="${gr_audio_jack_PYDIRPATH}"
38566 with_PYDIRPATH="${gr_audio_jack_PYDIRPATH}"":""$with_PYDIRPATH"
38568 gr_audio_jack_PYDIRPATH=
38572 if test "x${gr_audio_jack_SWIGDIRPATH}" != "x"; then
38573 if test "x$with_SWIGDIRPATH" = "x"; then
38574 with_SWIGDIRPATH="${gr_audio_jack_SWIGDIRPATH}"
38576 with_SWIGDIRPATH="${gr_audio_jack_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
38578 gr_audio_jack_SWIGDIRPATH=
38582 if test "x${gr_audio_jack_LIBDIRPATH}" != "x"; then
38583 if test "x$with_LIBDIRPATH" = "x"; then
38584 with_LIBDIRPATH="${gr_audio_jack_LIBDIRPATH}"
38586 with_LIBDIRPATH="${gr_audio_jack_LIBDIRPATH}"":""$with_LIBDIRPATH"
38588 gr_audio_jack_LIBDIRPATH=
38591 { $as_echo "$as_me:$LINENO: result: Component gr-audio-jack will be included from a pre-installed library and includes." >&5
38592 $as_echo "Component gr-audio-jack will be included from a pre-installed library and includes." >&6; }
38593 gr_audio_jack_with=yes
38595 gr_audio_jack_LDFLAG=
38596 if test x$enable_gr_audio_jack != xno; then
38597 ac_config_commands="$ac_config_commands run_tests_jack"
38600 build_dirs="$build_dirs gr-audio-jack"
38601 { $as_echo "$as_me:$LINENO: result: Component gr-audio-jack passed configuration checks; building." >&5
38602 $as_echo "Component gr-audio-jack passed configuration checks; building." >&6; }
38605 { $as_echo "$as_me:$LINENO: result: Component gr-audio-jack passed configuration checks; but not building." >&5
38606 $as_echo "Component gr-audio-jack passed configuration checks; but not building." >&6; }
38610 if test $passed = no; then
38611 skipped_dirs="$skipped_dirs gr-audio-jack"
38612 gr_audio_jack_skipped=yes
38614 gr_audio_jack_skipped=no
38628 # Check whether --enable-gr-audio-oss was given.
38629 if test "${enable_gr_audio_oss+set}" = set; then
38630 enableval=$enable_gr_audio_oss;
38633 enable_gr_audio_oss=$enable_all_components
38634 if test x$enable_all_components = xno; then
38644 if test $passed != no; then
38645 if test $passed = yes; then
38646 if test x$gnuradio_core_skipped = xyes; then
38647 { $as_echo "$as_me:$LINENO: result: Component gr-audio-oss requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
38648 $as_echo "Component gr-audio-oss requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
38652 if test x$gnuradio_core_with = xno; then
38653 { { $as_echo "$as_me:$LINENO: error: Component gr-audio-oss requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
38654 $as_echo "$as_me: error: Component gr-audio-oss requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
38655 { (exit 1); exit 1; }; }
38661 if test $passed = yes; then
38665 { $as_echo "$as_me:$LINENO: checking for main in -lossaudio" >&5
38666 $as_echo_n "checking for main in -lossaudio... " >&6; }
38667 if test "${ac_cv_lib_ossaudio_main+set}" = set; then
38668 $as_echo_n "(cached) " >&6
38670 ac_check_lib_save_LIBS=$LIBS
38671 LIBS="-lossaudio $LIBS"
38672 cat >conftest.$ac_ext <<_ACEOF
38675 cat confdefs.h >>conftest.$ac_ext
38676 cat >>conftest.$ac_ext <<_ACEOF
38677 /* end confdefs.h. */
38688 rm -f conftest.$ac_objext conftest$ac_exeext
38689 if { (ac_try="$ac_link"
38690 case "(($ac_try" in
38691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38692 *) ac_try_echo=$ac_try;;
38694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38695 $as_echo "$ac_try_echo") >&5
38696 (eval "$ac_link") 2>conftest.er1
38698 grep -v '^ *+' conftest.er1 >conftest.err
38700 cat conftest.err >&5
38701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38702 (exit $ac_status); } && {
38703 test -z "$ac_c_werror_flag" ||
38704 test ! -s conftest.err
38705 } && test -s conftest$ac_exeext && {
38706 test "$cross_compiling" = yes ||
38707 $as_test_x conftest$ac_exeext
38709 ac_cv_lib_ossaudio_main=yes
38711 $as_echo "$as_me: failed program was:" >&5
38712 sed 's/^/| /' conftest.$ac_ext >&5
38714 ac_cv_lib_ossaudio_main=no
38717 rm -rf conftest.dSYM
38718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38719 conftest$ac_exeext conftest.$ac_ext
38720 LIBS=$ac_check_lib_save_LIBS
38722 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio_main" >&5
38723 $as_echo "$ac_cv_lib_ossaudio_main" >&6; }
38724 if test "x$ac_cv_lib_ossaudio_main" = x""yes; then
38725 cat >>confdefs.h <<_ACEOF
38726 #define HAVE_LIBOSSAUDIO 1
38729 LIBS="-lossaudio $LIBS"
38732 passed=no;{ $as_echo "$as_me:$LINENO: result: gr-audio-oss requires library ossaudio, not found." >&5
38733 $as_echo "gr-audio-oss requires library ossaudio, not found." >&6; }
38735 ac_cv_lib_ossaudio=ac_cv_lib_ossaudio_main
38737 if test $passed != no; then
38738 OSS_LIBS=-lossaudio
38740 { $as_echo "$as_me:$LINENO: result: Using OSS library $OSS_LIBS" >&5
38741 $as_echo "Using OSS library $OSS_LIBS" >&6; }
38748 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
38749 { $as_echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
38750 $as_echo_n "checking for sys/soundcard.h... " >&6; }
38751 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
38752 $as_echo_n "(cached) " >&6
38754 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
38755 $as_echo "$ac_cv_header_sys_soundcard_h" >&6; }
38757 # Is the header compilable?
38758 { $as_echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5
38759 $as_echo_n "checking sys/soundcard.h usability... " >&6; }
38760 cat >conftest.$ac_ext <<_ACEOF
38763 cat confdefs.h >>conftest.$ac_ext
38764 cat >>conftest.$ac_ext <<_ACEOF
38765 /* end confdefs.h. */
38766 $ac_includes_default
38767 #include <sys/soundcard.h>
38769 rm -f conftest.$ac_objext
38770 if { (ac_try="$ac_compile"
38771 case "(($ac_try" in
38772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38773 *) ac_try_echo=$ac_try;;
38775 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38776 $as_echo "$ac_try_echo") >&5
38777 (eval "$ac_compile") 2>conftest.er1
38779 grep -v '^ *+' conftest.er1 >conftest.err
38781 cat conftest.err >&5
38782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38783 (exit $ac_status); } && {
38784 test -z "$ac_c_werror_flag" ||
38785 test ! -s conftest.err
38786 } && test -s conftest.$ac_objext; then
38787 ac_header_compiler=yes
38789 $as_echo "$as_me: failed program was:" >&5
38790 sed 's/^/| /' conftest.$ac_ext >&5
38792 ac_header_compiler=no
38795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38796 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38797 $as_echo "$ac_header_compiler" >&6; }
38799 # Is the header present?
38800 { $as_echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5
38801 $as_echo_n "checking sys/soundcard.h presence... " >&6; }
38802 cat >conftest.$ac_ext <<_ACEOF
38805 cat confdefs.h >>conftest.$ac_ext
38806 cat >>conftest.$ac_ext <<_ACEOF
38807 /* end confdefs.h. */
38808 #include <sys/soundcard.h>
38810 if { (ac_try="$ac_cpp conftest.$ac_ext"
38811 case "(($ac_try" in
38812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38813 *) ac_try_echo=$ac_try;;
38815 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38816 $as_echo "$ac_try_echo") >&5
38817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
38819 grep -v '^ *+' conftest.er1 >conftest.err
38821 cat conftest.err >&5
38822 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38823 (exit $ac_status); } >/dev/null && {
38824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
38825 test ! -s conftest.err
38827 ac_header_preproc=yes
38829 $as_echo "$as_me: failed program was:" >&5
38830 sed 's/^/| /' conftest.$ac_ext >&5
38832 ac_header_preproc=no
38835 rm -f conftest.err conftest.$ac_ext
38836 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38837 $as_echo "$ac_header_preproc" >&6; }
38839 # So? What about this header?
38840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38842 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
38843 $as_echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
38844 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5
38845 $as_echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;}
38846 ac_header_preproc=yes
38849 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5
38850 $as_echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;}
38851 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5
38852 $as_echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;}
38853 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5
38854 $as_echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;}
38855 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5
38856 $as_echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;}
38857 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5
38858 $as_echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;}
38859 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5
38860 $as_echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;}
38864 { $as_echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
38865 $as_echo_n "checking for sys/soundcard.h... " >&6; }
38866 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
38867 $as_echo_n "(cached) " >&6
38869 ac_cv_header_sys_soundcard_h=$ac_header_preproc
38871 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
38872 $as_echo "$ac_cv_header_sys_soundcard_h" >&6; }
38875 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then
38878 passed=no;{ $as_echo "$as_me:$LINENO: result: gr-audio-oss requires sys/soundcard.h, not found." >&5
38879 $as_echo "gr-audio-oss requires sys/soundcard.h, not found." >&6; }
38886 ac_config_files="$ac_config_files gr-audio-oss/Makefile gr-audio-oss/src/Makefile gr-audio-oss/src/run_tests"
38891 gr_audio_oss_with=no
38892 if test $passed = no; then
38893 if test x$enable_gr_audio_oss = xyes; then
38894 { { $as_echo "$as_me:$LINENO: error: Component gr-audio-oss has errors; stopping." >&5
38895 $as_echo "$as_me: error: Component gr-audio-oss has errors; stopping." >&2;}
38896 { (exit 1); exit 1; }; }
38898 { $as_echo "$as_me:$LINENO: result: Not building component gr-audio-oss." >&5
38899 $as_echo "Not building component gr-audio-oss." >&6; }
38902 if test $passed = with; then
38903 with_dirs="$with_dirs gr-audio-oss"
38905 if test "x${gr_audio_oss_INCLUDES}" != "x"; then
38906 if test "x$with_INCLUDES" = "x"; then
38907 with_INCLUDES="${gr_audio_oss_INCLUDES}"
38909 with_INCLUDES="${gr_audio_oss_INCLUDES}"" ""$with_INCLUDES"
38911 gr_audio_oss_INCLUDES=
38915 if test "x${gr_audio_oss_SWIG_INCLUDES}" != "x"; then
38916 if test "x$with_SWIG_INCLUDES" = "x"; then
38917 with_SWIG_INCLUDES="${gr_audio_oss_SWIG_INCLUDES}"
38919 with_SWIG_INCLUDES="${gr_audio_oss_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
38921 gr_audio_oss_SWIG_INCLUDES=
38925 if test "x${gr_audio_oss_PYDIRPATH}" != "x"; then
38926 if test "x$with_PYDIRPATH" = "x"; then
38927 with_PYDIRPATH="${gr_audio_oss_PYDIRPATH}"
38929 with_PYDIRPATH="${gr_audio_oss_PYDIRPATH}"":""$with_PYDIRPATH"
38931 gr_audio_oss_PYDIRPATH=
38935 if test "x${gr_audio_oss_SWIGDIRPATH}" != "x"; then
38936 if test "x$with_SWIGDIRPATH" = "x"; then
38937 with_SWIGDIRPATH="${gr_audio_oss_SWIGDIRPATH}"
38939 with_SWIGDIRPATH="${gr_audio_oss_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
38941 gr_audio_oss_SWIGDIRPATH=
38945 if test "x${gr_audio_oss_LIBDIRPATH}" != "x"; then
38946 if test "x$with_LIBDIRPATH" = "x"; then
38947 with_LIBDIRPATH="${gr_audio_oss_LIBDIRPATH}"
38949 with_LIBDIRPATH="${gr_audio_oss_LIBDIRPATH}"":""$with_LIBDIRPATH"
38951 gr_audio_oss_LIBDIRPATH=
38954 { $as_echo "$as_me:$LINENO: result: Component gr-audio-oss will be included from a pre-installed library and includes." >&5
38955 $as_echo "Component gr-audio-oss will be included from a pre-installed library and includes." >&6; }
38956 gr_audio_oss_with=yes
38958 gr_audio_oss_LDFLAG=
38959 if test x$enable_gr_audio_oss != xno; then
38960 ac_config_commands="$ac_config_commands run_tests_oss"
38963 build_dirs="$build_dirs gr-audio-oss"
38964 { $as_echo "$as_me:$LINENO: result: Component gr-audio-oss passed configuration checks; building." >&5
38965 $as_echo "Component gr-audio-oss passed configuration checks; building." >&6; }
38968 { $as_echo "$as_me:$LINENO: result: Component gr-audio-oss passed configuration checks; but not building." >&5
38969 $as_echo "Component gr-audio-oss passed configuration checks; but not building." >&6; }
38973 if test $passed = no; then
38974 skipped_dirs="$skipped_dirs gr-audio-oss"
38975 gr_audio_oss_skipped=yes
38977 gr_audio_oss_skipped=no
38991 # Check whether --enable-gr-audio-osx was given.
38992 if test "${enable_gr_audio_osx+set}" = set; then
38993 enableval=$enable_gr_audio_osx;
38996 enable_gr_audio_osx=$enable_all_components
38997 if test x$enable_all_components = xno; then
39007 if test $passed != no; then
39008 if test $passed = yes; then
39009 if test x$omnithread_skipped = xyes; then
39010 { $as_echo "$as_me:$LINENO: result: Component gr-audio-osx requires omnithread, which is not being built or specified via pre-installed files." >&5
39011 $as_echo "Component gr-audio-osx requires omnithread, which is not being built or specified via pre-installed files." >&6; }
39015 if test x$omnithread_with = xno; then
39016 { { $as_echo "$as_me:$LINENO: error: Component gr-audio-osx requires omnithread to be included as --with-omnithread[=arg]" >&5
39017 $as_echo "$as_me: error: Component gr-audio-osx requires omnithread to be included as --with-omnithread[=arg]" >&2;}
39018 { (exit 1); exit 1; }; }
39024 if test $passed != no; then
39025 if test $passed = yes; then
39026 if test x$gnuradio_core_skipped = xyes; then
39027 { $as_echo "$as_me:$LINENO: result: Component gr-audio-osx requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
39028 $as_echo "Component gr-audio-osx requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
39032 if test x$gnuradio_core_with = xno; then
39033 { { $as_echo "$as_me:$LINENO: error: Component gr-audio-osx requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
39034 $as_echo "$as_me: error: Component gr-audio-osx requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
39035 { (exit 1); exit 1; }; }
39041 if test $passed = yes; then
39050 { $as_echo "$as_me:$LINENO: result: gr-audio-osx requires darwin or MacOS X." >&5
39051 $as_echo "gr-audio-osx requires darwin or MacOS X." >&6; }
39055 for ac_header in AudioUnit/AudioUnit.h
39057 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
39058 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39059 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
39060 $as_echo_n "checking for $ac_header... " >&6; }
39061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39062 $as_echo_n "(cached) " >&6
39064 ac_res=`eval 'as_val=${'$as_ac_Header'}
39065 $as_echo "$as_val"'`
39066 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
39067 $as_echo "$ac_res" >&6; }
39069 # Is the header compilable?
39070 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
39071 $as_echo_n "checking $ac_header usability... " >&6; }
39072 cat >conftest.$ac_ext <<_ACEOF
39075 cat confdefs.h >>conftest.$ac_ext
39076 cat >>conftest.$ac_ext <<_ACEOF
39077 /* end confdefs.h. */
39078 $ac_includes_default
39079 #include <$ac_header>
39081 rm -f conftest.$ac_objext
39082 if { (ac_try="$ac_compile"
39083 case "(($ac_try" in
39084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39085 *) ac_try_echo=$ac_try;;
39087 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39088 $as_echo "$ac_try_echo") >&5
39089 (eval "$ac_compile") 2>conftest.er1
39091 grep -v '^ *+' conftest.er1 >conftest.err
39093 cat conftest.err >&5
39094 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39095 (exit $ac_status); } && {
39096 test -z "$ac_c_werror_flag" ||
39097 test ! -s conftest.err
39098 } && test -s conftest.$ac_objext; then
39099 ac_header_compiler=yes
39101 $as_echo "$as_me: failed program was:" >&5
39102 sed 's/^/| /' conftest.$ac_ext >&5
39104 ac_header_compiler=no
39107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39108 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39109 $as_echo "$ac_header_compiler" >&6; }
39111 # Is the header present?
39112 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
39113 $as_echo_n "checking $ac_header presence... " >&6; }
39114 cat >conftest.$ac_ext <<_ACEOF
39117 cat confdefs.h >>conftest.$ac_ext
39118 cat >>conftest.$ac_ext <<_ACEOF
39119 /* end confdefs.h. */
39120 #include <$ac_header>
39122 if { (ac_try="$ac_cpp conftest.$ac_ext"
39123 case "(($ac_try" in
39124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39125 *) ac_try_echo=$ac_try;;
39127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39128 $as_echo "$ac_try_echo") >&5
39129 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
39131 grep -v '^ *+' conftest.er1 >conftest.err
39133 cat conftest.err >&5
39134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39135 (exit $ac_status); } >/dev/null && {
39136 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
39137 test ! -s conftest.err
39139 ac_header_preproc=yes
39141 $as_echo "$as_me: failed program was:" >&5
39142 sed 's/^/| /' conftest.$ac_ext >&5
39144 ac_header_preproc=no
39147 rm -f conftest.err conftest.$ac_ext
39148 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39149 $as_echo "$ac_header_preproc" >&6; }
39151 # So? What about this header?
39152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39154 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39155 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39156 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39157 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39158 ac_header_preproc=yes
39161 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39162 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39163 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39164 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39165 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39166 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39167 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39168 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39169 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39170 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39171 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39172 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39176 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
39177 $as_echo_n "checking for $ac_header... " >&6; }
39178 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39179 $as_echo_n "(cached) " >&6
39181 eval "$as_ac_Header=\$ac_header_preproc"
39183 ac_res=`eval 'as_val=${'$as_ac_Header'}
39184 $as_echo "$as_val"'`
39185 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
39186 $as_echo "$ac_res" >&6; }
39189 as_val=`eval 'as_val=${'$as_ac_Header'}
39190 $as_echo "$as_val"'`
39191 if test "x$as_val" = x""yes; then
39192 cat >>confdefs.h <<_ACEOF
39193 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
39197 audiounitok=no;{ $as_echo "$as_me:$LINENO: result: gr-audio-osx requires AudioUnit/AudioUnit.h, which is available on MacOS X." >&5
39198 $as_echo "gr-audio-osx requires AudioUnit/AudioUnit.h, which is available on MacOS X." >&6; }
39205 for ac_header in AudioToolbox/AudioToolbox.h
39207 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
39208 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39209 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
39210 $as_echo_n "checking for $ac_header... " >&6; }
39211 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39212 $as_echo_n "(cached) " >&6
39214 ac_res=`eval 'as_val=${'$as_ac_Header'}
39215 $as_echo "$as_val"'`
39216 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
39217 $as_echo "$ac_res" >&6; }
39219 # Is the header compilable?
39220 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
39221 $as_echo_n "checking $ac_header usability... " >&6; }
39222 cat >conftest.$ac_ext <<_ACEOF
39225 cat confdefs.h >>conftest.$ac_ext
39226 cat >>conftest.$ac_ext <<_ACEOF
39227 /* end confdefs.h. */
39228 $ac_includes_default
39229 #include <$ac_header>
39231 rm -f conftest.$ac_objext
39232 if { (ac_try="$ac_compile"
39233 case "(($ac_try" in
39234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39235 *) ac_try_echo=$ac_try;;
39237 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39238 $as_echo "$ac_try_echo") >&5
39239 (eval "$ac_compile") 2>conftest.er1
39241 grep -v '^ *+' conftest.er1 >conftest.err
39243 cat conftest.err >&5
39244 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } && {
39246 test -z "$ac_c_werror_flag" ||
39247 test ! -s conftest.err
39248 } && test -s conftest.$ac_objext; then
39249 ac_header_compiler=yes
39251 $as_echo "$as_me: failed program was:" >&5
39252 sed 's/^/| /' conftest.$ac_ext >&5
39254 ac_header_compiler=no
39257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39258 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39259 $as_echo "$ac_header_compiler" >&6; }
39261 # Is the header present?
39262 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
39263 $as_echo_n "checking $ac_header presence... " >&6; }
39264 cat >conftest.$ac_ext <<_ACEOF
39267 cat confdefs.h >>conftest.$ac_ext
39268 cat >>conftest.$ac_ext <<_ACEOF
39269 /* end confdefs.h. */
39270 #include <$ac_header>
39272 if { (ac_try="$ac_cpp conftest.$ac_ext"
39273 case "(($ac_try" in
39274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39275 *) ac_try_echo=$ac_try;;
39277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39278 $as_echo "$ac_try_echo") >&5
39279 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
39281 grep -v '^ *+' conftest.er1 >conftest.err
39283 cat conftest.err >&5
39284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39285 (exit $ac_status); } >/dev/null && {
39286 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
39287 test ! -s conftest.err
39289 ac_header_preproc=yes
39291 $as_echo "$as_me: failed program was:" >&5
39292 sed 's/^/| /' conftest.$ac_ext >&5
39294 ac_header_preproc=no
39297 rm -f conftest.err conftest.$ac_ext
39298 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39299 $as_echo "$ac_header_preproc" >&6; }
39301 # So? What about this header?
39302 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39304 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39305 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39306 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39307 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39308 ac_header_preproc=yes
39311 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39312 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39313 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39314 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39315 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39316 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39317 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39318 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39319 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39320 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39321 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39322 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39326 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
39327 $as_echo_n "checking for $ac_header... " >&6; }
39328 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39329 $as_echo_n "(cached) " >&6
39331 eval "$as_ac_Header=\$ac_header_preproc"
39333 ac_res=`eval 'as_val=${'$as_ac_Header'}
39334 $as_echo "$as_val"'`
39335 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
39336 $as_echo "$ac_res" >&6; }
39339 as_val=`eval 'as_val=${'$as_ac_Header'}
39340 $as_echo "$as_val"'`
39341 if test "x$as_val" = x""yes; then
39342 cat >>confdefs.h <<_ACEOF
39343 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
39347 audiounitok=no;{ $as_echo "$as_me:$LINENO: result: gr-audio-osx requires AudioToolbox/AudioToolbox.h, which is available on MacOS X." >&5
39348 $as_echo "gr-audio-osx requires AudioToolbox/AudioToolbox.h, which is available on MacOS X." >&6; }
39354 if test $audiounitok = yes; then
39357 passed=no;{ $as_echo "$as_me:$LINENO: result: gr-audio-osx requires AudioUnit, not found." >&5
39358 $as_echo "gr-audio-osx requires AudioUnit, not found." >&6; }
39363 { $as_echo "$as_me:$LINENO: result: gr-audio-osx will build on Mac OS X and Darwin only." >&5
39364 $as_echo "gr-audio-osx will build on Mac OS X and Darwin only." >&6; }
39370 ac_config_files="$ac_config_files gr-audio-osx/Makefile gr-audio-osx/src/Makefile gr-audio-osx/src/run_tests"
39375 gr_audio_osx_with=no
39376 if test $passed = no; then
39377 if test x$enable_gr_audio_osx = xyes; then
39378 { { $as_echo "$as_me:$LINENO: error: Component gr-audio-osx has errors; stopping." >&5
39379 $as_echo "$as_me: error: Component gr-audio-osx has errors; stopping." >&2;}
39380 { (exit 1); exit 1; }; }
39382 { $as_echo "$as_me:$LINENO: result: Not building component gr-audio-osx." >&5
39383 $as_echo "Not building component gr-audio-osx." >&6; }
39386 if test $passed = with; then
39387 with_dirs="$with_dirs gr-audio-osx"
39389 if test "x${gr_audio_osx_INCLUDES}" != "x"; then
39390 if test "x$with_INCLUDES" = "x"; then
39391 with_INCLUDES="${gr_audio_osx_INCLUDES}"
39393 with_INCLUDES="${gr_audio_osx_INCLUDES}"" ""$with_INCLUDES"
39395 gr_audio_osx_INCLUDES=
39399 if test "x${gr_audio_osx_SWIG_INCLUDES}" != "x"; then
39400 if test "x$with_SWIG_INCLUDES" = "x"; then
39401 with_SWIG_INCLUDES="${gr_audio_osx_SWIG_INCLUDES}"
39403 with_SWIG_INCLUDES="${gr_audio_osx_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
39405 gr_audio_osx_SWIG_INCLUDES=
39409 if test "x${gr_audio_osx_PYDIRPATH}" != "x"; then
39410 if test "x$with_PYDIRPATH" = "x"; then
39411 with_PYDIRPATH="${gr_audio_osx_PYDIRPATH}"
39413 with_PYDIRPATH="${gr_audio_osx_PYDIRPATH}"":""$with_PYDIRPATH"
39415 gr_audio_osx_PYDIRPATH=
39419 if test "x${gr_audio_osx_SWIGDIRPATH}" != "x"; then
39420 if test "x$with_SWIGDIRPATH" = "x"; then
39421 with_SWIGDIRPATH="${gr_audio_osx_SWIGDIRPATH}"
39423 with_SWIGDIRPATH="${gr_audio_osx_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
39425 gr_audio_osx_SWIGDIRPATH=
39429 if test "x${gr_audio_osx_LIBDIRPATH}" != "x"; then
39430 if test "x$with_LIBDIRPATH" = "x"; then
39431 with_LIBDIRPATH="${gr_audio_osx_LIBDIRPATH}"
39433 with_LIBDIRPATH="${gr_audio_osx_LIBDIRPATH}"":""$with_LIBDIRPATH"
39435 gr_audio_osx_LIBDIRPATH=
39438 { $as_echo "$as_me:$LINENO: result: Component gr-audio-osx will be included from a pre-installed library and includes." >&5
39439 $as_echo "Component gr-audio-osx will be included from a pre-installed library and includes." >&6; }
39440 gr_audio_osx_with=yes
39442 gr_audio_osx_LDFLAG=
39443 if test x$enable_gr_audio_osx != xno; then
39444 ac_config_commands="$ac_config_commands run_tests_osx"
39447 build_dirs="$build_dirs gr-audio-osx"
39448 { $as_echo "$as_me:$LINENO: result: Component gr-audio-osx passed configuration checks; building." >&5
39449 $as_echo "Component gr-audio-osx passed configuration checks; building." >&6; }
39452 { $as_echo "$as_me:$LINENO: result: Component gr-audio-osx passed configuration checks; but not building." >&5
39453 $as_echo "Component gr-audio-osx passed configuration checks; but not building." >&6; }
39457 if test $passed = no; then
39458 skipped_dirs="$skipped_dirs gr-audio-osx"
39459 gr_audio_osx_skipped=yes
39461 gr_audio_osx_skipped=no
39475 # Check whether --enable-gr-audio-portaudio was given.
39476 if test "${enable_gr_audio_portaudio+set}" = set; then
39477 enableval=$enable_gr_audio_portaudio;
39480 enable_gr_audio_portaudio=$enable_all_components
39481 if test x$enable_all_components = xno; then
39491 if test $passed != no; then
39492 if test $passed = yes; then
39493 if test x$gnuradio_core_skipped = xyes; then
39494 { $as_echo "$as_me:$LINENO: result: Component gr-audio-portaudio requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
39495 $as_echo "Component gr-audio-portaudio requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
39499 if test x$gnuradio_core_with = xno; then
39500 { { $as_echo "$as_me:$LINENO: error: Component gr-audio-portaudio requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
39501 $as_echo "$as_me: error: Component gr-audio-portaudio requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
39502 { (exit 1); exit 1; }; }
39508 if test $passed = yes; then
39513 { $as_echo "$as_me:$LINENO: checking for PORTAUDIO" >&5
39514 $as_echo_n "checking for PORTAUDIO... " >&6; }
39516 if test -n "$PKG_CONFIG"; then
39517 if test -n "$PORTAUDIO_CFLAGS"; then
39518 pkg_cv_PORTAUDIO_CFLAGS="$PORTAUDIO_CFLAGS"
39520 if test -n "$PKG_CONFIG" && \
39521 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"portaudio-2.0 >= 19\"") >&5
39522 ($PKG_CONFIG --exists --print-errors "portaudio-2.0 >= 19") 2>&5
39524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39525 (exit $ac_status); }; then
39526 pkg_cv_PORTAUDIO_CFLAGS=`$PKG_CONFIG --cflags "portaudio-2.0 >= 19" 2>/dev/null`
39535 if test x$cross_compiling = xyes
39537 if test -n "$PKG_CONFIG"; then
39538 if test -n "$PORTAUDIO_LIBS"; then
39539 pkg_cv_PORTAUDIO_LIBS="$PORTAUDIO_LIBS"
39541 if test -n "$PKG_CONFIG" && \
39542 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"portaudio-2.0 >= 19\"") >&5
39543 ($PKG_CONFIG --exists --print-errors "portaudio-2.0 >= 19") 2>&5
39545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39546 (exit $ac_status); }; then
39547 pkg_cv_PORTAUDIO_LIBS=`$PKG_CONFIG --libs --static "portaudio-2.0 >= 19" 2>/dev/null`
39556 for flag in $pkg_cv_PORTAUDIO_LIBS; do
39558 (-L/lib* | -L/usr/lib* ) ;; # ignore
39559 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
39562 pkg_cv_PORTAUDIO_LIBS="$_pkg_tmp"
39564 if test -n "$PKG_CONFIG"; then
39565 if test -n "$PORTAUDIO_LIBS"; then
39566 pkg_cv_PORTAUDIO_LIBS="$PORTAUDIO_LIBS"
39568 if test -n "$PKG_CONFIG" && \
39569 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"portaudio-2.0 >= 19\"") >&5
39570 ($PKG_CONFIG --exists --print-errors "portaudio-2.0 >= 19") 2>&5
39572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39573 (exit $ac_status); }; then
39574 pkg_cv_PORTAUDIO_LIBS=`$PKG_CONFIG --libs --static "portaudio-2.0 >= 19" 2>/dev/null`
39584 if test -n "$PKG_CONFIG"; then
39585 if test -n "$PORTAUDIO_INCLUDEDIR"; then
39586 pkg_cv_PORTAUDIO_INCLUDEDIR="$PORTAUDIO_INCLUDEDIR"
39588 if test -n "$PKG_CONFIG" && \
39589 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"portaudio-2.0 >= 19\"") >&5
39590 ($PKG_CONFIG --exists --print-errors "portaudio-2.0 >= 19") 2>&5
39592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39593 (exit $ac_status); }; then
39594 pkg_cv_PORTAUDIO_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "portaudio-2.0 >= 19" 2>/dev/null`
39606 if test $pkg_failed = yes; then
39608 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
39609 _pkg_short_errors_supported=yes
39611 _pkg_short_errors_supported=no
39613 if test $_pkg_short_errors_supported = yes; then
39614 PORTAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "portaudio-2.0 >= 19"`
39616 PORTAUDIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "portaudio-2.0 >= 19"`
39618 # Put the nasty error message in config.log where it belongs
39619 echo "$PORTAUDIO_PKG_ERRORS" >&5
39621 { $as_echo "$as_me:$LINENO: result: no" >&5
39622 $as_echo "no" >&6; }
39623 passed=no;{ $as_echo "$as_me:$LINENO: result: gr-audio-portaudio requires package portaudio, not found." >&5
39624 $as_echo "gr-audio-portaudio requires package portaudio, not found." >&6; }
39625 elif test $pkg_failed = untried; then
39626 passed=no;{ $as_echo "$as_me:$LINENO: result: gr-audio-portaudio requires package portaudio, not found." >&5
39627 $as_echo "gr-audio-portaudio requires package portaudio, not found." >&6; }
39629 PORTAUDIO_CFLAGS=$pkg_cv_PORTAUDIO_CFLAGS
39630 PORTAUDIO_LIBS=$pkg_cv_PORTAUDIO_LIBS
39631 PORTAUDIO_INCLUDEDIR=$pkg_cv_PORTAUDIO_INCLUDEDIR
39633 PORTAUDIO_CPPFLAGS=""
39634 for flag in $PORTAUDIO_CFLAGS; do
39636 -I* | -D* | -U*) PORTAUDIO_CPPFLAGS="$PORTAUDIO_CPPFLAGS $flag" ;;
39639 pkg_cv_PORTAUDIO_CPPFLAGS=$PORTAUDIO_CPPFLAGS
39642 { $as_echo "$as_me:$LINENO: result: yes" >&5
39643 $as_echo "yes" >&6; }
39648 ac_config_files="$ac_config_files gr-audio-portaudio/Makefile gr-audio-portaudio/src/Makefile gr-audio-portaudio/src/run_tests"
39653 gr_audio_portaudio_with=no
39654 if test $passed = no; then
39655 if test x$enable_gr_audio_portaudio = xyes; then
39656 { { $as_echo "$as_me:$LINENO: error: Component gr-audio-portaudio has errors; stopping." >&5
39657 $as_echo "$as_me: error: Component gr-audio-portaudio has errors; stopping." >&2;}
39658 { (exit 1); exit 1; }; }
39660 { $as_echo "$as_me:$LINENO: result: Not building component gr-audio-portaudio." >&5
39661 $as_echo "Not building component gr-audio-portaudio." >&6; }
39664 if test $passed = with; then
39665 with_dirs="$with_dirs gr-audio-portaudio"
39667 if test "x${gr_audio_portaudio_INCLUDES}" != "x"; then
39668 if test "x$with_INCLUDES" = "x"; then
39669 with_INCLUDES="${gr_audio_portaudio_INCLUDES}"
39671 with_INCLUDES="${gr_audio_portaudio_INCLUDES}"" ""$with_INCLUDES"
39673 gr_audio_portaudio_INCLUDES=
39677 if test "x${gr_audio_portaudio_SWIG_INCLUDES}" != "x"; then
39678 if test "x$with_SWIG_INCLUDES" = "x"; then
39679 with_SWIG_INCLUDES="${gr_audio_portaudio_SWIG_INCLUDES}"
39681 with_SWIG_INCLUDES="${gr_audio_portaudio_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
39683 gr_audio_portaudio_SWIG_INCLUDES=
39687 if test "x${gr_audio_portaudio_PYDIRPATH}" != "x"; then
39688 if test "x$with_PYDIRPATH" = "x"; then
39689 with_PYDIRPATH="${gr_audio_portaudio_PYDIRPATH}"
39691 with_PYDIRPATH="${gr_audio_portaudio_PYDIRPATH}"":""$with_PYDIRPATH"
39693 gr_audio_portaudio_PYDIRPATH=
39697 if test "x${gr_audio_portaudio_SWIGDIRPATH}" != "x"; then
39698 if test "x$with_SWIGDIRPATH" = "x"; then
39699 with_SWIGDIRPATH="${gr_audio_portaudio_SWIGDIRPATH}"
39701 with_SWIGDIRPATH="${gr_audio_portaudio_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
39703 gr_audio_portaudio_SWIGDIRPATH=
39707 if test "x${gr_audio_portaudio_LIBDIRPATH}" != "x"; then
39708 if test "x$with_LIBDIRPATH" = "x"; then
39709 with_LIBDIRPATH="${gr_audio_portaudio_LIBDIRPATH}"
39711 with_LIBDIRPATH="${gr_audio_portaudio_LIBDIRPATH}"":""$with_LIBDIRPATH"
39713 gr_audio_portaudio_LIBDIRPATH=
39716 { $as_echo "$as_me:$LINENO: result: Component gr-audio-portaudio will be included from a pre-installed library and includes." >&5
39717 $as_echo "Component gr-audio-portaudio will be included from a pre-installed library and includes." >&6; }
39718 gr_audio_portaudio_with=yes
39720 gr_audio_portaudio_LDFLAG=
39721 if test x$enable_gr_audio_portaudio != xno; then
39722 ac_config_commands="$ac_config_commands run_tests_portaudio"
39725 build_dirs="$build_dirs gr-audio-portaudio"
39726 { $as_echo "$as_me:$LINENO: result: Component gr-audio-portaudio passed configuration checks; building." >&5
39727 $as_echo "Component gr-audio-portaudio passed configuration checks; building." >&6; }
39730 { $as_echo "$as_me:$LINENO: result: Component gr-audio-portaudio passed configuration checks; but not building." >&5
39731 $as_echo "Component gr-audio-portaudio passed configuration checks; but not building." >&6; }
39735 if test $passed = no; then
39736 skipped_dirs="$skipped_dirs gr-audio-portaudio"
39737 gr_audio_portaudio_skipped=yes
39739 gr_audio_portaudio_skipped=no
39753 # Check whether --enable-gr-audio-windows was given.
39754 if test "${enable_gr_audio_windows+set}" = set; then
39755 enableval=$enable_gr_audio_windows;
39758 enable_gr_audio_windows=$enable_all_components
39759 if test x$enable_all_components = xno; then
39769 if test $passed != no; then
39770 if test $passed = yes; then
39771 if test x$gnuradio_core_skipped = xyes; then
39772 { $as_echo "$as_me:$LINENO: result: Component gr-audio-windows requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
39773 $as_echo "Component gr-audio-windows requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
39777 if test x$gnuradio_core_with = xno; then
39778 { { $as_echo "$as_me:$LINENO: error: Component gr-audio-windows requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
39779 $as_echo "$as_me: error: Component gr-audio-windows requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
39780 { (exit 1); exit 1; }; }
39786 if test $passed = yes; then
39788 cygwin*|win*|mingw*)
39790 { $as_echo "$as_me:$LINENO: checking for main in -lwinmm" >&5
39791 $as_echo_n "checking for main in -lwinmm... " >&6; }
39792 if test "${ac_cv_lib_winmm_main+set}" = set; then
39793 $as_echo_n "(cached) " >&6
39795 ac_check_lib_save_LIBS=$LIBS
39796 LIBS="-lwinmm $LIBS"
39797 cat >conftest.$ac_ext <<_ACEOF
39800 cat confdefs.h >>conftest.$ac_ext
39801 cat >>conftest.$ac_ext <<_ACEOF
39802 /* end confdefs.h. */
39813 rm -f conftest.$ac_objext conftest$ac_exeext
39814 if { (ac_try="$ac_link"
39815 case "(($ac_try" in
39816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39817 *) ac_try_echo=$ac_try;;
39819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39820 $as_echo "$ac_try_echo") >&5
39821 (eval "$ac_link") 2>conftest.er1
39823 grep -v '^ *+' conftest.er1 >conftest.err
39825 cat conftest.err >&5
39826 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39827 (exit $ac_status); } && {
39828 test -z "$ac_c_werror_flag" ||
39829 test ! -s conftest.err
39830 } && test -s conftest$ac_exeext && {
39831 test "$cross_compiling" = yes ||
39832 $as_test_x conftest$ac_exeext
39834 ac_cv_lib_winmm_main=yes
39836 $as_echo "$as_me: failed program was:" >&5
39837 sed 's/^/| /' conftest.$ac_ext >&5
39839 ac_cv_lib_winmm_main=no
39842 rm -rf conftest.dSYM
39843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39844 conftest$ac_exeext conftest.$ac_ext
39845 LIBS=$ac_check_lib_save_LIBS
39847 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_main" >&5
39848 $as_echo "$ac_cv_lib_winmm_main" >&6; }
39849 if test "x$ac_cv_lib_winmm_main" = x""yes; then
39850 cat >>confdefs.h <<_ACEOF
39851 #define HAVE_LIBWINMM 1
39854 LIBS="-lwinmm $LIBS"
39857 passed=no;{ $as_echo "$as_me:$LINENO: result: gr-audio-windows requires library winmm, not found." >&5
39858 $as_echo "gr-audio-windows requires library winmm, not found." >&6; }
39860 ac_cv_lib_winmm=ac_cv_lib_winmm_main
39864 { $as_echo "$as_me:$LINENO: result: gr-audio-windows will build on a Windows Unix environment only." >&5
39865 $as_echo "gr-audio-windows will build on a Windows Unix environment only." >&6; }
39871 ac_config_files="$ac_config_files gr-audio-windows/Makefile gr-audio-windows/src/Makefile gr-audio-windows/src/run_tests"
39876 gr_audio_windows_with=no
39877 if test $passed = no; then
39878 if test x$enable_gr_audio_windows = xyes; then
39879 { { $as_echo "$as_me:$LINENO: error: Component gr-audio-windows has errors; stopping." >&5
39880 $as_echo "$as_me: error: Component gr-audio-windows has errors; stopping." >&2;}
39881 { (exit 1); exit 1; }; }
39883 { $as_echo "$as_me:$LINENO: result: Not building component gr-audio-windows." >&5
39884 $as_echo "Not building component gr-audio-windows." >&6; }
39887 if test $passed = with; then
39888 with_dirs="$with_dirs gr-audio-windows"
39890 if test "x${gr_audio_windows_INCLUDES}" != "x"; then
39891 if test "x$with_INCLUDES" = "x"; then
39892 with_INCLUDES="${gr_audio_windows_INCLUDES}"
39894 with_INCLUDES="${gr_audio_windows_INCLUDES}"" ""$with_INCLUDES"
39896 gr_audio_windows_INCLUDES=
39900 if test "x${gr_audio_windows_SWIG_INCLUDES}" != "x"; then
39901 if test "x$with_SWIG_INCLUDES" = "x"; then
39902 with_SWIG_INCLUDES="${gr_audio_windows_SWIG_INCLUDES}"
39904 with_SWIG_INCLUDES="${gr_audio_windows_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
39906 gr_audio_windows_SWIG_INCLUDES=
39910 if test "x${gr_audio_windows_PYDIRPATH}" != "x"; then
39911 if test "x$with_PYDIRPATH" = "x"; then
39912 with_PYDIRPATH="${gr_audio_windows_PYDIRPATH}"
39914 with_PYDIRPATH="${gr_audio_windows_PYDIRPATH}"":""$with_PYDIRPATH"
39916 gr_audio_windows_PYDIRPATH=
39920 if test "x${gr_audio_windows_SWIGDIRPATH}" != "x"; then
39921 if test "x$with_SWIGDIRPATH" = "x"; then
39922 with_SWIGDIRPATH="${gr_audio_windows_SWIGDIRPATH}"
39924 with_SWIGDIRPATH="${gr_audio_windows_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
39926 gr_audio_windows_SWIGDIRPATH=
39930 if test "x${gr_audio_windows_LIBDIRPATH}" != "x"; then
39931 if test "x$with_LIBDIRPATH" = "x"; then
39932 with_LIBDIRPATH="${gr_audio_windows_LIBDIRPATH}"
39934 with_LIBDIRPATH="${gr_audio_windows_LIBDIRPATH}"":""$with_LIBDIRPATH"
39936 gr_audio_windows_LIBDIRPATH=
39939 { $as_echo "$as_me:$LINENO: result: Component gr-audio-windows will be included from a pre-installed library and includes." >&5
39940 $as_echo "Component gr-audio-windows will be included from a pre-installed library and includes." >&6; }
39941 gr_audio_windows_with=yes
39943 gr_audio_windows_LDFLAG=
39944 if test x$enable_gr_audio_windows != xno; then
39945 WINAUDIO_LIBS=-lwinmm
39947 ac_config_commands="$ac_config_commands run_tests_audio_windows"
39950 build_dirs="$build_dirs gr-audio-windows"
39951 { $as_echo "$as_me:$LINENO: result: Component gr-audio-windows passed configuration checks; building." >&5
39952 $as_echo "Component gr-audio-windows passed configuration checks; building." >&6; }
39955 { $as_echo "$as_me:$LINENO: result: Component gr-audio-windows passed configuration checks; but not building." >&5
39956 $as_echo "Component gr-audio-windows passed configuration checks; but not building." >&6; }
39960 if test $passed = no; then
39961 skipped_dirs="$skipped_dirs gr-audio-windows"
39962 gr_audio_windows_skipped=yes
39964 gr_audio_windows_skipped=no
39978 # Check whether --enable-gr-cvsd-vocoder was given.
39979 if test "${enable_gr_cvsd_vocoder+set}" = set; then
39980 enableval=$enable_gr_cvsd_vocoder;
39983 enable_gr_cvsd_vocoder=$enable_all_components
39984 if test x$enable_all_components = xno; then
39994 if test $passed != no; then
39995 if test $passed = yes; then
39996 if test x$gnuradio_core_skipped = xyes; then
39997 { $as_echo "$as_me:$LINENO: result: Component gr-cvsd-vocoder requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
39998 $as_echo "Component gr-cvsd-vocoder requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
40002 if test x$gnuradio_core_with = xno; then
40003 { { $as_echo "$as_me:$LINENO: error: Component gr-cvsd-vocoder requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
40004 $as_echo "$as_me: error: Component gr-cvsd-vocoder requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
40005 { (exit 1); exit 1; }; }
40011 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"
40016 gr_cvsd_vocoder_with=no
40017 if test $passed = no; then
40018 if test x$enable_gr_cvsd_vocoder = xyes; then
40019 { { $as_echo "$as_me:$LINENO: error: Component gr-cvsd-vocoder has errors; stopping." >&5
40020 $as_echo "$as_me: error: Component gr-cvsd-vocoder has errors; stopping." >&2;}
40021 { (exit 1); exit 1; }; }
40023 { $as_echo "$as_me:$LINENO: result: Not building component gr-cvsd-vocoder." >&5
40024 $as_echo "Not building component gr-cvsd-vocoder." >&6; }
40027 if test $passed = with; then
40028 with_dirs="$with_dirs gr-cvsd-vocoder"
40030 if test "x${gr_cvsd_vocoder_INCLUDES}" != "x"; then
40031 if test "x$with_INCLUDES" = "x"; then
40032 with_INCLUDES="${gr_cvsd_vocoder_INCLUDES}"
40034 with_INCLUDES="${gr_cvsd_vocoder_INCLUDES}"" ""$with_INCLUDES"
40036 gr_cvsd_vocoder_INCLUDES=
40040 if test "x${gr_cvsd_vocoder_SWIG_INCLUDES}" != "x"; then
40041 if test "x$with_SWIG_INCLUDES" = "x"; then
40042 with_SWIG_INCLUDES="${gr_cvsd_vocoder_SWIG_INCLUDES}"
40044 with_SWIG_INCLUDES="${gr_cvsd_vocoder_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
40046 gr_cvsd_vocoder_SWIG_INCLUDES=
40050 if test "x${gr_cvsd_vocoder_PYDIRPATH}" != "x"; then
40051 if test "x$with_PYDIRPATH" = "x"; then
40052 with_PYDIRPATH="${gr_cvsd_vocoder_PYDIRPATH}"
40054 with_PYDIRPATH="${gr_cvsd_vocoder_PYDIRPATH}"":""$with_PYDIRPATH"
40056 gr_cvsd_vocoder_PYDIRPATH=
40060 if test "x${gr_cvsd_vocoder_SWIGDIRPATH}" != "x"; then
40061 if test "x$with_SWIGDIRPATH" = "x"; then
40062 with_SWIGDIRPATH="${gr_cvsd_vocoder_SWIGDIRPATH}"
40064 with_SWIGDIRPATH="${gr_cvsd_vocoder_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
40066 gr_cvsd_vocoder_SWIGDIRPATH=
40070 if test "x${gr_cvsd_vocoder_LIBDIRPATH}" != "x"; then
40071 if test "x$with_LIBDIRPATH" = "x"; then
40072 with_LIBDIRPATH="${gr_cvsd_vocoder_LIBDIRPATH}"
40074 with_LIBDIRPATH="${gr_cvsd_vocoder_LIBDIRPATH}"":""$with_LIBDIRPATH"
40076 gr_cvsd_vocoder_LIBDIRPATH=
40079 { $as_echo "$as_me:$LINENO: result: Component gr-cvsd-vocoder will be included from a pre-installed library and includes." >&5
40080 $as_echo "Component gr-cvsd-vocoder will be included from a pre-installed library and includes." >&6; }
40081 gr_cvsd_vocoder_with=yes
40083 gr_cvsd_vocoder_LDFLAG=
40084 if test x$enable_gr_cvsd_vocoder != xno; then
40085 ac_config_commands="$ac_config_commands run_tests_cvsd"
40088 build_dirs="$build_dirs gr-cvsd-vocoder"
40089 { $as_echo "$as_me:$LINENO: result: Component gr-cvsd-vocoder passed configuration checks; building." >&5
40090 $as_echo "Component gr-cvsd-vocoder passed configuration checks; building." >&6; }
40093 { $as_echo "$as_me:$LINENO: result: Component gr-cvsd-vocoder passed configuration checks; but not building." >&5
40094 $as_echo "Component gr-cvsd-vocoder passed configuration checks; but not building." >&6; }
40098 if test $passed = no; then
40099 skipped_dirs="$skipped_dirs gr-cvsd-vocoder"
40100 gr_cvsd_vocoder_skipped=yes
40102 gr_cvsd_vocoder_skipped=no
40116 # Check whether --enable-gr-gpio was given.
40117 if test "${enable_gr_gpio+set}" = set; then
40118 enableval=$enable_gr_gpio;
40121 enable_gr_gpio=$enable_all_components
40122 if test x$enable_all_components = xno; then
40132 if test $passed != no; then
40133 if test $passed = yes; then
40134 if test x$usrp_skipped = xyes; then
40135 { $as_echo "$as_me:$LINENO: result: Component gr-gpio requires usrp, which is not being built or specified via pre-installed files." >&5
40136 $as_echo "Component gr-gpio requires usrp, which is not being built or specified via pre-installed files." >&6; }
40140 if test x$usrp_with = xno; then
40141 { { $as_echo "$as_me:$LINENO: error: Component gr-gpio requires usrp to be included as --with-usrp[=arg]" >&5
40142 $as_echo "$as_me: error: Component gr-gpio requires usrp to be included as --with-usrp[=arg]" >&2;}
40143 { (exit 1); exit 1; }; }
40149 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"
40155 if test $passed = no; then
40156 if test x$enable_gr_gpio = xyes; then
40157 { { $as_echo "$as_me:$LINENO: error: Component gr-gpio has errors; stopping." >&5
40158 $as_echo "$as_me: error: Component gr-gpio has errors; stopping." >&2;}
40159 { (exit 1); exit 1; }; }
40161 { $as_echo "$as_me:$LINENO: result: Not building component gr-gpio." >&5
40162 $as_echo "Not building component gr-gpio." >&6; }
40165 if test $passed = with; then
40166 with_dirs="$with_dirs gr-gpio"
40168 if test "x${gr_gpio_INCLUDES}" != "x"; then
40169 if test "x$with_INCLUDES" = "x"; then
40170 with_INCLUDES="${gr_gpio_INCLUDES}"
40172 with_INCLUDES="${gr_gpio_INCLUDES}"" ""$with_INCLUDES"
40178 if test "x${gr_gpio_SWIG_INCLUDES}" != "x"; then
40179 if test "x$with_SWIG_INCLUDES" = "x"; then
40180 with_SWIG_INCLUDES="${gr_gpio_SWIG_INCLUDES}"
40182 with_SWIG_INCLUDES="${gr_gpio_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
40184 gr_gpio_SWIG_INCLUDES=
40188 if test "x${gr_gpio_PYDIRPATH}" != "x"; then
40189 if test "x$with_PYDIRPATH" = "x"; then
40190 with_PYDIRPATH="${gr_gpio_PYDIRPATH}"
40192 with_PYDIRPATH="${gr_gpio_PYDIRPATH}"":""$with_PYDIRPATH"
40198 if test "x${gr_gpio_SWIGDIRPATH}" != "x"; then
40199 if test "x$with_SWIGDIRPATH" = "x"; then
40200 with_SWIGDIRPATH="${gr_gpio_SWIGDIRPATH}"
40202 with_SWIGDIRPATH="${gr_gpio_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
40204 gr_gpio_SWIGDIRPATH=
40208 if test "x${gr_gpio_LIBDIRPATH}" != "x"; then
40209 if test "x$with_LIBDIRPATH" = "x"; then
40210 with_LIBDIRPATH="${gr_gpio_LIBDIRPATH}"
40212 with_LIBDIRPATH="${gr_gpio_LIBDIRPATH}"":""$with_LIBDIRPATH"
40214 gr_gpio_LIBDIRPATH=
40217 { $as_echo "$as_me:$LINENO: result: Component gr-gpio will be included from a pre-installed library and includes." >&5
40218 $as_echo "Component gr-gpio will be included from a pre-installed library and includes." >&6; }
40222 if test x$enable_gr_gpio != xno; then
40224 build_dirs="$build_dirs gr-gpio"
40225 { $as_echo "$as_me:$LINENO: result: Component gr-gpio passed configuration checks; building." >&5
40226 $as_echo "Component gr-gpio passed configuration checks; building." >&6; }
40229 { $as_echo "$as_me:$LINENO: result: Component gr-gpio passed configuration checks; but not building." >&5
40230 $as_echo "Component gr-gpio passed configuration checks; but not building." >&6; }
40234 if test $passed = no; then
40235 skipped_dirs="$skipped_dirs gr-gpio"
40236 gr_gpio_skipped=yes
40252 # Check whether --enable-gr-gsm-fr-vocoder was given.
40253 if test "${enable_gr_gsm_fr_vocoder+set}" = set; then
40254 enableval=$enable_gr_gsm_fr_vocoder;
40257 enable_gr_gsm_fr_vocoder=$enable_all_components
40258 if test x$enable_all_components = xno; then
40268 if test $passed != no; then
40269 if test $passed = yes; then
40270 if test x$gnuradio_core_skipped = xyes; then
40271 { $as_echo "$as_me:$LINENO: result: Component gr-gsm-fr-vocoder requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
40272 $as_echo "Component gr-gsm-fr-vocoder requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
40276 if test x$gnuradio_core_with = xno; then
40277 { { $as_echo "$as_me:$LINENO: error: Component gr-gsm-fr-vocoder requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
40278 $as_echo "$as_me: error: Component gr-gsm-fr-vocoder requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
40279 { (exit 1); exit 1; }; }
40285 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"
40290 gr_gsm_fr_vocoder_with=no
40291 if test $passed = no; then
40292 if test x$enable_gr_gsm_fr_vocoder = xyes; then
40293 { { $as_echo "$as_me:$LINENO: error: Component gr-gsm-fr-vocoder has errors; stopping." >&5
40294 $as_echo "$as_me: error: Component gr-gsm-fr-vocoder has errors; stopping." >&2;}
40295 { (exit 1); exit 1; }; }
40297 { $as_echo "$as_me:$LINENO: result: Not building component gr-gsm-fr-vocoder." >&5
40298 $as_echo "Not building component gr-gsm-fr-vocoder." >&6; }
40301 if test $passed = with; then
40302 with_dirs="$with_dirs gr-gsm-fr-vocoder"
40304 if test "x${gr_gsm_fr_vocoder_INCLUDES}" != "x"; then
40305 if test "x$with_INCLUDES" = "x"; then
40306 with_INCLUDES="${gr_gsm_fr_vocoder_INCLUDES}"
40308 with_INCLUDES="${gr_gsm_fr_vocoder_INCLUDES}"" ""$with_INCLUDES"
40310 gr_gsm_fr_vocoder_INCLUDES=
40314 if test "x${gr_gsm_fr_vocoder_SWIG_INCLUDES}" != "x"; then
40315 if test "x$with_SWIG_INCLUDES" = "x"; then
40316 with_SWIG_INCLUDES="${gr_gsm_fr_vocoder_SWIG_INCLUDES}"
40318 with_SWIG_INCLUDES="${gr_gsm_fr_vocoder_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
40320 gr_gsm_fr_vocoder_SWIG_INCLUDES=
40324 if test "x${gr_gsm_fr_vocoder_PYDIRPATH}" != "x"; then
40325 if test "x$with_PYDIRPATH" = "x"; then
40326 with_PYDIRPATH="${gr_gsm_fr_vocoder_PYDIRPATH}"
40328 with_PYDIRPATH="${gr_gsm_fr_vocoder_PYDIRPATH}"":""$with_PYDIRPATH"
40330 gr_gsm_fr_vocoder_PYDIRPATH=
40334 if test "x${gr_gsm_fr_vocoder_SWIGDIRPATH}" != "x"; then
40335 if test "x$with_SWIGDIRPATH" = "x"; then
40336 with_SWIGDIRPATH="${gr_gsm_fr_vocoder_SWIGDIRPATH}"
40338 with_SWIGDIRPATH="${gr_gsm_fr_vocoder_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
40340 gr_gsm_fr_vocoder_SWIGDIRPATH=
40344 if test "x${gr_gsm_fr_vocoder_LIBDIRPATH}" != "x"; then
40345 if test "x$with_LIBDIRPATH" = "x"; then
40346 with_LIBDIRPATH="${gr_gsm_fr_vocoder_LIBDIRPATH}"
40348 with_LIBDIRPATH="${gr_gsm_fr_vocoder_LIBDIRPATH}"":""$with_LIBDIRPATH"
40350 gr_gsm_fr_vocoder_LIBDIRPATH=
40353 { $as_echo "$as_me:$LINENO: result: Component gr-gsm-fr-vocoder will be included from a pre-installed library and includes." >&5
40354 $as_echo "Component gr-gsm-fr-vocoder will be included from a pre-installed library and includes." >&6; }
40355 gr_gsm_fr_vocoder_with=yes
40357 gr_gsm_fr_vocoder_LDFLAG=
40358 if test x$enable_gr_gsm_fr_vocoder != xno; then
40359 ac_config_commands="$ac_config_commands run_tests_gsm"
40362 build_dirs="$build_dirs gr-gsm-fr-vocoder"
40363 { $as_echo "$as_me:$LINENO: result: Component gr-gsm-fr-vocoder passed configuration checks; building." >&5
40364 $as_echo "Component gr-gsm-fr-vocoder passed configuration checks; building." >&6; }
40367 { $as_echo "$as_me:$LINENO: result: Component gr-gsm-fr-vocoder passed configuration checks; but not building." >&5
40368 $as_echo "Component gr-gsm-fr-vocoder passed configuration checks; but not building." >&6; }
40372 if test $passed = no; then
40373 skipped_dirs="$skipped_dirs gr-gsm-fr-vocoder"
40374 gr_gsm_fr_vocoder_skipped=yes
40376 gr_gsm_fr_vocoder_skipped=no
40390 # Check whether --enable-gr-pager was given.
40391 if test "${enable_gr_pager+set}" = set; then
40392 enableval=$enable_gr_pager;
40395 enable_gr_pager=$enable_all_components
40396 if test x$enable_all_components = xno; then
40406 if test $passed != no; then
40407 if test $passed = yes; then
40408 if test x$gnuradio_core_skipped = xyes; then
40409 { $as_echo "$as_me:$LINENO: result: Component gr-pager requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
40410 $as_echo "Component gr-pager requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
40414 if test x$gnuradio_core_with = xno; then
40415 { { $as_echo "$as_me:$LINENO: error: Component gr-pager requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
40416 $as_echo "$as_me: error: Component gr-pager requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
40417 { (exit 1); exit 1; }; }
40423 ac_config_files="$ac_config_files gr-pager/Makefile gr-pager/src/Makefile gr-pager/src/run_tests"
40429 if test $passed = no; then
40430 if test x$enable_gr_pager = xyes; then
40431 { { $as_echo "$as_me:$LINENO: error: Component gr-pager has errors; stopping." >&5
40432 $as_echo "$as_me: error: Component gr-pager has errors; stopping." >&2;}
40433 { (exit 1); exit 1; }; }
40435 { $as_echo "$as_me:$LINENO: result: Not building component gr-pager." >&5
40436 $as_echo "Not building component gr-pager." >&6; }
40439 if test $passed = with; then
40440 with_dirs="$with_dirs gr-pager"
40442 if test "x${gr_pager_INCLUDES}" != "x"; then
40443 if test "x$with_INCLUDES" = "x"; then
40444 with_INCLUDES="${gr_pager_INCLUDES}"
40446 with_INCLUDES="${gr_pager_INCLUDES}"" ""$with_INCLUDES"
40452 if test "x${gr_pager_SWIG_INCLUDES}" != "x"; then
40453 if test "x$with_SWIG_INCLUDES" = "x"; then
40454 with_SWIG_INCLUDES="${gr_pager_SWIG_INCLUDES}"
40456 with_SWIG_INCLUDES="${gr_pager_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
40458 gr_pager_SWIG_INCLUDES=
40462 if test "x${gr_pager_PYDIRPATH}" != "x"; then
40463 if test "x$with_PYDIRPATH" = "x"; then
40464 with_PYDIRPATH="${gr_pager_PYDIRPATH}"
40466 with_PYDIRPATH="${gr_pager_PYDIRPATH}"":""$with_PYDIRPATH"
40468 gr_pager_PYDIRPATH=
40472 if test "x${gr_pager_SWIGDIRPATH}" != "x"; then
40473 if test "x$with_SWIGDIRPATH" = "x"; then
40474 with_SWIGDIRPATH="${gr_pager_SWIGDIRPATH}"
40476 with_SWIGDIRPATH="${gr_pager_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
40478 gr_pager_SWIGDIRPATH=
40482 if test "x${gr_pager_LIBDIRPATH}" != "x"; then
40483 if test "x$with_LIBDIRPATH" = "x"; then
40484 with_LIBDIRPATH="${gr_pager_LIBDIRPATH}"
40486 with_LIBDIRPATH="${gr_pager_LIBDIRPATH}"":""$with_LIBDIRPATH"
40488 gr_pager_LIBDIRPATH=
40491 { $as_echo "$as_me:$LINENO: result: Component gr-pager will be included from a pre-installed library and includes." >&5
40492 $as_echo "Component gr-pager will be included from a pre-installed library and includes." >&6; }
40496 if test x$enable_gr_pager != xno; then
40497 ac_config_commands="$ac_config_commands run_tests_pager"
40500 build_dirs="$build_dirs gr-pager"
40501 { $as_echo "$as_me:$LINENO: result: Component gr-pager passed configuration checks; building." >&5
40502 $as_echo "Component gr-pager passed configuration checks; building." >&6; }
40505 { $as_echo "$as_me:$LINENO: result: Component gr-pager passed configuration checks; but not building." >&5
40506 $as_echo "Component gr-pager passed configuration checks; but not building." >&6; }
40510 if test $passed = no; then
40511 skipped_dirs="$skipped_dirs gr-pager"
40512 gr_pager_skipped=yes
40514 gr_pager_skipped=no
40528 # Check whether --enable-gr-radar-mono was given.
40529 if test "${enable_gr_radar_mono+set}" = set; then
40530 enableval=$enable_gr_radar_mono;
40533 enable_gr_radar_mono=$enable_all_components
40534 if test x$enable_all_components = xno; then
40544 if test $passed != no; then
40545 if test $passed = yes; then
40546 if test x$usrp_skipped = xyes; then
40547 { $as_echo "$as_me:$LINENO: result: Component gr-radar-mono requires usrp, which is not being built or specified via pre-installed files." >&5
40548 $as_echo "Component gr-radar-mono requires usrp, which is not being built or specified via pre-installed files." >&6; }
40552 if test x$usrp_with = xno; then
40553 { { $as_echo "$as_me:$LINENO: error: Component gr-radar-mono requires usrp to be included as --with-usrp[=arg]" >&5
40554 $as_echo "$as_me: error: Component gr-radar-mono requires usrp to be included as --with-usrp[=arg]" >&2;}
40555 { (exit 1); exit 1; }; }
40561 if test $passed != no; then
40562 if test $passed = yes; then
40563 if test x$gnuradio_core_skipped = xyes; then
40564 { $as_echo "$as_me:$LINENO: result: Component gr-radar-mono requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
40565 $as_echo "Component gr-radar-mono requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
40569 if test x$gnuradio_core_with = xno; then
40570 { { $as_echo "$as_me:$LINENO: error: Component gr-radar-mono requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
40571 $as_echo "$as_me: error: Component gr-radar-mono requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
40572 { (exit 1); exit 1; }; }
40578 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"
40583 gr_radar_mono_with=no
40584 if test $passed = no; then
40585 if test x$enable_gr_radar_mono = xyes; then
40586 { { $as_echo "$as_me:$LINENO: error: Component gr-radar-mono has errors; stopping." >&5
40587 $as_echo "$as_me: error: Component gr-radar-mono has errors; stopping." >&2;}
40588 { (exit 1); exit 1; }; }
40590 { $as_echo "$as_me:$LINENO: result: Not building component gr-radar-mono." >&5
40591 $as_echo "Not building component gr-radar-mono." >&6; }
40594 if test $passed = with; then
40595 with_dirs="$with_dirs gr-radar-mono"
40597 if test "x${gr_radar_mono_INCLUDES}" != "x"; then
40598 if test "x$with_INCLUDES" = "x"; then
40599 with_INCLUDES="${gr_radar_mono_INCLUDES}"
40601 with_INCLUDES="${gr_radar_mono_INCLUDES}"" ""$with_INCLUDES"
40603 gr_radar_mono_INCLUDES=
40607 if test "x${gr_radar_mono_SWIG_INCLUDES}" != "x"; then
40608 if test "x$with_SWIG_INCLUDES" = "x"; then
40609 with_SWIG_INCLUDES="${gr_radar_mono_SWIG_INCLUDES}"
40611 with_SWIG_INCLUDES="${gr_radar_mono_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
40613 gr_radar_mono_SWIG_INCLUDES=
40617 if test "x${gr_radar_mono_PYDIRPATH}" != "x"; then
40618 if test "x$with_PYDIRPATH" = "x"; then
40619 with_PYDIRPATH="${gr_radar_mono_PYDIRPATH}"
40621 with_PYDIRPATH="${gr_radar_mono_PYDIRPATH}"":""$with_PYDIRPATH"
40623 gr_radar_mono_PYDIRPATH=
40627 if test "x${gr_radar_mono_SWIGDIRPATH}" != "x"; then
40628 if test "x$with_SWIGDIRPATH" = "x"; then
40629 with_SWIGDIRPATH="${gr_radar_mono_SWIGDIRPATH}"
40631 with_SWIGDIRPATH="${gr_radar_mono_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
40633 gr_radar_mono_SWIGDIRPATH=
40637 if test "x${gr_radar_mono_LIBDIRPATH}" != "x"; then
40638 if test "x$with_LIBDIRPATH" = "x"; then
40639 with_LIBDIRPATH="${gr_radar_mono_LIBDIRPATH}"
40641 with_LIBDIRPATH="${gr_radar_mono_LIBDIRPATH}"":""$with_LIBDIRPATH"
40643 gr_radar_mono_LIBDIRPATH=
40646 { $as_echo "$as_me:$LINENO: result: Component gr-radar-mono will be included from a pre-installed library and includes." >&5
40647 $as_echo "Component gr-radar-mono will be included from a pre-installed library and includes." >&6; }
40648 gr_radar_mono_with=yes
40650 gr_radar_mono_LDFLAG=
40651 if test x$enable_gr_radar_mono != xno; then
40652 ac_config_commands="$ac_config_commands run_tests_radar_mono"
40655 build_dirs="$build_dirs gr-radar-mono"
40656 { $as_echo "$as_me:$LINENO: result: Component gr-radar-mono passed configuration checks; building." >&5
40657 $as_echo "Component gr-radar-mono passed configuration checks; building." >&6; }
40660 { $as_echo "$as_me:$LINENO: result: Component gr-radar-mono passed configuration checks; but not building." >&5
40661 $as_echo "Component gr-radar-mono passed configuration checks; but not building." >&6; }
40665 if test $passed = no; then
40666 skipped_dirs="$skipped_dirs gr-radar-mono"
40667 gr_radar_mono_skipped=yes
40669 gr_radar_mono_skipped=no
40683 # Check whether --enable-gr-radio-astronomy was given.
40684 if test "${enable_gr_radio_astronomy+set}" = set; then
40685 enableval=$enable_gr_radio_astronomy;
40688 enable_gr_radio_astronomy=$enable_all_components
40689 if test x$enable_all_components = xno; then
40699 if test $passed != no; then
40700 if test $passed = yes; then
40701 if test x$gnuradio_core_skipped = xyes; then
40702 { $as_echo "$as_me:$LINENO: result: Component gr-radio-astronomy requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
40703 $as_echo "Component gr-radio-astronomy requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
40707 if test x$gnuradio_core_with = xno; then
40708 { { $as_echo "$as_me:$LINENO: error: Component gr-radio-astronomy requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
40709 $as_echo "$as_me: error: Component gr-radio-astronomy requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
40710 { (exit 1); exit 1; }; }
40716 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"
40721 gr_radio_astronomy_with=no
40722 if test $passed = no; then
40723 if test x$enable_gr_radio_astronomy = xyes; then
40724 { { $as_echo "$as_me:$LINENO: error: Component gr-radio-astronomy has errors; stopping." >&5
40725 $as_echo "$as_me: error: Component gr-radio-astronomy has errors; stopping." >&2;}
40726 { (exit 1); exit 1; }; }
40728 { $as_echo "$as_me:$LINENO: result: Not building component gr-radio-astronomy." >&5
40729 $as_echo "Not building component gr-radio-astronomy." >&6; }
40732 if test $passed = with; then
40733 with_dirs="$with_dirs gr-radio-astronomy"
40735 if test "x${gr_radio_astronomy_INCLUDES}" != "x"; then
40736 if test "x$with_INCLUDES" = "x"; then
40737 with_INCLUDES="${gr_radio_astronomy_INCLUDES}"
40739 with_INCLUDES="${gr_radio_astronomy_INCLUDES}"" ""$with_INCLUDES"
40741 gr_radio_astronomy_INCLUDES=
40745 if test "x${gr_radio_astronomy_SWIG_INCLUDES}" != "x"; then
40746 if test "x$with_SWIG_INCLUDES" = "x"; then
40747 with_SWIG_INCLUDES="${gr_radio_astronomy_SWIG_INCLUDES}"
40749 with_SWIG_INCLUDES="${gr_radio_astronomy_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
40751 gr_radio_astronomy_SWIG_INCLUDES=
40755 if test "x${gr_radio_astronomy_PYDIRPATH}" != "x"; then
40756 if test "x$with_PYDIRPATH" = "x"; then
40757 with_PYDIRPATH="${gr_radio_astronomy_PYDIRPATH}"
40759 with_PYDIRPATH="${gr_radio_astronomy_PYDIRPATH}"":""$with_PYDIRPATH"
40761 gr_radio_astronomy_PYDIRPATH=
40765 if test "x${gr_radio_astronomy_SWIGDIRPATH}" != "x"; then
40766 if test "x$with_SWIGDIRPATH" = "x"; then
40767 with_SWIGDIRPATH="${gr_radio_astronomy_SWIGDIRPATH}"
40769 with_SWIGDIRPATH="${gr_radio_astronomy_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
40771 gr_radio_astronomy_SWIGDIRPATH=
40775 if test "x${gr_radio_astronomy_LIBDIRPATH}" != "x"; then
40776 if test "x$with_LIBDIRPATH" = "x"; then
40777 with_LIBDIRPATH="${gr_radio_astronomy_LIBDIRPATH}"
40779 with_LIBDIRPATH="${gr_radio_astronomy_LIBDIRPATH}"":""$with_LIBDIRPATH"
40781 gr_radio_astronomy_LIBDIRPATH=
40784 { $as_echo "$as_me:$LINENO: result: Component gr-radio-astronomy will be included from a pre-installed library and includes." >&5
40785 $as_echo "Component gr-radio-astronomy will be included from a pre-installed library and includes." >&6; }
40786 gr_radio_astronomy_with=yes
40788 gr_radio_astronomy_LDFLAG=
40789 if test x$enable_gr_radio_astronomy != xno; then
40790 ac_config_commands="$ac_config_commands run_tests_astronomy"
40793 build_dirs="$build_dirs gr-radio-astronomy"
40794 { $as_echo "$as_me:$LINENO: result: Component gr-radio-astronomy passed configuration checks; building." >&5
40795 $as_echo "Component gr-radio-astronomy passed configuration checks; building." >&6; }
40798 { $as_echo "$as_me:$LINENO: result: Component gr-radio-astronomy passed configuration checks; but not building." >&5
40799 $as_echo "Component gr-radio-astronomy passed configuration checks; but not building." >&6; }
40803 if test $passed = no; then
40804 skipped_dirs="$skipped_dirs gr-radio-astronomy"
40805 gr_radio_astronomy_skipped=yes
40807 gr_radio_astronomy_skipped=no
40821 # Check whether --enable-gr-trellis was given.
40822 if test "${enable_gr_trellis+set}" = set; then
40823 enableval=$enable_gr_trellis;
40826 enable_gr_trellis=$enable_all_components
40827 if test x$enable_all_components = xno; then
40837 if test $passed != no; then
40838 if test $passed = yes; then
40839 if test x$gnuradio_core_skipped = xyes; then
40840 { $as_echo "$as_me:$LINENO: result: Component gr-trellis requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
40841 $as_echo "Component gr-trellis requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
40845 if test x$gnuradio_core_with = xno; then
40846 { { $as_echo "$as_me:$LINENO: error: Component gr-trellis requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
40847 $as_echo "$as_me: error: Component gr-trellis requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
40848 { (exit 1); exit 1; }; }
40854 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"
40860 if test $passed = no; then
40861 if test x$enable_gr_trellis = xyes; then
40862 { { $as_echo "$as_me:$LINENO: error: Component gr-trellis has errors; stopping." >&5
40863 $as_echo "$as_me: error: Component gr-trellis has errors; stopping." >&2;}
40864 { (exit 1); exit 1; }; }
40866 { $as_echo "$as_me:$LINENO: result: Not building component gr-trellis." >&5
40867 $as_echo "Not building component gr-trellis." >&6; }
40870 if test $passed = with; then
40871 with_dirs="$with_dirs gr-trellis"
40873 if test "x${gr_trellis_INCLUDES}" != "x"; then
40874 if test "x$with_INCLUDES" = "x"; then
40875 with_INCLUDES="${gr_trellis_INCLUDES}"
40877 with_INCLUDES="${gr_trellis_INCLUDES}"" ""$with_INCLUDES"
40879 gr_trellis_INCLUDES=
40883 if test "x${gr_trellis_SWIG_INCLUDES}" != "x"; then
40884 if test "x$with_SWIG_INCLUDES" = "x"; then
40885 with_SWIG_INCLUDES="${gr_trellis_SWIG_INCLUDES}"
40887 with_SWIG_INCLUDES="${gr_trellis_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
40889 gr_trellis_SWIG_INCLUDES=
40893 if test "x${gr_trellis_PYDIRPATH}" != "x"; then
40894 if test "x$with_PYDIRPATH" = "x"; then
40895 with_PYDIRPATH="${gr_trellis_PYDIRPATH}"
40897 with_PYDIRPATH="${gr_trellis_PYDIRPATH}"":""$with_PYDIRPATH"
40899 gr_trellis_PYDIRPATH=
40903 if test "x${gr_trellis_SWIGDIRPATH}" != "x"; then
40904 if test "x$with_SWIGDIRPATH" = "x"; then
40905 with_SWIGDIRPATH="${gr_trellis_SWIGDIRPATH}"
40907 with_SWIGDIRPATH="${gr_trellis_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
40909 gr_trellis_SWIGDIRPATH=
40913 if test "x${gr_trellis_LIBDIRPATH}" != "x"; then
40914 if test "x$with_LIBDIRPATH" = "x"; then
40915 with_LIBDIRPATH="${gr_trellis_LIBDIRPATH}"
40917 with_LIBDIRPATH="${gr_trellis_LIBDIRPATH}"":""$with_LIBDIRPATH"
40919 gr_trellis_LIBDIRPATH=
40922 { $as_echo "$as_me:$LINENO: result: Component gr-trellis will be included from a pre-installed library and includes." >&5
40923 $as_echo "Component gr-trellis will be included from a pre-installed library and includes." >&6; }
40924 gr_trellis_with=yes
40927 if test x$enable_gr_trellis != xno; then
40928 ac_config_commands="$ac_config_commands run_tests_gr_trellis"
40931 build_dirs="$build_dirs gr-trellis"
40932 { $as_echo "$as_me:$LINENO: result: Component gr-trellis passed configuration checks; building." >&5
40933 $as_echo "Component gr-trellis passed configuration checks; building." >&6; }
40936 { $as_echo "$as_me:$LINENO: result: Component gr-trellis passed configuration checks; but not building." >&5
40937 $as_echo "Component gr-trellis passed configuration checks; but not building." >&6; }
40941 if test $passed = no; then
40942 skipped_dirs="$skipped_dirs gr-trellis"
40943 gr_trellis_skipped=yes
40945 gr_trellis_skipped=no
40959 # Check whether --enable-gr-video-sdl was given.
40960 if test "${enable_gr_video_sdl+set}" = set; then
40961 enableval=$enable_gr_video_sdl;
40964 enable_gr_video_sdl=$enable_all_components
40965 if test x$enable_all_components = xno; then
40975 if test $passed != no; then
40976 if test $passed = yes; then
40977 if test x$gnuradio_core_skipped = xyes; then
40978 { $as_echo "$as_me:$LINENO: result: Component gr-video-sdl requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
40979 $as_echo "Component gr-video-sdl requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
40983 if test x$gnuradio_core_with = xno; then
40984 { { $as_echo "$as_me:$LINENO: error: Component gr-video-sdl requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
40985 $as_echo "$as_me: error: Component gr-video-sdl requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
40986 { (exit 1); exit 1; }; }
40992 if test $passed = yes; then
40997 { $as_echo "$as_me:$LINENO: checking for SDL" >&5
40998 $as_echo_n "checking for SDL... " >&6; }
41000 if test -n "$PKG_CONFIG"; then
41001 if test -n "$SDL_CFLAGS"; then
41002 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
41004 if test -n "$PKG_CONFIG" && \
41005 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\"") >&5
41006 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
41008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41009 (exit $ac_status); }; then
41010 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
41019 if test x$cross_compiling = xyes
41021 if test -n "$PKG_CONFIG"; then
41022 if test -n "$SDL_LIBS"; then
41023 pkg_cv_SDL_LIBS="$SDL_LIBS"
41025 if test -n "$PKG_CONFIG" && \
41026 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\"") >&5
41027 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
41029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41030 (exit $ac_status); }; then
41031 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs --static "sdl >= 1.2.0" 2>/dev/null`
41040 for flag in $pkg_cv_SDL_LIBS; do
41042 (-L/lib* | -L/usr/lib* ) ;; # ignore
41043 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
41046 pkg_cv_SDL_LIBS="$_pkg_tmp"
41048 if test -n "$PKG_CONFIG"; then
41049 if test -n "$SDL_LIBS"; then
41050 pkg_cv_SDL_LIBS="$SDL_LIBS"
41052 if test -n "$PKG_CONFIG" && \
41053 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\"") >&5
41054 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
41056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41057 (exit $ac_status); }; then
41058 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs --static "sdl >= 1.2.0" 2>/dev/null`
41068 if test -n "$PKG_CONFIG"; then
41069 if test -n "$SDL_INCLUDEDIR"; then
41070 pkg_cv_SDL_INCLUDEDIR="$SDL_INCLUDEDIR"
41072 if test -n "$PKG_CONFIG" && \
41073 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\"") >&5
41074 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
41076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41077 (exit $ac_status); }; then
41078 pkg_cv_SDL_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "sdl >= 1.2.0" 2>/dev/null`
41090 if test $pkg_failed = yes; then
41092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41093 _pkg_short_errors_supported=yes
41095 _pkg_short_errors_supported=no
41097 if test $_pkg_short_errors_supported = yes; then
41098 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sdl >= 1.2.0"`
41100 SDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sdl >= 1.2.0"`
41102 # Put the nasty error message in config.log where it belongs
41103 echo "$SDL_PKG_ERRORS" >&5
41105 { $as_echo "$as_me:$LINENO: result: no" >&5
41106 $as_echo "no" >&6; }
41109 # Check whether --with-sdl-prefix was given.
41110 if test "${with_sdl_prefix+set}" = set; then
41111 withval=$with_sdl_prefix; sdl_prefix="$withval"
41117 # Check whether --with-sdl-exec-prefix was given.
41118 if test "${with_sdl_exec_prefix+set}" = set; then
41119 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41124 # Check whether --enable-sdltest was given.
41125 if test "${enable_sdltest+set}" = set; then
41126 enableval=$enable_sdltest;
41132 if test x$sdl_exec_prefix != x ; then
41133 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41134 if test x${SDL_CONFIG+set} != xset ; then
41135 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41138 if test x$sdl_prefix != x ; then
41139 sdl_args="$sdl_args --prefix=$sdl_prefix"
41140 if test x${SDL_CONFIG+set} != xset ; then
41141 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41146 TMP_PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41147 # Extract the first word of "sdl-config", so it can be a program name with args.
41148 set dummy sdl-config; ac_word=$2
41149 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
41150 $as_echo_n "checking for $ac_word... " >&6; }
41151 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41152 $as_echo_n "(cached) " >&6
41154 case $SDL_CONFIG in
41156 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41160 for as_dir in $TMP_PATH
41163 test -z "$as_dir" && as_dir=.
41164 for ac_exec_ext in '' $ac_executable_extensions; do
41165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41166 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41167 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41174 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41178 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41179 if test -n "$SDL_CONFIG"; then
41180 { $as_echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41181 $as_echo "$SDL_CONFIG" >&6; }
41183 { $as_echo "$as_me:$LINENO: result: no" >&5
41184 $as_echo "no" >&6; }
41188 min_sdl_version=$SDL_VERSION
41189 { $as_echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41190 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
41192 if test "$SDL_CONFIG" = "no" ; then
41195 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41196 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41198 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41199 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41200 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41201 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41202 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41203 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41204 if test "x$enable_sdltest" = "xyes" ; then
41205 ac_save_CFLAGS="$CFLAGS"
41206 ac_save_LIBS="$LIBS"
41207 CFLAGS="$CFLAGS $SDL_CFLAGS"
41208 LIBS="$LIBS $SDL_LIBS"
41210 if test "$cross_compiling" = yes; then
41211 echo $ac_n "cross compiling; assumed OK... $ac_c"
41213 cat >conftest.$ac_ext <<_ACEOF
41216 cat confdefs.h >>conftest.$ac_ext
41217 cat >>conftest.$ac_ext <<_ACEOF
41218 /* end confdefs.h. */
41221 #include <stdlib.h>
41222 #include <string.h>
41226 my_strdup (char *str)
41232 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41233 strcpy (new_str, str);
41241 int main (int argc, char *argv[])
41243 int major, minor, micro;
41246 /* This hangs on some systems (?)
41247 system ("touch conf.sdltest");
41249 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41251 /* HP/UX 9 (%@#!) writes to sscanf strings */
41252 tmp_version = my_strdup("$min_sdl_version");
41253 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41254 printf("%s, bad version string\n", "$min_sdl_version");
41258 if (($sdl_major_version > major) ||
41259 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41260 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41266 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41267 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41268 printf("*** best to upgrade to the required version.\n");
41269 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41270 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41271 printf("*** config.cache before re-running configure\n");
41278 rm -f conftest$ac_exeext
41279 if { (ac_try="$ac_link"
41280 case "(($ac_try" in
41281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41282 *) ac_try_echo=$ac_try;;
41284 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41285 $as_echo "$ac_try_echo") >&5
41286 (eval "$ac_link") 2>&5
41288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41289 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41290 { (case "(($ac_try" in
41291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41292 *) ac_try_echo=$ac_try;;
41294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41295 $as_echo "$ac_try_echo") >&5
41296 (eval "$ac_try") 2>&5
41298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41299 (exit $ac_status); }; }; then
41302 $as_echo "$as_me: program exited with status $ac_status" >&5
41303 $as_echo "$as_me: failed program was:" >&5
41304 sed 's/^/| /' conftest.$ac_ext >&5
41306 ( exit $ac_status )
41309 rm -rf conftest.dSYM
41310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41314 CFLAGS="$ac_save_CFLAGS"
41315 LIBS="$ac_save_LIBS"
41318 if test "x$no_sdl" = x ; then
41319 { $as_echo "$as_me:$LINENO: result: yes" >&5
41320 $as_echo "yes" >&6; }
41323 { $as_echo "$as_me:$LINENO: result: no" >&5
41324 $as_echo "no" >&6; }
41325 if test "$SDL_CONFIG" = "no" ; then
41326 echo "*** The sdl-config script installed by SDL could not be found"
41327 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41328 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41329 echo "*** full path to sdl-config."
41331 if test -f conf.sdltest ; then
41334 echo "*** Could not run SDL test program, checking why..."
41335 CFLAGS="$CFLAGS $SDL_CFLAGS"
41336 LIBS="$LIBS $SDL_LIBS"
41337 cat >conftest.$ac_ext <<_ACEOF
41340 cat confdefs.h >>conftest.$ac_ext
41341 cat >>conftest.$ac_ext <<_ACEOF
41342 /* end confdefs.h. */
41347 int main(int argc, char *argv[])
41350 #define main K_and_R_C_main
41360 rm -f conftest.$ac_objext conftest$ac_exeext
41361 if { (ac_try="$ac_link"
41362 case "(($ac_try" in
41363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41364 *) ac_try_echo=$ac_try;;
41366 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41367 $as_echo "$ac_try_echo") >&5
41368 (eval "$ac_link") 2>conftest.er1
41370 grep -v '^ *+' conftest.er1 >conftest.err
41372 cat conftest.err >&5
41373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41374 (exit $ac_status); } && {
41375 test -z "$ac_c_werror_flag" ||
41376 test ! -s conftest.err
41377 } && test -s conftest$ac_exeext && {
41378 test "$cross_compiling" = yes ||
41379 $as_test_x conftest$ac_exeext
41381 echo "*** The test program compiled, but did not run. This usually means"
41382 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41383 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41384 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41385 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41386 echo "*** is required on your system"
41388 echo "*** If you have an old version installed, it is best to remove it, although"
41389 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41391 $as_echo "$as_me: failed program was:" >&5
41392 sed 's/^/| /' conftest.$ac_ext >&5
41394 echo "*** The test program failed to compile or link. See the file config.log for the"
41395 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41396 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41397 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41400 rm -rf conftest.dSYM
41401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41402 conftest$ac_exeext conftest.$ac_ext
41403 CFLAGS="$ac_save_CFLAGS"
41404 LIBS="$ac_save_LIBS"
41410 passed=no;{ $as_echo "$as_me:$LINENO: result: gr-video-sdl requires library sdl, not found or failed test." >&5
41411 $as_echo "gr-video-sdl requires library sdl, not found or failed test." >&6; }
41417 elif test $pkg_failed = untried; then
41420 # Check whether --with-sdl-prefix was given.
41421 if test "${with_sdl_prefix+set}" = set; then
41422 withval=$with_sdl_prefix; sdl_prefix="$withval"
41428 # Check whether --with-sdl-exec-prefix was given.
41429 if test "${with_sdl_exec_prefix+set}" = set; then
41430 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41435 # Check whether --enable-sdltest was given.
41436 if test "${enable_sdltest+set}" = set; then
41437 enableval=$enable_sdltest;
41443 if test x$sdl_exec_prefix != x ; then
41444 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41445 if test x${SDL_CONFIG+set} != xset ; then
41446 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41449 if test x$sdl_prefix != x ; then
41450 sdl_args="$sdl_args --prefix=$sdl_prefix"
41451 if test x${SDL_CONFIG+set} != xset ; then
41452 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41457 TMP_PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41458 # Extract the first word of "sdl-config", so it can be a program name with args.
41459 set dummy sdl-config; ac_word=$2
41460 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
41461 $as_echo_n "checking for $ac_word... " >&6; }
41462 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41463 $as_echo_n "(cached) " >&6
41465 case $SDL_CONFIG in
41467 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41471 for as_dir in $TMP_PATH
41474 test -z "$as_dir" && as_dir=.
41475 for ac_exec_ext in '' $ac_executable_extensions; do
41476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41477 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41478 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41485 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41489 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41490 if test -n "$SDL_CONFIG"; then
41491 { $as_echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41492 $as_echo "$SDL_CONFIG" >&6; }
41494 { $as_echo "$as_me:$LINENO: result: no" >&5
41495 $as_echo "no" >&6; }
41499 min_sdl_version=$SDL_VERSION
41500 { $as_echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41501 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
41503 if test "$SDL_CONFIG" = "no" ; then
41506 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41507 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41509 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41510 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41511 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41512 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41513 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41514 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41515 if test "x$enable_sdltest" = "xyes" ; then
41516 ac_save_CFLAGS="$CFLAGS"
41517 ac_save_LIBS="$LIBS"
41518 CFLAGS="$CFLAGS $SDL_CFLAGS"
41519 LIBS="$LIBS $SDL_LIBS"
41521 if test "$cross_compiling" = yes; then
41522 echo $ac_n "cross compiling; assumed OK... $ac_c"
41524 cat >conftest.$ac_ext <<_ACEOF
41527 cat confdefs.h >>conftest.$ac_ext
41528 cat >>conftest.$ac_ext <<_ACEOF
41529 /* end confdefs.h. */
41532 #include <stdlib.h>
41533 #include <string.h>
41537 my_strdup (char *str)
41543 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41544 strcpy (new_str, str);
41552 int main (int argc, char *argv[])
41554 int major, minor, micro;
41557 /* This hangs on some systems (?)
41558 system ("touch conf.sdltest");
41560 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41562 /* HP/UX 9 (%@#!) writes to sscanf strings */
41563 tmp_version = my_strdup("$min_sdl_version");
41564 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41565 printf("%s, bad version string\n", "$min_sdl_version");
41569 if (($sdl_major_version > major) ||
41570 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41571 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41577 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41578 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41579 printf("*** best to upgrade to the required version.\n");
41580 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41581 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41582 printf("*** config.cache before re-running configure\n");
41589 rm -f conftest$ac_exeext
41590 if { (ac_try="$ac_link"
41591 case "(($ac_try" in
41592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41593 *) ac_try_echo=$ac_try;;
41595 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41596 $as_echo "$ac_try_echo") >&5
41597 (eval "$ac_link") 2>&5
41599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41600 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41601 { (case "(($ac_try" in
41602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41603 *) ac_try_echo=$ac_try;;
41605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41606 $as_echo "$ac_try_echo") >&5
41607 (eval "$ac_try") 2>&5
41609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41610 (exit $ac_status); }; }; then
41613 $as_echo "$as_me: program exited with status $ac_status" >&5
41614 $as_echo "$as_me: failed program was:" >&5
41615 sed 's/^/| /' conftest.$ac_ext >&5
41617 ( exit $ac_status )
41620 rm -rf conftest.dSYM
41621 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41625 CFLAGS="$ac_save_CFLAGS"
41626 LIBS="$ac_save_LIBS"
41629 if test "x$no_sdl" = x ; then
41630 { $as_echo "$as_me:$LINENO: result: yes" >&5
41631 $as_echo "yes" >&6; }
41634 { $as_echo "$as_me:$LINENO: result: no" >&5
41635 $as_echo "no" >&6; }
41636 if test "$SDL_CONFIG" = "no" ; then
41637 echo "*** The sdl-config script installed by SDL could not be found"
41638 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41639 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41640 echo "*** full path to sdl-config."
41642 if test -f conf.sdltest ; then
41645 echo "*** Could not run SDL test program, checking why..."
41646 CFLAGS="$CFLAGS $SDL_CFLAGS"
41647 LIBS="$LIBS $SDL_LIBS"
41648 cat >conftest.$ac_ext <<_ACEOF
41651 cat confdefs.h >>conftest.$ac_ext
41652 cat >>conftest.$ac_ext <<_ACEOF
41653 /* end confdefs.h. */
41658 int main(int argc, char *argv[])
41661 #define main K_and_R_C_main
41671 rm -f conftest.$ac_objext conftest$ac_exeext
41672 if { (ac_try="$ac_link"
41673 case "(($ac_try" in
41674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41675 *) ac_try_echo=$ac_try;;
41677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41678 $as_echo "$ac_try_echo") >&5
41679 (eval "$ac_link") 2>conftest.er1
41681 grep -v '^ *+' conftest.er1 >conftest.err
41683 cat conftest.err >&5
41684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41685 (exit $ac_status); } && {
41686 test -z "$ac_c_werror_flag" ||
41687 test ! -s conftest.err
41688 } && test -s conftest$ac_exeext && {
41689 test "$cross_compiling" = yes ||
41690 $as_test_x conftest$ac_exeext
41692 echo "*** The test program compiled, but did not run. This usually means"
41693 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41694 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41695 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41696 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41697 echo "*** is required on your system"
41699 echo "*** If you have an old version installed, it is best to remove it, although"
41700 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41702 $as_echo "$as_me: failed program was:" >&5
41703 sed 's/^/| /' conftest.$ac_ext >&5
41705 echo "*** The test program failed to compile or link. See the file config.log for the"
41706 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41707 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41708 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41711 rm -rf conftest.dSYM
41712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41713 conftest$ac_exeext conftest.$ac_ext
41714 CFLAGS="$ac_save_CFLAGS"
41715 LIBS="$ac_save_LIBS"
41721 passed=no;{ $as_echo "$as_me:$LINENO: result: gr-video-sdl requires library sdl, not found or failed test." >&5
41722 $as_echo "gr-video-sdl requires library sdl, not found or failed test." >&6; }
41729 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
41730 SDL_LIBS=$pkg_cv_SDL_LIBS
41731 SDL_INCLUDEDIR=$pkg_cv_SDL_INCLUDEDIR
41734 for flag in $SDL_CFLAGS; do
41736 -I* | -D* | -U*) SDL_CPPFLAGS="$SDL_CPPFLAGS $flag" ;;
41739 pkg_cv_SDL_CPPFLAGS=$SDL_CPPFLAGS
41742 { $as_echo "$as_me:$LINENO: result: yes" >&5
41743 $as_echo "yes" >&6; }
41748 ac_config_files="$ac_config_files gr-video-sdl/Makefile gr-video-sdl/src/Makefile gr-video-sdl/src/run_tests"
41753 gr_video_sdl_with=no
41754 if test $passed = no; then
41755 if test x$enable_gr_video_sdl = xyes; then
41756 { { $as_echo "$as_me:$LINENO: error: Component gr-video-sdl has errors; stopping." >&5
41757 $as_echo "$as_me: error: Component gr-video-sdl has errors; stopping." >&2;}
41758 { (exit 1); exit 1; }; }
41760 { $as_echo "$as_me:$LINENO: result: Not building component gr-video-sdl." >&5
41761 $as_echo "Not building component gr-video-sdl." >&6; }
41764 if test $passed = with; then
41765 with_dirs="$with_dirs gr-video-sdl"
41767 if test "x${gr_video_sdl_INCLUDES}" != "x"; then
41768 if test "x$with_INCLUDES" = "x"; then
41769 with_INCLUDES="${gr_video_sdl_INCLUDES}"
41771 with_INCLUDES="${gr_video_sdl_INCLUDES}"" ""$with_INCLUDES"
41773 gr_video_sdl_INCLUDES=
41777 if test "x${gr_video_sdl_SWIG_INCLUDES}" != "x"; then
41778 if test "x$with_SWIG_INCLUDES" = "x"; then
41779 with_SWIG_INCLUDES="${gr_video_sdl_SWIG_INCLUDES}"
41781 with_SWIG_INCLUDES="${gr_video_sdl_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
41783 gr_video_sdl_SWIG_INCLUDES=
41787 if test "x${gr_video_sdl_PYDIRPATH}" != "x"; then
41788 if test "x$with_PYDIRPATH" = "x"; then
41789 with_PYDIRPATH="${gr_video_sdl_PYDIRPATH}"
41791 with_PYDIRPATH="${gr_video_sdl_PYDIRPATH}"":""$with_PYDIRPATH"
41793 gr_video_sdl_PYDIRPATH=
41797 if test "x${gr_video_sdl_SWIGDIRPATH}" != "x"; then
41798 if test "x$with_SWIGDIRPATH" = "x"; then
41799 with_SWIGDIRPATH="${gr_video_sdl_SWIGDIRPATH}"
41801 with_SWIGDIRPATH="${gr_video_sdl_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
41803 gr_video_sdl_SWIGDIRPATH=
41807 if test "x${gr_video_sdl_LIBDIRPATH}" != "x"; then
41808 if test "x$with_LIBDIRPATH" = "x"; then
41809 with_LIBDIRPATH="${gr_video_sdl_LIBDIRPATH}"
41811 with_LIBDIRPATH="${gr_video_sdl_LIBDIRPATH}"":""$with_LIBDIRPATH"
41813 gr_video_sdl_LIBDIRPATH=
41816 { $as_echo "$as_me:$LINENO: result: Component gr-video-sdl will be included from a pre-installed library and includes." >&5
41817 $as_echo "Component gr-video-sdl will be included from a pre-installed library and includes." >&6; }
41818 gr_video_sdl_with=yes
41820 gr_video_sdl_LDFLAG=
41821 if test x$enable_gr_video_sdl != xno; then
41822 ac_config_commands="$ac_config_commands run_tests_sdl"
41825 build_dirs="$build_dirs gr-video-sdl"
41826 { $as_echo "$as_me:$LINENO: result: Component gr-video-sdl passed configuration checks; building." >&5
41827 $as_echo "Component gr-video-sdl passed configuration checks; building." >&6; }
41830 { $as_echo "$as_me:$LINENO: result: Component gr-video-sdl passed configuration checks; but not building." >&5
41831 $as_echo "Component gr-video-sdl passed configuration checks; but not building." >&6; }
41835 if test $passed = no; then
41836 skipped_dirs="$skipped_dirs gr-video-sdl"
41837 gr_video_sdl_skipped=yes
41839 gr_video_sdl_skipped=no
41853 # Check whether --enable-gr-wxgui was given.
41854 if test "${enable_gr_wxgui+set}" = set; then
41855 enableval=$enable_gr_wxgui;
41858 enable_gr_wxgui=$enable_all_components
41859 if test x$enable_all_components = xno; then
41868 if test x = x; then
41869 pc_comp_name="gr-wxgui"
41875 # Check whether --with-gr-wxgui was given.
41876 if test "${with_gr_wxgui+set}" = set; then
41877 withval=$with_gr_wxgui; if test "x$withval" != "xyes"; then
41878 with_gr_wxgui_val=$withval
41883 if test x$with_gr_wxgui = xyes; then
41884 if test x$enable_gr_wxgui = xyes; then
41885 { { $as_echo "$as_me:$LINENO: error: Component gr-wxgui: Cannot use both --enable and --with" >&5
41886 $as_echo "$as_me: error: Component gr-wxgui: Cannot use both --enable and --with" >&2;}
41887 { (exit 1); exit 1; }; }
41890 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
41892 l_PKG_CONFIG_PATH=$with_gr_wxgui_val
41893 if test "x$l_PKG_CONFIG_PATH" != "x"; then
41894 export PKG_CONFIG_PATH=$l_PKG_CONFIG_PATH
41896 if ! test -r ${l_PKG_CONFIG_PATH}/${pc_comp_name}.pc; then
41897 { { $as_echo "$as_me:$LINENO: error: Component gr-wxgui: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." >&5
41898 $as_echo "$as_me: error: Component gr-wxgui: PKGCONFIG cannot find info for ${pc_comp_name}, with provided PKG_CONFIG_PATH = [ $l_PKG_CONFIG_PATH ] ." >&2;}
41899 { (exit 1); exit 1; }; }
41903 if test -n "$PKG_CONFIG" && \
41904 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\"") >&5
41905 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
41907 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41908 (exit $ac_status); }; then
41909 passed=with; check1=yes
41913 if test "x$l_PKG_CONFIG_PATH" != "x"; then
41914 if test "x$s_PKG_CONFIG_PATH" != "x"; then
41915 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
41916 if test -n "$PKG_CONFIG" && \
41917 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\${pc_comp_name}\"") >&5
41918 ($PKG_CONFIG --exists --print-errors "${pc_comp_name}") 2>&5
41920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41921 (exit $ac_status); }; then
41928 if test $passed != with; then
41929 { { $as_echo "$as_me:$LINENO: error: Component gr-wxgui: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." >&5
41930 $as_echo "$as_me: error: Component gr-wxgui: PKGCONFIG cannot find info for ${pc_comp_name}, with PKG_CONFIG_PATH = [ $PKG_CONFIG_PATH ] ." >&2;}
41931 { (exit 1); exit 1; }; }
41933 s_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
41937 gr_wxgui_INCLUDES=`$PKG_CONFIG --cflags-only-I ${pc_comp_name}`
41938 gr_wxgui_LA=`$PKG_CONFIG --libs ${pc_comp_name}`
41939 gr_wxgui_INCLUDEDIR=`$PKG_CONFIG --variable=includedir ${pc_comp_name}`
41941 if test x$check1 = xyes; then
41942 if test "x$s_PKG_CONFIG_PATH" != "x"; then
41943 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${s_PKG_CONFIG_PATH}
41954 if test $passed != no; then
41955 if test $passed = yes; then
41956 if test x$gnuradio_core_skipped = xyes; then
41957 { $as_echo "$as_me:$LINENO: result: Component gr-wxgui requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
41958 $as_echo "Component gr-wxgui requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
41962 if test x$gnuradio_core_with = xno; then
41963 { { $as_echo "$as_me:$LINENO: error: Component gr-wxgui requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
41964 $as_echo "$as_me: error: Component gr-wxgui requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
41965 { (exit 1); exit 1; }; }
41971 if test $passed = yes; then
41973 { $as_echo "$as_me:$LINENO: checking for Python wxWidgets wrappers >= 2.8" >&5
41974 $as_echo_n "checking for Python wxWidgets wrappers >= 2.8... " >&6; }
41975 if test "wx.version().split()[0] >= "2.8""; then
41979 assert wx.version().split()[0] >= "2.8"
41986 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
41987 { $as_echo "$as_me:$LINENO: result: no" >&5
41988 $as_echo "no" >&6; }
41991 { $as_echo "$as_me:$LINENO: result: yes" >&5
41992 $as_echo "yes" >&6; }
41997 { $as_echo "$as_me:$LINENO: checking for Numeric Python extensions" >&5
41998 $as_echo_n "checking for Numeric Python extensions... " >&6; }
42010 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
42011 { $as_echo "$as_me:$LINENO: result: no" >&5
42012 $as_echo "no" >&6; }
42015 { $as_echo "$as_me:$LINENO: result: yes" >&5
42016 $as_echo "yes" >&6; }
42022 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"
42028 if test $passed = no; then
42029 if test x$enable_gr_wxgui = xyes; then
42030 { { $as_echo "$as_me:$LINENO: error: Component gr-wxgui has errors; stopping." >&5
42031 $as_echo "$as_me: error: Component gr-wxgui has errors; stopping." >&2;}
42032 { (exit 1); exit 1; }; }
42034 { $as_echo "$as_me:$LINENO: result: Not building component gr-wxgui." >&5
42035 $as_echo "Not building component gr-wxgui." >&6; }
42038 if test $passed = with; then
42039 with_dirs="$with_dirs gr-wxgui"
42041 if test "x${gr_wxgui_INCLUDES}" != "x"; then
42042 if test "x$with_INCLUDES" = "x"; then
42043 with_INCLUDES="${gr_wxgui_INCLUDES}"
42045 with_INCLUDES="${gr_wxgui_INCLUDES}"" ""$with_INCLUDES"
42051 if test "x${gr_wxgui_SWIG_INCLUDES}" != "x"; then
42052 if test "x$with_SWIG_INCLUDES" = "x"; then
42053 with_SWIG_INCLUDES="${gr_wxgui_SWIG_INCLUDES}"
42055 with_SWIG_INCLUDES="${gr_wxgui_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
42057 gr_wxgui_SWIG_INCLUDES=
42061 if test "x${gr_wxgui_PYDIRPATH}" != "x"; then
42062 if test "x$with_PYDIRPATH" = "x"; then
42063 with_PYDIRPATH="${gr_wxgui_PYDIRPATH}"
42065 with_PYDIRPATH="${gr_wxgui_PYDIRPATH}"":""$with_PYDIRPATH"
42067 gr_wxgui_PYDIRPATH=
42071 if test "x${gr_wxgui_SWIGDIRPATH}" != "x"; then
42072 if test "x$with_SWIGDIRPATH" = "x"; then
42073 with_SWIGDIRPATH="${gr_wxgui_SWIGDIRPATH}"
42075 with_SWIGDIRPATH="${gr_wxgui_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
42077 gr_wxgui_SWIGDIRPATH=
42081 if test "x${gr_wxgui_LIBDIRPATH}" != "x"; then
42082 if test "x$with_LIBDIRPATH" = "x"; then
42083 with_LIBDIRPATH="${gr_wxgui_LIBDIRPATH}"
42085 with_LIBDIRPATH="${gr_wxgui_LIBDIRPATH}"":""$with_LIBDIRPATH"
42087 gr_wxgui_LIBDIRPATH=
42090 { $as_echo "$as_me:$LINENO: result: Component gr-wxgui will be included from a pre-installed library and includes." >&5
42091 $as_echo "Component gr-wxgui will be included from a pre-installed library and includes." >&6; }
42095 if test x$enable_gr_wxgui != xno; then
42097 build_dirs="$build_dirs gr-wxgui"
42098 { $as_echo "$as_me:$LINENO: result: Component gr-wxgui passed configuration checks; building." >&5
42099 $as_echo "Component gr-wxgui passed configuration checks; building." >&6; }
42102 { $as_echo "$as_me:$LINENO: result: Component gr-wxgui passed configuration checks; but not building." >&5
42103 $as_echo "Component gr-wxgui passed configuration checks; but not building." >&6; }
42107 if test $passed = no; then
42108 skipped_dirs="$skipped_dirs gr-wxgui"
42109 gr_wxgui_skipped=yes
42111 gr_wxgui_skipped=no
42126 # Check whether --enable-gr-qtgui was given.
42127 if test "${enable_gr_qtgui+set}" = set; then
42128 enableval=$enable_gr_qtgui;
42131 enable_gr_qtgui=$enable_all_components
42132 if test x$enable_all_components = xno; then
42142 if test $passed != no; then
42143 if test $passed = yes; then
42144 if test x$gnuradio_core_skipped = xyes; then
42145 { $as_echo "$as_me:$LINENO: result: Component gr-qtgui requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
42146 $as_echo "Component gr-qtgui requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
42150 if test x$gnuradio_core_with = xno; then
42151 { { $as_echo "$as_me:$LINENO: error: Component gr-qtgui requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
42152 $as_echo "$as_me: error: Component gr-qtgui requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
42153 { (exit 1); exit 1; }; }
42161 { $as_echo "$as_me:$LINENO: checking for PyQt4 for Qt4" >&5
42162 $as_echo_n "checking for PyQt4 for Qt4... " >&6; }
42164 PyQt4.QtCore.PYQT_VERSION >= 260000"; then
42167 import PyQt4.QtCore
42169 PyQt4.QtCore.PYQT_VERSION >= 260000
42173 try: import PyQt4.QtCore
42176 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
42177 { $as_echo "$as_me:$LINENO: result: no" >&5
42178 $as_echo "no" >&6; }
42181 { $as_echo "$as_me:$LINENO: result: yes" >&5
42182 $as_echo "yes" >&6; }
42188 # Enable this if we want to test for PyQwt, too
42189 #PYTHON_CHECK_MODULE([PyQt4.Qwt5], [PyQwt5 for Qt4], \
42190 # [passed=yes], [passed=no], \
42191 # [PyQt4.Qwt5.QWT_VERSION >= 327000])
42201 # qt4-core, qt4-gui, qwt5-qt4, qwt5-qt4-dev, libqwtplot3d-qt4, libqwtplot3d-qt4-dev, qt4-dev-tools
42203 if test $passed = yes; then
42208 { $as_echo "$as_me:$LINENO: checking for QTCORE" >&5
42209 $as_echo_n "checking for QTCORE... " >&6; }
42211 if test -n "$PKG_CONFIG"; then
42212 if test -n "$QTCORE_CFLAGS"; then
42213 pkg_cv_QTCORE_CFLAGS="$QTCORE_CFLAGS"
42215 if test -n "$PKG_CONFIG" && \
42216 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.2\"") >&5
42217 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.2") 2>&5
42219 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42220 (exit $ac_status); }; then
42221 pkg_cv_QTCORE_CFLAGS=`$PKG_CONFIG --cflags "QtCore >= 4.2" 2>/dev/null`
42230 if test x$cross_compiling = xyes
42232 if test -n "$PKG_CONFIG"; then
42233 if test -n "$QTCORE_LIBS"; then
42234 pkg_cv_QTCORE_LIBS="$QTCORE_LIBS"
42236 if test -n "$PKG_CONFIG" && \
42237 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.2\"") >&5
42238 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.2") 2>&5
42240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42241 (exit $ac_status); }; then
42242 pkg_cv_QTCORE_LIBS=`$PKG_CONFIG --libs --static "QtCore >= 4.2" 2>/dev/null`
42251 for flag in $pkg_cv_QTCORE_LIBS; do
42253 (-L/lib* | -L/usr/lib* ) ;; # ignore
42254 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
42257 pkg_cv_QTCORE_LIBS="$_pkg_tmp"
42259 if test -n "$PKG_CONFIG"; then
42260 if test -n "$QTCORE_LIBS"; then
42261 pkg_cv_QTCORE_LIBS="$QTCORE_LIBS"
42263 if test -n "$PKG_CONFIG" && \
42264 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.2\"") >&5
42265 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.2") 2>&5
42267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42268 (exit $ac_status); }; then
42269 pkg_cv_QTCORE_LIBS=`$PKG_CONFIG --libs --static "QtCore >= 4.2" 2>/dev/null`
42279 if test -n "$PKG_CONFIG"; then
42280 if test -n "$QTCORE_INCLUDEDIR"; then
42281 pkg_cv_QTCORE_INCLUDEDIR="$QTCORE_INCLUDEDIR"
42283 if test -n "$PKG_CONFIG" && \
42284 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.2\"") >&5
42285 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.2") 2>&5
42287 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42288 (exit $ac_status); }; then
42289 pkg_cv_QTCORE_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "QtCore >= 4.2" 2>/dev/null`
42301 if test $pkg_failed = yes; then
42303 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42304 _pkg_short_errors_supported=yes
42306 _pkg_short_errors_supported=no
42308 if test $_pkg_short_errors_supported = yes; then
42309 QTCORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtCore >= 4.2"`
42311 QTCORE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore >= 4.2"`
42313 # Put the nasty error message in config.log where it belongs
42314 echo "$QTCORE_PKG_ERRORS" >&5
42316 { $as_echo "$as_me:$LINENO: result: no" >&5
42317 $as_echo "no" >&6; }
42318 passed=no; { $as_echo "$as_me:$LINENO: result: gr-qtgui requires libQtCore >= 4.2." >&5
42319 $as_echo "gr-qtgui requires libQtCore >= 4.2." >&6; }
42320 elif test $pkg_failed = untried; then
42321 passed=no; { $as_echo "$as_me:$LINENO: result: gr-qtgui requires libQtCore >= 4.2." >&5
42322 $as_echo "gr-qtgui requires libQtCore >= 4.2." >&6; }
42324 QTCORE_CFLAGS=$pkg_cv_QTCORE_CFLAGS
42325 QTCORE_LIBS=$pkg_cv_QTCORE_LIBS
42326 QTCORE_INCLUDEDIR=$pkg_cv_QTCORE_INCLUDEDIR
42329 for flag in $QTCORE_CFLAGS; do
42331 -I* | -D* | -U*) QTCORE_CPPFLAGS="$QTCORE_CPPFLAGS $flag" ;;
42334 pkg_cv_QTCORE_CPPFLAGS=$QTCORE_CPPFLAGS
42337 { $as_echo "$as_me:$LINENO: result: yes" >&5
42338 $as_echo "yes" >&6; }
42345 { $as_echo "$as_me:$LINENO: checking for QTGUI" >&5
42346 $as_echo_n "checking for QTGUI... " >&6; }
42348 if test -n "$PKG_CONFIG"; then
42349 if test -n "$QTGUI_CFLAGS"; then
42350 pkg_cv_QTGUI_CFLAGS="$QTGUI_CFLAGS"
42352 if test -n "$PKG_CONFIG" && \
42353 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.2\"") >&5
42354 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.2") 2>&5
42356 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42357 (exit $ac_status); }; then
42358 pkg_cv_QTGUI_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.2" 2>/dev/null`
42367 if test x$cross_compiling = xyes
42369 if test -n "$PKG_CONFIG"; then
42370 if test -n "$QTGUI_LIBS"; then
42371 pkg_cv_QTGUI_LIBS="$QTGUI_LIBS"
42373 if test -n "$PKG_CONFIG" && \
42374 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.2\"") >&5
42375 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.2") 2>&5
42377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42378 (exit $ac_status); }; then
42379 pkg_cv_QTGUI_LIBS=`$PKG_CONFIG --libs --static "QtGui >= 4.2" 2>/dev/null`
42388 for flag in $pkg_cv_QTGUI_LIBS; do
42390 (-L/lib* | -L/usr/lib* ) ;; # ignore
42391 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
42394 pkg_cv_QTGUI_LIBS="$_pkg_tmp"
42396 if test -n "$PKG_CONFIG"; then
42397 if test -n "$QTGUI_LIBS"; then
42398 pkg_cv_QTGUI_LIBS="$QTGUI_LIBS"
42400 if test -n "$PKG_CONFIG" && \
42401 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.2\"") >&5
42402 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.2") 2>&5
42404 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42405 (exit $ac_status); }; then
42406 pkg_cv_QTGUI_LIBS=`$PKG_CONFIG --libs --static "QtGui >= 4.2" 2>/dev/null`
42416 if test -n "$PKG_CONFIG"; then
42417 if test -n "$QTGUI_INCLUDEDIR"; then
42418 pkg_cv_QTGUI_INCLUDEDIR="$QTGUI_INCLUDEDIR"
42420 if test -n "$PKG_CONFIG" && \
42421 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.2\"") >&5
42422 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.2") 2>&5
42424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42425 (exit $ac_status); }; then
42426 pkg_cv_QTGUI_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "QtGui >= 4.2" 2>/dev/null`
42438 if test $pkg_failed = yes; then
42440 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42441 _pkg_short_errors_supported=yes
42443 _pkg_short_errors_supported=no
42445 if test $_pkg_short_errors_supported = yes; then
42446 QTGUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtGui >= 4.2"`
42448 QTGUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.2"`
42450 # Put the nasty error message in config.log where it belongs
42451 echo "$QTGUI_PKG_ERRORS" >&5
42453 { $as_echo "$as_me:$LINENO: result: no" >&5
42454 $as_echo "no" >&6; }
42455 passed=no; { $as_echo "$as_me:$LINENO: result: gr-qtgui requires libQtGui >= 4.2." >&5
42456 $as_echo "gr-qtgui requires libQtGui >= 4.2." >&6; }
42457 elif test $pkg_failed = untried; then
42458 passed=no; { $as_echo "$as_me:$LINENO: result: gr-qtgui requires libQtGui >= 4.2." >&5
42459 $as_echo "gr-qtgui requires libQtGui >= 4.2." >&6; }
42461 QTGUI_CFLAGS=$pkg_cv_QTGUI_CFLAGS
42462 QTGUI_LIBS=$pkg_cv_QTGUI_LIBS
42463 QTGUI_INCLUDEDIR=$pkg_cv_QTGUI_INCLUDEDIR
42466 for flag in $QTGUI_CFLAGS; do
42468 -I* | -D* | -U*) QTGUI_CPPFLAGS="$QTGUI_CPPFLAGS $flag" ;;
42471 pkg_cv_QTGUI_CPPFLAGS=$QTGUI_CPPFLAGS
42474 { $as_echo "$as_me:$LINENO: result: yes" >&5
42475 $as_echo "yes" >&6; }
42482 { $as_echo "$as_me:$LINENO: checking for QTOPENGL" >&5
42483 $as_echo_n "checking for QTOPENGL... " >&6; }
42485 if test -n "$PKG_CONFIG"; then
42486 if test -n "$QTOPENGL_CFLAGS"; then
42487 pkg_cv_QTOPENGL_CFLAGS="$QTOPENGL_CFLAGS"
42489 if test -n "$PKG_CONFIG" && \
42490 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"QtOpenGL >= 4.2\"") >&5
42491 ($PKG_CONFIG --exists --print-errors "QtOpenGL >= 4.2") 2>&5
42493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42494 (exit $ac_status); }; then
42495 pkg_cv_QTOPENGL_CFLAGS=`$PKG_CONFIG --cflags "QtOpenGL >= 4.2" 2>/dev/null`
42504 if test x$cross_compiling = xyes
42506 if test -n "$PKG_CONFIG"; then
42507 if test -n "$QTOPENGL_LIBS"; then
42508 pkg_cv_QTOPENGL_LIBS="$QTOPENGL_LIBS"
42510 if test -n "$PKG_CONFIG" && \
42511 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"QtOpenGL >= 4.2\"") >&5
42512 ($PKG_CONFIG --exists --print-errors "QtOpenGL >= 4.2") 2>&5
42514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42515 (exit $ac_status); }; then
42516 pkg_cv_QTOPENGL_LIBS=`$PKG_CONFIG --libs --static "QtOpenGL >= 4.2" 2>/dev/null`
42525 for flag in $pkg_cv_QTOPENGL_LIBS; do
42527 (-L/lib* | -L/usr/lib* ) ;; # ignore
42528 (*) _pkg_tmp="$_pkg_tmp $flag" ;;
42531 pkg_cv_QTOPENGL_LIBS="$_pkg_tmp"
42533 if test -n "$PKG_CONFIG"; then
42534 if test -n "$QTOPENGL_LIBS"; then
42535 pkg_cv_QTOPENGL_LIBS="$QTOPENGL_LIBS"
42537 if test -n "$PKG_CONFIG" && \
42538 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"QtOpenGL >= 4.2\"") >&5
42539 ($PKG_CONFIG --exists --print-errors "QtOpenGL >= 4.2") 2>&5
42541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42542 (exit $ac_status); }; then
42543 pkg_cv_QTOPENGL_LIBS=`$PKG_CONFIG --libs --static "QtOpenGL >= 4.2" 2>/dev/null`
42553 if test -n "$PKG_CONFIG"; then
42554 if test -n "$QTOPENGL_INCLUDEDIR"; then
42555 pkg_cv_QTOPENGL_INCLUDEDIR="$QTOPENGL_INCLUDEDIR"
42557 if test -n "$PKG_CONFIG" && \
42558 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"QtOpenGL >= 4.2\"") >&5
42559 ($PKG_CONFIG --exists --print-errors "QtOpenGL >= 4.2") 2>&5
42561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42562 (exit $ac_status); }; then
42563 pkg_cv_QTOPENGL_INCLUDEDIR=`$PKG_CONFIG --variable=includedir "QtOpenGL >= 4.2" 2>/dev/null`
42575 if test $pkg_failed = yes; then
42577 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42578 _pkg_short_errors_supported=yes
42580 _pkg_short_errors_supported=no
42582 if test $_pkg_short_errors_supported = yes; then
42583 QTOPENGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtOpenGL >= 4.2"`
42585 QTOPENGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtOpenGL >= 4.2"`
42587 # Put the nasty error message in config.log where it belongs
42588 echo "$QTOPENGL_PKG_ERRORS" >&5
42590 { $as_echo "$as_me:$LINENO: result: no" >&5
42591 $as_echo "no" >&6; }
42592 passed=no; { $as_echo "$as_me:$LINENO: result: gr-qtgui requires libQtOpenGL >- 4.2." >&5
42593 $as_echo "gr-qtgui requires libQtOpenGL >- 4.2." >&6; }
42594 elif test $pkg_failed = untried; then
42595 passed=no; { $as_echo "$as_me:$LINENO: result: gr-qtgui requires libQtOpenGL >- 4.2." >&5
42596 $as_echo "gr-qtgui requires libQtOpenGL >- 4.2." >&6; }
42598 QTOPENGL_CFLAGS=$pkg_cv_QTOPENGL_CFLAGS
42599 QTOPENGL_LIBS=$pkg_cv_QTOPENGL_LIBS
42600 QTOPENGL_INCLUDEDIR=$pkg_cv_QTOPENGL_INCLUDEDIR
42602 QTOPENGL_CPPFLAGS=""
42603 for flag in $QTOPENGL_CFLAGS; do
42605 -I* | -D* | -U*) QTOPENGL_CPPFLAGS="$QTOPENGL_CPPFLAGS $flag" ;;
42608 pkg_cv_QTOPENGL_CPPFLAGS=$QTOPENGL_CPPFLAGS
42611 { $as_echo "$as_me:$LINENO: result: yes" >&5
42612 $as_echo "yes" >&6; }
42617 QWT_LIBRARY1=-lqwt-qt4
42621 ac_cpp='$CXXCPP $CPPFLAGS'
42622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42626 qwt_save_CPPFLAGS="$CPPFLAGS"
42627 qwt_save_LIBS="$LIBS"
42631 # Check whether --with-qwt-libdir was given.
42632 if test "${with_qwt_libdir+set}" = set; then
42633 withval=$with_qwt_libdir; qwt_libdir="$withval"
42640 # Check whether --with-qwt-incdir was given.
42641 if test "${with_qwt_incdir+set}" = set; then
42642 withval=$with_qwt_incdir; qwt_incdir="$withval"
42648 # Check whether --with-qwt-lib was given.
42649 if test "${with_qwt_lib+set}" = set; then
42650 withval=$with_qwt_lib; qwt_lib="$withval"
42656 CPPFLAGS="$CPPFLAGS $QTCORE_CFLAGS"
42658 if test "$qwt_incdir" = "" ; then
42659 if test "${ac_cv_header_qwt_qwt_h+set}" = set; then
42660 { $as_echo "$as_me:$LINENO: checking for qwt/qwt.h" >&5
42661 $as_echo_n "checking for qwt/qwt.h... " >&6; }
42662 if test "${ac_cv_header_qwt_qwt_h+set}" = set; then
42663 $as_echo_n "(cached) " >&6
42665 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_qwt_qwt_h" >&5
42666 $as_echo "$ac_cv_header_qwt_qwt_h" >&6; }
42668 # Is the header compilable?
42669 { $as_echo "$as_me:$LINENO: checking qwt/qwt.h usability" >&5
42670 $as_echo_n "checking qwt/qwt.h usability... " >&6; }
42671 cat >conftest.$ac_ext <<_ACEOF
42674 cat confdefs.h >>conftest.$ac_ext
42675 cat >>conftest.$ac_ext <<_ACEOF
42676 /* end confdefs.h. */
42677 $ac_includes_default
42678 #include <qwt/qwt.h>
42680 rm -f conftest.$ac_objext
42681 if { (ac_try="$ac_compile"
42682 case "(($ac_try" in
42683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42684 *) ac_try_echo=$ac_try;;
42686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42687 $as_echo "$ac_try_echo") >&5
42688 (eval "$ac_compile") 2>conftest.er1
42690 grep -v '^ *+' conftest.er1 >conftest.err
42692 cat conftest.err >&5
42693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42694 (exit $ac_status); } && {
42695 test -z "$ac_cxx_werror_flag" ||
42696 test ! -s conftest.err
42697 } && test -s conftest.$ac_objext; then
42698 ac_header_compiler=yes
42700 $as_echo "$as_me: failed program was:" >&5
42701 sed 's/^/| /' conftest.$ac_ext >&5
42703 ac_header_compiler=no
42706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42707 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42708 $as_echo "$ac_header_compiler" >&6; }
42710 # Is the header present?
42711 { $as_echo "$as_me:$LINENO: checking qwt/qwt.h presence" >&5
42712 $as_echo_n "checking qwt/qwt.h presence... " >&6; }
42713 cat >conftest.$ac_ext <<_ACEOF
42716 cat confdefs.h >>conftest.$ac_ext
42717 cat >>conftest.$ac_ext <<_ACEOF
42718 /* end confdefs.h. */
42719 #include <qwt/qwt.h>
42721 if { (ac_try="$ac_cpp conftest.$ac_ext"
42722 case "(($ac_try" in
42723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42724 *) ac_try_echo=$ac_try;;
42726 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42727 $as_echo "$ac_try_echo") >&5
42728 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
42730 grep -v '^ *+' conftest.er1 >conftest.err
42732 cat conftest.err >&5
42733 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42734 (exit $ac_status); } >/dev/null && {
42735 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
42736 test ! -s conftest.err
42738 ac_header_preproc=yes
42740 $as_echo "$as_me: failed program was:" >&5
42741 sed 's/^/| /' conftest.$ac_ext >&5
42743 ac_header_preproc=no
42746 rm -f conftest.err conftest.$ac_ext
42747 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42748 $as_echo "$ac_header_preproc" >&6; }
42750 # So? What about this header?
42751 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
42753 { $as_echo "$as_me:$LINENO: WARNING: qwt/qwt.h: accepted by the compiler, rejected by the preprocessor!" >&5
42754 $as_echo "$as_me: WARNING: qwt/qwt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
42755 { $as_echo "$as_me:$LINENO: WARNING: qwt/qwt.h: proceeding with the compiler's result" >&5
42756 $as_echo "$as_me: WARNING: qwt/qwt.h: proceeding with the compiler's result" >&2;}
42757 ac_header_preproc=yes
42760 { $as_echo "$as_me:$LINENO: WARNING: qwt/qwt.h: present but cannot be compiled" >&5
42761 $as_echo "$as_me: WARNING: qwt/qwt.h: present but cannot be compiled" >&2;}
42762 { $as_echo "$as_me:$LINENO: WARNING: qwt/qwt.h: check for missing prerequisite headers?" >&5
42763 $as_echo "$as_me: WARNING: qwt/qwt.h: check for missing prerequisite headers?" >&2;}
42764 { $as_echo "$as_me:$LINENO: WARNING: qwt/qwt.h: see the Autoconf documentation" >&5
42765 $as_echo "$as_me: WARNING: qwt/qwt.h: see the Autoconf documentation" >&2;}
42766 { $as_echo "$as_me:$LINENO: WARNING: qwt/qwt.h: section \"Present But Cannot Be Compiled\"" >&5
42767 $as_echo "$as_me: WARNING: qwt/qwt.h: section \"Present But Cannot Be Compiled\"" >&2;}
42768 { $as_echo "$as_me:$LINENO: WARNING: qwt/qwt.h: proceeding with the preprocessor's result" >&5
42769 $as_echo "$as_me: WARNING: qwt/qwt.h: proceeding with the preprocessor's result" >&2;}
42770 { $as_echo "$as_me:$LINENO: WARNING: qwt/qwt.h: in the future, the compiler will take precedence" >&5
42771 $as_echo "$as_me: WARNING: qwt/qwt.h: in the future, the compiler will take precedence" >&2;}
42775 { $as_echo "$as_me:$LINENO: checking for qwt/qwt.h" >&5
42776 $as_echo_n "checking for qwt/qwt.h... " >&6; }
42777 if test "${ac_cv_header_qwt_qwt_h+set}" = set; then
42778 $as_echo_n "(cached) " >&6
42780 ac_cv_header_qwt_qwt_h=$ac_header_preproc
42782 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_qwt_qwt_h" >&5
42783 $as_echo "$ac_cv_header_qwt_qwt_h" >&6; }
42786 if test "x$ac_cv_header_qwt_qwt_h" = x""yes; then
42794 if test "$qwt_qwt_h" = "yes" ; then
42795 QWT_CFLAGS="$QWT_CFLAGS -I/usr/include/qwt"
42797 if test "${ac_cv_header_qwt_qt4_qwt_h+set}" = set; then
42798 { $as_echo "$as_me:$LINENO: checking for qwt-qt4/qwt.h" >&5
42799 $as_echo_n "checking for qwt-qt4/qwt.h... " >&6; }
42800 if test "${ac_cv_header_qwt_qt4_qwt_h+set}" = set; then
42801 $as_echo_n "(cached) " >&6
42803 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_qwt_qt4_qwt_h" >&5
42804 $as_echo "$ac_cv_header_qwt_qt4_qwt_h" >&6; }
42806 # Is the header compilable?
42807 { $as_echo "$as_me:$LINENO: checking qwt-qt4/qwt.h usability" >&5
42808 $as_echo_n "checking qwt-qt4/qwt.h usability... " >&6; }
42809 cat >conftest.$ac_ext <<_ACEOF
42812 cat confdefs.h >>conftest.$ac_ext
42813 cat >>conftest.$ac_ext <<_ACEOF
42814 /* end confdefs.h. */
42815 $ac_includes_default
42816 #include <qwt-qt4/qwt.h>
42818 rm -f conftest.$ac_objext
42819 if { (ac_try="$ac_compile"
42820 case "(($ac_try" in
42821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42822 *) ac_try_echo=$ac_try;;
42824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42825 $as_echo "$ac_try_echo") >&5
42826 (eval "$ac_compile") 2>conftest.er1
42828 grep -v '^ *+' conftest.er1 >conftest.err
42830 cat conftest.err >&5
42831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42832 (exit $ac_status); } && {
42833 test -z "$ac_cxx_werror_flag" ||
42834 test ! -s conftest.err
42835 } && test -s conftest.$ac_objext; then
42836 ac_header_compiler=yes
42838 $as_echo "$as_me: failed program was:" >&5
42839 sed 's/^/| /' conftest.$ac_ext >&5
42841 ac_header_compiler=no
42844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42845 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42846 $as_echo "$ac_header_compiler" >&6; }
42848 # Is the header present?
42849 { $as_echo "$as_me:$LINENO: checking qwt-qt4/qwt.h presence" >&5
42850 $as_echo_n "checking qwt-qt4/qwt.h presence... " >&6; }
42851 cat >conftest.$ac_ext <<_ACEOF
42854 cat confdefs.h >>conftest.$ac_ext
42855 cat >>conftest.$ac_ext <<_ACEOF
42856 /* end confdefs.h. */
42857 #include <qwt-qt4/qwt.h>
42859 if { (ac_try="$ac_cpp conftest.$ac_ext"
42860 case "(($ac_try" in
42861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42862 *) ac_try_echo=$ac_try;;
42864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42865 $as_echo "$ac_try_echo") >&5
42866 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
42868 grep -v '^ *+' conftest.er1 >conftest.err
42870 cat conftest.err >&5
42871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42872 (exit $ac_status); } >/dev/null && {
42873 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
42874 test ! -s conftest.err
42876 ac_header_preproc=yes
42878 $as_echo "$as_me: failed program was:" >&5
42879 sed 's/^/| /' conftest.$ac_ext >&5
42881 ac_header_preproc=no
42884 rm -f conftest.err conftest.$ac_ext
42885 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42886 $as_echo "$ac_header_preproc" >&6; }
42888 # So? What about this header?
42889 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
42891 { $as_echo "$as_me:$LINENO: WARNING: qwt-qt4/qwt.h: accepted by the compiler, rejected by the preprocessor!" >&5
42892 $as_echo "$as_me: WARNING: qwt-qt4/qwt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
42893 { $as_echo "$as_me:$LINENO: WARNING: qwt-qt4/qwt.h: proceeding with the compiler's result" >&5
42894 $as_echo "$as_me: WARNING: qwt-qt4/qwt.h: proceeding with the compiler's result" >&2;}
42895 ac_header_preproc=yes
42898 { $as_echo "$as_me:$LINENO: WARNING: qwt-qt4/qwt.h: present but cannot be compiled" >&5
42899 $as_echo "$as_me: WARNING: qwt-qt4/qwt.h: present but cannot be compiled" >&2;}
42900 { $as_echo "$as_me:$LINENO: WARNING: qwt-qt4/qwt.h: check for missing prerequisite headers?" >&5
42901 $as_echo "$as_me: WARNING: qwt-qt4/qwt.h: check for missing prerequisite headers?" >&2;}
42902 { $as_echo "$as_me:$LINENO: WARNING: qwt-qt4/qwt.h: see the Autoconf documentation" >&5
42903 $as_echo "$as_me: WARNING: qwt-qt4/qwt.h: see the Autoconf documentation" >&2;}
42904 { $as_echo "$as_me:$LINENO: WARNING: qwt-qt4/qwt.h: section \"Present But Cannot Be Compiled\"" >&5
42905 $as_echo "$as_me: WARNING: qwt-qt4/qwt.h: section \"Present But Cannot Be Compiled\"" >&2;}
42906 { $as_echo "$as_me:$LINENO: WARNING: qwt-qt4/qwt.h: proceeding with the preprocessor's result" >&5
42907 $as_echo "$as_me: WARNING: qwt-qt4/qwt.h: proceeding with the preprocessor's result" >&2;}
42908 { $as_echo "$as_me:$LINENO: WARNING: qwt-qt4/qwt.h: in the future, the compiler will take precedence" >&5
42909 $as_echo "$as_me: WARNING: qwt-qt4/qwt.h: in the future, the compiler will take precedence" >&2;}
42913 { $as_echo "$as_me:$LINENO: checking for qwt-qt4/qwt.h" >&5
42914 $as_echo_n "checking for qwt-qt4/qwt.h... " >&6; }
42915 if test "${ac_cv_header_qwt_qt4_qwt_h+set}" = set; then
42916 $as_echo_n "(cached) " >&6
42918 ac_cv_header_qwt_qt4_qwt_h=$ac_header_preproc
42920 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_qwt_qt4_qwt_h" >&5
42921 $as_echo "$ac_cv_header_qwt_qt4_qwt_h" >&6; }
42924 if test "x$ac_cv_header_qwt_qt4_qwt_h" = x""yes; then
42932 if test "$qwt_qt4_qwt_h" = "yes" ; then
42933 QWT_CFLAGS="$QWT_CFLAGS -I/usr/include/qwt-qt4"
42939 QWT_CFLAGS="$QWT_CFLAGS -I$qwt_incdir"
42940 as_ac_Header=`$as_echo "ac_cv_header_$qwt_incdir/qwt.h" | $as_tr_sh`
42941 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42942 { $as_echo "$as_me:$LINENO: checking for $qwt_incdir/qwt.h" >&5
42943 $as_echo_n "checking for $qwt_incdir/qwt.h... " >&6; }
42944 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42945 $as_echo_n "(cached) " >&6
42947 ac_res=`eval 'as_val=${'$as_ac_Header'}
42948 $as_echo "$as_val"'`
42949 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
42950 $as_echo "$ac_res" >&6; }
42952 # Is the header compilable?
42953 { $as_echo "$as_me:$LINENO: checking $qwt_incdir/qwt.h usability" >&5
42954 $as_echo_n "checking $qwt_incdir/qwt.h usability... " >&6; }
42955 cat >conftest.$ac_ext <<_ACEOF
42958 cat confdefs.h >>conftest.$ac_ext
42959 cat >>conftest.$ac_ext <<_ACEOF
42960 /* end confdefs.h. */
42961 $ac_includes_default
42962 #include <$qwt_incdir/qwt.h>
42964 rm -f conftest.$ac_objext
42965 if { (ac_try="$ac_compile"
42966 case "(($ac_try" in
42967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42968 *) ac_try_echo=$ac_try;;
42970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42971 $as_echo "$ac_try_echo") >&5
42972 (eval "$ac_compile") 2>conftest.er1
42974 grep -v '^ *+' conftest.er1 >conftest.err
42976 cat conftest.err >&5
42977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42978 (exit $ac_status); } && {
42979 test -z "$ac_cxx_werror_flag" ||
42980 test ! -s conftest.err
42981 } && test -s conftest.$ac_objext; then
42982 ac_header_compiler=yes
42984 $as_echo "$as_me: failed program was:" >&5
42985 sed 's/^/| /' conftest.$ac_ext >&5
42987 ac_header_compiler=no
42990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42991 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42992 $as_echo "$ac_header_compiler" >&6; }
42994 # Is the header present?
42995 { $as_echo "$as_me:$LINENO: checking $qwt_incdir/qwt.h presence" >&5
42996 $as_echo_n "checking $qwt_incdir/qwt.h presence... " >&6; }
42997 cat >conftest.$ac_ext <<_ACEOF
43000 cat confdefs.h >>conftest.$ac_ext
43001 cat >>conftest.$ac_ext <<_ACEOF
43002 /* end confdefs.h. */
43003 #include <$qwt_incdir/qwt.h>
43005 if { (ac_try="$ac_cpp conftest.$ac_ext"
43006 case "(($ac_try" in
43007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43008 *) ac_try_echo=$ac_try;;
43010 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43011 $as_echo "$ac_try_echo") >&5
43012 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
43014 grep -v '^ *+' conftest.er1 >conftest.err
43016 cat conftest.err >&5
43017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43018 (exit $ac_status); } >/dev/null && {
43019 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
43020 test ! -s conftest.err
43022 ac_header_preproc=yes
43024 $as_echo "$as_me: failed program was:" >&5
43025 sed 's/^/| /' conftest.$ac_ext >&5
43027 ac_header_preproc=no
43030 rm -f conftest.err conftest.$ac_ext
43031 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43032 $as_echo "$ac_header_preproc" >&6; }
43034 # So? What about this header?
43035 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43037 { $as_echo "$as_me:$LINENO: WARNING: $qwt_incdir/qwt.h: accepted by the compiler, rejected by the preprocessor!" >&5
43038 $as_echo "$as_me: WARNING: $qwt_incdir/qwt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
43039 { $as_echo "$as_me:$LINENO: WARNING: $qwt_incdir/qwt.h: proceeding with the compiler's result" >&5
43040 $as_echo "$as_me: WARNING: $qwt_incdir/qwt.h: proceeding with the compiler's result" >&2;}
43041 ac_header_preproc=yes
43044 { $as_echo "$as_me:$LINENO: WARNING: $qwt_incdir/qwt.h: present but cannot be compiled" >&5
43045 $as_echo "$as_me: WARNING: $qwt_incdir/qwt.h: present but cannot be compiled" >&2;}
43046 { $as_echo "$as_me:$LINENO: WARNING: $qwt_incdir/qwt.h: check for missing prerequisite headers?" >&5
43047 $as_echo "$as_me: WARNING: $qwt_incdir/qwt.h: check for missing prerequisite headers?" >&2;}
43048 { $as_echo "$as_me:$LINENO: WARNING: $qwt_incdir/qwt.h: see the Autoconf documentation" >&5
43049 $as_echo "$as_me: WARNING: $qwt_incdir/qwt.h: see the Autoconf documentation" >&2;}
43050 { $as_echo "$as_me:$LINENO: WARNING: $qwt_incdir/qwt.h: section \"Present But Cannot Be Compiled\"" >&5
43051 $as_echo "$as_me: WARNING: $qwt_incdir/qwt.h: section \"Present But Cannot Be Compiled\"" >&2;}
43052 { $as_echo "$as_me:$LINENO: WARNING: $qwt_incdir/qwt.h: proceeding with the preprocessor's result" >&5
43053 $as_echo "$as_me: WARNING: $qwt_incdir/qwt.h: proceeding with the preprocessor's result" >&2;}
43054 { $as_echo "$as_me:$LINENO: WARNING: $qwt_incdir/qwt.h: in the future, the compiler will take precedence" >&5
43055 $as_echo "$as_me: WARNING: $qwt_incdir/qwt.h: in the future, the compiler will take precedence" >&2;}
43059 { $as_echo "$as_me:$LINENO: checking for $qwt_incdir/qwt.h" >&5
43060 $as_echo_n "checking for $qwt_incdir/qwt.h... " >&6; }
43061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43062 $as_echo_n "(cached) " >&6
43064 eval "$as_ac_Header=\$ac_header_preproc"
43066 ac_res=`eval 'as_val=${'$as_ac_Header'}
43067 $as_echo "$as_val"'`
43068 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
43069 $as_echo "$ac_res" >&6; }
43072 as_val=`eval 'as_val=${'$as_ac_Header'}
43073 $as_echo "$as_val"'`
43074 if test "x$as_val" = x""yes; then
43083 if test "$libqwt_ok" = "yes" ; then
43086 if test "$qwt_libdir" != "" ; then
43087 QWT_LIBS="-L$qwt_libdir $QWT_LIBS"
43090 CPPFLAGS="$CPPFLAGS $QWT_CFLAGS"
43091 LIBS="$qwt_save_LIBS $QT_LIBS $QWT_LIBS -lqwt"
43093 if test "$qwt_lib" != "" ; then
43094 as_ac_Lib=`$as_echo "ac_cv_lib_$qwt_lib''_main" | $as_tr_sh`
43095 { $as_echo "$as_me:$LINENO: checking for main in -l$qwt_lib" >&5
43096 $as_echo_n "checking for main in -l$qwt_lib... " >&6; }
43097 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
43098 $as_echo_n "(cached) " >&6
43100 ac_check_lib_save_LIBS=$LIBS
43101 LIBS="-l$qwt_lib $LIBS"
43102 cat >conftest.$ac_ext <<_ACEOF
43105 cat confdefs.h >>conftest.$ac_ext
43106 cat >>conftest.$ac_ext <<_ACEOF
43107 /* end confdefs.h. */
43118 rm -f conftest.$ac_objext conftest$ac_exeext
43119 if { (ac_try="$ac_link"
43120 case "(($ac_try" in
43121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43122 *) ac_try_echo=$ac_try;;
43124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43125 $as_echo "$ac_try_echo") >&5
43126 (eval "$ac_link") 2>conftest.er1
43128 grep -v '^ *+' conftest.er1 >conftest.err
43130 cat conftest.err >&5
43131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43132 (exit $ac_status); } && {
43133 test -z "$ac_cxx_werror_flag" ||
43134 test ! -s conftest.err
43135 } && test -s conftest$ac_exeext && {
43136 test "$cross_compiling" = yes ||
43137 $as_test_x conftest$ac_exeext
43139 eval "$as_ac_Lib=yes"
43141 $as_echo "$as_me: failed program was:" >&5
43142 sed 's/^/| /' conftest.$ac_ext >&5
43144 eval "$as_ac_Lib=no"
43147 rm -rf conftest.dSYM
43148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43149 conftest$ac_exeext conftest.$ac_ext
43150 LIBS=$ac_check_lib_save_LIBS
43152 ac_res=`eval 'as_val=${'$as_ac_Lib'}
43153 $as_echo "$as_val"'`
43154 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
43155 $as_echo "$ac_res" >&6; }
43156 as_val=`eval 'as_val=${'$as_ac_Lib'}
43157 $as_echo "$as_val"'`
43158 if test "x$as_val" = x""yes; then
43166 { $as_echo "$as_me:$LINENO: checking for main in -lqwt" >&5
43167 $as_echo_n "checking for main in -lqwt... " >&6; }
43168 if test "${ac_cv_lib_qwt_main+set}" = set; then
43169 $as_echo_n "(cached) " >&6
43171 ac_check_lib_save_LIBS=$LIBS
43173 cat >conftest.$ac_ext <<_ACEOF
43176 cat confdefs.h >>conftest.$ac_ext
43177 cat >>conftest.$ac_ext <<_ACEOF
43178 /* end confdefs.h. */
43189 rm -f conftest.$ac_objext conftest$ac_exeext
43190 if { (ac_try="$ac_link"
43191 case "(($ac_try" in
43192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43193 *) ac_try_echo=$ac_try;;
43195 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43196 $as_echo "$ac_try_echo") >&5
43197 (eval "$ac_link") 2>conftest.er1
43199 grep -v '^ *+' conftest.er1 >conftest.err
43201 cat conftest.err >&5
43202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43203 (exit $ac_status); } && {
43204 test -z "$ac_cxx_werror_flag" ||
43205 test ! -s conftest.err
43206 } && test -s conftest$ac_exeext && {
43207 test "$cross_compiling" = yes ||
43208 $as_test_x conftest$ac_exeext
43210 ac_cv_lib_qwt_main=yes
43212 $as_echo "$as_me: failed program was:" >&5
43213 sed 's/^/| /' conftest.$ac_ext >&5
43215 ac_cv_lib_qwt_main=no
43218 rm -rf conftest.dSYM
43219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43220 conftest$ac_exeext conftest.$ac_ext
43221 LIBS=$ac_check_lib_save_LIBS
43223 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_qwt_main" >&5
43224 $as_echo "$ac_cv_lib_qwt_main" >&6; }
43225 if test "x$ac_cv_lib_qwt_main" = x""yes; then
43232 if test "$libqwt_ok" = "yes" ; then
43233 QWT_LIBS="$QWT_LIBS -lqwt"
43235 LIBS="$qwt_save_LIBS $QT_LIBS $QWT_LIBS -lqwt-qt4"
43236 { $as_echo "$as_me:$LINENO: checking for main in -lqwt-qt4" >&5
43237 $as_echo_n "checking for main in -lqwt-qt4... " >&6; }
43238 if test "${ac_cv_lib_qwt_qt4_main+set}" = set; then
43239 $as_echo_n "(cached) " >&6
43241 ac_check_lib_save_LIBS=$LIBS
43242 LIBS="-lqwt-qt4 $LIBS"
43243 cat >conftest.$ac_ext <<_ACEOF
43246 cat confdefs.h >>conftest.$ac_ext
43247 cat >>conftest.$ac_ext <<_ACEOF
43248 /* end confdefs.h. */
43259 rm -f conftest.$ac_objext conftest$ac_exeext
43260 if { (ac_try="$ac_link"
43261 case "(($ac_try" in
43262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43263 *) ac_try_echo=$ac_try;;
43265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43266 $as_echo "$ac_try_echo") >&5
43267 (eval "$ac_link") 2>conftest.er1
43269 grep -v '^ *+' conftest.er1 >conftest.err
43271 cat conftest.err >&5
43272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43273 (exit $ac_status); } && {
43274 test -z "$ac_cxx_werror_flag" ||
43275 test ! -s conftest.err
43276 } && test -s conftest$ac_exeext && {
43277 test "$cross_compiling" = yes ||
43278 $as_test_x conftest$ac_exeext
43280 ac_cv_lib_qwt_qt4_main=yes
43282 $as_echo "$as_me: failed program was:" >&5
43283 sed 's/^/| /' conftest.$ac_ext >&5
43285 ac_cv_lib_qwt_qt4_main=no
43288 rm -rf conftest.dSYM
43289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43290 conftest$ac_exeext conftest.$ac_ext
43291 LIBS=$ac_check_lib_save_LIBS
43293 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_qwt_qt4_main" >&5
43294 $as_echo "$ac_cv_lib_qwt_qt4_main" >&6; }
43295 if test "x$ac_cv_lib_qwt_qt4_main" = x""yes; then
43301 if test "$libqwt_ok" = "yes" ; then
43302 QWT_LIBS="$QWT_LIBS -lqwt-qt4"
43304 { $as_echo "$as_me:$LINENO: result: Could not link to libqwt.so" >&5
43305 $as_echo "Could not link to libqwt.so" >&6; }
43310 { $as_echo "$as_me:$LINENO: result: Could not find qwt headers" >&5
43311 $as_echo "Could not find qwt headers" >&6; }
43314 LIBS="$qwt_save_LIBS"
43315 CPPFLAGS="$qwt_save_CPPFLAGS"
43317 ac_cpp='$CPP $CPPFLAGS'
43318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43323 if test "x$libqwt_ok" = "xyes" ; then
43335 if test "$passed" = "yes"; then
43339 ac_cpp='$CXXCPP $CPPFLAGS'
43340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43344 qwtplot3d_save_CPPFLAGS="$CPPFLAGS"
43345 qwtplot3d_save_LIBS="$LIBS"
43346 libqwtplot3d_ok=yes
43349 # Check whether --with-qwtplot3d-libdir was given.
43350 if test "${with_qwtplot3d_libdir+set}" = set; then
43351 withval=$with_qwtplot3d_libdir; qwtplot3d_libdir="$withval"
43353 qwtplot3d_libdir=""
43358 # Check whether --with-qwtplot3d-incdir was given.
43359 if test "${with_qwtplot3d_incdir+set}" = set; then
43360 withval=$with_qwtplot3d_incdir; qwtplot3d_incdir="$withval"
43362 qwtplot3d_incdir=""
43367 # Check whether --with-qwtplot3d-lib was given.
43368 if test "${with_qwtplot3d_lib+set}" = set; then
43369 withval=$with_qwtplot3d_lib; qwtplot3d_lib="$withval"
43376 CPPFLAGS="$CPPFLAGS $QTCORE_CFLAGS $QTGUI_CFLAGS $QWT_CFLAGS"
43378 if test "$qwtplot3d_incdir" = "" ; then
43379 if test "${ac_cv_header_qwtplot3d_qwt3d_plot_h+set}" = set; then
43380 { $as_echo "$as_me:$LINENO: checking for qwtplot3d/qwt3d_plot.h" >&5
43381 $as_echo_n "checking for qwtplot3d/qwt3d_plot.h... " >&6; }
43382 if test "${ac_cv_header_qwtplot3d_qwt3d_plot_h+set}" = set; then
43383 $as_echo_n "(cached) " >&6
43385 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_qwtplot3d_qwt3d_plot_h" >&5
43386 $as_echo "$ac_cv_header_qwtplot3d_qwt3d_plot_h" >&6; }
43388 # Is the header compilable?
43389 { $as_echo "$as_me:$LINENO: checking qwtplot3d/qwt3d_plot.h usability" >&5
43390 $as_echo_n "checking qwtplot3d/qwt3d_plot.h usability... " >&6; }
43391 cat >conftest.$ac_ext <<_ACEOF
43394 cat confdefs.h >>conftest.$ac_ext
43395 cat >>conftest.$ac_ext <<_ACEOF
43396 /* end confdefs.h. */
43397 $ac_includes_default
43398 #include <qwtplot3d/qwt3d_plot.h>
43400 rm -f conftest.$ac_objext
43401 if { (ac_try="$ac_compile"
43402 case "(($ac_try" in
43403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43404 *) ac_try_echo=$ac_try;;
43406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43407 $as_echo "$ac_try_echo") >&5
43408 (eval "$ac_compile") 2>conftest.er1
43410 grep -v '^ *+' conftest.er1 >conftest.err
43412 cat conftest.err >&5
43413 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43414 (exit $ac_status); } && {
43415 test -z "$ac_cxx_werror_flag" ||
43416 test ! -s conftest.err
43417 } && test -s conftest.$ac_objext; then
43418 ac_header_compiler=yes
43420 $as_echo "$as_me: failed program was:" >&5
43421 sed 's/^/| /' conftest.$ac_ext >&5
43423 ac_header_compiler=no
43426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43427 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43428 $as_echo "$ac_header_compiler" >&6; }
43430 # Is the header present?
43431 { $as_echo "$as_me:$LINENO: checking qwtplot3d/qwt3d_plot.h presence" >&5
43432 $as_echo_n "checking qwtplot3d/qwt3d_plot.h presence... " >&6; }
43433 cat >conftest.$ac_ext <<_ACEOF
43436 cat confdefs.h >>conftest.$ac_ext
43437 cat >>conftest.$ac_ext <<_ACEOF
43438 /* end confdefs.h. */
43439 #include <qwtplot3d/qwt3d_plot.h>
43441 if { (ac_try="$ac_cpp conftest.$ac_ext"
43442 case "(($ac_try" in
43443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43444 *) ac_try_echo=$ac_try;;
43446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43447 $as_echo "$ac_try_echo") >&5
43448 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
43450 grep -v '^ *+' conftest.er1 >conftest.err
43452 cat conftest.err >&5
43453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43454 (exit $ac_status); } >/dev/null && {
43455 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
43456 test ! -s conftest.err
43458 ac_header_preproc=yes
43460 $as_echo "$as_me: failed program was:" >&5
43461 sed 's/^/| /' conftest.$ac_ext >&5
43463 ac_header_preproc=no
43466 rm -f conftest.err conftest.$ac_ext
43467 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43468 $as_echo "$ac_header_preproc" >&6; }
43470 # So? What about this header?
43471 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43473 { $as_echo "$as_me:$LINENO: WARNING: qwtplot3d/qwt3d_plot.h: accepted by the compiler, rejected by the preprocessor!" >&5
43474 $as_echo "$as_me: WARNING: qwtplot3d/qwt3d_plot.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
43475 { $as_echo "$as_me:$LINENO: WARNING: qwtplot3d/qwt3d_plot.h: proceeding with the compiler's result" >&5
43476 $as_echo "$as_me: WARNING: qwtplot3d/qwt3d_plot.h: proceeding with the compiler's result" >&2;}
43477 ac_header_preproc=yes
43480 { $as_echo "$as_me:$LINENO: WARNING: qwtplot3d/qwt3d_plot.h: present but cannot be compiled" >&5
43481 $as_echo "$as_me: WARNING: qwtplot3d/qwt3d_plot.h: present but cannot be compiled" >&2;}
43482 { $as_echo "$as_me:$LINENO: WARNING: qwtplot3d/qwt3d_plot.h: check for missing prerequisite headers?" >&5
43483 $as_echo "$as_me: WARNING: qwtplot3d/qwt3d_plot.h: check for missing prerequisite headers?" >&2;}
43484 { $as_echo "$as_me:$LINENO: WARNING: qwtplot3d/qwt3d_plot.h: see the Autoconf documentation" >&5
43485 $as_echo "$as_me: WARNING: qwtplot3d/qwt3d_plot.h: see the Autoconf documentation" >&2;}
43486 { $as_echo "$as_me:$LINENO: WARNING: qwtplot3d/qwt3d_plot.h: section \"Present But Cannot Be Compiled\"" >&5
43487 $as_echo "$as_me: WARNING: qwtplot3d/qwt3d_plot.h: section \"Present But Cannot Be Compiled\"" >&2;}
43488 { $as_echo "$as_me:$LINENO: WARNING: qwtplot3d/qwt3d_plot.h: proceeding with the preprocessor's result" >&5
43489 $as_echo "$as_me: WARNING: qwtplot3d/qwt3d_plot.h: proceeding with the preprocessor's result" >&2;}
43490 { $as_echo "$as_me:$LINENO: WARNING: qwtplot3d/qwt3d_plot.h: in the future, the compiler will take precedence" >&5
43491 $as_echo "$as_me: WARNING: qwtplot3d/qwt3d_plot.h: in the future, the compiler will take precedence" >&2;}
43495 { $as_echo "$as_me:$LINENO: checking for qwtplot3d/qwt3d_plot.h" >&5
43496 $as_echo_n "checking for qwtplot3d/qwt3d_plot.h... " >&6; }
43497 if test "${ac_cv_header_qwtplot3d_qwt3d_plot_h+set}" = set; then
43498 $as_echo_n "(cached) " >&6
43500 ac_cv_header_qwtplot3d_qwt3d_plot_h=$ac_header_preproc
43502 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_qwtplot3d_qwt3d_plot_h" >&5
43503 $as_echo "$ac_cv_header_qwtplot3d_qwt3d_plot_h" >&6; }
43506 if test "x$ac_cv_header_qwtplot3d_qwt3d_plot_h" = x""yes; then
43507 qwtplot3d_qwtplot3d_h=yes
43509 qwtplot3d_qwtplot3d_h=no
43514 if test "$qwtplot3d_qwtplot3d_h" = "yes" ; then
43515 QWTPLOT3D_CFLAGS="$QWTPLOT3D_CFLAGS -I/usr/include/qwtplot3d"
43517 if test "${ac_cv_header_qwtplot3d_qt4_qwt3d_plot_h+set}" = set; then
43518 { $as_echo "$as_me:$LINENO: checking for qwtplot3d-qt4/qwt3d_plot.h" >&5
43519 $as_echo_n "checking for qwtplot3d-qt4/qwt3d_plot.h... " >&6; }
43520 if test "${ac_cv_header_qwtplot3d_qt4_qwt3d_plot_h+set}" = set; then
43521 $as_echo_n "(cached) " >&6
43523 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_qwtplot3d_qt4_qwt3d_plot_h" >&5
43524 $as_echo "$ac_cv_header_qwtplot3d_qt4_qwt3d_plot_h" >&6; }
43526 # Is the header compilable?
43527 { $as_echo "$as_me:$LINENO: checking qwtplot3d-qt4/qwt3d_plot.h usability" >&5
43528 $as_echo_n "checking qwtplot3d-qt4/qwt3d_plot.h usability... " >&6; }
43529 cat >conftest.$ac_ext <<_ACEOF
43532 cat confdefs.h >>conftest.$ac_ext
43533 cat >>conftest.$ac_ext <<_ACEOF
43534 /* end confdefs.h. */
43535 $ac_includes_default
43536 #include <qwtplot3d-qt4/qwt3d_plot.h>
43538 rm -f conftest.$ac_objext
43539 if { (ac_try="$ac_compile"
43540 case "(($ac_try" in
43541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43542 *) ac_try_echo=$ac_try;;
43544 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43545 $as_echo "$ac_try_echo") >&5
43546 (eval "$ac_compile") 2>conftest.er1
43548 grep -v '^ *+' conftest.er1 >conftest.err
43550 cat conftest.err >&5
43551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43552 (exit $ac_status); } && {
43553 test -z "$ac_cxx_werror_flag" ||
43554 test ! -s conftest.err
43555 } && test -s conftest.$ac_objext; then
43556 ac_header_compiler=yes
43558 $as_echo "$as_me: failed program was:" >&5
43559 sed 's/^/| /' conftest.$ac_ext >&5
43561 ac_header_compiler=no
43564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43565 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43566 $as_echo "$ac_header_compiler" >&6; }
43568 # Is the header present?
43569 { $as_echo "$as_me:$LINENO: checking qwtplot3d-qt4/qwt3d_plot.h presence" >&5
43570 $as_echo_n "checking qwtplot3d-qt4/qwt3d_plot.h presence... " >&6; }
43571 cat >conftest.$ac_ext <<_ACEOF
43574 cat confdefs.h >>conftest.$ac_ext
43575 cat >>conftest.$ac_ext <<_ACEOF
43576 /* end confdefs.h. */
43577 #include <qwtplot3d-qt4/qwt3d_plot.h>
43579 if { (ac_try="$ac_cpp conftest.$ac_ext"
43580 case "(($ac_try" in
43581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43582 *) ac_try_echo=$ac_try;;
43584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43585 $as_echo "$ac_try_echo") >&5
43586 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
43588 grep -v '^ *+' conftest.er1 >conftest.err
43590 cat conftest.err >&5
43591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43592 (exit $ac_status); } >/dev/null && {
43593 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
43594 test ! -s conftest.err
43596 ac_header_preproc=yes
43598 $as_echo "$as_me: failed program was:" >&5
43599 sed 's/^/| /' conftest.$ac_ext >&5
43601 ac_header_preproc=no
43604 rm -f conftest.err conftest.$ac_ext
43605 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43606 $as_echo "$ac_header_preproc" >&6; }
43608 # So? What about this header?
43609 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43611 { $as_echo "$as_me:$LINENO: WARNING: qwtplot3d-qt4/qwt3d_plot.h: accepted by the compiler, rejected by the preprocessor!" >&5
43612 $as_echo "$as_me: WARNING: qwtplot3d-qt4/qwt3d_plot.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
43613 { $as_echo "$as_me:$LINENO: WARNING: qwtplot3d-qt4/qwt3d_plot.h: proceeding with the compiler's result" >&5
43614 $as_echo "$as_me: WARNING: qwtplot3d-qt4/qwt3d_plot.h: proceeding with the compiler's result" >&2;}
43615 ac_header_preproc=yes
43618 { $as_echo "$as_me:$LINENO: WARNING: qwtplot3d-qt4/qwt3d_plot.h: present but cannot be compiled" >&5
43619 $as_echo "$as_me: WARNING: qwtplot3d-qt4/qwt3d_plot.h: present but cannot be compiled" >&2;}
43620 { $as_echo "$as_me:$LINENO: WARNING: qwtplot3d-qt4/qwt3d_plot.h: check for missing prerequisite headers?" >&5
43621 $as_echo "$as_me: WARNING: qwtplot3d-qt4/qwt3d_plot.h: check for missing prerequisite headers?" >&2;}
43622 { $as_echo "$as_me:$LINENO: WARNING: qwtplot3d-qt4/qwt3d_plot.h: see the Autoconf documentation" >&5
43623 $as_echo "$as_me: WARNING: qwtplot3d-qt4/qwt3d_plot.h: see the Autoconf documentation" >&2;}
43624 { $as_echo "$as_me:$LINENO: WARNING: qwtplot3d-qt4/qwt3d_plot.h: section \"Present But Cannot Be Compiled\"" >&5
43625 $as_echo "$as_me: WARNING: qwtplot3d-qt4/qwt3d_plot.h: section \"Present But Cannot Be Compiled\"" >&2;}
43626 { $as_echo "$as_me:$LINENO: WARNING: qwtplot3d-qt4/qwt3d_plot.h: proceeding with the preprocessor's result" >&5
43627 $as_echo "$as_me: WARNING: qwtplot3d-qt4/qwt3d_plot.h: proceeding with the preprocessor's result" >&2;}
43628 { $as_echo "$as_me:$LINENO: WARNING: qwtplot3d-qt4/qwt3d_plot.h: in the future, the compiler will take precedence" >&5
43629 $as_echo "$as_me: WARNING: qwtplot3d-qt4/qwt3d_plot.h: in the future, the compiler will take precedence" >&2;}
43633 { $as_echo "$as_me:$LINENO: checking for qwtplot3d-qt4/qwt3d_plot.h" >&5
43634 $as_echo_n "checking for qwtplot3d-qt4/qwt3d_plot.h... " >&6; }
43635 if test "${ac_cv_header_qwtplot3d_qt4_qwt3d_plot_h+set}" = set; then
43636 $as_echo_n "(cached) " >&6
43638 ac_cv_header_qwtplot3d_qt4_qwt3d_plot_h=$ac_header_preproc
43640 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_qwtplot3d_qt4_qwt3d_plot_h" >&5
43641 $as_echo "$ac_cv_header_qwtplot3d_qt4_qwt3d_plot_h" >&6; }
43644 if test "x$ac_cv_header_qwtplot3d_qt4_qwt3d_plot_h" = x""yes; then
43645 qwtplot3d_qt4_qwtplot3d_h=yes
43647 qwtplot3d_qt4_qwtplot3d_h=no
43652 if test "$qwtplot3d_qt4_qwtplot3d_h" = "yes" ; then
43653 QWTPLOT3D_CFLAGS="$QWTPLOT3D_CFLAGS -I/usr/include/qwtplot3d-qt4"
43659 QWTPLOT3D_CFLAGS="$QWTPLOT3D_CFLAGS -I$qwtplot3d_incdir"
43660 as_ac_Header=`$as_echo "ac_cv_header_$qwtplot3d_incdir/qwt3d_plot.h" | $as_tr_sh`
43661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43662 { $as_echo "$as_me:$LINENO: checking for $qwtplot3d_incdir/qwt3d_plot.h" >&5
43663 $as_echo_n "checking for $qwtplot3d_incdir/qwt3d_plot.h... " >&6; }
43664 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43665 $as_echo_n "(cached) " >&6
43667 ac_res=`eval 'as_val=${'$as_ac_Header'}
43668 $as_echo "$as_val"'`
43669 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
43670 $as_echo "$ac_res" >&6; }
43672 # Is the header compilable?
43673 { $as_echo "$as_me:$LINENO: checking $qwtplot3d_incdir/qwt3d_plot.h usability" >&5
43674 $as_echo_n "checking $qwtplot3d_incdir/qwt3d_plot.h usability... " >&6; }
43675 cat >conftest.$ac_ext <<_ACEOF
43678 cat confdefs.h >>conftest.$ac_ext
43679 cat >>conftest.$ac_ext <<_ACEOF
43680 /* end confdefs.h. */
43681 $ac_includes_default
43682 #include <$qwtplot3d_incdir/qwt3d_plot.h>
43684 rm -f conftest.$ac_objext
43685 if { (ac_try="$ac_compile"
43686 case "(($ac_try" in
43687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43688 *) ac_try_echo=$ac_try;;
43690 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43691 $as_echo "$ac_try_echo") >&5
43692 (eval "$ac_compile") 2>conftest.er1
43694 grep -v '^ *+' conftest.er1 >conftest.err
43696 cat conftest.err >&5
43697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43698 (exit $ac_status); } && {
43699 test -z "$ac_cxx_werror_flag" ||
43700 test ! -s conftest.err
43701 } && test -s conftest.$ac_objext; then
43702 ac_header_compiler=yes
43704 $as_echo "$as_me: failed program was:" >&5
43705 sed 's/^/| /' conftest.$ac_ext >&5
43707 ac_header_compiler=no
43710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43711 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43712 $as_echo "$ac_header_compiler" >&6; }
43714 # Is the header present?
43715 { $as_echo "$as_me:$LINENO: checking $qwtplot3d_incdir/qwt3d_plot.h presence" >&5
43716 $as_echo_n "checking $qwtplot3d_incdir/qwt3d_plot.h presence... " >&6; }
43717 cat >conftest.$ac_ext <<_ACEOF
43720 cat confdefs.h >>conftest.$ac_ext
43721 cat >>conftest.$ac_ext <<_ACEOF
43722 /* end confdefs.h. */
43723 #include <$qwtplot3d_incdir/qwt3d_plot.h>
43725 if { (ac_try="$ac_cpp conftest.$ac_ext"
43726 case "(($ac_try" in
43727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43728 *) ac_try_echo=$ac_try;;
43730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43731 $as_echo "$ac_try_echo") >&5
43732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
43734 grep -v '^ *+' conftest.er1 >conftest.err
43736 cat conftest.err >&5
43737 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43738 (exit $ac_status); } >/dev/null && {
43739 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
43740 test ! -s conftest.err
43742 ac_header_preproc=yes
43744 $as_echo "$as_me: failed program was:" >&5
43745 sed 's/^/| /' conftest.$ac_ext >&5
43747 ac_header_preproc=no
43750 rm -f conftest.err conftest.$ac_ext
43751 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43752 $as_echo "$ac_header_preproc" >&6; }
43754 # So? What about this header?
43755 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43757 { $as_echo "$as_me:$LINENO: WARNING: $qwtplot3d_incdir/qwt3d_plot.h: accepted by the compiler, rejected by the preprocessor!" >&5
43758 $as_echo "$as_me: WARNING: $qwtplot3d_incdir/qwt3d_plot.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
43759 { $as_echo "$as_me:$LINENO: WARNING: $qwtplot3d_incdir/qwt3d_plot.h: proceeding with the compiler's result" >&5
43760 $as_echo "$as_me: WARNING: $qwtplot3d_incdir/qwt3d_plot.h: proceeding with the compiler's result" >&2;}
43761 ac_header_preproc=yes
43764 { $as_echo "$as_me:$LINENO: WARNING: $qwtplot3d_incdir/qwt3d_plot.h: present but cannot be compiled" >&5
43765 $as_echo "$as_me: WARNING: $qwtplot3d_incdir/qwt3d_plot.h: present but cannot be compiled" >&2;}
43766 { $as_echo "$as_me:$LINENO: WARNING: $qwtplot3d_incdir/qwt3d_plot.h: check for missing prerequisite headers?" >&5
43767 $as_echo "$as_me: WARNING: $qwtplot3d_incdir/qwt3d_plot.h: check for missing prerequisite headers?" >&2;}
43768 { $as_echo "$as_me:$LINENO: WARNING: $qwtplot3d_incdir/qwt3d_plot.h: see the Autoconf documentation" >&5
43769 $as_echo "$as_me: WARNING: $qwtplot3d_incdir/qwt3d_plot.h: see the Autoconf documentation" >&2;}
43770 { $as_echo "$as_me:$LINENO: WARNING: $qwtplot3d_incdir/qwt3d_plot.h: section \"Present But Cannot Be Compiled\"" >&5
43771 $as_echo "$as_me: WARNING: $qwtplot3d_incdir/qwt3d_plot.h: section \"Present But Cannot Be Compiled\"" >&2;}
43772 { $as_echo "$as_me:$LINENO: WARNING: $qwtplot3d_incdir/qwt3d_plot.h: proceeding with the preprocessor's result" >&5
43773 $as_echo "$as_me: WARNING: $qwtplot3d_incdir/qwt3d_plot.h: proceeding with the preprocessor's result" >&2;}
43774 { $as_echo "$as_me:$LINENO: WARNING: $qwtplot3d_incdir/qwt3d_plot.h: in the future, the compiler will take precedence" >&5
43775 $as_echo "$as_me: WARNING: $qwtplot3d_incdir/qwt3d_plot.h: in the future, the compiler will take precedence" >&2;}
43779 { $as_echo "$as_me:$LINENO: checking for $qwtplot3d_incdir/qwt3d_plot.h" >&5
43780 $as_echo_n "checking for $qwtplot3d_incdir/qwt3d_plot.h... " >&6; }
43781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43782 $as_echo_n "(cached) " >&6
43784 eval "$as_ac_Header=\$ac_header_preproc"
43786 ac_res=`eval 'as_val=${'$as_ac_Header'}
43787 $as_echo "$as_val"'`
43788 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
43789 $as_echo "$ac_res" >&6; }
43792 as_val=`eval 'as_val=${'$as_ac_Header'}
43793 $as_echo "$as_val"'`
43794 if test "x$as_val" = x""yes; then
43803 if test "$libqwtplot3d_ok" = "yes" ; then
43806 if test "$qwtplot3d_libdir" != "" ; then
43807 QWTPLOT3D_LIBS="-L$qwtplot3d_libdir $QWTPLOT3D_LIBS"
43810 CPPFLAGS="$CPPFLAGS $QWTPLOT3D_CFLAGS"
43811 LIBS="$qwtplot3d_save_LIBS $QT_LIBS $QWTPLOT3D_LIBS -lqwtplot3d-qt4"
43813 if test "$qwtplot3d_lib" != "" ; then
43814 as_ac_Lib=`$as_echo "ac_cv_lib_$qwtplot3d_lib''_main" | $as_tr_sh`
43815 { $as_echo "$as_me:$LINENO: checking for main in -l$qwtplot3d_lib" >&5
43816 $as_echo_n "checking for main in -l$qwtplot3d_lib... " >&6; }
43817 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
43818 $as_echo_n "(cached) " >&6
43820 ac_check_lib_save_LIBS=$LIBS
43821 LIBS="-l$qwtplot3d_lib $LIBS"
43822 cat >conftest.$ac_ext <<_ACEOF
43825 cat confdefs.h >>conftest.$ac_ext
43826 cat >>conftest.$ac_ext <<_ACEOF
43827 /* end confdefs.h. */
43838 rm -f conftest.$ac_objext conftest$ac_exeext
43839 if { (ac_try="$ac_link"
43840 case "(($ac_try" in
43841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43842 *) ac_try_echo=$ac_try;;
43844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43845 $as_echo "$ac_try_echo") >&5
43846 (eval "$ac_link") 2>conftest.er1
43848 grep -v '^ *+' conftest.er1 >conftest.err
43850 cat conftest.err >&5
43851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43852 (exit $ac_status); } && {
43853 test -z "$ac_cxx_werror_flag" ||
43854 test ! -s conftest.err
43855 } && test -s conftest$ac_exeext && {
43856 test "$cross_compiling" = yes ||
43857 $as_test_x conftest$ac_exeext
43859 eval "$as_ac_Lib=yes"
43861 $as_echo "$as_me: failed program was:" >&5
43862 sed 's/^/| /' conftest.$ac_ext >&5
43864 eval "$as_ac_Lib=no"
43867 rm -rf conftest.dSYM
43868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43869 conftest$ac_exeext conftest.$ac_ext
43870 LIBS=$ac_check_lib_save_LIBS
43872 ac_res=`eval 'as_val=${'$as_ac_Lib'}
43873 $as_echo "$as_val"'`
43874 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
43875 $as_echo "$ac_res" >&6; }
43876 as_val=`eval 'as_val=${'$as_ac_Lib'}
43877 $as_echo "$as_val"'`
43878 if test "x$as_val" = x""yes; then
43879 libqwtplot3d_ok=yes
43886 { $as_echo "$as_me:$LINENO: checking for main in -lqwtplot3d-qt4" >&5
43887 $as_echo_n "checking for main in -lqwtplot3d-qt4... " >&6; }
43888 if test "${ac_cv_lib_qwtplot3d_qt4_main+set}" = set; then
43889 $as_echo_n "(cached) " >&6
43891 ac_check_lib_save_LIBS=$LIBS
43892 LIBS="-lqwtplot3d-qt4 $LIBS"
43893 cat >conftest.$ac_ext <<_ACEOF
43896 cat confdefs.h >>conftest.$ac_ext
43897 cat >>conftest.$ac_ext <<_ACEOF
43898 /* end confdefs.h. */
43909 rm -f conftest.$ac_objext conftest$ac_exeext
43910 if { (ac_try="$ac_link"
43911 case "(($ac_try" in
43912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43913 *) ac_try_echo=$ac_try;;
43915 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43916 $as_echo "$ac_try_echo") >&5
43917 (eval "$ac_link") 2>conftest.er1
43919 grep -v '^ *+' conftest.er1 >conftest.err
43921 cat conftest.err >&5
43922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43923 (exit $ac_status); } && {
43924 test -z "$ac_cxx_werror_flag" ||
43925 test ! -s conftest.err
43926 } && test -s conftest$ac_exeext && {
43927 test "$cross_compiling" = yes ||
43928 $as_test_x conftest$ac_exeext
43930 ac_cv_lib_qwtplot3d_qt4_main=yes
43932 $as_echo "$as_me: failed program was:" >&5
43933 sed 's/^/| /' conftest.$ac_ext >&5
43935 ac_cv_lib_qwtplot3d_qt4_main=no
43938 rm -rf conftest.dSYM
43939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43940 conftest$ac_exeext conftest.$ac_ext
43941 LIBS=$ac_check_lib_save_LIBS
43943 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_qwtplot3d_qt4_main" >&5
43944 $as_echo "$ac_cv_lib_qwtplot3d_qt4_main" >&6; }
43945 if test "x$ac_cv_lib_qwtplot3d_qt4_main" = x""yes; then
43946 libqwtplot3d_ok=yes
43952 if test "$libqwtplot3d_ok" = "yes" ; then
43953 QWTPLOT3D_LIBS="$QWTPLOT3D_LIBS -lqwtplot3d-qt4"
43955 LIBS="$qwtplot3d_save_LIBS $QT_LIBS $QWTPLOT3D_LIBS -lqwtplot3d"
43956 { $as_echo "$as_me:$LINENO: checking for main in -lqwtplot3d" >&5
43957 $as_echo_n "checking for main in -lqwtplot3d... " >&6; }
43958 if test "${ac_cv_lib_qwtplot3d_main+set}" = set; then
43959 $as_echo_n "(cached) " >&6
43961 ac_check_lib_save_LIBS=$LIBS
43962 LIBS="-lqwtplot3d $LIBS"
43963 cat >conftest.$ac_ext <<_ACEOF
43966 cat confdefs.h >>conftest.$ac_ext
43967 cat >>conftest.$ac_ext <<_ACEOF
43968 /* end confdefs.h. */
43979 rm -f conftest.$ac_objext conftest$ac_exeext
43980 if { (ac_try="$ac_link"
43981 case "(($ac_try" in
43982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43983 *) ac_try_echo=$ac_try;;
43985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43986 $as_echo "$ac_try_echo") >&5
43987 (eval "$ac_link") 2>conftest.er1
43989 grep -v '^ *+' conftest.er1 >conftest.err
43991 cat conftest.err >&5
43992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43993 (exit $ac_status); } && {
43994 test -z "$ac_cxx_werror_flag" ||
43995 test ! -s conftest.err
43996 } && test -s conftest$ac_exeext && {
43997 test "$cross_compiling" = yes ||
43998 $as_test_x conftest$ac_exeext
44000 ac_cv_lib_qwtplot3d_main=yes
44002 $as_echo "$as_me: failed program was:" >&5
44003 sed 's/^/| /' conftest.$ac_ext >&5
44005 ac_cv_lib_qwtplot3d_main=no
44008 rm -rf conftest.dSYM
44009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44010 conftest$ac_exeext conftest.$ac_ext
44011 LIBS=$ac_check_lib_save_LIBS
44013 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_qwtplot3d_main" >&5
44014 $as_echo "$ac_cv_lib_qwtplot3d_main" >&6; }
44015 if test "x$ac_cv_lib_qwtplot3d_main" = x""yes; then
44016 libqwtplot3d_ok=yes
44021 if test "$libqwtplot3d_ok" = "yes" ; then
44022 QWTPLOT3D_LIBS="$QWTPLOT3D_LIBS -lqwtplot3d"
44024 { $as_echo "$as_me:$LINENO: result: Could not link to libqwtplot3d.so" >&5
44025 $as_echo "Could not link to libqwtplot3d.so" >&6; }
44030 { $as_echo "$as_me:$LINENO: result: Could not find qwtplot3d headers" >&5
44031 $as_echo "Could not find qwtplot3d headers" >&6; }
44034 LIBS="$qwtplot3d_save_LIBS"
44035 CPPFLAGS="$qwtplot3d_save_CPPFLAGS"
44037 ac_cpp='$CPP $CPPFLAGS'
44038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44043 if test "x$libqwtplot3d_ok" = "xyes" ; then
44046 QWTPLOT3D_CFLAGS=""
44047 QWTPLOT3D_LIBDIRS=""
44056 QT_INCLUDES="$QWT_CFLAGS $QWTPLOT3D_CFLAGS $QTCORE_CFLAGS $QTGUI_CFLAGS"
44057 QT_LIBS="$QWT_LIBS $QWTPLOT3D_LIBS $QTOPENGL_LIBS"
44059 for i in $QWT_CFLAGS $QWTPLOT3D_CFLAGS; do
44060 QMAKE_INCLUDES="$QMAKE_INCLUDES ${i##-I}"
44063 QT_MOC_EXEC=`pkg-config --variable=moc_location QtCore`
44064 QT_UIC_EXEC=`pkg-config --variable=uic_location QtCore`
44073 if test "$passed" = "no"; then
44093 ac_config_files="$ac_config_files gr-qtgui/Makefile gr-qtgui/src/Makefile gr-qtgui/src/lib/Makefile gr-qtgui/src/python/Makefile"
44099 if test $passed = no; then
44100 if test x$enable_gr_qtgui = xyes; then
44101 { { $as_echo "$as_me:$LINENO: error: Component gr-qtgui has errors; stopping." >&5
44102 $as_echo "$as_me: error: Component gr-qtgui has errors; stopping." >&2;}
44103 { (exit 1); exit 1; }; }
44105 { $as_echo "$as_me:$LINENO: result: Not building component gr-qtgui." >&5
44106 $as_echo "Not building component gr-qtgui." >&6; }
44109 if test $passed = with; then
44110 with_dirs="$with_dirs gr-qtgui"
44112 if test "x${gr_qtgui_INCLUDES}" != "x"; then
44113 if test "x$with_INCLUDES" = "x"; then
44114 with_INCLUDES="${gr_qtgui_INCLUDES}"
44116 with_INCLUDES="${gr_qtgui_INCLUDES}"" ""$with_INCLUDES"
44122 if test "x${gr_qtgui_SWIG_INCLUDES}" != "x"; then
44123 if test "x$with_SWIG_INCLUDES" = "x"; then
44124 with_SWIG_INCLUDES="${gr_qtgui_SWIG_INCLUDES}"
44126 with_SWIG_INCLUDES="${gr_qtgui_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
44128 gr_qtgui_SWIG_INCLUDES=
44132 if test "x${gr_qtgui_PYDIRPATH}" != "x"; then
44133 if test "x$with_PYDIRPATH" = "x"; then
44134 with_PYDIRPATH="${gr_qtgui_PYDIRPATH}"
44136 with_PYDIRPATH="${gr_qtgui_PYDIRPATH}"":""$with_PYDIRPATH"
44138 gr_qtgui_PYDIRPATH=
44142 if test "x${gr_qtgui_SWIGDIRPATH}" != "x"; then
44143 if test "x$with_SWIGDIRPATH" = "x"; then
44144 with_SWIGDIRPATH="${gr_qtgui_SWIGDIRPATH}"
44146 with_SWIGDIRPATH="${gr_qtgui_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
44148 gr_qtgui_SWIGDIRPATH=
44152 if test "x${gr_qtgui_LIBDIRPATH}" != "x"; then
44153 if test "x$with_LIBDIRPATH" = "x"; then
44154 with_LIBDIRPATH="${gr_qtgui_LIBDIRPATH}"
44156 with_LIBDIRPATH="${gr_qtgui_LIBDIRPATH}"":""$with_LIBDIRPATH"
44158 gr_qtgui_LIBDIRPATH=
44161 { $as_echo "$as_me:$LINENO: result: Component gr-qtgui will be included from a pre-installed library and includes." >&5
44162 $as_echo "Component gr-qtgui will be included from a pre-installed library and includes." >&6; }
44166 if test x$enable_gr_qtgui != xno; then
44168 build_dirs="$build_dirs gr-qtgui"
44169 { $as_echo "$as_me:$LINENO: result: Component gr-qtgui passed configuration checks; building." >&5
44170 $as_echo "Component gr-qtgui passed configuration checks; building." >&6; }
44173 { $as_echo "$as_me:$LINENO: result: Component gr-qtgui passed configuration checks; but not building." >&5
44174 $as_echo "Component gr-qtgui passed configuration checks; but not building." >&6; }
44178 if test $passed = no; then
44179 skipped_dirs="$skipped_dirs gr-qtgui"
44180 gr_qtgui_skipped=yes
44182 gr_qtgui_skipped=no
44196 # Check whether --enable-gr-sounder was given.
44197 if test "${enable_gr_sounder+set}" = set; then
44198 enableval=$enable_gr_sounder;
44201 enable_gr_sounder=$enable_all_components
44202 if test x$enable_all_components = xno; then
44212 if test $passed != no; then
44213 if test $passed = yes; then
44214 if test x$usrp_skipped = xyes; then
44215 { $as_echo "$as_me:$LINENO: result: Component gr-sounder requires usrp, which is not being built or specified via pre-installed files." >&5
44216 $as_echo "Component gr-sounder requires usrp, which is not being built or specified via pre-installed files." >&6; }
44220 if test x$usrp_with = xno; then
44221 { { $as_echo "$as_me:$LINENO: error: Component gr-sounder requires usrp to be included as --with-usrp[=arg]" >&5
44222 $as_echo "$as_me: error: Component gr-sounder requires usrp to be included as --with-usrp[=arg]" >&2;}
44223 { (exit 1); exit 1; }; }
44229 if test $passed != no; then
44230 if test $passed = yes; then
44231 if test x$gnuradio_core_skipped = xyes; then
44232 { $as_echo "$as_me:$LINENO: result: Component gr-sounder requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
44233 $as_echo "Component gr-sounder requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
44237 if test x$gnuradio_core_with = xno; then
44238 { { $as_echo "$as_me:$LINENO: error: Component gr-sounder requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
44239 $as_echo "$as_me: error: Component gr-sounder requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
44240 { (exit 1); exit 1; }; }
44246 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"
44252 if test $passed = no; then
44253 if test x$enable_gr_sounder = xyes; then
44254 { { $as_echo "$as_me:$LINENO: error: Component gr-sounder has errors; stopping." >&5
44255 $as_echo "$as_me: error: Component gr-sounder has errors; stopping." >&2;}
44256 { (exit 1); exit 1; }; }
44258 { $as_echo "$as_me:$LINENO: result: Not building component gr-sounder." >&5
44259 $as_echo "Not building component gr-sounder." >&6; }
44262 if test $passed = with; then
44263 with_dirs="$with_dirs gr-sounder"
44265 if test "x${gr_sounder_INCLUDES}" != "x"; then
44266 if test "x$with_INCLUDES" = "x"; then
44267 with_INCLUDES="${gr_sounder_INCLUDES}"
44269 with_INCLUDES="${gr_sounder_INCLUDES}"" ""$with_INCLUDES"
44271 gr_sounder_INCLUDES=
44275 if test "x${gr_sounder_SWIG_INCLUDES}" != "x"; then
44276 if test "x$with_SWIG_INCLUDES" = "x"; then
44277 with_SWIG_INCLUDES="${gr_sounder_SWIG_INCLUDES}"
44279 with_SWIG_INCLUDES="${gr_sounder_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
44281 gr_sounder_SWIG_INCLUDES=
44285 if test "x${gr_sounder_PYDIRPATH}" != "x"; then
44286 if test "x$with_PYDIRPATH" = "x"; then
44287 with_PYDIRPATH="${gr_sounder_PYDIRPATH}"
44289 with_PYDIRPATH="${gr_sounder_PYDIRPATH}"":""$with_PYDIRPATH"
44291 gr_sounder_PYDIRPATH=
44295 if test "x${gr_sounder_SWIGDIRPATH}" != "x"; then
44296 if test "x$with_SWIGDIRPATH" = "x"; then
44297 with_SWIGDIRPATH="${gr_sounder_SWIGDIRPATH}"
44299 with_SWIGDIRPATH="${gr_sounder_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
44301 gr_sounder_SWIGDIRPATH=
44305 if test "x${gr_sounder_LIBDIRPATH}" != "x"; then
44306 if test "x$with_LIBDIRPATH" = "x"; then
44307 with_LIBDIRPATH="${gr_sounder_LIBDIRPATH}"
44309 with_LIBDIRPATH="${gr_sounder_LIBDIRPATH}"":""$with_LIBDIRPATH"
44311 gr_sounder_LIBDIRPATH=
44314 { $as_echo "$as_me:$LINENO: result: Component gr-sounder will be included from a pre-installed library and includes." >&5
44315 $as_echo "Component gr-sounder will be included from a pre-installed library and includes." >&6; }
44316 gr_sounder_with=yes
44319 if test x$enable_gr_sounder != xno; then
44320 ac_config_commands="$ac_config_commands run_tests_sounder"
44323 build_dirs="$build_dirs gr-sounder"
44324 { $as_echo "$as_me:$LINENO: result: Component gr-sounder passed configuration checks; building." >&5
44325 $as_echo "Component gr-sounder passed configuration checks; building." >&6; }
44328 { $as_echo "$as_me:$LINENO: result: Component gr-sounder passed configuration checks; but not building." >&5
44329 $as_echo "Component gr-sounder passed configuration checks; but not building." >&6; }
44333 if test $passed = no; then
44334 skipped_dirs="$skipped_dirs gr-sounder"
44335 gr_sounder_skipped=yes
44337 gr_sounder_skipped=no
44350 # Check whether --enable-gr-utils was given.
44351 if test "${enable_gr_utils+set}" = set; then
44352 enableval=$enable_gr_utils;
44355 enable_gr_utils=$enable_all_components
44356 if test x$enable_all_components = xno; then
44366 if test $passed != no; then
44367 if test $passed = yes; then
44368 if test x$gnuradio_core_skipped = xyes; then
44369 { $as_echo "$as_me:$LINENO: result: Component gr-utils requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
44370 $as_echo "Component gr-utils requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
44374 if test x$gnuradio_core_with = xno; then
44375 { { $as_echo "$as_me:$LINENO: error: Component gr-utils requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
44376 $as_echo "$as_me: error: Component gr-utils requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
44377 { (exit 1); exit 1; }; }
44383 if test $passed != no; then
44384 if test $passed = yes; then
44385 if test x$usrp_skipped = xyes; then
44386 { $as_echo "$as_me:$LINENO: result: Component gr-utils requires usrp, which is not being built or specified via pre-installed files." >&5
44387 $as_echo "Component gr-utils requires usrp, which is not being built or specified via pre-installed files." >&6; }
44391 if test x$usrp_with = xno; then
44392 { { $as_echo "$as_me:$LINENO: error: Component gr-utils requires usrp to be included as --with-usrp[=arg]" >&5
44393 $as_echo "$as_me: error: Component gr-utils requires usrp to be included as --with-usrp[=arg]" >&2;}
44394 { (exit 1); exit 1; }; }
44400 if test $passed != no; then
44401 if test $passed = yes; then
44402 if test x$gr_wxgui_skipped = xyes; then
44403 { $as_echo "$as_me:$LINENO: result: Component gr-utils requires gr-wxgui, which is not being built or specified via pre-installed files." >&5
44404 $as_echo "Component gr-utils requires gr-wxgui, which is not being built or specified via pre-installed files." >&6; }
44408 if test x$gr_wxgui_with = xno; then
44409 { { $as_echo "$as_me:$LINENO: error: Component gr-utils requires gr-wxgui to be included as --with-gr-wxgui[=arg]" >&5
44410 $as_echo "$as_me: error: Component gr-utils requires gr-wxgui to be included as --with-gr-wxgui[=arg]" >&2;}
44411 { (exit 1); exit 1; }; }
44417 ac_config_files="$ac_config_files gr-utils/Makefile gr-utils/src/Makefile gr-utils/src/lib/Makefile gr-utils/src/python/Makefile"
44423 if test $passed = no; then
44424 if test x$enable_gr_utils = xyes; then
44425 { { $as_echo "$as_me:$LINENO: error: Component gr-utils has errors; stopping." >&5
44426 $as_echo "$as_me: error: Component gr-utils has errors; stopping." >&2;}
44427 { (exit 1); exit 1; }; }
44429 { $as_echo "$as_me:$LINENO: result: Not building component gr-utils." >&5
44430 $as_echo "Not building component gr-utils." >&6; }
44433 if test $passed = with; then
44434 with_dirs="$with_dirs gr-utils"
44436 if test "x${gr_utils_INCLUDES}" != "x"; then
44437 if test "x$with_INCLUDES" = "x"; then
44438 with_INCLUDES="${gr_utils_INCLUDES}"
44440 with_INCLUDES="${gr_utils_INCLUDES}"" ""$with_INCLUDES"
44446 if test "x${gr_utils_SWIG_INCLUDES}" != "x"; then
44447 if test "x$with_SWIG_INCLUDES" = "x"; then
44448 with_SWIG_INCLUDES="${gr_utils_SWIG_INCLUDES}"
44450 with_SWIG_INCLUDES="${gr_utils_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
44452 gr_utils_SWIG_INCLUDES=
44456 if test "x${gr_utils_PYDIRPATH}" != "x"; then
44457 if test "x$with_PYDIRPATH" = "x"; then
44458 with_PYDIRPATH="${gr_utils_PYDIRPATH}"
44460 with_PYDIRPATH="${gr_utils_PYDIRPATH}"":""$with_PYDIRPATH"
44462 gr_utils_PYDIRPATH=
44466 if test "x${gr_utils_SWIGDIRPATH}" != "x"; then
44467 if test "x$with_SWIGDIRPATH" = "x"; then
44468 with_SWIGDIRPATH="${gr_utils_SWIGDIRPATH}"
44470 with_SWIGDIRPATH="${gr_utils_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
44472 gr_utils_SWIGDIRPATH=
44476 if test "x${gr_utils_LIBDIRPATH}" != "x"; then
44477 if test "x$with_LIBDIRPATH" = "x"; then
44478 with_LIBDIRPATH="${gr_utils_LIBDIRPATH}"
44480 with_LIBDIRPATH="${gr_utils_LIBDIRPATH}"":""$with_LIBDIRPATH"
44482 gr_utils_LIBDIRPATH=
44485 { $as_echo "$as_me:$LINENO: result: Component gr-utils will be included from a pre-installed library and includes." >&5
44486 $as_echo "Component gr-utils will be included from a pre-installed library and includes." >&6; }
44490 if test x$enable_gr_utils != xno; then
44492 build_dirs="$build_dirs gr-utils"
44493 { $as_echo "$as_me:$LINENO: result: Component gr-utils passed configuration checks; building." >&5
44494 $as_echo "Component gr-utils passed configuration checks; building." >&6; }
44497 { $as_echo "$as_me:$LINENO: result: Component gr-utils passed configuration checks; but not building." >&5
44498 $as_echo "Component gr-utils passed configuration checks; but not building." >&6; }
44502 if test $passed = no; then
44503 skipped_dirs="$skipped_dirs gr-utils"
44504 gr_utils_skipped=yes
44506 gr_utils_skipped=no
44519 # Check whether --enable-gnuradio-examples was given.
44520 if test "${enable_gnuradio_examples+set}" = set; then
44521 enableval=$enable_gnuradio_examples;
44524 enable_gnuradio_examples=$enable_all_components
44525 if test x$enable_all_components = xno; then
44535 if test $passed != no; then
44536 if test $passed = yes; then
44537 if test x$gnuradio_core_skipped = xyes; then
44538 { $as_echo "$as_me:$LINENO: result: Component gnuradio-examples requires gnuradio-core, which is not being built or specified via pre-installed files." >&5
44539 $as_echo "Component gnuradio-examples requires gnuradio-core, which is not being built or specified via pre-installed files." >&6; }
44543 if test x$gnuradio_core_with = xno; then
44544 { { $as_echo "$as_me:$LINENO: error: Component gnuradio-examples requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&5
44545 $as_echo "$as_me: error: Component gnuradio-examples requires gnuradio-core to be included as --with-gnuradio-core[=arg]" >&2;}
44546 { (exit 1); exit 1; }; }
44552 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"
44557 gnuradio_examples_with=no
44558 if test $passed = no; then
44559 if test x$enable_gnuradio_examples = xyes; then
44560 { { $as_echo "$as_me:$LINENO: error: Component gnuradio-examples has errors; stopping." >&5
44561 $as_echo "$as_me: error: Component gnuradio-examples has errors; stopping." >&2;}
44562 { (exit 1); exit 1; }; }
44564 { $as_echo "$as_me:$LINENO: result: Not building component gnuradio-examples." >&5
44565 $as_echo "Not building component gnuradio-examples." >&6; }
44568 if test $passed = with; then
44569 with_dirs="$with_dirs gnuradio-examples"
44571 if test "x${gnuradio_examples_INCLUDES}" != "x"; then
44572 if test "x$with_INCLUDES" = "x"; then
44573 with_INCLUDES="${gnuradio_examples_INCLUDES}"
44575 with_INCLUDES="${gnuradio_examples_INCLUDES}"" ""$with_INCLUDES"
44577 gnuradio_examples_INCLUDES=
44581 if test "x${gnuradio_examples_SWIG_INCLUDES}" != "x"; then
44582 if test "x$with_SWIG_INCLUDES" = "x"; then
44583 with_SWIG_INCLUDES="${gnuradio_examples_SWIG_INCLUDES}"
44585 with_SWIG_INCLUDES="${gnuradio_examples_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
44587 gnuradio_examples_SWIG_INCLUDES=
44591 if test "x${gnuradio_examples_PYDIRPATH}" != "x"; then
44592 if test "x$with_PYDIRPATH" = "x"; then
44593 with_PYDIRPATH="${gnuradio_examples_PYDIRPATH}"
44595 with_PYDIRPATH="${gnuradio_examples_PYDIRPATH}"":""$with_PYDIRPATH"
44597 gnuradio_examples_PYDIRPATH=
44601 if test "x${gnuradio_examples_SWIGDIRPATH}" != "x"; then
44602 if test "x$with_SWIGDIRPATH" = "x"; then
44603 with_SWIGDIRPATH="${gnuradio_examples_SWIGDIRPATH}"
44605 with_SWIGDIRPATH="${gnuradio_examples_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
44607 gnuradio_examples_SWIGDIRPATH=
44611 if test "x${gnuradio_examples_LIBDIRPATH}" != "x"; then
44612 if test "x$with_LIBDIRPATH" = "x"; then
44613 with_LIBDIRPATH="${gnuradio_examples_LIBDIRPATH}"
44615 with_LIBDIRPATH="${gnuradio_examples_LIBDIRPATH}"":""$with_LIBDIRPATH"
44617 gnuradio_examples_LIBDIRPATH=
44620 { $as_echo "$as_me:$LINENO: result: Component gnuradio-examples will be included from a pre-installed library and includes." >&5
44621 $as_echo "Component gnuradio-examples will be included from a pre-installed library and includes." >&6; }
44622 gnuradio_examples_with=yes
44624 gnuradio_examples_LDFLAG=
44625 if test x$enable_gnuradio_examples != xno; then
44627 build_dirs="$build_dirs gnuradio-examples"
44628 { $as_echo "$as_me:$LINENO: result: Component gnuradio-examples passed configuration checks; building." >&5
44629 $as_echo "Component gnuradio-examples passed configuration checks; building." >&6; }
44632 { $as_echo "$as_me:$LINENO: result: Component gnuradio-examples passed configuration checks; but not building." >&5
44633 $as_echo "Component gnuradio-examples passed configuration checks; but not building." >&6; }
44637 if test $passed = no; then
44638 skipped_dirs="$skipped_dirs gnuradio-examples"
44639 gnuradio_examples_skipped=yes
44641 gnuradio_examples_skipped=no
44654 # Check whether --enable-grc was given.
44655 if test "${enable_grc+set}" = set; then
44656 enableval=$enable_grc;
44659 enable_grc=$enable_all_components
44660 if test x$enable_all_components = xno; then
44670 if test $passed != no; then
44671 if test $passed = yes; then
44672 if test x$gr_wxgui_skipped = xyes; then
44673 { $as_echo "$as_me:$LINENO: result: Component grc requires gr-wxgui, which is not being built or specified via pre-installed files." >&5
44674 $as_echo "Component grc requires gr-wxgui, which is not being built or specified via pre-installed files." >&6; }
44678 if test x$gr_wxgui_with = xno; then
44679 { { $as_echo "$as_me:$LINENO: error: Component grc requires gr-wxgui to be included as --with-gr-wxgui[=arg]" >&5
44680 $as_echo "$as_me: error: Component grc requires gr-wxgui to be included as --with-gr-wxgui[=arg]" >&2;}
44681 { (exit 1); exit 1; }; }
44687 # Extract the first word of "xdg-mime", so it can be a program name with args.
44688 set dummy xdg-mime; ac_word=$2
44689 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
44690 $as_echo_n "checking for $ac_word... " >&6; }
44691 if test "${ac_cv_prog_XDG_UTILS+set}" = set; then
44692 $as_echo_n "(cached) " >&6
44694 if test -n "$XDG_UTILS"; then
44695 ac_cv_prog_XDG_UTILS="$XDG_UTILS" # Let the user override the test.
44697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44698 for as_dir in $PATH
44701 test -z "$as_dir" && as_dir=.
44702 for ac_exec_ext in '' $ac_executable_extensions; do
44703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44704 ac_cv_prog_XDG_UTILS="true"
44705 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44712 test -z "$ac_cv_prog_XDG_UTILS" && ac_cv_prog_XDG_UTILS="false"
44715 XDG_UTILS=$ac_cv_prog_XDG_UTILS
44716 if test -n "$XDG_UTILS"; then
44717 { $as_echo "$as_me:$LINENO: result: $XDG_UTILS" >&5
44718 $as_echo "$XDG_UTILS" >&6; }
44720 { $as_echo "$as_me:$LINENO: result: no" >&5
44721 $as_echo "no" >&6; }
44725 if $XDG_UTILS; then
44727 XDG_UTILS_FALSE='#'
44734 if test $passed = yes; then
44736 { $as_echo "$as_me:$LINENO: checking for Python >= 2.5" >&5
44737 $as_echo_n "checking for Python >= 2.5... " >&6; }
44738 if test "sys.version.split()[0] >= "2.5""; then
44742 assert sys.version.split()[0] >= "2.5"
44749 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
44750 { $as_echo "$as_me:$LINENO: result: no" >&5
44751 $as_echo "no" >&6; }
44754 { $as_echo "$as_me:$LINENO: result: yes" >&5
44755 $as_echo "yes" >&6; }
44760 { $as_echo "$as_me:$LINENO: checking for Python Cheetah templates >= 2.0.0" >&5
44761 $as_echo_n "checking for Python Cheetah templates >= 2.0.0... " >&6; }
44762 if test "Cheetah.Version >= "2.0.0""; then
44766 assert Cheetah.Version >= "2.0.0"
44770 try: import Cheetah
44773 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
44774 { $as_echo "$as_me:$LINENO: result: no" >&5
44775 $as_echo "no" >&6; }
44778 { $as_echo "$as_me:$LINENO: result: yes" >&5
44779 $as_echo "yes" >&6; }
44784 { $as_echo "$as_me:$LINENO: checking for Python lxml wrappers >= 2.0.0" >&5
44785 $as_echo_n "checking for Python lxml wrappers >= 2.0.0... " >&6; }
44786 if test "lxml.etree.LXML_VERSION >= (2, 0, 0, 0)"; then
44790 assert lxml.etree.LXML_VERSION >= (2, 0, 0, 0)
44794 try: import lxml.etree
44797 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
44798 { $as_echo "$as_me:$LINENO: result: no" >&5
44799 $as_echo "no" >&6; }
44802 { $as_echo "$as_me:$LINENO: result: yes" >&5
44803 $as_echo "yes" >&6; }
44808 { $as_echo "$as_me:$LINENO: checking for Python gtk wrappers >= 2.10.0" >&5
44809 $as_echo_n "checking for Python gtk wrappers >= 2.10.0... " >&6; }
44810 if test "gtk.pygtk_version >= (2, 10, 0)"; then
44814 assert gtk.pygtk_version >= (2, 10, 0)
44821 if ! $PYTHON -c "$python_cmd" 2> /dev/null; then
44822 { $as_echo "$as_me:$LINENO: result: no" >&5
44823 $as_echo "no" >&6; }
44826 { $as_echo "$as_me:$LINENO: result: yes" >&5
44827 $as_echo "yes" >&6; }
44833 if test `${PYTHON} -c "import sys; print sys.platform"` = 'darwin'; then
44840 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"
44846 if test $passed = no; then
44847 if test x$enable_grc = xyes; then
44848 { { $as_echo "$as_me:$LINENO: error: Component grc has errors; stopping." >&5
44849 $as_echo "$as_me: error: Component grc has errors; stopping." >&2;}
44850 { (exit 1); exit 1; }; }
44852 { $as_echo "$as_me:$LINENO: result: Not building component grc." >&5
44853 $as_echo "Not building component grc." >&6; }
44856 if test $passed = with; then
44857 with_dirs="$with_dirs grc"
44859 if test "x${grc_INCLUDES}" != "x"; then
44860 if test "x$with_INCLUDES" = "x"; then
44861 with_INCLUDES="${grc_INCLUDES}"
44863 with_INCLUDES="${grc_INCLUDES}"" ""$with_INCLUDES"
44869 if test "x${grc_SWIG_INCLUDES}" != "x"; then
44870 if test "x$with_SWIG_INCLUDES" = "x"; then
44871 with_SWIG_INCLUDES="${grc_SWIG_INCLUDES}"
44873 with_SWIG_INCLUDES="${grc_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
44879 if test "x${grc_PYDIRPATH}" != "x"; then
44880 if test "x$with_PYDIRPATH" = "x"; then
44881 with_PYDIRPATH="${grc_PYDIRPATH}"
44883 with_PYDIRPATH="${grc_PYDIRPATH}"":""$with_PYDIRPATH"
44889 if test "x${grc_SWIGDIRPATH}" != "x"; then
44890 if test "x$with_SWIGDIRPATH" = "x"; then
44891 with_SWIGDIRPATH="${grc_SWIGDIRPATH}"
44893 with_SWIGDIRPATH="${grc_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
44899 if test "x${grc_LIBDIRPATH}" != "x"; then
44900 if test "x$with_LIBDIRPATH" = "x"; then
44901 with_LIBDIRPATH="${grc_LIBDIRPATH}"
44903 with_LIBDIRPATH="${grc_LIBDIRPATH}"":""$with_LIBDIRPATH"
44908 { $as_echo "$as_me:$LINENO: result: Component grc will be included from a pre-installed library and includes." >&5
44909 $as_echo "Component grc will be included from a pre-installed library and includes." >&6; }
44913 if test x$enable_grc != xno; then
44915 build_dirs="$build_dirs grc"
44916 { $as_echo "$as_me:$LINENO: result: Component grc passed configuration checks; building." >&5
44917 $as_echo "Component grc passed configuration checks; building." >&6; }
44920 { $as_echo "$as_me:$LINENO: result: Component grc passed configuration checks; but not building." >&5
44921 $as_echo "Component grc passed configuration checks; but not building." >&6; }
44925 if test $passed = no; then
44926 skipped_dirs="$skipped_dirs grc"
44943 # Check whether --enable-docs was given.
44944 if test "${enable_docs+set}" = set; then
44945 enableval=$enable_docs;
44948 enable_docs=$enable_all_components
44949 if test x$enable_all_components = xno; then
44958 ac_config_files="$ac_config_files docs/Makefile docs/doxygen/Doxyfile docs/doxygen/Makefile docs/doxygen/other/Makefile docs/doxygen/xml-swig/Makefile"
44964 if test $passed = no; then
44965 if test x$enable_docs = xyes; then
44966 { { $as_echo "$as_me:$LINENO: error: Component docs has errors; stopping." >&5
44967 $as_echo "$as_me: error: Component docs has errors; stopping." >&2;}
44968 { (exit 1); exit 1; }; }
44970 { $as_echo "$as_me:$LINENO: result: Not building component docs." >&5
44971 $as_echo "Not building component docs." >&6; }
44974 if test $passed = with; then
44975 with_dirs="$with_dirs docs"
44977 if test "x${docs_INCLUDES}" != "x"; then
44978 if test "x$with_INCLUDES" = "x"; then
44979 with_INCLUDES="${docs_INCLUDES}"
44981 with_INCLUDES="${docs_INCLUDES}"" ""$with_INCLUDES"
44987 if test "x${docs_SWIG_INCLUDES}" != "x"; then
44988 if test "x$with_SWIG_INCLUDES" = "x"; then
44989 with_SWIG_INCLUDES="${docs_SWIG_INCLUDES}"
44991 with_SWIG_INCLUDES="${docs_SWIG_INCLUDES}"" ""$with_SWIG_INCLUDES"
44993 docs_SWIG_INCLUDES=
44997 if test "x${docs_PYDIRPATH}" != "x"; then
44998 if test "x$with_PYDIRPATH" = "x"; then
44999 with_PYDIRPATH="${docs_PYDIRPATH}"
45001 with_PYDIRPATH="${docs_PYDIRPATH}"":""$with_PYDIRPATH"
45007 if test "x${docs_SWIGDIRPATH}" != "x"; then
45008 if test "x$with_SWIGDIRPATH" = "x"; then
45009 with_SWIGDIRPATH="${docs_SWIGDIRPATH}"
45011 with_SWIGDIRPATH="${docs_SWIGDIRPATH}"":""$with_SWIGDIRPATH"
45017 if test "x${docs_LIBDIRPATH}" != "x"; then
45018 if test "x$with_LIBDIRPATH" = "x"; then
45019 with_LIBDIRPATH="${docs_LIBDIRPATH}"
45021 with_LIBDIRPATH="${docs_LIBDIRPATH}"":""$with_LIBDIRPATH"
45026 { $as_echo "$as_me:$LINENO: result: Component docs will be included from a pre-installed library and includes." >&5
45027 $as_echo "Component docs will be included from a pre-installed library and includes." >&6; }
45031 if test x$enable_docs != xno; then
45033 build_dirs="$build_dirs docs"
45034 { $as_echo "$as_me:$LINENO: result: Component docs passed configuration checks; building." >&5
45035 $as_echo "Component docs passed configuration checks; building." >&6; }
45038 { $as_echo "$as_me:$LINENO: result: Component docs passed configuration checks; but not building." >&5
45039 $as_echo "Component docs passed configuration checks; but not building." >&6; }
45043 if test $passed = no; then
45044 skipped_dirs="$skipped_dirs docs"
45058 # Each component is now either to be built, was skipped, will be
45059 # included from pre-installed libraries and includes, or failed
45061 build_dirs=$build_dirs
45063 skipped_dirs=$skipped_dirs
45065 with_dirs=$with_dirs
45068 # fix for older autotools that don't define these by default
45073 # 'with' variables - the pre-installed libraries, includes, and paths
45074 # - must always come last in the lists, so they require special
45082 # Local files tweaked by AC
45083 ac_config_files="$ac_config_files Makefile run_tests.sh config/Makefile"
45086 ac_config_commands="$ac_config_commands run_tests_build"
45089 cat >confcache <<\_ACEOF
45090 # This file is a shell script that caches the results of configure
45091 # tests run on this system so they can be shared between configure
45092 # scripts and configure runs, see configure's option --config-cache.
45093 # It is not useful on other systems. If it contains results you don't
45094 # want to keep, you may remove or edit it.
45096 # config.status only pays attention to the cache file if you give it
45097 # the --recheck option to rerun configure.
45099 # `ac_cv_env_foo' variables (set or unset) will be overridden when
45100 # loading this file, other *unset* `ac_cv_foo' will be assigned the
45101 # following values.
45105 # The following way of writing the cache mishandles newlines in values,
45106 # but we know of no workaround that is simple, portable, and efficient.
45107 # So, we kill variables containing newlines.
45108 # Ultrix sh set writes to stderr and can't be redirected directly,
45109 # and sets the high bit in the cache file unless we assign to the vars.
45111 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
45112 eval ac_val=\$$ac_var
45116 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
45117 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
45120 _ | IFS | as_nl) ;; #(
45121 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
45122 *) $as_unset $ac_var ;;
45128 case $as_nl`(ac_space=' '; set) 2>&1` in #(
45129 *${as_nl}ac_space=\ *)
45130 # `set' does not quote correctly, so add quotes (double-quote
45131 # substitution turns \\\\ into \\, and sed turns \\ into \).
45134 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
45137 # `set' quotes correctly as required by POSIX, so do not add quotes.
45138 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
45147 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
45149 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
45151 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
45152 if test -w "$cache_file"; then
45153 test "x$cache_file" != "x/dev/null" &&
45154 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
45155 $as_echo "$as_me: updating cache $cache_file" >&6;}
45156 cat confcache >$cache_file
45158 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
45159 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
45164 test "x$prefix" = xNONE && prefix=$ac_default_prefix
45165 # Let make expand exec_prefix.
45166 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
45168 DEFS=-DHAVE_CONFIG_H
45172 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
45173 # 1. Remove the extension, and $U if already installed.
45174 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
45175 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
45176 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
45177 # will be set to the directory where LIBOBJS objects are built.
45178 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
45179 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
45181 LIBOBJS=$ac_libobjs
45183 LTLIBOBJS=$ac_ltlibobjs
45186 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
45187 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
45188 Usually this means the macro was only invoked conditionally." >&5
45189 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
45190 Usually this means the macro was only invoked conditionally." >&2;}
45191 { (exit 1); exit 1; }; }
45193 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
45194 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
45195 Usually this means the macro was only invoked conditionally." >&5
45196 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
45197 Usually this means the macro was only invoked conditionally." >&2;}
45198 { (exit 1); exit 1; }; }
45200 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
45201 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
45202 Usually this means the macro was only invoked conditionally." >&5
45203 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
45204 Usually this means the macro was only invoked conditionally." >&2;}
45205 { (exit 1); exit 1; }; }
45207 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
45208 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
45209 Usually this means the macro was only invoked conditionally." >&5
45210 $as_echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
45211 Usually this means the macro was only invoked conditionally." >&2;}
45212 { (exit 1); exit 1; }; }
45214 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
45215 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
45216 Usually this means the macro was only invoked conditionally." >&5
45217 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
45218 Usually this means the macro was only invoked conditionally." >&2;}
45219 { (exit 1); exit 1; }; }
45221 if test -z "${ENABLE_FORTRAN_TRUE}" && test -z "${ENABLE_FORTRAN_FALSE}"; then
45222 { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_FORTRAN\" was never defined.
45223 Usually this means the macro was only invoked conditionally." >&5
45224 $as_echo "$as_me: error: conditional \"ENABLE_FORTRAN\" was never defined.
45225 Usually this means the macro was only invoked conditionally." >&2;}
45226 { (exit 1); exit 1; }; }
45228 if test -z "${HAS_XMLTO_TRUE}" && test -z "${HAS_XMLTO_FALSE}"; then
45229 { { $as_echo "$as_me:$LINENO: error: conditional \"HAS_XMLTO\" was never defined.
45230 Usually this means the macro was only invoked conditionally." >&5
45231 $as_echo "$as_me: error: conditional \"HAS_XMLTO\" was never defined.
45232 Usually this means the macro was only invoked conditionally." >&2;}
45233 { (exit 1); exit 1; }; }
45235 if test -z "${OMNITHREAD_POSIX_TRUE}" && test -z "${OMNITHREAD_POSIX_FALSE}"; then
45236 { { $as_echo "$as_me:$LINENO: error: conditional \"OMNITHREAD_POSIX\" was never defined.
45237 Usually this means the macro was only invoked conditionally." >&5
45238 $as_echo "$as_me: error: conditional \"OMNITHREAD_POSIX\" was never defined.
45239 Usually this means the macro was only invoked conditionally." >&2;}
45240 { (exit 1); exit 1; }; }
45242 if test -z "${OMNITHREAD_NT_TRUE}" && test -z "${OMNITHREAD_NT_FALSE}"; then
45243 { { $as_echo "$as_me:$LINENO: error: conditional \"OMNITHREAD_NT\" was never defined.
45244 Usually this means the macro was only invoked conditionally." >&5
45245 $as_echo "$as_me: error: conditional \"OMNITHREAD_NT\" was never defined.
45246 Usually this means the macro was only invoked conditionally." >&2;}
45247 { (exit 1); exit 1; }; }
45250 if test -z "${HAVE_CREATEFILEMAPPING_TRUE}" && test -z "${HAVE_CREATEFILEMAPPING_FALSE}"; then
45251 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CREATEFILEMAPPING\" was never defined.
45252 Usually this means the macro was only invoked conditionally." >&5
45253 $as_echo "$as_me: error: conditional \"HAVE_CREATEFILEMAPPING\" was never defined.
45254 Usually this means the macro was only invoked conditionally." >&2;}
45255 { (exit 1); exit 1; }; }
45257 if test -z "${DOC_TRUE}" && test -z "${DOC_FALSE}"; then
45258 { { $as_echo "$as_me:$LINENO: error: conditional \"DOC\" was never defined.
45259 Usually this means the macro was only invoked conditionally." >&5
45260 $as_echo "$as_me: error: conditional \"DOC\" was never defined.
45261 Usually this means the macro was only invoked conditionally." >&2;}
45262 { (exit 1); exit 1; }; }
45264 if test -z "${MD_CPU_x86_TRUE}" && test -z "${MD_CPU_x86_FALSE}"; then
45265 { { $as_echo "$as_me:$LINENO: error: conditional \"MD_CPU_x86\" was never defined.
45266 Usually this means the macro was only invoked conditionally." >&5
45267 $as_echo "$as_me: error: conditional \"MD_CPU_x86\" was never defined.
45268 Usually this means the macro was only invoked conditionally." >&2;}
45269 { (exit 1); exit 1; }; }
45271 if test -z "${MD_SUBCPU_x86_64_TRUE}" && test -z "${MD_SUBCPU_x86_64_FALSE}"; then
45272 { { $as_echo "$as_me:$LINENO: error: conditional \"MD_SUBCPU_x86_64\" was never defined.
45273 Usually this means the macro was only invoked conditionally." >&5
45274 $as_echo "$as_me: error: conditional \"MD_SUBCPU_x86_64\" was never defined.
45275 Usually this means the macro was only invoked conditionally." >&2;}
45276 { (exit 1); exit 1; }; }
45278 if test -z "${MD_CPU_powerpc_TRUE}" && test -z "${MD_CPU_powerpc_FALSE}"; then
45279 { { $as_echo "$as_me:$LINENO: error: conditional \"MD_CPU_powerpc\" was never defined.
45280 Usually this means the macro was only invoked conditionally." >&5
45281 $as_echo "$as_me: error: conditional \"MD_CPU_powerpc\" was never defined.
45282 Usually this means the macro was only invoked conditionally." >&2;}
45283 { (exit 1); exit 1; }; }
45285 if test -z "${MD_CPU_generic_TRUE}" && test -z "${MD_CPU_generic_FALSE}"; then
45286 { { $as_echo "$as_me:$LINENO: error: conditional \"MD_CPU_generic\" was never defined.
45287 Usually this means the macro was only invoked conditionally." >&5
45288 $as_echo "$as_me: error: conditional \"MD_CPU_generic\" was never defined.
45289 Usually this means the macro was only invoked conditionally." >&2;}
45290 { (exit 1); exit 1; }; }
45292 if test -z "${FUSB_TECH_darwin_TRUE}" && test -z "${FUSB_TECH_darwin_FALSE}"; then
45293 { { $as_echo "$as_me:$LINENO: error: conditional \"FUSB_TECH_darwin\" was never defined.
45294 Usually this means the macro was only invoked conditionally." >&5
45295 $as_echo "$as_me: error: conditional \"FUSB_TECH_darwin\" was never defined.
45296 Usually this means the macro was only invoked conditionally." >&2;}
45297 { (exit 1); exit 1; }; }
45299 if test -z "${FUSB_TECH_win32_TRUE}" && test -z "${FUSB_TECH_win32_FALSE}"; then
45300 { { $as_echo "$as_me:$LINENO: error: conditional \"FUSB_TECH_win32\" was never defined.
45301 Usually this means the macro was only invoked conditionally." >&5
45302 $as_echo "$as_me: error: conditional \"FUSB_TECH_win32\" was never defined.
45303 Usually this means the macro was only invoked conditionally." >&2;}
45304 { (exit 1); exit 1; }; }
45306 if test -z "${FUSB_TECH_generic_TRUE}" && test -z "${FUSB_TECH_generic_FALSE}"; then
45307 { { $as_echo "$as_me:$LINENO: error: conditional \"FUSB_TECH_generic\" was never defined.
45308 Usually this means the macro was only invoked conditionally." >&5
45309 $as_echo "$as_me: error: conditional \"FUSB_TECH_generic\" was never defined.
45310 Usually this means the macro was only invoked conditionally." >&2;}
45311 { (exit 1); exit 1; }; }
45313 if test -z "${FUSB_TECH_linux_TRUE}" && test -z "${FUSB_TECH_linux_FALSE}"; then
45314 { { $as_echo "$as_me:$LINENO: error: conditional \"FUSB_TECH_linux\" was never defined.
45315 Usually this means the macro was only invoked conditionally." >&5
45316 $as_echo "$as_me: error: conditional \"FUSB_TECH_linux\" was never defined.
45317 Usually this means the macro was only invoked conditionally." >&2;}
45318 { (exit 1); exit 1; }; }
45320 if test -z "${FUSB_TECH_ra_wb_TRUE}" && test -z "${FUSB_TECH_ra_wb_FALSE}"; then
45321 { { $as_echo "$as_me:$LINENO: error: conditional \"FUSB_TECH_ra_wb\" was never defined.
45322 Usually this means the macro was only invoked conditionally." >&5
45323 $as_echo "$as_me: error: conditional \"FUSB_TECH_ra_wb\" was never defined.
45324 Usually this means the macro was only invoked conditionally." >&2;}
45325 { (exit 1); exit 1; }; }
45328 if test -z "${BUILD_QT_TRUE}" && test -z "${BUILD_QT_FALSE}"; then
45329 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_QT\" was never defined.
45330 Usually this means the macro was only invoked conditionally." >&5
45331 $as_echo "$as_me: error: conditional \"BUILD_QT\" was never defined.
45332 Usually this means the macro was only invoked conditionally." >&2;}
45333 { (exit 1); exit 1; }; }
45335 if test -z "${BUILD_QT_TRUE}" && test -z "${BUILD_QT_FALSE}"; then
45336 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_QT\" was never defined.
45337 Usually this means the macro was only invoked conditionally." >&5
45338 $as_echo "$as_me: error: conditional \"BUILD_QT\" was never defined.
45339 Usually this means the macro was only invoked conditionally." >&2;}
45340 { (exit 1); exit 1; }; }
45342 if test -z "${XDG_UTILS_TRUE}" && test -z "${XDG_UTILS_FALSE}"; then
45343 { { $as_echo "$as_me:$LINENO: error: conditional \"XDG_UTILS\" was never defined.
45344 Usually this means the macro was only invoked conditionally." >&5
45345 $as_echo "$as_me: error: conditional \"XDG_UTILS\" was never defined.
45346 Usually this means the macro was only invoked conditionally." >&2;}
45347 { (exit 1); exit 1; }; }
45350 : ${CONFIG_STATUS=./config.status}
45352 ac_clean_files_save=$ac_clean_files
45353 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
45354 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
45355 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
45356 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
45358 # Generated by $as_me.
45359 # Run this file to recreate the current configuration.
45360 # Compiler output produced by configure, useful for debugging
45361 # configure, is in config.log if it exists.
45364 ac_cs_recheck=false
45366 SHELL=\${CONFIG_SHELL-$SHELL}
45369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
45370 ## --------------------- ##
45371 ## M4sh Initialization. ##
45372 ## --------------------- ##
45374 # Be more Bourne compatible
45375 DUALCASE=1; export DUALCASE # for MKS sh
45376 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
45379 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
45380 # is contrary to our usage. Disable this feature.
45381 alias -g '${1+"$@"}'='"$@"'
45382 setopt NO_GLOB_SUBST
45384 case `(set -o) 2>/dev/null` in
45385 *posix*) set -o posix ;;
45394 # Avoid depending upon Character Ranges.
45395 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
45396 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
45397 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
45398 as_cr_digits='0123456789'
45399 as_cr_alnum=$as_cr_Letters$as_cr_digits
45404 # Printing a long string crashes Solaris 7 /usr/bin/printf.
45405 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45406 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45407 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45408 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
45409 as_echo='printf %s\n'
45410 as_echo_n='printf %s'
45412 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
45413 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
45414 as_echo_n='/usr/ucb/echo -n'
45416 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
45417 as_echo_n_body='eval
45421 expr "X$arg" : "X\\(.*\\)$as_nl";
45422 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
45424 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
45426 export as_echo_n_body
45427 as_echo_n='sh -c $as_echo_n_body as_echo'
45429 export as_echo_body
45430 as_echo='sh -c $as_echo_body as_echo'
45433 # The user is always right.
45434 if test "${PATH_SEPARATOR+set}" != set; then
45436 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
45437 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
45442 # Support unset when possible.
45443 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
45451 # We need space, tab and new line, in precisely that order. Quoting is
45452 # there to prevent editors from complaining about space-tab.
45453 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
45454 # splitting by setting IFS to empty value.)
45457 # Find who we are. Look in the path if we contain no directory separator.
45459 *[\\/]* ) as_myself=$0 ;;
45460 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45461 for as_dir in $PATH
45464 test -z "$as_dir" && as_dir=.
45465 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
45471 # We did not find ourselves, most probably we were run as `sh COMMAND'
45472 # in which case we are not to be found in the path.
45473 if test "x$as_myself" = x; then
45476 if test ! -f "$as_myself"; then
45477 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
45478 { (exit 1); exit 1; }
45481 # Work around bugs in pre-3.0 UWIN ksh.
45482 for as_var in ENV MAIL MAILPATH
45483 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
45495 # Required to use basename.
45496 if expr a : '\(a\)' >/dev/null 2>&1 &&
45497 test "X`expr 00001 : '.*\(...\)'`" = X001; then
45503 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
45504 as_basename=basename
45510 # Name of the executable.
45511 as_me=`$as_basename -- "$0" ||
45512 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
45513 X"$0" : 'X\(//\)$' \| \
45514 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
45516 sed '/^.*\/\([^/][^/]*\)\/*$/{
45535 as_lineno_1=$LINENO
45536 as_lineno_2=$LINENO
45537 test "x$as_lineno_1" != "x$as_lineno_2" &&
45538 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
45540 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
45541 # uniformly replaced by the line number. The first 'sed' inserts a
45542 # line-number line after each line using $LINENO; the second 'sed'
45543 # does the real work. The second script uses 'N' to pair each
45544 # line-number line with the line containing $LINENO, and appends
45545 # trailing '-' during substitution so that $LINENO is not a special
45546 # case at line end.
45547 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
45548 # scripts with optimization help from Paolo Bonzini. Blame Lee
45549 # E. McMahon (1931-1989) for sed's syntax. :-)
45561 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
45564 ' >$as_me.lineno &&
45565 chmod +x "$as_me.lineno" ||
45566 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
45567 { (exit 1); exit 1; }; }
45569 # Don't try to exec as it changes $[0], causing all sort of problems
45570 # (the dirname of $[0] is not the place where we might find the
45571 # original and so on. Autoconf is especially sensitive to this).
45572 . "./$as_me.lineno"
45573 # Exit status is that of the last command.
45578 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
45584 ECHO_C= ECHO_N= ECHO_T=
45585 case `echo -n x` in
45587 case `echo 'x\c'` in
45588 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
45594 if expr a : '\(a\)' >/dev/null 2>&1 &&
45595 test "X`expr 00001 : '.*\(...\)'`" = X001; then
45601 rm -f conf$$ conf$$.exe conf$$.file
45602 if test -d conf$$.dir; then
45603 rm -f conf$$.dir/conf$$.file
45606 mkdir conf$$.dir 2>/dev/null
45608 if (echo >conf$$.file) 2>/dev/null; then
45609 if ln -s conf$$.file conf$$ 2>/dev/null; then
45611 # ... but there are two gotchas:
45612 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
45613 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
45614 # In both cases, we have to default to `cp -p'.
45615 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
45617 elif ln conf$$.file conf$$ 2>/dev/null; then
45625 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
45626 rmdir conf$$.dir 2>/dev/null
45628 if mkdir -p . 2>/dev/null; then
45631 test -d ./-p && rmdir ./-p
45635 if test -x / >/dev/null 2>&1; then
45636 as_test_x='test -x'
45638 if ls -dL / >/dev/null 2>&1; then
45645 if test -d "$1"; then
45651 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
45652 ???[sx]*):;;*)false;;esac;fi
45656 as_executable_p=$as_test_x
45658 # Sed expression to map a string onto a valid CPP name.
45659 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
45661 # Sed expression to map a string onto a valid variable name.
45662 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
45667 # Save the log message, to keep $[0] and so on meaningful, and to
45668 # report actual input values of CONFIG_FILES etc. instead of their
45669 # values after options handling.
45671 This file was extended by $as_me, which was
45672 generated by GNU Autoconf 2.63. Invocation command line was
45674 CONFIG_FILES = $CONFIG_FILES
45675 CONFIG_HEADERS = $CONFIG_HEADERS
45676 CONFIG_LINKS = $CONFIG_LINKS
45677 CONFIG_COMMANDS = $CONFIG_COMMANDS
45680 on `(hostname || uname -n) 2>/dev/null | sed 1q`
45685 case $ac_config_files in *"
45686 "*) set x $ac_config_files; shift; ac_config_files=$*;;
45689 case $ac_config_headers in *"
45690 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
45694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
45695 # Files that config.status was made for.
45696 config_files="$ac_config_files"
45697 config_headers="$ac_config_headers"
45698 config_commands="$ac_config_commands"
45702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
45704 \`$as_me' instantiates files from templates according to the
45705 current configuration.
45707 Usage: $0 [OPTION]... [FILE]...
45709 -h, --help print this help, then exit
45710 -V, --version print version number and configuration settings, then exit
45711 -q, --quiet, --silent
45712 do not print progress messages
45713 -d, --debug don't remove temporary files
45714 --recheck update $as_me by reconfiguring in the same conditions
45715 --file=FILE[:TEMPLATE]
45716 instantiate the configuration file FILE
45717 --header=FILE[:TEMPLATE]
45718 instantiate the configuration header FILE
45720 Configuration files:
45723 Configuration headers:
45726 Configuration commands:
45729 Report bugs to <bug-autoconf@gnu.org>."
45732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
45735 configured by $0, generated by GNU Autoconf 2.63,
45736 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
45738 Copyright (C) 2008 Free Software Foundation, Inc.
45739 This config.status script is free software; the Free Software Foundation
45740 gives unlimited permission to copy, distribute and modify it."
45747 test -n "\$AWK" || AWK=awk
45750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
45751 # The default lists apply if the user does not specify any file.
45757 ac_option=`expr "X$1" : 'X\([^=]*\)='`
45758 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
45769 # Handling of the options.
45770 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
45772 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
45773 $as_echo "$ac_cs_version"; exit ;;
45774 --debug | --debu | --deb | --de | --d | -d )
45776 --file | --fil | --fi | --f )
45779 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
45781 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
45782 ac_need_defaults=false;;
45783 --header | --heade | --head | --hea )
45786 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
45788 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
45789 ac_need_defaults=false;;
45791 # Conflict between --help and --header
45792 { $as_echo "$as_me: error: ambiguous option: $1
45793 Try \`$0 --help' for more information." >&2
45794 { (exit 1); exit 1; }; };;
45795 --help | --hel | -h )
45796 $as_echo "$ac_cs_usage"; exit ;;
45797 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
45798 | -silent | --silent | --silen | --sile | --sil | --si | --s)
45801 # This is an error.
45802 -*) { $as_echo "$as_me: error: unrecognized option: $1
45803 Try \`$0 --help' for more information." >&2
45804 { (exit 1); exit 1; }; } ;;
45806 *) ac_config_targets="$ac_config_targets $1"
45807 ac_need_defaults=false ;;
45813 ac_configure_extra_args=
45815 if $ac_cs_silent; then
45817 ac_configure_extra_args="$ac_configure_extra_args --silent"
45821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
45822 if \$ac_cs_recheck; then
45823 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
45825 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
45826 CONFIG_SHELL='$SHELL'
45827 export CONFIG_SHELL
45832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
45836 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
45837 ## Running $as_me. ##
45843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
45847 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
45850 # The HP-UX ksh and POSIX shell print the target directory to stdout
45851 # if CDPATH is set.
45852 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
45854 sed_quote_subst='$sed_quote_subst'
45855 double_quote_subst='$double_quote_subst'
45856 delay_variable_subst='$delay_variable_subst'
45857 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
45858 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
45859 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
45860 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
45861 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
45862 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
45863 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
45864 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
45865 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
45866 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
45867 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
45868 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
45869 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
45870 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
45871 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
45872 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
45873 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
45874 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
45875 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
45876 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
45877 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
45878 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
45879 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
45880 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
45881 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
45882 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
45883 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
45884 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
45885 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
45886 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
45887 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
45888 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
45889 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
45890 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
45891 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
45892 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
45893 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
45894 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
45895 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
45896 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
45897 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
45898 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
45899 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
45900 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
45901 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
45902 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
45903 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"`'
45904 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"`'
45905 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
45906 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
45907 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
45908 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
45909 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
45910 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
45911 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
45912 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
45913 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
45914 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
45915 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
45916 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
45917 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
45918 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
45919 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
45920 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
45921 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
45922 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
45923 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
45924 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
45925 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
45926 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
45927 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
45928 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
45929 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
45930 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
45931 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
45932 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
45933 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
45934 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
45935 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
45936 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
45937 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
45938 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
45939 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
45940 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
45941 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
45942 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
45943 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
45944 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
45945 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
45946 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
45947 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
45948 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
45949 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
45950 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
45951 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
45952 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
45953 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
45954 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
45955 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
45956 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
45957 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
45958 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
45959 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
45960 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
45961 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
45962 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
45963 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
45964 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
45965 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
45966 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
45967 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
45968 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
45969 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
45970 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
45971 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
45972 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
45973 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
45974 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
45975 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
45976 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
45977 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
45978 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
45979 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
45980 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
45981 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
45982 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
45983 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
45984 LD_F77='`$ECHO "X$LD_F77" | $Xsed -e "$delay_single_quote_subst"`'
45985 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
45986 old_archive_cmds_F77='`$ECHO "X$old_archive_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
45987 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
45988 compiler_F77='`$ECHO "X$compiler_F77" | $Xsed -e "$delay_single_quote_subst"`'
45989 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
45990 GCC_F77='`$ECHO "X$GCC_F77" | $Xsed -e "$delay_single_quote_subst"`'
45991 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
45992 lt_prog_compiler_no_builtin_flag_F77='`$ECHO "X$lt_prog_compiler_no_builtin_flag_F77" | $Xsed -e "$delay_single_quote_subst"`'
45993 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
45994 lt_prog_compiler_wl_F77='`$ECHO "X$lt_prog_compiler_wl_F77" | $Xsed -e "$delay_single_quote_subst"`'
45995 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
45996 lt_prog_compiler_pic_F77='`$ECHO "X$lt_prog_compiler_pic_F77" | $Xsed -e "$delay_single_quote_subst"`'
45997 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
45998 lt_prog_compiler_static_F77='`$ECHO "X$lt_prog_compiler_static_F77" | $Xsed -e "$delay_single_quote_subst"`'
45999 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46000 lt_cv_prog_compiler_c_o_F77='`$ECHO "X$lt_cv_prog_compiler_c_o_F77" | $Xsed -e "$delay_single_quote_subst"`'
46001 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46002 archive_cmds_need_lc_F77='`$ECHO "X$archive_cmds_need_lc_F77" | $Xsed -e "$delay_single_quote_subst"`'
46003 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46004 enable_shared_with_static_runtimes_F77='`$ECHO "X$enable_shared_with_static_runtimes_F77" | $Xsed -e "$delay_single_quote_subst"`'
46005 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46006 export_dynamic_flag_spec_F77='`$ECHO "X$export_dynamic_flag_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
46007 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46008 whole_archive_flag_spec_F77='`$ECHO "X$whole_archive_flag_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
46009 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46010 compiler_needs_object_F77='`$ECHO "X$compiler_needs_object_F77" | $Xsed -e "$delay_single_quote_subst"`'
46011 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46012 old_archive_from_new_cmds_F77='`$ECHO "X$old_archive_from_new_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
46013 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46014 old_archive_from_expsyms_cmds_F77='`$ECHO "X$old_archive_from_expsyms_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
46015 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46016 archive_cmds_F77='`$ECHO "X$archive_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
46017 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46018 archive_expsym_cmds_F77='`$ECHO "X$archive_expsym_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
46019 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46020 module_cmds_F77='`$ECHO "X$module_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
46021 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46022 module_expsym_cmds_F77='`$ECHO "X$module_expsym_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
46023 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46024 with_gnu_ld_F77='`$ECHO "X$with_gnu_ld_F77" | $Xsed -e "$delay_single_quote_subst"`'
46025 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46026 allow_undefined_flag_F77='`$ECHO "X$allow_undefined_flag_F77" | $Xsed -e "$delay_single_quote_subst"`'
46027 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46028 no_undefined_flag_F77='`$ECHO "X$no_undefined_flag_F77" | $Xsed -e "$delay_single_quote_subst"`'
46029 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46030 hardcode_libdir_flag_spec_F77='`$ECHO "X$hardcode_libdir_flag_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
46031 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46032 hardcode_libdir_flag_spec_ld_F77='`$ECHO "X$hardcode_libdir_flag_spec_ld_F77" | $Xsed -e "$delay_single_quote_subst"`'
46033 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46034 hardcode_libdir_separator_F77='`$ECHO "X$hardcode_libdir_separator_F77" | $Xsed -e "$delay_single_quote_subst"`'
46035 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46036 hardcode_direct_F77='`$ECHO "X$hardcode_direct_F77" | $Xsed -e "$delay_single_quote_subst"`'
46037 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46038 hardcode_direct_absolute_F77='`$ECHO "X$hardcode_direct_absolute_F77" | $Xsed -e "$delay_single_quote_subst"`'
46039 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46040 hardcode_minus_L_F77='`$ECHO "X$hardcode_minus_L_F77" | $Xsed -e "$delay_single_quote_subst"`'
46041 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46042 hardcode_shlibpath_var_F77='`$ECHO "X$hardcode_shlibpath_var_F77" | $Xsed -e "$delay_single_quote_subst"`'
46043 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46044 hardcode_automatic_F77='`$ECHO "X$hardcode_automatic_F77" | $Xsed -e "$delay_single_quote_subst"`'
46045 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46046 inherit_rpath_F77='`$ECHO "X$inherit_rpath_F77" | $Xsed -e "$delay_single_quote_subst"`'
46047 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46048 link_all_deplibs_F77='`$ECHO "X$link_all_deplibs_F77" | $Xsed -e "$delay_single_quote_subst"`'
46049 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46050 fix_srcfile_path_F77='`$ECHO "X$fix_srcfile_path_F77" | $Xsed -e "$delay_single_quote_subst"`'
46051 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46052 always_export_symbols_F77='`$ECHO "X$always_export_symbols_F77" | $Xsed -e "$delay_single_quote_subst"`'
46053 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46054 export_symbols_cmds_F77='`$ECHO "X$export_symbols_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
46055 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46056 exclude_expsyms_F77='`$ECHO "X$exclude_expsyms_F77" | $Xsed -e "$delay_single_quote_subst"`'
46057 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46058 include_expsyms_F77='`$ECHO "X$include_expsyms_F77" | $Xsed -e "$delay_single_quote_subst"`'
46059 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46060 prelink_cmds_F77='`$ECHO "X$prelink_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
46061 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46062 file_list_spec_F77='`$ECHO "X$file_list_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
46063 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46064 hardcode_action_F77='`$ECHO "X$hardcode_action_F77" | $Xsed -e "$delay_single_quote_subst"`'
46065 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46066 compiler_lib_search_dirs_F77='`$ECHO "X$compiler_lib_search_dirs_F77" | $Xsed -e "$delay_single_quote_subst"`'
46067 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46068 predep_objects_F77='`$ECHO "X$predep_objects_F77" | $Xsed -e "$delay_single_quote_subst"`'
46069 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46070 postdep_objects_F77='`$ECHO "X$postdep_objects_F77" | $Xsed -e "$delay_single_quote_subst"`'
46071 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46072 predeps_F77='`$ECHO "X$predeps_F77" | $Xsed -e "$delay_single_quote_subst"`'
46073 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46074 postdeps_F77='`$ECHO "X$postdeps_F77" | $Xsed -e "$delay_single_quote_subst"`'
46075 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
46076 compiler_lib_search_path_F77='`$ECHO "X$compiler_lib_search_path_F77" | $Xsed -e "$delay_single_quote_subst"`'
46079 LTCFLAGS='$LTCFLAGS'
46080 compiler='$compiler_DEFAULT'
46082 # Quote evaled strings.
46093 deplibs_check_method \
46102 lt_cv_sys_global_symbol_pipe \
46103 lt_cv_sys_global_symbol_to_cdecl \
46104 lt_cv_sys_global_symbol_to_c_name_address \
46105 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
46108 lt_prog_compiler_no_builtin_flag \
46109 lt_prog_compiler_wl \
46110 lt_prog_compiler_pic \
46111 lt_prog_compiler_static \
46112 lt_cv_prog_compiler_c_o \
46120 export_dynamic_flag_spec \
46121 whole_archive_flag_spec \
46122 compiler_needs_object \
46124 allow_undefined_flag \
46125 no_undefined_flag \
46126 hardcode_libdir_flag_spec \
46127 hardcode_libdir_flag_spec_ld \
46128 hardcode_libdir_separator \
46133 variables_saved_for_relink \
46135 library_names_spec \
46140 compiler_lib_search_dirs \
46145 compiler_lib_search_path \
46150 lt_prog_compiler_no_builtin_flag_CXX \
46151 lt_prog_compiler_no_builtin_flag_F77 \
46152 lt_prog_compiler_wl_CXX \
46153 lt_prog_compiler_wl_F77 \
46154 lt_prog_compiler_pic_CXX \
46155 lt_prog_compiler_pic_F77 \
46156 lt_prog_compiler_static_CXX \
46157 lt_prog_compiler_static_F77 \
46158 lt_cv_prog_compiler_c_o_CXX \
46159 lt_cv_prog_compiler_c_o_F77 \
46160 export_dynamic_flag_spec_CXX \
46161 export_dynamic_flag_spec_F77 \
46162 whole_archive_flag_spec_CXX \
46163 whole_archive_flag_spec_F77 \
46164 compiler_needs_object_CXX \
46165 compiler_needs_object_F77 \
46168 allow_undefined_flag_CXX \
46169 allow_undefined_flag_F77 \
46170 no_undefined_flag_CXX \
46171 no_undefined_flag_F77 \
46172 hardcode_libdir_flag_spec_CXX \
46173 hardcode_libdir_flag_spec_F77 \
46174 hardcode_libdir_flag_spec_ld_CXX \
46175 hardcode_libdir_flag_spec_ld_F77 \
46176 hardcode_libdir_separator_CXX \
46177 hardcode_libdir_separator_F77 \
46178 fix_srcfile_path_CXX \
46179 fix_srcfile_path_F77 \
46180 exclude_expsyms_CXX \
46181 exclude_expsyms_F77 \
46182 include_expsyms_CXX \
46183 include_expsyms_F77 \
46184 file_list_spec_CXX \
46185 file_list_spec_F77 \
46186 compiler_lib_search_dirs_CXX \
46187 compiler_lib_search_dirs_F77 \
46188 predep_objects_CXX \
46189 predep_objects_F77 \
46190 postdep_objects_CXX \
46191 postdep_objects_F77 \
46196 compiler_lib_search_path_CXX \
46197 compiler_lib_search_path_F77; do
46198 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
46199 *[\\\\\\\`\\"\\\$]*)
46200 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
46203 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
46208 # Double-quote double-evaled strings.
46209 for var in reload_cmds \
46210 old_postinstall_cmds \
46211 old_postuninstall_cmds \
46213 extract_expsyms_cmds \
46214 old_archive_from_new_cmds \
46215 old_archive_from_expsyms_cmds \
46217 archive_expsym_cmds \
46219 module_expsym_cmds \
46220 export_symbols_cmds \
46223 postuninstall_cmds \
46225 sys_lib_search_path_spec \
46226 sys_lib_dlsearch_path_spec \
46227 old_archive_cmds_CXX \
46228 old_archive_cmds_F77 \
46229 old_archive_from_new_cmds_CXX \
46230 old_archive_from_new_cmds_F77 \
46231 old_archive_from_expsyms_cmds_CXX \
46232 old_archive_from_expsyms_cmds_F77 \
46235 archive_expsym_cmds_CXX \
46236 archive_expsym_cmds_F77 \
46239 module_expsym_cmds_CXX \
46240 module_expsym_cmds_F77 \
46241 export_symbols_cmds_CXX \
46242 export_symbols_cmds_F77 \
46244 prelink_cmds_F77; do
46245 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
46246 *[\\\\\\\`\\"\\\$]*)
46247 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
46250 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
46255 # Fix-up fallback echo if it was mangled by the above quoting rules.
46257 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
46261 ac_aux_dir='$ac_aux_dir'
46262 xsi_shell='$xsi_shell'
46263 lt_shell_append='$lt_shell_append'
46265 # See if we are running on zsh, and set the options which allow our
46266 # commands through without removal of \ escapes INIT.
46267 if test -n "\${ZSH_VERSION+set}" ; then
46268 setopt NO_GLOB_SUBST
46274 TIMESTAMP='$TIMESTAMP'
46287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
46289 # Handling of arguments.
46290 for ac_config_target in $ac_config_targets
46292 case $ac_config_target in
46293 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
46294 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
46295 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
46296 "gruel/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/Makefile" ;;
46297 "gruel/gruel.pc") CONFIG_FILES="$CONFIG_FILES gruel/gruel.pc" ;;
46298 "gruel/src/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/src/Makefile" ;;
46299 "gruel/src/include/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/src/include/Makefile" ;;
46300 "gruel/src/include/gruel/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/src/include/gruel/Makefile" ;;
46301 "gruel/src/include/gruel/inet.h") CONFIG_FILES="$CONFIG_FILES gruel/src/include/gruel/inet.h" ;;
46302 "gruel/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gruel/src/lib/Makefile" ;;
46303 "omnithread/Makefile") CONFIG_FILES="$CONFIG_FILES omnithread/Makefile" ;;
46304 "omnithread/gnuradio/Makefile") CONFIG_FILES="$CONFIG_FILES omnithread/gnuradio/Makefile" ;;
46305 "omnithread/gnuradio-omnithread.pc") CONFIG_FILES="$CONFIG_FILES omnithread/gnuradio-omnithread.pc" ;;
46306 "gcell/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/Makefile" ;;
46307 "gcell/gcell.pc") CONFIG_FILES="$CONFIG_FILES gcell/gcell.pc" ;;
46308 "gcell/gcell_spu.pc") CONFIG_FILES="$CONFIG_FILES gcell/gcell_spu.pc" ;;
46309 "gcell/include/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/include/Makefile" ;;
46310 "gcell/include/gcell/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/include/gcell/Makefile" ;;
46311 "gcell/include/gcell/spu/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/include/gcell/spu/Makefile" ;;
46312 "gcell/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/lib/Makefile" ;;
46313 "gcell/lib/spu/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/lib/spu/Makefile" ;;
46314 "gcell/lib/general/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/lib/general/Makefile" ;;
46315 "gcell/lib/wrapper/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/lib/wrapper/Makefile" ;;
46316 "gcell/lib/runtime/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/lib/runtime/Makefile" ;;
46317 "gcell/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/apps/Makefile" ;;
46318 "gcell/apps/spu/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/apps/spu/Makefile" ;;
46319 "gcell/ibm/Makefile") CONFIG_FILES="$CONFIG_FILES gcell/ibm/Makefile" ;;
46320 "gnuradio-core/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/Makefile" ;;
46321 "gnuradio-core/gnuradio-core.pc") CONFIG_FILES="$CONFIG_FILES gnuradio-core/gnuradio-core.pc" ;;
46322 "gnuradio-core/src/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/Makefile" ;;
46323 "gnuradio-core/src/gen_interpolator_taps/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/gen_interpolator_taps/Makefile" ;;
46324 "gnuradio-core/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/Makefile" ;;
46325 "gnuradio-core/src/lib/filter/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/filter/Makefile" ;;
46326 "gnuradio-core/src/lib/g72x/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/g72x/Makefile" ;;
46327 "gnuradio-core/src/lib/general/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/general/Makefile" ;;
46328 "gnuradio-core/src/lib/general/gr_prefix.cc") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/general/gr_prefix.cc" ;;
46329 "gnuradio-core/src/lib/gengen/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/gengen/Makefile" ;;
46330 "gnuradio-core/src/lib/io/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/io/Makefile" ;;
46331 "gnuradio-core/src/lib/missing/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/missing/Makefile" ;;
46332 "gnuradio-core/src/lib/reed-solomon/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/reed-solomon/Makefile" ;;
46333 "gnuradio-core/src/lib/viterbi/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/viterbi/Makefile" ;;
46334 "gnuradio-core/src/lib/runtime/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/runtime/Makefile" ;;
46335 "gnuradio-core/src/lib/hier/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/hier/Makefile" ;;
46336 "gnuradio-core/src/lib/swig/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/lib/swig/Makefile" ;;
46337 "gnuradio-core/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/Makefile" ;;
46338 "gnuradio-core/src/python/bin/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/bin/Makefile" ;;
46339 "gnuradio-core/src/python/gnuradio/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/Makefile" ;;
46340 "gnuradio-core/src/python/gnuradio/blks2/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/blks2/Makefile" ;;
46341 "gnuradio-core/src/python/gnuradio/blks2impl/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/blks2impl/Makefile" ;;
46342 "gnuradio-core/src/python/gnuradio/gr/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/gr/Makefile" ;;
46343 "gnuradio-core/src/python/gnuradio/gr/run_tests") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/gr/run_tests" ;;
46344 "gnuradio-core/src/python/gnuradio/gru/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/gru/Makefile" ;;
46345 "gnuradio-core/src/python/gnuradio/gruimpl/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/gruimpl/Makefile" ;;
46346 "gnuradio-core/src/python/gnuradio/vocoder/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/python/gnuradio/vocoder/Makefile" ;;
46347 "gnuradio-core/src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/tests/Makefile" ;;
46348 "gnuradio-core/src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-core/src/utils/Makefile" ;;
46349 "run_tests_core") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_core" ;;
46350 "pmt/Makefile") CONFIG_FILES="$CONFIG_FILES pmt/Makefile" ;;
46351 "pmt/pmt.pc") CONFIG_FILES="$CONFIG_FILES pmt/pmt.pc" ;;
46352 "pmt/doc/Makefile") CONFIG_FILES="$CONFIG_FILES pmt/doc/Makefile" ;;
46353 "pmt/src/Makefile") CONFIG_FILES="$CONFIG_FILES pmt/src/Makefile" ;;
46354 "pmt/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES pmt/src/lib/Makefile" ;;
46355 "pmt/src/scheme/Makefile") CONFIG_FILES="$CONFIG_FILES pmt/src/scheme/Makefile" ;;
46356 "pmt/src/scheme/gnuradio/Makefile") CONFIG_FILES="$CONFIG_FILES pmt/src/scheme/gnuradio/Makefile" ;;
46357 "mblock/Makefile") CONFIG_FILES="$CONFIG_FILES mblock/Makefile" ;;
46358 "mblock/mblock.pc") CONFIG_FILES="$CONFIG_FILES mblock/mblock.pc" ;;
46359 "mblock/doc/Makefile") CONFIG_FILES="$CONFIG_FILES mblock/doc/Makefile" ;;
46360 "mblock/src/Makefile") CONFIG_FILES="$CONFIG_FILES mblock/src/Makefile" ;;
46361 "mblock/src/include/Makefile") CONFIG_FILES="$CONFIG_FILES mblock/src/include/Makefile" ;;
46362 "mblock/src/include/mblock/Makefile") CONFIG_FILES="$CONFIG_FILES mblock/src/include/mblock/Makefile" ;;
46363 "mblock/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES mblock/src/lib/Makefile" ;;
46364 "mblock/src/scheme/Makefile") CONFIG_FILES="$CONFIG_FILES mblock/src/scheme/Makefile" ;;
46365 "mblock/src/scheme/gnuradio/Makefile") CONFIG_FILES="$CONFIG_FILES mblock/src/scheme/gnuradio/Makefile" ;;
46366 "usrp/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/Makefile" ;;
46367 "usrp/usrp.pc") CONFIG_FILES="$CONFIG_FILES usrp/usrp.pc" ;;
46368 "usrp/usrp.iss") CONFIG_FILES="$CONFIG_FILES usrp/usrp.iss" ;;
46369 "usrp/doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES usrp/doc/Doxyfile" ;;
46370 "usrp/doc/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/doc/Makefile" ;;
46371 "usrp/doc/other/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/doc/other/Makefile" ;;
46372 "usrp/host/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/Makefile" ;;
46373 "usrp/host/misc/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/misc/Makefile" ;;
46374 "usrp/host/lib/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/lib/Makefile" ;;
46375 "usrp/host/lib/legacy/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/lib/legacy/Makefile" ;;
46376 "usrp/host/lib/legacy/std_paths.h") CONFIG_FILES="$CONFIG_FILES usrp/host/lib/legacy/std_paths.h" ;;
46377 "usrp/host/swig/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/swig/Makefile" ;;
46378 "usrp/host/apps/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/host/apps/Makefile" ;;
46379 "usrp/firmware/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/Makefile" ;;
46380 "usrp/firmware/include/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/include/Makefile" ;;
46381 "usrp/firmware/lib/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/lib/Makefile" ;;
46382 "usrp/firmware/src/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/src/Makefile" ;;
46383 "usrp/firmware/src/common/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/src/common/Makefile" ;;
46384 "usrp/firmware/src/usrp2/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/firmware/src/usrp2/Makefile" ;;
46385 "usrp/fpga/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/fpga/Makefile" ;;
46386 "usrp/fpga/rbf/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/fpga/rbf/Makefile" ;;
46387 "usrp/fpga/rbf/rev2/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/fpga/rbf/rev2/Makefile" ;;
46388 "usrp/fpga/rbf/rev4/Makefile") CONFIG_FILES="$CONFIG_FILES usrp/fpga/rbf/rev4/Makefile" ;;
46389 "usrp2/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/Makefile" ;;
46390 "usrp2/host/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/host/Makefile" ;;
46391 "usrp2/host/usrp2.pc") CONFIG_FILES="$CONFIG_FILES usrp2/host/usrp2.pc" ;;
46392 "usrp2/host/include/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/host/include/Makefile" ;;
46393 "usrp2/host/include/usrp2/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/host/include/usrp2/Makefile" ;;
46394 "usrp2/host/lib/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/host/lib/Makefile" ;;
46395 "usrp2/host/apps/Makefile") CONFIG_FILES="$CONFIG_FILES usrp2/host/apps/Makefile" ;;
46396 "gr-usrp/Makefile") CONFIG_FILES="$CONFIG_FILES gr-usrp/Makefile" ;;
46397 "gr-usrp/gnuradio-usrp.pc") CONFIG_FILES="$CONFIG_FILES gr-usrp/gnuradio-usrp.pc" ;;
46398 "gr-usrp/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-usrp/src/Makefile" ;;
46399 "gr-usrp/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-usrp/src/run_tests" ;;
46400 "gr-usrp/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gr-usrp/apps/Makefile" ;;
46401 "run_tests_usrp") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_usrp" ;;
46402 "gr-usrp2/Makefile") CONFIG_FILES="$CONFIG_FILES gr-usrp2/Makefile" ;;
46403 "gr-usrp2/gnuradio-usrp2.pc") CONFIG_FILES="$CONFIG_FILES gr-usrp2/gnuradio-usrp2.pc" ;;
46404 "gr-usrp2/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-usrp2/src/Makefile" ;;
46405 "gr-usrp2/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-usrp2/src/run_tests" ;;
46406 "run_tests_usrp2") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_usrp2" ;;
46407 "gr-gcell/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gcell/Makefile" ;;
46408 "gr-gcell/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gcell/src/Makefile" ;;
46409 "gr-gcell/src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gcell/src/examples/Makefile" ;;
46410 "gr-gcell/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-gcell/src/run_tests" ;;
46411 "run_tests_gcell") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_gcell" ;;
46412 "gr-audio-alsa/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-alsa/Makefile" ;;
46413 "gr-audio-alsa/gr-audio-alsa.pc") CONFIG_FILES="$CONFIG_FILES gr-audio-alsa/gr-audio-alsa.pc" ;;
46414 "gr-audio-alsa/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-alsa/src/Makefile" ;;
46415 "gr-audio-alsa/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-alsa/src/run_tests" ;;
46416 "run_tests_alsa") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_alsa" ;;
46417 "gr-audio-jack/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-jack/Makefile" ;;
46418 "gr-audio-jack/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-jack/src/Makefile" ;;
46419 "gr-audio-jack/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-jack/src/run_tests" ;;
46420 "run_tests_jack") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_jack" ;;
46421 "gr-audio-oss/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-oss/Makefile" ;;
46422 "gr-audio-oss/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-oss/src/Makefile" ;;
46423 "gr-audio-oss/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-oss/src/run_tests" ;;
46424 "run_tests_oss") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_oss" ;;
46425 "gr-audio-osx/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-osx/Makefile" ;;
46426 "gr-audio-osx/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-osx/src/Makefile" ;;
46427 "gr-audio-osx/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-osx/src/run_tests" ;;
46428 "run_tests_osx") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_osx" ;;
46429 "gr-audio-portaudio/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-portaudio/Makefile" ;;
46430 "gr-audio-portaudio/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-portaudio/src/Makefile" ;;
46431 "gr-audio-portaudio/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-portaudio/src/run_tests" ;;
46432 "run_tests_portaudio") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_portaudio" ;;
46433 "gr-audio-windows/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-windows/Makefile" ;;
46434 "gr-audio-windows/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-audio-windows/src/Makefile" ;;
46435 "gr-audio-windows/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-audio-windows/src/run_tests" ;;
46436 "run_tests_audio_windows") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_audio_windows" ;;
46437 "gr-cvsd-vocoder/Makefile") CONFIG_FILES="$CONFIG_FILES gr-cvsd-vocoder/Makefile" ;;
46438 "gr-cvsd-vocoder/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-cvsd-vocoder/src/Makefile" ;;
46439 "gr-cvsd-vocoder/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-cvsd-vocoder/src/lib/Makefile" ;;
46440 "gr-cvsd-vocoder/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-cvsd-vocoder/src/python/Makefile" ;;
46441 "gr-cvsd-vocoder/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-cvsd-vocoder/src/python/run_tests" ;;
46442 "run_tests_cvsd") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_cvsd" ;;
46443 "gr-gpio/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/Makefile" ;;
46444 "gr-gpio/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/Makefile" ;;
46445 "gr-gpio/src/fpga/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/fpga/Makefile" ;;
46446 "gr-gpio/src/fpga/include/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/fpga/include/Makefile" ;;
46447 "gr-gpio/src/fpga/top/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/fpga/top/Makefile" ;;
46448 "gr-gpio/src/fpga/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/fpga/lib/Makefile" ;;
46449 "gr-gpio/src/fpga/rbf/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/fpga/rbf/Makefile" ;;
46450 "gr-gpio/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gpio/src/python/Makefile" ;;
46451 "gr-gsm-fr-vocoder/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/Makefile" ;;
46452 "gr-gsm-fr-vocoder/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/src/Makefile" ;;
46453 "gr-gsm-fr-vocoder/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/src/lib/Makefile" ;;
46454 "gr-gsm-fr-vocoder/src/lib/gsm/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/src/lib/gsm/Makefile" ;;
46455 "gr-gsm-fr-vocoder/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/src/python/Makefile" ;;
46456 "gr-gsm-fr-vocoder/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-gsm-fr-vocoder/src/python/run_tests" ;;
46457 "run_tests_gsm") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_gsm" ;;
46458 "gr-pager/Makefile") CONFIG_FILES="$CONFIG_FILES gr-pager/Makefile" ;;
46459 "gr-pager/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-pager/src/Makefile" ;;
46460 "gr-pager/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-pager/src/run_tests" ;;
46461 "run_tests_pager") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_pager" ;;
46462 "gr-radar-mono/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/Makefile" ;;
46463 "gr-radar-mono/doc/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/doc/Makefile" ;;
46464 "gr-radar-mono/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/Makefile" ;;
46465 "gr-radar-mono/src/fpga/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/fpga/Makefile" ;;
46466 "gr-radar-mono/src/fpga/top/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/fpga/top/Makefile" ;;
46467 "gr-radar-mono/src/fpga/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/fpga/lib/Makefile" ;;
46468 "gr-radar-mono/src/fpga/models/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/fpga/models/Makefile" ;;
46469 "gr-radar-mono/src/fpga/tb/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/fpga/tb/Makefile" ;;
46470 "gr-radar-mono/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/lib/Makefile" ;;
46471 "gr-radar-mono/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/python/Makefile" ;;
46472 "gr-radar-mono/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-radar-mono/src/python/run_tests" ;;
46473 "run_tests_radar_mono") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_radar_mono" ;;
46474 "gr-radio-astronomy/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radio-astronomy/Makefile" ;;
46475 "gr-radio-astronomy/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radio-astronomy/src/Makefile" ;;
46476 "gr-radio-astronomy/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radio-astronomy/src/lib/Makefile" ;;
46477 "gr-radio-astronomy/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-radio-astronomy/src/python/Makefile" ;;
46478 "gr-radio-astronomy/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-radio-astronomy/src/python/run_tests" ;;
46479 "run_tests_astronomy") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_astronomy" ;;
46480 "gr-trellis/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/Makefile" ;;
46481 "gr-trellis/doc/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/doc/Makefile" ;;
46482 "gr-trellis/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/Makefile" ;;
46483 "gr-trellis/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/lib/Makefile" ;;
46484 "gr-trellis/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/python/Makefile" ;;
46485 "gr-trellis/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/python/run_tests" ;;
46486 "gr-trellis/src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/examples/Makefile" ;;
46487 "gr-trellis/src/examples/fsm_files/Makefile") CONFIG_FILES="$CONFIG_FILES gr-trellis/src/examples/fsm_files/Makefile" ;;
46488 "run_tests_gr_trellis") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_gr_trellis" ;;
46489 "gr-video-sdl/Makefile") CONFIG_FILES="$CONFIG_FILES gr-video-sdl/Makefile" ;;
46490 "gr-video-sdl/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-video-sdl/src/Makefile" ;;
46491 "gr-video-sdl/src/run_tests") CONFIG_FILES="$CONFIG_FILES gr-video-sdl/src/run_tests" ;;
46492 "run_tests_sdl") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_sdl" ;;
46493 "gr-wxgui/Makefile") CONFIG_FILES="$CONFIG_FILES gr-wxgui/Makefile" ;;
46494 "gr-wxgui/gr-wxgui.pc") CONFIG_FILES="$CONFIG_FILES gr-wxgui/gr-wxgui.pc" ;;
46495 "gr-wxgui/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-wxgui/src/Makefile" ;;
46496 "gr-wxgui/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-wxgui/src/python/Makefile" ;;
46497 "gr-wxgui/src/python/plotter/Makefile") CONFIG_FILES="$CONFIG_FILES gr-wxgui/src/python/plotter/Makefile" ;;
46498 "gr-qtgui/Makefile") CONFIG_FILES="$CONFIG_FILES gr-qtgui/Makefile" ;;
46499 "gr-qtgui/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-qtgui/src/Makefile" ;;
46500 "gr-qtgui/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-qtgui/src/lib/Makefile" ;;
46501 "gr-qtgui/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-qtgui/src/python/Makefile" ;;
46502 "gr-sounder/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/Makefile" ;;
46503 "gr-sounder/doc/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/doc/Makefile" ;;
46504 "gr-sounder/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/Makefile" ;;
46505 "gr-sounder/src/fpga/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/fpga/Makefile" ;;
46506 "gr-sounder/src/fpga/top/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/fpga/top/Makefile" ;;
46507 "gr-sounder/src/fpga/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/fpga/lib/Makefile" ;;
46508 "gr-sounder/src/fpga/tb/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/fpga/tb/Makefile" ;;
46509 "gr-sounder/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/lib/Makefile" ;;
46510 "gr-sounder/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/python/Makefile" ;;
46511 "gr-sounder/src/python/run_tests") CONFIG_FILES="$CONFIG_FILES gr-sounder/src/python/run_tests" ;;
46512 "run_tests_sounder") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_sounder" ;;
46513 "gr-utils/Makefile") CONFIG_FILES="$CONFIG_FILES gr-utils/Makefile" ;;
46514 "gr-utils/src/Makefile") CONFIG_FILES="$CONFIG_FILES gr-utils/src/Makefile" ;;
46515 "gr-utils/src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES gr-utils/src/lib/Makefile" ;;
46516 "gr-utils/src/python/Makefile") CONFIG_FILES="$CONFIG_FILES gr-utils/src/python/Makefile" ;;
46517 "gnuradio-examples/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/Makefile" ;;
46518 "gnuradio-examples/c++/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/c++/Makefile" ;;
46519 "gnuradio-examples/python/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/Makefile" ;;
46520 "gnuradio-examples/python/apps/hf_explorer/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/apps/hf_explorer/Makefile" ;;
46521 "gnuradio-examples/python/apps/hf_radio/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/apps/hf_radio/Makefile" ;;
46522 "gnuradio-examples/python/apps/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/apps/Makefile" ;;
46523 "gnuradio-examples/python/audio/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/audio/Makefile" ;;
46524 "gnuradio-examples/python/digital/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/digital/Makefile" ;;
46525 "gnuradio-examples/python/digital_voice/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/digital_voice/Makefile" ;;
46526 "gnuradio-examples/python/digital-bert/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/digital-bert/Makefile" ;;
46527 "gnuradio-examples/python/mp-sched/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/mp-sched/Makefile" ;;
46528 "gnuradio-examples/python/multi-antenna/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/multi-antenna/Makefile" ;;
46529 "gnuradio-examples/python/multi_usrp/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/multi_usrp/Makefile" ;;
46530 "gnuradio-examples/python/network/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/network/Makefile" ;;
46531 "gnuradio-examples/python/ofdm/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/ofdm/Makefile" ;;
46532 "gnuradio-examples/python/usrp/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/usrp/Makefile" ;;
46533 "gnuradio-examples/python/usrp2/Makefile") CONFIG_FILES="$CONFIG_FILES gnuradio-examples/python/usrp2/Makefile" ;;
46534 "grc/Makefile") CONFIG_FILES="$CONFIG_FILES grc/Makefile" ;;
46535 "grc/base/Makefile") CONFIG_FILES="$CONFIG_FILES grc/base/Makefile" ;;
46536 "grc/blocks/Makefile") CONFIG_FILES="$CONFIG_FILES grc/blocks/Makefile" ;;
46537 "grc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES grc/examples/Makefile" ;;
46538 "grc/freedesktop/Makefile") CONFIG_FILES="$CONFIG_FILES grc/freedesktop/Makefile" ;;
46539 "grc/grc_gnuradio/Makefile") CONFIG_FILES="$CONFIG_FILES grc/grc_gnuradio/Makefile" ;;
46540 "grc/gui/Makefile") CONFIG_FILES="$CONFIG_FILES grc/gui/Makefile" ;;
46541 "grc/python/Makefile") CONFIG_FILES="$CONFIG_FILES grc/python/Makefile" ;;
46542 "grc/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES grc/scripts/Makefile" ;;
46543 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
46544 "docs/doxygen/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/doxygen/Doxyfile" ;;
46545 "docs/doxygen/Makefile") CONFIG_FILES="$CONFIG_FILES docs/doxygen/Makefile" ;;
46546 "docs/doxygen/other/Makefile") CONFIG_FILES="$CONFIG_FILES docs/doxygen/other/Makefile" ;;
46547 "docs/doxygen/xml-swig/Makefile") CONFIG_FILES="$CONFIG_FILES docs/doxygen/xml-swig/Makefile" ;;
46548 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
46549 "run_tests.sh") CONFIG_FILES="$CONFIG_FILES run_tests.sh" ;;
46550 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
46551 "run_tests_build") CONFIG_COMMANDS="$CONFIG_COMMANDS run_tests_build" ;;
46553 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
46554 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
46555 { (exit 1); exit 1; }; };;
46560 # If the user did not use the arguments to specify the items to instantiate,
46561 # then the envvar interface is used. Set only those that are not.
46562 # We use the long form for the default assignment because of an extremely
46563 # bizarre bug on SunOS 4.1.3.
46564 if $ac_need_defaults; then
46565 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
46566 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
46567 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
46570 # Have a temporary directory for convenience. Make it in the build tree
46571 # simply because there is no reason against having it here, and in addition,
46572 # creating and moving files from /tmp can sometimes cause problems.
46573 # Hook for its removal unless debugging.
46574 # Note that there is a small window in which the directory will not be cleaned:
46575 # after its creation but before its name has been assigned to `$tmp'.
46579 trap 'exit_status=$?
46580 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
46582 trap '{ (exit 1); exit 1; }' 1 2 13 15
46584 # Create a (secure) tmp directory for tmp files.
46587 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
46588 test -n "$tmp" && test -d "$tmp"
46591 tmp=./conf$$-$RANDOM
46592 (umask 077 && mkdir "$tmp")
46595 $as_echo "$as_me: cannot create a temporary directory in ." >&2
46596 { (exit 1); exit 1; }
46599 # Set up the scripts for CONFIG_FILES section.
46600 # No need to generate them if there are no CONFIG_FILES.
46601 # This happens for instance with `./config.status config.h'.
46602 if test -n "$CONFIG_FILES"; then
46606 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
46607 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
46610 ac_cs_awk_cr=$ac_cr
46613 echo 'BEGIN {' >"$tmp/subs1.awk" &&
46618 echo "cat >conf$$subs.awk <<_ACEOF" &&
46619 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
46621 } >conf$$subs.sh ||
46622 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
46623 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
46624 { (exit 1); exit 1; }; }
46625 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
46627 for ac_last_try in false false false false false :; do
46628 . ./conf$$subs.sh ||
46629 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
46630 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
46631 { (exit 1); exit 1; }; }
46633 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
46634 if test $ac_delim_n = $ac_delim_num; then
46636 elif $ac_last_try; then
46637 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
46638 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
46639 { (exit 1); exit 1; }; }
46641 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
46644 rm -f conf$$subs.sh
46646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
46647 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
46651 s/^/S["/; s/!.*/"]=/
46661 s/\(.\{148\}\).*/\1/
46663 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
46668 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
46675 s/\(.\{148\}\).*/\1/
46677 s/["\\]/\\&/g; s/^/"/; s/$/"/
46681 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
46686 ' <conf$$subs.awk | sed '
46691 ' >>$CONFIG_STATUS || ac_write_fail=1
46692 rm -f conf$$subs.awk
46693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
46695 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
46696 for (key in S) S_is_set[key] = 1
46702 nfields = split(line, field, "@")
46704 len = length(field[1])
46705 for (i = 2; i < nfields; i++) {
46707 keylen = length(key)
46708 if (S_is_set[key]) {
46710 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
46711 len += length(value) + length(field[++i])
46722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
46723 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
46724 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
46727 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
46728 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
46729 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
46730 { (exit 1); exit 1; }; }
46733 # VPATH may cause trouble with some makes, so we remove $(srcdir),
46734 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
46735 # trailing colons and then remove the whole line if VPATH becomes empty
46736 # (actually we leave an empty line to preserve line numbers).
46737 if test "x$srcdir" = x.; then
46738 ac_vpsub='/^[ ]*VPATH[ ]*=/{
46739 s/:*\$(srcdir):*/:/
46740 s/:*\${srcdir}:*/:/
46742 s/^\([^=]*=[ ]*\):*/\1/
46748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
46749 fi # test -n "$CONFIG_FILES"
46751 # Set up the scripts for CONFIG_HEADERS section.
46752 # No need to generate them if there are no CONFIG_HEADERS.
46753 # This happens for instance with `./config.status Makefile'.
46754 if test -n "$CONFIG_HEADERS"; then
46755 cat >"$tmp/defines.awk" <<\_ACAWK ||
46759 # Transform confdefs.h into an awk script `defines.awk', embedded as
46760 # here-document in config.status, that substitutes the proper values into
46761 # config.h.in to produce config.h.
46763 # Create a delimiter string that does not exist in confdefs.h, to ease
46764 # handling of long lines.
46766 for ac_last_try in false false :; do
46767 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
46768 if test -z "$ac_t"; then
46770 elif $ac_last_try; then
46771 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
46772 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
46773 { (exit 1); exit 1; }; }
46775 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
46779 # For the awk script, D is an array of macro values keyed by name,
46780 # likewise P contains macro parameters if any. Preserve backslash
46781 # newline sequences.
46783 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
46785 s/.\{148\}/&'"$ac_delim"'/g
46788 s/^[ ]*#[ ]*define[ ][ ]*/ /
46795 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
46797 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
46801 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
46802 D["\1"]=" \3\\\\\\n"\\/p
46804 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
46809 s/.\{148\}/&'"$ac_delim"'/g
46814 s/["\\]/\\&/g; s/^/"/; s/$/"/p
46817 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
46819 ' <confdefs.h | sed '
46820 s/'"$ac_delim"'/"\\\
46821 "/g' >>$CONFIG_STATUS || ac_write_fail=1
46823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
46824 for (key in D) D_is_set[key] = 1
46827 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
46829 split(line, arg, " ")
46830 if (arg[1] == "#") {
46834 defundef = substr(arg[1], 2)
46837 split(mac1, mac2, "(") #)
46839 prefix = substr(line, 1, index(line, defundef) - 1)
46840 if (D_is_set[macro]) {
46841 # Preserve the white space surrounding the "#".
46842 print prefix "define", macro P[macro] D[macro]
46845 # Replace #undef with comments. This is necessary, for example,
46846 # in the case of _POSIX_SOURCE, which is predefined and required
46847 # on some systems where configure will not decide to define it.
46848 if (defundef == "undef") {
46849 print "/*", prefix defundef, macro, "*/"
46857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
46858 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
46859 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
46860 { (exit 1); exit 1; }; }
46861 fi # test -n "$CONFIG_HEADERS"
46864 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
46869 :[FHLC]) ac_mode=$ac_tag; continue;;
46871 case $ac_mode$ac_tag in
46873 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
46874 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
46875 { (exit 1); exit 1; }; };;
46876 :[FH]-) ac_tag=-:-;;
46877 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
46894 -) ac_f="$tmp/stdin";;
46895 *) # Look for the file first in the build tree, then in the source tree
46896 # (if the path is not absolute). The absolute path cannot be DOS-style,
46897 # because $ac_f cannot contain `:'.
46901 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
46903 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
46904 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
46905 { (exit 1); exit 1; }; };;
46907 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
46908 ac_file_inputs="$ac_file_inputs '$ac_f'"
46911 # Let's still pretend it is `configure' which instantiates (i.e., don't
46912 # use $as_me), people would be surprised to read:
46913 # /* config.h. Generated by config.status. */
46914 configure_input='Generated from '`
46915 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
46917 if test x"$ac_file" != x-; then
46918 configure_input="$ac_file. $configure_input"
46919 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
46920 $as_echo "$as_me: creating $ac_file" >&6;}
46922 # Neutralize special characters interpreted by sed in replacement strings.
46923 case $configure_input in #(
46924 *\&* | *\|* | *\\* )
46925 ac_sed_conf_input=`$as_echo "$configure_input" |
46926 sed 's/[\\\\&|]/\\\\&/g'`;; #(
46927 *) ac_sed_conf_input=$configure_input;;
46931 *:-:* | *:-) cat >"$tmp/stdin" \
46932 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
46933 $as_echo "$as_me: error: could not create $ac_file" >&2;}
46934 { (exit 1); exit 1; }; } ;;
46939 ac_dir=`$as_dirname -- "$ac_file" ||
46940 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46941 X"$ac_file" : 'X\(//\)[^/]' \| \
46942 X"$ac_file" : 'X\(//\)$' \| \
46943 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
46944 $as_echo X"$ac_file" |
46945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
46949 /^X\(\/\/\)[^/].*/{
46964 -*) as_dir=./$as_dir;;
46966 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
46970 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
46971 *) as_qdir=$as_dir;;
46973 as_dirs="'$as_qdir' $as_dirs"
46974 as_dir=`$as_dirname -- "$as_dir" ||
46975 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46976 X"$as_dir" : 'X\(//\)[^/]' \| \
46977 X"$as_dir" : 'X\(//\)$' \| \
46978 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
46979 $as_echo X"$as_dir" |
46980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
46984 /^X\(\/\/\)[^/].*/{
46997 test -d "$as_dir" && break
46999 test -z "$as_dirs" || eval "mkdir $as_dirs"
47000 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
47001 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
47002 { (exit 1); exit 1; }; }; }
47006 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
47008 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
47009 # A ".." for each directory in $ac_dir_suffix.
47010 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
47011 case $ac_top_builddir_sub in
47012 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
47013 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
47016 ac_abs_top_builddir=$ac_pwd
47017 ac_abs_builddir=$ac_pwd$ac_dir_suffix
47018 # for backward compatibility:
47019 ac_top_builddir=$ac_top_build_prefix
47022 .) # We are building in place.
47024 ac_top_srcdir=$ac_top_builddir_sub
47025 ac_abs_top_srcdir=$ac_pwd ;;
47026 [\\/]* | ?:[\\/]* ) # Absolute name.
47027 ac_srcdir=$srcdir$ac_dir_suffix;
47028 ac_top_srcdir=$srcdir
47029 ac_abs_top_srcdir=$srcdir ;;
47030 *) # Relative name.
47031 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
47032 ac_top_srcdir=$ac_top_build_prefix$srcdir
47033 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
47035 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
47045 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
47046 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
47048 ac_MKDIR_P=$MKDIR_P
47050 [\\/$]* | ?:[\\/]* ) ;;
47051 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
47055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47056 # If the template does not know about datarootdir, expand it.
47057 # FIXME: This hack should be removed a few years after 2.60.
47058 ac_datarootdir_hack=; ac_datarootdir_seen=
47071 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
47072 *datarootdir*) ac_datarootdir_seen=yes;;
47073 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
47074 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
47075 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
47077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47078 ac_datarootdir_hack='
47079 s&@datadir@&$datadir&g
47080 s&@docdir@&$docdir&g
47081 s&@infodir@&$infodir&g
47082 s&@localedir@&$localedir&g
47083 s&@mandir@&$mandir&g
47084 s&\\\${datarootdir}&$datarootdir&g' ;;
47088 # Neutralize VPATH when `$srcdir' = `.'.
47089 # Shell code in configure.ac might set extrasub.
47090 # FIXME: do we really want to maintain this feature?
47091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47092 ac_sed_extra="$ac_vpsub
47095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47097 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
47098 s|@configure_input@|$ac_sed_conf_input|;t t
47099 s&@top_builddir@&$ac_top_builddir_sub&;t t
47100 s&@top_build_prefix@&$ac_top_build_prefix&;t t
47101 s&@srcdir@&$ac_srcdir&;t t
47102 s&@abs_srcdir@&$ac_abs_srcdir&;t t
47103 s&@top_srcdir@&$ac_top_srcdir&;t t
47104 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
47105 s&@builddir@&$ac_builddir&;t t
47106 s&@abs_builddir@&$ac_abs_builddir&;t t
47107 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
47108 s&@INSTALL@&$ac_INSTALL&;t t
47109 s&@MKDIR_P@&$ac_MKDIR_P&;t t
47110 $ac_datarootdir_hack
47112 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
47113 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
47114 $as_echo "$as_me: error: could not create $ac_file" >&2;}
47115 { (exit 1); exit 1; }; }
47117 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
47118 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
47119 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
47120 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
47121 which seems to be undefined. Please make sure it is defined." >&5
47122 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
47123 which seems to be undefined. Please make sure it is defined." >&2;}
47127 -) cat "$tmp/out" && rm -f "$tmp/out";;
47128 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
47130 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
47131 $as_echo "$as_me: error: could not create $ac_file" >&2;}
47132 { (exit 1); exit 1; }; }
47138 if test x"$ac_file" != x-; then
47140 $as_echo "/* $configure_input */" \
47141 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
47142 } >"$tmp/config.h" \
47143 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
47144 $as_echo "$as_me: error: could not create $ac_file" >&2;}
47145 { (exit 1); exit 1; }; }
47146 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
47147 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
47148 $as_echo "$as_me: $ac_file is unchanged" >&6;}
47151 mv "$tmp/config.h" "$ac_file" \
47152 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
47153 $as_echo "$as_me: error: could not create $ac_file" >&2;}
47154 { (exit 1); exit 1; }; }
47157 $as_echo "/* $configure_input */" \
47158 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
47159 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
47160 $as_echo "$as_me: error: could not create -" >&2;}
47161 { (exit 1); exit 1; }; }
47163 # Compute "$ac_file"'s index in $config_headers.
47166 for _am_header in $config_headers :; do
47167 case $_am_header in
47168 $_am_arg | $_am_arg:* )
47171 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
47174 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
47175 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47176 X"$_am_arg" : 'X\(//\)[^/]' \| \
47177 X"$_am_arg" : 'X\(//\)$' \| \
47178 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
47179 $as_echo X"$_am_arg" |
47180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
47184 /^X\(\/\/\)[^/].*/{
47196 s/.*/./; q'`/stamp-h$_am_stamp_count
47199 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
47200 $as_echo "$as_me: executing $ac_file commands" >&6;}
47205 case $ac_file$ac_mode in
47206 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
47207 # Autoconf 2.62 quotes --file arguments for eval, but not when files
47208 # are listed without --file. Let's play safe and only enable the eval
47209 # if we detect the quoting.
47210 case $CONFIG_FILES in
47211 *\'*) eval set x "$CONFIG_FILES" ;;
47212 *) set x $CONFIG_FILES ;;
47217 # Strip MF so we end up with the name of the file.
47218 mf=`echo "$mf" | sed -e 's/:.*$//'`
47219 # Check whether this is an Automake generated Makefile or not.
47220 # We used to match only the files named `Makefile.in', but
47221 # some people rename them; so instead we look at the file content.
47222 # Grep'ing the first line is not enough: some people post-process
47223 # each Makefile.in and add a new line on top of each file to say so.
47224 # Grep'ing the whole file is not good either: AIX grep has a line
47225 # limit of 2048, but all sed's we know have understand at least 4000.
47226 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
47227 dirpart=`$as_dirname -- "$mf" ||
47228 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47229 X"$mf" : 'X\(//\)[^/]' \| \
47230 X"$mf" : 'X\(//\)$' \| \
47231 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
47233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
47237 /^X\(\/\/\)[^/].*/{
47253 # Extract the definition of DEPDIR, am__include, and am__quote
47254 # from the Makefile without running `make'.
47255 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
47256 test -z "$DEPDIR" && continue
47257 am__include=`sed -n 's/^am__include = //p' < "$mf"`
47258 test -z "am__include" && continue
47259 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
47260 # When using ansi2knr, U may be empty or an underscore; expand it
47261 U=`sed -n 's/^U = //p' < "$mf"`
47262 # Find all dependency output files, they are included files with
47263 # $(DEPDIR) in their names. We invoke sed twice because it is the
47264 # simplest approach to changing $(DEPDIR) to its actual value in the
47266 for file in `sed -n "
47267 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
47268 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
47269 # Make sure the directory exists.
47270 test -f "$dirpart/$file" && continue
47271 fdir=`$as_dirname -- "$file" ||
47272 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47273 X"$file" : 'X\(//\)[^/]' \| \
47274 X"$file" : 'X\(//\)$' \| \
47275 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
47276 $as_echo X"$file" |
47277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
47281 /^X\(\/\/\)[^/].*/{
47294 { as_dir=$dirpart/$fdir
47296 -*) as_dir=./$as_dir;;
47298 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
47302 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
47303 *) as_qdir=$as_dir;;
47305 as_dirs="'$as_qdir' $as_dirs"
47306 as_dir=`$as_dirname -- "$as_dir" ||
47307 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47308 X"$as_dir" : 'X\(//\)[^/]' \| \
47309 X"$as_dir" : 'X\(//\)$' \| \
47310 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
47311 $as_echo X"$as_dir" |
47312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
47316 /^X\(\/\/\)[^/].*/{
47329 test -d "$as_dir" && break
47331 test -z "$as_dirs" || eval "mkdir $as_dirs"
47332 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
47333 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
47334 { (exit 1); exit 1; }; }; }
47335 # echo "creating $dirpart/$file"
47336 echo '# dummy' > "$dirpart/$file"
47343 # See if we are running on zsh, and set the options which allow our
47344 # commands through without removal of \ escapes.
47345 if test -n "${ZSH_VERSION+set}" ; then
47346 setopt NO_GLOB_SUBST
47349 cfgfile="${ofile}T"
47350 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
47353 cat <<_LT_EOF >> "$cfgfile"
47356 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
47357 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
47358 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
47359 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
47361 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
47362 # 2006, 2007, 2008 Free Software Foundation, Inc.
47363 # Written by Gordon Matzigkeit, 1996
47365 # This file is part of GNU Libtool.
47367 # GNU Libtool is free software; you can redistribute it and/or
47368 # modify it under the terms of the GNU General Public License as
47369 # published by the Free Software Foundation; either version 2 of
47370 # the License, or (at your option) any later version.
47372 # As a special exception to the GNU General Public License,
47373 # if you distribute this file as part of a program or library that
47374 # is built using GNU Libtool, you may include this file under the
47375 # same distribution terms that you use for the rest of that program.
47377 # GNU Libtool is distributed in the hope that it will be useful,
47378 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47379 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47380 # GNU General Public License for more details.
47382 # You should have received a copy of the GNU General Public License
47383 # along with GNU Libtool; see the file COPYING. If not, a copy
47384 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
47385 # obtained by writing to the Free Software Foundation, Inc.,
47386 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
47389 # The names of the tagged configurations supported by this script.
47390 available_tags="CXX F77 "
47392 # ### BEGIN LIBTOOL CONFIG
47394 # Assembler program.
47397 # DLL creation program.
47400 # Object dumper program.
47403 # Whether or not to build shared libraries.
47404 build_libtool_libs=$enable_shared
47406 # Whether or not to build static libraries.
47407 build_old_libs=$enable_static
47409 # Which release of libtool.m4 was used?
47410 macro_version=$macro_version
47411 macro_revision=$macro_revision
47413 # What type of objects to build.
47416 # Whether or not to optimize for fast installation.
47417 fast_install=$enable_fast_install
47420 host_alias=$host_alias
47424 # The build system.
47425 build_alias=$build_alias
47429 # A sed program that does not truncate output.
47432 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
47433 Xsed="\$SED -e 1s/^X//"
47435 # A grep program that handles long lines.
47441 # A literal string matcher.
47444 # A BSD- or MS-compatible name lister.
47447 # Whether we need soft or hard links.
47450 # What is the maximum length of a command?
47451 max_cmd_len=$max_cmd_len
47453 # Object file suffix (normally "o").
47456 # Executable file suffix (normally "").
47459 # whether the shell understands "unset".
47462 # turn spaces into newlines.
47465 # turn newlines into spaces.
47468 # How to create reloadable object files.
47469 reload_flag=$lt_reload_flag
47470 reload_cmds=$lt_reload_cmds
47472 # Method to check whether dependent libraries are shared objects.
47473 deplibs_check_method=$lt_deplibs_check_method
47475 # Command to use when deplibs_check_method == "file_magic".
47476 file_magic_cmd=$lt_file_magic_cmd
47480 AR_FLAGS=$lt_AR_FLAGS
47482 # A symbol stripping program.
47485 # Commands used to install an old-style archive.
47487 old_postinstall_cmds=$lt_old_postinstall_cmds
47488 old_postuninstall_cmds=$lt_old_postuninstall_cmds
47493 # LTCC compiler flags.
47494 LTCFLAGS=$lt_CFLAGS
47496 # Take the output of nm and produce a listing of raw symbols and C names.
47497 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
47499 # Transform the output of nm in a proper C declaration.
47500 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
47502 # Transform the output of nm in a C name address pair.
47503 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
47505 # Transform the output of nm in a C name address pair when lib prefix is needed.
47506 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
47508 # The name of the directory that contains temporary libtool files.
47511 # Shell to use when invoking shell scripts.
47514 # An echo program that does not interpret backslashes.
47517 # Used to examine libraries when file_magic_cmd begins with "file".
47518 MAGIC_CMD=$MAGIC_CMD
47520 # Must we lock files when doing compilation?
47521 need_locks=$lt_need_locks
47523 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
47524 DSYMUTIL=$lt_DSYMUTIL
47526 # Tool to change global to local symbols on Mac OS X.
47529 # Tool to manipulate fat objects and archives on Mac OS X.
47532 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
47535 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
47536 OTOOL64=$lt_OTOOL64
47538 # Old archive suffix (normally "a").
47541 # Shared library suffix (normally ".so").
47542 shrext_cmds=$lt_shrext_cmds
47544 # The commands to extract the exported symbol list from a shared archive.
47545 extract_expsyms_cmds=$lt_extract_expsyms_cmds
47547 # Variables whose values should be saved in libtool wrapper scripts and
47548 # restored at link time.
47549 variables_saved_for_relink=$lt_variables_saved_for_relink
47551 # Do we need the "lib" prefix for modules?
47552 need_lib_prefix=$need_lib_prefix
47554 # Do we need a version for libraries?
47555 need_version=$need_version
47557 # Library versioning type.
47558 version_type=$version_type
47560 # Shared library runtime path variable.
47561 runpath_var=$runpath_var
47563 # Shared library path variable.
47564 shlibpath_var=$shlibpath_var
47566 # Is shlibpath searched before the hard-coded library search path?
47567 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
47569 # Format of library name prefix.
47570 libname_spec=$lt_libname_spec
47572 # List of archive names. First name is the real one, the rest are links.
47573 # The last name is the one that the linker finds with -lNAME
47574 library_names_spec=$lt_library_names_spec
47576 # The coded name of the library, if different from the real name.
47577 soname_spec=$lt_soname_spec
47579 # Command to use after installation of a shared archive.
47580 postinstall_cmds=$lt_postinstall_cmds
47582 # Command to use after uninstallation of a shared archive.
47583 postuninstall_cmds=$lt_postuninstall_cmds
47585 # Commands used to finish a libtool library installation in a directory.
47586 finish_cmds=$lt_finish_cmds
47588 # As "finish_cmds", except a single script fragment to be evaled but
47590 finish_eval=$lt_finish_eval
47592 # Whether we should hardcode library paths into libraries.
47593 hardcode_into_libs=$hardcode_into_libs
47595 # Compile-time system search path for libraries.
47596 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
47598 # Run-time system search path for libraries.
47599 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
47601 # Whether dlopen is supported.
47602 dlopen_support=$enable_dlopen
47604 # Whether dlopen of programs is supported.
47605 dlopen_self=$enable_dlopen_self
47607 # Whether dlopen of statically linked programs is supported.
47608 dlopen_self_static=$enable_dlopen_self_static
47610 # Commands to strip libraries.
47611 old_striplib=$lt_old_striplib
47612 striplib=$lt_striplib
47615 # The linker used to build libraries.
47618 # Commands used to build an old-style archive.
47619 old_archive_cmds=$lt_old_archive_cmds
47621 # A language specific compiler.
47624 # Is the compiler the GNU compiler?
47627 # Compiler flag to turn off builtin functions.
47628 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
47630 # How to pass a linker flag through the compiler.
47631 wl=$lt_lt_prog_compiler_wl
47633 # Additional compiler flags for building library objects.
47634 pic_flag=$lt_lt_prog_compiler_pic
47636 # Compiler flag to prevent dynamic linking.
47637 link_static_flag=$lt_lt_prog_compiler_static
47639 # Does compiler simultaneously support -c and -o options?
47640 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
47642 # Whether or not to add -lc for building shared libraries.
47643 build_libtool_need_lc=$archive_cmds_need_lc
47645 # Whether or not to disallow shared libs when runtime libs are static.
47646 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
47648 # Compiler flag to allow reflexive dlopens.
47649 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
47651 # Compiler flag to generate shared objects directly from archives.
47652 whole_archive_flag_spec=$lt_whole_archive_flag_spec
47654 # Whether the compiler copes with passing no objects directly.
47655 compiler_needs_object=$lt_compiler_needs_object
47657 # Create an old-style archive from a shared archive.
47658 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
47660 # Create a temporary old-style archive to link instead of a shared archive.
47661 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
47663 # Commands used to build a shared archive.
47664 archive_cmds=$lt_archive_cmds
47665 archive_expsym_cmds=$lt_archive_expsym_cmds
47667 # Commands used to build a loadable module if different from building
47668 # a shared archive.
47669 module_cmds=$lt_module_cmds
47670 module_expsym_cmds=$lt_module_expsym_cmds
47672 # Whether we are building with GNU ld or not.
47673 with_gnu_ld=$lt_with_gnu_ld
47675 # Flag that allows shared libraries with undefined symbols to be built.
47676 allow_undefined_flag=$lt_allow_undefined_flag
47678 # Flag that enforces no undefined symbols.
47679 no_undefined_flag=$lt_no_undefined_flag
47681 # Flag to hardcode \$libdir into a binary during linking.
47682 # This must work even if \$libdir does not exist
47683 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
47685 # If ld is used when linking, flag to hardcode \$libdir into a binary
47686 # during linking. This must work even if \$libdir does not exist.
47687 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
47689 # Whether we need a single "-rpath" flag with a separated argument.
47690 hardcode_libdir_separator=$lt_hardcode_libdir_separator
47692 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
47693 # DIR into the resulting binary.
47694 hardcode_direct=$hardcode_direct
47696 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
47697 # DIR into the resulting binary and the resulting library dependency is
47698 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
47699 # library is relocated.
47700 hardcode_direct_absolute=$hardcode_direct_absolute
47702 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
47703 # into the resulting binary.
47704 hardcode_minus_L=$hardcode_minus_L
47706 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
47707 # into the resulting binary.
47708 hardcode_shlibpath_var=$hardcode_shlibpath_var
47710 # Set to "yes" if building a shared library automatically hardcodes DIR
47711 # into the library and all subsequent libraries and executables linked
47713 hardcode_automatic=$hardcode_automatic
47715 # Set to yes if linker adds runtime paths of dependent libraries
47716 # to runtime path list.
47717 inherit_rpath=$inherit_rpath
47719 # Whether libtool must link a program against all its dependency libraries.
47720 link_all_deplibs=$link_all_deplibs
47722 # Fix the shell variable \$srcfile for the compiler.
47723 fix_srcfile_path=$lt_fix_srcfile_path
47725 # Set to "yes" if exported symbols are required.
47726 always_export_symbols=$always_export_symbols
47728 # The commands to list exported symbols.
47729 export_symbols_cmds=$lt_export_symbols_cmds
47731 # Symbols that should not be listed in the preloaded symbols.
47732 exclude_expsyms=$lt_exclude_expsyms
47734 # Symbols that must always be exported.
47735 include_expsyms=$lt_include_expsyms
47737 # Commands necessary for linking programs (against libraries) with templates.
47738 prelink_cmds=$lt_prelink_cmds
47740 # Specify filename containing input files.
47741 file_list_spec=$lt_file_list_spec
47743 # How to hardcode a shared library path into an executable.
47744 hardcode_action=$hardcode_action
47746 # The directories searched by this compiler when creating a shared library.
47747 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
47749 # Dependencies to place before and after the objects being linked to
47750 # create a shared library.
47751 predep_objects=$lt_predep_objects
47752 postdep_objects=$lt_postdep_objects
47753 predeps=$lt_predeps
47754 postdeps=$lt_postdeps
47756 # The library search path used internally by the compiler when linking
47757 # a shared library.
47758 compiler_lib_search_path=$lt_compiler_lib_search_path
47760 # ### END LIBTOOL CONFIG
47766 cat <<\_LT_EOF >> "$cfgfile"
47767 # AIX sometimes has problems with the GCC collect2 program. For some
47768 # reason, if we set the COLLECT_NAMES environment variable, the problems
47769 # vanish in a puff of smoke.
47770 if test "X${COLLECT_NAMES+set}" != Xset; then
47772 export COLLECT_NAMES
47779 ltmain="$ac_aux_dir/ltmain.sh"
47782 # We use sed instead of cat because bash on DJGPP gets confused if
47783 # if finds mixed CR/LF and LF-only lines. Since sed operates in
47784 # text mode, it properly converts lines to CR/LF. This bash problem
47785 # is reportedly fixed, but why not run on old versions too?
47786 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
47787 || (rm -f "$cfgfile"; exit 1)
47791 cat << \_LT_EOF >> "$cfgfile"
47793 # func_dirname file append nondir_replacement
47794 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
47795 # otherwise set result to NONDIR_REPLACEMENT.
47799 */*) func_dirname_result="${1%/*}${2}" ;;
47800 * ) func_dirname_result="${3}" ;;
47804 # func_basename file
47807 func_basename_result="${1##*/}"
47810 # func_dirname_and_basename file append nondir_replacement
47811 # perform func_basename and func_dirname in a single function
47813 # dirname: Compute the dirname of FILE. If nonempty,
47814 # add APPEND to the result, otherwise set result
47815 # to NONDIR_REPLACEMENT.
47816 # value returned in "$func_dirname_result"
47817 # basename: Compute filename of FILE.
47818 # value retuned in "$func_basename_result"
47819 # Implementation must be kept synchronized with func_dirname
47820 # and func_basename. For efficiency, we do not delegate to
47821 # those functions but instead duplicate the functionality here.
47822 func_dirname_and_basename ()
47825 */*) func_dirname_result="${1%/*}${2}" ;;
47826 * ) func_dirname_result="${3}" ;;
47828 func_basename_result="${1##*/}"
47831 # func_stripname prefix suffix name
47832 # strip PREFIX and SUFFIX off of NAME.
47833 # PREFIX and SUFFIX must not contain globbing or regex special
47834 # characters, hashes, percent signs, but SUFFIX may contain a leading
47835 # dot (in which case that matches only a dot).
47838 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
47839 # positional parameters, so assign one to ordinary parameter first.
47840 func_stripname_result=${3}
47841 func_stripname_result=${func_stripname_result#"${1}"}
47842 func_stripname_result=${func_stripname_result%"${2}"}
47848 func_opt_split_opt=${1%%=*}
47849 func_opt_split_arg=${1#*=}
47856 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
47857 *) func_lo2o_result=${1} ;;
47861 # func_xform libobj-or-source
47864 func_xform_result=${1%.*}.lo
47867 # func_arith arithmetic-term...
47870 func_arith_result=$(( $* ))
47874 # STRING may not start with a hyphen.
47877 func_len_result=${#1}
47882 *) # Bourne compatible functions.
47883 cat << \_LT_EOF >> "$cfgfile"
47885 # func_dirname file append nondir_replacement
47886 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
47887 # otherwise set result to NONDIR_REPLACEMENT.
47890 # Extract subdirectory from the argument.
47891 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
47892 if test "X$func_dirname_result" = "X${1}"; then
47893 func_dirname_result="${3}"
47895 func_dirname_result="$func_dirname_result${2}"
47899 # func_basename file
47902 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
47906 # func_stripname prefix suffix name
47907 # strip PREFIX and SUFFIX off of NAME.
47908 # PREFIX and SUFFIX must not contain globbing or regex special
47909 # characters, hashes, percent signs, but SUFFIX may contain a leading
47910 # dot (in which case that matches only a dot).
47911 # func_strip_suffix prefix name
47915 .*) func_stripname_result=`$ECHO "X${3}" \
47916 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
47917 *) func_stripname_result=`$ECHO "X${3}" \
47918 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
47923 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
47924 my_sed_long_arg='1s/^-[^=]*=//'
47929 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
47930 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
47936 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
47939 # func_xform libobj-or-source
47942 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
47945 # func_arith arithmetic-term...
47948 func_arith_result=`expr "$@"`
47952 # STRING may not start with a hyphen.
47955 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
47961 case $lt_shell_append in
47963 cat << \_LT_EOF >> "$cfgfile"
47965 # func_append var value
47966 # Append VALUE to the end of shell variable VAR.
47974 cat << \_LT_EOF >> "$cfgfile"
47976 # func_append var value
47977 # Append VALUE to the end of shell variable VAR.
47988 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
47989 || (rm -f "$cfgfile"; exit 1)
47991 mv -f "$cfgfile" "$ofile" ||
47992 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
47996 cat <<_LT_EOF >> "$ofile"
47998 # ### BEGIN LIBTOOL TAG CONFIG: CXX
48000 # The linker used to build libraries.
48003 # Commands used to build an old-style archive.
48004 old_archive_cmds=$lt_old_archive_cmds_CXX
48006 # A language specific compiler.
48007 CC=$lt_compiler_CXX
48009 # Is the compiler the GNU compiler?
48012 # Compiler flag to turn off builtin functions.
48013 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
48015 # How to pass a linker flag through the compiler.
48016 wl=$lt_lt_prog_compiler_wl_CXX
48018 # Additional compiler flags for building library objects.
48019 pic_flag=$lt_lt_prog_compiler_pic_CXX
48021 # Compiler flag to prevent dynamic linking.
48022 link_static_flag=$lt_lt_prog_compiler_static_CXX
48024 # Does compiler simultaneously support -c and -o options?
48025 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
48027 # Whether or not to add -lc for building shared libraries.
48028 build_libtool_need_lc=$archive_cmds_need_lc_CXX
48030 # Whether or not to disallow shared libs when runtime libs are static.
48031 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
48033 # Compiler flag to allow reflexive dlopens.
48034 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
48036 # Compiler flag to generate shared objects directly from archives.
48037 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
48039 # Whether the compiler copes with passing no objects directly.
48040 compiler_needs_object=$lt_compiler_needs_object_CXX
48042 # Create an old-style archive from a shared archive.
48043 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
48045 # Create a temporary old-style archive to link instead of a shared archive.
48046 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
48048 # Commands used to build a shared archive.
48049 archive_cmds=$lt_archive_cmds_CXX
48050 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
48052 # Commands used to build a loadable module if different from building
48053 # a shared archive.
48054 module_cmds=$lt_module_cmds_CXX
48055 module_expsym_cmds=$lt_module_expsym_cmds_CXX
48057 # Whether we are building with GNU ld or not.
48058 with_gnu_ld=$lt_with_gnu_ld_CXX
48060 # Flag that allows shared libraries with undefined symbols to be built.
48061 allow_undefined_flag=$lt_allow_undefined_flag_CXX
48063 # Flag that enforces no undefined symbols.
48064 no_undefined_flag=$lt_no_undefined_flag_CXX
48066 # Flag to hardcode \$libdir into a binary during linking.
48067 # This must work even if \$libdir does not exist
48068 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
48070 # If ld is used when linking, flag to hardcode \$libdir into a binary
48071 # during linking. This must work even if \$libdir does not exist.
48072 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
48074 # Whether we need a single "-rpath" flag with a separated argument.
48075 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
48077 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
48078 # DIR into the resulting binary.
48079 hardcode_direct=$hardcode_direct_CXX
48081 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
48082 # DIR into the resulting binary and the resulting library dependency is
48083 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
48084 # library is relocated.
48085 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
48087 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
48088 # into the resulting binary.
48089 hardcode_minus_L=$hardcode_minus_L_CXX
48091 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
48092 # into the resulting binary.
48093 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
48095 # Set to "yes" if building a shared library automatically hardcodes DIR
48096 # into the library and all subsequent libraries and executables linked
48098 hardcode_automatic=$hardcode_automatic_CXX
48100 # Set to yes if linker adds runtime paths of dependent libraries
48101 # to runtime path list.
48102 inherit_rpath=$inherit_rpath_CXX
48104 # Whether libtool must link a program against all its dependency libraries.
48105 link_all_deplibs=$link_all_deplibs_CXX
48107 # Fix the shell variable \$srcfile for the compiler.
48108 fix_srcfile_path=$lt_fix_srcfile_path_CXX
48110 # Set to "yes" if exported symbols are required.
48111 always_export_symbols=$always_export_symbols_CXX
48113 # The commands to list exported symbols.
48114 export_symbols_cmds=$lt_export_symbols_cmds_CXX
48116 # Symbols that should not be listed in the preloaded symbols.
48117 exclude_expsyms=$lt_exclude_expsyms_CXX
48119 # Symbols that must always be exported.
48120 include_expsyms=$lt_include_expsyms_CXX
48122 # Commands necessary for linking programs (against libraries) with templates.
48123 prelink_cmds=$lt_prelink_cmds_CXX
48125 # Specify filename containing input files.
48126 file_list_spec=$lt_file_list_spec_CXX
48128 # How to hardcode a shared library path into an executable.
48129 hardcode_action=$hardcode_action_CXX
48131 # The directories searched by this compiler when creating a shared library.
48132 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
48134 # Dependencies to place before and after the objects being linked to
48135 # create a shared library.
48136 predep_objects=$lt_predep_objects_CXX
48137 postdep_objects=$lt_postdep_objects_CXX
48138 predeps=$lt_predeps_CXX
48139 postdeps=$lt_postdeps_CXX
48141 # The library search path used internally by the compiler when linking
48142 # a shared library.
48143 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
48145 # ### END LIBTOOL TAG CONFIG: CXX
48149 cat <<_LT_EOF >> "$ofile"
48151 # ### BEGIN LIBTOOL TAG CONFIG: F77
48153 # The linker used to build libraries.
48156 # Commands used to build an old-style archive.
48157 old_archive_cmds=$lt_old_archive_cmds_F77
48159 # A language specific compiler.
48160 CC=$lt_compiler_F77
48162 # Is the compiler the GNU compiler?
48165 # Compiler flag to turn off builtin functions.
48166 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
48168 # How to pass a linker flag through the compiler.
48169 wl=$lt_lt_prog_compiler_wl_F77
48171 # Additional compiler flags for building library objects.
48172 pic_flag=$lt_lt_prog_compiler_pic_F77
48174 # Compiler flag to prevent dynamic linking.
48175 link_static_flag=$lt_lt_prog_compiler_static_F77
48177 # Does compiler simultaneously support -c and -o options?
48178 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
48180 # Whether or not to add -lc for building shared libraries.
48181 build_libtool_need_lc=$archive_cmds_need_lc_F77
48183 # Whether or not to disallow shared libs when runtime libs are static.
48184 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
48186 # Compiler flag to allow reflexive dlopens.
48187 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
48189 # Compiler flag to generate shared objects directly from archives.
48190 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
48192 # Whether the compiler copes with passing no objects directly.
48193 compiler_needs_object=$lt_compiler_needs_object_F77
48195 # Create an old-style archive from a shared archive.
48196 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
48198 # Create a temporary old-style archive to link instead of a shared archive.
48199 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
48201 # Commands used to build a shared archive.
48202 archive_cmds=$lt_archive_cmds_F77
48203 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
48205 # Commands used to build a loadable module if different from building
48206 # a shared archive.
48207 module_cmds=$lt_module_cmds_F77
48208 module_expsym_cmds=$lt_module_expsym_cmds_F77
48210 # Whether we are building with GNU ld or not.
48211 with_gnu_ld=$lt_with_gnu_ld_F77
48213 # Flag that allows shared libraries with undefined symbols to be built.
48214 allow_undefined_flag=$lt_allow_undefined_flag_F77
48216 # Flag that enforces no undefined symbols.
48217 no_undefined_flag=$lt_no_undefined_flag_F77
48219 # Flag to hardcode \$libdir into a binary during linking.
48220 # This must work even if \$libdir does not exist
48221 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
48223 # If ld is used when linking, flag to hardcode \$libdir into a binary
48224 # during linking. This must work even if \$libdir does not exist.
48225 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
48227 # Whether we need a single "-rpath" flag with a separated argument.
48228 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
48230 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
48231 # DIR into the resulting binary.
48232 hardcode_direct=$hardcode_direct_F77
48234 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
48235 # DIR into the resulting binary and the resulting library dependency is
48236 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
48237 # library is relocated.
48238 hardcode_direct_absolute=$hardcode_direct_absolute_F77
48240 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
48241 # into the resulting binary.
48242 hardcode_minus_L=$hardcode_minus_L_F77
48244 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
48245 # into the resulting binary.
48246 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
48248 # Set to "yes" if building a shared library automatically hardcodes DIR
48249 # into the library and all subsequent libraries and executables linked
48251 hardcode_automatic=$hardcode_automatic_F77
48253 # Set to yes if linker adds runtime paths of dependent libraries
48254 # to runtime path list.
48255 inherit_rpath=$inherit_rpath_F77
48257 # Whether libtool must link a program against all its dependency libraries.
48258 link_all_deplibs=$link_all_deplibs_F77
48260 # Fix the shell variable \$srcfile for the compiler.
48261 fix_srcfile_path=$lt_fix_srcfile_path_F77
48263 # Set to "yes" if exported symbols are required.
48264 always_export_symbols=$always_export_symbols_F77
48266 # The commands to list exported symbols.
48267 export_symbols_cmds=$lt_export_symbols_cmds_F77
48269 # Symbols that should not be listed in the preloaded symbols.
48270 exclude_expsyms=$lt_exclude_expsyms_F77
48272 # Symbols that must always be exported.
48273 include_expsyms=$lt_include_expsyms_F77
48275 # Commands necessary for linking programs (against libraries) with templates.
48276 prelink_cmds=$lt_prelink_cmds_F77
48278 # Specify filename containing input files.
48279 file_list_spec=$lt_file_list_spec_F77
48281 # How to hardcode a shared library path into an executable.
48282 hardcode_action=$hardcode_action_F77
48284 # The directories searched by this compiler when creating a shared library.
48285 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
48287 # Dependencies to place before and after the objects being linked to
48288 # create a shared library.
48289 predep_objects=$lt_predep_objects_F77
48290 postdep_objects=$lt_postdep_objects_F77
48291 predeps=$lt_predeps_F77
48292 postdeps=$lt_postdeps_F77
48294 # The library search path used internally by the compiler when linking
48295 # a shared library.
48296 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
48298 # ### END LIBTOOL TAG CONFIG: F77
48302 "run_tests_core":C) chmod +x gnuradio-core/src/python/gnuradio/gr/run_tests ;;
48303 "run_tests_usrp":C) chmod +x gr-usrp/src/run_tests ;;
48304 "run_tests_usrp2":C) chmod +x gr-usrp2/src/run_tests ;;
48305 "run_tests_gcell":C) chmod +x gr-gcell/src/run_tests ;;
48306 "run_tests_alsa":C) chmod +x gr-audio-alsa/src/run_tests ;;
48307 "run_tests_jack":C) chmod +x gr-audio-jack/src/run_tests ;;
48308 "run_tests_oss":C) chmod +x gr-audio-oss/src/run_tests ;;
48309 "run_tests_osx":C) chmod +x gr-audio-osx/src/run_tests ;;
48310 "run_tests_portaudio":C) chmod +x gr-audio-portaudio/src/run_tests ;;
48311 "run_tests_audio_windows":C) chmod +x gr-audio-windows/src/run_tests ;;
48312 "run_tests_cvsd":C) chmod +x gr-cvsd-vocoder/src/python/run_tests ;;
48313 "run_tests_gsm":C) chmod +x gr-gsm-fr-vocoder/src/python/run_tests ;;
48314 "run_tests_pager":C) chmod +x gr-pager/src/run_tests ;;
48315 "run_tests_radar_mono":C) chmod +x gr-radar-mono/src/python/run_tests ;;
48316 "run_tests_astronomy":C) chmod +x gr-radio-astronomy/src/python/run_tests ;;
48317 "run_tests_gr_trellis":C) chmod +x gr-trellis/src/python/run_tests ;;
48318 "run_tests_sdl":C) chmod +x gr-video-sdl/src/run_tests ;;
48319 "run_tests_sounder":C) chmod +x gr-sounder/src/python/run_tests ;;
48320 "run_tests_build":C) chmod +x run_tests.sh ;;
48326 { (exit 0); exit 0; }
48328 chmod +x $CONFIG_STATUS
48329 ac_clean_files=$ac_clean_files_save
48331 test $ac_write_fail = 0 ||
48332 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
48333 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
48334 { (exit 1); exit 1; }; }
48337 # configure is writing to config.log, and then calls config.status.
48338 # config.status does its own redirection, appending to config.log.
48339 # Unfortunately, on DOS this fails, as config.log is still kept open
48340 # by configure, so config.status won't be able to write to it; its
48341 # output is simply discarded. So we exec the FD to /dev/null,
48342 # effectively closing config.log, so it can be properly (re)opened and
48343 # appended to by config.status. When coming back to configure, we
48344 # need to make the FD available again.
48345 if test "$no_create" != yes; then
48347 ac_config_status_args=
48348 test "$silent" = yes &&
48349 ac_config_status_args="$ac_config_status_args --quiet"
48351 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
48353 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
48354 # would make configure fail if this is the last instruction.
48355 $ac_cs_success || { (exit 1); exit 1; }
48359 # CONFIG_SUBDIRS section.
48361 if test "$no_recursion" != yes; then
48363 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
48364 # so they do not pile up.
48365 ac_sub_configure_args=
48367 eval "set x $ac_configure_args"
48371 if test -n "$ac_prev"; then
48376 -cache-file | --cache-file | --cache-fil | --cache-fi \
48377 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
48378 ac_prev=cache_file ;;
48379 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
48380 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
48383 --config-cache | -C)
48385 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
48387 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
48389 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
48391 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
48393 --disable-option-checking)
48397 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
48399 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
48403 # Always prepend --prefix to ensure using the same prefix
48404 # in subdir configurations.
48405 ac_arg="--prefix=$prefix"
48407 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
48409 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
48412 if test "$silent" = yes; then
48413 ac_sub_configure_args="--silent $ac_sub_configure_args"
48416 # Always prepend --disable-option-checking to silence warnings, since
48417 # different subdirs can have different --enable and --with options.
48418 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
48421 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
48423 # Do not complain, so a configure script can configure whichever
48424 # parts of a large source tree are present.
48425 test -d "$srcdir/$ac_dir" || continue
48427 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
48428 $as_echo "$as_me:$LINENO: $ac_msg" >&5
48429 $as_echo "$ac_msg" >&6
48432 -*) as_dir=./$as_dir;;
48434 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
48438 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
48439 *) as_qdir=$as_dir;;
48441 as_dirs="'$as_qdir' $as_dirs"
48442 as_dir=`$as_dirname -- "$as_dir" ||
48443 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48444 X"$as_dir" : 'X\(//\)[^/]' \| \
48445 X"$as_dir" : 'X\(//\)$' \| \
48446 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
48447 $as_echo X"$as_dir" |
48448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
48452 /^X\(\/\/\)[^/].*/{
48465 test -d "$as_dir" && break
48467 test -z "$as_dirs" || eval "mkdir $as_dirs"
48468 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
48469 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
48470 { (exit 1); exit 1; }; }; }
48474 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
48476 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
48477 # A ".." for each directory in $ac_dir_suffix.
48478 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
48479 case $ac_top_builddir_sub in
48480 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
48481 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
48484 ac_abs_top_builddir=$ac_pwd
48485 ac_abs_builddir=$ac_pwd$ac_dir_suffix
48486 # for backward compatibility:
48487 ac_top_builddir=$ac_top_build_prefix
48490 .) # We are building in place.
48492 ac_top_srcdir=$ac_top_builddir_sub
48493 ac_abs_top_srcdir=$ac_pwd ;;
48494 [\\/]* | ?:[\\/]* ) # Absolute name.
48495 ac_srcdir=$srcdir$ac_dir_suffix;
48496 ac_top_srcdir=$srcdir
48497 ac_abs_top_srcdir=$srcdir ;;
48498 *) # Relative name.
48499 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
48500 ac_top_srcdir=$ac_top_build_prefix$srcdir
48501 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
48503 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
48508 # Check for guested configure; otherwise get Cygnus style configure.
48509 if test -f "$ac_srcdir/configure.gnu"; then
48510 ac_sub_configure=$ac_srcdir/configure.gnu
48511 elif test -f "$ac_srcdir/configure"; then
48512 ac_sub_configure=$ac_srcdir/configure
48513 elif test -f "$ac_srcdir/configure.in"; then
48514 # This should be Cygnus configure.
48515 ac_sub_configure=$ac_aux_dir/configure
48517 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
48518 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
48522 # The recursion is here.
48523 if test -n "$ac_sub_configure"; then
48524 # Make the cache file name correct relative to the subdirectory.
48525 case $cache_file in
48526 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
48527 *) # Relative name.
48528 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
48531 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
48532 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
48533 # The eval makes quoting arguments work.
48534 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
48535 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
48536 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
48537 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
48538 { (exit 1); exit 1; }; }
48544 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
48545 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
48546 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
48551 echo "*********************************************************************"
48552 echo The following GNU Radio components have been successfully configured:
48554 for dir in $build_dirs
48559 echo You my now run the 'make' command to build these components.
48561 if test "$skipped_dirs" != ""; then
48562 echo "*********************************************************************"
48563 echo The following components were skipped either because you asked not
48564 echo to build them or they didn\'t pass configuration checks:
48566 for dir in $skipped_dirs
48571 echo These components will not be built.
48574 if test "$with_dirs" != ""; then
48575 echo "*********************************************************************"
48576 echo The following components will be included from pre-installed
48577 echo libraries and includes:
48579 for dir in $with_dirs
48584 echo These components will not be built.