config.status 52 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869
  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. ## --------------------- ##
  11. ## M4sh Initialization. ##
  12. ## --------------------- ##
  13. # Be more Bourne compatible
  14. DUALCASE=1; export DUALCASE # for MKS sh
  15. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  16. emulate sh
  17. NULLCMD=:
  18. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  19. # is contrary to our usage. Disable this feature.
  20. alias -g '${1+"$@"}'='"$@"'
  21. setopt NO_GLOB_SUBST
  22. else
  23. case `(set -o) 2>/dev/null` in
  24. *posix*) set -o posix ;;
  25. esac
  26. fi
  27. # PATH needs CR
  28. # Avoid depending upon Character Ranges.
  29. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  30. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  31. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  32. as_cr_digits='0123456789'
  33. as_cr_alnum=$as_cr_Letters$as_cr_digits
  34. as_nl='
  35. '
  36. export as_nl
  37. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  38. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  39. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  40. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  41. if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  42. as_echo='printf %s\n'
  43. as_echo_n='printf %s'
  44. else
  45. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  46. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  47. as_echo_n='/usr/ucb/echo -n'
  48. else
  49. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  50. as_echo_n_body='eval
  51. arg=$1;
  52. case $arg in
  53. *"$as_nl"*)
  54. expr "X$arg" : "X\\(.*\\)$as_nl";
  55. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  56. esac;
  57. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  58. '
  59. export as_echo_n_body
  60. as_echo_n='sh -c $as_echo_n_body as_echo'
  61. fi
  62. export as_echo_body
  63. as_echo='sh -c $as_echo_body as_echo'
  64. fi
  65. # The user is always right.
  66. if test "${PATH_SEPARATOR+set}" != set; then
  67. PATH_SEPARATOR=:
  68. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  69. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  70. PATH_SEPARATOR=';'
  71. }
  72. fi
  73. # Support unset when possible.
  74. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  75. as_unset=unset
  76. else
  77. as_unset=false
  78. fi
  79. # IFS
  80. # We need space, tab and new line, in precisely that order. Quoting is
  81. # there to prevent editors from complaining about space-tab.
  82. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  83. # splitting by setting IFS to empty value.)
  84. IFS=" "" $as_nl"
  85. # Find who we are. Look in the path if we contain no directory separator.
  86. case $0 in
  87. *[\\/]* ) as_myself=$0 ;;
  88. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  89. for as_dir in $PATH
  90. do
  91. IFS=$as_save_IFS
  92. test -z "$as_dir" && as_dir=.
  93. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  94. done
  95. IFS=$as_save_IFS
  96. ;;
  97. esac
  98. # We did not find ourselves, most probably we were run as `sh COMMAND'
  99. # in which case we are not to be found in the path.
  100. if test "x$as_myself" = x; then
  101. as_myself=$0
  102. fi
  103. if test ! -f "$as_myself"; then
  104. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  105. { (exit 1); exit 1; }
  106. fi
  107. # Work around bugs in pre-3.0 UWIN ksh.
  108. for as_var in ENV MAIL MAILPATH
  109. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  110. done
  111. PS1='$ '
  112. PS2='> '
  113. PS4='+ '
  114. # NLS nuisances.
  115. LC_ALL=C
  116. export LC_ALL
  117. LANGUAGE=C
  118. export LANGUAGE
  119. # Required to use basename.
  120. if expr a : '\(a\)' >/dev/null 2>&1 &&
  121. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  122. as_expr=expr
  123. else
  124. as_expr=false
  125. fi
  126. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  127. as_basename=basename
  128. else
  129. as_basename=false
  130. fi
  131. # Name of the executable.
  132. as_me=`$as_basename -- "$0" ||
  133. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  134. X"$0" : 'X\(//\)$' \| \
  135. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  136. $as_echo X/"$0" |
  137. sed '/^.*\/\([^/][^/]*\)\/*$/{
  138. s//\1/
  139. q
  140. }
  141. /^X\/\(\/\/\)$/{
  142. s//\1/
  143. q
  144. }
  145. /^X\/\(\/\).*/{
  146. s//\1/
  147. q
  148. }
  149. s/.*/./; q'`
  150. # CDPATH.
  151. $as_unset CDPATH
  152. as_lineno_1=$LINENO
  153. as_lineno_2=$LINENO
  154. test "x$as_lineno_1" != "x$as_lineno_2" &&
  155. test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  156. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  157. # uniformly replaced by the line number. The first 'sed' inserts a
  158. # line-number line after each line using $LINENO; the second 'sed'
  159. # does the real work. The second script uses 'N' to pair each
  160. # line-number line with the line containing $LINENO, and appends
  161. # trailing '-' during substitution so that $LINENO is not a special
  162. # case at line end.
  163. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  164. # scripts with optimization help from Paolo Bonzini. Blame Lee
  165. # E. McMahon (1931-1989) for sed's syntax. :-)
  166. sed -n '
  167. p
  168. /[$]LINENO/=
  169. ' <$as_myself |
  170. sed '
  171. s/[$]LINENO.*/&-/
  172. t lineno
  173. b
  174. :lineno
  175. N
  176. :loop
  177. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  178. t loop
  179. s/-\n.*//
  180. ' >$as_me.lineno &&
  181. chmod +x "$as_me.lineno" ||
  182. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  183. { (exit 1); exit 1; }; }
  184. # Don't try to exec as it changes $[0], causing all sort of problems
  185. # (the dirname of $[0] is not the place where we might find the
  186. # original and so on. Autoconf is especially sensitive to this).
  187. . "./$as_me.lineno"
  188. # Exit status is that of the last command.
  189. exit
  190. }
  191. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  192. as_dirname=dirname
  193. else
  194. as_dirname=false
  195. fi
  196. ECHO_C= ECHO_N= ECHO_T=
  197. case `echo -n x` in
  198. -n*)
  199. case `echo 'x\c'` in
  200. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  201. *) ECHO_C='\c';;
  202. esac;;
  203. *)
  204. ECHO_N='-n';;
  205. esac
  206. if expr a : '\(a\)' >/dev/null 2>&1 &&
  207. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  208. as_expr=expr
  209. else
  210. as_expr=false
  211. fi
  212. rm -f conf$$ conf$$.exe conf$$.file
  213. if test -d conf$$.dir; then
  214. rm -f conf$$.dir/conf$$.file
  215. else
  216. rm -f conf$$.dir
  217. mkdir conf$$.dir 2>/dev/null
  218. fi
  219. if (echo >conf$$.file) 2>/dev/null; then
  220. if ln -s conf$$.file conf$$ 2>/dev/null; then
  221. as_ln_s='ln -s'
  222. # ... but there are two gotchas:
  223. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  224. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  225. # In both cases, we have to default to `cp -p'.
  226. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  227. as_ln_s='cp -p'
  228. elif ln conf$$.file conf$$ 2>/dev/null; then
  229. as_ln_s=ln
  230. else
  231. as_ln_s='cp -p'
  232. fi
  233. else
  234. as_ln_s='cp -p'
  235. fi
  236. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  237. rmdir conf$$.dir 2>/dev/null
  238. if mkdir -p . 2>/dev/null; then
  239. as_mkdir_p=:
  240. else
  241. test -d ./-p && rmdir ./-p
  242. as_mkdir_p=false
  243. fi
  244. if test -x / >/dev/null 2>&1; then
  245. as_test_x='test -x'
  246. else
  247. if ls -dL / >/dev/null 2>&1; then
  248. as_ls_L_option=L
  249. else
  250. as_ls_L_option=
  251. fi
  252. as_test_x='
  253. eval sh -c '\''
  254. if test -d "$1"; then
  255. test -d "$1/.";
  256. else
  257. case $1 in
  258. -*)set "./$1";;
  259. esac;
  260. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  261. ???[sx]*):;;*)false;;esac;fi
  262. '\'' sh
  263. '
  264. fi
  265. as_executable_p=$as_test_x
  266. # Sed expression to map a string onto a valid CPP name.
  267. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  268. # Sed expression to map a string onto a valid variable name.
  269. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  270. exec 6>&1
  271. # Save the log message, to keep $[0] and so on meaningful, and to
  272. # report actual input values of CONFIG_FILES etc. instead of their
  273. # values after options handling.
  274. ac_log="
  275. This file was extended by sqlite $as_me 3.8.1, which was
  276. generated by GNU Autoconf 2.62. Invocation command line was
  277. CONFIG_FILES = $CONFIG_FILES
  278. CONFIG_HEADERS = $CONFIG_HEADERS
  279. CONFIG_LINKS = $CONFIG_LINKS
  280. CONFIG_COMMANDS = $CONFIG_COMMANDS
  281. $ $0 $@
  282. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  283. "
  284. # Files that config.status was made for.
  285. config_files=" Makefile sqlite3.pc"
  286. config_headers=" config.h"
  287. config_commands=" libtool"
  288. ac_cs_usage="\
  289. \`$as_me' instantiates files from templates according to the
  290. current configuration.
  291. Usage: $0 [OPTIONS] [FILE]...
  292. -h, --help print this help, then exit
  293. -V, --version print version number and configuration settings, then exit
  294. -q, --quiet do not print progress messages
  295. -d, --debug don't remove temporary files
  296. --recheck update $as_me by reconfiguring in the same conditions
  297. --file=FILE[:TEMPLATE]
  298. instantiate the configuration file FILE
  299. --header=FILE[:TEMPLATE]
  300. instantiate the configuration header FILE
  301. Configuration files:
  302. $config_files
  303. Configuration headers:
  304. $config_headers
  305. Configuration commands:
  306. $config_commands
  307. Report bugs to <bug-autoconf@gnu.org>."
  308. ac_cs_version="\
  309. sqlite config.status 3.8.1
  310. configured by ../configure, generated by GNU Autoconf 2.62,
  311. with options \"'--host=arm-none-eabi' 'host_alias=arm-none-eabi'\"
  312. Copyright (C) 2008 Free Software Foundation, Inc.
  313. This config.status script is free software; the Free Software Foundation
  314. gives unlimited permission to copy, distribute and modify it."
  315. ac_pwd='/cygdrive/e/rt-thread/components/external/SQLite-3.8.1/make'
  316. srcdir='..'
  317. INSTALL='/usr/bin/install -c'
  318. AWK='gawk'
  319. test -n "$AWK" || AWK=awk
  320. # The default lists apply if the user does not specify any file.
  321. ac_need_defaults=:
  322. while test $# != 0
  323. do
  324. case $1 in
  325. --*=*)
  326. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  327. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  328. ac_shift=:
  329. ;;
  330. *)
  331. ac_option=$1
  332. ac_optarg=$2
  333. ac_shift=shift
  334. ;;
  335. esac
  336. case $ac_option in
  337. # Handling of the options.
  338. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  339. ac_cs_recheck=: ;;
  340. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  341. $as_echo "$ac_cs_version"; exit ;;
  342. --debug | --debu | --deb | --de | --d | -d )
  343. debug=: ;;
  344. --file | --fil | --fi | --f )
  345. $ac_shift
  346. case $ac_optarg in
  347. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  348. esac
  349. CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
  350. ac_need_defaults=false;;
  351. --header | --heade | --head | --hea )
  352. $ac_shift
  353. case $ac_optarg in
  354. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  355. esac
  356. CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
  357. ac_need_defaults=false;;
  358. --he | --h)
  359. # Conflict between --help and --header
  360. { $as_echo "$as_me: error: ambiguous option: $1
  361. Try \`$0 --help' for more information." >&2
  362. { (exit 1); exit 1; }; };;
  363. --help | --hel | -h )
  364. $as_echo "$ac_cs_usage"; exit ;;
  365. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  366. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  367. ac_cs_silent=: ;;
  368. # This is an error.
  369. -*) { $as_echo "$as_me: error: unrecognized option: $1
  370. Try \`$0 --help' for more information." >&2
  371. { (exit 1); exit 1; }; } ;;
  372. *) ac_config_targets="$ac_config_targets $1"
  373. ac_need_defaults=false ;;
  374. esac
  375. shift
  376. done
  377. ac_configure_extra_args=
  378. if $ac_cs_silent; then
  379. exec 6>/dev/null
  380. ac_configure_extra_args="$ac_configure_extra_args --silent"
  381. fi
  382. if $ac_cs_recheck; then
  383. set X '/bin/sh' '../configure' '--host=arm-none-eabi' 'host_alias=arm-none-eabi' $ac_configure_extra_args --no-create --no-recursion
  384. shift
  385. $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
  386. CONFIG_SHELL='/bin/sh'
  387. export CONFIG_SHELL
  388. exec "$@"
  389. fi
  390. exec 5>>config.log
  391. {
  392. echo
  393. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  394. ## Running $as_me. ##
  395. _ASBOX
  396. $as_echo "$ac_log"
  397. } >&5
  398. #
  399. # INIT-COMMANDS
  400. #
  401. # The HP-UX ksh and POSIX shell print the target directory to stdout
  402. # if CDPATH is set.
  403. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  404. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  405. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  406. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  407. macro_version='2.2.6'
  408. macro_revision='1.3012'
  409. enable_shared='no'
  410. enable_static='yes'
  411. pic_mode='default'
  412. enable_fast_install='yes'
  413. host_alias='arm-none-eabi'
  414. host='arm-none-eabi'
  415. host_os='eabi'
  416. build_alias=''
  417. build='i686-pc-cygwin'
  418. build_os='cygwin'
  419. SED='/usr/bin/sed'
  420. Xsed='/usr/bin/sed -e 1s/^X//'
  421. GREP='/usr/bin/grep'
  422. EGREP='/usr/bin/grep -E'
  423. FGREP='/usr/bin/grep -F'
  424. LD='c:/program files/codesourcery/sourcery_codebench_lite_for_arm_eabi/arm-none-eabi/bin/ld.exe'
  425. NM='/cygdrive/c/Program Files/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin/arm-none-eabi-nm -B'
  426. LN_S='ln -s'
  427. max_cmd_len='8192'
  428. ac_objext='o'
  429. exeext=''
  430. lt_unset='unset'
  431. lt_SP2NL='tr \040 \012'
  432. lt_NL2SP='tr \015\012 \040\040'
  433. reload_flag=' -r'
  434. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  435. OBJDUMP='arm-none-eabi-objdump'
  436. deplibs_check_method='unknown'
  437. file_magic_cmd='$MAGIC_CMD'
  438. AR='arm-none-eabi-ar'
  439. AR_FLAGS='cru'
  440. STRIP='arm-none-eabi-strip'
  441. RANLIB='arm-none-eabi-ranlib'
  442. old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib'
  443. old_postuninstall_cmds=''
  444. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
  445. CC='arm-none-eabi-gcc'
  446. CFLAGS=' -g -O2 -DSQLITE_OS_UNIX=1'
  447. compiler='arm-none-eabi-gcc'
  448. GCC='yes'
  449. lt_cv_sys_global_symbol_pipe=''
  450. lt_cv_sys_global_symbol_to_cdecl=''
  451. lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
  452. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
  453. objdir='.libs'
  454. SHELL='/bin/sh'
  455. ECHO='echo'
  456. MAGIC_CMD='file'
  457. lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  458. lt_prog_compiler_wl='-Wl,'
  459. lt_prog_compiler_pic=' -fPIC -DPIC'
  460. lt_prog_compiler_static='-static'
  461. lt_cv_prog_compiler_c_o='yes'
  462. need_locks='no'
  463. DSYMUTIL=''
  464. NMEDIT=''
  465. LIPO=''
  466. OTOOL=''
  467. OTOOL64=''
  468. libext='a'
  469. shrext_cmds='.so'
  470. extract_expsyms_cmds=''
  471. archive_cmds_need_lc='yes'
  472. enable_shared_with_static_runtimes='no'
  473. export_dynamic_flag_spec=''
  474. whole_archive_flag_spec=''
  475. compiler_needs_object='no'
  476. old_archive_from_new_cmds=''
  477. old_archive_from_expsyms_cmds=''
  478. archive_cmds=''
  479. archive_expsym_cmds=''
  480. module_cmds=''
  481. module_expsym_cmds=''
  482. with_gnu_ld='no'
  483. allow_undefined_flag=''
  484. no_undefined_flag=''
  485. hardcode_libdir_flag_spec=''
  486. hardcode_libdir_flag_spec_ld=''
  487. hardcode_libdir_separator=''
  488. hardcode_direct='no'
  489. hardcode_direct_absolute='no'
  490. hardcode_minus_L='no'
  491. hardcode_shlibpath_var='unsupported'
  492. hardcode_automatic='no'
  493. inherit_rpath='no'
  494. link_all_deplibs='unknown'
  495. fix_srcfile_path=''
  496. always_export_symbols='no'
  497. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  498. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  499. include_expsyms=''
  500. prelink_cmds=''
  501. file_list_spec=''
  502. variables_saved_for_relink='PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
  503. need_lib_prefix='unknown'
  504. need_version='unknown'
  505. version_type='none'
  506. runpath_var=''
  507. shlibpath_var=''
  508. shlibpath_overrides_runpath='unknown'
  509. libname_spec='lib$name'
  510. library_names_spec=''
  511. soname_spec=''
  512. postinstall_cmds=''
  513. postuninstall_cmds=''
  514. finish_cmds=''
  515. finish_eval=''
  516. hardcode_into_libs='no'
  517. sys_lib_search_path_spec=''
  518. sys_lib_dlsearch_path_spec='/lib /usr/lib'
  519. hardcode_action='unsupported'
  520. enable_dlopen='unknown'
  521. enable_dlopen_self='unknown'
  522. enable_dlopen_self_static='unknown'
  523. old_striplib='arm-none-eabi-strip --strip-debug'
  524. striplib='arm-none-eabi-strip --strip-unneeded'
  525. LTCC='arm-none-eabi-gcc'
  526. LTCFLAGS='-g -O2'
  527. compiler='arm-none-eabi-gcc'
  528. # Quote evaled strings.
  529. for var in SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd AR AR_FLAGS 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 SHELL ECHO lt_prog_compiler_no_builtin_flag lt_prog_compiler_wl lt_prog_compiler_pic lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks 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 fix_srcfile_path exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec finish_eval old_striplib striplib; do
  530. case `eval \\$ECHO "X\\$$var"` in
  531. *[\\\`\"\$]*)
  532. eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  533. ;;
  534. *)
  535. eval "lt_$var=\\\"\$$var\\\""
  536. ;;
  537. esac
  538. done
  539. # Double-quote double-evaled strings.
  540. 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 postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec; do
  541. case `eval \\$ECHO "X\\$$var"` in
  542. *[\\\`\"\$]*)
  543. eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  544. ;;
  545. *)
  546. eval "lt_$var=\\\"\$$var\\\""
  547. ;;
  548. esac
  549. done
  550. # Fix-up fallback echo if it was mangled by the above quoting rules.
  551. case $lt_ECHO in
  552. *'\$0 --fallback-echo"') lt_ECHO=`$ECHO "X$lt_ECHO" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  553. ;;
  554. esac
  555. ac_aux_dir='..'
  556. xsi_shell='yes'
  557. lt_shell_append='yes'
  558. # See if we are running on zsh, and set the options which allow our
  559. # commands through without removal of \ escapes INIT.
  560. if test -n "${ZSH_VERSION+set}" ; then
  561. setopt NO_GLOB_SUBST
  562. fi
  563. PACKAGE=''
  564. VERSION='3.8'
  565. TIMESTAMP=''
  566. RM='rm -f'
  567. ofile='libtool'
  568. # Handling of arguments.
  569. for ac_config_target in $ac_config_targets
  570. do
  571. case $ac_config_target in
  572. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  573. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  574. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  575. "sqlite3.pc") CONFIG_FILES="$CONFIG_FILES sqlite3.pc" ;;
  576. *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  577. $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  578. { (exit 1); exit 1; }; };;
  579. esac
  580. done
  581. # If the user did not use the arguments to specify the items to instantiate,
  582. # then the envvar interface is used. Set only those that are not.
  583. # We use the long form for the default assignment because of an extremely
  584. # bizarre bug on SunOS 4.1.3.
  585. if $ac_need_defaults; then
  586. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  587. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  588. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  589. fi
  590. # Have a temporary directory for convenience. Make it in the build tree
  591. # simply because there is no reason against having it here, and in addition,
  592. # creating and moving files from /tmp can sometimes cause problems.
  593. # Hook for its removal unless debugging.
  594. # Note that there is a small window in which the directory will not be cleaned:
  595. # after its creation but before its name has been assigned to `$tmp'.
  596. $debug ||
  597. {
  598. tmp=
  599. trap 'exit_status=$?
  600. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  601. ' 0
  602. trap '{ (exit 1); exit 1; }' 1 2 13 15
  603. }
  604. # Create a (secure) tmp directory for tmp files.
  605. {
  606. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  607. test -n "$tmp" && test -d "$tmp"
  608. } ||
  609. {
  610. tmp=./conf$$-$RANDOM
  611. (umask 077 && mkdir "$tmp")
  612. } ||
  613. {
  614. $as_echo "$as_me: cannot create a temporary directory in ." >&2
  615. { (exit 1); exit 1; }
  616. }
  617. # Set up the scripts for CONFIG_FILES section.
  618. # No need to generate them if there are no CONFIG_FILES.
  619. # This happens for instance with `./config.status config.h'.
  620. if test -n "$CONFIG_FILES"; then
  621. ac_cr=' '
  622. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  623. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  624. ac_cs_awk_cr='\\r'
  625. else
  626. ac_cs_awk_cr=$ac_cr
  627. fi
  628. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  629. cat >>"$tmp/subs1.awk" <<\_ACAWK &&
  630. S["SHELL"]="/bin/sh"
  631. S["PATH_SEPARATOR"]=":"
  632. S["PACKAGE_NAME"]="sqlite"
  633. S["PACKAGE_TARNAME"]="sqlite"
  634. S["PACKAGE_VERSION"]="3.8.1"
  635. S["PACKAGE_STRING"]="sqlite 3.8.1"
  636. S["PACKAGE_BUGREPORT"]=""
  637. S["exec_prefix"]="${prefix}"
  638. S["prefix"]="/usr/local"
  639. S["program_transform_name"]="s,x,x,"
  640. S["bindir"]="${exec_prefix}/bin"
  641. S["sbindir"]="${exec_prefix}/sbin"
  642. S["libexecdir"]="${exec_prefix}/libexec"
  643. S["datarootdir"]="${prefix}/share"
  644. S["datadir"]="${datarootdir}"
  645. S["sysconfdir"]="${prefix}/etc"
  646. S["sharedstatedir"]="${prefix}/com"
  647. S["localstatedir"]="${prefix}/var"
  648. S["includedir"]="${prefix}/include"
  649. S["oldincludedir"]="/usr/include"
  650. S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
  651. S["infodir"]="${datarootdir}/info"
  652. S["htmldir"]="${docdir}"
  653. S["dvidir"]="${docdir}"
  654. S["pdfdir"]="${docdir}"
  655. S["psdir"]="${docdir}"
  656. S["libdir"]="${exec_prefix}/lib"
  657. S["localedir"]="${datarootdir}/locale"
  658. S["mandir"]="${datarootdir}/man"
  659. S["DEFS"]="-DHAVE_CONFIG_H"
  660. S["ECHO_C"]=""
  661. S["ECHO_N"]="-n"
  662. S["ECHO_T"]=""
  663. S["LIBS"]=""
  664. S["build_alias"]=""
  665. S["host_alias"]="arm-none-eabi"
  666. S["target_alias"]=""
  667. S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
  668. S["build"]="i686-pc-cygwin"
  669. S["build_cpu"]="i686"
  670. S["build_vendor"]="pc"
  671. S["build_os"]="cygwin"
  672. S["host"]="arm-none-eabi"
  673. S["host_cpu"]="arm"
  674. S["host_vendor"]="none"
  675. S["host_os"]="eabi"
  676. S["CC"]="arm-none-eabi-gcc"
  677. S["CFLAGS"]=" -g -O2 -DSQLITE_OS_UNIX=1"
  678. S["LDFLAGS"]=""
  679. S["CPPFLAGS"]=""
  680. S["ac_ct_CC"]=""
  681. S["EXEEXT"]=""
  682. S["OBJEXT"]="o"
  683. S["SED"]="/usr/bin/sed"
  684. S["GREP"]="/usr/bin/grep"
  685. S["EGREP"]="/usr/bin/grep -E"
  686. S["FGREP"]="/usr/bin/grep -F"
  687. S["LD"]="c:/program files/codesourcery/sourcery_codebench_lite_for_arm_eabi/arm-none-eabi/bin/ld.exe"
  688. S["DUMPBIN"]=""
  689. S["ac_ct_DUMPBIN"]=""
  690. S["NM"]="/cygdrive/c/Program Files/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin/arm-none-eabi-nm -B"
  691. S["LN_S"]="ln -s"
  692. S["OBJDUMP"]="arm-none-eabi-objdump"
  693. S["AR"]="arm-none-eabi-ar"
  694. S["STRIP"]="arm-none-eabi-strip"
  695. S["RANLIB"]="arm-none-eabi-ranlib"
  696. S["lt_ECHO"]="echo"
  697. S["DSYMUTIL"]=""
  698. S["NMEDIT"]=""
  699. S["LIPO"]=""
  700. S["OTOOL"]=""
  701. S["OTOOL64"]=""
  702. S["CPP"]="arm-none-eabi-gcc -E"
  703. S["INSTALL_PROGRAM"]="${INSTALL}"
  704. S["INSTALL_SCRIPT"]="${INSTALL}"
  705. S["INSTALL_DATA"]="${INSTALL} -m 644"
  706. S["AWK"]="gawk"
  707. S["TCLSH_CMD"]="tclsh8.5"
  708. S["TCLLIBDIR"]="/usr/lib/tcl8.5/sqlite3"
  709. S["program_prefix"]=""
  710. S["VERSION"]="3.8"
  711. S["RELEASE"]="3.8.1"
  712. S["VERSION_NUMBER"]="3008001"
  713. S["BUILD_CC"]="gcc"
  714. S["SQLITE_THREADSAFE"]="1"
  715. S["XTHREADCONNECT"]=""
  716. S["ALLOWRELEASE"]=""
  717. S["TEMP_STORE"]="1"
  718. S["BUILD_EXEEXT"]=""
  719. S["SQLITE_OS_UNIX"]="1"
  720. S["SQLITE_OS_WIN"]="0"
  721. S["TARGET_EXEEXT"]=""
  722. S["TCL_VERSION"]="8.5"
  723. S["TCL_BIN_DIR"]="/usr/lib"
  724. S["TCL_SRC_DIR"]="/usr/include/tcl8.5"
  725. S["TCL_INCLUDE_SPEC"]="-I/usr/include"
  726. S["TCL_LIB_FILE"]="libtcl8.5.dll"
  727. S["TCL_LIB_FLAG"]="-ltcl8.5"
  728. S["TCL_LIB_SPEC"]="-L/usr/lib -ltcl8.5"
  729. S["TCL_STUB_LIB_FILE"]="libtclstub8.5.a"
  730. S["TCL_STUB_LIB_FLAG"]="-ltclstub8.5"
  731. S["TCL_STUB_LIB_SPEC"]="-Wl,-ltclstub8.5"
  732. S["HAVE_TCL"]="1"
  733. S["TARGET_READLINE_LIBS"]=""
  734. S["TARGET_READLINE_INC"]=""
  735. S["TARGET_HAVE_READLINE"]="0"
  736. S["TARGET_DEBUG"]="-DNDEBUG"
  737. S["USE_AMALGAMATION"]="1"
  738. S["OPT_FEATURE_FLAGS"]="-DSQLITE_OMIT_LOAD_EXTENSION=1"
  739. S["USE_GCOV"]="0"
  740. S["BUILD_CFLAGS"]=" -g"
  741. S["LIBOBJS"]=""
  742. S["LTLIBOBJS"]=""
  743. _ACAWK
  744. cat >>"$tmp/subs1.awk" <<_ACAWK &&
  745. for (key in S) S_is_set[key] = 1
  746. FS = ""
  747. }
  748. {
  749. line = $ 0
  750. nfields = split(line, field, "@")
  751. substed = 0
  752. len = length(field[1])
  753. for (i = 2; i < nfields; i++) {
  754. key = field[i]
  755. keylen = length(key)
  756. if (S_is_set[key]) {
  757. value = S[key]
  758. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  759. len += length(value) + length(field[++i])
  760. substed = 1
  761. } else
  762. len += 1 + keylen
  763. }
  764. print line
  765. }
  766. _ACAWK
  767. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  768. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  769. else
  770. cat
  771. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  772. || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
  773. $as_echo "$as_me: error: could not setup config files machinery" >&2;}
  774. { (exit 1); exit 1; }; }
  775. fi # test -n "$CONFIG_FILES"
  776. # Set up the scripts for CONFIG_HEADERS section.
  777. # No need to generate them if there are no CONFIG_HEADERS.
  778. # This happens for instance with `./config.status Makefile'.
  779. if test -n "$CONFIG_HEADERS"; then
  780. cat >"$tmp/defines.awk" <<\_ACAWK ||
  781. BEGIN {
  782. D["PACKAGE_NAME"]=" \"sqlite\""
  783. D["PACKAGE_TARNAME"]=" \"sqlite\""
  784. D["PACKAGE_VERSION"]=" \"3.8.1\""
  785. D["PACKAGE_STRING"]=" \"sqlite 3.8.1\""
  786. D["PACKAGE_BUGREPORT"]=" \"\""
  787. D["STDC_HEADERS"]=" 1"
  788. D["HAVE_SYS_TYPES_H"]=" 1"
  789. D["HAVE_SYS_STAT_H"]=" 1"
  790. D["HAVE_STDLIB_H"]=" 1"
  791. D["HAVE_STRING_H"]=" 1"
  792. D["HAVE_INTTYPES_H"]=" 1"
  793. D["HAVE_STDINT_H"]=" 1"
  794. D["HAVE_UNISTD_H"]=" 1"
  795. D["LT_OBJDIR"]=" \".libs/\""
  796. D["HAVE_INT8_T"]=" 1"
  797. D["HAVE_INT16_T"]=" 1"
  798. D["HAVE_INT32_T"]=" 1"
  799. D["HAVE_INT64_T"]=" 1"
  800. D["HAVE_INTPTR_T"]=" 1"
  801. D["HAVE_UINT8_T"]=" 1"
  802. D["HAVE_UINT16_T"]=" 1"
  803. D["HAVE_UINT32_T"]=" 1"
  804. D["HAVE_UINT64_T"]=" 1"
  805. D["HAVE_UINTPTR_T"]=" 1"
  806. D["HAVE_SYS_TYPES_H"]=" 1"
  807. D["HAVE_STDLIB_H"]=" 1"
  808. D["HAVE_STDINT_H"]=" 1"
  809. D["HAVE_INTTYPES_H"]=" 1"
  810. D["HAVE_MALLOC_H"]=" 1"
  811. D["HAVE_LOCALTIME_R"]=" 1"
  812. D["HAVE_GMTIME_R"]=" 1"
  813. D["HAVE_MALLOC_USABLE_SIZE"]=" 1"
  814. for (key in D) D_is_set[key] = 1
  815. FS = ""
  816. }
  817. /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  818. line = $ 0
  819. split(line, arg, " ")
  820. if (arg[1] == "#") {
  821. defundef = arg[2]
  822. mac1 = arg[3]
  823. } else {
  824. defundef = substr(arg[1], 2)
  825. mac1 = arg[2]
  826. }
  827. split(mac1, mac2, "(") #)
  828. macro = mac2[1]
  829. if (D_is_set[macro]) {
  830. # Preserve the white space surrounding the "#".
  831. prefix = substr(line, 1, index(line, defundef) - 1)
  832. print prefix "define", macro P[macro] D[macro]
  833. next
  834. } else {
  835. # Replace #undef with comments. This is necessary, for example,
  836. # in the case of _POSIX_SOURCE, which is predefined and required
  837. # on some systems where configure will not decide to define it.
  838. if (defundef == "undef") {
  839. print "/*", line, "*/"
  840. next
  841. }
  842. }
  843. }
  844. { print }
  845. _ACAWK
  846. { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
  847. $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
  848. { (exit 1); exit 1; }; }
  849. fi # test -n "$CONFIG_HEADERS"
  850. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  851. shift
  852. for ac_tag
  853. do
  854. case $ac_tag in
  855. :[FHLC]) ac_mode=$ac_tag; continue;;
  856. esac
  857. case $ac_mode$ac_tag in
  858. :[FHL]*:*);;
  859. :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  860. $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  861. { (exit 1); exit 1; }; };;
  862. :[FH]-) ac_tag=-:-;;
  863. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  864. esac
  865. ac_save_IFS=$IFS
  866. IFS=:
  867. set x $ac_tag
  868. IFS=$ac_save_IFS
  869. shift
  870. ac_file=$1
  871. shift
  872. case $ac_mode in
  873. :L) ac_source=$1;;
  874. :[FH])
  875. ac_file_inputs=
  876. for ac_f
  877. do
  878. case $ac_f in
  879. -) ac_f="$tmp/stdin";;
  880. *) # Look for the file first in the build tree, then in the source tree
  881. # (if the path is not absolute). The absolute path cannot be DOS-style,
  882. # because $ac_f cannot contain `:'.
  883. test -f "$ac_f" ||
  884. case $ac_f in
  885. [\\/$]*) false;;
  886. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  887. esac ||
  888. { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  889. $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  890. { (exit 1); exit 1; }; };;
  891. esac
  892. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  893. ac_file_inputs="$ac_file_inputs '$ac_f'"
  894. done
  895. # Let's still pretend it is `configure' which instantiates (i.e., don't
  896. # use $as_me), people would be surprised to read:
  897. # /* config.h. Generated by config.status. */
  898. configure_input='Generated from '`
  899. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  900. `' by configure.'
  901. if test x"$ac_file" != x-; then
  902. configure_input="$ac_file. $configure_input"
  903. { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
  904. $as_echo "$as_me: creating $ac_file" >&6;}
  905. fi
  906. # Neutralize special characters interpreted by sed in replacement strings.
  907. case $configure_input in #(
  908. *\&* | *\|* | *\\* )
  909. ac_sed_conf_input=`$as_echo "$configure_input" |
  910. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  911. *) ac_sed_conf_input=$configure_input;;
  912. esac
  913. case $ac_tag in
  914. *:-:* | *:-) cat >"$tmp/stdin" \
  915. || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  916. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  917. { (exit 1); exit 1; }; } ;;
  918. esac
  919. ;;
  920. esac
  921. ac_dir=`$as_dirname -- "$ac_file" ||
  922. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  923. X"$ac_file" : 'X\(//\)[^/]' \| \
  924. X"$ac_file" : 'X\(//\)$' \| \
  925. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  926. $as_echo X"$ac_file" |
  927. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  928. s//\1/
  929. q
  930. }
  931. /^X\(\/\/\)[^/].*/{
  932. s//\1/
  933. q
  934. }
  935. /^X\(\/\/\)$/{
  936. s//\1/
  937. q
  938. }
  939. /^X\(\/\).*/{
  940. s//\1/
  941. q
  942. }
  943. s/.*/./; q'`
  944. { as_dir="$ac_dir"
  945. case $as_dir in #(
  946. -*) as_dir=./$as_dir;;
  947. esac
  948. test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  949. as_dirs=
  950. while :; do
  951. case $as_dir in #(
  952. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  953. *) as_qdir=$as_dir;;
  954. esac
  955. as_dirs="'$as_qdir' $as_dirs"
  956. as_dir=`$as_dirname -- "$as_dir" ||
  957. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  958. X"$as_dir" : 'X\(//\)[^/]' \| \
  959. X"$as_dir" : 'X\(//\)$' \| \
  960. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  961. $as_echo X"$as_dir" |
  962. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  963. s//\1/
  964. q
  965. }
  966. /^X\(\/\/\)[^/].*/{
  967. s//\1/
  968. q
  969. }
  970. /^X\(\/\/\)$/{
  971. s//\1/
  972. q
  973. }
  974. /^X\(\/\).*/{
  975. s//\1/
  976. q
  977. }
  978. s/.*/./; q'`
  979. test -d "$as_dir" && break
  980. done
  981. test -z "$as_dirs" || eval "mkdir $as_dirs"
  982. } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  983. $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
  984. { (exit 1); exit 1; }; }; }
  985. ac_builddir=.
  986. case "$ac_dir" in
  987. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  988. *)
  989. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  990. # A ".." for each directory in $ac_dir_suffix.
  991. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  992. case $ac_top_builddir_sub in
  993. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  994. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  995. esac ;;
  996. esac
  997. ac_abs_top_builddir=$ac_pwd
  998. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  999. # for backward compatibility:
  1000. ac_top_builddir=$ac_top_build_prefix
  1001. case $srcdir in
  1002. .) # We are building in place.
  1003. ac_srcdir=.
  1004. ac_top_srcdir=$ac_top_builddir_sub
  1005. ac_abs_top_srcdir=$ac_pwd ;;
  1006. [\\/]* | ?:[\\/]* ) # Absolute name.
  1007. ac_srcdir=$srcdir$ac_dir_suffix;
  1008. ac_top_srcdir=$srcdir
  1009. ac_abs_top_srcdir=$srcdir ;;
  1010. *) # Relative name.
  1011. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1012. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1013. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1014. esac
  1015. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1016. case $ac_mode in
  1017. :F)
  1018. #
  1019. # CONFIG_FILE
  1020. #
  1021. case $INSTALL in
  1022. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  1023. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  1024. esac
  1025. # If the template does not know about datarootdir, expand it.
  1026. # FIXME: This hack should be removed a few years after 2.60.
  1027. ac_datarootdir_hack=; ac_datarootdir_seen=
  1028. ac_sed_dataroot='
  1029. /datarootdir/ {
  1030. p
  1031. q
  1032. }
  1033. /@datadir@/p
  1034. /@docdir@/p
  1035. /@infodir@/p
  1036. /@localedir@/p
  1037. /@mandir@/p
  1038. '
  1039. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  1040. *datarootdir*) ac_datarootdir_seen=yes;;
  1041. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  1042. { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  1043. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  1044. ac_datarootdir_hack='
  1045. s&@datadir@&${datarootdir}&g
  1046. s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
  1047. s&@infodir@&${datarootdir}/info&g
  1048. s&@localedir@&${datarootdir}/locale&g
  1049. s&@mandir@&${datarootdir}/man&g
  1050. s&\${datarootdir}&${prefix}/share&g' ;;
  1051. esac
  1052. ac_sed_extra="
  1053. :t
  1054. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  1055. s|@configure_input@|$ac_sed_conf_input|;t t
  1056. s&@top_builddir@&$ac_top_builddir_sub&;t t
  1057. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  1058. s&@srcdir@&$ac_srcdir&;t t
  1059. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  1060. s&@top_srcdir@&$ac_top_srcdir&;t t
  1061. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  1062. s&@builddir@&$ac_builddir&;t t
  1063. s&@abs_builddir@&$ac_abs_builddir&;t t
  1064. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  1065. s&@INSTALL@&$ac_INSTALL&;t t
  1066. $ac_datarootdir_hack
  1067. "
  1068. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  1069. || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  1070. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  1071. { (exit 1); exit 1; }; }
  1072. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  1073. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  1074. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  1075. { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1076. which seems to be undefined. Please make sure it is defined." >&5
  1077. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1078. which seems to be undefined. Please make sure it is defined." >&2;}
  1079. rm -f "$tmp/stdin"
  1080. case $ac_file in
  1081. -) cat "$tmp/out" && rm -f "$tmp/out";;
  1082. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  1083. esac \
  1084. || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  1085. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  1086. { (exit 1); exit 1; }; }
  1087. ;;
  1088. :H)
  1089. #
  1090. # CONFIG_HEADER
  1091. #
  1092. if test x"$ac_file" != x-; then
  1093. {
  1094. $as_echo "/* $configure_input */" \
  1095. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  1096. } >"$tmp/config.h" \
  1097. || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  1098. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  1099. { (exit 1); exit 1; }; }
  1100. if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  1101. { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  1102. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  1103. else
  1104. rm -f "$ac_file"
  1105. mv "$tmp/config.h" "$ac_file" \
  1106. || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  1107. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  1108. { (exit 1); exit 1; }; }
  1109. fi
  1110. else
  1111. $as_echo "/* $configure_input */" \
  1112. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  1113. || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
  1114. $as_echo "$as_me: error: could not create -" >&2;}
  1115. { (exit 1); exit 1; }; }
  1116. fi
  1117. ;;
  1118. :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
  1119. $as_echo "$as_me: executing $ac_file commands" >&6;}
  1120. ;;
  1121. esac
  1122. case $ac_file$ac_mode in
  1123. "libtool":C)
  1124. # See if we are running on zsh, and set the options which allow our
  1125. # commands through without removal of \ escapes.
  1126. if test -n "${ZSH_VERSION+set}" ; then
  1127. setopt NO_GLOB_SUBST
  1128. fi
  1129. cfgfile="${ofile}T"
  1130. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  1131. $RM "$cfgfile"
  1132. cat <<_LT_EOF >> "$cfgfile"
  1133. #! $SHELL
  1134. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  1135. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  1136. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1137. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  1138. #
  1139. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  1140. # 2006, 2007, 2008 Free Software Foundation, Inc.
  1141. # Written by Gordon Matzigkeit, 1996
  1142. #
  1143. # This file is part of GNU Libtool.
  1144. #
  1145. # GNU Libtool is free software; you can redistribute it and/or
  1146. # modify it under the terms of the GNU General Public License as
  1147. # published by the Free Software Foundation; either version 2 of
  1148. # the License, or (at your option) any later version.
  1149. #
  1150. # As a special exception to the GNU General Public License,
  1151. # if you distribute this file as part of a program or library that
  1152. # is built using GNU Libtool, you may include this file under the
  1153. # same distribution terms that you use for the rest of that program.
  1154. #
  1155. # GNU Libtool is distributed in the hope that it will be useful,
  1156. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  1157. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  1158. # GNU General Public License for more details.
  1159. #
  1160. # You should have received a copy of the GNU General Public License
  1161. # along with GNU Libtool; see the file COPYING. If not, a copy
  1162. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  1163. # obtained by writing to the Free Software Foundation, Inc.,
  1164. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  1165. # The names of the tagged configurations supported by this script.
  1166. available_tags=""
  1167. # ### BEGIN LIBTOOL CONFIG
  1168. # Which release of libtool.m4 was used?
  1169. macro_version=$macro_version
  1170. macro_revision=$macro_revision
  1171. # Whether or not to build shared libraries.
  1172. build_libtool_libs=$enable_shared
  1173. # Whether or not to build static libraries.
  1174. build_old_libs=$enable_static
  1175. # What type of objects to build.
  1176. pic_mode=$pic_mode
  1177. # Whether or not to optimize for fast installation.
  1178. fast_install=$enable_fast_install
  1179. # The host system.
  1180. host_alias=$host_alias
  1181. host=$host
  1182. host_os=$host_os
  1183. # The build system.
  1184. build_alias=$build_alias
  1185. build=$build
  1186. build_os=$build_os
  1187. # A sed program that does not truncate output.
  1188. SED=$lt_SED
  1189. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  1190. Xsed="\$SED -e 1s/^X//"
  1191. # A grep program that handles long lines.
  1192. GREP=$lt_GREP
  1193. # An ERE matcher.
  1194. EGREP=$lt_EGREP
  1195. # A literal string matcher.
  1196. FGREP=$lt_FGREP
  1197. # A BSD- or MS-compatible name lister.
  1198. NM=$lt_NM
  1199. # Whether we need soft or hard links.
  1200. LN_S=$lt_LN_S
  1201. # What is the maximum length of a command?
  1202. max_cmd_len=$max_cmd_len
  1203. # Object file suffix (normally "o").
  1204. objext=$ac_objext
  1205. # Executable file suffix (normally "").
  1206. exeext=$exeext
  1207. # whether the shell understands "unset".
  1208. lt_unset=$lt_unset
  1209. # turn spaces into newlines.
  1210. SP2NL=$lt_lt_SP2NL
  1211. # turn newlines into spaces.
  1212. NL2SP=$lt_lt_NL2SP
  1213. # How to create reloadable object files.
  1214. reload_flag=$lt_reload_flag
  1215. reload_cmds=$lt_reload_cmds
  1216. # An object symbol dumper.
  1217. OBJDUMP=$lt_OBJDUMP
  1218. # Method to check whether dependent libraries are shared objects.
  1219. deplibs_check_method=$lt_deplibs_check_method
  1220. # Command to use when deplibs_check_method == "file_magic".
  1221. file_magic_cmd=$lt_file_magic_cmd
  1222. # The archiver.
  1223. AR=$lt_AR
  1224. AR_FLAGS=$lt_AR_FLAGS
  1225. # A symbol stripping program.
  1226. STRIP=$lt_STRIP
  1227. # Commands used to install an old-style archive.
  1228. RANLIB=$lt_RANLIB
  1229. old_postinstall_cmds=$lt_old_postinstall_cmds
  1230. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  1231. # A C compiler.
  1232. LTCC=$lt_CC
  1233. # LTCC compiler flags.
  1234. LTCFLAGS=$lt_CFLAGS
  1235. # Take the output of nm and produce a listing of raw symbols and C names.
  1236. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  1237. # Transform the output of nm in a proper C declaration.
  1238. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  1239. # Transform the output of nm in a C name address pair.
  1240. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  1241. # Transform the output of nm in a C name address pair when lib prefix is needed.
  1242. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  1243. # The name of the directory that contains temporary libtool files.
  1244. objdir=$objdir
  1245. # Shell to use when invoking shell scripts.
  1246. SHELL=$lt_SHELL
  1247. # An echo program that does not interpret backslashes.
  1248. ECHO=$lt_ECHO
  1249. # Used to examine libraries when file_magic_cmd begins with "file".
  1250. MAGIC_CMD=$MAGIC_CMD
  1251. # Must we lock files when doing compilation?
  1252. need_locks=$lt_need_locks
  1253. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  1254. DSYMUTIL=$lt_DSYMUTIL
  1255. # Tool to change global to local symbols on Mac OS X.
  1256. NMEDIT=$lt_NMEDIT
  1257. # Tool to manipulate fat objects and archives on Mac OS X.
  1258. LIPO=$lt_LIPO
  1259. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  1260. OTOOL=$lt_OTOOL
  1261. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  1262. OTOOL64=$lt_OTOOL64
  1263. # Old archive suffix (normally "a").
  1264. libext=$libext
  1265. # Shared library suffix (normally ".so").
  1266. shrext_cmds=$lt_shrext_cmds
  1267. # The commands to extract the exported symbol list from a shared archive.
  1268. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  1269. # Variables whose values should be saved in libtool wrapper scripts and
  1270. # restored at link time.
  1271. variables_saved_for_relink=$lt_variables_saved_for_relink
  1272. # Do we need the "lib" prefix for modules?
  1273. need_lib_prefix=$need_lib_prefix
  1274. # Do we need a version for libraries?
  1275. need_version=$need_version
  1276. # Library versioning type.
  1277. version_type=$version_type
  1278. # Shared library runtime path variable.
  1279. runpath_var=$runpath_var
  1280. # Shared library path variable.
  1281. shlibpath_var=$shlibpath_var
  1282. # Is shlibpath searched before the hard-coded library search path?
  1283. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  1284. # Format of library name prefix.
  1285. libname_spec=$lt_libname_spec
  1286. # List of archive names. First name is the real one, the rest are links.
  1287. # The last name is the one that the linker finds with -lNAME
  1288. library_names_spec=$lt_library_names_spec
  1289. # The coded name of the library, if different from the real name.
  1290. soname_spec=$lt_soname_spec
  1291. # Command to use after installation of a shared archive.
  1292. postinstall_cmds=$lt_postinstall_cmds
  1293. # Command to use after uninstallation of a shared archive.
  1294. postuninstall_cmds=$lt_postuninstall_cmds
  1295. # Commands used to finish a libtool library installation in a directory.
  1296. finish_cmds=$lt_finish_cmds
  1297. # As "finish_cmds", except a single script fragment to be evaled but
  1298. # not shown.
  1299. finish_eval=$lt_finish_eval
  1300. # Whether we should hardcode library paths into libraries.
  1301. hardcode_into_libs=$hardcode_into_libs
  1302. # Compile-time system search path for libraries.
  1303. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  1304. # Run-time system search path for libraries.
  1305. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  1306. # Whether dlopen is supported.
  1307. dlopen_support=$enable_dlopen
  1308. # Whether dlopen of programs is supported.
  1309. dlopen_self=$enable_dlopen_self
  1310. # Whether dlopen of statically linked programs is supported.
  1311. dlopen_self_static=$enable_dlopen_self_static
  1312. # Commands to strip libraries.
  1313. old_striplib=$lt_old_striplib
  1314. striplib=$lt_striplib
  1315. # The linker used to build libraries.
  1316. LD=$lt_LD
  1317. # Commands used to build an old-style archive.
  1318. old_archive_cmds=$lt_old_archive_cmds
  1319. # A language specific compiler.
  1320. CC=$lt_compiler
  1321. # Is the compiler the GNU compiler?
  1322. with_gcc=$GCC
  1323. # Compiler flag to turn off builtin functions.
  1324. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  1325. # How to pass a linker flag through the compiler.
  1326. wl=$lt_lt_prog_compiler_wl
  1327. # Additional compiler flags for building library objects.
  1328. pic_flag=$lt_lt_prog_compiler_pic
  1329. # Compiler flag to prevent dynamic linking.
  1330. link_static_flag=$lt_lt_prog_compiler_static
  1331. # Does compiler simultaneously support -c and -o options?
  1332. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  1333. # Whether or not to add -lc for building shared libraries.
  1334. build_libtool_need_lc=$archive_cmds_need_lc
  1335. # Whether or not to disallow shared libs when runtime libs are static.
  1336. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  1337. # Compiler flag to allow reflexive dlopens.
  1338. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  1339. # Compiler flag to generate shared objects directly from archives.
  1340. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  1341. # Whether the compiler copes with passing no objects directly.
  1342. compiler_needs_object=$lt_compiler_needs_object
  1343. # Create an old-style archive from a shared archive.
  1344. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  1345. # Create a temporary old-style archive to link instead of a shared archive.
  1346. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  1347. # Commands used to build a shared archive.
  1348. archive_cmds=$lt_archive_cmds
  1349. archive_expsym_cmds=$lt_archive_expsym_cmds
  1350. # Commands used to build a loadable module if different from building
  1351. # a shared archive.
  1352. module_cmds=$lt_module_cmds
  1353. module_expsym_cmds=$lt_module_expsym_cmds
  1354. # Whether we are building with GNU ld or not.
  1355. with_gnu_ld=$lt_with_gnu_ld
  1356. # Flag that allows shared libraries with undefined symbols to be built.
  1357. allow_undefined_flag=$lt_allow_undefined_flag
  1358. # Flag that enforces no undefined symbols.
  1359. no_undefined_flag=$lt_no_undefined_flag
  1360. # Flag to hardcode \$libdir into a binary during linking.
  1361. # This must work even if \$libdir does not exist
  1362. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  1363. # If ld is used when linking, flag to hardcode \$libdir into a binary
  1364. # during linking. This must work even if \$libdir does not exist.
  1365. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  1366. # Whether we need a single "-rpath" flag with a separated argument.
  1367. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  1368. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1369. # DIR into the resulting binary.
  1370. hardcode_direct=$hardcode_direct
  1371. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1372. # DIR into the resulting binary and the resulting library dependency is
  1373. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  1374. # library is relocated.
  1375. hardcode_direct_absolute=$hardcode_direct_absolute
  1376. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  1377. # into the resulting binary.
  1378. hardcode_minus_L=$hardcode_minus_L
  1379. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  1380. # into the resulting binary.
  1381. hardcode_shlibpath_var=$hardcode_shlibpath_var
  1382. # Set to "yes" if building a shared library automatically hardcodes DIR
  1383. # into the library and all subsequent libraries and executables linked
  1384. # against it.
  1385. hardcode_automatic=$hardcode_automatic
  1386. # Set to yes if linker adds runtime paths of dependent libraries
  1387. # to runtime path list.
  1388. inherit_rpath=$inherit_rpath
  1389. # Whether libtool must link a program against all its dependency libraries.
  1390. link_all_deplibs=$link_all_deplibs
  1391. # Fix the shell variable \$srcfile for the compiler.
  1392. fix_srcfile_path=$lt_fix_srcfile_path
  1393. # Set to "yes" if exported symbols are required.
  1394. always_export_symbols=$always_export_symbols
  1395. # The commands to list exported symbols.
  1396. export_symbols_cmds=$lt_export_symbols_cmds
  1397. # Symbols that should not be listed in the preloaded symbols.
  1398. exclude_expsyms=$lt_exclude_expsyms
  1399. # Symbols that must always be exported.
  1400. include_expsyms=$lt_include_expsyms
  1401. # Commands necessary for linking programs (against libraries) with templates.
  1402. prelink_cmds=$lt_prelink_cmds
  1403. # Specify filename containing input files.
  1404. file_list_spec=$lt_file_list_spec
  1405. # How to hardcode a shared library path into an executable.
  1406. hardcode_action=$hardcode_action
  1407. # ### END LIBTOOL CONFIG
  1408. _LT_EOF
  1409. case $host_os in
  1410. aix3*)
  1411. cat <<\_LT_EOF >> "$cfgfile"
  1412. # AIX sometimes has problems with the GCC collect2 program. For some
  1413. # reason, if we set the COLLECT_NAMES environment variable, the problems
  1414. # vanish in a puff of smoke.
  1415. if test "X${COLLECT_NAMES+set}" != Xset; then
  1416. COLLECT_NAMES=
  1417. export COLLECT_NAMES
  1418. fi
  1419. _LT_EOF
  1420. ;;
  1421. esac
  1422. ltmain="$ac_aux_dir/ltmain.sh"
  1423. # We use sed instead of cat because bash on DJGPP gets confused if
  1424. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  1425. # text mode, it properly converts lines to CR/LF. This bash problem
  1426. # is reportedly fixed, but why not run on old versions too?
  1427. sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  1428. || (rm -f "$cfgfile"; exit 1)
  1429. case $xsi_shell in
  1430. yes)
  1431. cat << \_LT_EOF >> "$cfgfile"
  1432. # func_dirname file append nondir_replacement
  1433. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  1434. # otherwise set result to NONDIR_REPLACEMENT.
  1435. func_dirname ()
  1436. {
  1437. case ${1} in
  1438. */*) func_dirname_result="${1%/*}${2}" ;;
  1439. * ) func_dirname_result="${3}" ;;
  1440. esac
  1441. }
  1442. # func_basename file
  1443. func_basename ()
  1444. {
  1445. func_basename_result="${1##*/}"
  1446. }
  1447. # func_dirname_and_basename file append nondir_replacement
  1448. # perform func_basename and func_dirname in a single function
  1449. # call:
  1450. # dirname: Compute the dirname of FILE. If nonempty,
  1451. # add APPEND to the result, otherwise set result
  1452. # to NONDIR_REPLACEMENT.
  1453. # value returned in "$func_dirname_result"
  1454. # basename: Compute filename of FILE.
  1455. # value retuned in "$func_basename_result"
  1456. # Implementation must be kept synchronized with func_dirname
  1457. # and func_basename. For efficiency, we do not delegate to
  1458. # those functions but instead duplicate the functionality here.
  1459. func_dirname_and_basename ()
  1460. {
  1461. case ${1} in
  1462. */*) func_dirname_result="${1%/*}${2}" ;;
  1463. * ) func_dirname_result="${3}" ;;
  1464. esac
  1465. func_basename_result="${1##*/}"
  1466. }
  1467. # func_stripname prefix suffix name
  1468. # strip PREFIX and SUFFIX off of NAME.
  1469. # PREFIX and SUFFIX must not contain globbing or regex special
  1470. # characters, hashes, percent signs, but SUFFIX may contain a leading
  1471. # dot (in which case that matches only a dot).
  1472. func_stripname ()
  1473. {
  1474. # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  1475. # positional parameters, so assign one to ordinary parameter first.
  1476. func_stripname_result=${3}
  1477. func_stripname_result=${func_stripname_result#"${1}"}
  1478. func_stripname_result=${func_stripname_result%"${2}"}
  1479. }
  1480. # func_opt_split
  1481. func_opt_split ()
  1482. {
  1483. func_opt_split_opt=${1%%=*}
  1484. func_opt_split_arg=${1#*=}
  1485. }
  1486. # func_lo2o object
  1487. func_lo2o ()
  1488. {
  1489. case ${1} in
  1490. *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  1491. *) func_lo2o_result=${1} ;;
  1492. esac
  1493. }
  1494. # func_xform libobj-or-source
  1495. func_xform ()
  1496. {
  1497. func_xform_result=${1%.*}.lo
  1498. }
  1499. # func_arith arithmetic-term...
  1500. func_arith ()
  1501. {
  1502. func_arith_result=$(( $* ))
  1503. }
  1504. # func_len string
  1505. # STRING may not start with a hyphen.
  1506. func_len ()
  1507. {
  1508. func_len_result=${#1}
  1509. }
  1510. _LT_EOF
  1511. ;;
  1512. *) # Bourne compatible functions.
  1513. cat << \_LT_EOF >> "$cfgfile"
  1514. # func_dirname file append nondir_replacement
  1515. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  1516. # otherwise set result to NONDIR_REPLACEMENT.
  1517. func_dirname ()
  1518. {
  1519. # Extract subdirectory from the argument.
  1520. func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  1521. if test "X$func_dirname_result" = "X${1}"; then
  1522. func_dirname_result="${3}"
  1523. else
  1524. func_dirname_result="$func_dirname_result${2}"
  1525. fi
  1526. }
  1527. # func_basename file
  1528. func_basename ()
  1529. {
  1530. func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  1531. }
  1532. # func_stripname prefix suffix name
  1533. # strip PREFIX and SUFFIX off of NAME.
  1534. # PREFIX and SUFFIX must not contain globbing or regex special
  1535. # characters, hashes, percent signs, but SUFFIX may contain a leading
  1536. # dot (in which case that matches only a dot).
  1537. # func_strip_suffix prefix name
  1538. func_stripname ()
  1539. {
  1540. case ${2} in
  1541. .*) func_stripname_result=`$ECHO "X${3}" \
  1542. | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  1543. *) func_stripname_result=`$ECHO "X${3}" \
  1544. | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  1545. esac
  1546. }
  1547. # sed scripts:
  1548. my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  1549. my_sed_long_arg='1s/^-[^=]*=//'
  1550. # func_opt_split
  1551. func_opt_split ()
  1552. {
  1553. func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  1554. func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  1555. }
  1556. # func_lo2o object
  1557. func_lo2o ()
  1558. {
  1559. func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  1560. }
  1561. # func_xform libobj-or-source
  1562. func_xform ()
  1563. {
  1564. func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  1565. }
  1566. # func_arith arithmetic-term...
  1567. func_arith ()
  1568. {
  1569. func_arith_result=`expr "$@"`
  1570. }
  1571. # func_len string
  1572. # STRING may not start with a hyphen.
  1573. func_len ()
  1574. {
  1575. func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  1576. }
  1577. _LT_EOF
  1578. esac
  1579. case $lt_shell_append in
  1580. yes)
  1581. cat << \_LT_EOF >> "$cfgfile"
  1582. # func_append var value
  1583. # Append VALUE to the end of shell variable VAR.
  1584. func_append ()
  1585. {
  1586. eval "$1+=\$2"
  1587. }
  1588. _LT_EOF
  1589. ;;
  1590. *)
  1591. cat << \_LT_EOF >> "$cfgfile"
  1592. # func_append var value
  1593. # Append VALUE to the end of shell variable VAR.
  1594. func_append ()
  1595. {
  1596. eval "$1=\$$1\$2"
  1597. }
  1598. _LT_EOF
  1599. ;;
  1600. esac
  1601. sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  1602. || (rm -f "$cfgfile"; exit 1)
  1603. mv -f "$cfgfile" "$ofile" ||
  1604. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  1605. chmod +x "$ofile"
  1606. ;;
  1607. esac
  1608. done # for ac_tag
  1609. { (exit 0); exit 0; }