A C standard library for sh3eb-elf.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

configure 84KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.64.
  4. #
  5. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  6. # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
  7. # Foundation, Inc.
  8. #
  9. # This configure script is free software; the Free Software Foundation
  10. # gives unlimited permission to copy, distribute and modify it.
  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. case $0 in #((
  84. *[\\/]* ) as_myself=$0 ;;
  85. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  86. for as_dir in $PATH
  87. do
  88. IFS=$as_save_IFS
  89. test -z "$as_dir" && as_dir=.
  90. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  91. done
  92. IFS=$as_save_IFS
  93. ;;
  94. esac
  95. # We did not find ourselves, most probably we were run as `sh COMMAND'
  96. # in which case we are not to be found in the path.
  97. if test "x$as_myself" = x; then
  98. as_myself=$0
  99. fi
  100. if test ! -f "$as_myself"; then
  101. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  102. exit 1
  103. fi
  104. # Unset variables that we do not need and which cause bugs (e.g. in
  105. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  106. # suppresses any "Segmentation fault" message there. '((' could
  107. # trigger a bug in pdksh 5.2.14.
  108. for as_var in BASH_ENV ENV MAIL MAILPATH
  109. do eval test x\${$as_var+set} = xset \
  110. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  111. done
  112. PS1='$ '
  113. PS2='> '
  114. PS4='+ '
  115. # NLS nuisances.
  116. LC_ALL=C
  117. export LC_ALL
  118. LANGUAGE=C
  119. export LANGUAGE
  120. # CDPATH.
  121. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  122. if test "x$CONFIG_SHELL" = x; then
  123. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  124. emulate sh
  125. NULLCMD=:
  126. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  127. # is contrary to our usage. Disable this feature.
  128. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  129. setopt NO_GLOB_SUBST
  130. else
  131. case \`(set -o) 2>/dev/null\` in #(
  132. *posix*) :
  133. set -o posix ;; #(
  134. *) :
  135. ;;
  136. esac
  137. fi
  138. "
  139. as_required="as_fn_return () { (exit \$1); }
  140. as_fn_success () { as_fn_return 0; }
  141. as_fn_failure () { as_fn_return 1; }
  142. as_fn_ret_success () { return 0; }
  143. as_fn_ret_failure () { return 1; }
  144. exitcode=0
  145. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  146. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  147. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  148. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  149. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  150. else
  151. exitcode=1; echo positional parameters were not saved.
  152. fi
  153. test x\$exitcode = x0 || exit 1"
  154. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  155. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  156. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  157. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
  158. if (eval "$as_required") 2>/dev/null; then :
  159. as_have_required=yes
  160. else
  161. as_have_required=no
  162. fi
  163. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  164. else
  165. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  166. as_found=false
  167. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  168. do
  169. IFS=$as_save_IFS
  170. test -z "$as_dir" && as_dir=.
  171. as_found=:
  172. case $as_dir in #(
  173. /*)
  174. for as_base in sh bash ksh sh5; do
  175. # Try only shells that exist, to save several forks.
  176. as_shell=$as_dir/$as_base
  177. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  178. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  179. CONFIG_SHELL=$as_shell as_have_required=yes
  180. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  181. break 2
  182. fi
  183. fi
  184. done;;
  185. esac
  186. as_found=false
  187. done
  188. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  189. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  190. CONFIG_SHELL=$SHELL as_have_required=yes
  191. fi; }
  192. IFS=$as_save_IFS
  193. if test "x$CONFIG_SHELL" != x; then :
  194. # We cannot yet assume a decent shell, so we have to provide a
  195. # neutralization value for shells without unset; and this also
  196. # works around shells that cannot unset nonexistent variables.
  197. BASH_ENV=/dev/null
  198. ENV=/dev/null
  199. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  200. export CONFIG_SHELL
  201. exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  202. fi
  203. if test x$as_have_required = xno; then :
  204. $as_echo "$0: This script requires a shell more modern than all"
  205. $as_echo "$0: the shells that I found on your system."
  206. if test x${ZSH_VERSION+set} = xset ; then
  207. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  208. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  209. else
  210. $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  211. $0: including any error possibly output before this
  212. $0: message. Then install a modern shell, or manually run
  213. $0: the script under such a shell if you do have one."
  214. fi
  215. exit 1
  216. fi
  217. fi
  218. fi
  219. SHELL=${CONFIG_SHELL-/bin/sh}
  220. export SHELL
  221. # Unset more variables known to interfere with behavior of common tools.
  222. CLICOLOR_FORCE= GREP_OPTIONS=
  223. unset CLICOLOR_FORCE GREP_OPTIONS
  224. ## --------------------- ##
  225. ## M4sh Shell Functions. ##
  226. ## --------------------- ##
  227. # as_fn_unset VAR
  228. # ---------------
  229. # Portably unset VAR.
  230. as_fn_unset ()
  231. {
  232. { eval $1=; unset $1;}
  233. }
  234. as_unset=as_fn_unset
  235. # as_fn_set_status STATUS
  236. # -----------------------
  237. # Set $? to STATUS, without forking.
  238. as_fn_set_status ()
  239. {
  240. return $1
  241. } # as_fn_set_status
  242. # as_fn_exit STATUS
  243. # -----------------
  244. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  245. as_fn_exit ()
  246. {
  247. set +e
  248. as_fn_set_status $1
  249. exit $1
  250. } # as_fn_exit
  251. # as_fn_mkdir_p
  252. # -------------
  253. # Create "$as_dir" as a directory, including parents if necessary.
  254. as_fn_mkdir_p ()
  255. {
  256. case $as_dir in #(
  257. -*) as_dir=./$as_dir;;
  258. esac
  259. test -d "$as_dir" || eval $as_mkdir_p || {
  260. as_dirs=
  261. while :; do
  262. case $as_dir in #(
  263. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  264. *) as_qdir=$as_dir;;
  265. esac
  266. as_dirs="'$as_qdir' $as_dirs"
  267. as_dir=`$as_dirname -- "$as_dir" ||
  268. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  269. X"$as_dir" : 'X\(//\)[^/]' \| \
  270. X"$as_dir" : 'X\(//\)$' \| \
  271. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  272. $as_echo X"$as_dir" |
  273. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  274. s//\1/
  275. q
  276. }
  277. /^X\(\/\/\)[^/].*/{
  278. s//\1/
  279. q
  280. }
  281. /^X\(\/\/\)$/{
  282. s//\1/
  283. q
  284. }
  285. /^X\(\/\).*/{
  286. s//\1/
  287. q
  288. }
  289. s/.*/./; q'`
  290. test -d "$as_dir" && break
  291. done
  292. test -z "$as_dirs" || eval "mkdir $as_dirs"
  293. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  294. } # as_fn_mkdir_p
  295. # as_fn_append VAR VALUE
  296. # ----------------------
  297. # Append the text in VALUE to the end of the definition contained in VAR. Take
  298. # advantage of any shell optimizations that allow amortized linear growth over
  299. # repeated appends, instead of the typical quadratic growth present in naive
  300. # implementations.
  301. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  302. eval 'as_fn_append ()
  303. {
  304. eval $1+=\$2
  305. }'
  306. else
  307. as_fn_append ()
  308. {
  309. eval $1=\$$1\$2
  310. }
  311. fi # as_fn_append
  312. # as_fn_arith ARG...
  313. # ------------------
  314. # Perform arithmetic evaluation on the ARGs, and store the result in the
  315. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  316. # must be portable across $(()) and expr.
  317. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  318. eval 'as_fn_arith ()
  319. {
  320. as_val=$(( $* ))
  321. }'
  322. else
  323. as_fn_arith ()
  324. {
  325. as_val=`expr "$@" || test $? -eq 1`
  326. }
  327. fi # as_fn_arith
  328. # as_fn_error ERROR [LINENO LOG_FD]
  329. # ---------------------------------
  330. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  331. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  332. # script with status $?, using 1 if that was 0.
  333. as_fn_error ()
  334. {
  335. as_status=$?; test $as_status -eq 0 && as_status=1
  336. if test "$3"; then
  337. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  338. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  339. fi
  340. $as_echo "$as_me: error: $1" >&2
  341. as_fn_exit $as_status
  342. } # as_fn_error
  343. if expr a : '\(a\)' >/dev/null 2>&1 &&
  344. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  345. as_expr=expr
  346. else
  347. as_expr=false
  348. fi
  349. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  350. as_basename=basename
  351. else
  352. as_basename=false
  353. fi
  354. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  355. as_dirname=dirname
  356. else
  357. as_dirname=false
  358. fi
  359. as_me=`$as_basename -- "$0" ||
  360. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  361. X"$0" : 'X\(//\)$' \| \
  362. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  363. $as_echo X/"$0" |
  364. sed '/^.*\/\([^/][^/]*\)\/*$/{
  365. s//\1/
  366. q
  367. }
  368. /^X\/\(\/\/\)$/{
  369. s//\1/
  370. q
  371. }
  372. /^X\/\(\/\).*/{
  373. s//\1/
  374. q
  375. }
  376. s/.*/./; q'`
  377. # Avoid depending upon Character Ranges.
  378. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  379. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  380. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  381. as_cr_digits='0123456789'
  382. as_cr_alnum=$as_cr_Letters$as_cr_digits
  383. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  384. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  385. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  386. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  387. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  388. sed -n '
  389. p
  390. /[$]LINENO/=
  391. ' <$as_myself |
  392. sed '
  393. s/[$]LINENO.*/&-/
  394. t lineno
  395. b
  396. :lineno
  397. N
  398. :loop
  399. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  400. t loop
  401. s/-\n.*//
  402. ' >$as_me.lineno &&
  403. chmod +x "$as_me.lineno" ||
  404. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  405. # Don't try to exec as it changes $[0], causing all sort of problems
  406. # (the dirname of $[0] is not the place where we might find the
  407. # original and so on. Autoconf is especially sensitive to this).
  408. . "./$as_me.lineno"
  409. # Exit status is that of the last command.
  410. exit
  411. }
  412. ECHO_C= ECHO_N= ECHO_T=
  413. case `echo -n x` in #(((((
  414. -n*)
  415. case `echo 'xy\c'` in
  416. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  417. xy) ECHO_C='\c';;
  418. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  419. ECHO_T=' ';;
  420. esac;;
  421. *)
  422. ECHO_N='-n';;
  423. esac
  424. rm -f conf$$ conf$$.exe conf$$.file
  425. if test -d conf$$.dir; then
  426. rm -f conf$$.dir/conf$$.file
  427. else
  428. rm -f conf$$.dir
  429. mkdir conf$$.dir 2>/dev/null
  430. fi
  431. if (echo >conf$$.file) 2>/dev/null; then
  432. if ln -s conf$$.file conf$$ 2>/dev/null; then
  433. as_ln_s='ln -s'
  434. # ... but there are two gotchas:
  435. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  436. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  437. # In both cases, we have to default to `cp -p'.
  438. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  439. as_ln_s='cp -p'
  440. elif ln conf$$.file conf$$ 2>/dev/null; then
  441. as_ln_s=ln
  442. else
  443. as_ln_s='cp -p'
  444. fi
  445. else
  446. as_ln_s='cp -p'
  447. fi
  448. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  449. rmdir conf$$.dir 2>/dev/null
  450. if mkdir -p . 2>/dev/null; then
  451. as_mkdir_p='mkdir -p "$as_dir"'
  452. else
  453. test -d ./-p && rmdir ./-p
  454. as_mkdir_p=false
  455. fi
  456. if test -x / >/dev/null 2>&1; then
  457. as_test_x='test -x'
  458. else
  459. if ls -dL / >/dev/null 2>&1; then
  460. as_ls_L_option=L
  461. else
  462. as_ls_L_option=
  463. fi
  464. as_test_x='
  465. eval sh -c '\''
  466. if test -d "$1"; then
  467. test -d "$1/.";
  468. else
  469. case $1 in #(
  470. -*)set "./$1";;
  471. esac;
  472. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  473. ???[sx]*):;;*)false;;esac;fi
  474. '\'' sh
  475. '
  476. fi
  477. as_executable_p=$as_test_x
  478. # Sed expression to map a string onto a valid CPP name.
  479. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  480. # Sed expression to map a string onto a valid variable name.
  481. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  482. exec 7<&0 </dev/null 6>&1
  483. # Name of the host.
  484. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  485. # so uname gets run too.
  486. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  487. #
  488. # Initializations.
  489. #
  490. ac_default_prefix=/usr/local
  491. ac_clean_files=
  492. ac_config_libobj_dir=.
  493. LIBOBJS=
  494. cross_compiling=no
  495. subdirs=
  496. MFLAGS=
  497. MAKEFLAGS=
  498. # Identity of this package.
  499. PACKAGE_NAME=
  500. PACKAGE_TARNAME=
  501. PACKAGE_VERSION=
  502. PACKAGE_STRING=
  503. PACKAGE_BUGREPORT=
  504. PACKAGE_URL=
  505. ac_unique_file="Makefile.in"
  506. ac_subst_vars='LTLIBOBJS
  507. LIBOBJS
  508. MAINT
  509. INSTALL_DATA
  510. INSTALL_SCRIPT
  511. INSTALL_PROGRAM
  512. target_alias
  513. host_alias
  514. build_alias
  515. LIBS
  516. ECHO_T
  517. ECHO_N
  518. ECHO_C
  519. DEFS
  520. mandir
  521. localedir
  522. libdir
  523. psdir
  524. pdfdir
  525. dvidir
  526. htmldir
  527. infodir
  528. docdir
  529. oldincludedir
  530. includedir
  531. localstatedir
  532. sharedstatedir
  533. sysconfdir
  534. datadir
  535. datarootdir
  536. libexecdir
  537. sbindir
  538. bindir
  539. program_transform_name
  540. prefix
  541. exec_prefix
  542. PACKAGE_URL
  543. PACKAGE_BUGREPORT
  544. PACKAGE_STRING
  545. PACKAGE_VERSION
  546. PACKAGE_TARNAME
  547. PACKAGE_NAME
  548. PATH_SEPARATOR
  549. SHELL'
  550. ac_subst_files=''
  551. ac_user_opts='
  552. enable_option_checking
  553. enable_maintainer_mode
  554. '
  555. ac_precious_vars='build_alias
  556. host_alias
  557. target_alias'
  558. # Initialize some variables set by options.
  559. ac_init_help=
  560. ac_init_version=false
  561. ac_unrecognized_opts=
  562. ac_unrecognized_sep=
  563. # The variables have the same names as the options, with
  564. # dashes changed to underlines.
  565. cache_file=/dev/null
  566. exec_prefix=NONE
  567. no_create=
  568. no_recursion=
  569. prefix=NONE
  570. program_prefix=NONE
  571. program_suffix=NONE
  572. program_transform_name=s,x,x,
  573. silent=
  574. site=
  575. srcdir=
  576. verbose=
  577. x_includes=NONE
  578. x_libraries=NONE
  579. # Installation directory options.
  580. # These are left unexpanded so users can "make install exec_prefix=/foo"
  581. # and all the variables that are supposed to be based on exec_prefix
  582. # by default will actually change.
  583. # Use braces instead of parens because sh, perl, etc. also accept them.
  584. # (The list follows the same order as the GNU Coding Standards.)
  585. bindir='${exec_prefix}/bin'
  586. sbindir='${exec_prefix}/sbin'
  587. libexecdir='${exec_prefix}/libexec'
  588. datarootdir='${prefix}/share'
  589. datadir='${datarootdir}'
  590. sysconfdir='${prefix}/etc'
  591. sharedstatedir='${prefix}/com'
  592. localstatedir='${prefix}/var'
  593. includedir='${prefix}/include'
  594. oldincludedir='/usr/include'
  595. docdir='${datarootdir}/doc/${PACKAGE}'
  596. infodir='${datarootdir}/info'
  597. htmldir='${docdir}'
  598. dvidir='${docdir}'
  599. pdfdir='${docdir}'
  600. psdir='${docdir}'
  601. libdir='${exec_prefix}/lib'
  602. localedir='${datarootdir}/locale'
  603. mandir='${datarootdir}/man'
  604. ac_prev=
  605. ac_dashdash=
  606. for ac_option
  607. do
  608. # If the previous option needs an argument, assign it.
  609. if test -n "$ac_prev"; then
  610. eval $ac_prev=\$ac_option
  611. ac_prev=
  612. continue
  613. fi
  614. case $ac_option in
  615. *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  616. *) ac_optarg=yes ;;
  617. esac
  618. # Accept the important Cygnus configure options, so we can diagnose typos.
  619. case $ac_dashdash$ac_option in
  620. --)
  621. ac_dashdash=yes ;;
  622. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  623. ac_prev=bindir ;;
  624. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  625. bindir=$ac_optarg ;;
  626. -build | --build | --buil | --bui | --bu)
  627. ac_prev=build_alias ;;
  628. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  629. build_alias=$ac_optarg ;;
  630. -cache-file | --cache-file | --cache-fil | --cache-fi \
  631. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  632. ac_prev=cache_file ;;
  633. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  634. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  635. cache_file=$ac_optarg ;;
  636. --config-cache | -C)
  637. cache_file=config.cache ;;
  638. -datadir | --datadir | --datadi | --datad)
  639. ac_prev=datadir ;;
  640. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  641. datadir=$ac_optarg ;;
  642. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  643. | --dataroo | --dataro | --datar)
  644. ac_prev=datarootdir ;;
  645. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  646. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  647. datarootdir=$ac_optarg ;;
  648. -disable-* | --disable-*)
  649. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  650. # Reject names that are not valid shell variable names.
  651. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  652. as_fn_error "invalid feature name: $ac_useropt"
  653. ac_useropt_orig=$ac_useropt
  654. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  655. case $ac_user_opts in
  656. *"
  657. "enable_$ac_useropt"
  658. "*) ;;
  659. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  660. ac_unrecognized_sep=', ';;
  661. esac
  662. eval enable_$ac_useropt=no ;;
  663. -docdir | --docdir | --docdi | --doc | --do)
  664. ac_prev=docdir ;;
  665. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  666. docdir=$ac_optarg ;;
  667. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  668. ac_prev=dvidir ;;
  669. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  670. dvidir=$ac_optarg ;;
  671. -enable-* | --enable-*)
  672. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  673. # Reject names that are not valid shell variable names.
  674. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  675. as_fn_error "invalid feature name: $ac_useropt"
  676. ac_useropt_orig=$ac_useropt
  677. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  678. case $ac_user_opts in
  679. *"
  680. "enable_$ac_useropt"
  681. "*) ;;
  682. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  683. ac_unrecognized_sep=', ';;
  684. esac
  685. eval enable_$ac_useropt=\$ac_optarg ;;
  686. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  687. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  688. | --exec | --exe | --ex)
  689. ac_prev=exec_prefix ;;
  690. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  691. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  692. | --exec=* | --exe=* | --ex=*)
  693. exec_prefix=$ac_optarg ;;
  694. -gas | --gas | --ga | --g)
  695. # Obsolete; use --with-gas.
  696. with_gas=yes ;;
  697. -help | --help | --hel | --he | -h)
  698. ac_init_help=long ;;
  699. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  700. ac_init_help=recursive ;;
  701. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  702. ac_init_help=short ;;
  703. -host | --host | --hos | --ho)
  704. ac_prev=host_alias ;;
  705. -host=* | --host=* | --hos=* | --ho=*)
  706. host_alias=$ac_optarg ;;
  707. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  708. ac_prev=htmldir ;;
  709. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  710. | --ht=*)
  711. htmldir=$ac_optarg ;;
  712. -includedir | --includedir | --includedi | --included | --include \
  713. | --includ | --inclu | --incl | --inc)
  714. ac_prev=includedir ;;
  715. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  716. | --includ=* | --inclu=* | --incl=* | --inc=*)
  717. includedir=$ac_optarg ;;
  718. -infodir | --infodir | --infodi | --infod | --info | --inf)
  719. ac_prev=infodir ;;
  720. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  721. infodir=$ac_optarg ;;
  722. -libdir | --libdir | --libdi | --libd)
  723. ac_prev=libdir ;;
  724. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  725. libdir=$ac_optarg ;;
  726. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  727. | --libexe | --libex | --libe)
  728. ac_prev=libexecdir ;;
  729. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  730. | --libexe=* | --libex=* | --libe=*)
  731. libexecdir=$ac_optarg ;;
  732. -localedir | --localedir | --localedi | --localed | --locale)
  733. ac_prev=localedir ;;
  734. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  735. localedir=$ac_optarg ;;
  736. -localstatedir | --localstatedir | --localstatedi | --localstated \
  737. | --localstate | --localstat | --localsta | --localst | --locals)
  738. ac_prev=localstatedir ;;
  739. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  740. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  741. localstatedir=$ac_optarg ;;
  742. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  743. ac_prev=mandir ;;
  744. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  745. mandir=$ac_optarg ;;
  746. -nfp | --nfp | --nf)
  747. # Obsolete; use --without-fp.
  748. with_fp=no ;;
  749. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  750. | --no-cr | --no-c | -n)
  751. no_create=yes ;;
  752. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  753. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  754. no_recursion=yes ;;
  755. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  756. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  757. | --oldin | --oldi | --old | --ol | --o)
  758. ac_prev=oldincludedir ;;
  759. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  760. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  761. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  762. oldincludedir=$ac_optarg ;;
  763. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  764. ac_prev=prefix ;;
  765. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  766. prefix=$ac_optarg ;;
  767. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  768. | --program-pre | --program-pr | --program-p)
  769. ac_prev=program_prefix ;;
  770. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  771. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  772. program_prefix=$ac_optarg ;;
  773. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  774. | --program-suf | --program-su | --program-s)
  775. ac_prev=program_suffix ;;
  776. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  777. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  778. program_suffix=$ac_optarg ;;
  779. -program-transform-name | --program-transform-name \
  780. | --program-transform-nam | --program-transform-na \
  781. | --program-transform-n | --program-transform- \
  782. | --program-transform | --program-transfor \
  783. | --program-transfo | --program-transf \
  784. | --program-trans | --program-tran \
  785. | --progr-tra | --program-tr | --program-t)
  786. ac_prev=program_transform_name ;;
  787. -program-transform-name=* | --program-transform-name=* \
  788. | --program-transform-nam=* | --program-transform-na=* \
  789. | --program-transform-n=* | --program-transform-=* \
  790. | --program-transform=* | --program-transfor=* \
  791. | --program-transfo=* | --program-transf=* \
  792. | --program-trans=* | --program-tran=* \
  793. | --progr-tra=* | --program-tr=* | --program-t=*)
  794. program_transform_name=$ac_optarg ;;
  795. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  796. ac_prev=pdfdir ;;
  797. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  798. pdfdir=$ac_optarg ;;
  799. -psdir | --psdir | --psdi | --psd | --ps)
  800. ac_prev=psdir ;;
  801. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  802. psdir=$ac_optarg ;;
  803. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  804. | -silent | --silent | --silen | --sile | --sil)
  805. silent=yes ;;
  806. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  807. ac_prev=sbindir ;;
  808. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  809. | --sbi=* | --sb=*)
  810. sbindir=$ac_optarg ;;
  811. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  812. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  813. | --sharedst | --shareds | --shared | --share | --shar \
  814. | --sha | --sh)
  815. ac_prev=sharedstatedir ;;
  816. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  817. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  818. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  819. | --sha=* | --sh=*)
  820. sharedstatedir=$ac_optarg ;;
  821. -site | --site | --sit)
  822. ac_prev=site ;;
  823. -site=* | --site=* | --sit=*)
  824. site=$ac_optarg ;;
  825. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  826. ac_prev=srcdir ;;
  827. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  828. srcdir=$ac_optarg ;;
  829. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  830. | --syscon | --sysco | --sysc | --sys | --sy)
  831. ac_prev=sysconfdir ;;
  832. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  833. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  834. sysconfdir=$ac_optarg ;;
  835. -target | --target | --targe | --targ | --tar | --ta | --t)
  836. ac_prev=target_alias ;;
  837. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  838. target_alias=$ac_optarg ;;
  839. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  840. verbose=yes ;;
  841. -version | --version | --versio | --versi | --vers | -V)
  842. ac_init_version=: ;;
  843. -with-* | --with-*)
  844. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  845. # Reject names that are not valid shell variable names.
  846. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  847. as_fn_error "invalid package name: $ac_useropt"
  848. ac_useropt_orig=$ac_useropt
  849. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  850. case $ac_user_opts in
  851. *"
  852. "with_$ac_useropt"
  853. "*) ;;
  854. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  855. ac_unrecognized_sep=', ';;
  856. esac
  857. eval with_$ac_useropt=\$ac_optarg ;;
  858. -without-* | --without-*)
  859. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  860. # Reject names that are not valid shell variable names.
  861. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  862. as_fn_error "invalid package name: $ac_useropt"
  863. ac_useropt_orig=$ac_useropt
  864. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  865. case $ac_user_opts in
  866. *"
  867. "with_$ac_useropt"
  868. "*) ;;
  869. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  870. ac_unrecognized_sep=', ';;
  871. esac
  872. eval with_$ac_useropt=no ;;
  873. --x)
  874. # Obsolete; use --with-x.
  875. with_x=yes ;;
  876. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  877. | --x-incl | --x-inc | --x-in | --x-i)
  878. ac_prev=x_includes ;;
  879. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  880. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  881. x_includes=$ac_optarg ;;
  882. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  883. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  884. ac_prev=x_libraries ;;
  885. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  886. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  887. x_libraries=$ac_optarg ;;
  888. -*) as_fn_error "unrecognized option: \`$ac_option'
  889. Try \`$0 --help' for more information."
  890. ;;
  891. *=*)
  892. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  893. # Reject names that are not valid shell variable names.
  894. case $ac_envvar in #(
  895. '' | [0-9]* | *[!_$as_cr_alnum]* )
  896. as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  897. esac
  898. eval $ac_envvar=\$ac_optarg
  899. export $ac_envvar ;;
  900. *)
  901. # FIXME: should be removed in autoconf 3.0.
  902. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  903. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  904. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  905. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  906. ;;
  907. esac
  908. done
  909. if test -n "$ac_prev"; then
  910. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  911. as_fn_error "missing argument to $ac_option"
  912. fi
  913. if test -n "$ac_unrecognized_opts"; then
  914. case $enable_option_checking in
  915. no) ;;
  916. fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  917. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  918. esac
  919. fi
  920. # Check all directory arguments for consistency.
  921. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  922. datadir sysconfdir sharedstatedir localstatedir includedir \
  923. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  924. libdir localedir mandir
  925. do
  926. eval ac_val=\$$ac_var
  927. # Remove trailing slashes.
  928. case $ac_val in
  929. */ )
  930. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  931. eval $ac_var=\$ac_val;;
  932. esac
  933. # Be sure to have absolute directory names.
  934. case $ac_val in
  935. [\\/$]* | ?:[\\/]* ) continue;;
  936. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  937. esac
  938. as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  939. done
  940. # There might be people who depend on the old broken behavior: `$host'
  941. # used to hold the argument of --host etc.
  942. # FIXME: To remove some day.
  943. build=$build_alias
  944. host=$host_alias
  945. target=$target_alias
  946. # FIXME: To remove some day.
  947. if test "x$host_alias" != x; then
  948. if test "x$build_alias" = x; then
  949. cross_compiling=maybe
  950. $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  951. If a cross compiler is detected then cross compile mode will be used." >&2
  952. elif test "x$build_alias" != "x$host_alias"; then
  953. cross_compiling=yes
  954. fi
  955. fi
  956. ac_tool_prefix=
  957. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  958. test "$silent" = yes && exec 6>/dev/null
  959. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  960. ac_ls_di=`ls -di .` &&
  961. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  962. as_fn_error "working directory cannot be determined"
  963. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  964. as_fn_error "pwd does not report name of working directory"
  965. # Find the source files, if location was not specified.
  966. if test -z "$srcdir"; then
  967. ac_srcdir_defaulted=yes
  968. # Try the directory containing this script, then the parent directory.
  969. ac_confdir=`$as_dirname -- "$as_myself" ||
  970. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  971. X"$as_myself" : 'X\(//\)[^/]' \| \
  972. X"$as_myself" : 'X\(//\)$' \| \
  973. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  974. $as_echo X"$as_myself" |
  975. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  976. s//\1/
  977. q
  978. }
  979. /^X\(\/\/\)[^/].*/{
  980. s//\1/
  981. q
  982. }
  983. /^X\(\/\/\)$/{
  984. s//\1/
  985. q
  986. }
  987. /^X\(\/\).*/{
  988. s//\1/
  989. q
  990. }
  991. s/.*/./; q'`
  992. srcdir=$ac_confdir
  993. if test ! -r "$srcdir/$ac_unique_file"; then
  994. srcdir=..
  995. fi
  996. else
  997. ac_srcdir_defaulted=no
  998. fi
  999. if test ! -r "$srcdir/$ac_unique_file"; then
  1000. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1001. as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  1002. fi
  1003. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1004. ac_abs_confdir=`(
  1005. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  1006. pwd)`
  1007. # When building in place, set srcdir=.
  1008. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1009. srcdir=.
  1010. fi
  1011. # Remove unnecessary trailing slashes from srcdir.
  1012. # Double slashes in file names in object file debugging info
  1013. # mess up M-x gdb in Emacs.
  1014. case $srcdir in
  1015. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1016. esac
  1017. for ac_var in $ac_precious_vars; do
  1018. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1019. eval ac_env_${ac_var}_value=\$${ac_var}
  1020. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1021. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1022. done
  1023. #
  1024. # Report the --help message.
  1025. #
  1026. if test "$ac_init_help" = "long"; then
  1027. # Omit some internal or obsolete options to make the list less imposing.
  1028. # This message is too long to be a string in the A/UX 3.1 sh.
  1029. cat <<_ACEOF
  1030. \`configure' configures this package to adapt to many kinds of systems.
  1031. Usage: $0 [OPTION]... [VAR=VALUE]...
  1032. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1033. VAR=VALUE. See below for descriptions of some of the useful variables.
  1034. Defaults for the options are specified in brackets.
  1035. Configuration:
  1036. -h, --help display this help and exit
  1037. --help=short display options specific to this package
  1038. --help=recursive display the short help of all the included packages
  1039. -V, --version display version information and exit
  1040. -q, --quiet, --silent do not print \`checking...' messages
  1041. --cache-file=FILE cache test results in FILE [disabled]
  1042. -C, --config-cache alias for \`--cache-file=config.cache'
  1043. -n, --no-create do not create output files
  1044. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1045. Installation directories:
  1046. --prefix=PREFIX install architecture-independent files in PREFIX
  1047. [$ac_default_prefix]
  1048. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1049. [PREFIX]
  1050. By default, \`make install' will install all the files in
  1051. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1052. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1053. for instance \`--prefix=\$HOME'.
  1054. For better control, use the options below.
  1055. Fine tuning of the installation directories:
  1056. --bindir=DIR user executables [EPREFIX/bin]
  1057. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1058. --libexecdir=DIR program executables [EPREFIX/libexec]
  1059. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1060. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1061. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1062. --libdir=DIR object code libraries [EPREFIX/lib]
  1063. --includedir=DIR C header files [PREFIX/include]
  1064. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1065. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1066. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1067. --infodir=DIR info documentation [DATAROOTDIR/info]
  1068. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1069. --mandir=DIR man documentation [DATAROOTDIR/man]
  1070. --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  1071. --htmldir=DIR html documentation [DOCDIR]
  1072. --dvidir=DIR dvi documentation [DOCDIR]
  1073. --pdfdir=DIR pdf documentation [DOCDIR]
  1074. --psdir=DIR ps documentation [DOCDIR]
  1075. _ACEOF
  1076. cat <<\_ACEOF
  1077. _ACEOF
  1078. fi
  1079. if test -n "$ac_init_help"; then
  1080. cat <<\_ACEOF
  1081. Optional Features:
  1082. --disable-option-checking ignore unrecognized --enable/--with options
  1083. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1084. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1085. --enable-maintainer-mode
  1086. enable make rules and dependencies not useful (and
  1087. sometimes confusing) to the casual installer
  1088. Report bugs to the package provider.
  1089. _ACEOF
  1090. ac_status=$?
  1091. fi
  1092. if test "$ac_init_help" = "recursive"; then
  1093. # If there are subdirs, report their specific --help.
  1094. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1095. test -d "$ac_dir" ||
  1096. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1097. continue
  1098. ac_builddir=.
  1099. case "$ac_dir" in
  1100. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1101. *)
  1102. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1103. # A ".." for each directory in $ac_dir_suffix.
  1104. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1105. case $ac_top_builddir_sub in
  1106. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1107. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1108. esac ;;
  1109. esac
  1110. ac_abs_top_builddir=$ac_pwd
  1111. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1112. # for backward compatibility:
  1113. ac_top_builddir=$ac_top_build_prefix
  1114. case $srcdir in
  1115. .) # We are building in place.
  1116. ac_srcdir=.
  1117. ac_top_srcdir=$ac_top_builddir_sub
  1118. ac_abs_top_srcdir=$ac_pwd ;;
  1119. [\\/]* | ?:[\\/]* ) # Absolute name.
  1120. ac_srcdir=$srcdir$ac_dir_suffix;
  1121. ac_top_srcdir=$srcdir
  1122. ac_abs_top_srcdir=$srcdir ;;
  1123. *) # Relative name.
  1124. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1125. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1126. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1127. esac
  1128. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1129. cd "$ac_dir" || { ac_status=$?; continue; }
  1130. # Check for guested configure.
  1131. if test -f "$ac_srcdir/configure.gnu"; then
  1132. echo &&
  1133. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1134. elif test -f "$ac_srcdir/configure"; then
  1135. echo &&
  1136. $SHELL "$ac_srcdir/configure" --help=recursive
  1137. else
  1138. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1139. fi || ac_status=$?
  1140. cd "$ac_pwd" || { ac_status=$?; break; }
  1141. done
  1142. fi
  1143. test -n "$ac_init_help" && exit $ac_status
  1144. if $ac_init_version; then
  1145. cat <<\_ACEOF
  1146. configure
  1147. generated by GNU Autoconf 2.64
  1148. Copyright (C) 2009 Free Software Foundation, Inc.
  1149. This configure script is free software; the Free Software Foundation
  1150. gives unlimited permission to copy, distribute and modify it.
  1151. _ACEOF
  1152. exit
  1153. fi
  1154. ## ------------------------ ##
  1155. ## Autoconf initialization. ##
  1156. ## ------------------------ ##
  1157. cat >config.log <<_ACEOF
  1158. This file contains any messages produced by compilers while
  1159. running configure, to aid debugging if configure makes a mistake.
  1160. It was created by $as_me, which was
  1161. generated by GNU Autoconf 2.64. Invocation command line was
  1162. $ $0 $@
  1163. _ACEOF
  1164. exec 5>>config.log
  1165. {
  1166. cat <<_ASUNAME
  1167. ## --------- ##
  1168. ## Platform. ##
  1169. ## --------- ##
  1170. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1171. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1172. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1173. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1174. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1175. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1176. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1177. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1178. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1179. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1180. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1181. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1182. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1183. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1184. _ASUNAME
  1185. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1186. for as_dir in $PATH
  1187. do
  1188. IFS=$as_save_IFS
  1189. test -z "$as_dir" && as_dir=.
  1190. $as_echo "PATH: $as_dir"
  1191. done
  1192. IFS=$as_save_IFS
  1193. } >&5
  1194. cat >&5 <<_ACEOF
  1195. ## ----------- ##
  1196. ## Core tests. ##
  1197. ## ----------- ##
  1198. _ACEOF
  1199. # Keep a trace of the command line.
  1200. # Strip out --no-create and --no-recursion so they do not pile up.
  1201. # Strip out --silent because we don't want to record it for future runs.
  1202. # Also quote any args containing shell meta-characters.
  1203. # Make two passes to allow for proper duplicate-argument suppression.
  1204. ac_configure_args=
  1205. ac_configure_args0=
  1206. ac_configure_args1=
  1207. ac_must_keep_next=false
  1208. for ac_pass in 1 2
  1209. do
  1210. for ac_arg
  1211. do
  1212. case $ac_arg in
  1213. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1214. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1215. | -silent | --silent | --silen | --sile | --sil)
  1216. continue ;;
  1217. *\'*)
  1218. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1219. esac
  1220. case $ac_pass in
  1221. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1222. 2)
  1223. as_fn_append ac_configure_args1 " '$ac_arg'"
  1224. if test $ac_must_keep_next = true; then
  1225. ac_must_keep_next=false # Got value, back to normal.
  1226. else
  1227. case $ac_arg in
  1228. *=* | --config-cache | -C | -disable-* | --disable-* \
  1229. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1230. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1231. | -with-* | --with-* | -without-* | --without-* | --x)
  1232. case "$ac_configure_args0 " in
  1233. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1234. esac
  1235. ;;
  1236. -* ) ac_must_keep_next=true ;;
  1237. esac
  1238. fi
  1239. as_fn_append ac_configure_args " '$ac_arg'"
  1240. ;;
  1241. esac
  1242. done
  1243. done
  1244. { ac_configure_args0=; unset ac_configure_args0;}
  1245. { ac_configure_args1=; unset ac_configure_args1;}
  1246. # When interrupted or exit'd, cleanup temporary files, and complete
  1247. # config.log. We remove comments because anyway the quotes in there
  1248. # would cause problems or look ugly.
  1249. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1250. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1251. trap 'exit_status=$?
  1252. # Save into config.log some information that might help in debugging.
  1253. {
  1254. echo
  1255. cat <<\_ASBOX
  1256. ## ---------------- ##
  1257. ## Cache variables. ##
  1258. ## ---------------- ##
  1259. _ASBOX
  1260. echo
  1261. # The following way of writing the cache mishandles newlines in values,
  1262. (
  1263. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1264. eval ac_val=\$$ac_var
  1265. case $ac_val in #(
  1266. *${as_nl}*)
  1267. case $ac_var in #(
  1268. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1269. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1270. esac
  1271. case $ac_var in #(
  1272. _ | IFS | as_nl) ;; #(
  1273. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1274. *) { eval $ac_var=; unset $ac_var;} ;;
  1275. esac ;;
  1276. esac
  1277. done
  1278. (set) 2>&1 |
  1279. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1280. *${as_nl}ac_space=\ *)
  1281. sed -n \
  1282. "s/'\''/'\''\\\\'\'''\''/g;
  1283. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1284. ;; #(
  1285. *)
  1286. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1287. ;;
  1288. esac |
  1289. sort
  1290. )
  1291. echo
  1292. cat <<\_ASBOX
  1293. ## ----------------- ##
  1294. ## Output variables. ##
  1295. ## ----------------- ##
  1296. _ASBOX
  1297. echo
  1298. for ac_var in $ac_subst_vars
  1299. do
  1300. eval ac_val=\$$ac_var
  1301. case $ac_val in
  1302. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1303. esac
  1304. $as_echo "$ac_var='\''$ac_val'\''"
  1305. done | sort
  1306. echo
  1307. if test -n "$ac_subst_files"; then
  1308. cat <<\_ASBOX
  1309. ## ------------------- ##
  1310. ## File substitutions. ##
  1311. ## ------------------- ##
  1312. _ASBOX
  1313. echo
  1314. for ac_var in $ac_subst_files
  1315. do
  1316. eval ac_val=\$$ac_var
  1317. case $ac_val in
  1318. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1319. esac
  1320. $as_echo "$ac_var='\''$ac_val'\''"
  1321. done | sort
  1322. echo
  1323. fi
  1324. if test -s confdefs.h; then
  1325. cat <<\_ASBOX
  1326. ## ----------- ##
  1327. ## confdefs.h. ##
  1328. ## ----------- ##
  1329. _ASBOX
  1330. echo
  1331. cat confdefs.h
  1332. echo
  1333. fi
  1334. test "$ac_signal" != 0 &&
  1335. $as_echo "$as_me: caught signal $ac_signal"
  1336. $as_echo "$as_me: exit $exit_status"
  1337. } >&5
  1338. rm -f core *.core core.conftest.* &&
  1339. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1340. exit $exit_status
  1341. ' 0
  1342. for ac_signal in 1 2 13 15; do
  1343. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1344. done
  1345. ac_signal=0
  1346. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1347. rm -f -r conftest* confdefs.h
  1348. $as_echo "/* confdefs.h */" > confdefs.h
  1349. # Predefined preprocessor variables.
  1350. cat >>confdefs.h <<_ACEOF
  1351. #define PACKAGE_NAME "$PACKAGE_NAME"
  1352. _ACEOF
  1353. cat >>confdefs.h <<_ACEOF
  1354. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1355. _ACEOF
  1356. cat >>confdefs.h <<_ACEOF
  1357. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1358. _ACEOF
  1359. cat >>confdefs.h <<_ACEOF
  1360. #define PACKAGE_STRING "$PACKAGE_STRING"
  1361. _ACEOF
  1362. cat >>confdefs.h <<_ACEOF
  1363. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1364. _ACEOF
  1365. cat >>confdefs.h <<_ACEOF
  1366. #define PACKAGE_URL "$PACKAGE_URL"
  1367. _ACEOF
  1368. # Let the site file select an alternate cache file if it wants to.
  1369. # Prefer an explicitly selected file to automatically selected ones.
  1370. ac_site_file1=NONE
  1371. ac_site_file2=NONE
  1372. if test -n "$CONFIG_SITE"; then
  1373. ac_site_file1=$CONFIG_SITE
  1374. elif test "x$prefix" != xNONE; then
  1375. ac_site_file1=$prefix/share/config.site
  1376. ac_site_file2=$prefix/etc/config.site
  1377. else
  1378. ac_site_file1=$ac_default_prefix/share/config.site
  1379. ac_site_file2=$ac_default_prefix/etc/config.site
  1380. fi
  1381. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1382. do
  1383. test "x$ac_site_file" = xNONE && continue
  1384. if test -r "$ac_site_file"; then
  1385. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1386. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1387. sed 's/^/| /' "$ac_site_file" >&5
  1388. . "$ac_site_file"
  1389. fi
  1390. done
  1391. if test -r "$cache_file"; then
  1392. # Some versions of bash will fail to source /dev/null (special
  1393. # files actually), so we avoid doing that.
  1394. if test -f "$cache_file"; then
  1395. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1396. $as_echo "$as_me: loading cache $cache_file" >&6;}
  1397. case $cache_file in
  1398. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1399. *) . "./$cache_file";;
  1400. esac
  1401. fi
  1402. else
  1403. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1404. $as_echo "$as_me: creating cache $cache_file" >&6;}
  1405. >$cache_file
  1406. fi
  1407. # Check that the precious variables saved in the cache have kept the same
  1408. # value.
  1409. ac_cache_corrupted=false
  1410. for ac_var in $ac_precious_vars; do
  1411. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1412. eval ac_new_set=\$ac_env_${ac_var}_set
  1413. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1414. eval ac_new_val=\$ac_env_${ac_var}_value
  1415. case $ac_old_set,$ac_new_set in
  1416. set,)
  1417. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1418. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1419. ac_cache_corrupted=: ;;
  1420. ,set)
  1421. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  1422. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1423. ac_cache_corrupted=: ;;
  1424. ,);;
  1425. *)
  1426. if test "x$ac_old_val" != "x$ac_new_val"; then
  1427. # differences in whitespace do not lead to failure.
  1428. ac_old_val_w=`echo x $ac_old_val`
  1429. ac_new_val_w=`echo x $ac_new_val`
  1430. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1431. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  1432. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1433. ac_cache_corrupted=:
  1434. else
  1435. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1436. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1437. eval $ac_var=\$ac_old_val
  1438. fi
  1439. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  1440. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  1441. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  1442. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  1443. fi;;
  1444. esac
  1445. # Pass precious variables to config.status.
  1446. if test "$ac_new_set" = set; then
  1447. case $ac_new_val in
  1448. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1449. *) ac_arg=$ac_var=$ac_new_val ;;
  1450. esac
  1451. case " $ac_configure_args " in
  1452. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1453. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  1454. esac
  1455. fi
  1456. done
  1457. if $ac_cache_corrupted; then
  1458. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1459. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1460. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  1461. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1462. as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  1463. fi
  1464. ## -------------------- ##
  1465. ## Main body of script. ##
  1466. ## -------------------- ##
  1467. ac_ext=c
  1468. ac_cpp='$CPP $CPPFLAGS'
  1469. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1470. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1471. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1472. ac_aux_dir=
  1473. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1474. for ac_t in install-sh install.sh shtool; do
  1475. if test -f "$ac_dir/$ac_t"; then
  1476. ac_aux_dir=$ac_dir
  1477. ac_install_sh="$ac_aux_dir/$ac_t -c"
  1478. break 2
  1479. fi
  1480. done
  1481. done
  1482. if test -z "$ac_aux_dir"; then
  1483. as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  1484. fi
  1485. # These three variables are undocumented and unsupported,
  1486. # and are intended to be withdrawn in a future Autoconf release.
  1487. # They can cause serious problems if a builder's source tree is in a directory
  1488. # whose full name contains unusual characters.
  1489. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  1490. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  1491. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  1492. # Find a good install program. We prefer a C program (faster),
  1493. # so one script is as good as another. But avoid the broken or
  1494. # incompatible versions:
  1495. # SysV /etc/install, /usr/sbin/install
  1496. # SunOS /usr/etc/install
  1497. # IRIX /sbin/install
  1498. # AIX /bin/install
  1499. # AmigaOS /C/install, which installs bootblocks on floppy discs
  1500. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1501. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1502. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1503. # OS/2's system install, which has a completely different semantic
  1504. # ./install, which can be erroneously created by make from ./install.sh.
  1505. # Reject install programs that cannot install multiple files.
  1506. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  1507. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  1508. if test -z "$INSTALL"; then
  1509. if test "${ac_cv_path_install+set}" = set; then :
  1510. $as_echo_n "(cached) " >&6
  1511. else
  1512. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1513. for as_dir in $PATH
  1514. do
  1515. IFS=$as_save_IFS
  1516. test -z "$as_dir" && as_dir=.
  1517. # Account for people who put trailing slashes in PATH elements.
  1518. case $as_dir/ in #((
  1519. ./ | .// | /[cC]/* | \
  1520. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1521. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  1522. /usr/ucb/* ) ;;
  1523. *)
  1524. # OSF1 and SCO ODT 3.0 have their own names for install.
  1525. # Don't use installbsd from OSF since it installs stuff as root
  1526. # by default.
  1527. for ac_prog in ginstall scoinst install; do
  1528. for ac_exec_ext in '' $ac_executable_extensions; do
  1529. if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1530. if test $ac_prog = install &&
  1531. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1532. # AIX install. It has an incompatible calling convention.
  1533. :
  1534. elif test $ac_prog = install &&
  1535. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1536. # program-specific install script used by HP pwplus--don't use.
  1537. :
  1538. else
  1539. rm -rf conftest.one conftest.two conftest.dir
  1540. echo one > conftest.one
  1541. echo two > conftest.two
  1542. mkdir conftest.dir
  1543. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  1544. test -s conftest.one && test -s conftest.two &&
  1545. test -s conftest.dir/conftest.one &&
  1546. test -s conftest.dir/conftest.two
  1547. then
  1548. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1549. break 3
  1550. fi
  1551. fi
  1552. fi
  1553. done
  1554. done
  1555. ;;
  1556. esac
  1557. done
  1558. IFS=$as_save_IFS
  1559. rm -rf conftest.one conftest.two conftest.dir
  1560. fi
  1561. if test "${ac_cv_path_install+set}" = set; then
  1562. INSTALL=$ac_cv_path_install
  1563. else
  1564. # As a last resort, use the slow shell script. Don't cache a
  1565. # value for INSTALL within a source directory, because that will
  1566. # break other packages using the cache if that directory is
  1567. # removed, or if the value is a relative name.
  1568. INSTALL=$ac_install_sh
  1569. fi
  1570. fi
  1571. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  1572. $as_echo "$INSTALL" >&6; }
  1573. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1574. # It thinks the first close brace ends the variable substitution.
  1575. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1576. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1577. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1578. # Command-line options.
  1579. # Very limited version of AC_MAINTAINER_MODE.
  1580. # Check whether --enable-maintainer-mode was given.
  1581. if test "${enable_maintainer_mode+set}" = set; then :
  1582. enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in
  1583. yes) MAINT='' ;;
  1584. no) MAINT='#' ;;
  1585. *) as_fn_error "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
  1586. esac
  1587. maintainer_mode=${enableval}
  1588. else
  1589. MAINT='#'
  1590. fi
  1591. ac_config_files="$ac_config_files Makefile"
  1592. cat >confcache <<\_ACEOF
  1593. # This file is a shell script that caches the results of configure
  1594. # tests run on this system so they can be shared between configure
  1595. # scripts and configure runs, see configure's option --config-cache.
  1596. # It is not useful on other systems. If it contains results you don't
  1597. # want to keep, you may remove or edit it.
  1598. #
  1599. # config.status only pays attention to the cache file if you give it
  1600. # the --recheck option to rerun configure.
  1601. #
  1602. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  1603. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  1604. # following values.
  1605. _ACEOF
  1606. # The following way of writing the cache mishandles newlines in values,
  1607. # but we know of no workaround that is simple, portable, and efficient.
  1608. # So, we kill variables containing newlines.
  1609. # Ultrix sh set writes to stderr and can't be redirected directly,
  1610. # and sets the high bit in the cache file unless we assign to the vars.
  1611. (
  1612. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  1613. eval ac_val=\$$ac_var
  1614. case $ac_val in #(
  1615. *${as_nl}*)
  1616. case $ac_var in #(
  1617. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1618. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1619. esac
  1620. case $ac_var in #(
  1621. _ | IFS | as_nl) ;; #(
  1622. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1623. *) { eval $ac_var=; unset $ac_var;} ;;
  1624. esac ;;
  1625. esac
  1626. done
  1627. (set) 2>&1 |
  1628. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  1629. *${as_nl}ac_space=\ *)
  1630. # `set' does not quote correctly, so add quotes: double-quote
  1631. # substitution turns \\\\ into \\, and sed turns \\ into \.
  1632. sed -n \
  1633. "s/'/'\\\\''/g;
  1634. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  1635. ;; #(
  1636. *)
  1637. # `set' quotes correctly as required by POSIX, so do not add quotes.
  1638. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1639. ;;
  1640. esac |
  1641. sort
  1642. ) |
  1643. sed '
  1644. /^ac_cv_env_/b end
  1645. t clear
  1646. :clear
  1647. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  1648. t end
  1649. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  1650. :end' >>confcache
  1651. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  1652. if test -w "$cache_file"; then
  1653. test "x$cache_file" != "x/dev/null" &&
  1654. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  1655. $as_echo "$as_me: updating cache $cache_file" >&6;}
  1656. cat confcache >$cache_file
  1657. else
  1658. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  1659. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  1660. fi
  1661. fi
  1662. rm -f confcache
  1663. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  1664. # Let make expand exec_prefix.
  1665. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  1666. # Transform confdefs.h into DEFS.
  1667. # Protect against shell expansion while executing Makefile rules.
  1668. # Protect against Makefile macro expansion.
  1669. #
  1670. # If the first sed substitution is executed (which looks for macros that
  1671. # take arguments), then branch to the quote section. Otherwise,
  1672. # look for a macro that doesn't take arguments.
  1673. ac_script='
  1674. :mline
  1675. /\\$/{
  1676. N
  1677. s,\\\n,,
  1678. b mline
  1679. }
  1680. t clear
  1681. :clear
  1682. s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
  1683. t quote
  1684. s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
  1685. t quote
  1686. b any
  1687. :quote
  1688. s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  1689. s/\[/\\&/g
  1690. s/\]/\\&/g
  1691. s/\$/$$/g
  1692. H
  1693. :any
  1694. ${
  1695. g
  1696. s/^\n//
  1697. s/\n/ /g
  1698. p
  1699. }
  1700. '
  1701. DEFS=`sed -n "$ac_script" confdefs.h`
  1702. ac_libobjs=
  1703. ac_ltlibobjs=
  1704. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  1705. # 1. Remove the extension, and $U if already installed.
  1706. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  1707. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  1708. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  1709. # will be set to the directory where LIBOBJS objects are built.
  1710. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  1711. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  1712. done
  1713. LIBOBJS=$ac_libobjs
  1714. LTLIBOBJS=$ac_ltlibobjs
  1715. : ${CONFIG_STATUS=./config.status}
  1716. ac_write_fail=0
  1717. ac_clean_files_save=$ac_clean_files
  1718. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  1719. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  1720. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  1721. as_write_fail=0
  1722. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  1723. #! $SHELL
  1724. # Generated by $as_me.
  1725. # Run this file to recreate the current configuration.
  1726. # Compiler output produced by configure, useful for debugging
  1727. # configure, is in config.log if it exists.
  1728. debug=false
  1729. ac_cs_recheck=false
  1730. ac_cs_silent=false
  1731. SHELL=\${CONFIG_SHELL-$SHELL}
  1732. export SHELL
  1733. _ASEOF
  1734. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  1735. ## -------------------- ##
  1736. ## M4sh Initialization. ##
  1737. ## -------------------- ##
  1738. # Be more Bourne compatible
  1739. DUALCASE=1; export DUALCASE # for MKS sh
  1740. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  1741. emulate sh
  1742. NULLCMD=:
  1743. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  1744. # is contrary to our usage. Disable this feature.
  1745. alias -g '${1+"$@"}'='"$@"'
  1746. setopt NO_GLOB_SUBST
  1747. else
  1748. case `(set -o) 2>/dev/null` in #(
  1749. *posix*) :
  1750. set -o posix ;; #(
  1751. *) :
  1752. ;;
  1753. esac
  1754. fi
  1755. as_nl='
  1756. '
  1757. export as_nl
  1758. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  1759. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  1760. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  1761. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  1762. # Prefer a ksh shell builtin over an external printf program on Solaris,
  1763. # but without wasting forks for bash or zsh.
  1764. if test -z "$BASH_VERSION$ZSH_VERSION" \
  1765. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  1766. as_echo='print -r --'
  1767. as_echo_n='print -rn --'
  1768. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  1769. as_echo='printf %s\n'
  1770. as_echo_n='printf %s'
  1771. else
  1772. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  1773. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  1774. as_echo_n='/usr/ucb/echo -n'
  1775. else
  1776. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  1777. as_echo_n_body='eval
  1778. arg=$1;
  1779. case $arg in #(
  1780. *"$as_nl"*)
  1781. expr "X$arg" : "X\\(.*\\)$as_nl";
  1782. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  1783. esac;
  1784. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  1785. '
  1786. export as_echo_n_body
  1787. as_echo_n='sh -c $as_echo_n_body as_echo'
  1788. fi
  1789. export as_echo_body
  1790. as_echo='sh -c $as_echo_body as_echo'
  1791. fi
  1792. # The user is always right.
  1793. if test "${PATH_SEPARATOR+set}" != set; then
  1794. PATH_SEPARATOR=:
  1795. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  1796. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  1797. PATH_SEPARATOR=';'
  1798. }
  1799. fi
  1800. # IFS
  1801. # We need space, tab and new line, in precisely that order. Quoting is
  1802. # there to prevent editors from complaining about space-tab.
  1803. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  1804. # splitting by setting IFS to empty value.)
  1805. IFS=" "" $as_nl"
  1806. # Find who we are. Look in the path if we contain no directory separator.
  1807. case $0 in #((
  1808. *[\\/]* ) as_myself=$0 ;;
  1809. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1810. for as_dir in $PATH
  1811. do
  1812. IFS=$as_save_IFS
  1813. test -z "$as_dir" && as_dir=.
  1814. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  1815. done
  1816. IFS=$as_save_IFS
  1817. ;;
  1818. esac
  1819. # We did not find ourselves, most probably we were run as `sh COMMAND'
  1820. # in which case we are not to be found in the path.
  1821. if test "x$as_myself" = x; then
  1822. as_myself=$0
  1823. fi
  1824. if test ! -f "$as_myself"; then
  1825. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  1826. exit 1
  1827. fi
  1828. # Unset variables that we do not need and which cause bugs (e.g. in
  1829. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  1830. # suppresses any "Segmentation fault" message there. '((' could
  1831. # trigger a bug in pdksh 5.2.14.
  1832. for as_var in BASH_ENV ENV MAIL MAILPATH
  1833. do eval test x\${$as_var+set} = xset \
  1834. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  1835. done
  1836. PS1='$ '
  1837. PS2='> '
  1838. PS4='+ '
  1839. # NLS nuisances.
  1840. LC_ALL=C
  1841. export LC_ALL
  1842. LANGUAGE=C
  1843. export LANGUAGE
  1844. # CDPATH.
  1845. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  1846. # as_fn_error ERROR [LINENO LOG_FD]
  1847. # ---------------------------------
  1848. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  1849. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  1850. # script with status $?, using 1 if that was 0.
  1851. as_fn_error ()
  1852. {
  1853. as_status=$?; test $as_status -eq 0 && as_status=1
  1854. if test "$3"; then
  1855. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1856. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  1857. fi
  1858. $as_echo "$as_me: error: $1" >&2
  1859. as_fn_exit $as_status
  1860. } # as_fn_error
  1861. # as_fn_set_status STATUS
  1862. # -----------------------
  1863. # Set $? to STATUS, without forking.
  1864. as_fn_set_status ()
  1865. {
  1866. return $1
  1867. } # as_fn_set_status
  1868. # as_fn_exit STATUS
  1869. # -----------------
  1870. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  1871. as_fn_exit ()
  1872. {
  1873. set +e
  1874. as_fn_set_status $1
  1875. exit $1
  1876. } # as_fn_exit
  1877. # as_fn_unset VAR
  1878. # ---------------
  1879. # Portably unset VAR.
  1880. as_fn_unset ()
  1881. {
  1882. { eval $1=; unset $1;}
  1883. }
  1884. as_unset=as_fn_unset
  1885. # as_fn_append VAR VALUE
  1886. # ----------------------
  1887. # Append the text in VALUE to the end of the definition contained in VAR. Take
  1888. # advantage of any shell optimizations that allow amortized linear growth over
  1889. # repeated appends, instead of the typical quadratic growth present in naive
  1890. # implementations.
  1891. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  1892. eval 'as_fn_append ()
  1893. {
  1894. eval $1+=\$2
  1895. }'
  1896. else
  1897. as_fn_append ()
  1898. {
  1899. eval $1=\$$1\$2
  1900. }
  1901. fi # as_fn_append
  1902. # as_fn_arith ARG...
  1903. # ------------------
  1904. # Perform arithmetic evaluation on the ARGs, and store the result in the
  1905. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  1906. # must be portable across $(()) and expr.
  1907. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  1908. eval 'as_fn_arith ()
  1909. {
  1910. as_val=$(( $* ))
  1911. }'
  1912. else
  1913. as_fn_arith ()
  1914. {
  1915. as_val=`expr "$@" || test $? -eq 1`
  1916. }
  1917. fi # as_fn_arith
  1918. if expr a : '\(a\)' >/dev/null 2>&1 &&
  1919. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  1920. as_expr=expr
  1921. else
  1922. as_expr=false
  1923. fi
  1924. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  1925. as_basename=basename
  1926. else
  1927. as_basename=false
  1928. fi
  1929. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  1930. as_dirname=dirname
  1931. else
  1932. as_dirname=false
  1933. fi
  1934. as_me=`$as_basename -- "$0" ||
  1935. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  1936. X"$0" : 'X\(//\)$' \| \
  1937. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1938. $as_echo X/"$0" |
  1939. sed '/^.*\/\([^/][^/]*\)\/*$/{
  1940. s//\1/
  1941. q
  1942. }
  1943. /^X\/\(\/\/\)$/{
  1944. s//\1/
  1945. q
  1946. }
  1947. /^X\/\(\/\).*/{
  1948. s//\1/
  1949. q
  1950. }
  1951. s/.*/./; q'`
  1952. # Avoid depending upon Character Ranges.
  1953. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  1954. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  1955. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  1956. as_cr_digits='0123456789'
  1957. as_cr_alnum=$as_cr_Letters$as_cr_digits
  1958. ECHO_C= ECHO_N= ECHO_T=
  1959. case `echo -n x` in #(((((
  1960. -n*)
  1961. case `echo 'xy\c'` in
  1962. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  1963. xy) ECHO_C='\c';;
  1964. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  1965. ECHO_T=' ';;
  1966. esac;;
  1967. *)
  1968. ECHO_N='-n';;
  1969. esac
  1970. rm -f conf$$ conf$$.exe conf$$.file
  1971. if test -d conf$$.dir; then
  1972. rm -f conf$$.dir/conf$$.file
  1973. else
  1974. rm -f conf$$.dir
  1975. mkdir conf$$.dir 2>/dev/null
  1976. fi
  1977. if (echo >conf$$.file) 2>/dev/null; then
  1978. if ln -s conf$$.file conf$$ 2>/dev/null; then
  1979. as_ln_s='ln -s'
  1980. # ... but there are two gotchas:
  1981. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  1982. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  1983. # In both cases, we have to default to `cp -p'.
  1984. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  1985. as_ln_s='cp -p'
  1986. elif ln conf$$.file conf$$ 2>/dev/null; then
  1987. as_ln_s=ln
  1988. else
  1989. as_ln_s='cp -p'
  1990. fi
  1991. else
  1992. as_ln_s='cp -p'
  1993. fi
  1994. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  1995. rmdir conf$$.dir 2>/dev/null
  1996. # as_fn_mkdir_p
  1997. # -------------
  1998. # Create "$as_dir" as a directory, including parents if necessary.
  1999. as_fn_mkdir_p ()
  2000. {
  2001. case $as_dir in #(
  2002. -*) as_dir=./$as_dir;;
  2003. esac
  2004. test -d "$as_dir" || eval $as_mkdir_p || {
  2005. as_dirs=
  2006. while :; do
  2007. case $as_dir in #(
  2008. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  2009. *) as_qdir=$as_dir;;
  2010. esac
  2011. as_dirs="'$as_qdir' $as_dirs"
  2012. as_dir=`$as_dirname -- "$as_dir" ||
  2013. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  2014. X"$as_dir" : 'X\(//\)[^/]' \| \
  2015. X"$as_dir" : 'X\(//\)$' \| \
  2016. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  2017. $as_echo X"$as_dir" |
  2018. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  2019. s//\1/
  2020. q
  2021. }
  2022. /^X\(\/\/\)[^/].*/{
  2023. s//\1/
  2024. q
  2025. }
  2026. /^X\(\/\/\)$/{
  2027. s//\1/
  2028. q
  2029. }
  2030. /^X\(\/\).*/{
  2031. s//\1/
  2032. q
  2033. }
  2034. s/.*/./; q'`
  2035. test -d "$as_dir" && break
  2036. done
  2037. test -z "$as_dirs" || eval "mkdir $as_dirs"
  2038. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  2039. } # as_fn_mkdir_p
  2040. if mkdir -p . 2>/dev/null; then
  2041. as_mkdir_p='mkdir -p "$as_dir"'
  2042. else
  2043. test -d ./-p && rmdir ./-p
  2044. as_mkdir_p=false
  2045. fi
  2046. if test -x / >/dev/null 2>&1; then
  2047. as_test_x='test -x'
  2048. else
  2049. if ls -dL / >/dev/null 2>&1; then
  2050. as_ls_L_option=L
  2051. else
  2052. as_ls_L_option=
  2053. fi
  2054. as_test_x='
  2055. eval sh -c '\''
  2056. if test -d "$1"; then
  2057. test -d "$1/.";
  2058. else
  2059. case $1 in #(
  2060. -*)set "./$1";;
  2061. esac;
  2062. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  2063. ???[sx]*):;;*)false;;esac;fi
  2064. '\'' sh
  2065. '
  2066. fi
  2067. as_executable_p=$as_test_x
  2068. # Sed expression to map a string onto a valid CPP name.
  2069. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  2070. # Sed expression to map a string onto a valid variable name.
  2071. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  2072. exec 6>&1
  2073. ## ----------------------------------- ##
  2074. ## Main body of $CONFIG_STATUS script. ##
  2075. ## ----------------------------------- ##
  2076. _ASEOF
  2077. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  2078. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  2079. # Save the log message, to keep $0 and so on meaningful, and to
  2080. # report actual input values of CONFIG_FILES etc. instead of their
  2081. # values after options handling.
  2082. ac_log="
  2083. This file was extended by $as_me, which was
  2084. generated by GNU Autoconf 2.64. Invocation command line was
  2085. CONFIG_FILES = $CONFIG_FILES
  2086. CONFIG_HEADERS = $CONFIG_HEADERS
  2087. CONFIG_LINKS = $CONFIG_LINKS
  2088. CONFIG_COMMANDS = $CONFIG_COMMANDS
  2089. $ $0 $@
  2090. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  2091. "
  2092. _ACEOF
  2093. case $ac_config_files in *"
  2094. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  2095. esac
  2096. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  2097. # Files that config.status was made for.
  2098. config_files="$ac_config_files"
  2099. _ACEOF
  2100. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  2101. ac_cs_usage="\
  2102. \`$as_me' instantiates files and other configuration actions
  2103. from templates according to the current configuration. Unless the files
  2104. and actions are specified as TAGs, all are instantiated by default.
  2105. Usage: $0 [OPTION]... [TAG]...
  2106. -h, --help print this help, then exit
  2107. -V, --version print version number and configuration settings, then exit
  2108. -q, --quiet, --silent
  2109. do not print progress messages
  2110. -d, --debug don't remove temporary files
  2111. --recheck update $as_me by reconfiguring in the same conditions
  2112. --file=FILE[:TEMPLATE]
  2113. instantiate the configuration file FILE
  2114. Configuration files:
  2115. $config_files
  2116. Report bugs to the package provider."
  2117. _ACEOF
  2118. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  2119. ac_cs_version="\\
  2120. config.status
  2121. configured by $0, generated by GNU Autoconf 2.64,
  2122. with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  2123. Copyright (C) 2009 Free Software Foundation, Inc.
  2124. This config.status script is free software; the Free Software Foundation
  2125. gives unlimited permission to copy, distribute and modify it."
  2126. ac_pwd='$ac_pwd'
  2127. srcdir='$srcdir'
  2128. INSTALL='$INSTALL'
  2129. test -n "\$AWK" || AWK=awk
  2130. _ACEOF
  2131. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  2132. # The default lists apply if the user does not specify any file.
  2133. ac_need_defaults=:
  2134. while test $# != 0
  2135. do
  2136. case $1 in
  2137. --*=*)
  2138. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  2139. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  2140. ac_shift=:
  2141. ;;
  2142. *)
  2143. ac_option=$1
  2144. ac_optarg=$2
  2145. ac_shift=shift
  2146. ;;
  2147. esac
  2148. case $ac_option in
  2149. # Handling of the options.
  2150. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  2151. ac_cs_recheck=: ;;
  2152. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  2153. $as_echo "$ac_cs_version"; exit ;;
  2154. --debug | --debu | --deb | --de | --d | -d )
  2155. debug=: ;;
  2156. --file | --fil | --fi | --f )
  2157. $ac_shift
  2158. case $ac_optarg in
  2159. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2160. esac
  2161. as_fn_append CONFIG_FILES " '$ac_optarg'"
  2162. ac_need_defaults=false;;
  2163. --he | --h | --help | --hel | -h )
  2164. $as_echo "$ac_cs_usage"; exit ;;
  2165. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2166. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  2167. ac_cs_silent=: ;;
  2168. # This is an error.
  2169. -*) as_fn_error "unrecognized option: \`$1'
  2170. Try \`$0 --help' for more information." ;;
  2171. *) as_fn_append ac_config_targets " $1"
  2172. ac_need_defaults=false ;;
  2173. esac
  2174. shift
  2175. done
  2176. ac_configure_extra_args=
  2177. if $ac_cs_silent; then
  2178. exec 6>/dev/null
  2179. ac_configure_extra_args="$ac_configure_extra_args --silent"
  2180. fi
  2181. _ACEOF
  2182. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  2183. if \$ac_cs_recheck; then
  2184. set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  2185. shift
  2186. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  2187. CONFIG_SHELL='$SHELL'
  2188. export CONFIG_SHELL
  2189. exec "\$@"
  2190. fi
  2191. _ACEOF
  2192. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  2193. exec 5>>config.log
  2194. {
  2195. echo
  2196. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  2197. ## Running $as_me. ##
  2198. _ASBOX
  2199. $as_echo "$ac_log"
  2200. } >&5
  2201. _ACEOF
  2202. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  2203. _ACEOF
  2204. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  2205. # Handling of arguments.
  2206. for ac_config_target in $ac_config_targets
  2207. do
  2208. case $ac_config_target in
  2209. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  2210. *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  2211. esac
  2212. done
  2213. # If the user did not use the arguments to specify the items to instantiate,
  2214. # then the envvar interface is used. Set only those that are not.
  2215. # We use the long form for the default assignment because of an extremely
  2216. # bizarre bug on SunOS 4.1.3.
  2217. if $ac_need_defaults; then
  2218. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  2219. fi
  2220. # Have a temporary directory for convenience. Make it in the build tree
  2221. # simply because there is no reason against having it here, and in addition,
  2222. # creating and moving files from /tmp can sometimes cause problems.
  2223. # Hook for its removal unless debugging.
  2224. # Note that there is a small window in which the directory will not be cleaned:
  2225. # after its creation but before its name has been assigned to `$tmp'.
  2226. $debug ||
  2227. {
  2228. tmp=
  2229. trap 'exit_status=$?
  2230. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  2231. ' 0
  2232. trap 'as_fn_exit 1' 1 2 13 15
  2233. }
  2234. # Create a (secure) tmp directory for tmp files.
  2235. {
  2236. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  2237. test -n "$tmp" && test -d "$tmp"
  2238. } ||
  2239. {
  2240. tmp=./conf$$-$RANDOM
  2241. (umask 077 && mkdir "$tmp")
  2242. } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  2243. # Set up the scripts for CONFIG_FILES section.
  2244. # No need to generate them if there are no CONFIG_FILES.
  2245. # This happens for instance with `./config.status config.h'.
  2246. if test -n "$CONFIG_FILES"; then
  2247. ac_cr=`echo X | tr X '\015'`
  2248. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  2249. # But we know of no other shell where ac_cr would be empty at this
  2250. # point, so we can use a bashism as a fallback.
  2251. if test "x$ac_cr" = x; then
  2252. eval ac_cr=\$\'\\r\'
  2253. fi
  2254. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  2255. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  2256. ac_cs_awk_cr='\r'
  2257. else
  2258. ac_cs_awk_cr=$ac_cr
  2259. fi
  2260. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  2261. _ACEOF
  2262. {
  2263. echo "cat >conf$$subs.awk <<_ACEOF" &&
  2264. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  2265. echo "_ACEOF"
  2266. } >conf$$subs.sh ||
  2267. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  2268. ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  2269. ac_delim='%!_!# '
  2270. for ac_last_try in false false false false false :; do
  2271. . ./conf$$subs.sh ||
  2272. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  2273. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  2274. if test $ac_delim_n = $ac_delim_num; then
  2275. break
  2276. elif $ac_last_try; then
  2277. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  2278. else
  2279. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  2280. fi
  2281. done
  2282. rm -f conf$$subs.sh
  2283. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  2284. cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  2285. _ACEOF
  2286. sed -n '
  2287. h
  2288. s/^/S["/; s/!.*/"]=/
  2289. p
  2290. g
  2291. s/^[^!]*!//
  2292. :repl
  2293. t repl
  2294. s/'"$ac_delim"'$//
  2295. t delim
  2296. :nl
  2297. h
  2298. s/\(.\{148\}\).*/\1/
  2299. t more1
  2300. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  2301. p
  2302. n
  2303. b repl
  2304. :more1
  2305. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  2306. p
  2307. g
  2308. s/.\{148\}//
  2309. t nl
  2310. :delim
  2311. h
  2312. s/\(.\{148\}\).*/\1/
  2313. t more2
  2314. s/["\\]/\\&/g; s/^/"/; s/$/"/
  2315. p
  2316. b
  2317. :more2
  2318. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  2319. p
  2320. g
  2321. s/.\{148\}//
  2322. t delim
  2323. ' <conf$$subs.awk | sed '
  2324. /^[^""]/{
  2325. N
  2326. s/\n//
  2327. }
  2328. ' >>$CONFIG_STATUS || ac_write_fail=1
  2329. rm -f conf$$subs.awk
  2330. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  2331. _ACAWK
  2332. cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  2333. for (key in S) S_is_set[key] = 1
  2334. FS = ""
  2335. }
  2336. {
  2337. line = $ 0
  2338. nfields = split(line, field, "@")
  2339. substed = 0
  2340. len = length(field[1])
  2341. for (i = 2; i < nfields; i++) {
  2342. key = field[i]
  2343. keylen = length(key)
  2344. if (S_is_set[key]) {
  2345. value = S[key]
  2346. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  2347. len += length(value) + length(field[++i])
  2348. substed = 1
  2349. } else
  2350. len += 1 + keylen
  2351. }
  2352. print line
  2353. }
  2354. _ACAWK
  2355. _ACEOF
  2356. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  2357. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  2358. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  2359. else
  2360. cat
  2361. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  2362. || as_fn_error "could not setup config files machinery" "$LINENO" 5
  2363. _ACEOF
  2364. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  2365. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  2366. # trailing colons and then remove the whole line if VPATH becomes empty
  2367. # (actually we leave an empty line to preserve line numbers).
  2368. if test "x$srcdir" = x.; then
  2369. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  2370. s/:*\$(srcdir):*/:/
  2371. s/:*\${srcdir}:*/:/
  2372. s/:*@srcdir@:*/:/
  2373. s/^\([^=]*=[ ]*\):*/\1/
  2374. s/:*$//
  2375. s/^[^=]*=[ ]*$//
  2376. }'
  2377. fi
  2378. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  2379. fi # test -n "$CONFIG_FILES"
  2380. eval set X " :F $CONFIG_FILES "
  2381. shift
  2382. for ac_tag
  2383. do
  2384. case $ac_tag in
  2385. :[FHLC]) ac_mode=$ac_tag; continue;;
  2386. esac
  2387. case $ac_mode$ac_tag in
  2388. :[FHL]*:*);;
  2389. :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  2390. :[FH]-) ac_tag=-:-;;
  2391. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  2392. esac
  2393. ac_save_IFS=$IFS
  2394. IFS=:
  2395. set x $ac_tag
  2396. IFS=$ac_save_IFS
  2397. shift
  2398. ac_file=$1
  2399. shift
  2400. case $ac_mode in
  2401. :L) ac_source=$1;;
  2402. :[FH])
  2403. ac_file_inputs=
  2404. for ac_f
  2405. do
  2406. case $ac_f in
  2407. -) ac_f="$tmp/stdin";;
  2408. *) # Look for the file first in the build tree, then in the source tree
  2409. # (if the path is not absolute). The absolute path cannot be DOS-style,
  2410. # because $ac_f cannot contain `:'.
  2411. test -f "$ac_f" ||
  2412. case $ac_f in
  2413. [\\/$]*) false;;
  2414. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  2415. esac ||
  2416. as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  2417. esac
  2418. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  2419. as_fn_append ac_file_inputs " '$ac_f'"
  2420. done
  2421. # Let's still pretend it is `configure' which instantiates (i.e., don't
  2422. # use $as_me), people would be surprised to read:
  2423. # /* config.h. Generated by config.status. */
  2424. configure_input='Generated from '`
  2425. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  2426. `' by configure.'
  2427. if test x"$ac_file" != x-; then
  2428. configure_input="$ac_file. $configure_input"
  2429. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  2430. $as_echo "$as_me: creating $ac_file" >&6;}
  2431. fi
  2432. # Neutralize special characters interpreted by sed in replacement strings.
  2433. case $configure_input in #(
  2434. *\&* | *\|* | *\\* )
  2435. ac_sed_conf_input=`$as_echo "$configure_input" |
  2436. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  2437. *) ac_sed_conf_input=$configure_input;;
  2438. esac
  2439. case $ac_tag in
  2440. *:-:* | *:-) cat >"$tmp/stdin" \
  2441. || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  2442. esac
  2443. ;;
  2444. esac
  2445. ac_dir=`$as_dirname -- "$ac_file" ||
  2446. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  2447. X"$ac_file" : 'X\(//\)[^/]' \| \
  2448. X"$ac_file" : 'X\(//\)$' \| \
  2449. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  2450. $as_echo X"$ac_file" |
  2451. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  2452. s//\1/
  2453. q
  2454. }
  2455. /^X\(\/\/\)[^/].*/{
  2456. s//\1/
  2457. q
  2458. }
  2459. /^X\(\/\/\)$/{
  2460. s//\1/
  2461. q
  2462. }
  2463. /^X\(\/\).*/{
  2464. s//\1/
  2465. q
  2466. }
  2467. s/.*/./; q'`
  2468. as_dir="$ac_dir"; as_fn_mkdir_p
  2469. ac_builddir=.
  2470. case "$ac_dir" in
  2471. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2472. *)
  2473. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  2474. # A ".." for each directory in $ac_dir_suffix.
  2475. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  2476. case $ac_top_builddir_sub in
  2477. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2478. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  2479. esac ;;
  2480. esac
  2481. ac_abs_top_builddir=$ac_pwd
  2482. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  2483. # for backward compatibility:
  2484. ac_top_builddir=$ac_top_build_prefix
  2485. case $srcdir in
  2486. .) # We are building in place.
  2487. ac_srcdir=.
  2488. ac_top_srcdir=$ac_top_builddir_sub
  2489. ac_abs_top_srcdir=$ac_pwd ;;
  2490. [\\/]* | ?:[\\/]* ) # Absolute name.
  2491. ac_srcdir=$srcdir$ac_dir_suffix;
  2492. ac_top_srcdir=$srcdir
  2493. ac_abs_top_srcdir=$srcdir ;;
  2494. *) # Relative name.
  2495. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  2496. ac_top_srcdir=$ac_top_build_prefix$srcdir
  2497. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  2498. esac
  2499. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  2500. case $ac_mode in
  2501. :F)
  2502. #
  2503. # CONFIG_FILE
  2504. #
  2505. case $INSTALL in
  2506. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  2507. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  2508. esac
  2509. _ACEOF
  2510. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  2511. # If the template does not know about datarootdir, expand it.
  2512. # FIXME: This hack should be removed a few years after 2.60.
  2513. ac_datarootdir_hack=; ac_datarootdir_seen=
  2514. ac_sed_dataroot='
  2515. /datarootdir/ {
  2516. p
  2517. q
  2518. }
  2519. /@datadir@/p
  2520. /@docdir@/p
  2521. /@infodir@/p
  2522. /@localedir@/p
  2523. /@mandir@/p'
  2524. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  2525. *datarootdir*) ac_datarootdir_seen=yes;;
  2526. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  2527. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  2528. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  2529. _ACEOF
  2530. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  2531. ac_datarootdir_hack='
  2532. s&@datadir@&$datadir&g
  2533. s&@docdir@&$docdir&g
  2534. s&@infodir@&$infodir&g
  2535. s&@localedir@&$localedir&g
  2536. s&@mandir@&$mandir&g
  2537. s&\\\${datarootdir}&$datarootdir&g' ;;
  2538. esac
  2539. _ACEOF
  2540. # Neutralize VPATH when `$srcdir' = `.'.
  2541. # Shell code in configure.ac might set extrasub.
  2542. # FIXME: do we really want to maintain this feature?
  2543. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  2544. ac_sed_extra="$ac_vpsub
  2545. $extrasub
  2546. _ACEOF
  2547. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  2548. :t
  2549. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  2550. s|@configure_input@|$ac_sed_conf_input|;t t
  2551. s&@top_builddir@&$ac_top_builddir_sub&;t t
  2552. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  2553. s&@srcdir@&$ac_srcdir&;t t
  2554. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  2555. s&@top_srcdir@&$ac_top_srcdir&;t t
  2556. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  2557. s&@builddir@&$ac_builddir&;t t
  2558. s&@abs_builddir@&$ac_abs_builddir&;t t
  2559. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  2560. s&@INSTALL@&$ac_INSTALL&;t t
  2561. $ac_datarootdir_hack
  2562. "
  2563. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  2564. || as_fn_error "could not create $ac_file" "$LINENO" 5
  2565. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  2566. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  2567. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  2568. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  2569. which seems to be undefined. Please make sure it is defined." >&5
  2570. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  2571. which seems to be undefined. Please make sure it is defined." >&2;}
  2572. rm -f "$tmp/stdin"
  2573. case $ac_file in
  2574. -) cat "$tmp/out" && rm -f "$tmp/out";;
  2575. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  2576. esac \
  2577. || as_fn_error "could not create $ac_file" "$LINENO" 5
  2578. ;;
  2579. esac
  2580. done # for ac_tag
  2581. as_fn_exit 0
  2582. _ACEOF
  2583. ac_clean_files=$ac_clean_files_save
  2584. test $ac_write_fail = 0 ||
  2585. as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  2586. # configure is writing to config.log, and then calls config.status.
  2587. # config.status does its own redirection, appending to config.log.
  2588. # Unfortunately, on DOS this fails, as config.log is still kept open
  2589. # by configure, so config.status won't be able to write to it; its
  2590. # output is simply discarded. So we exec the FD to /dev/null,
  2591. # effectively closing config.log, so it can be properly (re)opened and
  2592. # appended to by config.status. When coming back to configure, we
  2593. # need to make the FD available again.
  2594. if test "$no_create" != yes; then
  2595. ac_cs_success=:
  2596. ac_config_status_args=
  2597. test "$silent" = yes &&
  2598. ac_config_status_args="$ac_config_status_args --quiet"
  2599. exec 5>/dev/null
  2600. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  2601. exec 5>>config.log
  2602. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  2603. # would make configure fail if this is the last instruction.
  2604. $ac_cs_success || as_fn_exit $?
  2605. fi
  2606. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  2607. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  2608. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  2609. fi