Advertisement
Guest User

config.status

a guest
Apr 8th, 2013
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 41.54 KB | None | 0 0
  1. #! /bin/sh
  2. # Generated by configure.
  3. # Run this file to recreate the current configuration.
  4. # Compiler output produced by configure, useful for debugging
  5. # configure, is in config.log if it exists.
  6.  
  7. debug=false
  8. ac_cs_recheck=false
  9. ac_cs_silent=false
  10.  
  11. SHELL=${CONFIG_SHELL-/bin/sh}
  12. export SHELL
  13. ## -------------------- ##
  14. ## M4sh Initialization. ##
  15. ## -------------------- ##
  16.  
  17. # Be more Bourne compatible
  18. DUALCASE=1; export DUALCASE # for MKS sh
  19. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  20.   emulate sh
  21.   NULLCMD=:
  22.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  23.   # is contrary to our usage.  Disable this feature.
  24.   alias -g '${1+"$@"}'='"$@"'
  25.   setopt NO_GLOB_SUBST
  26. else
  27.   case `(set -o) 2>/dev/null` in #(
  28.   *posix*) :
  29.     set -o posix ;; #(
  30.   *) :
  31.      ;;
  32. esac
  33. fi
  34.  
  35.  
  36. as_nl='
  37. '
  38. export as_nl
  39. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  40. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  41. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  42. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  43. # Prefer a ksh shell builtin over an external printf program on Solaris,
  44. # but without wasting forks for bash or zsh.
  45. if test -z "$BASH_VERSION$ZSH_VERSION" \
  46.     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  47.   as_echo='print -r --'
  48.   as_echo_n='print -rn --'
  49. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  50.   as_echo='printf %s\n'
  51.   as_echo_n='printf %s'
  52. else
  53.   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  54.     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  55.     as_echo_n='/usr/ucb/echo -n'
  56.   else
  57.     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  58.     as_echo_n_body='eval
  59.      arg=$1;
  60.      case $arg in #(
  61.      *"$as_nl"*)
  62.     expr "X$arg" : "X\\(.*\\)$as_nl";
  63.     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  64.      esac;
  65.      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  66.    '
  67.     export as_echo_n_body
  68.     as_echo_n='sh -c $as_echo_n_body as_echo'
  69.   fi
  70.   export as_echo_body
  71.   as_echo='sh -c $as_echo_body as_echo'
  72. fi
  73.  
  74. # The user is always right.
  75. if test "${PATH_SEPARATOR+set}" != set; then
  76.   PATH_SEPARATOR=:
  77.   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  78.     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  79.       PATH_SEPARATOR=';'
  80.   }
  81. fi
  82.  
  83.  
  84. # IFS
  85. # We need space, tab and new line, in precisely that order.  Quoting is
  86. # there to prevent editors from complaining about space-tab.
  87. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  88. # splitting by setting IFS to empty value.)
  89. IFS=" ""    $as_nl"
  90.  
  91. # Find who we are.  Look in the path if we contain no directory separator.
  92. as_myself=
  93. case $0 in #((
  94.   *[\\/]* ) as_myself=$0 ;;
  95.   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  96. for as_dir in $PATH
  97. do
  98.   IFS=$as_save_IFS
  99.   test -z "$as_dir" && as_dir=.
  100.     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  101.   done
  102. IFS=$as_save_IFS
  103.  
  104.      ;;
  105. esac
  106. # We did not find ourselves, most probably we were run as `sh COMMAND'
  107. # in which case we are not to be found in the path.
  108. if test "x$as_myself" = x; then
  109.   as_myself=$0
  110. fi
  111. if test ! -f "$as_myself"; then
  112.   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  113.   exit 1
  114. fi
  115.  
  116. # Unset variables that we do not need and which cause bugs (e.g. in
  117. # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  118. # suppresses any "Segmentation fault" message there.  '((' could
  119. # trigger a bug in pdksh 5.2.14.
  120. for as_var in BASH_ENV ENV MAIL MAILPATH
  121. do eval test x\${$as_var+set} = xset \
  122.   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  123. done
  124. PS1='$ '
  125. PS2='> '
  126. PS4='+ '
  127.  
  128. # NLS nuisances.
  129. LC_ALL=C
  130. export LC_ALL
  131. LANGUAGE=C
  132. export LANGUAGE
  133.  
  134. # CDPATH.
  135. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  136.  
  137.  
  138. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  139. # ----------------------------------------
  140. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  141. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  142. # script with STATUS, using 1 if that was 0.
  143. as_fn_error ()
  144. {
  145.   as_status=$1; test $as_status -eq 0 && as_status=1
  146.   if test "$4"; then
  147.     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  148.     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  149.   fi
  150.   $as_echo "$as_me: error: $2" >&2
  151.   as_fn_exit $as_status
  152. } # as_fn_error
  153.  
  154.  
  155. # as_fn_set_status STATUS
  156. # -----------------------
  157. # Set $? to STATUS, without forking.
  158. as_fn_set_status ()
  159. {
  160.   return $1
  161. } # as_fn_set_status
  162.  
  163. # as_fn_exit STATUS
  164. # -----------------
  165. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  166. as_fn_exit ()
  167. {
  168.   set +e
  169.   as_fn_set_status $1
  170.   exit $1
  171. } # as_fn_exit
  172.  
  173. # as_fn_unset VAR
  174. # ---------------
  175. # Portably unset VAR.
  176. as_fn_unset ()
  177. {
  178.   { eval $1=; unset $1;}
  179. }
  180. as_unset=as_fn_unset
  181. # as_fn_append VAR VALUE
  182. # ----------------------
  183. # Append the text in VALUE to the end of the definition contained in VAR. Take
  184. # advantage of any shell optimizations that allow amortized linear growth over
  185. # repeated appends, instead of the typical quadratic growth present in naive
  186. # implementations.
  187. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  188.   eval 'as_fn_append ()
  189.  {
  190.    eval $1+=\$2
  191.  }'
  192. else
  193.   as_fn_append ()
  194.   {
  195.     eval $1=\$$1\$2
  196.   }
  197. fi # as_fn_append
  198.  
  199. # as_fn_arith ARG...
  200. # ------------------
  201. # Perform arithmetic evaluation on the ARGs, and store the result in the
  202. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  203. # must be portable across $(()) and expr.
  204. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  205.   eval 'as_fn_arith ()
  206.  {
  207.    as_val=$(( $* ))
  208.  }'
  209. else
  210.   as_fn_arith ()
  211.   {
  212.     as_val=`expr "$@" || test $? -eq 1`
  213.   }
  214. fi # as_fn_arith
  215.  
  216.  
  217. if expr a : '\(a\)' >/dev/null 2>&1 &&
  218.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  219.   as_expr=expr
  220. else
  221.   as_expr=false
  222. fi
  223.  
  224. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  225.   as_basename=basename
  226. else
  227.   as_basename=false
  228. fi
  229.  
  230. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  231.   as_dirname=dirname
  232. else
  233.   as_dirname=false
  234. fi
  235.  
  236. as_me=`$as_basename -- "$0" ||
  237. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  238.      X"$0" : 'X\(//\)$' \| \
  239.      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  240. $as_echo X/"$0" |
  241.     sed '/^.*\/\([^/][^/]*\)\/*$/{
  242.         s//\1/
  243.         q
  244.       }
  245.       /^X\/\(\/\/\)$/{
  246.         s//\1/
  247.         q
  248.       }
  249.       /^X\/\(\/\).*/{
  250.         s//\1/
  251.         q
  252.       }
  253.       s/.*/./; q'`
  254.  
  255. # Avoid depending upon Character Ranges.
  256. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  257. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  258. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  259. as_cr_digits='0123456789'
  260. as_cr_alnum=$as_cr_Letters$as_cr_digits
  261.  
  262. ECHO_C= ECHO_N= ECHO_T=
  263. case `echo -n x` in #(((((
  264. -n*)
  265.   case `echo 'xy\c'` in
  266.   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  267.   xy)  ECHO_C='\c';;
  268.   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  269.        ECHO_T=' ';;
  270.   esac;;
  271. *)
  272.   ECHO_N='-n';;
  273. esac
  274.  
  275. rm -f conf$$ conf$$.exe conf$$.file
  276. if test -d conf$$.dir; then
  277.   rm -f conf$$.dir/conf$$.file
  278. else
  279.   rm -f conf$$.dir
  280.   mkdir conf$$.dir 2>/dev/null
  281. fi
  282. if (echo >conf$$.file) 2>/dev/null; then
  283.   if ln -s conf$$.file conf$$ 2>/dev/null; then
  284.     as_ln_s='ln -s'
  285.     # ... but there are two gotchas:
  286.     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  287.     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  288.     # In both cases, we have to default to `cp -p'.
  289.     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  290.       as_ln_s='cp -p'
  291.   elif ln conf$$.file conf$$ 2>/dev/null; then
  292.     as_ln_s=ln
  293.   else
  294.     as_ln_s='cp -p'
  295.   fi
  296. else
  297.   as_ln_s='cp -p'
  298. fi
  299. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  300. rmdir conf$$.dir 2>/dev/null
  301.  
  302.  
  303. # as_fn_mkdir_p
  304. # -------------
  305. # Create "$as_dir" as a directory, including parents if necessary.
  306. as_fn_mkdir_p ()
  307. {
  308.  
  309.   case $as_dir in #(
  310.   -*) as_dir=./$as_dir;;
  311.   esac
  312.   test -d "$as_dir" || eval $as_mkdir_p || {
  313.     as_dirs=
  314.     while :; do
  315.       case $as_dir in #(
  316.       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  317.       *) as_qdir=$as_dir;;
  318.       esac
  319.       as_dirs="'$as_qdir' $as_dirs"
  320.       as_dir=`$as_dirname -- "$as_dir" ||
  321. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  322.      X"$as_dir" : 'X\(//\)[^/]' \| \
  323.      X"$as_dir" : 'X\(//\)$' \| \
  324.      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  325. $as_echo X"$as_dir" |
  326.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  327.         s//\1/
  328.         q
  329.       }
  330.       /^X\(\/\/\)[^/].*/{
  331.         s//\1/
  332.         q
  333.       }
  334.       /^X\(\/\/\)$/{
  335.         s//\1/
  336.         q
  337.       }
  338.       /^X\(\/\).*/{
  339.         s//\1/
  340.         q
  341.       }
  342.       s/.*/./; q'`
  343.       test -d "$as_dir" && break
  344.     done
  345.     test -z "$as_dirs" || eval "mkdir $as_dirs"
  346.   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  347.  
  348.  
  349. } # as_fn_mkdir_p
  350. if mkdir -p . 2>/dev/null; then
  351.   as_mkdir_p='mkdir -p "$as_dir"'
  352. else
  353.   test -d ./-p && rmdir ./-p
  354.   as_mkdir_p=false
  355. fi
  356.  
  357. if test -x / >/dev/null 2>&1; then
  358.   as_test_x='test -x'
  359. else
  360.   if ls -dL / >/dev/null 2>&1; then
  361.     as_ls_L_option=L
  362.   else
  363.     as_ls_L_option=
  364.   fi
  365.   as_test_x='
  366.    eval sh -c '\''
  367.      if test -d "$1"; then
  368.     test -d "$1/.";
  369.      else
  370.     case $1 in #(
  371.     -*)set "./$1";;
  372.     esac;
  373.     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  374.     ???[sx]*):;;*)false;;esac;fi
  375.    '\'' sh
  376.  '
  377. fi
  378. as_executable_p=$as_test_x
  379.  
  380. # Sed expression to map a string onto a valid CPP name.
  381. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  382.  
  383. # Sed expression to map a string onto a valid variable name.
  384. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  385.  
  386.  
  387. exec 6>&1
  388. ## ----------------------------------- ##
  389. ## Main body of $CONFIG_STATUS script. ##
  390. ## ----------------------------------- ##
  391. # Save the log message, to keep $0 and so on meaningful, and to
  392. # report actual input values of CONFIG_FILES etc. instead of their
  393. # values after options handling.
  394. ac_log="
  395. This file was extended by bfgminer $as_me 3.0.0, which was
  396. generated by GNU Autoconf 2.68.  Invocation command line was
  397.  
  398.  CONFIG_FILES    = $CONFIG_FILES
  399.  CONFIG_HEADERS  = $CONFIG_HEADERS
  400.  CONFIG_LINKS    = $CONFIG_LINKS
  401.  CONFIG_COMMANDS = $CONFIG_COMMANDS
  402.  $ $0 $@
  403.  
  404. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  405. "
  406.  
  407. # Files that config.status was made for.
  408. config_files=" Makefile x86_64/Makefile x86_32/Makefile ccan/Makefile lib/Makefile"
  409. config_headers=" config.h"
  410. config_commands=" depfiles"
  411.  
  412. ac_cs_usage="\
  413. \`$as_me' instantiates files and other configuration actions
  414. from templates according to the current configuration.  Unless the files
  415. and actions are specified as TAGs, all are instantiated by default.
  416.  
  417. Usage: $0 [OPTION]... [TAG]...
  418.  
  419.  -h, --help       print this help, then exit
  420.  -V, --version    print version number and configuration settings, then exit
  421.      --config     print configuration, then exit
  422.  -q, --quiet, --silent
  423.                   do not print progress messages
  424.  -d, --debug      don't remove temporary files
  425.      --recheck    update $as_me by reconfiguring in the same conditions
  426.      --file=FILE[:TEMPLATE]
  427.                   instantiate the configuration file FILE
  428.      --header=FILE[:TEMPLATE]
  429.                   instantiate the configuration header FILE
  430.  
  431. Configuration files:
  432. $config_files
  433.  
  434. Configuration headers:
  435. $config_headers
  436.  
  437. Configuration commands:
  438. $config_commands
  439.  
  440. Report bugs to <luke-jr+bfgminer@utopios.org>."
  441.  
  442. ac_cs_config="'--enable-cpumining' 'CFLAGS=-O2 -msse2'"
  443. ac_cs_version="\
  444. bfgminer config.status 3.0.0
  445. configured by ./configure, generated by GNU Autoconf 2.68,
  446.  with options \"$ac_cs_config\"
  447.  
  448. Copyright (C) 2010 Free Software Foundation, Inc.
  449. This config.status script is free software; the Free Software Foundation
  450. gives unlimited permission to copy, distribute and modify it."
  451.  
  452. ac_pwd='/home/sfonville/bfgminer'
  453. srcdir='.'
  454. INSTALL='/bin/install -c'
  455. MKDIR_P='/bin/mkdir -p'
  456. AWK='gawk'
  457. test -n "$AWK" || AWK=awk
  458. # The default lists apply if the user does not specify any file.
  459. ac_need_defaults=:
  460. while test $# != 0
  461. do
  462.  case $1 in
  463.  --*=?*)
  464.    ac_option=`expr "X$1" : 'X\([^=]*\)='`
  465.    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  466.    ac_shift=:
  467.    ;;
  468.  --*=)
  469.    ac_option=`expr "X$1" : 'X\([^=]*\)='`
  470.    ac_optarg=
  471.    ac_shift=:
  472.    ;;
  473.  *)
  474.    ac_option=$1
  475.    ac_optarg=$2
  476.    ac_shift=shift
  477.    ;;
  478.  esac
  479.  
  480.  case $ac_option in
  481.  # Handling of the options.
  482.  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  483.    ac_cs_recheck=: ;;
  484.  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  485.    $as_echo "$ac_cs_version"; exit ;;
  486.  --config | --confi | --conf | --con | --co | --c )
  487.    $as_echo "$ac_cs_config"; exit ;;
  488.  --debug | --debu | --deb | --de | --d | -d )
  489.    debug=: ;;
  490.  --file | --fil | --fi | --f )
  491.    $ac_shift
  492.    case $ac_optarg in
  493.    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  494.    '') as_fn_error $? "missing file argument" ;;
  495.    esac
  496.    as_fn_append CONFIG_FILES " '$ac_optarg'"
  497.    ac_need_defaults=false;;
  498.  --header | --heade | --head | --hea )
  499.    $ac_shift
  500.    case $ac_optarg in
  501.    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  502.     esac
  503.     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  504.     ac_need_defaults=false;;
  505.   --he | --h)
  506.     # Conflict between --help and --header
  507.     as_fn_error $? "ambiguous option: \`$1'
  508. Try \`$0 --help' for more information.";;
  509.   --help | --hel | -h )
  510.     $as_echo "$ac_cs_usage"; exit ;;
  511.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  512.   | -silent | --silent | --silen | --sile | --sil | --si | --s)
  513.     ac_cs_silent=: ;;
  514.  
  515.   # This is an error.
  516.   -*) as_fn_error $? "unrecognized option: \`$1'
  517. Try \`$0 --help' for more information." ;;
  518.  
  519.   *) as_fn_append ac_config_targets " $1"
  520.      ac_need_defaults=false ;;
  521.  
  522.   esac
  523.   shift
  524. done
  525.  
  526. ac_configure_extra_args=
  527.  
  528. if $ac_cs_silent; then
  529.   exec 6>/dev/null
  530.   ac_configure_extra_args="$ac_configure_extra_args --silent"
  531. fi
  532.  
  533. if $ac_cs_recheck; then
  534.   set X '/bin/sh' './configure'  '--enable-cpumining' 'CFLAGS=-O2 -msse2' $ac_configure_extra_args --no-create --no-recursion
  535.   shift
  536.   $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
  537.   CONFIG_SHELL='/bin/sh'
  538.   export CONFIG_SHELL
  539.   exec "$@"
  540. fi
  541.  
  542. exec 5>>config.log
  543. {
  544.   echo
  545.   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  546. ## Running $as_me. ##
  547. _ASBOX
  548.   $as_echo "$ac_log"
  549. } >&5
  550.  
  551. #
  552. # INIT-COMMANDS
  553. #
  554. AMDEP_TRUE="" ac_aux_dir="."
  555.  
  556.  
  557. # Handling of arguments.
  558. for ac_config_target in $ac_config_targets
  559. do
  560.   case $ac_config_target in
  561.     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  562.     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  563.     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  564.     "x86_64/Makefile") CONFIG_FILES="$CONFIG_FILES x86_64/Makefile" ;;
  565.     "x86_32/Makefile") CONFIG_FILES="$CONFIG_FILES x86_32/Makefile" ;;
  566.     "ccan/Makefile") CONFIG_FILES="$CONFIG_FILES ccan/Makefile" ;;
  567.     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
  568.  
  569.   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
  570.  esac
  571. done
  572.  
  573.  
  574. # If the user did not use the arguments to specify the items to instantiate,
  575. # then the envvar interface is used.  Set only those that are not.
  576. # We use the long form for the default assignment because of an extremely
  577. # bizarre bug on SunOS 4.1.3.
  578. if $ac_need_defaults; then
  579.  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  580.  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  581.  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  582. fi
  583.  
  584. # Have a temporary directory for convenience.  Make it in the build tree
  585. # simply because there is no reason against having it here, and in addition,
  586. # creating and moving files from /tmp can sometimes cause problems.
  587. # Hook for its removal unless debugging.
  588. # Note that there is a small window in which the directory will not be cleaned:
  589. # after its creation but before its name has been assigned to `$tmp'.
  590. $debug ||
  591. {
  592.  tmp= ac_tmp=
  593.  trap 'exit_status=$?
  594.  : "${ac_tmp:=$tmp}"
  595.  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  596. ' 0
  597.  trap 'as_fn_exit 1' 1 2 13 15
  598. }
  599. # Create a (secure) tmp directory for tmp files.
  600.  
  601. {
  602.  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  603.  test -d "$tmp"
  604. }  ||
  605. {
  606.  tmp=./conf$$-$RANDOM
  607.  (umask 077 && mkdir "$tmp")
  608. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  609. ac_tmp=$tmp
  610.  
  611. # Set up the scripts for CONFIG_FILES section.
  612. # No need to generate them if there are no CONFIG_FILES.
  613. # This happens for instance with `./config.status config.h'.
  614. if test -n "$CONFIG_FILES"; then
  615.  
  616.  
  617. ac_cr=`echo X | tr X '\015'`
  618. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  619. # But we know of no other shell where ac_cr would be empty at this
  620. # point, so we can use a bashism as a fallback.
  621. if test "x$ac_cr" = x; then
  622.  eval ac_cr=\$\'\\r\'
  623. fi
  624. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  625. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  626.  ac_cs_awk_cr='\\r'
  627. else
  628.  ac_cs_awk_cr=$ac_cr
  629. fi
  630.  
  631. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  632. cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
  633. S["gltests_LTLIBOBJS"]=""
  634. S["gltests_LIBOBJS"]=""
  635. S["gl_LTLIBOBJS"]=" memmem.lo sigaction.lo sigprocmask.lo strtok_r.lo"
  636. S["gl_LIBOBJS"]=" memmem.o sigaction.o sigprocmask.o strtok_r.o"
  637. S["am__EXEEXT_FALSE"]="#"
  638. S["am__EXEEXT_TRUE"]=""
  639. S["LTLIBOBJS"]=""
  640. S["LIBOBJS"]=""
  641. S["UDEV_LIBS"]=""
  642. S["MATH_LIBS"]="-lm"
  643. S["WS2_LIBS"]="-lws2_32"
  644. S["PDCURSES_LIBS"]=""
  645. S["NCURSES_LIBS"]="-lpdcurses"
  646. S["NCURSES_CPPFLAGS"]=""
  647. S["PTHREAD_LIBS"]=" -lpthread"
  648. S["DLOPEN_FLAGS"]=""
  649. S["PTHREAD_FLAGS"]=" -pthread"
  650. S["LIBCURL_LIBS"]="-LD:/MinGW/lib -lcurl -lcurl.dll  "
  651. S["LIBCURL_CFLAGS"]=" -ID:/MinGW/include  "
  652. S["HAVE_LIBUDEV_FALSE"]=""
  653. S["HAVE_LIBUDEV_TRUE"]="#"
  654. S["HAS_YASM_FALSE"]=""
  655. S["HAS_YASM_TRUE"]="#"
  656. S["YASM"]="false"
  657. S["HAVE_x86_64_FALSE"]=""
  658. S["HAVE_x86_64_TRUE"]="#"
  659. S["HAVE_WINDOWS_FALSE"]="#"
  660. S["HAVE_WINDOWS_TRUE"]=""
  661. S["HAVE_CYGWIN_FALSE"]=""
  662. S["HAVE_CYGWIN_TRUE"]="#"
  663. S["HAVE_CURSES_FALSE"]="#"
  664. S["HAVE_CURSES_TRUE"]=""
  665. S["HAS_SCRYPT_FALSE"]=""
  666. S["HAS_SCRYPT_TRUE"]="#"
  667. S["NEED_FPGAUTILS_FALSE"]="#"
  668. S["NEED_FPGAUTILS_TRUE"]=""
  669. S["NEED_DYNCLOCK_FALSE"]="#"
  670. S["NEED_DYNCLOCK_TRUE"]=""
  671. S["NEED_LIBBLKMAKER_FALSE"]="#"
  672. S["NEED_LIBBLKMAKER_TRUE"]=""
  673. S["subdirs"]=" libblkmaker"
  674. S["HAS_ZTEX_FALSE"]="#"
  675. S["HAS_ZTEX_TRUE"]=""
  676. S["HAS_X6500_FALSE"]="#"
  677. S["HAS_X6500_TRUE"]=""
  678. S["LIBUSB_LIBS"]="-LD:/MinGW/lib -lusb-1.0  "
  679. S["LIBUSB_CFLAGS"]="-ID:/MinGW/include/libusb-1.0  "
  680. S["HAS_MODMINER_FALSE"]="#"
  681. S["HAS_MODMINER_TRUE"]=""
  682. S["HAS_AVALON_FALSE"]=""
  683. S["HAS_AVALON_TRUE"]="#"
  684. S["HAS_ICARUS_FALSE"]="#"
  685. S["HAS_ICARUS_TRUE"]=""
  686. S["HAS_BITFORCE_FALSE"]="#"
  687. S["HAS_BITFORCE_TRUE"]=""
  688. S["JANSSON_LIBS"]="-LD:/MinGW/bin/lib -ljansson  "
  689. S["JANSSON_CFLAGS"]="@CPPFLAG_JANSSON_STATICLIB@ -ID:/MinGW/include  "
  690. S["PKG_CONFIG_LIBDIR"]=""
  691. S["PKG_CONFIG_PATH"]=""
  692. S["PKG_CONFIG"]="/mingw/bin/pkg-config"
  693. S["HAVE_OPENCL_FALSE"]="#"
  694. S["HAVE_OPENCL_TRUE"]=""
  695. S["HAS_CPUMINE_FALSE"]="#"
  696. S["HAS_CPUMINE_TRUE"]=""
  697. S["ALLOCA"]=""
  698. S["LIBGNU_LTLIBDEPS"]=""
  699. S["LIBGNU_LIBDEPS"]=""
  700. S["gltests_WITNESS"]="IN_BFGMINER_GNULIB_TESTS"
  701. S["NEXT_AS_FIRST_DIRECTIVE_STRING_H"]="<string.h>"
  702. S["NEXT_STRING_H"]="<string.h>"
  703. S["GL_GENERATE_STDINT_H_FALSE"]=""
  704. S["GL_GENERATE_STDINT_H_TRUE"]="#"
  705. S["STDINT_H"]=""
  706. S["WINT_T_SUFFIX"]=""
  707. S["WCHAR_T_SUFFIX"]=""
  708. S["SIG_ATOMIC_T_SUFFIX"]=""
  709. S["SIZE_T_SUFFIX"]=""
  710. S["PTRDIFF_T_SUFFIX"]=""
  711. S["HAVE_SIGNED_WINT_T"]=""
  712. S["HAVE_SIGNED_WCHAR_T"]=""
  713. S["HAVE_SIGNED_SIG_ATOMIC_T"]=""
  714. S["BITSIZEOF_WINT_T"]=""
  715. S["BITSIZEOF_WCHAR_T"]=""
  716. S["BITSIZEOF_SIG_ATOMIC_T"]=""
  717. S["BITSIZEOF_SIZE_T"]=""
  718. S["BITSIZEOF_PTRDIFF_T"]=""
  719. S["HAVE_SYS_BITYPES_H"]=""
  720. S["HAVE_SYS_INTTYPES_H"]=""
  721. S["HAVE_STDINT_H"]="1"
  722. S["NEXT_AS_FIRST_DIRECTIVE_STDINT_H"]="<stdint.h>"
  723. S["NEXT_STDINT_H"]="<stdint.h>"
  724. S["HAVE_SYS_TYPES_H"]="1"
  725. S["HAVE_INTTYPES_H"]="1"
  726. S["HAVE_WCHAR_H"]="1"
  727. S["HAVE_UNSIGNED_LONG_LONG_INT"]="1"
  728. S["HAVE_LONG_LONG_INT"]="1"
  729. S["NEXT_AS_FIRST_DIRECTIVE_STDDEF_H"]=""
  730. S["NEXT_STDDEF_H"]=""
  731. S["GL_GENERATE_STDDEF_H_FALSE"]=""
  732. S["GL_GENERATE_STDDEF_H_TRUE"]="#"
  733. S["STDDEF_H"]=""
  734. S["HAVE_WCHAR_T"]="1"
  735. S["REPLACE_NULL"]="0"
  736. S["NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H"]="<signal.h>"
  737. S["NEXT_SIGNAL_H"]="<signal.h>"
  738. S["PRAGMA_COLUMNS"]=""
  739. S["PRAGMA_SYSTEM_HEADER"]="#pragma GCC system_header"
  740. S["INCLUDE_NEXT_AS_FIRST_DIRECTIVE"]="include_next"
  741. S["INCLUDE_NEXT"]="include_next"
  742. S["HAVE_SIGHANDLER_T"]="0"
  743. S["HAVE_TYPE_VOLATILE_SIG_ATOMIC_T"]="1"
  744. S["HAVE_STRUCT_SIGACTION_SA_SIGACTION"]="1"
  745. S["HAVE_SIGACTION"]="0"
  746. S["HAVE_SIGINFO_T"]="0"
  747. S["HAVE_SIGSET_T"]="1"
  748. S["HAVE_POSIX_SIGNALBLOCKING"]="0"
  749. S["GNULIB_SIGACTION"]="1"
  750. S["GNULIB_SIGPROCMASK"]="1"
  751. S["GNULIB_SIGNAL_H_SIGPIPE"]="0"
  752. S["APPLE_UNIVERSAL_BUILD"]="0"
  753. S["UNDEFINE_STRTOK_R"]="0"
  754. S["REPLACE_STRTOK_R"]="0"
  755. S["REPLACE_STRSIGNAL"]="0"
  756. S["REPLACE_STRNLEN"]="0"
  757. S["REPLACE_STRNDUP"]="0"
  758. S["REPLACE_STRNCAT"]="0"
  759. S["REPLACE_STRERROR_R"]="0"
  760. S["REPLACE_STRERROR"]="0"
  761. S["REPLACE_STRCHRNUL"]="0"
  762. S["REPLACE_STRCASESTR"]="0"
  763. S["REPLACE_STRSTR"]="0"
  764. S["REPLACE_STRDUP"]="0"
  765. S["REPLACE_STPNCPY"]="0"
  766. S["REPLACE_MEMMEM"]="0"
  767. S["REPLACE_MEMCHR"]="0"
  768. S["HAVE_STRVERSCMP"]="1"
  769. S["HAVE_DECL_STRSIGNAL"]="1"
  770. S["HAVE_DECL_STRERROR_R"]="1"
  771. S["HAVE_DECL_STRTOK_R"]="0"
  772. S["HAVE_STRCASESTR"]="1"
  773. S["HAVE_STRSEP"]="1"
  774. S["HAVE_STRPBRK"]="1"
  775. S["HAVE_DECL_STRNLEN"]="1"
  776. S["HAVE_DECL_STRNDUP"]="1"
  777. S["HAVE_DECL_STRDUP"]="1"
  778. S["HAVE_STRCHRNUL"]="1"
  779. S["HAVE_STPNCPY"]="1"
  780. S["HAVE_STPCPY"]="1"
  781. S["HAVE_RAWMEMCHR"]="1"
  782. S["HAVE_DECL_MEMRCHR"]="1"
  783. S["HAVE_MEMPCPY"]="1"
  784. S["HAVE_DECL_MEMMEM"]="0"
  785. S["HAVE_MEMCHR"]="1"
  786. S["HAVE_MBSLEN"]="0"
  787. S["GNULIB_STRVERSCMP"]="0"
  788. S["GNULIB_STRSIGNAL"]="0"
  789. S["GNULIB_STRERROR_R"]="0"
  790. S["GNULIB_STRERROR"]="0"
  791. S["GNULIB_MBSTOK_R"]="0"
  792. S["GNULIB_MBSSEP"]="0"
  793. S["GNULIB_MBSSPN"]="0"
  794. S["GNULIB_MBSPBRK"]="0"
  795. S["GNULIB_MBSCSPN"]="0"
  796. S["GNULIB_MBSCASESTR"]="0"
  797. S["GNULIB_MBSPCASECMP"]="0"
  798. S["GNULIB_MBSNCASECMP"]="0"
  799. S["GNULIB_MBSCASECMP"]="0"
  800. S["GNULIB_MBSSTR"]="0"
  801. S["GNULIB_MBSRCHR"]="0"
  802. S["GNULIB_MBSCHR"]="0"
  803. S["GNULIB_MBSNLEN"]="0"
  804. S["GNULIB_MBSLEN"]="0"
  805. S["GNULIB_STRTOK_R"]="1"
  806. S["GNULIB_STRCASESTR"]="0"
  807. S["GNULIB_STRSTR"]="0"
  808. S["GNULIB_STRSEP"]="0"
  809. S["GNULIB_STRPBRK"]="0"
  810. S["GNULIB_STRNLEN"]="0"
  811. S["GNULIB_STRNDUP"]="0"
  812. S["GNULIB_STRNCAT"]="0"
  813. S["GNULIB_STRDUP"]="0"
  814. S["GNULIB_STRCHRNUL"]="0"
  815. S["GNULIB_STPNCPY"]="0"
  816. S["GNULIB_STPCPY"]="0"
  817. S["GNULIB_RAWMEMCHR"]="0"
  818. S["GNULIB_MEMRCHR"]="0"
  819. S["GNULIB_MEMPCPY"]="0"
  820. S["GNULIB_MEMMEM"]="1"
  821. S["GNULIB_MEMCHR"]="1"
  822. S["GL_COND_LIBTOOL_FALSE"]=""
  823. S["GL_COND_LIBTOOL_TRUE"]="#"
  824. S["RANLIB"]="ranlib"
  825. S["MAINT"]="#"
  826. S["MAINTAINER_MODE_FALSE"]=""
  827. S["MAINTAINER_MODE_TRUE"]="#"
  828. S["VMAJ"]="3"
  829. S["release_info"]=""
  830. S["version_info"]="3:0:0"
  831. S["EGREP"]="/bin/grep -E"
  832. S["GREP"]="/bin/grep"
  833. S["CPP"]="gcc -E"
  834. S["am__fastdepCC_FALSE"]="#"
  835. S["am__fastdepCC_TRUE"]=""
  836. S["CCDEPMODE"]="depmode=gcc3"
  837. S["AMDEPBACKSLASH"]="\\"
  838. S["AMDEP_FALSE"]="#"
  839. S["AMDEP_TRUE"]=""
  840. S["am__quote"]=""
  841. S["am__include"]="include"
  842. S["DEPDIR"]=".deps"
  843. S["OBJEXT"]="o"
  844. S["EXEEXT"]=".exe"
  845. S["ac_ct_CC"]="gcc"
  846. S["CPPFLAGS"]=""
  847. S["LDFLAGS"]=""
  848. S["CFLAGS"]="-O2 -msse2"
  849. S["CC"]="gcc -std=gnu99"
  850. S["AM_BACKSLASH"]="\\"
  851. S["AM_DEFAULT_VERBOSITY"]="0"
  852. S["am__untar"]="${AMTAR} xf -"
  853. S["am__tar"]="${AMTAR} chof - \"$$tardir\""
  854. S["AMTAR"]="${SHELL} /home/sfonville/bfgminer/missing --run tar"
  855. S["am__leading_dot"]="."
  856. S["SET_MAKE"]=""
  857. S["AWK"]="gawk"
  858. S["mkdir_p"]="/bin/mkdir -p"
  859. S["MKDIR_P"]="/bin/mkdir -p"
  860. S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
  861. S["STRIP"]=""
  862. S["install_sh"]="${SHELL} /home/sfonville/bfgminer/install-sh"
  863. S["MAKEINFO"]="${SHELL} /home/sfonville/bfgminer/missing --run makeinfo"
  864. S["AUTOHEADER"]="${SHELL} /home/sfonville/bfgminer/missing --run autoheader"
  865. S["AUTOMAKE"]="${SHELL} /home/sfonville/bfgminer/missing --run automake-1.11"
  866. S["AUTOCONF"]="${SHELL} /home/sfonville/bfgminer/missing --run autoconf"
  867. S["ACLOCAL"]="${SHELL} /home/sfonville/bfgminer/missing --run aclocal-1.11"
  868. S["VERSION"]="3.0.0"
  869. S["PACKAGE"]="bfgminer"
  870. S["CYGPATH_W"]="echo"
  871. S["am__isrc"]=""
  872. S["INSTALL_DATA"]="${INSTALL} -m 644"
  873. S["INSTALL_SCRIPT"]="${INSTALL}"
  874. S["INSTALL_PROGRAM"]="${INSTALL}"
  875. S["target_os"]="mingw32"
  876. S["target_vendor"]="pc"
  877. S["target_cpu"]="i686"
  878. S["target"]="i686-pc-mingw32"
  879. S["host_os"]="mingw32"
  880. S["host_vendor"]="pc"
  881. S["host_cpu"]="i686"
  882. S["host"]="i686-pc-mingw32"
  883. S["build_os"]="mingw32"
  884. S["build_vendor"]="pc"
  885. S["build_cpu"]="i686"
  886. S["build"]="i686-pc-mingw32"
  887. S["target_alias"]=""
  888. S["host_alias"]=""
  889. S["build_alias"]=""
  890. S["LIBS"]=""
  891. S["ECHO_T"]=""
  892. S["ECHO_N"]="-n"
  893. S["ECHO_C"]=""
  894. S["DEFS"]="-DHAVE_CONFIG_H"
  895. S["mandir"]="${datarootdir}/man"
  896. S["localedir"]="${datarootdir}/locale"
  897. S["libdir"]="${exec_prefix}/lib"
  898. S["psdir"]="${docdir}"
  899. S["pdfdir"]="${docdir}"
  900. S["dvidir"]="${docdir}"
  901. S["htmldir"]="${docdir}"
  902. S["infodir"]="${datarootdir}/info"
  903. S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
  904. S["oldincludedir"]="/usr/include"
  905. S["includedir"]="${prefix}/include"
  906. S["localstatedir"]="${prefix}/var"
  907. S["sharedstatedir"]="${prefix}/com"
  908. S["sysconfdir"]="${prefix}/etc"
  909. S["datadir"]="${datarootdir}"
  910. S["datarootdir"]="${prefix}/share"
  911. S["libexecdir"]="${exec_prefix}/libexec"
  912. S["sbindir"]="${exec_prefix}/sbin"
  913. S["bindir"]="${exec_prefix}/bin"
  914. S["program_transform_name"]="s,x,x,"
  915. S["prefix"]="/usr/local"
  916. S["exec_prefix"]="${prefix}"
  917. S["PACKAGE_URL"]=""
  918. S["PACKAGE_BUGREPORT"]="luke-jr+bfgminer@utopios.org"
  919. S["PACKAGE_STRING"]="bfgminer 3.0.0"
  920. S["PACKAGE_VERSION"]="3.0.0"
  921. S["PACKAGE_TARNAME"]="bfgminer"
  922. S["PACKAGE_NAME"]="bfgminer"
  923. S["PATH_SEPARATOR"]=":"
  924. S["SHELL"]="/bin/sh"
  925. _ACAWK
  926. cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
  927.  for (key in S) S_is_set[key] = 1
  928.  FS = ""
  929.  
  930. }
  931. {
  932.  line = $ 0
  933.  nfields = split(line, field, "@")
  934.  substed = 0
  935.  len = length(field[1])
  936.  for (i = 2; i < nfields; i++) {
  937.    key = field[i]
  938.    keylen = length(key)
  939.    if (S_is_set[key]) {
  940.      value = S[key]
  941.      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  942.      len += length(value) + length(field[++i])
  943.      substed = 1
  944.    } else
  945.      len += 1 + keylen
  946.  }
  947.  
  948.  print line
  949. }
  950.  
  951. _ACAWK
  952. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  953.  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  954. else
  955.  cat
  956. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  957.  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  958. fi # test -n "$CONFIG_FILES"
  959.  
  960. # Set up the scripts for CONFIG_HEADERS section.
  961. # No need to generate them if there are no CONFIG_HEADERS.
  962. # This happens for instance with `./config.status Makefile'.
  963. if test -n "$CONFIG_HEADERS"; then
  964. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  965. BEGIN {
  966. D["PACKAGE_NAME"]=" \"bfgminer\""
  967. D["PACKAGE_TARNAME"]=" \"bfgminer\""
  968. D["PACKAGE_VERSION"]=" \"3.0.0\""
  969. D["PACKAGE_STRING"]=" \"bfgminer 3.0.0\""
  970. D["PACKAGE_BUGREPORT"]=" \"luke-jr+bfgminer@utopios.org\""
  971. D["PACKAGE_URL"]=" \"\""
  972. D["PACKAGE"]=" \"bfgminer\""
  973. D["VERSION"]=" \"3.0.0\""
  974. D["STDC_HEADERS"]=" 1"
  975. D["HAVE_SYS_TYPES_H"]=" 1"
  976. D["HAVE_SYS_STAT_H"]=" 1"
  977. D["HAVE_STDLIB_H"]=" 1"
  978. D["HAVE_STRING_H"]=" 1"
  979. D["HAVE_MEMORY_H"]=" 1"
  980. D["HAVE_STRINGS_H"]=" 1"
  981. D["HAVE_INTTYPES_H"]=" 1"
  982. D["HAVE_STDINT_H"]=" 1"
  983. D["HAVE_UNISTD_H"]=" 1"
  984. D["__EXTENSIONS__"]=" 1"
  985. D["_ALL_SOURCE"]=" 1"
  986. D["_GNU_SOURCE"]=" 1"
  987. D["_POSIX_PTHREAD_SEMANTICS"]=" 1"
  988. D["_TANDEM_SOURCE"]=" 1"
  989. D["CGMINER_MAJOR_VERSION"]=" 3"
  990. D["CGMINER_MINOR_VERSION"]=" 0"
  991. D["CGMINER_MINOR_SUBVERSION"]=" 0"
  992. D["HAVE_WCHAR_H"]=" 1"
  993. D["HAVE_STDINT_H"]=" 1"
  994. D["HAVE_MPROTECT"]=" 1"
  995. D["HAVE_DECL_MEMMEM"]=" 0"
  996. D["restrict"]=" __restrict"
  997. D["uid_t"]=" int"
  998. D["gid_t"]=" int"
  999. D["HAVE_WCHAR_T"]=" 1"
  1000. D["HAVE_UNSIGNED_LONG_LONG_INT"]=" 1"
  1001. D["HAVE_LONG_LONG_INT"]=" 1"
  1002. D["HAVE_RAW_DECL_STRDUP"]=" 1"
  1003. D["HAVE_RAW_DECL_STRNCAT"]=" 1"
  1004. D["HAVE_RAW_DECL_STRPBRK"]=" 1"
  1005. D["HAVE_DECL_STRTOK_R"]=" 0"
  1006. D["GNULIB_TEST_MEMCHR"]=" 1"
  1007. D["GNULIB_TEST_MEMMEM"]=" 1"
  1008. D["GNULIB_TEST_SIGACTION"]=" 1"
  1009. D["HAVE_SIGSET_T"]=" 1"
  1010. D["GNULIB_TEST_SIGPROCMASK"]=" 1"
  1011. D["GNULIB_TEST_STRTOK_R"]=" 1"
  1012. D["STDC_HEADERS"]=" 1"
  1013. D["HAVE_ALLOCA"]=" 1"
  1014. D["_WIN32_WINNT"]=" 0x0501"
  1015. D["FD_SETSIZE"]=" 4096"
  1016. D["WANT_CPUMINE"]=" 1"
  1017. D["HAVE_OPENCL"]=" 1"
  1018. D["HAVE_PTHREAD_CANCEL"]=" 1"
  1019. D["HAVE_ADL"]=" 1"
  1020. D["USE_BITFORCE"]=" 1"
  1021. D["USE_ICARUS"]=" 1"
  1022. D["USE_MODMINER"]=" 1"
  1023. D["USE_X6500"]=" 1"
  1024. D["USE_ZTEX"]=" 1"
  1025. D["HAVE_LIBUSB"]=" 1"
  1026. D["HAVE_DECL_LIBUSB_ERROR_NAME"]=" 1"
  1027. D["HAVE_CURSES"]=" 1"
  1028. D["HAVE_ATTRIBUTE_COLD"]=" 1"
  1029. D["HAVE_ATTRIBUTE_CONST"]=" 1"
  1030. D["HAVE_ATTRIBUTE_NORETURN"]=" 1"
  1031. D["HAVE_ATTRIBUTE_PRINTF"]=" 1"
  1032. D["HAVE_ATTRIBUTE_UNUSED"]=" 1"
  1033. D["HAVE_ATTRIBUTE_USED"]=" 1"
  1034. D["HAVE_BUILTIN_CONSTANT_P"]=" 1"
  1035. D["HAVE_BUILTIN_TYPES_COMPATIBLE_P"]=" 1"
  1036. D["HAVE_WARN_UNUSED_RESULT"]=" 1"
  1037. P["FORMAT_SYNTAX_CHECK"]="(...)"
  1038. D["FORMAT_SYNTAX_CHECK"]=" __attribute__(( format(__VA_ARGS__) ))"
  1039. D["CGMINER_PREFIX"]=" \"/usr/local/bin\""
  1040. D["PHATK_KERNNAME"]=" \"phatk121016\""
  1041. D["POCLBM_KERNNAME"]=" \"poclbm121016\""
  1042. D["DIAKGCN_KERNNAME"]=" \"diakgcn121016\""
  1043. D["DIABLO_KERNNAME"]=" \"diablo121016\""
  1044. D["SCRYPT_KERNNAME"]=" \"scrypt121016\""
  1045.  for (key in D) D_is_set[key] = 1
  1046.  FS = ""
  1047. }
  1048. /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  1049.  line = $ 0
  1050.  split(line, arg, " ")
  1051.  if (arg[1] == "#") {
  1052.     defundef = arg[2]
  1053.     mac1 = arg[3]
  1054.   } else {
  1055.     defundef = substr(arg[1], 2)
  1056.     mac1 = arg[2]
  1057.   }
  1058.   split(mac1, mac2, "(") #)
  1059.   macro = mac2[1]
  1060.   prefix = substr(line, 1, index(line, defundef) - 1)
  1061.   if (D_is_set[macro]) {
  1062.     # Preserve the white space surrounding the "#".
  1063.     print prefix "define", macro P[macro] D[macro]
  1064.     next
  1065.   } else {
  1066.     # Replace #undef with comments.  This is necessary, for example,
  1067.     # in the case of _POSIX_SOURCE, which is predefined and required
  1068.     # on some systems where configure will not decide to define it.
  1069.     if (defundef == "undef") {
  1070.       print "/*", prefix defundef, macro, "*/"
  1071.       next
  1072.     }
  1073.   }
  1074. }
  1075. { print }
  1076. _ACAWK
  1077.   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  1078. fi # test -n "$CONFIG_HEADERS"
  1079.  
  1080.  
  1081. eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
  1082. shift
  1083. for ac_tag
  1084. do
  1085.   case $ac_tag in
  1086.   :[FHLC]) ac_mode=$ac_tag; continue;;
  1087.   esac
  1088.   case $ac_mode$ac_tag in
  1089.   :[FHL]*:*);;
  1090.   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
  1091.  :[FH]-) ac_tag=-:-;;
  1092.  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  1093.  esac
  1094.  ac_save_IFS=$IFS
  1095.  IFS=:
  1096.  set x $ac_tag
  1097.  IFS=$ac_save_IFS
  1098.  shift
  1099.  ac_file=$1
  1100.  shift
  1101.  
  1102.  case $ac_mode in
  1103.  :L) ac_source=$1;;
  1104.  :[FH])
  1105.    ac_file_inputs=
  1106.    for ac_f
  1107.    do
  1108.      case $ac_f in
  1109.      -) ac_f="$ac_tmp/stdin";;
  1110.      *) # Look for the file first in the build tree, then in the source tree
  1111.      # (if the path is not absolute).  The absolute path cannot be DOS-style,
  1112.      # because $ac_f cannot contain `:'.
  1113.      test -f "$ac_f" ||
  1114.        case $ac_f in
  1115.        [\\/$]*) false;;
  1116.        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  1117.        esac ||
  1118.        as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
  1119.      esac
  1120.      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  1121.       as_fn_append ac_file_inputs " '$ac_f'"
  1122.     done
  1123.  
  1124.     # Let's still pretend it is `configure' which instantiates (i.e., don't
  1125.     # use $as_me), people would be surprised to read:
  1126.     #    /* config.h.  Generated by config.status.  */
  1127.     configure_input='Generated from '`
  1128.       $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  1129.     `' by configure.'
  1130.     if test x"$ac_file" != x-; then
  1131.       configure_input="$ac_file.  $configure_input"
  1132.       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  1133. $as_echo "$as_me: creating $ac_file" >&6;}
  1134.     fi
  1135.     # Neutralize special characters interpreted by sed in replacement strings.
  1136.     case $configure_input in #(
  1137.     *\&* | *\|* | *\\* )
  1138.        ac_sed_conf_input=`$as_echo "$configure_input" |
  1139.        sed 's/[\\\\&|]/\\\\&/g'`;; #(
  1140.     *) ac_sed_conf_input=$configure_input;;
  1141.     esac
  1142.  
  1143.     case $ac_tag in
  1144.     *:-:* | *:-) cat >"$ac_tmp/stdin" \
  1145.       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
  1146.     esac
  1147.     ;;
  1148.   esac
  1149.  
  1150.   ac_dir=`$as_dirname -- "$ac_file" ||
  1151. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1152.      X"$ac_file" : 'X\(//\)[^/]' \| \
  1153.      X"$ac_file" : 'X\(//\)$' \| \
  1154.      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  1155. $as_echo X"$ac_file" |
  1156.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1157.         s//\1/
  1158.         q
  1159.       }
  1160.       /^X\(\/\/\)[^/].*/{
  1161.         s//\1/
  1162.         q
  1163.       }
  1164.       /^X\(\/\/\)$/{
  1165.         s//\1/
  1166.         q
  1167.       }
  1168.       /^X\(\/\).*/{
  1169.         s//\1/
  1170.         q
  1171.       }
  1172.       s/.*/./; q'`
  1173.   as_dir="$ac_dir"; as_fn_mkdir_p
  1174.   ac_builddir=.
  1175.  
  1176. case "$ac_dir" in
  1177. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1178. *)
  1179.   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1180.   # A ".." for each directory in $ac_dir_suffix.
  1181.   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1182.   case $ac_top_builddir_sub in
  1183.   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1184.   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1185.   esac ;;
  1186. esac
  1187. ac_abs_top_builddir=$ac_pwd
  1188. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1189. # for backward compatibility:
  1190. ac_top_builddir=$ac_top_build_prefix
  1191.  
  1192. case $srcdir in
  1193.   .)  # We are building in place.
  1194.     ac_srcdir=.
  1195.     ac_top_srcdir=$ac_top_builddir_sub
  1196.     ac_abs_top_srcdir=$ac_pwd ;;
  1197.   [\\/]* | ?:[\\/]* )  # Absolute name.
  1198.     ac_srcdir=$srcdir$ac_dir_suffix;
  1199.     ac_top_srcdir=$srcdir
  1200.     ac_abs_top_srcdir=$srcdir ;;
  1201.   *) # Relative name.
  1202.     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1203.     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1204.     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1205. esac
  1206. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1207.  
  1208.  
  1209.   case $ac_mode in
  1210.   :F)
  1211.   #
  1212.   # CONFIG_FILE
  1213.   #
  1214.  
  1215.   case $INSTALL in
  1216.   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  1217.   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  1218.   esac
  1219.   ac_MKDIR_P=$MKDIR_P
  1220.   case $MKDIR_P in
  1221.   [\\/$]* | ?:[\\/]* ) ;;
  1222.   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  1223.   esac
  1224. # If the template does not know about datarootdir, expand it.
  1225. # FIXME: This hack should be removed a few years after 2.60.
  1226. ac_datarootdir_hack=; ac_datarootdir_seen=
  1227. ac_sed_dataroot='
  1228. /datarootdir/ {
  1229.  p
  1230.  q
  1231. }
  1232. /@datadir@/p
  1233. /@docdir@/p
  1234. /@infodir@/p
  1235. /@localedir@/p
  1236. /@mandir@/p'
  1237. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  1238. *datarootdir*) ac_datarootdir_seen=yes;;
  1239. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  1240.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  1241. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  1242.   ac_datarootdir_hack='
  1243.  s&@datadir@&${datarootdir}&g
  1244.  s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
  1245.  s&@infodir@&${datarootdir}/info&g
  1246.  s&@localedir@&${datarootdir}/locale&g
  1247.  s&@mandir@&${datarootdir}/man&g
  1248.  s&\${datarootdir}&${prefix}/share&g' ;;
  1249. esac
  1250. ac_sed_extra="/^[    ]*VPATH[    ]*=[    ]*/{
  1251. h
  1252. s///
  1253. s/^/:/
  1254. s/[  ]*$/:/
  1255. s/:\$(srcdir):/:/g
  1256. s/:\${srcdir}:/:/g
  1257. s/:@srcdir@:/:/g
  1258. s/^:*//
  1259. s/:*$//
  1260. x
  1261. s/\(=[   ]*\).*/\1/
  1262. G
  1263. s/\n//
  1264. s/^[^=]*=[   ]*$//
  1265. }
  1266.  
  1267. :t
  1268. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  1269. s|@configure_input@|$ac_sed_conf_input|;t t
  1270. s&@top_builddir@&$ac_top_builddir_sub&;t t
  1271. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  1272. s&@srcdir@&$ac_srcdir&;t t
  1273. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  1274. s&@top_srcdir@&$ac_top_srcdir&;t t
  1275. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  1276. s&@builddir@&$ac_builddir&;t t
  1277. s&@abs_builddir@&$ac_abs_builddir&;t t
  1278. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  1279. s&@INSTALL@&$ac_INSTALL&;t t
  1280. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  1281. $ac_datarootdir_hack
  1282. "
  1283. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  1284.   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1285.  
  1286. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  1287.   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  1288.   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
  1289.       "$ac_tmp/out"`; test -z "$ac_out"; } &&
  1290.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1291. which seems to be undefined.  Please make sure it is defined" >&5
  1292. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1293. which seems to be undefined.  Please make sure it is defined" >&2;}
  1294.  
  1295.   rm -f "$ac_tmp/stdin"
  1296.   case $ac_file in
  1297.   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  1298.   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  1299.   esac \
  1300.   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1301.  ;;
  1302.   :H)
  1303.   #
  1304.   # CONFIG_HEADER
  1305.   #
  1306.   if test x"$ac_file" != x-; then
  1307.     {
  1308.       $as_echo "/* $configure_input  */" \
  1309.       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  1310.     } >"$ac_tmp/config.h" \
  1311.       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1312.     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  1313.       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  1314. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  1315.     else
  1316.       rm -f "$ac_file"
  1317.       mv "$ac_tmp/config.h" "$ac_file" \
  1318.     || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1319.     fi
  1320.   else
  1321.     $as_echo "/* $configure_input  */" \
  1322.       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  1323.       || as_fn_error $? "could not create -" "$LINENO" 5
  1324.   fi
  1325. # Compute "$ac_file"'s index in $config_headers.
  1326. _am_arg="$ac_file"
  1327. _am_stamp_count=1
  1328. for _am_header in $config_headers :; do
  1329.   case $_am_header in
  1330.     $_am_arg | $_am_arg:* )
  1331.       break ;;
  1332.     * )
  1333.       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  1334.   esac
  1335. done
  1336. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  1337. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1338.      X"$_am_arg" : 'X\(//\)[^/]' \| \
  1339.      X"$_am_arg" : 'X\(//\)$' \| \
  1340.      X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  1341. $as_echo X"$_am_arg" |
  1342.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1343.         s//\1/
  1344.         q
  1345.       }
  1346.       /^X\(\/\/\)[^/].*/{
  1347.         s//\1/
  1348.         q
  1349.       }
  1350.       /^X\(\/\/\)$/{
  1351.         s//\1/
  1352.         q
  1353.       }
  1354.       /^X\(\/\).*/{
  1355.         s//\1/
  1356.         q
  1357.       }
  1358.       s/.*/./; q'`/stamp-h$_am_stamp_count
  1359.  ;;
  1360.  
  1361.   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  1362. $as_echo "$as_me: executing $ac_file commands" >&6;}
  1363.  ;;
  1364.   esac
  1365.  
  1366.  
  1367.   case $ac_file$ac_mode in
  1368.     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  1369.   # Autoconf 2.62 quotes --file arguments for eval, but not when files
  1370.   # are listed without --file.  Let's play safe and only enable the eval
  1371.   # if we detect the quoting.
  1372.   case $CONFIG_FILES in
  1373.   *\'*) eval set x "$CONFIG_FILES" ;;
  1374.   *)   set x $CONFIG_FILES ;;
  1375.   esac
  1376.   shift
  1377.   for mf
  1378.   do
  1379.     # Strip MF so we end up with the name of the file.
  1380.     mf=`echo "$mf" | sed -e 's/:.*$//'`
  1381.     # Check whether this is an Automake generated Makefile or not.
  1382.     # We used to match only the files named `Makefile.in', but
  1383.     # some people rename them; so instead we look at the file content.
  1384.     # Grep'ing the first line is not enough: some people post-process
  1385.     # each Makefile.in and add a new line on top of each file to say so.
  1386.     # Grep'ing the whole file is not good either: AIX grep has a line
  1387.     # limit of 2048, but all sed's we know have understand at least 4000.
  1388.     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  1389.       dirpart=`$as_dirname -- "$mf" ||
  1390. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1391.      X"$mf" : 'X\(//\)[^/]' \| \
  1392.      X"$mf" : 'X\(//\)$' \| \
  1393.      X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  1394. $as_echo X"$mf" |
  1395.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1396.         s//\1/
  1397.         q
  1398.       }
  1399.       /^X\(\/\/\)[^/].*/{
  1400.         s//\1/
  1401.         q
  1402.       }
  1403.       /^X\(\/\/\)$/{
  1404.         s//\1/
  1405.         q
  1406.       }
  1407.       /^X\(\/\).*/{
  1408.         s//\1/
  1409.         q
  1410.       }
  1411.       s/.*/./; q'`
  1412.     else
  1413.       continue
  1414.     fi
  1415.     # Extract the definition of DEPDIR, am__include, and am__quote
  1416.     # from the Makefile without running `make'.
  1417.     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  1418.     test -z "$DEPDIR" && continue
  1419.     am__include=`sed -n 's/^am__include = //p' < "$mf"`
  1420.     test -z "am__include" && continue
  1421.     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  1422.     # When using ansi2knr, U may be empty or an underscore; expand it
  1423.     U=`sed -n 's/^U = //p' < "$mf"`
  1424.     # Find all dependency output files, they are included files with
  1425.     # $(DEPDIR) in their names.  We invoke sed twice because it is the
  1426.     # simplest approach to changing $(DEPDIR) to its actual value in the
  1427.     # expansion.
  1428.     for file in `sed -n "
  1429.      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  1430.      sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  1431.       # Make sure the directory exists.
  1432.       test -f "$dirpart/$file" && continue
  1433.       fdir=`$as_dirname -- "$file" ||
  1434. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1435.      X"$file" : 'X\(//\)[^/]' \| \
  1436.      X"$file" : 'X\(//\)$' \| \
  1437.      X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  1438. $as_echo X"$file" |
  1439.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1440.         s//\1/
  1441.         q
  1442.       }
  1443.       /^X\(\/\/\)[^/].*/{
  1444.         s//\1/
  1445.         q
  1446.       }
  1447.       /^X\(\/\/\)$/{
  1448.         s//\1/
  1449.         q
  1450.       }
  1451.       /^X\(\/\).*/{
  1452.         s//\1/
  1453.         q
  1454.       }
  1455.       s/.*/./; q'`
  1456.       as_dir=$dirpart/$fdir; as_fn_mkdir_p
  1457.       # echo "creating $dirpart/$file"
  1458.       echo '# dummy' > "$dirpart/$file"
  1459.     done
  1460.   done
  1461. }
  1462.  ;;
  1463.  
  1464.   esac
  1465. done # for ac_tag
  1466.  
  1467.  
  1468. as_fn_exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement