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