config.status 65 KB

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