config.status 58 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992
  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 jansson $as_me 2.6, 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=" jansson.pc Makefile src/Makefile src/jansson_config.h"
  355. config_headers=" config.h"
  356. config_commands=" depfiles libtool"
  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 <petri@digip.org>."
  380. ac_cs_config="'--disable-option-checking' '--prefix=/usr/local' '--enable-bitmain' '--cache-file=/dev/null' '--srcdir=.'"
  381. ac_cs_version="\
  382. jansson config.status 2.6
  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/compat/jansson-2.6'
  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' '--disable-option-checking' '--prefix=/usr/local' '--enable-bitmain' '--cache-file=/dev/null' '--srcdir=.' $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. # The HP-UX ksh and POSIX shell print the target directory to stdout
  483. # if CDPATH is set.
  484. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  485. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  486. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  487. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  488. macro_version='2.4.6'
  489. macro_revision='2.4.6'
  490. enable_shared='yes'
  491. enable_static='yes'
  492. pic_mode='default'
  493. enable_fast_install='yes'
  494. shared_archive_member_spec=''
  495. SHELL='/bin/bash'
  496. ECHO='printf %s\n'
  497. PATH_SEPARATOR=':'
  498. host_alias=''
  499. host='x86_64-pc-linux-gnu'
  500. host_os='linux-gnu'
  501. build_alias=''
  502. build='x86_64-pc-linux-gnu'
  503. build_os='linux-gnu'
  504. SED='/bin/sed'
  505. Xsed='/bin/sed -e 1s/^X//'
  506. GREP='/bin/grep'
  507. EGREP='/bin/grep -E'
  508. FGREP='/bin/grep -F'
  509. LD='/usr/bin/ld -m elf_x86_64'
  510. NM='/usr/bin/nm -B'
  511. LN_S='ln -s'
  512. max_cmd_len='1572864'
  513. ac_objext='o'
  514. exeext=''
  515. lt_unset='unset'
  516. lt_SP2NL='tr \040 \012'
  517. lt_NL2SP='tr \015\012 \040\040'
  518. lt_cv_to_host_file_cmd='func_convert_file_noop'
  519. lt_cv_to_tool_file_cmd='func_convert_file_noop'
  520. reload_flag=' -r'
  521. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  522. OBJDUMP='objdump'
  523. deplibs_check_method='pass_all'
  524. file_magic_cmd='$MAGIC_CMD'
  525. file_magic_glob=''
  526. want_nocaseglob='no'
  527. DLLTOOL='false'
  528. sharedlib_from_linklib_cmd='printf %s\n'
  529. AR='ar'
  530. AR_FLAGS='cru'
  531. archiver_list_spec='@'
  532. STRIP='strip'
  533. RANLIB='ranlib'
  534. old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib'
  535. old_postuninstall_cmds=''
  536. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
  537. lock_old_archive_extraction='no'
  538. CC='gcc'
  539. CFLAGS='-g -O2'
  540. compiler='gcc'
  541. GCC='yes'
  542. lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
  543. lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
  544. lt_cv_sys_global_symbol_to_import=''
  545. lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
  546. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
  547. lt_cv_nm_interface='BSD nm'
  548. nm_file_list_spec='@'
  549. lt_sysroot=''
  550. lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
  551. objdir='.libs'
  552. MAGIC_CMD='file'
  553. lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  554. lt_prog_compiler_pic=' -fPIC -DPIC'
  555. lt_prog_compiler_wl='-Wl,'
  556. lt_prog_compiler_static='-static'
  557. lt_cv_prog_compiler_c_o='yes'
  558. need_locks='no'
  559. MANIFEST_TOOL=':'
  560. DSYMUTIL=''
  561. NMEDIT=''
  562. LIPO=''
  563. OTOOL=''
  564. OTOOL64=''
  565. libext='a'
  566. shrext_cmds='.so'
  567. extract_expsyms_cmds=''
  568. archive_cmds_need_lc='no'
  569. enable_shared_with_static_runtimes='no'
  570. export_dynamic_flag_spec='$wl--export-dynamic'
  571. whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
  572. compiler_needs_object='no'
  573. old_archive_from_new_cmds=''
  574. old_archive_from_expsyms_cmds=''
  575. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  576. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  577. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  578. echo "local: *; };" >> $output_objdir/$libname.ver~
  579. $CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  580. module_cmds=''
  581. module_expsym_cmds=''
  582. with_gnu_ld='yes'
  583. allow_undefined_flag=''
  584. no_undefined_flag=''
  585. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  586. hardcode_libdir_separator=''
  587. hardcode_direct='no'
  588. hardcode_direct_absolute='no'
  589. hardcode_minus_L='no'
  590. hardcode_shlibpath_var='unsupported'
  591. hardcode_automatic='no'
  592. inherit_rpath='no'
  593. link_all_deplibs='no'
  594. always_export_symbols='no'
  595. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  596. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  597. include_expsyms=''
  598. prelink_cmds=''
  599. postlink_cmds=''
  600. file_list_spec=''
  601. variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
  602. need_lib_prefix='no'
  603. need_version='no'
  604. version_type='linux'
  605. runpath_var='LD_RUN_PATH'
  606. shlibpath_var='LD_LIBRARY_PATH'
  607. shlibpath_overrides_runpath='no'
  608. libname_spec='lib$name'
  609. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  610. soname_spec='$libname$release$shared_ext$major'
  611. install_override_mode=''
  612. postinstall_cmds=''
  613. postuninstall_cmds=''
  614. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  615. finish_eval=''
  616. hardcode_into_libs='yes'
  617. sys_lib_search_path_spec='/usr/lib/gcc/x86_64-linux-gnu/5 /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib '
  618. configure_time_dlsearch_path='/lib /usr/lib /usr/lib/x86_64-linux-gnu/libfakeroot /usr/local/lib /usr/lib/vmware-tools/lib32/libvmGuestLib.so /usr/lib/vmware-tools/lib64/libvmGuestLib.so /usr/lib/vmware-tools/lib32/libvmGuestLibJava.so /usr/lib/vmware-tools/lib64/libvmGuestLibJava.so /usr/lib/vmware-tools/lib32/libDeployPkg.so /usr/lib/vmware-tools/lib64/libDeployPkg.so /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/mesa-egl /usr/lib/x86_64-linux-gnu/mesa /lib32 /usr/lib32 /libx32 /usr/libx32 '
  619. configure_time_lt_sys_library_path=''
  620. hardcode_action='immediate'
  621. enable_dlopen='unknown'
  622. enable_dlopen_self='unknown'
  623. enable_dlopen_self_static='unknown'
  624. old_striplib='strip --strip-debug'
  625. striplib='strip --strip-unneeded'
  626. LTCC='gcc'
  627. LTCFLAGS='-g -O2'
  628. compiler='gcc'
  629. # A function that is used when there is no print builtin or printf.
  630. func_fallback_echo ()
  631. {
  632. eval 'cat <<_LTECHO_EOF
  633. $1
  634. _LTECHO_EOF'
  635. }
  636. # Quote evaled strings.
  637. for var in SHELL ECHO PATH_SEPARATOR 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_import lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix lt_cv_nm_interface nm_file_list_spec lt_cv_truncate_bin 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_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
  638. case `eval \\$ECHO \\""\\$$var"\\"` in
  639. *[\\\`\"\$]*)
  640. eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\"" ## exclude from sc_prohibit_nested_quotes
  641. ;;
  642. *)
  643. eval "lt_$var=\\\"\$$var\\\""
  644. ;;
  645. esac
  646. done
  647. # Double-quote double-evaled strings.
  648. 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 configure_time_dlsearch_path configure_time_lt_sys_library_path; do
  649. case `eval \\$ECHO \\""\\$$var"\\"` in
  650. *[\\\`\"\$]*)
  651. eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ## exclude from sc_prohibit_nested_quotes
  652. ;;
  653. *)
  654. eval "lt_$var=\\\"\$$var\\\""
  655. ;;
  656. esac
  657. done
  658. ac_aux_dir='.'
  659. # See if we are running on zsh, and set the options that allow our
  660. # commands through without removal of \ escapes INIT.
  661. if test -n "${ZSH_VERSION+set}"; then
  662. setopt NO_GLOB_SUBST
  663. fi
  664. PACKAGE='jansson'
  665. VERSION='2.6'
  666. RM='rm -f'
  667. ofile='libtool'
  668. # Handling of arguments.
  669. for ac_config_target in $ac_config_targets
  670. do
  671. case $ac_config_target in
  672. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  673. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  674. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  675. "jansson.pc") CONFIG_FILES="$CONFIG_FILES jansson.pc" ;;
  676. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  677. "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  678. "src/jansson_config.h") CONFIG_FILES="$CONFIG_FILES src/jansson_config.h" ;;
  679. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  680. esac
  681. done
  682. # If the user did not use the arguments to specify the items to instantiate,
  683. # then the envvar interface is used. Set only those that are not.
  684. # We use the long form for the default assignment because of an extremely
  685. # bizarre bug on SunOS 4.1.3.
  686. if $ac_need_defaults; then
  687. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  688. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  689. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  690. fi
  691. # Have a temporary directory for convenience. Make it in the build tree
  692. # simply because there is no reason against having it here, and in addition,
  693. # creating and moving files from /tmp can sometimes cause problems.
  694. # Hook for its removal unless debugging.
  695. # Note that there is a small window in which the directory will not be cleaned:
  696. # after its creation but before its name has been assigned to `$tmp'.
  697. $debug ||
  698. {
  699. tmp= ac_tmp=
  700. trap 'exit_status=$?
  701. : "${ac_tmp:=$tmp}"
  702. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  703. ' 0
  704. trap 'as_fn_exit 1' 1 2 13 15
  705. }
  706. # Create a (secure) tmp directory for tmp files.
  707. {
  708. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  709. test -d "$tmp"
  710. } ||
  711. {
  712. tmp=./conf$$-$RANDOM
  713. (umask 077 && mkdir "$tmp")
  714. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  715. ac_tmp=$tmp
  716. # Set up the scripts for CONFIG_FILES section.
  717. # No need to generate them if there are no CONFIG_FILES.
  718. # This happens for instance with `./config.status config.h'.
  719. if test -n "$CONFIG_FILES"; then
  720. ac_cr=`echo X | tr X '\015'`
  721. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  722. # But we know of no other shell where ac_cr would be empty at this
  723. # point, so we can use a bashism as a fallback.
  724. if test "x$ac_cr" = x; then
  725. eval ac_cr=\$\'\\r\'
  726. fi
  727. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  728. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  729. ac_cs_awk_cr='\\r'
  730. else
  731. ac_cs_awk_cr=$ac_cr
  732. fi
  733. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  734. cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
  735. S["am__EXEEXT_FALSE"]=""
  736. S["am__EXEEXT_TRUE"]="#"
  737. S["LTLIBOBJS"]=""
  738. S["LIBOBJS"]=""
  739. S["json_have_localeconv"]="1"
  740. S["json_have_long_long"]="1"
  741. S["json_inline"]="inline"
  742. S["GCC_FALSE"]="#"
  743. S["GCC_TRUE"]=""
  744. S["CPP"]="gcc -E"
  745. S["LT_SYS_LIBRARY_PATH"]=""
  746. S["OTOOL64"]=""
  747. S["OTOOL"]=""
  748. S["LIPO"]=""
  749. S["NMEDIT"]=""
  750. S["DSYMUTIL"]=""
  751. S["MANIFEST_TOOL"]=":"
  752. S["RANLIB"]="ranlib"
  753. S["ac_ct_AR"]="ar"
  754. S["AR"]="ar"
  755. S["DLLTOOL"]="false"
  756. S["OBJDUMP"]="objdump"
  757. S["LN_S"]="ln -s"
  758. S["NM"]="/usr/bin/nm -B"
  759. S["ac_ct_DUMPBIN"]=""
  760. S["DUMPBIN"]=""
  761. S["LD"]="/usr/bin/ld -m elf_x86_64"
  762. S["FGREP"]="/bin/grep -F"
  763. S["EGREP"]="/bin/grep -E"
  764. S["GREP"]="/bin/grep"
  765. S["SED"]="/bin/sed"
  766. S["host_os"]="linux-gnu"
  767. S["host_vendor"]="pc"
  768. S["host_cpu"]="x86_64"
  769. S["host"]="x86_64-pc-linux-gnu"
  770. S["build_os"]="linux-gnu"
  771. S["build_vendor"]="pc"
  772. S["build_cpu"]="x86_64"
  773. S["build"]="x86_64-pc-linux-gnu"
  774. S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
  775. S["am__fastdepCC_FALSE"]="#"
  776. S["am__fastdepCC_TRUE"]=""
  777. S["CCDEPMODE"]="depmode=gcc3"
  778. S["am__nodep"]="_no"
  779. S["AMDEPBACKSLASH"]="\\"
  780. S["AMDEP_FALSE"]="#"
  781. S["AMDEP_TRUE"]=""
  782. S["am__quote"]=""
  783. S["am__include"]="include"
  784. S["DEPDIR"]=".deps"
  785. S["OBJEXT"]="o"
  786. S["EXEEXT"]=""
  787. S["ac_ct_CC"]="gcc"
  788. S["CPPFLAGS"]=""
  789. S["LDFLAGS"]=""
  790. S["CFLAGS"]="-g -O2"
  791. S["CC"]="gcc"
  792. S["AM_BACKSLASH"]="\\"
  793. S["AM_DEFAULT_VERBOSITY"]="0"
  794. S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)"
  795. S["AM_V"]="$(V)"
  796. S["am__untar"]="$${TAR-tar} xf -"
  797. S["am__tar"]="$${TAR-tar} chof - \"$$tardir\""
  798. S["AMTAR"]="$${TAR-tar}"
  799. S["am__leading_dot"]="."
  800. S["SET_MAKE"]=""
  801. S["AWK"]="gawk"
  802. S["mkdir_p"]="$(MKDIR_P)"
  803. S["MKDIR_P"]="/bin/mkdir -p"
  804. S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
  805. S["STRIP"]="strip"
  806. S["install_sh"]="${SHELL} /home/wareck/cgminer-ants3/compat/jansson-2.6/install-sh"
  807. S["MAKEINFO"]="${SHELL} /home/wareck/cgminer-ants3/compat/jansson-2.6/missing makeinfo"
  808. S["AUTOHEADER"]="${SHELL} /home/wareck/cgminer-ants3/compat/jansson-2.6/missing autoheader"
  809. S["AUTOMAKE"]="${SHELL} /home/wareck/cgminer-ants3/compat/jansson-2.6/missing automake-1.15"
  810. S["AUTOCONF"]="${SHELL} /home/wareck/cgminer-ants3/compat/jansson-2.6/missing autoconf"
  811. S["ACLOCAL"]="${SHELL} /home/wareck/cgminer-ants3/compat/jansson-2.6/missing aclocal-1.15"
  812. S["VERSION"]="2.6"
  813. S["PACKAGE"]="jansson"
  814. S["CYGPATH_W"]="echo"
  815. S["am__isrc"]=""
  816. S["INSTALL_DATA"]="${INSTALL} -m 644"
  817. S["INSTALL_SCRIPT"]="${INSTALL}"
  818. S["INSTALL_PROGRAM"]="${INSTALL}"
  819. S["target_alias"]=""
  820. S["host_alias"]=""
  821. S["build_alias"]=""
  822. S["LIBS"]=""
  823. S["ECHO_T"]=""
  824. S["ECHO_N"]="-n"
  825. S["ECHO_C"]=""
  826. S["DEFS"]="-DHAVE_CONFIG_H"
  827. S["mandir"]="${datarootdir}/man"
  828. S["localedir"]="${datarootdir}/locale"
  829. S["libdir"]="${exec_prefix}/lib"
  830. S["psdir"]="${docdir}"
  831. S["pdfdir"]="${docdir}"
  832. S["dvidir"]="${docdir}"
  833. S["htmldir"]="${docdir}"
  834. S["infodir"]="${datarootdir}/info"
  835. S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
  836. S["oldincludedir"]="/usr/include"
  837. S["includedir"]="${prefix}/include"
  838. S["runstatedir"]="${localstatedir}/run"
  839. S["localstatedir"]="${prefix}/var"
  840. S["sharedstatedir"]="${prefix}/com"
  841. S["sysconfdir"]="${prefix}/etc"
  842. S["datadir"]="${datarootdir}"
  843. S["datarootdir"]="${prefix}/share"
  844. S["libexecdir"]="${exec_prefix}/libexec"
  845. S["sbindir"]="${exec_prefix}/sbin"
  846. S["bindir"]="${exec_prefix}/bin"
  847. S["program_transform_name"]="s,x,x,"
  848. S["prefix"]="/usr/local"
  849. S["exec_prefix"]="${prefix}"
  850. S["PACKAGE_URL"]=""
  851. S["PACKAGE_BUGREPORT"]="petri@digip.org"
  852. S["PACKAGE_STRING"]="jansson 2.6"
  853. S["PACKAGE_VERSION"]="2.6"
  854. S["PACKAGE_TARNAME"]="jansson"
  855. S["PACKAGE_NAME"]="jansson"
  856. S["PATH_SEPARATOR"]=":"
  857. S["SHELL"]="/bin/bash"
  858. _ACAWK
  859. cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
  860. for (key in S) S_is_set[key] = 1
  861. FS = ""
  862. }
  863. {
  864. line = $ 0
  865. nfields = split(line, field, "@")
  866. substed = 0
  867. len = length(field[1])
  868. for (i = 2; i < nfields; i++) {
  869. key = field[i]
  870. keylen = length(key)
  871. if (S_is_set[key]) {
  872. value = S[key]
  873. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  874. len += length(value) + length(field[++i])
  875. substed = 1
  876. } else
  877. len += 1 + keylen
  878. }
  879. print line
  880. }
  881. _ACAWK
  882. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  883. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  884. else
  885. cat
  886. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  887. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  888. fi # test -n "$CONFIG_FILES"
  889. # Set up the scripts for CONFIG_HEADERS section.
  890. # No need to generate them if there are no CONFIG_HEADERS.
  891. # This happens for instance with `./config.status Makefile'.
  892. if test -n "$CONFIG_HEADERS"; then
  893. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  894. BEGIN {
  895. D["PACKAGE_NAME"]=" \"jansson\""
  896. D["PACKAGE_TARNAME"]=" \"jansson\""
  897. D["PACKAGE_VERSION"]=" \"2.6\""
  898. D["PACKAGE_STRING"]=" \"jansson 2.6\""
  899. D["PACKAGE_BUGREPORT"]=" \"petri@digip.org\""
  900. D["PACKAGE_URL"]=" \"\""
  901. D["PACKAGE"]=" \"jansson\""
  902. D["VERSION"]=" \"2.6\""
  903. D["STDC_HEADERS"]=" 1"
  904. D["HAVE_SYS_TYPES_H"]=" 1"
  905. D["HAVE_SYS_STAT_H"]=" 1"
  906. D["HAVE_STDLIB_H"]=" 1"
  907. D["HAVE_STRING_H"]=" 1"
  908. D["HAVE_MEMORY_H"]=" 1"
  909. D["HAVE_STRINGS_H"]=" 1"
  910. D["HAVE_INTTYPES_H"]=" 1"
  911. D["HAVE_STDINT_H"]=" 1"
  912. D["HAVE_UNISTD_H"]=" 1"
  913. D["HAVE_DLFCN_H"]=" 1"
  914. D["LT_OBJDIR"]=" \".libs/\""
  915. D["HAVE_ENDIAN_H"]=" 1"
  916. D["HAVE_FCNTL_H"]=" 1"
  917. D["HAVE_LOCALE_H"]=" 1"
  918. D["HAVE_SCHED_H"]=" 1"
  919. D["HAVE_UNISTD_H"]=" 1"
  920. D["HAVE_SYS_PARAM_H"]=" 1"
  921. D["HAVE_SYS_STAT_H"]=" 1"
  922. D["HAVE_SYS_TIME_H"]=" 1"
  923. D["HAVE_SYS_TYPES_H"]=" 1"
  924. D["HAVE_UNSIGNED_LONG_LONG_INT"]=" 1"
  925. D["HAVE_LONG_LONG_INT"]=" 1"
  926. D["HAVE_CLOSE"]=" 1"
  927. D["HAVE_GETPID"]=" 1"
  928. D["HAVE_GETTIMEOFDAY"]=" 1"
  929. D["HAVE_LOCALECONV"]=" 1"
  930. D["HAVE_OPEN"]=" 1"
  931. D["HAVE_READ"]=" 1"
  932. D["HAVE_SCHED_YIELD"]=" 1"
  933. D["HAVE_STRTOLL"]=" 1"
  934. D["HAVE_SYNC_BUILTINS"]=" 1"
  935. D["HAVE_ATOMIC_BUILTINS"]=" 1"
  936. D["USE_URANDOM"]=" 1"
  937. D["USE_WINDOWS_CRYPTOAPI"]=" 1"
  938. for (key in D) D_is_set[key] = 1
  939. FS = ""
  940. }
  941. /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  942. line = $ 0
  943. split(line, arg, " ")
  944. if (arg[1] == "#") {
  945. defundef = arg[2]
  946. mac1 = arg[3]
  947. } else {
  948. defundef = substr(arg[1], 2)
  949. mac1 = arg[2]
  950. }
  951. split(mac1, mac2, "(") #)
  952. macro = mac2[1]
  953. prefix = substr(line, 1, index(line, defundef) - 1)
  954. if (D_is_set[macro]) {
  955. # Preserve the white space surrounding the "#".
  956. print prefix "define", macro P[macro] D[macro]
  957. next
  958. } else {
  959. # Replace #undef with comments. This is necessary, for example,
  960. # in the case of _POSIX_SOURCE, which is predefined and required
  961. # on some systems where configure will not decide to define it.
  962. if (defundef == "undef") {
  963. print "/*", prefix defundef, macro, "*/"
  964. next
  965. }
  966. }
  967. }
  968. { print }
  969. _ACAWK
  970. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  971. fi # test -n "$CONFIG_HEADERS"
  972. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  973. shift
  974. for ac_tag
  975. do
  976. case $ac_tag in
  977. :[FHLC]) ac_mode=$ac_tag; continue;;
  978. esac
  979. case $ac_mode$ac_tag in
  980. :[FHL]*:*);;
  981. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  982. :[FH]-) ac_tag=-:-;;
  983. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  984. esac
  985. ac_save_IFS=$IFS
  986. IFS=:
  987. set x $ac_tag
  988. IFS=$ac_save_IFS
  989. shift
  990. ac_file=$1
  991. shift
  992. case $ac_mode in
  993. :L) ac_source=$1;;
  994. :[FH])
  995. ac_file_inputs=
  996. for ac_f
  997. do
  998. case $ac_f in
  999. -) ac_f="$ac_tmp/stdin";;
  1000. *) # Look for the file first in the build tree, then in the source tree
  1001. # (if the path is not absolute). The absolute path cannot be DOS-style,
  1002. # because $ac_f cannot contain `:'.
  1003. test -f "$ac_f" ||
  1004. case $ac_f in
  1005. [\\/$]*) false;;
  1006. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  1007. esac ||
  1008. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  1009. esac
  1010. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  1011. as_fn_append ac_file_inputs " '$ac_f'"
  1012. done
  1013. # Let's still pretend it is `configure' which instantiates (i.e., don't
  1014. # use $as_me), people would be surprised to read:
  1015. # /* config.h. Generated by config.status. */
  1016. configure_input='Generated from '`
  1017. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  1018. `' by configure.'
  1019. if test x"$ac_file" != x-; then
  1020. configure_input="$ac_file. $configure_input"
  1021. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  1022. $as_echo "$as_me: creating $ac_file" >&6;}
  1023. fi
  1024. # Neutralize special characters interpreted by sed in replacement strings.
  1025. case $configure_input in #(
  1026. *\&* | *\|* | *\\* )
  1027. ac_sed_conf_input=`$as_echo "$configure_input" |
  1028. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  1029. *) ac_sed_conf_input=$configure_input;;
  1030. esac
  1031. case $ac_tag in
  1032. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  1033. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  1034. esac
  1035. ;;
  1036. esac
  1037. ac_dir=`$as_dirname -- "$ac_file" ||
  1038. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1039. X"$ac_file" : 'X\(//\)[^/]' \| \
  1040. X"$ac_file" : 'X\(//\)$' \| \
  1041. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  1042. $as_echo X"$ac_file" |
  1043. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1044. s//\1/
  1045. q
  1046. }
  1047. /^X\(\/\/\)[^/].*/{
  1048. s//\1/
  1049. q
  1050. }
  1051. /^X\(\/\/\)$/{
  1052. s//\1/
  1053. q
  1054. }
  1055. /^X\(\/\).*/{
  1056. s//\1/
  1057. q
  1058. }
  1059. s/.*/./; q'`
  1060. as_dir="$ac_dir"; as_fn_mkdir_p
  1061. ac_builddir=.
  1062. case "$ac_dir" in
  1063. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1064. *)
  1065. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1066. # A ".." for each directory in $ac_dir_suffix.
  1067. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1068. case $ac_top_builddir_sub in
  1069. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1070. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1071. esac ;;
  1072. esac
  1073. ac_abs_top_builddir=$ac_pwd
  1074. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1075. # for backward compatibility:
  1076. ac_top_builddir=$ac_top_build_prefix
  1077. case $srcdir in
  1078. .) # We are building in place.
  1079. ac_srcdir=.
  1080. ac_top_srcdir=$ac_top_builddir_sub
  1081. ac_abs_top_srcdir=$ac_pwd ;;
  1082. [\\/]* | ?:[\\/]* ) # Absolute name.
  1083. ac_srcdir=$srcdir$ac_dir_suffix;
  1084. ac_top_srcdir=$srcdir
  1085. ac_abs_top_srcdir=$srcdir ;;
  1086. *) # Relative name.
  1087. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1088. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1089. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1090. esac
  1091. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1092. case $ac_mode in
  1093. :F)
  1094. #
  1095. # CONFIG_FILE
  1096. #
  1097. case $INSTALL in
  1098. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  1099. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  1100. esac
  1101. ac_MKDIR_P=$MKDIR_P
  1102. case $MKDIR_P in
  1103. [\\/$]* | ?:[\\/]* ) ;;
  1104. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  1105. esac
  1106. # If the template does not know about datarootdir, expand it.
  1107. # FIXME: This hack should be removed a few years after 2.60.
  1108. ac_datarootdir_hack=; ac_datarootdir_seen=
  1109. ac_sed_dataroot='
  1110. /datarootdir/ {
  1111. p
  1112. q
  1113. }
  1114. /@datadir@/p
  1115. /@docdir@/p
  1116. /@infodir@/p
  1117. /@localedir@/p
  1118. /@mandir@/p'
  1119. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  1120. *datarootdir*) ac_datarootdir_seen=yes;;
  1121. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  1122. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  1123. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  1124. ac_datarootdir_hack='
  1125. s&@datadir@&${datarootdir}&g
  1126. s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
  1127. s&@infodir@&${datarootdir}/info&g
  1128. s&@localedir@&${datarootdir}/locale&g
  1129. s&@mandir@&${datarootdir}/man&g
  1130. s&\${datarootdir}&${prefix}/share&g' ;;
  1131. esac
  1132. ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
  1133. h
  1134. s///
  1135. s/^/:/
  1136. s/[ ]*$/:/
  1137. s/:\$(srcdir):/:/g
  1138. s/:\${srcdir}:/:/g
  1139. s/:@srcdir@:/:/g
  1140. s/^:*//
  1141. s/:*$//
  1142. x
  1143. s/\(=[ ]*\).*/\1/
  1144. G
  1145. s/\n//
  1146. s/^[^=]*=[ ]*$//
  1147. }
  1148. :t
  1149. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  1150. s|@configure_input@|$ac_sed_conf_input|;t t
  1151. s&@top_builddir@&$ac_top_builddir_sub&;t t
  1152. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  1153. s&@srcdir@&$ac_srcdir&;t t
  1154. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  1155. s&@top_srcdir@&$ac_top_srcdir&;t t
  1156. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  1157. s&@builddir@&$ac_builddir&;t t
  1158. s&@abs_builddir@&$ac_abs_builddir&;t t
  1159. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  1160. s&@INSTALL@&$ac_INSTALL&;t t
  1161. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  1162. $ac_datarootdir_hack
  1163. "
  1164. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  1165. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1166. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  1167. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  1168. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  1169. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  1170. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1171. which seems to be undefined. Please make sure it is defined" >&5
  1172. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1173. which seems to be undefined. Please make sure it is defined" >&2;}
  1174. rm -f "$ac_tmp/stdin"
  1175. case $ac_file in
  1176. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  1177. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  1178. esac \
  1179. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1180. ;;
  1181. :H)
  1182. #
  1183. # CONFIG_HEADER
  1184. #
  1185. if test x"$ac_file" != x-; then
  1186. {
  1187. $as_echo "/* $configure_input */" \
  1188. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  1189. } >"$ac_tmp/config.h" \
  1190. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1191. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  1192. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  1193. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  1194. else
  1195. rm -f "$ac_file"
  1196. mv "$ac_tmp/config.h" "$ac_file" \
  1197. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1198. fi
  1199. else
  1200. $as_echo "/* $configure_input */" \
  1201. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  1202. || as_fn_error $? "could not create -" "$LINENO" 5
  1203. fi
  1204. # Compute "$ac_file"'s index in $config_headers.
  1205. _am_arg="$ac_file"
  1206. _am_stamp_count=1
  1207. for _am_header in $config_headers :; do
  1208. case $_am_header in
  1209. $_am_arg | $_am_arg:* )
  1210. break ;;
  1211. * )
  1212. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  1213. esac
  1214. done
  1215. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  1216. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1217. X"$_am_arg" : 'X\(//\)[^/]' \| \
  1218. X"$_am_arg" : 'X\(//\)$' \| \
  1219. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  1220. $as_echo X"$_am_arg" |
  1221. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1222. s//\1/
  1223. q
  1224. }
  1225. /^X\(\/\/\)[^/].*/{
  1226. s//\1/
  1227. q
  1228. }
  1229. /^X\(\/\/\)$/{
  1230. s//\1/
  1231. q
  1232. }
  1233. /^X\(\/\).*/{
  1234. s//\1/
  1235. q
  1236. }
  1237. s/.*/./; q'`/stamp-h$_am_stamp_count
  1238. ;;
  1239. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  1240. $as_echo "$as_me: executing $ac_file commands" >&6;}
  1241. ;;
  1242. esac
  1243. case $ac_file$ac_mode in
  1244. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  1245. # Older Autoconf quotes --file arguments for eval, but not when files
  1246. # are listed without --file. Let's play safe and only enable the eval
  1247. # if we detect the quoting.
  1248. case $CONFIG_FILES in
  1249. *\'*) eval set x "$CONFIG_FILES" ;;
  1250. *) set x $CONFIG_FILES ;;
  1251. esac
  1252. shift
  1253. for mf
  1254. do
  1255. # Strip MF so we end up with the name of the file.
  1256. mf=`echo "$mf" | sed -e 's/:.*$//'`
  1257. # Check whether this is an Automake generated Makefile or not.
  1258. # We used to match only the files named 'Makefile.in', but
  1259. # some people rename them; so instead we look at the file content.
  1260. # Grep'ing the first line is not enough: some people post-process
  1261. # each Makefile.in and add a new line on top of each file to say so.
  1262. # Grep'ing the whole file is not good either: AIX grep has a line
  1263. # limit of 2048, but all sed's we know have understand at least 4000.
  1264. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  1265. dirpart=`$as_dirname -- "$mf" ||
  1266. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1267. X"$mf" : 'X\(//\)[^/]' \| \
  1268. X"$mf" : 'X\(//\)$' \| \
  1269. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  1270. $as_echo X"$mf" |
  1271. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1272. s//\1/
  1273. q
  1274. }
  1275. /^X\(\/\/\)[^/].*/{
  1276. s//\1/
  1277. q
  1278. }
  1279. /^X\(\/\/\)$/{
  1280. s//\1/
  1281. q
  1282. }
  1283. /^X\(\/\).*/{
  1284. s//\1/
  1285. q
  1286. }
  1287. s/.*/./; q'`
  1288. else
  1289. continue
  1290. fi
  1291. # Extract the definition of DEPDIR, am__include, and am__quote
  1292. # from the Makefile without running 'make'.
  1293. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  1294. test -z "$DEPDIR" && continue
  1295. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  1296. test -z "$am__include" && continue
  1297. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  1298. # Find all dependency output files, they are included files with
  1299. # $(DEPDIR) in their names. We invoke sed twice because it is the
  1300. # simplest approach to changing $(DEPDIR) to its actual value in the
  1301. # expansion.
  1302. for file in `sed -n "
  1303. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  1304. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  1305. # Make sure the directory exists.
  1306. test -f "$dirpart/$file" && continue
  1307. fdir=`$as_dirname -- "$file" ||
  1308. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1309. X"$file" : 'X\(//\)[^/]' \| \
  1310. X"$file" : 'X\(//\)$' \| \
  1311. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  1312. $as_echo X"$file" |
  1313. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1314. s//\1/
  1315. q
  1316. }
  1317. /^X\(\/\/\)[^/].*/{
  1318. s//\1/
  1319. q
  1320. }
  1321. /^X\(\/\/\)$/{
  1322. s//\1/
  1323. q
  1324. }
  1325. /^X\(\/\).*/{
  1326. s//\1/
  1327. q
  1328. }
  1329. s/.*/./; q'`
  1330. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  1331. # echo "creating $dirpart/$file"
  1332. echo '# dummy' > "$dirpart/$file"
  1333. done
  1334. done
  1335. }
  1336. ;;
  1337. "libtool":C)
  1338. # See if we are running on zsh, and set the options that allow our
  1339. # commands through without removal of \ escapes.
  1340. if test -n "${ZSH_VERSION+set}"; then
  1341. setopt NO_GLOB_SUBST
  1342. fi
  1343. cfgfile=${ofile}T
  1344. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  1345. $RM "$cfgfile"
  1346. cat <<_LT_EOF >> "$cfgfile"
  1347. #! $SHELL
  1348. # Generated automatically by $as_me ($PACKAGE) $VERSION
  1349. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1350. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  1351. # Provide generalized library-building support services.
  1352. # Written by Gordon Matzigkeit, 1996
  1353. # Copyright (C) 2014 Free Software Foundation, Inc.
  1354. # This is free software; see the source for copying conditions. There is NO
  1355. # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  1356. # GNU Libtool is free software; you can redistribute it and/or modify
  1357. # it under the terms of the GNU General Public License as published by
  1358. # the Free Software Foundation; either version 2 of of the License, or
  1359. # (at your option) any later version.
  1360. #
  1361. # As a special exception to the GNU General Public License, if you
  1362. # distribute this file as part of a program or library that is built
  1363. # using GNU Libtool, you may include this file under the same
  1364. # distribution terms that you use for the rest of that program.
  1365. #
  1366. # GNU Libtool is distributed in the hope that it will be useful, but
  1367. # WITHOUT ANY WARRANTY; without even the implied warranty of
  1368. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  1369. # GNU General Public License for more details.
  1370. #
  1371. # You should have received a copy of the GNU General Public License
  1372. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  1373. # The names of the tagged configurations supported by this script.
  1374. available_tags=''
  1375. # Configured defaults for sys_lib_dlsearch_path munging.
  1376. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
  1377. # ### BEGIN LIBTOOL CONFIG
  1378. # Which release of libtool.m4 was used?
  1379. macro_version=$macro_version
  1380. macro_revision=$macro_revision
  1381. # Whether or not to build shared libraries.
  1382. build_libtool_libs=$enable_shared
  1383. # Whether or not to build static libraries.
  1384. build_old_libs=$enable_static
  1385. # What type of objects to build.
  1386. pic_mode=$pic_mode
  1387. # Whether or not to optimize for fast installation.
  1388. fast_install=$enable_fast_install
  1389. # Shared archive member basename,for filename based shared library versioning on AIX.
  1390. shared_archive_member_spec=$shared_archive_member_spec
  1391. # Shell to use when invoking shell scripts.
  1392. SHELL=$lt_SHELL
  1393. # An echo program that protects backslashes.
  1394. ECHO=$lt_ECHO
  1395. # The PATH separator for the build system.
  1396. PATH_SEPARATOR=$lt_PATH_SEPARATOR
  1397. # The host system.
  1398. host_alias=$host_alias
  1399. host=$host
  1400. host_os=$host_os
  1401. # The build system.
  1402. build_alias=$build_alias
  1403. build=$build
  1404. build_os=$build_os
  1405. # A sed program that does not truncate output.
  1406. SED=$lt_SED
  1407. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  1408. Xsed="\$SED -e 1s/^X//"
  1409. # A grep program that handles long lines.
  1410. GREP=$lt_GREP
  1411. # An ERE matcher.
  1412. EGREP=$lt_EGREP
  1413. # A literal string matcher.
  1414. FGREP=$lt_FGREP
  1415. # A BSD- or MS-compatible name lister.
  1416. NM=$lt_NM
  1417. # Whether we need soft or hard links.
  1418. LN_S=$lt_LN_S
  1419. # What is the maximum length of a command?
  1420. max_cmd_len=$max_cmd_len
  1421. # Object file suffix (normally "o").
  1422. objext=$ac_objext
  1423. # Executable file suffix (normally "").
  1424. exeext=$exeext
  1425. # whether the shell understands "unset".
  1426. lt_unset=$lt_unset
  1427. # turn spaces into newlines.
  1428. SP2NL=$lt_lt_SP2NL
  1429. # turn newlines into spaces.
  1430. NL2SP=$lt_lt_NL2SP
  1431. # convert \$build file names to \$host format.
  1432. to_host_file_cmd=$lt_cv_to_host_file_cmd
  1433. # convert \$build files to toolchain format.
  1434. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  1435. # An object symbol dumper.
  1436. OBJDUMP=$lt_OBJDUMP
  1437. # Method to check whether dependent libraries are shared objects.
  1438. deplibs_check_method=$lt_deplibs_check_method
  1439. # Command to use when deplibs_check_method = "file_magic".
  1440. file_magic_cmd=$lt_file_magic_cmd
  1441. # How to find potential files when deplibs_check_method = "file_magic".
  1442. file_magic_glob=$lt_file_magic_glob
  1443. # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  1444. want_nocaseglob=$lt_want_nocaseglob
  1445. # DLL creation program.
  1446. DLLTOOL=$lt_DLLTOOL
  1447. # Command to associate shared and link libraries.
  1448. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  1449. # The archiver.
  1450. AR=$lt_AR
  1451. # Flags to create an archive.
  1452. AR_FLAGS=$lt_AR_FLAGS
  1453. # How to feed a file listing to the archiver.
  1454. archiver_list_spec=$lt_archiver_list_spec
  1455. # A symbol stripping program.
  1456. STRIP=$lt_STRIP
  1457. # Commands used to install an old-style archive.
  1458. RANLIB=$lt_RANLIB
  1459. old_postinstall_cmds=$lt_old_postinstall_cmds
  1460. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  1461. # Whether to use a lock for old archive extraction.
  1462. lock_old_archive_extraction=$lock_old_archive_extraction
  1463. # A C compiler.
  1464. LTCC=$lt_CC
  1465. # LTCC compiler flags.
  1466. LTCFLAGS=$lt_CFLAGS
  1467. # Take the output of nm and produce a listing of raw symbols and C names.
  1468. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  1469. # Transform the output of nm in a proper C declaration.
  1470. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  1471. # Transform the output of nm into a list of symbols to manually relocate.
  1472. global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
  1473. # Transform the output of nm in a C name address pair.
  1474. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  1475. # Transform the output of nm in a C name address pair when lib prefix is needed.
  1476. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  1477. # The name lister interface.
  1478. nm_interface=$lt_lt_cv_nm_interface
  1479. # Specify filename containing input files for \$NM.
  1480. nm_file_list_spec=$lt_nm_file_list_spec
  1481. # The root where to search for dependent libraries,and where our libraries should be installed.
  1482. lt_sysroot=$lt_sysroot
  1483. # Command to truncate a binary pipe.
  1484. lt_truncate_bin=$lt_lt_cv_truncate_bin
  1485. # The name of the directory that contains temporary libtool files.
  1486. objdir=$objdir
  1487. # Used to examine libraries when file_magic_cmd begins with "file".
  1488. MAGIC_CMD=$MAGIC_CMD
  1489. # Must we lock files when doing compilation?
  1490. need_locks=$lt_need_locks
  1491. # Manifest tool.
  1492. MANIFEST_TOOL=$lt_MANIFEST_TOOL
  1493. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  1494. DSYMUTIL=$lt_DSYMUTIL
  1495. # Tool to change global to local symbols on Mac OS X.
  1496. NMEDIT=$lt_NMEDIT
  1497. # Tool to manipulate fat objects and archives on Mac OS X.
  1498. LIPO=$lt_LIPO
  1499. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  1500. OTOOL=$lt_OTOOL
  1501. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  1502. OTOOL64=$lt_OTOOL64
  1503. # Old archive suffix (normally "a").
  1504. libext=$libext
  1505. # Shared library suffix (normally ".so").
  1506. shrext_cmds=$lt_shrext_cmds
  1507. # The commands to extract the exported symbol list from a shared archive.
  1508. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  1509. # Variables whose values should be saved in libtool wrapper scripts and
  1510. # restored at link time.
  1511. variables_saved_for_relink=$lt_variables_saved_for_relink
  1512. # Do we need the "lib" prefix for modules?
  1513. need_lib_prefix=$need_lib_prefix
  1514. # Do we need a version for libraries?
  1515. need_version=$need_version
  1516. # Library versioning type.
  1517. version_type=$version_type
  1518. # Shared library runtime path variable.
  1519. runpath_var=$runpath_var
  1520. # Shared library path variable.
  1521. shlibpath_var=$shlibpath_var
  1522. # Is shlibpath searched before the hard-coded library search path?
  1523. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  1524. # Format of library name prefix.
  1525. libname_spec=$lt_libname_spec
  1526. # List of archive names. First name is the real one, the rest are links.
  1527. # The last name is the one that the linker finds with -lNAME
  1528. library_names_spec=$lt_library_names_spec
  1529. # The coded name of the library, if different from the real name.
  1530. soname_spec=$lt_soname_spec
  1531. # Permission mode override for installation of shared libraries.
  1532. install_override_mode=$lt_install_override_mode
  1533. # Command to use after installation of a shared archive.
  1534. postinstall_cmds=$lt_postinstall_cmds
  1535. # Command to use after uninstallation of a shared archive.
  1536. postuninstall_cmds=$lt_postuninstall_cmds
  1537. # Commands used to finish a libtool library installation in a directory.
  1538. finish_cmds=$lt_finish_cmds
  1539. # As "finish_cmds", except a single script fragment to be evaled but
  1540. # not shown.
  1541. finish_eval=$lt_finish_eval
  1542. # Whether we should hardcode library paths into libraries.
  1543. hardcode_into_libs=$hardcode_into_libs
  1544. # Compile-time system search path for libraries.
  1545. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  1546. # Detected run-time system search path for libraries.
  1547. sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
  1548. # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
  1549. configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
  1550. # Whether dlopen is supported.
  1551. dlopen_support=$enable_dlopen
  1552. # Whether dlopen of programs is supported.
  1553. dlopen_self=$enable_dlopen_self
  1554. # Whether dlopen of statically linked programs is supported.
  1555. dlopen_self_static=$enable_dlopen_self_static
  1556. # Commands to strip libraries.
  1557. old_striplib=$lt_old_striplib
  1558. striplib=$lt_striplib
  1559. # The linker used to build libraries.
  1560. LD=$lt_LD
  1561. # How to create reloadable object files.
  1562. reload_flag=$lt_reload_flag
  1563. reload_cmds=$lt_reload_cmds
  1564. # Commands used to build an old-style archive.
  1565. old_archive_cmds=$lt_old_archive_cmds
  1566. # A language specific compiler.
  1567. CC=$lt_compiler
  1568. # Is the compiler the GNU compiler?
  1569. with_gcc=$GCC
  1570. # Compiler flag to turn off builtin functions.
  1571. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  1572. # Additional compiler flags for building library objects.
  1573. pic_flag=$lt_lt_prog_compiler_pic
  1574. # How to pass a linker flag through the compiler.
  1575. wl=$lt_lt_prog_compiler_wl
  1576. # Compiler flag to prevent dynamic linking.
  1577. link_static_flag=$lt_lt_prog_compiler_static
  1578. # Does compiler simultaneously support -c and -o options?
  1579. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  1580. # Whether or not to add -lc for building shared libraries.
  1581. build_libtool_need_lc=$archive_cmds_need_lc
  1582. # Whether or not to disallow shared libs when runtime libs are static.
  1583. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  1584. # Compiler flag to allow reflexive dlopens.
  1585. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  1586. # Compiler flag to generate shared objects directly from archives.
  1587. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  1588. # Whether the compiler copes with passing no objects directly.
  1589. compiler_needs_object=$lt_compiler_needs_object
  1590. # Create an old-style archive from a shared archive.
  1591. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  1592. # Create a temporary old-style archive to link instead of a shared archive.
  1593. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  1594. # Commands used to build a shared archive.
  1595. archive_cmds=$lt_archive_cmds
  1596. archive_expsym_cmds=$lt_archive_expsym_cmds
  1597. # Commands used to build a loadable module if different from building
  1598. # a shared archive.
  1599. module_cmds=$lt_module_cmds
  1600. module_expsym_cmds=$lt_module_expsym_cmds
  1601. # Whether we are building with GNU ld or not.
  1602. with_gnu_ld=$lt_with_gnu_ld
  1603. # Flag that allows shared libraries with undefined symbols to be built.
  1604. allow_undefined_flag=$lt_allow_undefined_flag
  1605. # Flag that enforces no undefined symbols.
  1606. no_undefined_flag=$lt_no_undefined_flag
  1607. # Flag to hardcode \$libdir into a binary during linking.
  1608. # This must work even if \$libdir does not exist
  1609. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  1610. # Whether we need a single "-rpath" flag with a separated argument.
  1611. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  1612. # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  1613. # DIR into the resulting binary.
  1614. hardcode_direct=$hardcode_direct
  1615. # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  1616. # DIR into the resulting binary and the resulting library dependency is
  1617. # "absolute",i.e impossible to change by setting \$shlibpath_var if the
  1618. # library is relocated.
  1619. hardcode_direct_absolute=$hardcode_direct_absolute
  1620. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  1621. # into the resulting binary.
  1622. hardcode_minus_L=$hardcode_minus_L
  1623. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  1624. # into the resulting binary.
  1625. hardcode_shlibpath_var=$hardcode_shlibpath_var
  1626. # Set to "yes" if building a shared library automatically hardcodes DIR
  1627. # into the library and all subsequent libraries and executables linked
  1628. # against it.
  1629. hardcode_automatic=$hardcode_automatic
  1630. # Set to yes if linker adds runtime paths of dependent libraries
  1631. # to runtime path list.
  1632. inherit_rpath=$inherit_rpath
  1633. # Whether libtool must link a program against all its dependency libraries.
  1634. link_all_deplibs=$link_all_deplibs
  1635. # Set to "yes" if exported symbols are required.
  1636. always_export_symbols=$always_export_symbols
  1637. # The commands to list exported symbols.
  1638. export_symbols_cmds=$lt_export_symbols_cmds
  1639. # Symbols that should not be listed in the preloaded symbols.
  1640. exclude_expsyms=$lt_exclude_expsyms
  1641. # Symbols that must always be exported.
  1642. include_expsyms=$lt_include_expsyms
  1643. # Commands necessary for linking programs (against libraries) with templates.
  1644. prelink_cmds=$lt_prelink_cmds
  1645. # Commands necessary for finishing linking programs.
  1646. postlink_cmds=$lt_postlink_cmds
  1647. # Specify filename containing input files.
  1648. file_list_spec=$lt_file_list_spec
  1649. # How to hardcode a shared library path into an executable.
  1650. hardcode_action=$hardcode_action
  1651. # ### END LIBTOOL CONFIG
  1652. _LT_EOF
  1653. cat <<'_LT_EOF' >> "$cfgfile"
  1654. # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
  1655. # func_munge_path_list VARIABLE PATH
  1656. # -----------------------------------
  1657. # VARIABLE is name of variable containing _space_ separated list of
  1658. # directories to be munged by the contents of PATH, which is string
  1659. # having a format:
  1660. # "DIR[:DIR]:"
  1661. # string "DIR[ DIR]" will be prepended to VARIABLE
  1662. # ":DIR[:DIR]"
  1663. # string "DIR[ DIR]" will be appended to VARIABLE
  1664. # "DIRP[:DIRP]::[DIRA:]DIRA"
  1665. # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  1666. # "DIRA[ DIRA]" will be appended to VARIABLE
  1667. # "DIR[:DIR]"
  1668. # VARIABLE will be replaced by "DIR[ DIR]"
  1669. func_munge_path_list ()
  1670. {
  1671. case x$2 in
  1672. x)
  1673. ;;
  1674. *:)
  1675. eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
  1676. ;;
  1677. x:*)
  1678. eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
  1679. ;;
  1680. *::*)
  1681. eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  1682. eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
  1683. ;;
  1684. *)
  1685. eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
  1686. ;;
  1687. esac
  1688. }
  1689. # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  1690. func_cc_basename ()
  1691. {
  1692. for cc_temp in $*""; do
  1693. case $cc_temp in
  1694. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  1695. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  1696. \-*) ;;
  1697. *) break;;
  1698. esac
  1699. done
  1700. func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  1701. }
  1702. # ### END FUNCTIONS SHARED WITH CONFIGURE
  1703. _LT_EOF
  1704. case $host_os in
  1705. aix3*)
  1706. cat <<\_LT_EOF >> "$cfgfile"
  1707. # AIX sometimes has problems with the GCC collect2 program. For some
  1708. # reason, if we set the COLLECT_NAMES environment variable, the problems
  1709. # vanish in a puff of smoke.
  1710. if test set != "${COLLECT_NAMES+set}"; then
  1711. COLLECT_NAMES=
  1712. export COLLECT_NAMES
  1713. fi
  1714. _LT_EOF
  1715. ;;
  1716. esac
  1717. ltmain=$ac_aux_dir/ltmain.sh
  1718. # We use sed instead of cat because bash on DJGPP gets confused if
  1719. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  1720. # text mode, it properly converts lines to CR/LF. This bash problem
  1721. # is reportedly fixed, but why not run on old versions too?
  1722. sed '$q' "$ltmain" >> "$cfgfile" \
  1723. || (rm -f "$cfgfile"; exit 1)
  1724. mv -f "$cfgfile" "$ofile" ||
  1725. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  1726. chmod +x "$ofile"
  1727. ;;
  1728. esac
  1729. done # for ac_tag
  1730. as_fn_exit 0