2
0

config.status 70 KB

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