config.status 41 KB

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