config.status 69 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344
  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. debug=false
  7. ac_cs_recheck=false
  8. ac_cs_silent=false
  9. SHELL=${CONFIG_SHELL-/bin/sh}
  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 -p'.
  261. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  262. as_ln_s='cp -p'
  263. elif ln conf$$.file conf$$ 2>/dev/null; then
  264. as_ln_s=ln
  265. else
  266. as_ln_s='cp -p'
  267. fi
  268. else
  269. as_ln_s='cp -p'
  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. if test -x / >/dev/null 2>&1; then
  324. as_test_x='test -x'
  325. else
  326. if ls -dL / >/dev/null 2>&1; then
  327. as_ls_L_option=L
  328. else
  329. as_ls_L_option=
  330. fi
  331. as_test_x='
  332. eval sh -c '\''
  333. if test -d "$1"; then
  334. test -d "$1/.";
  335. else
  336. case $1 in #(
  337. -*)set "./$1";;
  338. esac;
  339. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  340. ???[sx]*):;;*)false;;esac;fi
  341. '\'' sh
  342. '
  343. fi
  344. as_executable_p=$as_test_x
  345. # Sed expression to map a string onto a valid CPP name.
  346. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  347. # Sed expression to map a string onto a valid variable name.
  348. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  349. exec 6>&1
  350. ## ----------------------------------- ##
  351. ## Main body of $CONFIG_STATUS script. ##
  352. ## ----------------------------------- ##
  353. # Save the log message, to keep $0 and so on meaningful, and to
  354. # report actual input values of CONFIG_FILES etc. instead of their
  355. # values after options handling.
  356. ac_log="
  357. This file was extended by cgminer $as_me 4.3.5-scrypt.2, which was
  358. generated by GNU Autoconf 2.68. Invocation command line was
  359. CONFIG_FILES = $CONFIG_FILES
  360. CONFIG_HEADERS = $CONFIG_HEADERS
  361. CONFIG_LINKS = $CONFIG_LINKS
  362. CONFIG_COMMANDS = $CONFIG_COMMANDS
  363. $ $0 $@
  364. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  365. "
  366. # Files that config.status was made for.
  367. config_files=" Makefile compat/Makefile ccan/Makefile lib/Makefile"
  368. config_headers=" config.h"
  369. config_commands=" depfiles libtool"
  370. ac_cs_usage="\
  371. \`$as_me' instantiates files and other configuration actions
  372. from templates according to the current configuration. Unless the files
  373. and actions are specified as TAGs, all are instantiated by default.
  374. Usage: $0 [OPTION]... [TAG]...
  375. -h, --help print this help, then exit
  376. -V, --version print version number and configuration settings, then exit
  377. --config print configuration, then exit
  378. -q, --quiet, --silent
  379. do not print progress messages
  380. -d, --debug don't remove temporary files
  381. --recheck update $as_me by reconfiguring in the same conditions
  382. --file=FILE[:TEMPLATE]
  383. instantiate the configuration file FILE
  384. --header=FILE[:TEMPLATE]
  385. instantiate the configuration header FILE
  386. Configuration files:
  387. $config_files
  388. Configuration headers:
  389. $config_headers
  390. Configuration commands:
  391. $config_commands
  392. Report bugs to <kernel@kolivas.org>."
  393. ac_cs_config="'--enable-scrypt' '--enable-lketc' '--enable-zeus'"
  394. ac_cs_version="\
  395. cgminer config.status 4.3.5-scrypt.2
  396. configured by ./configure, generated by GNU Autoconf 2.68,
  397. with options \"$ac_cs_config\"
  398. Copyright (C) 2010 Free Software Foundation, Inc.
  399. This config.status script is free software; the Free Software Foundation
  400. gives unlimited permission to copy, distribute and modify it."
  401. ac_pwd='/home/cross/code'
  402. srcdir='.'
  403. INSTALL='/bin/install -c'
  404. MKDIR_P='/bin/mkdir -p'
  405. AWK='gawk'
  406. test -n "$AWK" || AWK=awk
  407. # The default lists apply if the user does not specify any file.
  408. ac_need_defaults=:
  409. while test $# != 0
  410. do
  411. case $1 in
  412. --*=?*)
  413. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  414. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  415. ac_shift=:
  416. ;;
  417. --*=)
  418. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  419. ac_optarg=
  420. ac_shift=:
  421. ;;
  422. *)
  423. ac_option=$1
  424. ac_optarg=$2
  425. ac_shift=shift
  426. ;;
  427. esac
  428. case $ac_option in
  429. # Handling of the options.
  430. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  431. ac_cs_recheck=: ;;
  432. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  433. $as_echo "$ac_cs_version"; exit ;;
  434. --config | --confi | --conf | --con | --co | --c )
  435. $as_echo "$ac_cs_config"; exit ;;
  436. --debug | --debu | --deb | --de | --d | -d )
  437. debug=: ;;
  438. --file | --fil | --fi | --f )
  439. $ac_shift
  440. case $ac_optarg in
  441. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  442. '') as_fn_error $? "missing file argument" ;;
  443. esac
  444. as_fn_append CONFIG_FILES " '$ac_optarg'"
  445. ac_need_defaults=false;;
  446. --header | --heade | --head | --hea )
  447. $ac_shift
  448. case $ac_optarg in
  449. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  450. esac
  451. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  452. ac_need_defaults=false;;
  453. --he | --h)
  454. # Conflict between --help and --header
  455. as_fn_error $? "ambiguous option: \`$1'
  456. Try \`$0 --help' for more information.";;
  457. --help | --hel | -h )
  458. $as_echo "$ac_cs_usage"; exit ;;
  459. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  460. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  461. ac_cs_silent=: ;;
  462. # This is an error.
  463. -*) as_fn_error $? "unrecognized option: \`$1'
  464. Try \`$0 --help' for more information." ;;
  465. *) as_fn_append ac_config_targets " $1"
  466. ac_need_defaults=false ;;
  467. esac
  468. shift
  469. done
  470. ac_configure_extra_args=
  471. if $ac_cs_silent; then
  472. exec 6>/dev/null
  473. ac_configure_extra_args="$ac_configure_extra_args --silent"
  474. fi
  475. if $ac_cs_recheck; then
  476. set X '/bin/sh' './configure' '--enable-scrypt' '--enable-lketc' '--enable-zeus' $ac_configure_extra_args --no-create --no-recursion
  477. shift
  478. $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
  479. CONFIG_SHELL='/bin/sh'
  480. export CONFIG_SHELL
  481. exec "$@"
  482. fi
  483. exec 5>>config.log
  484. {
  485. echo
  486. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  487. ## Running $as_me. ##
  488. _ASBOX
  489. $as_echo "$ac_log"
  490. } >&5
  491. #
  492. # INIT-COMMANDS
  493. #
  494. AMDEP_TRUE="" ac_aux_dir="."
  495. # The HP-UX ksh and POSIX shell print the target directory to stdout
  496. # if CDPATH is set.
  497. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  498. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  499. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  500. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  501. macro_version='2.4'
  502. macro_revision='1.3294'
  503. enable_shared='no'
  504. enable_static='yes'
  505. pic_mode='default'
  506. enable_fast_install='needless'
  507. SHELL='/bin/sh'
  508. ECHO='printf %s\n'
  509. host_alias=''
  510. host='i686-pc-mingw32'
  511. host_os='mingw32'
  512. build_alias=''
  513. build='i686-pc-mingw32'
  514. build_os='mingw32'
  515. SED='/bin/sed'
  516. Xsed='/bin/sed -e 1s/^X//'
  517. GREP='/bin/grep'
  518. EGREP='/bin/grep -E'
  519. FGREP='/bin/grep -F'
  520. LD='c:/mingw/mingw32/bin/ld.exe'
  521. NM='/mingw/bin/nm'
  522. LN_S='cp -p'
  523. max_cmd_len='8192'
  524. ac_objext='o'
  525. exeext=''
  526. lt_unset='unset'
  527. lt_SP2NL='tr \040 \012'
  528. lt_NL2SP='tr \015\012 \040\040'
  529. lt_cv_to_host_file_cmd='func_convert_file_msys_to_w32'
  530. lt_cv_to_tool_file_cmd='func_convert_file_msys_to_w32'
  531. reload_flag=' -r'
  532. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  533. OBJDUMP='objdump'
  534. deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  535. file_magic_cmd='func_win32_libid'
  536. file_magic_glob=''
  537. want_nocaseglob='yes'
  538. DLLTOOL='dlltool'
  539. sharedlib_from_linklib_cmd='func_cygming_dll_for_implib'
  540. AR='ar'
  541. AR_FLAGS='cru'
  542. archiver_list_spec='@'
  543. STRIP='strip'
  544. RANLIB='ranlib'
  545. old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib'
  546. old_postuninstall_cmds=''
  547. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
  548. lock_old_archive_extraction='no'
  549. CC='gcc'
  550. CFLAGS='-g -O2'
  551. compiler='gcc'
  552. GCC='yes'
  553. lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\) \{0,1\}$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
  554. lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
  555. lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
  556. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
  557. nm_file_list_spec='@'
  558. lt_sysroot=''
  559. objdir='.libs'
  560. MAGIC_CMD='file'
  561. lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  562. lt_prog_compiler_pic=' -DDLL_EXPORT -DPIC'
  563. lt_prog_compiler_wl='-Wl,'
  564. lt_prog_compiler_static='-static'
  565. lt_cv_prog_compiler_c_o='yes'
  566. need_locks='no'
  567. MANIFEST_TOOL=':'
  568. DSYMUTIL=''
  569. NMEDIT=''
  570. LIPO=''
  571. OTOOL=''
  572. OTOOL64=''
  573. libext='a'
  574. shrext_cmds='.dll'
  575. extract_expsyms_cmds=''
  576. archive_cmds_need_lc='yes'
  577. enable_shared_with_static_runtimes='yes'
  578. export_dynamic_flag_spec='${wl}--export-all-symbols'
  579. whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  580. compiler_needs_object='no'
  581. old_archive_from_new_cmds=''
  582. old_archive_from_expsyms_cmds=''
  583. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  584. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  585. cp $export_symbols $output_objdir/$soname.def;
  586. else
  587. echo EXPORTS > $output_objdir/$soname.def;
  588. cat $export_symbols >> $output_objdir/$soname.def;
  589. fi~
  590. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  591. module_cmds=''
  592. module_expsym_cmds=''
  593. with_gnu_ld='yes'
  594. allow_undefined_flag='unsupported'
  595. no_undefined_flag=''
  596. hardcode_libdir_flag_spec='-L$libdir'
  597. hardcode_libdir_flag_spec_ld=''
  598. hardcode_libdir_separator=''
  599. hardcode_direct='no'
  600. hardcode_direct_absolute='no'
  601. hardcode_minus_L='no'
  602. hardcode_shlibpath_var='unsupported'
  603. hardcode_automatic='no'
  604. inherit_rpath='no'
  605. link_all_deplibs='unknown'
  606. always_export_symbols='no'
  607. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  608. exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  609. include_expsyms=''
  610. prelink_cmds=''
  611. postlink_cmds=''
  612. file_list_spec=''
  613. variables_saved_for_relink='PATH PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
  614. need_lib_prefix='no'
  615. need_version='no'
  616. version_type='windows'
  617. runpath_var='LD_RUN_PATH'
  618. shlibpath_var='PATH'
  619. shlibpath_overrides_runpath='yes'
  620. libname_spec='lib$name'
  621. library_names_spec='$libname.dll.a'
  622. soname_spec='${libname}`echo ${release} | $SED -e s/[.]/-/g`${versuffix}${shared_ext}'
  623. install_override_mode=''
  624. postinstall_cmds='base_file=`basename \${file}`~
  625. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  626. dldir=$destdir/`dirname \$dlpath`~
  627. test -d \$dldir || mkdir -p \$dldir~
  628. $install_prog $dir/$dlname \$dldir/$dlname~
  629. chmod a+x \$dldir/$dlname~
  630. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  631. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  632. fi'
  633. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  634. dlpath=$dir/\$dldll~
  635. $RM \$dlpath'
  636. finish_cmds=''
  637. finish_eval=''
  638. hardcode_into_libs='no'
  639. sys_lib_search_path_spec='c:/mingw/lib/gcc/mingw32/6.3.0 c:/mingw/lib/gcc c:/mingw/mingw32/lib c:/mingw/lib /lib /usr/lib '
  640. sys_lib_dlsearch_path_spec='/lib /usr/lib'
  641. hardcode_action='immediate'
  642. enable_dlopen='unknown'
  643. enable_dlopen_self='unknown'
  644. enable_dlopen_self_static='unknown'
  645. old_striplib='strip --strip-debug'
  646. striplib='strip --strip-unneeded'
  647. LTCC='gcc'
  648. LTCFLAGS='-g -O2'
  649. compiler='gcc'
  650. # A function that is used when there is no print builtin or printf.
  651. func_fallback_echo ()
  652. {
  653. eval 'cat <<_LTECHO_EOF
  654. $1
  655. _LTECHO_EOF'
  656. }
  657. # Quote evaled strings.
  658. for var in SHELL ECHO SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd file_magic_glob want_nocaseglob DLLTOOL sharedlib_from_linklib_cmd AR AR_FLAGS archiver_list_spec STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix nm_file_list_spec lt_prog_compiler_no_builtin_flag lt_prog_compiler_pic lt_prog_compiler_wl lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks MANIFEST_TOOL DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_flag_spec_ld hardcode_libdir_separator exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec install_override_mode finish_eval old_striplib striplib; do
  659. case `eval \\$ECHO \\""\\$$var"\\"` in
  660. *[\\\`\"\$]*)
  661. eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\""
  662. ;;
  663. *)
  664. eval "lt_$var=\\\"\$$var\\\""
  665. ;;
  666. esac
  667. done
  668. # Double-quote double-evaled strings.
  669. for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postlink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec; do
  670. case `eval \\$ECHO \\""\\$$var"\\"` in
  671. *[\\\`\"\$]*)
  672. eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  673. ;;
  674. *)
  675. eval "lt_$var=\\\"\$$var\\\""
  676. ;;
  677. esac
  678. done
  679. ac_aux_dir='.'
  680. xsi_shell='yes'
  681. lt_shell_append='yes'
  682. # See if we are running on zsh, and set the options which allow our
  683. # commands through without removal of \ escapes INIT.
  684. if test -n "${ZSH_VERSION+set}" ; then
  685. setopt NO_GLOB_SUBST
  686. fi
  687. PACKAGE='cgminer'
  688. VERSION='4.3.5-scrypt.2'
  689. TIMESTAMP=''
  690. RM='rm -f'
  691. ofile='libtool'
  692. # Handling of arguments.
  693. for ac_config_target in $ac_config_targets
  694. do
  695. case $ac_config_target in
  696. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  697. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  698. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  699. "") CONFIG_FILES="$CONFIG_FILES " ;;
  700. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  701. "compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;;
  702. "ccan/Makefile") CONFIG_FILES="$CONFIG_FILES ccan/Makefile" ;;
  703. "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
  704. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
  705. esac
  706. done
  707. # If the user did not use the arguments to specify the items to instantiate,
  708. # then the envvar interface is used. Set only those that are not.
  709. # We use the long form for the default assignment because of an extremely
  710. # bizarre bug on SunOS 4.1.3.
  711. if $ac_need_defaults; then
  712. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  713. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  714. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  715. fi
  716. # Have a temporary directory for convenience. Make it in the build tree
  717. # simply because there is no reason against having it here, and in addition,
  718. # creating and moving files from /tmp can sometimes cause problems.
  719. # Hook for its removal unless debugging.
  720. # Note that there is a small window in which the directory will not be cleaned:
  721. # after its creation but before its name has been assigned to `$tmp'.
  722. $debug ||
  723. {
  724. tmp= ac_tmp=
  725. trap 'exit_status=$?
  726. : "${ac_tmp:=$tmp}"
  727. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  728. ' 0
  729. trap 'as_fn_exit 1' 1 2 13 15
  730. }
  731. # Create a (secure) tmp directory for tmp files.
  732. {
  733. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  734. test -d "$tmp"
  735. } ||
  736. {
  737. tmp=./conf$$-$RANDOM
  738. (umask 077 && mkdir "$tmp")
  739. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  740. ac_tmp=$tmp
  741. # Set up the scripts for CONFIG_FILES section.
  742. # No need to generate them if there are no CONFIG_FILES.
  743. # This happens for instance with `./config.status config.h'.
  744. if test -n "$CONFIG_FILES"; then
  745. ac_cr=`echo X | tr X '\015'`
  746. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  747. # But we know of no other shell where ac_cr would be empty at this
  748. # point, so we can use a bashism as a fallback.
  749. if test "x$ac_cr" = x; then
  750. eval ac_cr=\$\'\\r\'
  751. fi
  752. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  753. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  754. ac_cs_awk_cr='\\r'
  755. else
  756. ac_cs_awk_cr=$ac_cr
  757. fi
  758. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  759. cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
  760. S["gltests_LTLIBOBJS"]=""
  761. S["gltests_LIBOBJS"]=""
  762. S["gl_LTLIBOBJS"]=" memmem.lo sigaction.lo sigprocmask.lo"
  763. S["gl_LIBOBJS"]=" memmem.o sigaction.o sigprocmask.o"
  764. S["am__EXEEXT_FALSE"]="#"
  765. S["am__EXEEXT_TRUE"]=""
  766. S["LTLIBOBJS"]=""
  767. S["LIBOBJS"]=""
  768. S["RT_LIBS"]=""
  769. S["MATH_LIBS"]="-lm"
  770. S["MM_LIBS"]="-lwinmm"
  771. S["WS2_LIBS"]="-lws2_32"
  772. S["PDCURSES_LIBS"]=""
  773. S["NCURSES_LIBS"]=""
  774. S["PTHREAD_LIBS"]="-lpthread"
  775. S["DLOPEN_FLAGS"]=""
  776. S["PTHREAD_FLAGS"]=""
  777. S["JANSSON_LIBS"]="compat/jansson-2.5/src/.libs/libjansson.a"
  778. S["LIBCURL_LIBS"]="-LC:/MinGW/lib -lcurl -lcurldll "
  779. S["LIBCURL_CFLAGS"]="@CPPFLAG_CURL_STATICLIB@ -IC:/MinGW/include "
  780. S["LIBUDEV_LIBS"]=""
  781. S["WANT_STATIC_LIBUSB_FALSE"]="#"
  782. S["WANT_STATIC_LIBUSB_TRUE"]=""
  783. S["subdirs"]=" compat/libusb-1.0 compat/jansson-2.5"
  784. S["LIBUSB_LIBS"]="compat/libusb-1.0/libusb/.libs/libusb-1.0.a"
  785. S["LIBUSB_CFLAGS"]=""
  786. S["PKG_CONFIG_LIBDIR"]=""
  787. S["PKG_CONFIG_PATH"]=""
  788. S["PKG_CONFIG"]="/mingw/bin/pkg-config"
  789. S["HAVE_x86_64_FALSE"]=""
  790. S["HAVE_x86_64_TRUE"]="#"
  791. S["HAVE_WINDOWS_FALSE"]="#"
  792. S["HAVE_WINDOWS_TRUE"]=""
  793. S["HAVE_CURSES_FALSE"]="#"
  794. S["HAVE_CURSES_TRUE"]=""
  795. S["WANT_LIBBITFURY_FALSE"]=""
  796. S["WANT_LIBBITFURY_TRUE"]="#"
  797. S["WANT_USBUTILS_FALSE"]="#"
  798. S["WANT_USBUTILS_TRUE"]=""
  799. S["NEED_FPGAUTILS_FALSE"]="#"
  800. S["NEED_FPGAUTILS_TRUE"]=""
  801. S["HAS_LKETC_FALSE"]="#"
  802. S["HAS_LKETC_TRUE"]=""
  803. S["HAS_ZEUS_FALSE"]="#"
  804. S["HAS_ZEUS_TRUE"]=""
  805. S["HAS_GRIDSEED_FALSE"]=""
  806. S["HAS_GRIDSEED_TRUE"]="#"
  807. S["HAS_SPONDOOLIES_FALSE"]=""
  808. S["HAS_SPONDOOLIES_TRUE"]="#"
  809. S["HAS_MODMINER_FALSE"]=""
  810. S["HAS_MODMINER_TRUE"]="#"
  811. S["HAS_MINION_FALSE"]=""
  812. S["HAS_MINION_TRUE"]="#"
  813. S["HAS_AVALON2_FALSE"]=""
  814. S["HAS_AVALON2_TRUE"]="#"
  815. S["HAS_KNC_FALSE"]=""
  816. S["HAS_KNC_TRUE"]="#"
  817. S["HAS_KLONDIKE_FALSE"]=""
  818. S["HAS_KLONDIKE_TRUE"]="#"
  819. S["HAS_ICARUS_FALSE"]=""
  820. S["HAS_ICARUS_TRUE"]="#"
  821. S["HAS_HASHFAST_FALSE"]=""
  822. S["HAS_HASHFAST_TRUE"]="#"
  823. S["HAS_DRILLBIT_FALSE"]=""
  824. S["HAS_DRILLBIT_TRUE"]="#"
  825. S["HAS_BITMINE_A1_FALSE"]=""
  826. S["HAS_BITMINE_A1_TRUE"]="#"
  827. S["HAS_COINTERRA_FALSE"]=""
  828. S["HAS_COINTERRA_TRUE"]="#"
  829. S["HAS_BITFURY_FALSE"]=""
  830. S["HAS_BITFURY_TRUE"]="#"
  831. S["HAS_BITFORCE_FALSE"]=""
  832. S["HAS_BITFORCE_TRUE"]="#"
  833. S["HAS_BFLSC_FALSE"]=""
  834. S["HAS_BFLSC_TRUE"]="#"
  835. S["HAS_BAB_FALSE"]=""
  836. S["HAS_BAB_TRUE"]="#"
  837. S["HAS_AVALON_FALSE"]=""
  838. S["HAS_AVALON_TRUE"]="#"
  839. S["HAS_ANT_S2_FALSE"]=""
  840. S["HAS_ANT_S2_TRUE"]="#"
  841. S["HAS_ANT_S1_FALSE"]=""
  842. S["HAS_ANT_S1_TRUE"]="#"
  843. S["HAS_SCRYPT_FALSE"]="#"
  844. S["HAS_SCRYPT_TRUE"]=""
  845. S["ALLOCA"]=""
  846. S["LIBGNU_LTLIBDEPS"]=""
  847. S["LIBGNU_LIBDEPS"]=""
  848. S["gltests_WITNESS"]="IN_CGMINER_GNULIB_TESTS"
  849. S["NEXT_AS_FIRST_DIRECTIVE_STRING_H"]="<string.h>"
  850. S["NEXT_STRING_H"]="<string.h>"
  851. S["GL_GENERATE_STDINT_H_FALSE"]=""
  852. S["GL_GENERATE_STDINT_H_TRUE"]="#"
  853. S["STDINT_H"]=""
  854. S["WINT_T_SUFFIX"]=""
  855. S["WCHAR_T_SUFFIX"]=""
  856. S["SIG_ATOMIC_T_SUFFIX"]=""
  857. S["SIZE_T_SUFFIX"]=""
  858. S["PTRDIFF_T_SUFFIX"]=""
  859. S["HAVE_SIGNED_WINT_T"]=""
  860. S["HAVE_SIGNED_WCHAR_T"]=""
  861. S["HAVE_SIGNED_SIG_ATOMIC_T"]=""
  862. S["BITSIZEOF_WINT_T"]=""
  863. S["BITSIZEOF_WCHAR_T"]=""
  864. S["BITSIZEOF_SIG_ATOMIC_T"]=""
  865. S["BITSIZEOF_SIZE_T"]=""
  866. S["BITSIZEOF_PTRDIFF_T"]=""
  867. S["HAVE_SYS_BITYPES_H"]=""
  868. S["HAVE_SYS_INTTYPES_H"]=""
  869. S["HAVE_STDINT_H"]="1"
  870. S["NEXT_AS_FIRST_DIRECTIVE_STDINT_H"]="<stdint.h>"
  871. S["NEXT_STDINT_H"]="<stdint.h>"
  872. S["HAVE_SYS_TYPES_H"]="1"
  873. S["HAVE_INTTYPES_H"]="1"
  874. S["HAVE_WCHAR_H"]="1"
  875. S["HAVE_UNSIGNED_LONG_LONG_INT"]="1"
  876. S["HAVE_LONG_LONG_INT"]="1"
  877. S["NEXT_AS_FIRST_DIRECTIVE_STDDEF_H"]=""
  878. S["NEXT_STDDEF_H"]=""
  879. S["GL_GENERATE_STDDEF_H_FALSE"]=""
  880. S["GL_GENERATE_STDDEF_H_TRUE"]="#"
  881. S["STDDEF_H"]=""
  882. S["HAVE_WCHAR_T"]="1"
  883. S["REPLACE_NULL"]="0"
  884. S["NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H"]="<signal.h>"
  885. S["NEXT_SIGNAL_H"]="<signal.h>"
  886. S["PRAGMA_COLUMNS"]=""
  887. S["PRAGMA_SYSTEM_HEADER"]="#pragma GCC system_header"
  888. S["INCLUDE_NEXT_AS_FIRST_DIRECTIVE"]="include_next"
  889. S["INCLUDE_NEXT"]="include_next"
  890. S["HAVE_SIGHANDLER_T"]="0"
  891. S["HAVE_TYPE_VOLATILE_SIG_ATOMIC_T"]="1"
  892. S["HAVE_STRUCT_SIGACTION_SA_SIGACTION"]="1"
  893. S["HAVE_SIGACTION"]="0"
  894. S["HAVE_SIGINFO_T"]="0"
  895. S["HAVE_SIGSET_T"]="1"
  896. S["HAVE_POSIX_SIGNALBLOCKING"]="0"
  897. S["GNULIB_SIGACTION"]="1"
  898. S["GNULIB_SIGPROCMASK"]="1"
  899. S["GNULIB_SIGNAL_H_SIGPIPE"]="0"
  900. S["APPLE_UNIVERSAL_BUILD"]="0"
  901. S["UNDEFINE_STRTOK_R"]="0"
  902. S["REPLACE_STRTOK_R"]="0"
  903. S["REPLACE_STRSIGNAL"]="0"
  904. S["REPLACE_STRNLEN"]="0"
  905. S["REPLACE_STRNDUP"]="0"
  906. S["REPLACE_STRNCAT"]="0"
  907. S["REPLACE_STRERROR_R"]="0"
  908. S["REPLACE_STRERROR"]="0"
  909. S["REPLACE_STRCHRNUL"]="0"
  910. S["REPLACE_STRCASESTR"]="0"
  911. S["REPLACE_STRSTR"]="0"
  912. S["REPLACE_STRDUP"]="0"
  913. S["REPLACE_STPNCPY"]="0"
  914. S["REPLACE_MEMMEM"]="0"
  915. S["REPLACE_MEMCHR"]="0"
  916. S["HAVE_STRVERSCMP"]="1"
  917. S["HAVE_DECL_STRSIGNAL"]="1"
  918. S["HAVE_DECL_STRERROR_R"]="1"
  919. S["HAVE_DECL_STRTOK_R"]="1"
  920. S["HAVE_STRCASESTR"]="1"
  921. S["HAVE_STRSEP"]="1"
  922. S["HAVE_STRPBRK"]="1"
  923. S["HAVE_DECL_STRNLEN"]="1"
  924. S["HAVE_DECL_STRNDUP"]="1"
  925. S["HAVE_DECL_STRDUP"]="1"
  926. S["HAVE_STRCHRNUL"]="1"
  927. S["HAVE_STPNCPY"]="1"
  928. S["HAVE_STPCPY"]="1"
  929. S["HAVE_RAWMEMCHR"]="1"
  930. S["HAVE_DECL_MEMRCHR"]="1"
  931. S["HAVE_MEMPCPY"]="1"
  932. S["HAVE_DECL_MEMMEM"]="0"
  933. S["HAVE_MEMCHR"]="1"
  934. S["HAVE_MBSLEN"]="0"
  935. S["GNULIB_STRVERSCMP"]="0"
  936. S["GNULIB_STRSIGNAL"]="0"
  937. S["GNULIB_STRERROR_R"]="0"
  938. S["GNULIB_STRERROR"]="0"
  939. S["GNULIB_MBSTOK_R"]="0"
  940. S["GNULIB_MBSSEP"]="0"
  941. S["GNULIB_MBSSPN"]="0"
  942. S["GNULIB_MBSPBRK"]="0"
  943. S["GNULIB_MBSCSPN"]="0"
  944. S["GNULIB_MBSCASESTR"]="0"
  945. S["GNULIB_MBSPCASECMP"]="0"
  946. S["GNULIB_MBSNCASECMP"]="0"
  947. S["GNULIB_MBSCASECMP"]="0"
  948. S["GNULIB_MBSSTR"]="0"
  949. S["GNULIB_MBSRCHR"]="0"
  950. S["GNULIB_MBSCHR"]="0"
  951. S["GNULIB_MBSNLEN"]="0"
  952. S["GNULIB_MBSLEN"]="0"
  953. S["GNULIB_STRTOK_R"]="0"
  954. S["GNULIB_STRCASESTR"]="0"
  955. S["GNULIB_STRSTR"]="0"
  956. S["GNULIB_STRSEP"]="0"
  957. S["GNULIB_STRPBRK"]="0"
  958. S["GNULIB_STRNLEN"]="0"
  959. S["GNULIB_STRNDUP"]="0"
  960. S["GNULIB_STRNCAT"]="0"
  961. S["GNULIB_STRDUP"]="0"
  962. S["GNULIB_STRCHRNUL"]="0"
  963. S["GNULIB_STPNCPY"]="0"
  964. S["GNULIB_STPCPY"]="0"
  965. S["GNULIB_RAWMEMCHR"]="0"
  966. S["GNULIB_MEMRCHR"]="0"
  967. S["GNULIB_MEMPCPY"]="0"
  968. S["GNULIB_MEMMEM"]="1"
  969. S["GNULIB_MEMCHR"]="1"
  970. S["GL_COND_LIBTOOL_FALSE"]=""
  971. S["GL_COND_LIBTOOL_TRUE"]="#"
  972. S["OTOOL64"]=""
  973. S["OTOOL"]=""
  974. S["LIPO"]=""
  975. S["NMEDIT"]=""
  976. S["DSYMUTIL"]=""
  977. S["MANIFEST_TOOL"]=":"
  978. S["ac_ct_AR"]="ar"
  979. S["AR"]="ar"
  980. S["DLLTOOL"]="dlltool"
  981. S["OBJDUMP"]="objdump"
  982. S["LN_S"]="cp -p"
  983. S["NM"]="/mingw/bin/nm"
  984. S["ac_ct_DUMPBIN"]=""
  985. S["DUMPBIN"]=""
  986. S["LD"]="c:/mingw/mingw32/bin/ld.exe"
  987. S["FGREP"]="/bin/grep -F"
  988. S["SED"]="/bin/sed"
  989. S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
  990. S["RANLIB"]="ranlib"
  991. S["MAINT"]="#"
  992. S["MAINTAINER_MODE_FALSE"]=""
  993. S["MAINTAINER_MODE_TRUE"]="#"
  994. S["VMAJ"]="4"
  995. S["release_info"]=""
  996. S["version_info"]="7:5:3"
  997. S["EGREP"]="/bin/grep -E"
  998. S["GREP"]="/bin/grep"
  999. S["CPP"]="gcc -E"
  1000. S["am__fastdepCC_FALSE"]="#"
  1001. S["am__fastdepCC_TRUE"]=""
  1002. S["CCDEPMODE"]="depmode=gcc3"
  1003. S["AMDEPBACKSLASH"]="\\"
  1004. S["AMDEP_FALSE"]="#"
  1005. S["AMDEP_TRUE"]=""
  1006. S["am__quote"]=""
  1007. S["am__include"]="include"
  1008. S["DEPDIR"]=".deps"
  1009. S["OBJEXT"]="o"
  1010. S["EXEEXT"]=".exe"
  1011. S["ac_ct_CC"]="gcc"
  1012. S["CPPFLAGS"]=""
  1013. S["LDFLAGS"]=""
  1014. S["CFLAGS"]="-g -O2"
  1015. S["CC"]="gcc"
  1016. S["AM_BACKSLASH"]="\\"
  1017. S["AM_DEFAULT_VERBOSITY"]="0"
  1018. S["am__untar"]="${AMTAR} xf -"
  1019. S["am__tar"]="${AMTAR} chof - \"$$tardir\""
  1020. S["AMTAR"]="${SHELL} /home/cross/code/missing --run tar"
  1021. S["am__leading_dot"]="."
  1022. S["SET_MAKE"]=""
  1023. S["AWK"]="gawk"
  1024. S["mkdir_p"]="/bin/mkdir -p"
  1025. S["MKDIR_P"]="/bin/mkdir -p"
  1026. S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
  1027. S["STRIP"]="strip"
  1028. S["install_sh"]="${SHELL} /home/cross/code/install-sh"
  1029. S["MAKEINFO"]="${SHELL} /home/cross/code/missing --run makeinfo"
  1030. S["AUTOHEADER"]="${SHELL} /home/cross/code/missing --run autoheader"
  1031. S["AUTOMAKE"]="${SHELL} /home/cross/code/missing --run automake-1.11"
  1032. S["AUTOCONF"]="${SHELL} /home/cross/code/missing --run autoconf"
  1033. S["ACLOCAL"]="${SHELL} /home/cross/code/missing --run aclocal-1.11"
  1034. S["VERSION"]="4.3.5-scrypt.2"
  1035. S["PACKAGE"]="cgminer"
  1036. S["CYGPATH_W"]="echo"
  1037. S["am__isrc"]=""
  1038. S["INSTALL_DATA"]="${INSTALL} -m 644"
  1039. S["INSTALL_SCRIPT"]="${INSTALL}"
  1040. S["INSTALL_PROGRAM"]="${INSTALL}"
  1041. S["target_os"]="mingw32"
  1042. S["target_vendor"]="pc"
  1043. S["target_cpu"]="i686"
  1044. S["target"]="i686-pc-mingw32"
  1045. S["host_os"]="mingw32"
  1046. S["host_vendor"]="pc"
  1047. S["host_cpu"]="i686"
  1048. S["host"]="i686-pc-mingw32"
  1049. S["build_os"]="mingw32"
  1050. S["build_vendor"]="pc"
  1051. S["build_cpu"]="i686"
  1052. S["build"]="i686-pc-mingw32"
  1053. S["target_alias"]=""
  1054. S["host_alias"]=""
  1055. S["build_alias"]=""
  1056. S["LIBS"]="-lpdcurses -lpthread "
  1057. S["ECHO_T"]=""
  1058. S["ECHO_N"]="-n"
  1059. S["ECHO_C"]=""
  1060. S["DEFS"]="-DHAVE_CONFIG_H"
  1061. S["mandir"]="${datarootdir}/man"
  1062. S["localedir"]="${datarootdir}/locale"
  1063. S["libdir"]="${exec_prefix}/lib"
  1064. S["psdir"]="${docdir}"
  1065. S["pdfdir"]="${docdir}"
  1066. S["dvidir"]="${docdir}"
  1067. S["htmldir"]="${docdir}"
  1068. S["infodir"]="${datarootdir}/info"
  1069. S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
  1070. S["oldincludedir"]="/usr/include"
  1071. S["includedir"]="${prefix}/include"
  1072. S["localstatedir"]="${prefix}/var"
  1073. S["sharedstatedir"]="${prefix}/com"
  1074. S["sysconfdir"]="${prefix}/etc"
  1075. S["datadir"]="${datarootdir}"
  1076. S["datarootdir"]="${prefix}/share"
  1077. S["libexecdir"]="${exec_prefix}/libexec"
  1078. S["sbindir"]="${exec_prefix}/sbin"
  1079. S["bindir"]="${exec_prefix}/bin"
  1080. S["program_transform_name"]="s,x,x,"
  1081. S["prefix"]="/usr/local"
  1082. S["exec_prefix"]="${prefix}"
  1083. S["PACKAGE_URL"]=""
  1084. S["PACKAGE_BUGREPORT"]="kernel@kolivas.org"
  1085. S["PACKAGE_STRING"]="cgminer 4.3.5-scrypt.2"
  1086. S["PACKAGE_VERSION"]="4.3.5-scrypt.2"
  1087. S["PACKAGE_TARNAME"]="cgminer"
  1088. S["PACKAGE_NAME"]="cgminer"
  1089. S["PATH_SEPARATOR"]=":"
  1090. S["SHELL"]="/bin/sh"
  1091. _ACAWK
  1092. cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
  1093. for (key in S) S_is_set[key] = 1
  1094. FS = ""
  1095. }
  1096. {
  1097. line = $ 0
  1098. nfields = split(line, field, "@")
  1099. substed = 0
  1100. len = length(field[1])
  1101. for (i = 2; i < nfields; i++) {
  1102. key = field[i]
  1103. keylen = length(key)
  1104. if (S_is_set[key]) {
  1105. value = S[key]
  1106. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  1107. len += length(value) + length(field[++i])
  1108. substed = 1
  1109. } else
  1110. len += 1 + keylen
  1111. }
  1112. print line
  1113. }
  1114. _ACAWK
  1115. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  1116. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  1117. else
  1118. cat
  1119. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  1120. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  1121. fi # test -n "$CONFIG_FILES"
  1122. # Set up the scripts for CONFIG_HEADERS section.
  1123. # No need to generate them if there are no CONFIG_HEADERS.
  1124. # This happens for instance with `./config.status Makefile'.
  1125. if test -n "$CONFIG_HEADERS"; then
  1126. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  1127. BEGIN {
  1128. D["PACKAGE_NAME"]=" \"cgminer\""
  1129. D["PACKAGE_TARNAME"]=" \"cgminer\""
  1130. D["PACKAGE_VERSION"]=" \"4.3.5-scrypt.2\""
  1131. D["PACKAGE_STRING"]=" \"cgminer 4.3.5-scrypt.2\""
  1132. D["PACKAGE_BUGREPORT"]=" \"kernel@kolivas.org\""
  1133. D["PACKAGE_URL"]=" \"\""
  1134. D["PACKAGE"]=" \"cgminer\""
  1135. D["VERSION"]=" \"4.3.5-scrypt.2\""
  1136. D["STDC_HEADERS"]=" 1"
  1137. D["HAVE_SYS_TYPES_H"]=" 1"
  1138. D["HAVE_SYS_STAT_H"]=" 1"
  1139. D["HAVE_STDLIB_H"]=" 1"
  1140. D["HAVE_STRING_H"]=" 1"
  1141. D["HAVE_MEMORY_H"]=" 1"
  1142. D["HAVE_STRINGS_H"]=" 1"
  1143. D["HAVE_INTTYPES_H"]=" 1"
  1144. D["HAVE_STDINT_H"]=" 1"
  1145. D["HAVE_UNISTD_H"]=" 1"
  1146. D["__EXTENSIONS__"]=" 1"
  1147. D["_ALL_SOURCE"]=" 1"
  1148. D["_GNU_SOURCE"]=" 1"
  1149. D["_POSIX_PTHREAD_SEMANTICS"]=" 1"
  1150. D["_TANDEM_SOURCE"]=" 1"
  1151. D["CGMINER_MAJOR_VERSION"]=" 4"
  1152. D["CGMINER_MINOR_VERSION"]=" 3"
  1153. D["CGMINER_MINOR_SUBVERSION"]=" 5"
  1154. D["HAVE_DLFCN_H"]=" 1"
  1155. D["LT_OBJDIR"]=" \".libs/\""
  1156. D["HAVE_WCHAR_H"]=" 1"
  1157. D["HAVE_STDINT_H"]=" 1"
  1158. D["HAVE_MPROTECT"]=" 1"
  1159. D["HAVE_DECL_MEMMEM"]=" 0"
  1160. D["restrict"]=" __restrict"
  1161. D["uid_t"]=" int"
  1162. D["gid_t"]=" int"
  1163. D["HAVE_WCHAR_T"]=" 1"
  1164. D["HAVE_UNSIGNED_LONG_LONG_INT"]=" 1"
  1165. D["HAVE_LONG_LONG_INT"]=" 1"
  1166. D["HAVE_RAW_DECL_STRDUP"]=" 1"
  1167. D["HAVE_RAW_DECL_STRNCAT"]=" 1"
  1168. D["HAVE_RAW_DECL_STRNLEN"]=" 1"
  1169. D["HAVE_RAW_DECL_STRPBRK"]=" 1"
  1170. D["HAVE_RAW_DECL_STRTOK_R"]=" 1"
  1171. D["HAVE_RAW_DECL_STRERROR_R"]=" 1"
  1172. D["GNULIB_TEST_MEMCHR"]=" 1"
  1173. D["GNULIB_TEST_MEMMEM"]=" 1"
  1174. D["GNULIB_TEST_SIGACTION"]=" 1"
  1175. D["HAVE_SIGSET_T"]=" 1"
  1176. D["GNULIB_TEST_SIGPROCMASK"]=" 1"
  1177. D["STDC_HEADERS"]=" 1"
  1178. D["HAVE_ALLOCA"]=" 1"
  1179. D["_WIN32_WINNT"]=" 0x0501"
  1180. D["HAVE_LIBPTHREAD"]=" 1"
  1181. D["USE_SCRYPT"]=" 1"
  1182. D["USE_FPGA_SERIAL"]=" 1"
  1183. D["USE_ZEUS"]=" 1"
  1184. D["USE_FPGA_SERIAL"]=" 1"
  1185. D["USE_LKETC"]=" 1"
  1186. D["HAVE_CURSES"]=" 1"
  1187. D["USE_USBUTILS"]=" 1"
  1188. D["CURL_HAS_KEEPALIVE"]=" 1"
  1189. D["HAVE_LIBCURL"]=" 1"
  1190. D["EXECV_2ND_ARG_TYPE"]=" const char* const*"
  1191. D["HAVE_ATTRIBUTE_COLD"]=" 1"
  1192. D["HAVE_ATTRIBUTE_CONST"]=" 1"
  1193. D["HAVE_ATTRIBUTE_NORETURN"]=" 1"
  1194. D["HAVE_ATTRIBUTE_PRINTF"]=" 1"
  1195. D["HAVE_ATTRIBUTE_UNUSED"]=" 1"
  1196. D["HAVE_ATTRIBUTE_USED"]=" 1"
  1197. D["HAVE_BUILTIN_CONSTANT_P"]=" 1"
  1198. D["HAVE_BUILTIN_TYPES_COMPATIBLE_P"]=" 1"
  1199. D["HAVE_WARN_UNUSED_RESULT"]=" 1"
  1200. D["CGMINER_PREFIX"]=" \"/usr/local/bin\""
  1201. for (key in D) D_is_set[key] = 1
  1202. FS = ""
  1203. }
  1204. /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  1205. line = $ 0
  1206. split(line, arg, " ")
  1207. if (arg[1] == "#") {
  1208. defundef = arg[2]
  1209. mac1 = arg[3]
  1210. } else {
  1211. defundef = substr(arg[1], 2)
  1212. mac1 = arg[2]
  1213. }
  1214. split(mac1, mac2, "(") #)
  1215. macro = mac2[1]
  1216. prefix = substr(line, 1, index(line, defundef) - 1)
  1217. if (D_is_set[macro]) {
  1218. # Preserve the white space surrounding the "#".
  1219. print prefix "define", macro P[macro] D[macro]
  1220. next
  1221. } else {
  1222. # Replace #undef with comments. This is necessary, for example,
  1223. # in the case of _POSIX_SOURCE, which is predefined and required
  1224. # on some systems where configure will not decide to define it.
  1225. if (defundef == "undef") {
  1226. print "/*", prefix defundef, macro, "*/"
  1227. next
  1228. }
  1229. }
  1230. }
  1231. { print }
  1232. _ACAWK
  1233. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  1234. fi # test -n "$CONFIG_HEADERS"
  1235. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  1236. shift
  1237. for ac_tag
  1238. do
  1239. case $ac_tag in
  1240. :[FHLC]) ac_mode=$ac_tag; continue;;
  1241. esac
  1242. case $ac_mode$ac_tag in
  1243. :[FHL]*:*);;
  1244. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
  1245. :[FH]-) ac_tag=-:-;;
  1246. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  1247. esac
  1248. ac_save_IFS=$IFS
  1249. IFS=:
  1250. set x $ac_tag
  1251. IFS=$ac_save_IFS
  1252. shift
  1253. ac_file=$1
  1254. shift
  1255. case $ac_mode in
  1256. :L) ac_source=$1;;
  1257. :[FH])
  1258. ac_file_inputs=
  1259. for ac_f
  1260. do
  1261. case $ac_f in
  1262. -) ac_f="$ac_tmp/stdin";;
  1263. *) # Look for the file first in the build tree, then in the source tree
  1264. # (if the path is not absolute). The absolute path cannot be DOS-style,
  1265. # because $ac_f cannot contain `:'.
  1266. test -f "$ac_f" ||
  1267. case $ac_f in
  1268. [\\/$]*) false;;
  1269. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  1270. esac ||
  1271. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
  1272. esac
  1273. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  1274. as_fn_append ac_file_inputs " '$ac_f'"
  1275. done
  1276. # Let's still pretend it is `configure' which instantiates (i.e., don't
  1277. # use $as_me), people would be surprised to read:
  1278. # /* config.h. Generated by config.status. */
  1279. configure_input='Generated from '`
  1280. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  1281. `' by configure.'
  1282. if test x"$ac_file" != x-; then
  1283. configure_input="$ac_file. $configure_input"
  1284. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  1285. $as_echo "$as_me: creating $ac_file" >&6;}
  1286. fi
  1287. # Neutralize special characters interpreted by sed in replacement strings.
  1288. case $configure_input in #(
  1289. *\&* | *\|* | *\\* )
  1290. ac_sed_conf_input=`$as_echo "$configure_input" |
  1291. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  1292. *) ac_sed_conf_input=$configure_input;;
  1293. esac
  1294. case $ac_tag in
  1295. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  1296. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  1297. esac
  1298. ;;
  1299. esac
  1300. ac_dir=`$as_dirname -- "$ac_file" ||
  1301. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1302. X"$ac_file" : 'X\(//\)[^/]' \| \
  1303. X"$ac_file" : 'X\(//\)$' \| \
  1304. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  1305. $as_echo X"$ac_file" |
  1306. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1307. s//\1/
  1308. q
  1309. }
  1310. /^X\(\/\/\)[^/].*/{
  1311. s//\1/
  1312. q
  1313. }
  1314. /^X\(\/\/\)$/{
  1315. s//\1/
  1316. q
  1317. }
  1318. /^X\(\/\).*/{
  1319. s//\1/
  1320. q
  1321. }
  1322. s/.*/./; q'`
  1323. as_dir="$ac_dir"; as_fn_mkdir_p
  1324. ac_builddir=.
  1325. case "$ac_dir" in
  1326. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1327. *)
  1328. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1329. # A ".." for each directory in $ac_dir_suffix.
  1330. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1331. case $ac_top_builddir_sub in
  1332. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1333. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1334. esac ;;
  1335. esac
  1336. ac_abs_top_builddir=$ac_pwd
  1337. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1338. # for backward compatibility:
  1339. ac_top_builddir=$ac_top_build_prefix
  1340. case $srcdir in
  1341. .) # We are building in place.
  1342. ac_srcdir=.
  1343. ac_top_srcdir=$ac_top_builddir_sub
  1344. ac_abs_top_srcdir=$ac_pwd ;;
  1345. [\\/]* | ?:[\\/]* ) # Absolute name.
  1346. ac_srcdir=$srcdir$ac_dir_suffix;
  1347. ac_top_srcdir=$srcdir
  1348. ac_abs_top_srcdir=$srcdir ;;
  1349. *) # Relative name.
  1350. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1351. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1352. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1353. esac
  1354. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1355. case $ac_mode in
  1356. :F)
  1357. #
  1358. # CONFIG_FILE
  1359. #
  1360. case $INSTALL in
  1361. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  1362. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  1363. esac
  1364. ac_MKDIR_P=$MKDIR_P
  1365. case $MKDIR_P in
  1366. [\\/$]* | ?:[\\/]* ) ;;
  1367. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  1368. esac
  1369. # If the template does not know about datarootdir, expand it.
  1370. # FIXME: This hack should be removed a few years after 2.60.
  1371. ac_datarootdir_hack=; ac_datarootdir_seen=
  1372. ac_sed_dataroot='
  1373. /datarootdir/ {
  1374. p
  1375. q
  1376. }
  1377. /@datadir@/p
  1378. /@docdir@/p
  1379. /@infodir@/p
  1380. /@localedir@/p
  1381. /@mandir@/p'
  1382. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  1383. *datarootdir*) ac_datarootdir_seen=yes;;
  1384. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  1385. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  1386. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  1387. ac_datarootdir_hack='
  1388. s&@datadir@&${datarootdir}&g
  1389. s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
  1390. s&@infodir@&${datarootdir}/info&g
  1391. s&@localedir@&${datarootdir}/locale&g
  1392. s&@mandir@&${datarootdir}/man&g
  1393. s&\${datarootdir}&${prefix}/share&g' ;;
  1394. esac
  1395. ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
  1396. h
  1397. s///
  1398. s/^/:/
  1399. s/[ ]*$/:/
  1400. s/:\$(srcdir):/:/g
  1401. s/:\${srcdir}:/:/g
  1402. s/:@srcdir@:/:/g
  1403. s/^:*//
  1404. s/:*$//
  1405. x
  1406. s/\(=[ ]*\).*/\1/
  1407. G
  1408. s/\n//
  1409. s/^[^=]*=[ ]*$//
  1410. }
  1411. :t
  1412. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  1413. s|@configure_input@|$ac_sed_conf_input|;t t
  1414. s&@top_builddir@&$ac_top_builddir_sub&;t t
  1415. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  1416. s&@srcdir@&$ac_srcdir&;t t
  1417. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  1418. s&@top_srcdir@&$ac_top_srcdir&;t t
  1419. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  1420. s&@builddir@&$ac_builddir&;t t
  1421. s&@abs_builddir@&$ac_abs_builddir&;t t
  1422. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  1423. s&@INSTALL@&$ac_INSTALL&;t t
  1424. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  1425. $ac_datarootdir_hack
  1426. "
  1427. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  1428. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1429. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  1430. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  1431. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  1432. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  1433. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1434. which seems to be undefined. Please make sure it is defined" >&5
  1435. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1436. which seems to be undefined. Please make sure it is defined" >&2;}
  1437. rm -f "$ac_tmp/stdin"
  1438. case $ac_file in
  1439. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  1440. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  1441. esac \
  1442. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1443. ;;
  1444. :H)
  1445. #
  1446. # CONFIG_HEADER
  1447. #
  1448. if test x"$ac_file" != x-; then
  1449. {
  1450. $as_echo "/* $configure_input */" \
  1451. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  1452. } >"$ac_tmp/config.h" \
  1453. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1454. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  1455. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  1456. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  1457. else
  1458. rm -f "$ac_file"
  1459. mv "$ac_tmp/config.h" "$ac_file" \
  1460. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1461. fi
  1462. else
  1463. $as_echo "/* $configure_input */" \
  1464. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  1465. || as_fn_error $? "could not create -" "$LINENO" 5
  1466. fi
  1467. # Compute "$ac_file"'s index in $config_headers.
  1468. _am_arg="$ac_file"
  1469. _am_stamp_count=1
  1470. for _am_header in $config_headers :; do
  1471. case $_am_header in
  1472. $_am_arg | $_am_arg:* )
  1473. break ;;
  1474. * )
  1475. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  1476. esac
  1477. done
  1478. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  1479. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1480. X"$_am_arg" : 'X\(//\)[^/]' \| \
  1481. X"$_am_arg" : 'X\(//\)$' \| \
  1482. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  1483. $as_echo X"$_am_arg" |
  1484. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1485. s//\1/
  1486. q
  1487. }
  1488. /^X\(\/\/\)[^/].*/{
  1489. s//\1/
  1490. q
  1491. }
  1492. /^X\(\/\/\)$/{
  1493. s//\1/
  1494. q
  1495. }
  1496. /^X\(\/\).*/{
  1497. s//\1/
  1498. q
  1499. }
  1500. s/.*/./; q'`/stamp-h$_am_stamp_count
  1501. ;;
  1502. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  1503. $as_echo "$as_me: executing $ac_file commands" >&6;}
  1504. ;;
  1505. esac
  1506. case $ac_file$ac_mode in
  1507. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  1508. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  1509. # are listed without --file. Let's play safe and only enable the eval
  1510. # if we detect the quoting.
  1511. case $CONFIG_FILES in
  1512. *\'*) eval set x "$CONFIG_FILES" ;;
  1513. *) set x $CONFIG_FILES ;;
  1514. esac
  1515. shift
  1516. for mf
  1517. do
  1518. # Strip MF so we end up with the name of the file.
  1519. mf=`echo "$mf" | sed -e 's/:.*$//'`
  1520. # Check whether this is an Automake generated Makefile or not.
  1521. # We used to match only the files named `Makefile.in', but
  1522. # some people rename them; so instead we look at the file content.
  1523. # Grep'ing the first line is not enough: some people post-process
  1524. # each Makefile.in and add a new line on top of each file to say so.
  1525. # Grep'ing the whole file is not good either: AIX grep has a line
  1526. # limit of 2048, but all sed's we know have understand at least 4000.
  1527. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  1528. dirpart=`$as_dirname -- "$mf" ||
  1529. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1530. X"$mf" : 'X\(//\)[^/]' \| \
  1531. X"$mf" : 'X\(//\)$' \| \
  1532. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  1533. $as_echo X"$mf" |
  1534. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1535. s//\1/
  1536. q
  1537. }
  1538. /^X\(\/\/\)[^/].*/{
  1539. s//\1/
  1540. q
  1541. }
  1542. /^X\(\/\/\)$/{
  1543. s//\1/
  1544. q
  1545. }
  1546. /^X\(\/\).*/{
  1547. s//\1/
  1548. q
  1549. }
  1550. s/.*/./; q'`
  1551. else
  1552. continue
  1553. fi
  1554. # Extract the definition of DEPDIR, am__include, and am__quote
  1555. # from the Makefile without running `make'.
  1556. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  1557. test -z "$DEPDIR" && continue
  1558. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  1559. test -z "am__include" && continue
  1560. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  1561. # When using ansi2knr, U may be empty or an underscore; expand it
  1562. U=`sed -n 's/^U = //p' < "$mf"`
  1563. # Find all dependency output files, they are included files with
  1564. # $(DEPDIR) in their names. We invoke sed twice because it is the
  1565. # simplest approach to changing $(DEPDIR) to its actual value in the
  1566. # expansion.
  1567. for file in `sed -n "
  1568. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  1569. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  1570. # Make sure the directory exists.
  1571. test -f "$dirpart/$file" && continue
  1572. fdir=`$as_dirname -- "$file" ||
  1573. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1574. X"$file" : 'X\(//\)[^/]' \| \
  1575. X"$file" : 'X\(//\)$' \| \
  1576. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  1577. $as_echo X"$file" |
  1578. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1579. s//\1/
  1580. q
  1581. }
  1582. /^X\(\/\/\)[^/].*/{
  1583. s//\1/
  1584. q
  1585. }
  1586. /^X\(\/\/\)$/{
  1587. s//\1/
  1588. q
  1589. }
  1590. /^X\(\/\).*/{
  1591. s//\1/
  1592. q
  1593. }
  1594. s/.*/./; q'`
  1595. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  1596. # echo "creating $dirpart/$file"
  1597. echo '# dummy' > "$dirpart/$file"
  1598. done
  1599. done
  1600. }
  1601. ;;
  1602. "libtool":C)
  1603. # See if we are running on zsh, and set the options which allow our
  1604. # commands through without removal of \ escapes.
  1605. if test -n "${ZSH_VERSION+set}" ; then
  1606. setopt NO_GLOB_SUBST
  1607. fi
  1608. cfgfile="${ofile}T"
  1609. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  1610. $RM "$cfgfile"
  1611. cat <<_LT_EOF >> "$cfgfile"
  1612. #! $SHELL
  1613. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  1614. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  1615. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1616. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  1617. #
  1618. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  1619. # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
  1620. # Inc.
  1621. # Written by Gordon Matzigkeit, 1996
  1622. #
  1623. # This file is part of GNU Libtool.
  1624. #
  1625. # GNU Libtool is free software; you can redistribute it and/or
  1626. # modify it under the terms of the GNU General Public License as
  1627. # published by the Free Software Foundation; either version 2 of
  1628. # the License, or (at your option) any later version.
  1629. #
  1630. # As a special exception to the GNU General Public License,
  1631. # if you distribute this file as part of a program or library that
  1632. # is built using GNU Libtool, you may include this file under the
  1633. # same distribution terms that you use for the rest of that program.
  1634. #
  1635. # GNU Libtool is distributed in the hope that it will be useful,
  1636. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  1637. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  1638. # GNU General Public License for more details.
  1639. #
  1640. # You should have received a copy of the GNU General Public License
  1641. # along with GNU Libtool; see the file COPYING. If not, a copy
  1642. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  1643. # obtained by writing to the Free Software Foundation, Inc.,
  1644. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  1645. # The names of the tagged configurations supported by this script.
  1646. available_tags=""
  1647. # ### BEGIN LIBTOOL CONFIG
  1648. # Which release of libtool.m4 was used?
  1649. macro_version=$macro_version
  1650. macro_revision=$macro_revision
  1651. # Whether or not to build shared libraries.
  1652. build_libtool_libs=$enable_shared
  1653. # Whether or not to build static libraries.
  1654. build_old_libs=$enable_static
  1655. # What type of objects to build.
  1656. pic_mode=$pic_mode
  1657. # Whether or not to optimize for fast installation.
  1658. fast_install=$enable_fast_install
  1659. # Shell to use when invoking shell scripts.
  1660. SHELL=$lt_SHELL
  1661. # An echo program that protects backslashes.
  1662. ECHO=$lt_ECHO
  1663. # The host system.
  1664. host_alias=$host_alias
  1665. host=$host
  1666. host_os=$host_os
  1667. # The build system.
  1668. build_alias=$build_alias
  1669. build=$build
  1670. build_os=$build_os
  1671. # A sed program that does not truncate output.
  1672. SED=$lt_SED
  1673. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  1674. Xsed="\$SED -e 1s/^X//"
  1675. # A grep program that handles long lines.
  1676. GREP=$lt_GREP
  1677. # An ERE matcher.
  1678. EGREP=$lt_EGREP
  1679. # A literal string matcher.
  1680. FGREP=$lt_FGREP
  1681. # A BSD- or MS-compatible name lister.
  1682. NM=$lt_NM
  1683. # Whether we need soft or hard links.
  1684. LN_S=$lt_LN_S
  1685. # What is the maximum length of a command?
  1686. max_cmd_len=$max_cmd_len
  1687. # Object file suffix (normally "o").
  1688. objext=$ac_objext
  1689. # Executable file suffix (normally "").
  1690. exeext=$exeext
  1691. # whether the shell understands "unset".
  1692. lt_unset=$lt_unset
  1693. # turn spaces into newlines.
  1694. SP2NL=$lt_lt_SP2NL
  1695. # turn newlines into spaces.
  1696. NL2SP=$lt_lt_NL2SP
  1697. # convert \$build file names to \$host format.
  1698. to_host_file_cmd=$lt_cv_to_host_file_cmd
  1699. # convert \$build files to toolchain format.
  1700. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  1701. # An object symbol dumper.
  1702. OBJDUMP=$lt_OBJDUMP
  1703. # Method to check whether dependent libraries are shared objects.
  1704. deplibs_check_method=$lt_deplibs_check_method
  1705. # Command to use when deplibs_check_method = "file_magic".
  1706. file_magic_cmd=$lt_file_magic_cmd
  1707. # How to find potential files when deplibs_check_method = "file_magic".
  1708. file_magic_glob=$lt_file_magic_glob
  1709. # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  1710. want_nocaseglob=$lt_want_nocaseglob
  1711. # DLL creation program.
  1712. DLLTOOL=$lt_DLLTOOL
  1713. # Command to associate shared and link libraries.
  1714. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  1715. # The archiver.
  1716. AR=$lt_AR
  1717. # Flags to create an archive.
  1718. AR_FLAGS=$lt_AR_FLAGS
  1719. # How to feed a file listing to the archiver.
  1720. archiver_list_spec=$lt_archiver_list_spec
  1721. # A symbol stripping program.
  1722. STRIP=$lt_STRIP
  1723. # Commands used to install an old-style archive.
  1724. RANLIB=$lt_RANLIB
  1725. old_postinstall_cmds=$lt_old_postinstall_cmds
  1726. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  1727. # Whether to use a lock for old archive extraction.
  1728. lock_old_archive_extraction=$lock_old_archive_extraction
  1729. # A C compiler.
  1730. LTCC=$lt_CC
  1731. # LTCC compiler flags.
  1732. LTCFLAGS=$lt_CFLAGS
  1733. # Take the output of nm and produce a listing of raw symbols and C names.
  1734. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  1735. # Transform the output of nm in a proper C declaration.
  1736. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  1737. # Transform the output of nm in a C name address pair.
  1738. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  1739. # Transform the output of nm in a C name address pair when lib prefix is needed.
  1740. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  1741. # Specify filename containing input files for \$NM.
  1742. nm_file_list_spec=$lt_nm_file_list_spec
  1743. # The root where to search for dependent libraries,and in which our libraries should be installed.
  1744. lt_sysroot=$lt_sysroot
  1745. # The name of the directory that contains temporary libtool files.
  1746. objdir=$objdir
  1747. # Used to examine libraries when file_magic_cmd begins with "file".
  1748. MAGIC_CMD=$MAGIC_CMD
  1749. # Must we lock files when doing compilation?
  1750. need_locks=$lt_need_locks
  1751. # Manifest tool.
  1752. MANIFEST_TOOL=$lt_MANIFEST_TOOL
  1753. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  1754. DSYMUTIL=$lt_DSYMUTIL
  1755. # Tool to change global to local symbols on Mac OS X.
  1756. NMEDIT=$lt_NMEDIT
  1757. # Tool to manipulate fat objects and archives on Mac OS X.
  1758. LIPO=$lt_LIPO
  1759. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  1760. OTOOL=$lt_OTOOL
  1761. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  1762. OTOOL64=$lt_OTOOL64
  1763. # Old archive suffix (normally "a").
  1764. libext=$libext
  1765. # Shared library suffix (normally ".so").
  1766. shrext_cmds=$lt_shrext_cmds
  1767. # The commands to extract the exported symbol list from a shared archive.
  1768. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  1769. # Variables whose values should be saved in libtool wrapper scripts and
  1770. # restored at link time.
  1771. variables_saved_for_relink=$lt_variables_saved_for_relink
  1772. # Do we need the "lib" prefix for modules?
  1773. need_lib_prefix=$need_lib_prefix
  1774. # Do we need a version for libraries?
  1775. need_version=$need_version
  1776. # Library versioning type.
  1777. version_type=$version_type
  1778. # Shared library runtime path variable.
  1779. runpath_var=$runpath_var
  1780. # Shared library path variable.
  1781. shlibpath_var=$shlibpath_var
  1782. # Is shlibpath searched before the hard-coded library search path?
  1783. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  1784. # Format of library name prefix.
  1785. libname_spec=$lt_libname_spec
  1786. # List of archive names. First name is the real one, the rest are links.
  1787. # The last name is the one that the linker finds with -lNAME
  1788. library_names_spec=$lt_library_names_spec
  1789. # The coded name of the library, if different from the real name.
  1790. soname_spec=$lt_soname_spec
  1791. # Permission mode override for installation of shared libraries.
  1792. install_override_mode=$lt_install_override_mode
  1793. # Command to use after installation of a shared archive.
  1794. postinstall_cmds=$lt_postinstall_cmds
  1795. # Command to use after uninstallation of a shared archive.
  1796. postuninstall_cmds=$lt_postuninstall_cmds
  1797. # Commands used to finish a libtool library installation in a directory.
  1798. finish_cmds=$lt_finish_cmds
  1799. # As "finish_cmds", except a single script fragment to be evaled but
  1800. # not shown.
  1801. finish_eval=$lt_finish_eval
  1802. # Whether we should hardcode library paths into libraries.
  1803. hardcode_into_libs=$hardcode_into_libs
  1804. # Compile-time system search path for libraries.
  1805. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  1806. # Run-time system search path for libraries.
  1807. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  1808. # Whether dlopen is supported.
  1809. dlopen_support=$enable_dlopen
  1810. # Whether dlopen of programs is supported.
  1811. dlopen_self=$enable_dlopen_self
  1812. # Whether dlopen of statically linked programs is supported.
  1813. dlopen_self_static=$enable_dlopen_self_static
  1814. # Commands to strip libraries.
  1815. old_striplib=$lt_old_striplib
  1816. striplib=$lt_striplib
  1817. # The linker used to build libraries.
  1818. LD=$lt_LD
  1819. # How to create reloadable object files.
  1820. reload_flag=$lt_reload_flag
  1821. reload_cmds=$lt_reload_cmds
  1822. # Commands used to build an old-style archive.
  1823. old_archive_cmds=$lt_old_archive_cmds
  1824. # A language specific compiler.
  1825. CC=$lt_compiler
  1826. # Is the compiler the GNU compiler?
  1827. with_gcc=$GCC
  1828. # Compiler flag to turn off builtin functions.
  1829. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  1830. # Additional compiler flags for building library objects.
  1831. pic_flag=$lt_lt_prog_compiler_pic
  1832. # How to pass a linker flag through the compiler.
  1833. wl=$lt_lt_prog_compiler_wl
  1834. # Compiler flag to prevent dynamic linking.
  1835. link_static_flag=$lt_lt_prog_compiler_static
  1836. # Does compiler simultaneously support -c and -o options?
  1837. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  1838. # Whether or not to add -lc for building shared libraries.
  1839. build_libtool_need_lc=$archive_cmds_need_lc
  1840. # Whether or not to disallow shared libs when runtime libs are static.
  1841. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  1842. # Compiler flag to allow reflexive dlopens.
  1843. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  1844. # Compiler flag to generate shared objects directly from archives.
  1845. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  1846. # Whether the compiler copes with passing no objects directly.
  1847. compiler_needs_object=$lt_compiler_needs_object
  1848. # Create an old-style archive from a shared archive.
  1849. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  1850. # Create a temporary old-style archive to link instead of a shared archive.
  1851. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  1852. # Commands used to build a shared archive.
  1853. archive_cmds=$lt_archive_cmds
  1854. archive_expsym_cmds=$lt_archive_expsym_cmds
  1855. # Commands used to build a loadable module if different from building
  1856. # a shared archive.
  1857. module_cmds=$lt_module_cmds
  1858. module_expsym_cmds=$lt_module_expsym_cmds
  1859. # Whether we are building with GNU ld or not.
  1860. with_gnu_ld=$lt_with_gnu_ld
  1861. # Flag that allows shared libraries with undefined symbols to be built.
  1862. allow_undefined_flag=$lt_allow_undefined_flag
  1863. # Flag that enforces no undefined symbols.
  1864. no_undefined_flag=$lt_no_undefined_flag
  1865. # Flag to hardcode \$libdir into a binary during linking.
  1866. # This must work even if \$libdir does not exist
  1867. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  1868. # If ld is used when linking, flag to hardcode \$libdir into a binary
  1869. # during linking. This must work even if \$libdir does not exist.
  1870. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  1871. # Whether we need a single "-rpath" flag with a separated argument.
  1872. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  1873. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1874. # DIR into the resulting binary.
  1875. hardcode_direct=$hardcode_direct
  1876. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1877. # DIR into the resulting binary and the resulting library dependency is
  1878. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  1879. # library is relocated.
  1880. hardcode_direct_absolute=$hardcode_direct_absolute
  1881. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  1882. # into the resulting binary.
  1883. hardcode_minus_L=$hardcode_minus_L
  1884. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  1885. # into the resulting binary.
  1886. hardcode_shlibpath_var=$hardcode_shlibpath_var
  1887. # Set to "yes" if building a shared library automatically hardcodes DIR
  1888. # into the library and all subsequent libraries and executables linked
  1889. # against it.
  1890. hardcode_automatic=$hardcode_automatic
  1891. # Set to yes if linker adds runtime paths of dependent libraries
  1892. # to runtime path list.
  1893. inherit_rpath=$inherit_rpath
  1894. # Whether libtool must link a program against all its dependency libraries.
  1895. link_all_deplibs=$link_all_deplibs
  1896. # Set to "yes" if exported symbols are required.
  1897. always_export_symbols=$always_export_symbols
  1898. # The commands to list exported symbols.
  1899. export_symbols_cmds=$lt_export_symbols_cmds
  1900. # Symbols that should not be listed in the preloaded symbols.
  1901. exclude_expsyms=$lt_exclude_expsyms
  1902. # Symbols that must always be exported.
  1903. include_expsyms=$lt_include_expsyms
  1904. # Commands necessary for linking programs (against libraries) with templates.
  1905. prelink_cmds=$lt_prelink_cmds
  1906. # Commands necessary for finishing linking programs.
  1907. postlink_cmds=$lt_postlink_cmds
  1908. # Specify filename containing input files.
  1909. file_list_spec=$lt_file_list_spec
  1910. # How to hardcode a shared library path into an executable.
  1911. hardcode_action=$hardcode_action
  1912. # ### END LIBTOOL CONFIG
  1913. _LT_EOF
  1914. case $host_os in
  1915. aix3*)
  1916. cat <<\_LT_EOF >> "$cfgfile"
  1917. # AIX sometimes has problems with the GCC collect2 program. For some
  1918. # reason, if we set the COLLECT_NAMES environment variable, the problems
  1919. # vanish in a puff of smoke.
  1920. if test "X${COLLECT_NAMES+set}" != Xset; then
  1921. COLLECT_NAMES=
  1922. export COLLECT_NAMES
  1923. fi
  1924. _LT_EOF
  1925. ;;
  1926. esac
  1927. ltmain="$ac_aux_dir/ltmain.sh"
  1928. # We use sed instead of cat because bash on DJGPP gets confused if
  1929. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  1930. # text mode, it properly converts lines to CR/LF. This bash problem
  1931. # is reportedly fixed, but why not run on old versions too?
  1932. sed '$q' "$ltmain" >> "$cfgfile" \
  1933. || (rm -f "$cfgfile"; exit 1)
  1934. if test x"$xsi_shell" = xyes; then
  1935. sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
  1936. func_dirname ()\
  1937. {\
  1938. \ case ${1} in\
  1939. \ */*) func_dirname_result="${1%/*}${2}" ;;\
  1940. \ * ) func_dirname_result="${3}" ;;\
  1941. \ esac\
  1942. } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
  1943. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1944. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1945. test 0 -eq $? || _lt_function_replace_fail=:
  1946. sed -e '/^func_basename ()$/,/^} # func_basename /c\
  1947. func_basename ()\
  1948. {\
  1949. \ func_basename_result="${1##*/}"\
  1950. } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
  1951. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1952. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1953. test 0 -eq $? || _lt_function_replace_fail=:
  1954. sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
  1955. func_dirname_and_basename ()\
  1956. {\
  1957. \ case ${1} in\
  1958. \ */*) func_dirname_result="${1%/*}${2}" ;;\
  1959. \ * ) func_dirname_result="${3}" ;;\
  1960. \ esac\
  1961. \ func_basename_result="${1##*/}"\
  1962. } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
  1963. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1964. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1965. test 0 -eq $? || _lt_function_replace_fail=:
  1966. sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
  1967. func_stripname ()\
  1968. {\
  1969. \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
  1970. \ # positional parameters, so assign one to ordinary parameter first.\
  1971. \ func_stripname_result=${3}\
  1972. \ func_stripname_result=${func_stripname_result#"${1}"}\
  1973. \ func_stripname_result=${func_stripname_result%"${2}"}\
  1974. } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
  1975. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1976. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1977. test 0 -eq $? || _lt_function_replace_fail=:
  1978. sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
  1979. func_split_long_opt ()\
  1980. {\
  1981. \ func_split_long_opt_name=${1%%=*}\
  1982. \ func_split_long_opt_arg=${1#*=}\
  1983. } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
  1984. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1985. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1986. test 0 -eq $? || _lt_function_replace_fail=:
  1987. sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
  1988. func_split_short_opt ()\
  1989. {\
  1990. \ func_split_short_opt_arg=${1#??}\
  1991. \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
  1992. } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
  1993. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1994. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1995. test 0 -eq $? || _lt_function_replace_fail=:
  1996. sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
  1997. func_lo2o ()\
  1998. {\
  1999. \ case ${1} in\
  2000. \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
  2001. \ *) func_lo2o_result=${1} ;;\
  2002. \ esac\
  2003. } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
  2004. && mv -f "$cfgfile.tmp" "$cfgfile" \
  2005. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2006. test 0 -eq $? || _lt_function_replace_fail=:
  2007. sed -e '/^func_xform ()$/,/^} # func_xform /c\
  2008. func_xform ()\
  2009. {\
  2010. func_xform_result=${1%.*}.lo\
  2011. } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
  2012. && mv -f "$cfgfile.tmp" "$cfgfile" \
  2013. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2014. test 0 -eq $? || _lt_function_replace_fail=:
  2015. sed -e '/^func_arith ()$/,/^} # func_arith /c\
  2016. func_arith ()\
  2017. {\
  2018. func_arith_result=$(( $* ))\
  2019. } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
  2020. && mv -f "$cfgfile.tmp" "$cfgfile" \
  2021. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2022. test 0 -eq $? || _lt_function_replace_fail=:
  2023. sed -e '/^func_len ()$/,/^} # func_len /c\
  2024. func_len ()\
  2025. {\
  2026. func_len_result=${#1}\
  2027. } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
  2028. && mv -f "$cfgfile.tmp" "$cfgfile" \
  2029. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2030. test 0 -eq $? || _lt_function_replace_fail=:
  2031. fi
  2032. if test x"$lt_shell_append" = xyes; then
  2033. sed -e '/^func_append ()$/,/^} # func_append /c\
  2034. func_append ()\
  2035. {\
  2036. eval "${1}+=\\${2}"\
  2037. } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
  2038. && mv -f "$cfgfile.tmp" "$cfgfile" \
  2039. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2040. test 0 -eq $? || _lt_function_replace_fail=:
  2041. sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
  2042. func_append_quoted ()\
  2043. {\
  2044. \ func_quote_for_eval "${2}"\
  2045. \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
  2046. } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
  2047. && mv -f "$cfgfile.tmp" "$cfgfile" \
  2048. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2049. test 0 -eq $? || _lt_function_replace_fail=:
  2050. # Save a `func_append' function call where possible by direct use of '+='
  2051. sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
  2052. && mv -f "$cfgfile.tmp" "$cfgfile" \
  2053. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2054. test 0 -eq $? || _lt_function_replace_fail=:
  2055. else
  2056. # Save a `func_append' function call even when '+=' is not available
  2057. sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
  2058. && mv -f "$cfgfile.tmp" "$cfgfile" \
  2059. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2060. test 0 -eq $? || _lt_function_replace_fail=:
  2061. fi
  2062. if test x"$_lt_function_replace_fail" = x":"; then
  2063. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
  2064. $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
  2065. fi
  2066. mv -f "$cfgfile" "$ofile" ||
  2067. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  2068. chmod +x "$ofile"
  2069. ;;
  2070. esac
  2071. done # for ac_tag
  2072. as_fn_exit 0