config.status 69 KB

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