configure 118 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187
  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. have_getipinfo
  509. default_gnatlib_target
  510. LN_S
  511. AWK
  512. PICFLAG
  513. enable_shared
  514. OBJEXT
  515. EXEEXT
  516. ac_ct_CC
  517. CPPFLAGS
  518. LDFLAGS
  519. CFLAGS
  520. CC
  521. toolexeclibdir
  522. toolexecdir
  523. multi_basedir
  524. MAINT
  525. target_subdir
  526. host_subdir
  527. build_subdir
  528. build_libsubdir
  529. target_noncanonical
  530. target_os
  531. target_vendor
  532. target_cpu
  533. target
  534. host_os
  535. host_vendor
  536. host_cpu
  537. host
  538. build_os
  539. build_vendor
  540. build_cpu
  541. build
  542. target_alias
  543. host_alias
  544. build_alias
  545. LIBS
  546. ECHO_T
  547. ECHO_N
  548. ECHO_C
  549. DEFS
  550. mandir
  551. localedir
  552. libdir
  553. psdir
  554. pdfdir
  555. dvidir
  556. htmldir
  557. infodir
  558. docdir
  559. oldincludedir
  560. includedir
  561. localstatedir
  562. sharedstatedir
  563. sysconfdir
  564. datadir
  565. datarootdir
  566. libexecdir
  567. sbindir
  568. bindir
  569. program_transform_name
  570. prefix
  571. exec_prefix
  572. PACKAGE_URL
  573. PACKAGE_BUGREPORT
  574. PACKAGE_STRING
  575. PACKAGE_VERSION
  576. PACKAGE_TARNAME
  577. PACKAGE_NAME
  578. PATH_SEPARATOR
  579. SHELL'
  580. ac_subst_files=''
  581. ac_user_opts='
  582. enable_option_checking
  583. with_build_libsubdir
  584. enable_maintainer_mode
  585. enable_multilib
  586. enable_shared
  587. with_system_libunwind
  588. '
  589. ac_precious_vars='build_alias
  590. host_alias
  591. target_alias'
  592. # Initialize some variables set by options.
  593. ac_init_help=
  594. ac_init_version=false
  595. ac_unrecognized_opts=
  596. ac_unrecognized_sep=
  597. # The variables have the same names as the options, with
  598. # dashes changed to underlines.
  599. cache_file=/dev/null
  600. exec_prefix=NONE
  601. no_create=
  602. no_recursion=
  603. prefix=NONE
  604. program_prefix=NONE
  605. program_suffix=NONE
  606. program_transform_name=s,x,x,
  607. silent=
  608. site=
  609. srcdir=
  610. verbose=
  611. x_includes=NONE
  612. x_libraries=NONE
  613. # Installation directory options.
  614. # These are left unexpanded so users can "make install exec_prefix=/foo"
  615. # and all the variables that are supposed to be based on exec_prefix
  616. # by default will actually change.
  617. # Use braces instead of parens because sh, perl, etc. also accept them.
  618. # (The list follows the same order as the GNU Coding Standards.)
  619. bindir='${exec_prefix}/bin'
  620. sbindir='${exec_prefix}/sbin'
  621. libexecdir='${exec_prefix}/libexec'
  622. datarootdir='${prefix}/share'
  623. datadir='${datarootdir}'
  624. sysconfdir='${prefix}/etc'
  625. sharedstatedir='${prefix}/com'
  626. localstatedir='${prefix}/var'
  627. includedir='${prefix}/include'
  628. oldincludedir='/usr/include'
  629. docdir='${datarootdir}/doc/${PACKAGE}'
  630. infodir='${datarootdir}/info'
  631. htmldir='${docdir}'
  632. dvidir='${docdir}'
  633. pdfdir='${docdir}'
  634. psdir='${docdir}'
  635. libdir='${exec_prefix}/lib'
  636. localedir='${datarootdir}/locale'
  637. mandir='${datarootdir}/man'
  638. ac_prev=
  639. ac_dashdash=
  640. for ac_option
  641. do
  642. # If the previous option needs an argument, assign it.
  643. if test -n "$ac_prev"; then
  644. eval $ac_prev=\$ac_option
  645. ac_prev=
  646. continue
  647. fi
  648. case $ac_option in
  649. *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  650. *) ac_optarg=yes ;;
  651. esac
  652. # Accept the important Cygnus configure options, so we can diagnose typos.
  653. case $ac_dashdash$ac_option in
  654. --)
  655. ac_dashdash=yes ;;
  656. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  657. ac_prev=bindir ;;
  658. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  659. bindir=$ac_optarg ;;
  660. -build | --build | --buil | --bui | --bu)
  661. ac_prev=build_alias ;;
  662. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  663. build_alias=$ac_optarg ;;
  664. -cache-file | --cache-file | --cache-fil | --cache-fi \
  665. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  666. ac_prev=cache_file ;;
  667. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  668. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  669. cache_file=$ac_optarg ;;
  670. --config-cache | -C)
  671. cache_file=config.cache ;;
  672. -datadir | --datadir | --datadi | --datad)
  673. ac_prev=datadir ;;
  674. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  675. datadir=$ac_optarg ;;
  676. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  677. | --dataroo | --dataro | --datar)
  678. ac_prev=datarootdir ;;
  679. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  680. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  681. datarootdir=$ac_optarg ;;
  682. -disable-* | --disable-*)
  683. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  684. # Reject names that are not valid shell variable names.
  685. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  686. as_fn_error "invalid feature name: $ac_useropt"
  687. ac_useropt_orig=$ac_useropt
  688. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  689. case $ac_user_opts in
  690. *"
  691. "enable_$ac_useropt"
  692. "*) ;;
  693. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  694. ac_unrecognized_sep=', ';;
  695. esac
  696. eval enable_$ac_useropt=no ;;
  697. -docdir | --docdir | --docdi | --doc | --do)
  698. ac_prev=docdir ;;
  699. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  700. docdir=$ac_optarg ;;
  701. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  702. ac_prev=dvidir ;;
  703. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  704. dvidir=$ac_optarg ;;
  705. -enable-* | --enable-*)
  706. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  707. # Reject names that are not valid shell variable names.
  708. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  709. as_fn_error "invalid feature name: $ac_useropt"
  710. ac_useropt_orig=$ac_useropt
  711. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  712. case $ac_user_opts in
  713. *"
  714. "enable_$ac_useropt"
  715. "*) ;;
  716. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  717. ac_unrecognized_sep=', ';;
  718. esac
  719. eval enable_$ac_useropt=\$ac_optarg ;;
  720. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  721. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  722. | --exec | --exe | --ex)
  723. ac_prev=exec_prefix ;;
  724. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  725. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  726. | --exec=* | --exe=* | --ex=*)
  727. exec_prefix=$ac_optarg ;;
  728. -gas | --gas | --ga | --g)
  729. # Obsolete; use --with-gas.
  730. with_gas=yes ;;
  731. -help | --help | --hel | --he | -h)
  732. ac_init_help=long ;;
  733. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  734. ac_init_help=recursive ;;
  735. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  736. ac_init_help=short ;;
  737. -host | --host | --hos | --ho)
  738. ac_prev=host_alias ;;
  739. -host=* | --host=* | --hos=* | --ho=*)
  740. host_alias=$ac_optarg ;;
  741. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  742. ac_prev=htmldir ;;
  743. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  744. | --ht=*)
  745. htmldir=$ac_optarg ;;
  746. -includedir | --includedir | --includedi | --included | --include \
  747. | --includ | --inclu | --incl | --inc)
  748. ac_prev=includedir ;;
  749. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  750. | --includ=* | --inclu=* | --incl=* | --inc=*)
  751. includedir=$ac_optarg ;;
  752. -infodir | --infodir | --infodi | --infod | --info | --inf)
  753. ac_prev=infodir ;;
  754. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  755. infodir=$ac_optarg ;;
  756. -libdir | --libdir | --libdi | --libd)
  757. ac_prev=libdir ;;
  758. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  759. libdir=$ac_optarg ;;
  760. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  761. | --libexe | --libex | --libe)
  762. ac_prev=libexecdir ;;
  763. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  764. | --libexe=* | --libex=* | --libe=*)
  765. libexecdir=$ac_optarg ;;
  766. -localedir | --localedir | --localedi | --localed | --locale)
  767. ac_prev=localedir ;;
  768. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  769. localedir=$ac_optarg ;;
  770. -localstatedir | --localstatedir | --localstatedi | --localstated \
  771. | --localstate | --localstat | --localsta | --localst | --locals)
  772. ac_prev=localstatedir ;;
  773. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  774. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  775. localstatedir=$ac_optarg ;;
  776. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  777. ac_prev=mandir ;;
  778. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  779. mandir=$ac_optarg ;;
  780. -nfp | --nfp | --nf)
  781. # Obsolete; use --without-fp.
  782. with_fp=no ;;
  783. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  784. | --no-cr | --no-c | -n)
  785. no_create=yes ;;
  786. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  787. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  788. no_recursion=yes ;;
  789. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  790. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  791. | --oldin | --oldi | --old | --ol | --o)
  792. ac_prev=oldincludedir ;;
  793. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  794. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  795. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  796. oldincludedir=$ac_optarg ;;
  797. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  798. ac_prev=prefix ;;
  799. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  800. prefix=$ac_optarg ;;
  801. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  802. | --program-pre | --program-pr | --program-p)
  803. ac_prev=program_prefix ;;
  804. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  805. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  806. program_prefix=$ac_optarg ;;
  807. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  808. | --program-suf | --program-su | --program-s)
  809. ac_prev=program_suffix ;;
  810. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  811. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  812. program_suffix=$ac_optarg ;;
  813. -program-transform-name | --program-transform-name \
  814. | --program-transform-nam | --program-transform-na \
  815. | --program-transform-n | --program-transform- \
  816. | --program-transform | --program-transfor \
  817. | --program-transfo | --program-transf \
  818. | --program-trans | --program-tran \
  819. | --progr-tra | --program-tr | --program-t)
  820. ac_prev=program_transform_name ;;
  821. -program-transform-name=* | --program-transform-name=* \
  822. | --program-transform-nam=* | --program-transform-na=* \
  823. | --program-transform-n=* | --program-transform-=* \
  824. | --program-transform=* | --program-transfor=* \
  825. | --program-transfo=* | --program-transf=* \
  826. | --program-trans=* | --program-tran=* \
  827. | --progr-tra=* | --program-tr=* | --program-t=*)
  828. program_transform_name=$ac_optarg ;;
  829. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  830. ac_prev=pdfdir ;;
  831. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  832. pdfdir=$ac_optarg ;;
  833. -psdir | --psdir | --psdi | --psd | --ps)
  834. ac_prev=psdir ;;
  835. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  836. psdir=$ac_optarg ;;
  837. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  838. | -silent | --silent | --silen | --sile | --sil)
  839. silent=yes ;;
  840. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  841. ac_prev=sbindir ;;
  842. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  843. | --sbi=* | --sb=*)
  844. sbindir=$ac_optarg ;;
  845. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  846. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  847. | --sharedst | --shareds | --shared | --share | --shar \
  848. | --sha | --sh)
  849. ac_prev=sharedstatedir ;;
  850. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  851. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  852. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  853. | --sha=* | --sh=*)
  854. sharedstatedir=$ac_optarg ;;
  855. -site | --site | --sit)
  856. ac_prev=site ;;
  857. -site=* | --site=* | --sit=*)
  858. site=$ac_optarg ;;
  859. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  860. ac_prev=srcdir ;;
  861. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  862. srcdir=$ac_optarg ;;
  863. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  864. | --syscon | --sysco | --sysc | --sys | --sy)
  865. ac_prev=sysconfdir ;;
  866. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  867. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  868. sysconfdir=$ac_optarg ;;
  869. -target | --target | --targe | --targ | --tar | --ta | --t)
  870. ac_prev=target_alias ;;
  871. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  872. target_alias=$ac_optarg ;;
  873. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  874. verbose=yes ;;
  875. -version | --version | --versio | --versi | --vers | -V)
  876. ac_init_version=: ;;
  877. -with-* | --with-*)
  878. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  879. # Reject names that are not valid shell variable names.
  880. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  881. as_fn_error "invalid package name: $ac_useropt"
  882. ac_useropt_orig=$ac_useropt
  883. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  884. case $ac_user_opts in
  885. *"
  886. "with_$ac_useropt"
  887. "*) ;;
  888. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  889. ac_unrecognized_sep=', ';;
  890. esac
  891. eval with_$ac_useropt=\$ac_optarg ;;
  892. -without-* | --without-*)
  893. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  894. # Reject names that are not valid shell variable names.
  895. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  896. as_fn_error "invalid package name: $ac_useropt"
  897. ac_useropt_orig=$ac_useropt
  898. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  899. case $ac_user_opts in
  900. *"
  901. "with_$ac_useropt"
  902. "*) ;;
  903. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  904. ac_unrecognized_sep=', ';;
  905. esac
  906. eval with_$ac_useropt=no ;;
  907. --x)
  908. # Obsolete; use --with-x.
  909. with_x=yes ;;
  910. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  911. | --x-incl | --x-inc | --x-in | --x-i)
  912. ac_prev=x_includes ;;
  913. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  914. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  915. x_includes=$ac_optarg ;;
  916. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  917. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  918. ac_prev=x_libraries ;;
  919. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  920. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  921. x_libraries=$ac_optarg ;;
  922. -*) as_fn_error "unrecognized option: \`$ac_option'
  923. Try \`$0 --help' for more information."
  924. ;;
  925. *=*)
  926. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  927. # Reject names that are not valid shell variable names.
  928. case $ac_envvar in #(
  929. '' | [0-9]* | *[!_$as_cr_alnum]* )
  930. as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  931. esac
  932. eval $ac_envvar=\$ac_optarg
  933. export $ac_envvar ;;
  934. *)
  935. # FIXME: should be removed in autoconf 3.0.
  936. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  937. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  938. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  939. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  940. ;;
  941. esac
  942. done
  943. if test -n "$ac_prev"; then
  944. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  945. as_fn_error "missing argument to $ac_option"
  946. fi
  947. if test -n "$ac_unrecognized_opts"; then
  948. case $enable_option_checking in
  949. no) ;;
  950. fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  951. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  952. esac
  953. fi
  954. # Check all directory arguments for consistency.
  955. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  956. datadir sysconfdir sharedstatedir localstatedir includedir \
  957. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  958. libdir localedir mandir
  959. do
  960. eval ac_val=\$$ac_var
  961. # Remove trailing slashes.
  962. case $ac_val in
  963. */ )
  964. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  965. eval $ac_var=\$ac_val;;
  966. esac
  967. # Be sure to have absolute directory names.
  968. case $ac_val in
  969. [\\/$]* | ?:[\\/]* ) continue;;
  970. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  971. esac
  972. as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  973. done
  974. # There might be people who depend on the old broken behavior: `$host'
  975. # used to hold the argument of --host etc.
  976. # FIXME: To remove some day.
  977. build=$build_alias
  978. host=$host_alias
  979. target=$target_alias
  980. # FIXME: To remove some day.
  981. if test "x$host_alias" != x; then
  982. if test "x$build_alias" = x; then
  983. cross_compiling=maybe
  984. $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  985. If a cross compiler is detected then cross compile mode will be used." >&2
  986. elif test "x$build_alias" != "x$host_alias"; then
  987. cross_compiling=yes
  988. fi
  989. fi
  990. ac_tool_prefix=
  991. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  992. test "$silent" = yes && exec 6>/dev/null
  993. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  994. ac_ls_di=`ls -di .` &&
  995. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  996. as_fn_error "working directory cannot be determined"
  997. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  998. as_fn_error "pwd does not report name of working directory"
  999. # Find the source files, if location was not specified.
  1000. if test -z "$srcdir"; then
  1001. ac_srcdir_defaulted=yes
  1002. # Try the directory containing this script, then the parent directory.
  1003. ac_confdir=`$as_dirname -- "$as_myself" ||
  1004. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1005. X"$as_myself" : 'X\(//\)[^/]' \| \
  1006. X"$as_myself" : 'X\(//\)$' \| \
  1007. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1008. $as_echo X"$as_myself" |
  1009. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1010. s//\1/
  1011. q
  1012. }
  1013. /^X\(\/\/\)[^/].*/{
  1014. s//\1/
  1015. q
  1016. }
  1017. /^X\(\/\/\)$/{
  1018. s//\1/
  1019. q
  1020. }
  1021. /^X\(\/\).*/{
  1022. s//\1/
  1023. q
  1024. }
  1025. s/.*/./; q'`
  1026. srcdir=$ac_confdir
  1027. if test ! -r "$srcdir/$ac_unique_file"; then
  1028. srcdir=..
  1029. fi
  1030. else
  1031. ac_srcdir_defaulted=no
  1032. fi
  1033. if test ! -r "$srcdir/$ac_unique_file"; then
  1034. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1035. as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  1036. fi
  1037. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1038. ac_abs_confdir=`(
  1039. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  1040. pwd)`
  1041. # When building in place, set srcdir=.
  1042. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1043. srcdir=.
  1044. fi
  1045. # Remove unnecessary trailing slashes from srcdir.
  1046. # Double slashes in file names in object file debugging info
  1047. # mess up M-x gdb in Emacs.
  1048. case $srcdir in
  1049. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1050. esac
  1051. for ac_var in $ac_precious_vars; do
  1052. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1053. eval ac_env_${ac_var}_value=\$${ac_var}
  1054. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1055. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1056. done
  1057. #
  1058. # Report the --help message.
  1059. #
  1060. if test "$ac_init_help" = "long"; then
  1061. # Omit some internal or obsolete options to make the list less imposing.
  1062. # This message is too long to be a string in the A/UX 3.1 sh.
  1063. cat <<_ACEOF
  1064. \`configure' configures this package to adapt to many kinds of systems.
  1065. Usage: $0 [OPTION]... [VAR=VALUE]...
  1066. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1067. VAR=VALUE. See below for descriptions of some of the useful variables.
  1068. Defaults for the options are specified in brackets.
  1069. Configuration:
  1070. -h, --help display this help and exit
  1071. --help=short display options specific to this package
  1072. --help=recursive display the short help of all the included packages
  1073. -V, --version display version information and exit
  1074. -q, --quiet, --silent do not print \`checking...' messages
  1075. --cache-file=FILE cache test results in FILE [disabled]
  1076. -C, --config-cache alias for \`--cache-file=config.cache'
  1077. -n, --no-create do not create output files
  1078. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1079. Installation directories:
  1080. --prefix=PREFIX install architecture-independent files in PREFIX
  1081. [$ac_default_prefix]
  1082. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1083. [PREFIX]
  1084. By default, \`make install' will install all the files in
  1085. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1086. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1087. for instance \`--prefix=\$HOME'.
  1088. For better control, use the options below.
  1089. Fine tuning of the installation directories:
  1090. --bindir=DIR user executables [EPREFIX/bin]
  1091. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1092. --libexecdir=DIR program executables [EPREFIX/libexec]
  1093. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1094. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1095. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1096. --libdir=DIR object code libraries [EPREFIX/lib]
  1097. --includedir=DIR C header files [PREFIX/include]
  1098. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1099. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1100. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1101. --infodir=DIR info documentation [DATAROOTDIR/info]
  1102. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1103. --mandir=DIR man documentation [DATAROOTDIR/man]
  1104. --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  1105. --htmldir=DIR html documentation [DOCDIR]
  1106. --dvidir=DIR dvi documentation [DOCDIR]
  1107. --pdfdir=DIR pdf documentation [DOCDIR]
  1108. --psdir=DIR ps documentation [DOCDIR]
  1109. _ACEOF
  1110. cat <<\_ACEOF
  1111. System types:
  1112. --build=BUILD configure for building on BUILD [guessed]
  1113. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1114. --target=TARGET configure for building compilers for TARGET [HOST]
  1115. _ACEOF
  1116. fi
  1117. if test -n "$ac_init_help"; then
  1118. cat <<\_ACEOF
  1119. Optional Features:
  1120. --disable-option-checking ignore unrecognized --enable/--with options
  1121. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1122. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1123. --enable-maintainer-mode
  1124. enable make rules and dependencies not useful (and
  1125. sometimes confusing) to the casual installer
  1126. --enable-multilib build many library versions (default)
  1127. --disable-shared don't provide a shared libgnat
  1128. Optional Packages:
  1129. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1130. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1131. --with-build-libsubdir=DIR Directory where to find libraries for build system
  1132. --with-system-libunwind use installed libunwind
  1133. Some influential environment variables:
  1134. CC C compiler command
  1135. CFLAGS C compiler flags
  1136. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1137. nonstandard directory <lib dir>
  1138. LIBS libraries to pass to the linker, e.g. -l<library>
  1139. CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1140. you have headers in a nonstandard directory <include dir>
  1141. Use these variables to override the choices made by `configure' or to help
  1142. it to find libraries and programs with nonstandard names/locations.
  1143. Report bugs to the package provider.
  1144. _ACEOF
  1145. ac_status=$?
  1146. fi
  1147. if test "$ac_init_help" = "recursive"; then
  1148. # If there are subdirs, report their specific --help.
  1149. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1150. test -d "$ac_dir" ||
  1151. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1152. continue
  1153. ac_builddir=.
  1154. case "$ac_dir" in
  1155. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1156. *)
  1157. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1158. # A ".." for each directory in $ac_dir_suffix.
  1159. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1160. case $ac_top_builddir_sub in
  1161. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1162. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1163. esac ;;
  1164. esac
  1165. ac_abs_top_builddir=$ac_pwd
  1166. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1167. # for backward compatibility:
  1168. ac_top_builddir=$ac_top_build_prefix
  1169. case $srcdir in
  1170. .) # We are building in place.
  1171. ac_srcdir=.
  1172. ac_top_srcdir=$ac_top_builddir_sub
  1173. ac_abs_top_srcdir=$ac_pwd ;;
  1174. [\\/]* | ?:[\\/]* ) # Absolute name.
  1175. ac_srcdir=$srcdir$ac_dir_suffix;
  1176. ac_top_srcdir=$srcdir
  1177. ac_abs_top_srcdir=$srcdir ;;
  1178. *) # Relative name.
  1179. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1180. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1181. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1182. esac
  1183. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1184. cd "$ac_dir" || { ac_status=$?; continue; }
  1185. # Check for guested configure.
  1186. if test -f "$ac_srcdir/configure.gnu"; then
  1187. echo &&
  1188. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1189. elif test -f "$ac_srcdir/configure"; then
  1190. echo &&
  1191. $SHELL "$ac_srcdir/configure" --help=recursive
  1192. else
  1193. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1194. fi || ac_status=$?
  1195. cd "$ac_pwd" || { ac_status=$?; break; }
  1196. done
  1197. fi
  1198. test -n "$ac_init_help" && exit $ac_status
  1199. if $ac_init_version; then
  1200. cat <<\_ACEOF
  1201. configure
  1202. generated by GNU Autoconf 2.64
  1203. Copyright (C) 2009 Free Software Foundation, Inc.
  1204. This configure script is free software; the Free Software Foundation
  1205. gives unlimited permission to copy, distribute and modify it.
  1206. _ACEOF
  1207. exit
  1208. fi
  1209. ## ------------------------ ##
  1210. ## Autoconf initialization. ##
  1211. ## ------------------------ ##
  1212. # ac_fn_c_try_compile LINENO
  1213. # --------------------------
  1214. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1215. ac_fn_c_try_compile ()
  1216. {
  1217. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1218. rm -f conftest.$ac_objext
  1219. if { { ac_try="$ac_compile"
  1220. case "(($ac_try" in
  1221. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1222. *) ac_try_echo=$ac_try;;
  1223. esac
  1224. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1225. $as_echo "$ac_try_echo"; } >&5
  1226. (eval "$ac_compile") 2>conftest.err
  1227. ac_status=$?
  1228. if test -s conftest.err; then
  1229. grep -v '^ *+' conftest.err >conftest.er1
  1230. cat conftest.er1 >&5
  1231. mv -f conftest.er1 conftest.err
  1232. fi
  1233. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1234. test $ac_status = 0; } && {
  1235. test -z "$ac_c_werror_flag" ||
  1236. test ! -s conftest.err
  1237. } && test -s conftest.$ac_objext; then :
  1238. ac_retval=0
  1239. else
  1240. $as_echo "$as_me: failed program was:" >&5
  1241. sed 's/^/| /' conftest.$ac_ext >&5
  1242. ac_retval=1
  1243. fi
  1244. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1245. return $ac_retval
  1246. } # ac_fn_c_try_compile
  1247. cat >config.log <<_ACEOF
  1248. This file contains any messages produced by compilers while
  1249. running configure, to aid debugging if configure makes a mistake.
  1250. It was created by $as_me, which was
  1251. generated by GNU Autoconf 2.64. Invocation command line was
  1252. $ $0 $@
  1253. _ACEOF
  1254. exec 5>>config.log
  1255. {
  1256. cat <<_ASUNAME
  1257. ## --------- ##
  1258. ## Platform. ##
  1259. ## --------- ##
  1260. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1261. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1262. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1263. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1264. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1265. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1266. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1267. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1268. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1269. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1270. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1271. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1272. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1273. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1274. _ASUNAME
  1275. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1276. for as_dir in $PATH
  1277. do
  1278. IFS=$as_save_IFS
  1279. test -z "$as_dir" && as_dir=.
  1280. $as_echo "PATH: $as_dir"
  1281. done
  1282. IFS=$as_save_IFS
  1283. } >&5
  1284. cat >&5 <<_ACEOF
  1285. ## ----------- ##
  1286. ## Core tests. ##
  1287. ## ----------- ##
  1288. _ACEOF
  1289. # Keep a trace of the command line.
  1290. # Strip out --no-create and --no-recursion so they do not pile up.
  1291. # Strip out --silent because we don't want to record it for future runs.
  1292. # Also quote any args containing shell meta-characters.
  1293. # Make two passes to allow for proper duplicate-argument suppression.
  1294. ac_configure_args=
  1295. ac_configure_args0=
  1296. ac_configure_args1=
  1297. ac_must_keep_next=false
  1298. for ac_pass in 1 2
  1299. do
  1300. for ac_arg
  1301. do
  1302. case $ac_arg in
  1303. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1304. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1305. | -silent | --silent | --silen | --sile | --sil)
  1306. continue ;;
  1307. *\'*)
  1308. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1309. esac
  1310. case $ac_pass in
  1311. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1312. 2)
  1313. as_fn_append ac_configure_args1 " '$ac_arg'"
  1314. if test $ac_must_keep_next = true; then
  1315. ac_must_keep_next=false # Got value, back to normal.
  1316. else
  1317. case $ac_arg in
  1318. *=* | --config-cache | -C | -disable-* | --disable-* \
  1319. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1320. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1321. | -with-* | --with-* | -without-* | --without-* | --x)
  1322. case "$ac_configure_args0 " in
  1323. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1324. esac
  1325. ;;
  1326. -* ) ac_must_keep_next=true ;;
  1327. esac
  1328. fi
  1329. as_fn_append ac_configure_args " '$ac_arg'"
  1330. ;;
  1331. esac
  1332. done
  1333. done
  1334. { ac_configure_args0=; unset ac_configure_args0;}
  1335. { ac_configure_args1=; unset ac_configure_args1;}
  1336. # When interrupted or exit'd, cleanup temporary files, and complete
  1337. # config.log. We remove comments because anyway the quotes in there
  1338. # would cause problems or look ugly.
  1339. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1340. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1341. trap 'exit_status=$?
  1342. # Save into config.log some information that might help in debugging.
  1343. {
  1344. echo
  1345. cat <<\_ASBOX
  1346. ## ---------------- ##
  1347. ## Cache variables. ##
  1348. ## ---------------- ##
  1349. _ASBOX
  1350. echo
  1351. # The following way of writing the cache mishandles newlines in values,
  1352. (
  1353. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1354. eval ac_val=\$$ac_var
  1355. case $ac_val in #(
  1356. *${as_nl}*)
  1357. case $ac_var in #(
  1358. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1359. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1360. esac
  1361. case $ac_var in #(
  1362. _ | IFS | as_nl) ;; #(
  1363. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1364. *) { eval $ac_var=; unset $ac_var;} ;;
  1365. esac ;;
  1366. esac
  1367. done
  1368. (set) 2>&1 |
  1369. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1370. *${as_nl}ac_space=\ *)
  1371. sed -n \
  1372. "s/'\''/'\''\\\\'\'''\''/g;
  1373. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1374. ;; #(
  1375. *)
  1376. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1377. ;;
  1378. esac |
  1379. sort
  1380. )
  1381. echo
  1382. cat <<\_ASBOX
  1383. ## ----------------- ##
  1384. ## Output variables. ##
  1385. ## ----------------- ##
  1386. _ASBOX
  1387. echo
  1388. for ac_var in $ac_subst_vars
  1389. do
  1390. eval ac_val=\$$ac_var
  1391. case $ac_val in
  1392. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1393. esac
  1394. $as_echo "$ac_var='\''$ac_val'\''"
  1395. done | sort
  1396. echo
  1397. if test -n "$ac_subst_files"; then
  1398. cat <<\_ASBOX
  1399. ## ------------------- ##
  1400. ## File substitutions. ##
  1401. ## ------------------- ##
  1402. _ASBOX
  1403. echo
  1404. for ac_var in $ac_subst_files
  1405. do
  1406. eval ac_val=\$$ac_var
  1407. case $ac_val in
  1408. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1409. esac
  1410. $as_echo "$ac_var='\''$ac_val'\''"
  1411. done | sort
  1412. echo
  1413. fi
  1414. if test -s confdefs.h; then
  1415. cat <<\_ASBOX
  1416. ## ----------- ##
  1417. ## confdefs.h. ##
  1418. ## ----------- ##
  1419. _ASBOX
  1420. echo
  1421. cat confdefs.h
  1422. echo
  1423. fi
  1424. test "$ac_signal" != 0 &&
  1425. $as_echo "$as_me: caught signal $ac_signal"
  1426. $as_echo "$as_me: exit $exit_status"
  1427. } >&5
  1428. rm -f core *.core core.conftest.* &&
  1429. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1430. exit $exit_status
  1431. ' 0
  1432. for ac_signal in 1 2 13 15; do
  1433. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1434. done
  1435. ac_signal=0
  1436. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1437. rm -f -r conftest* confdefs.h
  1438. $as_echo "/* confdefs.h */" > confdefs.h
  1439. # Predefined preprocessor variables.
  1440. cat >>confdefs.h <<_ACEOF
  1441. #define PACKAGE_NAME "$PACKAGE_NAME"
  1442. _ACEOF
  1443. cat >>confdefs.h <<_ACEOF
  1444. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1445. _ACEOF
  1446. cat >>confdefs.h <<_ACEOF
  1447. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1448. _ACEOF
  1449. cat >>confdefs.h <<_ACEOF
  1450. #define PACKAGE_STRING "$PACKAGE_STRING"
  1451. _ACEOF
  1452. cat >>confdefs.h <<_ACEOF
  1453. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1454. _ACEOF
  1455. cat >>confdefs.h <<_ACEOF
  1456. #define PACKAGE_URL "$PACKAGE_URL"
  1457. _ACEOF
  1458. # Let the site file select an alternate cache file if it wants to.
  1459. # Prefer an explicitly selected file to automatically selected ones.
  1460. ac_site_file1=NONE
  1461. ac_site_file2=NONE
  1462. if test -n "$CONFIG_SITE"; then
  1463. ac_site_file1=$CONFIG_SITE
  1464. elif test "x$prefix" != xNONE; then
  1465. ac_site_file1=$prefix/share/config.site
  1466. ac_site_file2=$prefix/etc/config.site
  1467. else
  1468. ac_site_file1=$ac_default_prefix/share/config.site
  1469. ac_site_file2=$ac_default_prefix/etc/config.site
  1470. fi
  1471. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1472. do
  1473. test "x$ac_site_file" = xNONE && continue
  1474. if test -r "$ac_site_file"; then
  1475. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1476. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1477. sed 's/^/| /' "$ac_site_file" >&5
  1478. . "$ac_site_file"
  1479. fi
  1480. done
  1481. if test -r "$cache_file"; then
  1482. # Some versions of bash will fail to source /dev/null (special
  1483. # files actually), so we avoid doing that.
  1484. if test -f "$cache_file"; then
  1485. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1486. $as_echo "$as_me: loading cache $cache_file" >&6;}
  1487. case $cache_file in
  1488. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1489. *) . "./$cache_file";;
  1490. esac
  1491. fi
  1492. else
  1493. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1494. $as_echo "$as_me: creating cache $cache_file" >&6;}
  1495. >$cache_file
  1496. fi
  1497. # Check that the precious variables saved in the cache have kept the same
  1498. # value.
  1499. ac_cache_corrupted=false
  1500. for ac_var in $ac_precious_vars; do
  1501. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1502. eval ac_new_set=\$ac_env_${ac_var}_set
  1503. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1504. eval ac_new_val=\$ac_env_${ac_var}_value
  1505. case $ac_old_set,$ac_new_set in
  1506. set,)
  1507. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1508. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1509. ac_cache_corrupted=: ;;
  1510. ,set)
  1511. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  1512. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1513. ac_cache_corrupted=: ;;
  1514. ,);;
  1515. *)
  1516. if test "x$ac_old_val" != "x$ac_new_val"; then
  1517. # differences in whitespace do not lead to failure.
  1518. ac_old_val_w=`echo x $ac_old_val`
  1519. ac_new_val_w=`echo x $ac_new_val`
  1520. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1521. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  1522. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1523. ac_cache_corrupted=:
  1524. else
  1525. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1526. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1527. eval $ac_var=\$ac_old_val
  1528. fi
  1529. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  1530. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  1531. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  1532. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  1533. fi;;
  1534. esac
  1535. # Pass precious variables to config.status.
  1536. if test "$ac_new_set" = set; then
  1537. case $ac_new_val in
  1538. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1539. *) ac_arg=$ac_var=$ac_new_val ;;
  1540. esac
  1541. case " $ac_configure_args " in
  1542. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1543. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  1544. esac
  1545. fi
  1546. done
  1547. if $ac_cache_corrupted; then
  1548. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1549. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1550. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  1551. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1552. as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  1553. fi
  1554. ## -------------------- ##
  1555. ## Main body of script. ##
  1556. ## -------------------- ##
  1557. ac_ext=c
  1558. ac_cpp='$CPP $CPPFLAGS'
  1559. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1560. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1561. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1562. # Determine the host, build, and target systems
  1563. ac_aux_dir=
  1564. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1565. for ac_t in install-sh install.sh shtool; do
  1566. if test -f "$ac_dir/$ac_t"; then
  1567. ac_aux_dir=$ac_dir
  1568. ac_install_sh="$ac_aux_dir/$ac_t -c"
  1569. break 2
  1570. fi
  1571. done
  1572. done
  1573. if test -z "$ac_aux_dir"; then
  1574. as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  1575. fi
  1576. # These three variables are undocumented and unsupported,
  1577. # and are intended to be withdrawn in a future Autoconf release.
  1578. # They can cause serious problems if a builder's source tree is in a directory
  1579. # whose full name contains unusual characters.
  1580. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  1581. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  1582. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  1583. # Make sure we can run config.sub.
  1584. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  1585. as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  1586. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  1587. $as_echo_n "checking build system type... " >&6; }
  1588. if test "${ac_cv_build+set}" = set; then :
  1589. $as_echo_n "(cached) " >&6
  1590. else
  1591. ac_build_alias=$build_alias
  1592. test "x$ac_build_alias" = x &&
  1593. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  1594. test "x$ac_build_alias" = x &&
  1595. as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
  1596. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  1597. as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  1598. fi
  1599. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  1600. $as_echo "$ac_cv_build" >&6; }
  1601. case $ac_cv_build in
  1602. *-*-*) ;;
  1603. *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
  1604. esac
  1605. build=$ac_cv_build
  1606. ac_save_IFS=$IFS; IFS='-'
  1607. set x $ac_cv_build
  1608. shift
  1609. build_cpu=$1
  1610. build_vendor=$2
  1611. shift; shift
  1612. # Remember, the first character of IFS is used to create $*,
  1613. # except with old shells:
  1614. build_os=$*
  1615. IFS=$ac_save_IFS
  1616. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  1617. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  1618. $as_echo_n "checking host system type... " >&6; }
  1619. if test "${ac_cv_host+set}" = set; then :
  1620. $as_echo_n "(cached) " >&6
  1621. else
  1622. if test "x$host_alias" = x; then
  1623. ac_cv_host=$ac_cv_build
  1624. else
  1625. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  1626. as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  1627. fi
  1628. fi
  1629. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  1630. $as_echo "$ac_cv_host" >&6; }
  1631. case $ac_cv_host in
  1632. *-*-*) ;;
  1633. *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
  1634. esac
  1635. host=$ac_cv_host
  1636. ac_save_IFS=$IFS; IFS='-'
  1637. set x $ac_cv_host
  1638. shift
  1639. host_cpu=$1
  1640. host_vendor=$2
  1641. shift; shift
  1642. # Remember, the first character of IFS is used to create $*,
  1643. # except with old shells:
  1644. host_os=$*
  1645. IFS=$ac_save_IFS
  1646. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  1647. { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
  1648. $as_echo_n "checking target system type... " >&6; }
  1649. if test "${ac_cv_target+set}" = set; then :
  1650. $as_echo_n "(cached) " >&6
  1651. else
  1652. if test "x$target_alias" = x; then
  1653. ac_cv_target=$ac_cv_host
  1654. else
  1655. ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  1656. as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
  1657. fi
  1658. fi
  1659. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
  1660. $as_echo "$ac_cv_target" >&6; }
  1661. case $ac_cv_target in
  1662. *-*-*) ;;
  1663. *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
  1664. esac
  1665. target=$ac_cv_target
  1666. ac_save_IFS=$IFS; IFS='-'
  1667. set x $ac_cv_target
  1668. shift
  1669. target_cpu=$1
  1670. target_vendor=$2
  1671. shift; shift
  1672. # Remember, the first character of IFS is used to create $*,
  1673. # except with old shells:
  1674. target_os=$*
  1675. IFS=$ac_save_IFS
  1676. case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
  1677. # The aliases save the names the user supplied, while $host etc.
  1678. # will get canonicalized.
  1679. test -n "$target_alias" &&
  1680. test "$program_prefix$program_suffix$program_transform_name" = \
  1681. NONENONEs,x,x, &&
  1682. program_prefix=${target_alias}-
  1683. target_alias=${target_alias-$host_alias}
  1684. # Determine the noncanonical target name, for directory use.
  1685. case ${build_alias} in
  1686. "") build_noncanonical=${build} ;;
  1687. *) build_noncanonical=${build_alias} ;;
  1688. esac
  1689. case ${host_alias} in
  1690. "") host_noncanonical=${build_noncanonical} ;;
  1691. *) host_noncanonical=${host_alias} ;;
  1692. esac
  1693. case ${target_alias} in
  1694. "") target_noncanonical=${host_noncanonical} ;;
  1695. *) target_noncanonical=${target_alias} ;;
  1696. esac
  1697. # Determine the target- and build-specific subdirectories
  1698. # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
  1699. # have matching libraries, they should use host libraries: Makefile.tpl
  1700. # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
  1701. # However, they still use the build modules, because the corresponding
  1702. # host modules (e.g. bison) are only built for the host when bootstrap
  1703. # finishes. So:
  1704. # - build_subdir is where we find build modules, and never changes.
  1705. # - build_libsubdir is where we find build libraries, and can be overridden.
  1706. # Prefix 'build-' so this never conflicts with target_subdir.
  1707. build_subdir="build-${build_noncanonical}"
  1708. # Check whether --with-build-libsubdir was given.
  1709. if test "${with_build_libsubdir+set}" = set; then :
  1710. withval=$with_build_libsubdir; build_libsubdir="$withval"
  1711. else
  1712. build_libsubdir="$build_subdir"
  1713. fi
  1714. # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
  1715. if ( test $srcdir = . && test -d gcc ) \
  1716. || test -d $srcdir/../host-${host_noncanonical}; then
  1717. host_subdir="host-${host_noncanonical}"
  1718. else
  1719. host_subdir=.
  1720. fi
  1721. # No prefix.
  1722. target_subdir=${target_noncanonical}
  1723. # Command-line options.
  1724. # Very limited version of AC_MAINTAINER_MODE.
  1725. # Check whether --enable-maintainer-mode was given.
  1726. if test "${enable_maintainer_mode+set}" = set; then :
  1727. enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in
  1728. yes) MAINT='' ;;
  1729. no) MAINT='#' ;;
  1730. *) as_fn_error "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
  1731. esac
  1732. maintainer_mode=${enableval}
  1733. else
  1734. MAINT='#'
  1735. fi
  1736. # Default to --enable-multilib
  1737. # Check whether --enable-multilib was given.
  1738. if test "${enable_multilib+set}" = set; then :
  1739. enableval=$enable_multilib; case "$enableval" in
  1740. yes) multilib=yes ;;
  1741. no) multilib=no ;;
  1742. *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
  1743. esac
  1744. else
  1745. multilib=yes
  1746. fi
  1747. # We may get other options which we leave undocumented:
  1748. # --with-target-subdir, --with-multisrctop, --with-multisubdir
  1749. # See config-ml.in if you want the gory details.
  1750. if test "$srcdir" = "."; then
  1751. if test "$with_target_subdir" != "."; then
  1752. multi_basedir="$srcdir/$with_multisrctop../.."
  1753. else
  1754. multi_basedir="$srcdir/$with_multisrctop.."
  1755. fi
  1756. else
  1757. multi_basedir="$srcdir/.."
  1758. fi
  1759. # Even if the default multilib is not a cross compilation,
  1760. # it may be that some of the other multilibs are.
  1761. if test $cross_compiling = no && test $multilib = yes \
  1762. && test "x${with_multisubdir}" != x ; then
  1763. cross_compiling=maybe
  1764. fi
  1765. ac_config_commands="$ac_config_commands default-1"
  1766. # Calculate toolexeclibdir
  1767. # Also toolexecdir, though it's only used in toolexeclibdir
  1768. case ${enable_version_specific_runtime_libs} in
  1769. yes)
  1770. # Need the gcc compiler version to know where to install libraries
  1771. # and header files if --enable-version-specific-runtime-libs option
  1772. # is selected.
  1773. toolexecdir='$(libdir)/gcc/$(target_alias)'
  1774. toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
  1775. ;;
  1776. no)
  1777. if test -n "$with_cross_host" &&
  1778. test x"$with_cross_host" != x"no"; then
  1779. # Install a library built with a cross compiler in tooldir, not libdir.
  1780. toolexecdir='$(exec_prefix)/$(target_alias)'
  1781. toolexeclibdir='$(toolexecdir)/lib'
  1782. else
  1783. toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
  1784. toolexeclibdir='$(libdir)'
  1785. fi
  1786. multi_os_directory=`$CC -print-multi-os-directory`
  1787. case $multi_os_directory in
  1788. .) ;; # Avoid trailing /.
  1789. *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
  1790. esac
  1791. ;;
  1792. esac
  1793. #TODO: toolexeclibdir is currently disregarded
  1794. # Check the compiler.
  1795. # The same as in boehm-gc and libstdc++. Have to borrow it from there.
  1796. # We must force CC to /not/ be precious variables; otherwise
  1797. # the wrong, non-multilib-adjusted value will be used in multilibs.
  1798. # As a side effect, we have to subst CFLAGS ourselves.
  1799. ac_ext=c
  1800. ac_cpp='$CPP $CPPFLAGS'
  1801. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1802. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1803. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1804. if test -n "$ac_tool_prefix"; then
  1805. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1806. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1807. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1808. $as_echo_n "checking for $ac_word... " >&6; }
  1809. if test "${ac_cv_prog_CC+set}" = set; then :
  1810. $as_echo_n "(cached) " >&6
  1811. else
  1812. if test -n "$CC"; then
  1813. ac_cv_prog_CC="$CC" # Let the user override the test.
  1814. else
  1815. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1816. for as_dir in $PATH
  1817. do
  1818. IFS=$as_save_IFS
  1819. test -z "$as_dir" && as_dir=.
  1820. for ac_exec_ext in '' $ac_executable_extensions; do
  1821. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1822. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1823. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1824. break 2
  1825. fi
  1826. done
  1827. done
  1828. IFS=$as_save_IFS
  1829. fi
  1830. fi
  1831. CC=$ac_cv_prog_CC
  1832. if test -n "$CC"; then
  1833. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1834. $as_echo "$CC" >&6; }
  1835. else
  1836. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1837. $as_echo "no" >&6; }
  1838. fi
  1839. fi
  1840. if test -z "$ac_cv_prog_CC"; then
  1841. ac_ct_CC=$CC
  1842. # Extract the first word of "gcc", so it can be a program name with args.
  1843. set dummy gcc; ac_word=$2
  1844. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1845. $as_echo_n "checking for $ac_word... " >&6; }
  1846. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  1847. $as_echo_n "(cached) " >&6
  1848. else
  1849. if test -n "$ac_ct_CC"; then
  1850. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1851. else
  1852. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1853. for as_dir in $PATH
  1854. do
  1855. IFS=$as_save_IFS
  1856. test -z "$as_dir" && as_dir=.
  1857. for ac_exec_ext in '' $ac_executable_extensions; do
  1858. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1859. ac_cv_prog_ac_ct_CC="gcc"
  1860. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1861. break 2
  1862. fi
  1863. done
  1864. done
  1865. IFS=$as_save_IFS
  1866. fi
  1867. fi
  1868. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1869. if test -n "$ac_ct_CC"; then
  1870. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  1871. $as_echo "$ac_ct_CC" >&6; }
  1872. else
  1873. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1874. $as_echo "no" >&6; }
  1875. fi
  1876. if test "x$ac_ct_CC" = x; then
  1877. CC=""
  1878. else
  1879. case $cross_compiling:$ac_tool_warned in
  1880. yes:)
  1881. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1882. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1883. ac_tool_warned=yes ;;
  1884. esac
  1885. CC=$ac_ct_CC
  1886. fi
  1887. else
  1888. CC="$ac_cv_prog_CC"
  1889. fi
  1890. if test -z "$CC"; then
  1891. if test -n "$ac_tool_prefix"; then
  1892. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1893. set dummy ${ac_tool_prefix}cc; ac_word=$2
  1894. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1895. $as_echo_n "checking for $ac_word... " >&6; }
  1896. if test "${ac_cv_prog_CC+set}" = set; then :
  1897. $as_echo_n "(cached) " >&6
  1898. else
  1899. if test -n "$CC"; then
  1900. ac_cv_prog_CC="$CC" # Let the user override the test.
  1901. else
  1902. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1903. for as_dir in $PATH
  1904. do
  1905. IFS=$as_save_IFS
  1906. test -z "$as_dir" && as_dir=.
  1907. for ac_exec_ext in '' $ac_executable_extensions; do
  1908. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1909. ac_cv_prog_CC="${ac_tool_prefix}cc"
  1910. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1911. break 2
  1912. fi
  1913. done
  1914. done
  1915. IFS=$as_save_IFS
  1916. fi
  1917. fi
  1918. CC=$ac_cv_prog_CC
  1919. if test -n "$CC"; then
  1920. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1921. $as_echo "$CC" >&6; }
  1922. else
  1923. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1924. $as_echo "no" >&6; }
  1925. fi
  1926. fi
  1927. fi
  1928. if test -z "$CC"; then
  1929. # Extract the first word of "cc", so it can be a program name with args.
  1930. set dummy cc; ac_word=$2
  1931. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1932. $as_echo_n "checking for $ac_word... " >&6; }
  1933. if test "${ac_cv_prog_CC+set}" = set; then :
  1934. $as_echo_n "(cached) " >&6
  1935. else
  1936. if test -n "$CC"; then
  1937. ac_cv_prog_CC="$CC" # Let the user override the test.
  1938. else
  1939. ac_prog_rejected=no
  1940. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1941. for as_dir in $PATH
  1942. do
  1943. IFS=$as_save_IFS
  1944. test -z "$as_dir" && as_dir=.
  1945. for ac_exec_ext in '' $ac_executable_extensions; do
  1946. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1947. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1948. ac_prog_rejected=yes
  1949. continue
  1950. fi
  1951. ac_cv_prog_CC="cc"
  1952. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1953. break 2
  1954. fi
  1955. done
  1956. done
  1957. IFS=$as_save_IFS
  1958. if test $ac_prog_rejected = yes; then
  1959. # We found a bogon in the path, so make sure we never use it.
  1960. set dummy $ac_cv_prog_CC
  1961. shift
  1962. if test $# != 0; then
  1963. # We chose a different compiler from the bogus one.
  1964. # However, it has the same basename, so the bogon will be chosen
  1965. # first if we set CC to just the basename; use the full file name.
  1966. shift
  1967. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  1968. fi
  1969. fi
  1970. fi
  1971. fi
  1972. CC=$ac_cv_prog_CC
  1973. if test -n "$CC"; then
  1974. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1975. $as_echo "$CC" >&6; }
  1976. else
  1977. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1978. $as_echo "no" >&6; }
  1979. fi
  1980. fi
  1981. if test -z "$CC"; then
  1982. if test -n "$ac_tool_prefix"; then
  1983. for ac_prog in cl.exe
  1984. do
  1985. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1986. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1987. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1988. $as_echo_n "checking for $ac_word... " >&6; }
  1989. if test "${ac_cv_prog_CC+set}" = set; then :
  1990. $as_echo_n "(cached) " >&6
  1991. else
  1992. if test -n "$CC"; then
  1993. ac_cv_prog_CC="$CC" # Let the user override the test.
  1994. else
  1995. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1996. for as_dir in $PATH
  1997. do
  1998. IFS=$as_save_IFS
  1999. test -z "$as_dir" && as_dir=.
  2000. for ac_exec_ext in '' $ac_executable_extensions; do
  2001. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2002. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2003. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2004. break 2
  2005. fi
  2006. done
  2007. done
  2008. IFS=$as_save_IFS
  2009. fi
  2010. fi
  2011. CC=$ac_cv_prog_CC
  2012. if test -n "$CC"; then
  2013. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2014. $as_echo "$CC" >&6; }
  2015. else
  2016. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2017. $as_echo "no" >&6; }
  2018. fi
  2019. test -n "$CC" && break
  2020. done
  2021. fi
  2022. if test -z "$CC"; then
  2023. ac_ct_CC=$CC
  2024. for ac_prog in cl.exe
  2025. do
  2026. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2027. set dummy $ac_prog; ac_word=$2
  2028. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2029. $as_echo_n "checking for $ac_word... " >&6; }
  2030. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  2031. $as_echo_n "(cached) " >&6
  2032. else
  2033. if test -n "$ac_ct_CC"; then
  2034. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2035. else
  2036. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2037. for as_dir in $PATH
  2038. do
  2039. IFS=$as_save_IFS
  2040. test -z "$as_dir" && as_dir=.
  2041. for ac_exec_ext in '' $ac_executable_extensions; do
  2042. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2043. ac_cv_prog_ac_ct_CC="$ac_prog"
  2044. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2045. break 2
  2046. fi
  2047. done
  2048. done
  2049. IFS=$as_save_IFS
  2050. fi
  2051. fi
  2052. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2053. if test -n "$ac_ct_CC"; then
  2054. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2055. $as_echo "$ac_ct_CC" >&6; }
  2056. else
  2057. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2058. $as_echo "no" >&6; }
  2059. fi
  2060. test -n "$ac_ct_CC" && break
  2061. done
  2062. if test "x$ac_ct_CC" = x; then
  2063. CC=""
  2064. else
  2065. case $cross_compiling:$ac_tool_warned in
  2066. yes:)
  2067. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2068. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2069. ac_tool_warned=yes ;;
  2070. esac
  2071. CC=$ac_ct_CC
  2072. fi
  2073. fi
  2074. fi
  2075. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2076. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2077. as_fn_error "no acceptable C compiler found in \$PATH
  2078. See \`config.log' for more details." "$LINENO" 5; }
  2079. # Provide some information about the compiler.
  2080. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  2081. set X $ac_compile
  2082. ac_compiler=$2
  2083. for ac_option in --version -v -V -qversion; do
  2084. { { ac_try="$ac_compiler $ac_option >&5"
  2085. case "(($ac_try" in
  2086. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2087. *) ac_try_echo=$ac_try;;
  2088. esac
  2089. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2090. $as_echo "$ac_try_echo"; } >&5
  2091. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2092. ac_status=$?
  2093. if test -s conftest.err; then
  2094. sed '10a\
  2095. ... rest of stderr output deleted ...
  2096. 10q' conftest.err >conftest.er1
  2097. cat conftest.er1 >&5
  2098. rm -f conftest.er1 conftest.err
  2099. fi
  2100. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2101. test $ac_status = 0; }
  2102. done
  2103. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2104. /* end confdefs.h. */
  2105. int
  2106. main ()
  2107. {
  2108. ;
  2109. return 0;
  2110. }
  2111. _ACEOF
  2112. ac_clean_files_save=$ac_clean_files
  2113. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
  2114. # Try to create an executable without -o first, disregard a.out.
  2115. # It will help us diagnose broken compilers, and finding out an intuition
  2116. # of exeext.
  2117. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  2118. $as_echo_n "checking for C compiler default output file name... " >&6; }
  2119. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2120. # The possible output files:
  2121. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2122. ac_rmfiles=
  2123. for ac_file in $ac_files
  2124. do
  2125. case $ac_file in
  2126. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2127. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2128. esac
  2129. done
  2130. rm -f $ac_rmfiles
  2131. if { { ac_try="$ac_link_default"
  2132. case "(($ac_try" in
  2133. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2134. *) ac_try_echo=$ac_try;;
  2135. esac
  2136. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2137. $as_echo "$ac_try_echo"; } >&5
  2138. (eval "$ac_link_default") 2>&5
  2139. ac_status=$?
  2140. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2141. test $ac_status = 0; }; then :
  2142. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2143. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2144. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  2145. # so that the user can short-circuit this test for compilers unknown to
  2146. # Autoconf.
  2147. for ac_file in $ac_files ''
  2148. do
  2149. test -f "$ac_file" || continue
  2150. case $ac_file in
  2151. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2152. ;;
  2153. [ab].out )
  2154. # We found the default executable, but exeext='' is most
  2155. # certainly right.
  2156. break;;
  2157. *.* )
  2158. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2159. then :; else
  2160. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2161. fi
  2162. # We set ac_cv_exeext here because the later test for it is not
  2163. # safe: cross compilers may not add the suffix if given an `-o'
  2164. # argument, so we may need to know it at that point already.
  2165. # Even if this section looks crufty: it has the advantage of
  2166. # actually working.
  2167. break;;
  2168. * )
  2169. break;;
  2170. esac
  2171. done
  2172. test "$ac_cv_exeext" = no && ac_cv_exeext=
  2173. else
  2174. ac_file=''
  2175. fi
  2176. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  2177. $as_echo "$ac_file" >&6; }
  2178. if test -z "$ac_file"; then :
  2179. $as_echo "$as_me: failed program was:" >&5
  2180. sed 's/^/| /' conftest.$ac_ext >&5
  2181. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2182. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2183. { as_fn_set_status 77
  2184. as_fn_error "C compiler cannot create executables
  2185. See \`config.log' for more details." "$LINENO" 5; }; }
  2186. fi
  2187. ac_exeext=$ac_cv_exeext
  2188. # Check that the compiler produces executables we can run. If not, either
  2189. # the compiler is broken, or we cross compile.
  2190. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  2191. $as_echo_n "checking whether the C compiler works... " >&6; }
  2192. # If not cross compiling, check that we can run a simple program.
  2193. if test "$cross_compiling" != yes; then
  2194. if { ac_try='./$ac_file'
  2195. { { case "(($ac_try" in
  2196. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2197. *) ac_try_echo=$ac_try;;
  2198. esac
  2199. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2200. $as_echo "$ac_try_echo"; } >&5
  2201. (eval "$ac_try") 2>&5
  2202. ac_status=$?
  2203. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2204. test $ac_status = 0; }; }; then
  2205. cross_compiling=no
  2206. else
  2207. if test "$cross_compiling" = maybe; then
  2208. cross_compiling=yes
  2209. else
  2210. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2211. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2212. as_fn_error "cannot run C compiled programs.
  2213. If you meant to cross compile, use \`--host'.
  2214. See \`config.log' for more details." "$LINENO" 5; }
  2215. fi
  2216. fi
  2217. fi
  2218. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2219. $as_echo "yes" >&6; }
  2220. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
  2221. ac_clean_files=$ac_clean_files_save
  2222. # Check that the compiler produces executables we can run. If not, either
  2223. # the compiler is broken, or we cross compile.
  2224. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  2225. $as_echo_n "checking whether we are cross compiling... " >&6; }
  2226. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  2227. $as_echo "$cross_compiling" >&6; }
  2228. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  2229. $as_echo_n "checking for suffix of executables... " >&6; }
  2230. if { { ac_try="$ac_link"
  2231. case "(($ac_try" in
  2232. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2233. *) ac_try_echo=$ac_try;;
  2234. esac
  2235. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2236. $as_echo "$ac_try_echo"; } >&5
  2237. (eval "$ac_link") 2>&5
  2238. ac_status=$?
  2239. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2240. test $ac_status = 0; }; then :
  2241. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2242. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  2243. # work properly (i.e., refer to `conftest.exe'), while it won't with
  2244. # `rm'.
  2245. for ac_file in conftest.exe conftest conftest.*; do
  2246. test -f "$ac_file" || continue
  2247. case $ac_file in
  2248. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2249. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2250. break;;
  2251. * ) break;;
  2252. esac
  2253. done
  2254. else
  2255. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2256. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2257. as_fn_error "cannot compute suffix of executables: cannot compile and link
  2258. See \`config.log' for more details." "$LINENO" 5; }
  2259. fi
  2260. rm -f conftest$ac_cv_exeext
  2261. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  2262. $as_echo "$ac_cv_exeext" >&6; }
  2263. rm -f conftest.$ac_ext
  2264. EXEEXT=$ac_cv_exeext
  2265. ac_exeext=$EXEEXT
  2266. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  2267. $as_echo_n "checking for suffix of object files... " >&6; }
  2268. if test "${ac_cv_objext+set}" = set; then :
  2269. $as_echo_n "(cached) " >&6
  2270. else
  2271. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2272. /* end confdefs.h. */
  2273. int
  2274. main ()
  2275. {
  2276. ;
  2277. return 0;
  2278. }
  2279. _ACEOF
  2280. rm -f conftest.o conftest.obj
  2281. if { { ac_try="$ac_compile"
  2282. case "(($ac_try" in
  2283. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2284. *) ac_try_echo=$ac_try;;
  2285. esac
  2286. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2287. $as_echo "$ac_try_echo"; } >&5
  2288. (eval "$ac_compile") 2>&5
  2289. ac_status=$?
  2290. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2291. test $ac_status = 0; }; then :
  2292. for ac_file in conftest.o conftest.obj conftest.*; do
  2293. test -f "$ac_file" || continue;
  2294. case $ac_file in
  2295. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  2296. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2297. break;;
  2298. esac
  2299. done
  2300. else
  2301. $as_echo "$as_me: failed program was:" >&5
  2302. sed 's/^/| /' conftest.$ac_ext >&5
  2303. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2304. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2305. as_fn_error "cannot compute suffix of object files: cannot compile
  2306. See \`config.log' for more details." "$LINENO" 5; }
  2307. fi
  2308. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2309. fi
  2310. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  2311. $as_echo "$ac_cv_objext" >&6; }
  2312. OBJEXT=$ac_cv_objext
  2313. ac_objext=$OBJEXT
  2314. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  2315. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  2316. if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  2317. $as_echo_n "(cached) " >&6
  2318. else
  2319. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2320. /* end confdefs.h. */
  2321. int
  2322. main ()
  2323. {
  2324. #ifndef __GNUC__
  2325. choke me
  2326. #endif
  2327. ;
  2328. return 0;
  2329. }
  2330. _ACEOF
  2331. if ac_fn_c_try_compile "$LINENO"; then :
  2332. ac_compiler_gnu=yes
  2333. else
  2334. ac_compiler_gnu=no
  2335. fi
  2336. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2337. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2338. fi
  2339. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  2340. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  2341. if test $ac_compiler_gnu = yes; then
  2342. GCC=yes
  2343. else
  2344. GCC=
  2345. fi
  2346. ac_test_CFLAGS=${CFLAGS+set}
  2347. ac_save_CFLAGS=$CFLAGS
  2348. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  2349. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  2350. if test "${ac_cv_prog_cc_g+set}" = set; then :
  2351. $as_echo_n "(cached) " >&6
  2352. else
  2353. ac_save_c_werror_flag=$ac_c_werror_flag
  2354. ac_c_werror_flag=yes
  2355. ac_cv_prog_cc_g=no
  2356. CFLAGS="-g"
  2357. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2358. /* end confdefs.h. */
  2359. int
  2360. main ()
  2361. {
  2362. ;
  2363. return 0;
  2364. }
  2365. _ACEOF
  2366. if ac_fn_c_try_compile "$LINENO"; then :
  2367. ac_cv_prog_cc_g=yes
  2368. else
  2369. CFLAGS=""
  2370. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2371. /* end confdefs.h. */
  2372. int
  2373. main ()
  2374. {
  2375. ;
  2376. return 0;
  2377. }
  2378. _ACEOF
  2379. if ac_fn_c_try_compile "$LINENO"; then :
  2380. else
  2381. ac_c_werror_flag=$ac_save_c_werror_flag
  2382. CFLAGS="-g"
  2383. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2384. /* end confdefs.h. */
  2385. int
  2386. main ()
  2387. {
  2388. ;
  2389. return 0;
  2390. }
  2391. _ACEOF
  2392. if ac_fn_c_try_compile "$LINENO"; then :
  2393. ac_cv_prog_cc_g=yes
  2394. fi
  2395. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2396. fi
  2397. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2398. fi
  2399. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2400. ac_c_werror_flag=$ac_save_c_werror_flag
  2401. fi
  2402. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  2403. $as_echo "$ac_cv_prog_cc_g" >&6; }
  2404. if test "$ac_test_CFLAGS" = set; then
  2405. CFLAGS=$ac_save_CFLAGS
  2406. elif test $ac_cv_prog_cc_g = yes; then
  2407. if test "$GCC" = yes; then
  2408. CFLAGS="-g -O2"
  2409. else
  2410. CFLAGS="-g"
  2411. fi
  2412. else
  2413. if test "$GCC" = yes; then
  2414. CFLAGS="-O2"
  2415. else
  2416. CFLAGS=
  2417. fi
  2418. fi
  2419. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  2420. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  2421. if test "${ac_cv_prog_cc_c89+set}" = set; then :
  2422. $as_echo_n "(cached) " >&6
  2423. else
  2424. ac_cv_prog_cc_c89=no
  2425. ac_save_CC=$CC
  2426. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2427. /* end confdefs.h. */
  2428. #include <stdarg.h>
  2429. #include <stdio.h>
  2430. #include <sys/types.h>
  2431. #include <sys/stat.h>
  2432. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  2433. struct buf { int x; };
  2434. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  2435. static char *e (p, i)
  2436. char **p;
  2437. int i;
  2438. {
  2439. return p[i];
  2440. }
  2441. static char *f (char * (*g) (char **, int), char **p, ...)
  2442. {
  2443. char *s;
  2444. va_list v;
  2445. va_start (v,p);
  2446. s = g (p, va_arg (v,int));
  2447. va_end (v);
  2448. return s;
  2449. }
  2450. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  2451. function prototypes and stuff, but not '\xHH' hex character constants.
  2452. These don't provoke an error unfortunately, instead are silently treated
  2453. as 'x'. The following induces an error, until -std is added to get
  2454. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  2455. array size at least. It's necessary to write '\x00'==0 to get something
  2456. that's true only with -std. */
  2457. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2458. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  2459. inside strings and character constants. */
  2460. #define FOO(x) 'x'
  2461. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  2462. int test (int i, double x);
  2463. struct s1 {int (*f) (int a);};
  2464. struct s2 {int (*f) (double a);};
  2465. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2466. int argc;
  2467. char **argv;
  2468. int
  2469. main ()
  2470. {
  2471. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  2472. ;
  2473. return 0;
  2474. }
  2475. _ACEOF
  2476. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  2477. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2478. do
  2479. CC="$ac_save_CC $ac_arg"
  2480. if ac_fn_c_try_compile "$LINENO"; then :
  2481. ac_cv_prog_cc_c89=$ac_arg
  2482. fi
  2483. rm -f core conftest.err conftest.$ac_objext
  2484. test "x$ac_cv_prog_cc_c89" != "xno" && break
  2485. done
  2486. rm -f conftest.$ac_ext
  2487. CC=$ac_save_CC
  2488. fi
  2489. # AC_CACHE_VAL
  2490. case "x$ac_cv_prog_cc_c89" in
  2491. x)
  2492. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  2493. $as_echo "none needed" >&6; } ;;
  2494. xno)
  2495. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  2496. $as_echo "unsupported" >&6; } ;;
  2497. *)
  2498. CC="$CC $ac_cv_prog_cc_c89"
  2499. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  2500. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  2501. esac
  2502. if test "x$ac_cv_prog_cc_c89" != xno; then :
  2503. fi
  2504. ac_ext=c
  2505. ac_cpp='$CPP $CPPFLAGS'
  2506. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2507. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2508. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2509. # Check whether --enable-shared was given.
  2510. if test "${enable_shared+set}" = set; then :
  2511. enableval=$enable_shared;
  2512. case $enable_shared in
  2513. yes | no) ;;
  2514. *)
  2515. enable_shared=no
  2516. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
  2517. for pkg in $enableval; do
  2518. case $pkg in
  2519. ada | libada)
  2520. enable_shared=yes ;;
  2521. esac
  2522. done
  2523. IFS="$ac_save_ifs"
  2524. ;;
  2525. esac
  2526. else
  2527. enable_shared=yes
  2528. fi
  2529. case "${host}" in
  2530. # PIC is the default on some targets or must not be used.
  2531. *-*-darwin*)
  2532. # For darwin, common symbols are not allowed in MH_DYLIB files
  2533. case "${CFLAGS}" in
  2534. # If we are using a compiler supporting mdynamic-no-pic
  2535. # and the option has been tested as safe to add, then cancel
  2536. # it here, since the code generated is incompatible with shared
  2537. # libs.
  2538. *-mdynamic-no-pic*) PICFLAG='-fno-common -mno-dynamic-no-pic' ;;
  2539. *) PICFLAG=-fno-common ;;
  2540. esac
  2541. ;;
  2542. alpha*-dec-osf5*)
  2543. # PIC is the default.
  2544. ;;
  2545. hppa*64*-*-hpux*)
  2546. # PIC is the default for 64-bit PA HP-UX.
  2547. ;;
  2548. i[34567]86-*-cygwin* | x86_64-*-cygwin*)
  2549. ;;
  2550. i[34567]86-*-mingw* | x86_64-*-mingw*)
  2551. ;;
  2552. i[34567]86-*-interix[3-9]*)
  2553. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  2554. # Instead, we relocate shared libraries at runtime.
  2555. ;;
  2556. i[34567]86-*-nto-qnx*)
  2557. # QNX uses GNU C++, but need to define -shared option too, otherwise
  2558. # it will coredump.
  2559. PICFLAG='-fPIC -shared'
  2560. ;;
  2561. i[34567]86-pc-msdosdjgpp*)
  2562. # DJGPP does not support shared libraries at all.
  2563. ;;
  2564. ia64*-*-hpux*)
  2565. # On IA64 HP-UX, PIC is the default but the pic flag
  2566. # sets the default TLS model and affects inlining.
  2567. PICFLAG=-fPIC
  2568. ;;
  2569. mips-sgi-irix6*)
  2570. # PIC is the default.
  2571. ;;
  2572. rs6000-ibm-aix* | powerpc-ibm-aix*)
  2573. # All AIX code is PIC.
  2574. ;;
  2575. # Some targets support both -fPIC and -fpic, but prefer the latter.
  2576. # FIXME: Why?
  2577. i[34567]86-*-* | x86_64-*-*)
  2578. PICFLAG=-fpic
  2579. ;;
  2580. # FIXME: Override -fPIC default in libgcc only?
  2581. sh-*-linux* | sh[2346lbe]*-*-linux*)
  2582. PICFLAG=-fpic
  2583. ;;
  2584. # FIXME: Simplify to sh*-*-netbsd*?
  2585. sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
  2586. sh64-*-netbsd* | sh64l*-*-netbsd*)
  2587. PICFLAG=-fpic
  2588. ;;
  2589. # Default to -fPIC unless specified otherwise.
  2590. *)
  2591. PICFLAG=-fPIC
  2592. ;;
  2593. esac
  2594. # If the user explicitly uses -fpic/-fPIC, keep that.
  2595. case "${CFLAGS}" in
  2596. *-fpic*)
  2597. PICFLAG=-fpic
  2598. ;;
  2599. *-fPIC*)
  2600. PICFLAG=-fPIC
  2601. ;;
  2602. esac
  2603. # These must be passed down, or are needed by gcc/libgcc.mvars
  2604. for ac_prog in gawk mawk nawk awk
  2605. do
  2606. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2607. set dummy $ac_prog; ac_word=$2
  2608. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2609. $as_echo_n "checking for $ac_word... " >&6; }
  2610. if test "${ac_cv_prog_AWK+set}" = set; then :
  2611. $as_echo_n "(cached) " >&6
  2612. else
  2613. if test -n "$AWK"; then
  2614. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2615. else
  2616. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2617. for as_dir in $PATH
  2618. do
  2619. IFS=$as_save_IFS
  2620. test -z "$as_dir" && as_dir=.
  2621. for ac_exec_ext in '' $ac_executable_extensions; do
  2622. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2623. ac_cv_prog_AWK="$ac_prog"
  2624. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2625. break 2
  2626. fi
  2627. done
  2628. done
  2629. IFS=$as_save_IFS
  2630. fi
  2631. fi
  2632. AWK=$ac_cv_prog_AWK
  2633. if test -n "$AWK"; then
  2634. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2635. $as_echo "$AWK" >&6; }
  2636. else
  2637. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2638. $as_echo "no" >&6; }
  2639. fi
  2640. test -n "$AWK" && break
  2641. done
  2642. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  2643. $as_echo_n "checking whether ln -s works... " >&6; }
  2644. LN_S=$as_ln_s
  2645. if test "$LN_S" = "ln -s"; then
  2646. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2647. $as_echo "yes" >&6; }
  2648. else
  2649. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  2650. $as_echo "no, using $LN_S" >&6; }
  2651. fi
  2652. # Determine what to build for 'gnatlib'
  2653. if test $build = $target \
  2654. && test ${enable_shared} = yes ; then
  2655. # Note that build=target is almost certainly the wrong test; FIXME
  2656. default_gnatlib_target="gnatlib-shared"
  2657. else
  2658. default_gnatlib_target="gnatlib-plain"
  2659. fi
  2660. # Check for _Unwind_GetIPInfo
  2661. # Check whether --with-system-libunwind was given.
  2662. if test "${with_system_libunwind+set}" = set; then :
  2663. withval=$with_system_libunwind;
  2664. fi
  2665. # If system-libunwind was not specifically set, pick a default setting.
  2666. if test x$with_system_libunwind = x; then
  2667. case ${target} in
  2668. ia64-*-hpux*) with_system_libunwind=yes ;;
  2669. *) with_system_libunwind=no ;;
  2670. esac
  2671. fi
  2672. # Based on system-libunwind and target, do we have ipinfo?
  2673. if test x$with_system_libunwind = xyes; then
  2674. case ${target} in
  2675. ia64-*-*) have_unwind_getipinfo=no ;;
  2676. *) have_unwind_getipinfo=yes ;;
  2677. esac
  2678. else
  2679. # Darwin before version 9 does not have _Unwind_GetIPInfo.
  2680. case ${target} in
  2681. *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
  2682. *) have_unwind_getipinfo=yes ;;
  2683. esac
  2684. fi
  2685. if test x$have_unwind_getipinfo = xyes; then
  2686. $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
  2687. fi
  2688. have_getipinfo=
  2689. if test x$have_unwind_getipinfo = xyes; then
  2690. have_getipinfo=-DHAVE_GETIPINFO
  2691. fi
  2692. # Output: create a Makefile.
  2693. ac_config_files="$ac_config_files Makefile"
  2694. cat >confcache <<\_ACEOF
  2695. # This file is a shell script that caches the results of configure
  2696. # tests run on this system so they can be shared between configure
  2697. # scripts and configure runs, see configure's option --config-cache.
  2698. # It is not useful on other systems. If it contains results you don't
  2699. # want to keep, you may remove or edit it.
  2700. #
  2701. # config.status only pays attention to the cache file if you give it
  2702. # the --recheck option to rerun configure.
  2703. #
  2704. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  2705. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  2706. # following values.
  2707. _ACEOF
  2708. # The following way of writing the cache mishandles newlines in values,
  2709. # but we know of no workaround that is simple, portable, and efficient.
  2710. # So, we kill variables containing newlines.
  2711. # Ultrix sh set writes to stderr and can't be redirected directly,
  2712. # and sets the high bit in the cache file unless we assign to the vars.
  2713. (
  2714. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  2715. eval ac_val=\$$ac_var
  2716. case $ac_val in #(
  2717. *${as_nl}*)
  2718. case $ac_var in #(
  2719. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2720. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2721. esac
  2722. case $ac_var in #(
  2723. _ | IFS | as_nl) ;; #(
  2724. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2725. *) { eval $ac_var=; unset $ac_var;} ;;
  2726. esac ;;
  2727. esac
  2728. done
  2729. (set) 2>&1 |
  2730. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  2731. *${as_nl}ac_space=\ *)
  2732. # `set' does not quote correctly, so add quotes: double-quote
  2733. # substitution turns \\\\ into \\, and sed turns \\ into \.
  2734. sed -n \
  2735. "s/'/'\\\\''/g;
  2736. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  2737. ;; #(
  2738. *)
  2739. # `set' quotes correctly as required by POSIX, so do not add quotes.
  2740. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2741. ;;
  2742. esac |
  2743. sort
  2744. ) |
  2745. sed '
  2746. /^ac_cv_env_/b end
  2747. t clear
  2748. :clear
  2749. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  2750. t end
  2751. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  2752. :end' >>confcache
  2753. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  2754. if test -w "$cache_file"; then
  2755. test "x$cache_file" != "x/dev/null" &&
  2756. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  2757. $as_echo "$as_me: updating cache $cache_file" >&6;}
  2758. cat confcache >$cache_file
  2759. else
  2760. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  2761. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  2762. fi
  2763. fi
  2764. rm -f confcache
  2765. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  2766. # Let make expand exec_prefix.
  2767. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  2768. # Transform confdefs.h into DEFS.
  2769. # Protect against shell expansion while executing Makefile rules.
  2770. # Protect against Makefile macro expansion.
  2771. #
  2772. # If the first sed substitution is executed (which looks for macros that
  2773. # take arguments), then branch to the quote section. Otherwise,
  2774. # look for a macro that doesn't take arguments.
  2775. ac_script='
  2776. :mline
  2777. /\\$/{
  2778. N
  2779. s,\\\n,,
  2780. b mline
  2781. }
  2782. t clear
  2783. :clear
  2784. s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
  2785. t quote
  2786. s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
  2787. t quote
  2788. b any
  2789. :quote
  2790. s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  2791. s/\[/\\&/g
  2792. s/\]/\\&/g
  2793. s/\$/$$/g
  2794. H
  2795. :any
  2796. ${
  2797. g
  2798. s/^\n//
  2799. s/\n/ /g
  2800. p
  2801. }
  2802. '
  2803. DEFS=`sed -n "$ac_script" confdefs.h`
  2804. ac_libobjs=
  2805. ac_ltlibobjs=
  2806. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  2807. # 1. Remove the extension, and $U if already installed.
  2808. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  2809. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  2810. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  2811. # will be set to the directory where LIBOBJS objects are built.
  2812. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  2813. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  2814. done
  2815. LIBOBJS=$ac_libobjs
  2816. LTLIBOBJS=$ac_ltlibobjs
  2817. : ${CONFIG_STATUS=./config.status}
  2818. ac_write_fail=0
  2819. ac_clean_files_save=$ac_clean_files
  2820. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  2821. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  2822. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  2823. as_write_fail=0
  2824. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  2825. #! $SHELL
  2826. # Generated by $as_me.
  2827. # Run this file to recreate the current configuration.
  2828. # Compiler output produced by configure, useful for debugging
  2829. # configure, is in config.log if it exists.
  2830. debug=false
  2831. ac_cs_recheck=false
  2832. ac_cs_silent=false
  2833. SHELL=\${CONFIG_SHELL-$SHELL}
  2834. export SHELL
  2835. _ASEOF
  2836. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  2837. ## -------------------- ##
  2838. ## M4sh Initialization. ##
  2839. ## -------------------- ##
  2840. # Be more Bourne compatible
  2841. DUALCASE=1; export DUALCASE # for MKS sh
  2842. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  2843. emulate sh
  2844. NULLCMD=:
  2845. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  2846. # is contrary to our usage. Disable this feature.
  2847. alias -g '${1+"$@"}'='"$@"'
  2848. setopt NO_GLOB_SUBST
  2849. else
  2850. case `(set -o) 2>/dev/null` in #(
  2851. *posix*) :
  2852. set -o posix ;; #(
  2853. *) :
  2854. ;;
  2855. esac
  2856. fi
  2857. as_nl='
  2858. '
  2859. export as_nl
  2860. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  2861. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  2862. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  2863. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  2864. # Prefer a ksh shell builtin over an external printf program on Solaris,
  2865. # but without wasting forks for bash or zsh.
  2866. if test -z "$BASH_VERSION$ZSH_VERSION" \
  2867. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  2868. as_echo='print -r --'
  2869. as_echo_n='print -rn --'
  2870. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  2871. as_echo='printf %s\n'
  2872. as_echo_n='printf %s'
  2873. else
  2874. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  2875. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  2876. as_echo_n='/usr/ucb/echo -n'
  2877. else
  2878. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  2879. as_echo_n_body='eval
  2880. arg=$1;
  2881. case $arg in #(
  2882. *"$as_nl"*)
  2883. expr "X$arg" : "X\\(.*\\)$as_nl";
  2884. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  2885. esac;
  2886. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  2887. '
  2888. export as_echo_n_body
  2889. as_echo_n='sh -c $as_echo_n_body as_echo'
  2890. fi
  2891. export as_echo_body
  2892. as_echo='sh -c $as_echo_body as_echo'
  2893. fi
  2894. # The user is always right.
  2895. if test "${PATH_SEPARATOR+set}" != set; then
  2896. PATH_SEPARATOR=:
  2897. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  2898. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  2899. PATH_SEPARATOR=';'
  2900. }
  2901. fi
  2902. # IFS
  2903. # We need space, tab and new line, in precisely that order. Quoting is
  2904. # there to prevent editors from complaining about space-tab.
  2905. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  2906. # splitting by setting IFS to empty value.)
  2907. IFS=" "" $as_nl"
  2908. # Find who we are. Look in the path if we contain no directory separator.
  2909. case $0 in #((
  2910. *[\\/]* ) as_myself=$0 ;;
  2911. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2912. for as_dir in $PATH
  2913. do
  2914. IFS=$as_save_IFS
  2915. test -z "$as_dir" && as_dir=.
  2916. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  2917. done
  2918. IFS=$as_save_IFS
  2919. ;;
  2920. esac
  2921. # We did not find ourselves, most probably we were run as `sh COMMAND'
  2922. # in which case we are not to be found in the path.
  2923. if test "x$as_myself" = x; then
  2924. as_myself=$0
  2925. fi
  2926. if test ! -f "$as_myself"; then
  2927. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  2928. exit 1
  2929. fi
  2930. # Unset variables that we do not need and which cause bugs (e.g. in
  2931. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  2932. # suppresses any "Segmentation fault" message there. '((' could
  2933. # trigger a bug in pdksh 5.2.14.
  2934. for as_var in BASH_ENV ENV MAIL MAILPATH
  2935. do eval test x\${$as_var+set} = xset \
  2936. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  2937. done
  2938. PS1='$ '
  2939. PS2='> '
  2940. PS4='+ '
  2941. # NLS nuisances.
  2942. LC_ALL=C
  2943. export LC_ALL
  2944. LANGUAGE=C
  2945. export LANGUAGE
  2946. # CDPATH.
  2947. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  2948. # as_fn_error ERROR [LINENO LOG_FD]
  2949. # ---------------------------------
  2950. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  2951. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  2952. # script with status $?, using 1 if that was 0.
  2953. as_fn_error ()
  2954. {
  2955. as_status=$?; test $as_status -eq 0 && as_status=1
  2956. if test "$3"; then
  2957. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2958. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  2959. fi
  2960. $as_echo "$as_me: error: $1" >&2
  2961. as_fn_exit $as_status
  2962. } # as_fn_error
  2963. # as_fn_set_status STATUS
  2964. # -----------------------
  2965. # Set $? to STATUS, without forking.
  2966. as_fn_set_status ()
  2967. {
  2968. return $1
  2969. } # as_fn_set_status
  2970. # as_fn_exit STATUS
  2971. # -----------------
  2972. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  2973. as_fn_exit ()
  2974. {
  2975. set +e
  2976. as_fn_set_status $1
  2977. exit $1
  2978. } # as_fn_exit
  2979. # as_fn_unset VAR
  2980. # ---------------
  2981. # Portably unset VAR.
  2982. as_fn_unset ()
  2983. {
  2984. { eval $1=; unset $1;}
  2985. }
  2986. as_unset=as_fn_unset
  2987. # as_fn_append VAR VALUE
  2988. # ----------------------
  2989. # Append the text in VALUE to the end of the definition contained in VAR. Take
  2990. # advantage of any shell optimizations that allow amortized linear growth over
  2991. # repeated appends, instead of the typical quadratic growth present in naive
  2992. # implementations.
  2993. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  2994. eval 'as_fn_append ()
  2995. {
  2996. eval $1+=\$2
  2997. }'
  2998. else
  2999. as_fn_append ()
  3000. {
  3001. eval $1=\$$1\$2
  3002. }
  3003. fi # as_fn_append
  3004. # as_fn_arith ARG...
  3005. # ------------------
  3006. # Perform arithmetic evaluation on the ARGs, and store the result in the
  3007. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  3008. # must be portable across $(()) and expr.
  3009. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  3010. eval 'as_fn_arith ()
  3011. {
  3012. as_val=$(( $* ))
  3013. }'
  3014. else
  3015. as_fn_arith ()
  3016. {
  3017. as_val=`expr "$@" || test $? -eq 1`
  3018. }
  3019. fi # as_fn_arith
  3020. if expr a : '\(a\)' >/dev/null 2>&1 &&
  3021. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  3022. as_expr=expr
  3023. else
  3024. as_expr=false
  3025. fi
  3026. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  3027. as_basename=basename
  3028. else
  3029. as_basename=false
  3030. fi
  3031. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  3032. as_dirname=dirname
  3033. else
  3034. as_dirname=false
  3035. fi
  3036. as_me=`$as_basename -- "$0" ||
  3037. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  3038. X"$0" : 'X\(//\)$' \| \
  3039. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  3040. $as_echo X/"$0" |
  3041. sed '/^.*\/\([^/][^/]*\)\/*$/{
  3042. s//\1/
  3043. q
  3044. }
  3045. /^X\/\(\/\/\)$/{
  3046. s//\1/
  3047. q
  3048. }
  3049. /^X\/\(\/\).*/{
  3050. s//\1/
  3051. q
  3052. }
  3053. s/.*/./; q'`
  3054. # Avoid depending upon Character Ranges.
  3055. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  3056. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  3057. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  3058. as_cr_digits='0123456789'
  3059. as_cr_alnum=$as_cr_Letters$as_cr_digits
  3060. ECHO_C= ECHO_N= ECHO_T=
  3061. case `echo -n x` in #(((((
  3062. -n*)
  3063. case `echo 'xy\c'` in
  3064. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  3065. xy) ECHO_C='\c';;
  3066. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  3067. ECHO_T=' ';;
  3068. esac;;
  3069. *)
  3070. ECHO_N='-n';;
  3071. esac
  3072. rm -f conf$$ conf$$.exe conf$$.file
  3073. if test -d conf$$.dir; then
  3074. rm -f conf$$.dir/conf$$.file
  3075. else
  3076. rm -f conf$$.dir
  3077. mkdir conf$$.dir 2>/dev/null
  3078. fi
  3079. if (echo >conf$$.file) 2>/dev/null; then
  3080. if ln -s conf$$.file conf$$ 2>/dev/null; then
  3081. as_ln_s='ln -s'
  3082. # ... but there are two gotchas:
  3083. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  3084. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  3085. # In both cases, we have to default to `cp -p'.
  3086. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  3087. as_ln_s='cp -p'
  3088. elif ln conf$$.file conf$$ 2>/dev/null; then
  3089. as_ln_s=ln
  3090. else
  3091. as_ln_s='cp -p'
  3092. fi
  3093. else
  3094. as_ln_s='cp -p'
  3095. fi
  3096. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  3097. rmdir conf$$.dir 2>/dev/null
  3098. # as_fn_mkdir_p
  3099. # -------------
  3100. # Create "$as_dir" as a directory, including parents if necessary.
  3101. as_fn_mkdir_p ()
  3102. {
  3103. case $as_dir in #(
  3104. -*) as_dir=./$as_dir;;
  3105. esac
  3106. test -d "$as_dir" || eval $as_mkdir_p || {
  3107. as_dirs=
  3108. while :; do
  3109. case $as_dir in #(
  3110. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  3111. *) as_qdir=$as_dir;;
  3112. esac
  3113. as_dirs="'$as_qdir' $as_dirs"
  3114. as_dir=`$as_dirname -- "$as_dir" ||
  3115. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3116. X"$as_dir" : 'X\(//\)[^/]' \| \
  3117. X"$as_dir" : 'X\(//\)$' \| \
  3118. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  3119. $as_echo X"$as_dir" |
  3120. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  3121. s//\1/
  3122. q
  3123. }
  3124. /^X\(\/\/\)[^/].*/{
  3125. s//\1/
  3126. q
  3127. }
  3128. /^X\(\/\/\)$/{
  3129. s//\1/
  3130. q
  3131. }
  3132. /^X\(\/\).*/{
  3133. s//\1/
  3134. q
  3135. }
  3136. s/.*/./; q'`
  3137. test -d "$as_dir" && break
  3138. done
  3139. test -z "$as_dirs" || eval "mkdir $as_dirs"
  3140. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  3141. } # as_fn_mkdir_p
  3142. if mkdir -p . 2>/dev/null; then
  3143. as_mkdir_p='mkdir -p "$as_dir"'
  3144. else
  3145. test -d ./-p && rmdir ./-p
  3146. as_mkdir_p=false
  3147. fi
  3148. if test -x / >/dev/null 2>&1; then
  3149. as_test_x='test -x'
  3150. else
  3151. if ls -dL / >/dev/null 2>&1; then
  3152. as_ls_L_option=L
  3153. else
  3154. as_ls_L_option=
  3155. fi
  3156. as_test_x='
  3157. eval sh -c '\''
  3158. if test -d "$1"; then
  3159. test -d "$1/.";
  3160. else
  3161. case $1 in #(
  3162. -*)set "./$1";;
  3163. esac;
  3164. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  3165. ???[sx]*):;;*)false;;esac;fi
  3166. '\'' sh
  3167. '
  3168. fi
  3169. as_executable_p=$as_test_x
  3170. # Sed expression to map a string onto a valid CPP name.
  3171. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  3172. # Sed expression to map a string onto a valid variable name.
  3173. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  3174. exec 6>&1
  3175. ## ----------------------------------- ##
  3176. ## Main body of $CONFIG_STATUS script. ##
  3177. ## ----------------------------------- ##
  3178. _ASEOF
  3179. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  3180. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3181. # Save the log message, to keep $0 and so on meaningful, and to
  3182. # report actual input values of CONFIG_FILES etc. instead of their
  3183. # values after options handling.
  3184. ac_log="
  3185. This file was extended by $as_me, which was
  3186. generated by GNU Autoconf 2.64. Invocation command line was
  3187. CONFIG_FILES = $CONFIG_FILES
  3188. CONFIG_HEADERS = $CONFIG_HEADERS
  3189. CONFIG_LINKS = $CONFIG_LINKS
  3190. CONFIG_COMMANDS = $CONFIG_COMMANDS
  3191. $ $0 $@
  3192. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  3193. "
  3194. _ACEOF
  3195. case $ac_config_files in *"
  3196. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  3197. esac
  3198. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3199. # Files that config.status was made for.
  3200. config_files="$ac_config_files"
  3201. config_commands="$ac_config_commands"
  3202. _ACEOF
  3203. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3204. ac_cs_usage="\
  3205. \`$as_me' instantiates files and other configuration actions
  3206. from templates according to the current configuration. Unless the files
  3207. and actions are specified as TAGs, all are instantiated by default.
  3208. Usage: $0 [OPTION]... [TAG]...
  3209. -h, --help print this help, then exit
  3210. -V, --version print version number and configuration settings, then exit
  3211. -q, --quiet, --silent
  3212. do not print progress messages
  3213. -d, --debug don't remove temporary files
  3214. --recheck update $as_me by reconfiguring in the same conditions
  3215. --file=FILE[:TEMPLATE]
  3216. instantiate the configuration file FILE
  3217. Configuration files:
  3218. $config_files
  3219. Configuration commands:
  3220. $config_commands
  3221. Report bugs to the package provider."
  3222. _ACEOF
  3223. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3224. ac_cs_version="\\
  3225. config.status
  3226. configured by $0, generated by GNU Autoconf 2.64,
  3227. with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  3228. Copyright (C) 2009 Free Software Foundation, Inc.
  3229. This config.status script is free software; the Free Software Foundation
  3230. gives unlimited permission to copy, distribute and modify it."
  3231. ac_pwd='$ac_pwd'
  3232. srcdir='$srcdir'
  3233. AWK='$AWK'
  3234. test -n "\$AWK" || AWK=awk
  3235. _ACEOF
  3236. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3237. # The default lists apply if the user does not specify any file.
  3238. ac_need_defaults=:
  3239. while test $# != 0
  3240. do
  3241. case $1 in
  3242. --*=*)
  3243. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  3244. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  3245. ac_shift=:
  3246. ;;
  3247. *)
  3248. ac_option=$1
  3249. ac_optarg=$2
  3250. ac_shift=shift
  3251. ;;
  3252. esac
  3253. case $ac_option in
  3254. # Handling of the options.
  3255. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  3256. ac_cs_recheck=: ;;
  3257. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  3258. $as_echo "$ac_cs_version"; exit ;;
  3259. --debug | --debu | --deb | --de | --d | -d )
  3260. debug=: ;;
  3261. --file | --fil | --fi | --f )
  3262. $ac_shift
  3263. case $ac_optarg in
  3264. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  3265. esac
  3266. as_fn_append CONFIG_FILES " '$ac_optarg'"
  3267. ac_need_defaults=false;;
  3268. --he | --h | --help | --hel | -h )
  3269. $as_echo "$ac_cs_usage"; exit ;;
  3270. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  3271. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  3272. ac_cs_silent=: ;;
  3273. # This is an error.
  3274. -*) as_fn_error "unrecognized option: \`$1'
  3275. Try \`$0 --help' for more information." ;;
  3276. *) as_fn_append ac_config_targets " $1"
  3277. ac_need_defaults=false ;;
  3278. esac
  3279. shift
  3280. done
  3281. ac_configure_extra_args=
  3282. if $ac_cs_silent; then
  3283. exec 6>/dev/null
  3284. ac_configure_extra_args="$ac_configure_extra_args --silent"
  3285. fi
  3286. _ACEOF
  3287. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3288. if \$ac_cs_recheck; then
  3289. set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  3290. shift
  3291. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  3292. CONFIG_SHELL='$SHELL'
  3293. export CONFIG_SHELL
  3294. exec "\$@"
  3295. fi
  3296. _ACEOF
  3297. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3298. exec 5>>config.log
  3299. {
  3300. echo
  3301. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  3302. ## Running $as_me. ##
  3303. _ASBOX
  3304. $as_echo "$ac_log"
  3305. } >&5
  3306. _ACEOF
  3307. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3308. #
  3309. # INIT-COMMANDS
  3310. #
  3311. srcdir="$srcdir"
  3312. host="$host"
  3313. target="$target"
  3314. with_multisubdir="$with_multisubdir"
  3315. with_multisrctop="$with_multisrctop"
  3316. with_target_subdir="$with_target_subdir"
  3317. ac_configure_args="${multilib_arg} ${ac_configure_args}"
  3318. multi_basedir="$multi_basedir"
  3319. CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  3320. CC="$CC"
  3321. CXX="$CXX"
  3322. GFORTRAN="$GFORTRAN"
  3323. GCJ="$GCJ"
  3324. _ACEOF
  3325. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3326. # Handling of arguments.
  3327. for ac_config_target in $ac_config_targets
  3328. do
  3329. case $ac_config_target in
  3330. "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  3331. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  3332. *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  3333. esac
  3334. done
  3335. # If the user did not use the arguments to specify the items to instantiate,
  3336. # then the envvar interface is used. Set only those that are not.
  3337. # We use the long form for the default assignment because of an extremely
  3338. # bizarre bug on SunOS 4.1.3.
  3339. if $ac_need_defaults; then
  3340. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  3341. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  3342. fi
  3343. # Have a temporary directory for convenience. Make it in the build tree
  3344. # simply because there is no reason against having it here, and in addition,
  3345. # creating and moving files from /tmp can sometimes cause problems.
  3346. # Hook for its removal unless debugging.
  3347. # Note that there is a small window in which the directory will not be cleaned:
  3348. # after its creation but before its name has been assigned to `$tmp'.
  3349. $debug ||
  3350. {
  3351. tmp=
  3352. trap 'exit_status=$?
  3353. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  3354. ' 0
  3355. trap 'as_fn_exit 1' 1 2 13 15
  3356. }
  3357. # Create a (secure) tmp directory for tmp files.
  3358. {
  3359. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  3360. test -n "$tmp" && test -d "$tmp"
  3361. } ||
  3362. {
  3363. tmp=./conf$$-$RANDOM
  3364. (umask 077 && mkdir "$tmp")
  3365. } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  3366. # Set up the scripts for CONFIG_FILES section.
  3367. # No need to generate them if there are no CONFIG_FILES.
  3368. # This happens for instance with `./config.status config.h'.
  3369. if test -n "$CONFIG_FILES"; then
  3370. ac_cr=`echo X | tr X '\015'`
  3371. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  3372. # But we know of no other shell where ac_cr would be empty at this
  3373. # point, so we can use a bashism as a fallback.
  3374. if test "x$ac_cr" = x; then
  3375. eval ac_cr=\$\'\\r\'
  3376. fi
  3377. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  3378. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  3379. ac_cs_awk_cr='\r'
  3380. else
  3381. ac_cs_awk_cr=$ac_cr
  3382. fi
  3383. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  3384. _ACEOF
  3385. {
  3386. echo "cat >conf$$subs.awk <<_ACEOF" &&
  3387. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  3388. echo "_ACEOF"
  3389. } >conf$$subs.sh ||
  3390. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  3391. ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  3392. ac_delim='%!_!# '
  3393. for ac_last_try in false false false false false :; do
  3394. . ./conf$$subs.sh ||
  3395. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  3396. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  3397. if test $ac_delim_n = $ac_delim_num; then
  3398. break
  3399. elif $ac_last_try; then
  3400. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  3401. else
  3402. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  3403. fi
  3404. done
  3405. rm -f conf$$subs.sh
  3406. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3407. cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  3408. _ACEOF
  3409. sed -n '
  3410. h
  3411. s/^/S["/; s/!.*/"]=/
  3412. p
  3413. g
  3414. s/^[^!]*!//
  3415. :repl
  3416. t repl
  3417. s/'"$ac_delim"'$//
  3418. t delim
  3419. :nl
  3420. h
  3421. s/\(.\{148\}\).*/\1/
  3422. t more1
  3423. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  3424. p
  3425. n
  3426. b repl
  3427. :more1
  3428. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  3429. p
  3430. g
  3431. s/.\{148\}//
  3432. t nl
  3433. :delim
  3434. h
  3435. s/\(.\{148\}\).*/\1/
  3436. t more2
  3437. s/["\\]/\\&/g; s/^/"/; s/$/"/
  3438. p
  3439. b
  3440. :more2
  3441. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  3442. p
  3443. g
  3444. s/.\{148\}//
  3445. t delim
  3446. ' <conf$$subs.awk | sed '
  3447. /^[^""]/{
  3448. N
  3449. s/\n//
  3450. }
  3451. ' >>$CONFIG_STATUS || ac_write_fail=1
  3452. rm -f conf$$subs.awk
  3453. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3454. _ACAWK
  3455. cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  3456. for (key in S) S_is_set[key] = 1
  3457. FS = ""
  3458. }
  3459. {
  3460. line = $ 0
  3461. nfields = split(line, field, "@")
  3462. substed = 0
  3463. len = length(field[1])
  3464. for (i = 2; i < nfields; i++) {
  3465. key = field[i]
  3466. keylen = length(key)
  3467. if (S_is_set[key]) {
  3468. value = S[key]
  3469. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  3470. len += length(value) + length(field[++i])
  3471. substed = 1
  3472. } else
  3473. len += 1 + keylen
  3474. }
  3475. print line
  3476. }
  3477. _ACAWK
  3478. _ACEOF
  3479. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3480. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  3481. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  3482. else
  3483. cat
  3484. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  3485. || as_fn_error "could not setup config files machinery" "$LINENO" 5
  3486. _ACEOF
  3487. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  3488. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  3489. # trailing colons and then remove the whole line if VPATH becomes empty
  3490. # (actually we leave an empty line to preserve line numbers).
  3491. if test "x$srcdir" = x.; then
  3492. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  3493. s/:*\$(srcdir):*/:/
  3494. s/:*\${srcdir}:*/:/
  3495. s/:*@srcdir@:*/:/
  3496. s/^\([^=]*=[ ]*\):*/\1/
  3497. s/:*$//
  3498. s/^[^=]*=[ ]*$//
  3499. }'
  3500. fi
  3501. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3502. fi # test -n "$CONFIG_FILES"
  3503. eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
  3504. shift
  3505. for ac_tag
  3506. do
  3507. case $ac_tag in
  3508. :[FHLC]) ac_mode=$ac_tag; continue;;
  3509. esac
  3510. case $ac_mode$ac_tag in
  3511. :[FHL]*:*);;
  3512. :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  3513. :[FH]-) ac_tag=-:-;;
  3514. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  3515. esac
  3516. ac_save_IFS=$IFS
  3517. IFS=:
  3518. set x $ac_tag
  3519. IFS=$ac_save_IFS
  3520. shift
  3521. ac_file=$1
  3522. shift
  3523. case $ac_mode in
  3524. :L) ac_source=$1;;
  3525. :[FH])
  3526. ac_file_inputs=
  3527. for ac_f
  3528. do
  3529. case $ac_f in
  3530. -) ac_f="$tmp/stdin";;
  3531. *) # Look for the file first in the build tree, then in the source tree
  3532. # (if the path is not absolute). The absolute path cannot be DOS-style,
  3533. # because $ac_f cannot contain `:'.
  3534. test -f "$ac_f" ||
  3535. case $ac_f in
  3536. [\\/$]*) false;;
  3537. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  3538. esac ||
  3539. as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  3540. esac
  3541. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  3542. as_fn_append ac_file_inputs " '$ac_f'"
  3543. done
  3544. # Let's still pretend it is `configure' which instantiates (i.e., don't
  3545. # use $as_me), people would be surprised to read:
  3546. # /* config.h. Generated by config.status. */
  3547. configure_input='Generated from '`
  3548. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  3549. `' by configure.'
  3550. if test x"$ac_file" != x-; then
  3551. configure_input="$ac_file. $configure_input"
  3552. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  3553. $as_echo "$as_me: creating $ac_file" >&6;}
  3554. fi
  3555. # Neutralize special characters interpreted by sed in replacement strings.
  3556. case $configure_input in #(
  3557. *\&* | *\|* | *\\* )
  3558. ac_sed_conf_input=`$as_echo "$configure_input" |
  3559. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  3560. *) ac_sed_conf_input=$configure_input;;
  3561. esac
  3562. case $ac_tag in
  3563. *:-:* | *:-) cat >"$tmp/stdin" \
  3564. || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  3565. esac
  3566. ;;
  3567. esac
  3568. ac_dir=`$as_dirname -- "$ac_file" ||
  3569. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3570. X"$ac_file" : 'X\(//\)[^/]' \| \
  3571. X"$ac_file" : 'X\(//\)$' \| \
  3572. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  3573. $as_echo X"$ac_file" |
  3574. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  3575. s//\1/
  3576. q
  3577. }
  3578. /^X\(\/\/\)[^/].*/{
  3579. s//\1/
  3580. q
  3581. }
  3582. /^X\(\/\/\)$/{
  3583. s//\1/
  3584. q
  3585. }
  3586. /^X\(\/\).*/{
  3587. s//\1/
  3588. q
  3589. }
  3590. s/.*/./; q'`
  3591. as_dir="$ac_dir"; as_fn_mkdir_p
  3592. ac_builddir=.
  3593. case "$ac_dir" in
  3594. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  3595. *)
  3596. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  3597. # A ".." for each directory in $ac_dir_suffix.
  3598. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  3599. case $ac_top_builddir_sub in
  3600. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  3601. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  3602. esac ;;
  3603. esac
  3604. ac_abs_top_builddir=$ac_pwd
  3605. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  3606. # for backward compatibility:
  3607. ac_top_builddir=$ac_top_build_prefix
  3608. case $srcdir in
  3609. .) # We are building in place.
  3610. ac_srcdir=.
  3611. ac_top_srcdir=$ac_top_builddir_sub
  3612. ac_abs_top_srcdir=$ac_pwd ;;
  3613. [\\/]* | ?:[\\/]* ) # Absolute name.
  3614. ac_srcdir=$srcdir$ac_dir_suffix;
  3615. ac_top_srcdir=$srcdir
  3616. ac_abs_top_srcdir=$srcdir ;;
  3617. *) # Relative name.
  3618. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  3619. ac_top_srcdir=$ac_top_build_prefix$srcdir
  3620. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  3621. esac
  3622. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  3623. case $ac_mode in
  3624. :F)
  3625. #
  3626. # CONFIG_FILE
  3627. #
  3628. _ACEOF
  3629. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3630. # If the template does not know about datarootdir, expand it.
  3631. # FIXME: This hack should be removed a few years after 2.60.
  3632. ac_datarootdir_hack=; ac_datarootdir_seen=
  3633. ac_sed_dataroot='
  3634. /datarootdir/ {
  3635. p
  3636. q
  3637. }
  3638. /@datadir@/p
  3639. /@docdir@/p
  3640. /@infodir@/p
  3641. /@localedir@/p
  3642. /@mandir@/p'
  3643. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  3644. *datarootdir*) ac_datarootdir_seen=yes;;
  3645. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  3646. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  3647. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  3648. _ACEOF
  3649. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3650. ac_datarootdir_hack='
  3651. s&@datadir@&$datadir&g
  3652. s&@docdir@&$docdir&g
  3653. s&@infodir@&$infodir&g
  3654. s&@localedir@&$localedir&g
  3655. s&@mandir@&$mandir&g
  3656. s&\\\${datarootdir}&$datarootdir&g' ;;
  3657. esac
  3658. _ACEOF
  3659. # Neutralize VPATH when `$srcdir' = `.'.
  3660. # Shell code in configure.ac might set extrasub.
  3661. # FIXME: do we really want to maintain this feature?
  3662. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3663. ac_sed_extra="$ac_vpsub
  3664. $extrasub
  3665. _ACEOF
  3666. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3667. :t
  3668. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  3669. s|@configure_input@|$ac_sed_conf_input|;t t
  3670. s&@top_builddir@&$ac_top_builddir_sub&;t t
  3671. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  3672. s&@srcdir@&$ac_srcdir&;t t
  3673. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  3674. s&@top_srcdir@&$ac_top_srcdir&;t t
  3675. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  3676. s&@builddir@&$ac_builddir&;t t
  3677. s&@abs_builddir@&$ac_abs_builddir&;t t
  3678. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  3679. $ac_datarootdir_hack
  3680. "
  3681. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  3682. || as_fn_error "could not create $ac_file" "$LINENO" 5
  3683. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  3684. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  3685. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  3686. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  3687. which seems to be undefined. Please make sure it is defined." >&5
  3688. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  3689. which seems to be undefined. Please make sure it is defined." >&2;}
  3690. rm -f "$tmp/stdin"
  3691. case $ac_file in
  3692. -) cat "$tmp/out" && rm -f "$tmp/out";;
  3693. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  3694. esac \
  3695. || as_fn_error "could not create $ac_file" "$LINENO" 5
  3696. ;;
  3697. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  3698. $as_echo "$as_me: executing $ac_file commands" >&6;}
  3699. ;;
  3700. esac
  3701. case $ac_file$ac_mode in
  3702. "default-1":C)
  3703. # Only add multilib support code if we just rebuilt the top-level
  3704. # Makefile.
  3705. case " $CONFIG_FILES " in
  3706. *" Makefile "*)
  3707. ac_file=Makefile . ${multi_basedir}/config-ml.in
  3708. ;;
  3709. esac ;;
  3710. esac
  3711. done # for ac_tag
  3712. as_fn_exit 0
  3713. _ACEOF
  3714. ac_clean_files=$ac_clean_files_save
  3715. test $ac_write_fail = 0 ||
  3716. as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  3717. # configure is writing to config.log, and then calls config.status.
  3718. # config.status does its own redirection, appending to config.log.
  3719. # Unfortunately, on DOS this fails, as config.log is still kept open
  3720. # by configure, so config.status won't be able to write to it; its
  3721. # output is simply discarded. So we exec the FD to /dev/null,
  3722. # effectively closing config.log, so it can be properly (re)opened and
  3723. # appended to by config.status. When coming back to configure, we
  3724. # need to make the FD available again.
  3725. if test "$no_create" != yes; then
  3726. ac_cs_success=:
  3727. ac_config_status_args=
  3728. test "$silent" = yes &&
  3729. ac_config_status_args="$ac_config_status_args --quiet"
  3730. exec 5>/dev/null
  3731. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  3732. exec 5>>config.log
  3733. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  3734. # would make configure fail if this is the last instruction.
  3735. $ac_cs_success || as_fn_exit $?
  3736. fi
  3737. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  3738. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  3739. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  3740. fi